[444] | 1 | #! /bin/sh |
---|
| 2 | # Guess values for system-dependent variables and create Makefiles. |
---|
| 3 | # Generated by GNU Autoconf 2.69. |
---|
| 4 | # |
---|
| 5 | # |
---|
| 6 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
---|
| 7 | # |
---|
| 8 | # |
---|
| 9 | # This configure script is free software; the Free Software Foundation |
---|
| 10 | # gives unlimited permission to copy, distribute and modify it. |
---|
| 11 | ## -------------------- ## |
---|
| 12 | ## M4sh Initialization. ## |
---|
| 13 | ## -------------------- ## |
---|
| 14 | |
---|
| 15 | # Be more Bourne compatible |
---|
| 16 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
| 17 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
---|
| 18 | emulate sh |
---|
| 19 | NULLCMD=: |
---|
| 20 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
---|
| 21 | # is contrary to our usage. Disable this feature. |
---|
| 22 | alias -g '${1+"$@"}'='"$@"' |
---|
| 23 | setopt NO_GLOB_SUBST |
---|
| 24 | else |
---|
| 25 | case `(set -o) 2>/dev/null` in #( |
---|
| 26 | *posix*) : |
---|
| 27 | set -o posix ;; #( |
---|
| 28 | *) : |
---|
| 29 | ;; |
---|
| 30 | esac |
---|
| 31 | fi |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | as_nl=' |
---|
| 35 | ' |
---|
| 36 | export as_nl |
---|
| 37 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
---|
| 38 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
---|
| 39 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
| 40 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
| 41 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
---|
| 42 | # but without wasting forks for bash or zsh. |
---|
| 43 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
---|
| 44 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
| 45 | as_echo='print -r --' |
---|
| 46 | as_echo_n='print -rn --' |
---|
| 47 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
| 48 | as_echo='printf %s\n' |
---|
| 49 | as_echo_n='printf %s' |
---|
| 50 | else |
---|
| 51 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
---|
| 52 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
---|
| 53 | as_echo_n='/usr/ucb/echo -n' |
---|
| 54 | else |
---|
| 55 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
---|
| 56 | as_echo_n_body='eval |
---|
| 57 | arg=$1; |
---|
| 58 | case $arg in #( |
---|
| 59 | *"$as_nl"*) |
---|
| 60 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
---|
| 61 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
---|
| 62 | esac; |
---|
| 63 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
---|
| 64 | ' |
---|
| 65 | export as_echo_n_body |
---|
| 66 | as_echo_n='sh -c $as_echo_n_body as_echo' |
---|
| 67 | fi |
---|
| 68 | export as_echo_body |
---|
| 69 | as_echo='sh -c $as_echo_body as_echo' |
---|
| 70 | fi |
---|
| 71 | |
---|
| 72 | # The user is always right. |
---|
| 73 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
| 74 | PATH_SEPARATOR=: |
---|
| 75 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
---|
| 76 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
---|
| 77 | PATH_SEPARATOR=';' |
---|
| 78 | } |
---|
| 79 | fi |
---|
| 80 | |
---|
| 81 | |
---|
| 82 | # IFS |
---|
| 83 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
| 84 | # there to prevent editors from complaining about space-tab. |
---|
| 85 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
| 86 | # splitting by setting IFS to empty value.) |
---|
| 87 | IFS=" "" $as_nl" |
---|
| 88 | |
---|
| 89 | # Find who we are. Look in the path if we contain no directory separator. |
---|
| 90 | as_myself= |
---|
| 91 | case $0 in #(( |
---|
| 92 | *[\\/]* ) as_myself=$0 ;; |
---|
| 93 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 94 | for as_dir in $PATH |
---|
| 95 | do |
---|
| 96 | IFS=$as_save_IFS |
---|
| 97 | test -z "$as_dir" && as_dir=. |
---|
| 98 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
| 99 | done |
---|
| 100 | IFS=$as_save_IFS |
---|
| 101 | |
---|
| 102 | ;; |
---|
| 103 | esac |
---|
| 104 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
| 105 | # in which case we are not to be found in the path. |
---|
| 106 | if test "x$as_myself" = x; then |
---|
| 107 | as_myself=$0 |
---|
| 108 | fi |
---|
| 109 | if test ! -f "$as_myself"; then |
---|
| 110 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
| 111 | exit 1 |
---|
| 112 | fi |
---|
| 113 | |
---|
| 114 | # Unset variables that we do not need and which cause bugs (e.g. in |
---|
| 115 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
---|
| 116 | # suppresses any "Segmentation fault" message there. '((' could |
---|
| 117 | # trigger a bug in pdksh 5.2.14. |
---|
| 118 | for as_var in BASH_ENV ENV MAIL MAILPATH |
---|
| 119 | do eval test x\${$as_var+set} = xset \ |
---|
| 120 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
---|
| 121 | done |
---|
| 122 | PS1='$ ' |
---|
| 123 | PS2='> ' |
---|
| 124 | PS4='+ ' |
---|
| 125 | |
---|
| 126 | # NLS nuisances. |
---|
| 127 | LC_ALL=C |
---|
| 128 | export LC_ALL |
---|
| 129 | LANGUAGE=C |
---|
| 130 | export LANGUAGE |
---|
| 131 | |
---|
| 132 | # CDPATH. |
---|
| 133 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
---|
| 134 | |
---|
| 135 | # Use a proper internal environment variable to ensure we don't fall |
---|
| 136 | # into an infinite loop, continuously re-executing ourselves. |
---|
| 137 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
---|
| 138 | _as_can_reexec=no; export _as_can_reexec; |
---|
| 139 | # We cannot yet assume a decent shell, so we have to provide a |
---|
| 140 | # neutralization value for shells without unset; and this also |
---|
| 141 | # works around shells that cannot unset nonexistent variables. |
---|
| 142 | # Preserve -v and -x to the replacement shell. |
---|
| 143 | BASH_ENV=/dev/null |
---|
| 144 | ENV=/dev/null |
---|
| 145 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
---|
| 146 | case $- in # (((( |
---|
| 147 | *v*x* | *x*v* ) as_opts=-vx ;; |
---|
| 148 | *v* ) as_opts=-v ;; |
---|
| 149 | *x* ) as_opts=-x ;; |
---|
| 150 | * ) as_opts= ;; |
---|
| 151 | esac |
---|
| 152 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
---|
| 153 | # Admittedly, this is quite paranoid, since all the known shells bail |
---|
| 154 | # out after a failed `exec'. |
---|
| 155 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
---|
| 156 | as_fn_exit 255 |
---|
| 157 | fi |
---|
| 158 | # We don't want this to propagate to other subprocesses. |
---|
| 159 | { _as_can_reexec=; unset _as_can_reexec;} |
---|
| 160 | if test "x$CONFIG_SHELL" = x; then |
---|
| 161 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
---|
| 162 | emulate sh |
---|
| 163 | NULLCMD=: |
---|
| 164 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
---|
| 165 | # is contrary to our usage. Disable this feature. |
---|
| 166 | alias -g '\${1+\"\$@\"}'='\"\$@\"' |
---|
| 167 | setopt NO_GLOB_SUBST |
---|
| 168 | else |
---|
| 169 | case \`(set -o) 2>/dev/null\` in #( |
---|
| 170 | *posix*) : |
---|
| 171 | set -o posix ;; #( |
---|
| 172 | *) : |
---|
| 173 | ;; |
---|
| 174 | esac |
---|
| 175 | fi |
---|
| 176 | " |
---|
| 177 | as_required="as_fn_return () { (exit \$1); } |
---|
| 178 | as_fn_success () { as_fn_return 0; } |
---|
| 179 | as_fn_failure () { as_fn_return 1; } |
---|
| 180 | as_fn_ret_success () { return 0; } |
---|
| 181 | as_fn_ret_failure () { return 1; } |
---|
| 182 | |
---|
| 183 | exitcode=0 |
---|
| 184 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
---|
| 185 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
---|
| 186 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
---|
| 187 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
---|
| 188 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
---|
| 189 | |
---|
| 190 | else |
---|
| 191 | exitcode=1; echo positional parameters were not saved. |
---|
| 192 | fi |
---|
| 193 | test x\$exitcode = x0 || exit 1 |
---|
| 194 | test -x / || exit 1" |
---|
| 195 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
---|
| 196 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
---|
| 197 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
---|
| 198 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" |
---|
| 199 | if (eval "$as_required") 2>/dev/null; then : |
---|
| 200 | as_have_required=yes |
---|
| 201 | else |
---|
| 202 | as_have_required=no |
---|
| 203 | fi |
---|
| 204 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
---|
| 205 | |
---|
| 206 | else |
---|
| 207 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 208 | as_found=false |
---|
| 209 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
| 210 | do |
---|
| 211 | IFS=$as_save_IFS |
---|
| 212 | test -z "$as_dir" && as_dir=. |
---|
| 213 | as_found=: |
---|
| 214 | case $as_dir in #( |
---|
| 215 | /*) |
---|
| 216 | for as_base in sh bash ksh sh5; do |
---|
| 217 | # Try only shells that exist, to save several forks. |
---|
| 218 | as_shell=$as_dir/$as_base |
---|
| 219 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
---|
| 220 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
---|
| 221 | CONFIG_SHELL=$as_shell as_have_required=yes |
---|
| 222 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
---|
| 223 | break 2 |
---|
| 224 | fi |
---|
| 225 | fi |
---|
| 226 | done;; |
---|
| 227 | esac |
---|
| 228 | as_found=false |
---|
| 229 | done |
---|
| 230 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
---|
| 231 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
---|
| 232 | CONFIG_SHELL=$SHELL as_have_required=yes |
---|
| 233 | fi; } |
---|
| 234 | IFS=$as_save_IFS |
---|
| 235 | |
---|
| 236 | |
---|
| 237 | if test "x$CONFIG_SHELL" != x; then : |
---|
| 238 | export CONFIG_SHELL |
---|
| 239 | # We cannot yet assume a decent shell, so we have to provide a |
---|
| 240 | # neutralization value for shells without unset; and this also |
---|
| 241 | # works around shells that cannot unset nonexistent variables. |
---|
| 242 | # Preserve -v and -x to the replacement shell. |
---|
| 243 | BASH_ENV=/dev/null |
---|
| 244 | ENV=/dev/null |
---|
| 245 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
---|
| 246 | case $- in # (((( |
---|
| 247 | *v*x* | *x*v* ) as_opts=-vx ;; |
---|
| 248 | *v* ) as_opts=-v ;; |
---|
| 249 | *x* ) as_opts=-x ;; |
---|
| 250 | * ) as_opts= ;; |
---|
| 251 | esac |
---|
| 252 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
---|
| 253 | # Admittedly, this is quite paranoid, since all the known shells bail |
---|
| 254 | # out after a failed `exec'. |
---|
| 255 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
---|
| 256 | exit 255 |
---|
| 257 | fi |
---|
| 258 | |
---|
| 259 | if test x$as_have_required = xno; then : |
---|
| 260 | $as_echo "$0: This script requires a shell more modern than all" |
---|
| 261 | $as_echo "$0: the shells that I found on your system." |
---|
| 262 | if test x${ZSH_VERSION+set} = xset ; then |
---|
| 263 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
---|
| 264 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
---|
| 265 | else |
---|
| 266 | $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, |
---|
| 267 | $0: including any error possibly output before this |
---|
| 268 | $0: message. Then install a modern shell, or manually run |
---|
| 269 | $0: the script under such a shell if you do have one." |
---|
| 270 | fi |
---|
| 271 | exit 1 |
---|
| 272 | fi |
---|
| 273 | fi |
---|
| 274 | fi |
---|
| 275 | SHELL=${CONFIG_SHELL-/bin/sh} |
---|
| 276 | export SHELL |
---|
| 277 | # Unset more variables known to interfere with behavior of common tools. |
---|
| 278 | CLICOLOR_FORCE= GREP_OPTIONS= |
---|
| 279 | unset CLICOLOR_FORCE GREP_OPTIONS |
---|
| 280 | |
---|
| 281 | ## --------------------- ## |
---|
| 282 | ## M4sh Shell Functions. ## |
---|
| 283 | ## --------------------- ## |
---|
| 284 | # as_fn_unset VAR |
---|
| 285 | # --------------- |
---|
| 286 | # Portably unset VAR. |
---|
| 287 | as_fn_unset () |
---|
| 288 | { |
---|
| 289 | { eval $1=; unset $1;} |
---|
| 290 | } |
---|
| 291 | as_unset=as_fn_unset |
---|
| 292 | |
---|
| 293 | # as_fn_set_status STATUS |
---|
| 294 | # ----------------------- |
---|
| 295 | # Set $? to STATUS, without forking. |
---|
| 296 | as_fn_set_status () |
---|
| 297 | { |
---|
| 298 | return $1 |
---|
| 299 | } # as_fn_set_status |
---|
| 300 | |
---|
| 301 | # as_fn_exit STATUS |
---|
| 302 | # ----------------- |
---|
| 303 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
---|
| 304 | as_fn_exit () |
---|
| 305 | { |
---|
| 306 | set +e |
---|
| 307 | as_fn_set_status $1 |
---|
| 308 | exit $1 |
---|
| 309 | } # as_fn_exit |
---|
| 310 | |
---|
| 311 | # as_fn_mkdir_p |
---|
| 312 | # ------------- |
---|
| 313 | # Create "$as_dir" as a directory, including parents if necessary. |
---|
| 314 | as_fn_mkdir_p () |
---|
| 315 | { |
---|
| 316 | |
---|
| 317 | case $as_dir in #( |
---|
| 318 | -*) as_dir=./$as_dir;; |
---|
| 319 | esac |
---|
| 320 | test -d "$as_dir" || eval $as_mkdir_p || { |
---|
| 321 | as_dirs= |
---|
| 322 | while :; do |
---|
| 323 | case $as_dir in #( |
---|
| 324 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
---|
| 325 | *) as_qdir=$as_dir;; |
---|
| 326 | esac |
---|
| 327 | as_dirs="'$as_qdir' $as_dirs" |
---|
| 328 | as_dir=`$as_dirname -- "$as_dir" || |
---|
| 329 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 330 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
| 331 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
| 332 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 333 | $as_echo X"$as_dir" | |
---|
| 334 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 335 | s//\1/ |
---|
| 336 | q |
---|
| 337 | } |
---|
| 338 | /^X\(\/\/\)[^/].*/{ |
---|
| 339 | s//\1/ |
---|
| 340 | q |
---|
| 341 | } |
---|
| 342 | /^X\(\/\/\)$/{ |
---|
| 343 | s//\1/ |
---|
| 344 | q |
---|
| 345 | } |
---|
| 346 | /^X\(\/\).*/{ |
---|
| 347 | s//\1/ |
---|
| 348 | q |
---|
| 349 | } |
---|
| 350 | s/.*/./; q'` |
---|
| 351 | test -d "$as_dir" && break |
---|
| 352 | done |
---|
| 353 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
| 354 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
---|
| 355 | |
---|
| 356 | |
---|
| 357 | } # as_fn_mkdir_p |
---|
| 358 | |
---|
| 359 | # as_fn_executable_p FILE |
---|
| 360 | # ----------------------- |
---|
| 361 | # Test if FILE is an executable regular file. |
---|
| 362 | as_fn_executable_p () |
---|
| 363 | { |
---|
| 364 | test -f "$1" && test -x "$1" |
---|
| 365 | } # as_fn_executable_p |
---|
| 366 | # as_fn_append VAR VALUE |
---|
| 367 | # ---------------------- |
---|
| 368 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
---|
| 369 | # advantage of any shell optimizations that allow amortized linear growth over |
---|
| 370 | # repeated appends, instead of the typical quadratic growth present in naive |
---|
| 371 | # implementations. |
---|
| 372 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
---|
| 373 | eval 'as_fn_append () |
---|
| 374 | { |
---|
| 375 | eval $1+=\$2 |
---|
| 376 | }' |
---|
| 377 | else |
---|
| 378 | as_fn_append () |
---|
| 379 | { |
---|
| 380 | eval $1=\$$1\$2 |
---|
| 381 | } |
---|
| 382 | fi # as_fn_append |
---|
| 383 | |
---|
| 384 | # as_fn_arith ARG... |
---|
| 385 | # ------------------ |
---|
| 386 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
---|
| 387 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
---|
| 388 | # must be portable across $(()) and expr. |
---|
| 389 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
---|
| 390 | eval 'as_fn_arith () |
---|
| 391 | { |
---|
| 392 | as_val=$(( $* )) |
---|
| 393 | }' |
---|
| 394 | else |
---|
| 395 | as_fn_arith () |
---|
| 396 | { |
---|
| 397 | as_val=`expr "$@" || test $? -eq 1` |
---|
| 398 | } |
---|
| 399 | fi # as_fn_arith |
---|
| 400 | |
---|
| 401 | |
---|
| 402 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
---|
| 403 | # ---------------------------------------- |
---|
| 404 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
---|
| 405 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
---|
| 406 | # script with STATUS, using 1 if that was 0. |
---|
| 407 | as_fn_error () |
---|
| 408 | { |
---|
| 409 | as_status=$1; test $as_status -eq 0 && as_status=1 |
---|
| 410 | if test "$4"; then |
---|
| 411 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 412 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
---|
| 413 | fi |
---|
| 414 | $as_echo "$as_me: error: $2" >&2 |
---|
| 415 | as_fn_exit $as_status |
---|
| 416 | } # as_fn_error |
---|
| 417 | |
---|
| 418 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
| 419 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
| 420 | as_expr=expr |
---|
| 421 | else |
---|
| 422 | as_expr=false |
---|
| 423 | fi |
---|
| 424 | |
---|
| 425 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
| 426 | as_basename=basename |
---|
| 427 | else |
---|
| 428 | as_basename=false |
---|
| 429 | fi |
---|
| 430 | |
---|
| 431 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
| 432 | as_dirname=dirname |
---|
| 433 | else |
---|
| 434 | as_dirname=false |
---|
| 435 | fi |
---|
| 436 | |
---|
| 437 | as_me=`$as_basename -- "$0" || |
---|
| 438 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
| 439 | X"$0" : 'X\(//\)$' \| \ |
---|
| 440 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 441 | $as_echo X/"$0" | |
---|
| 442 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
| 443 | s//\1/ |
---|
| 444 | q |
---|
| 445 | } |
---|
| 446 | /^X\/\(\/\/\)$/{ |
---|
| 447 | s//\1/ |
---|
| 448 | q |
---|
| 449 | } |
---|
| 450 | /^X\/\(\/\).*/{ |
---|
| 451 | s//\1/ |
---|
| 452 | q |
---|
| 453 | } |
---|
| 454 | s/.*/./; q'` |
---|
| 455 | |
---|
| 456 | # Avoid depending upon Character Ranges. |
---|
| 457 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
| 458 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
| 459 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
| 460 | as_cr_digits='0123456789' |
---|
| 461 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
| 462 | |
---|
| 463 | |
---|
| 464 | as_lineno_1=$LINENO as_lineno_1a=$LINENO |
---|
| 465 | as_lineno_2=$LINENO as_lineno_2a=$LINENO |
---|
| 466 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
---|
| 467 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
---|
| 468 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
---|
| 469 | sed -n ' |
---|
| 470 | p |
---|
| 471 | /[$]LINENO/= |
---|
| 472 | ' <$as_myself | |
---|
| 473 | sed ' |
---|
| 474 | s/[$]LINENO.*/&-/ |
---|
| 475 | t lineno |
---|
| 476 | b |
---|
| 477 | :lineno |
---|
| 478 | N |
---|
| 479 | :loop |
---|
| 480 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
---|
| 481 | t loop |
---|
| 482 | s/-\n.*// |
---|
| 483 | ' >$as_me.lineno && |
---|
| 484 | chmod +x "$as_me.lineno" || |
---|
| 485 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
---|
| 486 | |
---|
| 487 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
---|
| 488 | # already done that, so ensure we don't try to do so again and fall |
---|
| 489 | # in an infinite loop. This has already happened in practice. |
---|
| 490 | _as_can_reexec=no; export _as_can_reexec |
---|
| 491 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
| 492 | # (the dirname of $[0] is not the place where we might find the |
---|
| 493 | # original and so on. Autoconf is especially sensitive to this). |
---|
| 494 | . "./$as_me.lineno" |
---|
| 495 | # Exit status is that of the last command. |
---|
| 496 | exit |
---|
| 497 | } |
---|
| 498 | |
---|
| 499 | ECHO_C= ECHO_N= ECHO_T= |
---|
| 500 | case `echo -n x` in #((((( |
---|
| 501 | -n*) |
---|
| 502 | case `echo 'xy\c'` in |
---|
| 503 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
| 504 | xy) ECHO_C='\c';; |
---|
| 505 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
---|
| 506 | ECHO_T=' ';; |
---|
| 507 | esac;; |
---|
| 508 | *) |
---|
| 509 | ECHO_N='-n';; |
---|
| 510 | esac |
---|
| 511 | |
---|
| 512 | rm -f conf$$ conf$$.exe conf$$.file |
---|
| 513 | if test -d conf$$.dir; then |
---|
| 514 | rm -f conf$$.dir/conf$$.file |
---|
| 515 | else |
---|
| 516 | rm -f conf$$.dir |
---|
| 517 | mkdir conf$$.dir 2>/dev/null |
---|
| 518 | fi |
---|
| 519 | if (echo >conf$$.file) 2>/dev/null; then |
---|
| 520 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
| 521 | as_ln_s='ln -s' |
---|
| 522 | # ... but there are two gotchas: |
---|
| 523 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
| 524 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
| 525 | # In both cases, we have to default to `cp -pR'. |
---|
| 526 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
| 527 | as_ln_s='cp -pR' |
---|
| 528 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
| 529 | as_ln_s=ln |
---|
| 530 | else |
---|
| 531 | as_ln_s='cp -pR' |
---|
| 532 | fi |
---|
| 533 | else |
---|
| 534 | as_ln_s='cp -pR' |
---|
| 535 | fi |
---|
| 536 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
| 537 | rmdir conf$$.dir 2>/dev/null |
---|
| 538 | |
---|
| 539 | if mkdir -p . 2>/dev/null; then |
---|
| 540 | as_mkdir_p='mkdir -p "$as_dir"' |
---|
| 541 | else |
---|
| 542 | test -d ./-p && rmdir ./-p |
---|
| 543 | as_mkdir_p=false |
---|
| 544 | fi |
---|
| 545 | |
---|
| 546 | as_test_x='test -x' |
---|
| 547 | as_executable_p=as_fn_executable_p |
---|
| 548 | |
---|
| 549 | # Sed expression to map a string onto a valid CPP name. |
---|
| 550 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 551 | |
---|
| 552 | # Sed expression to map a string onto a valid variable name. |
---|
| 553 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 554 | |
---|
| 555 | |
---|
| 556 | test -n "$DJDIR" || exec 7<&0 </dev/null |
---|
| 557 | exec 6>&1 |
---|
| 558 | |
---|
| 559 | # Name of the host. |
---|
| 560 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
---|
| 561 | # so uname gets run too. |
---|
| 562 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 563 | |
---|
| 564 | # |
---|
| 565 | # Initializations. |
---|
| 566 | # |
---|
| 567 | ac_default_prefix=/usr/local |
---|
| 568 | ac_clean_files= |
---|
| 569 | ac_config_libobj_dir=. |
---|
| 570 | LIBOBJS= |
---|
| 571 | cross_compiling=no |
---|
| 572 | subdirs= |
---|
| 573 | MFLAGS= |
---|
| 574 | MAKEFLAGS= |
---|
| 575 | |
---|
| 576 | # Identity of this package. |
---|
| 577 | PACKAGE_NAME= |
---|
| 578 | PACKAGE_TARNAME= |
---|
| 579 | PACKAGE_VERSION= |
---|
| 580 | PACKAGE_STRING= |
---|
| 581 | PACKAGE_BUGREPORT= |
---|
| 582 | PACKAGE_URL= |
---|
| 583 | |
---|
| 584 | ac_unique_file="crt0.S" |
---|
| 585 | ac_subst_vars='LTLIBOBJS |
---|
| 586 | LIBOBJS |
---|
| 587 | host_makefile_frag_path |
---|
| 588 | CCASFLAGS |
---|
| 589 | CCAS |
---|
| 590 | RANLIB |
---|
| 591 | LD |
---|
| 592 | AR |
---|
| 593 | AS |
---|
| 594 | am__fastdepCC_FALSE |
---|
| 595 | am__fastdepCC_TRUE |
---|
| 596 | CCDEPMODE |
---|
| 597 | AMDEPBACKSLASH |
---|
| 598 | AMDEP_FALSE |
---|
| 599 | AMDEP_TRUE |
---|
| 600 | am__quote |
---|
| 601 | am__include |
---|
| 602 | DEPDIR |
---|
| 603 | am__leading_dot |
---|
| 604 | CC |
---|
| 605 | INSTALL_DATA |
---|
| 606 | INSTALL_SCRIPT |
---|
| 607 | INSTALL_PROGRAM |
---|
| 608 | target_os |
---|
| 609 | target_vendor |
---|
| 610 | target_cpu |
---|
| 611 | target |
---|
| 612 | host_os |
---|
| 613 | host_vendor |
---|
| 614 | host_cpu |
---|
| 615 | host |
---|
| 616 | build_os |
---|
| 617 | build_vendor |
---|
| 618 | build_cpu |
---|
| 619 | build |
---|
| 620 | target_alias |
---|
| 621 | host_alias |
---|
| 622 | build_alias |
---|
| 623 | LIBS |
---|
| 624 | ECHO_T |
---|
| 625 | ECHO_N |
---|
| 626 | ECHO_C |
---|
| 627 | DEFS |
---|
| 628 | mandir |
---|
| 629 | localedir |
---|
| 630 | libdir |
---|
| 631 | psdir |
---|
| 632 | pdfdir |
---|
| 633 | dvidir |
---|
| 634 | htmldir |
---|
| 635 | infodir |
---|
| 636 | docdir |
---|
| 637 | oldincludedir |
---|
| 638 | includedir |
---|
| 639 | localstatedir |
---|
| 640 | sharedstatedir |
---|
| 641 | sysconfdir |
---|
| 642 | datadir |
---|
| 643 | datarootdir |
---|
| 644 | libexecdir |
---|
| 645 | sbindir |
---|
| 646 | bindir |
---|
| 647 | program_transform_name |
---|
| 648 | prefix |
---|
| 649 | exec_prefix |
---|
| 650 | PACKAGE_URL |
---|
| 651 | PACKAGE_BUGREPORT |
---|
| 652 | PACKAGE_STRING |
---|
| 653 | PACKAGE_VERSION |
---|
| 654 | PACKAGE_TARNAME |
---|
| 655 | PACKAGE_NAME |
---|
| 656 | PATH_SEPARATOR |
---|
| 657 | SHELL' |
---|
| 658 | ac_subst_files='host_makefile_frag' |
---|
| 659 | ac_user_opts=' |
---|
| 660 | enable_option_checking |
---|
| 661 | enable_dependency_tracking |
---|
| 662 | ' |
---|
| 663 | ac_precious_vars='build_alias |
---|
| 664 | host_alias |
---|
| 665 | target_alias |
---|
| 666 | CCAS |
---|
| 667 | CCASFLAGS' |
---|
| 668 | |
---|
| 669 | |
---|
| 670 | # Initialize some variables set by options. |
---|
| 671 | ac_init_help= |
---|
| 672 | ac_init_version=false |
---|
| 673 | ac_unrecognized_opts= |
---|
| 674 | ac_unrecognized_sep= |
---|
| 675 | # The variables have the same names as the options, with |
---|
| 676 | # dashes changed to underlines. |
---|
| 677 | cache_file=/dev/null |
---|
| 678 | exec_prefix=NONE |
---|
| 679 | no_create= |
---|
| 680 | no_recursion= |
---|
| 681 | prefix=NONE |
---|
| 682 | program_prefix=NONE |
---|
| 683 | program_suffix=NONE |
---|
| 684 | program_transform_name=s,x,x, |
---|
| 685 | silent= |
---|
| 686 | site= |
---|
| 687 | srcdir= |
---|
| 688 | verbose= |
---|
| 689 | x_includes=NONE |
---|
| 690 | x_libraries=NONE |
---|
| 691 | |
---|
| 692 | # Installation directory options. |
---|
| 693 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
---|
| 694 | # and all the variables that are supposed to be based on exec_prefix |
---|
| 695 | # by default will actually change. |
---|
| 696 | # Use braces instead of parens because sh, perl, etc. also accept them. |
---|
| 697 | # (The list follows the same order as the GNU Coding Standards.) |
---|
| 698 | bindir='${exec_prefix}/bin' |
---|
| 699 | sbindir='${exec_prefix}/sbin' |
---|
| 700 | libexecdir='${exec_prefix}/libexec' |
---|
| 701 | datarootdir='${prefix}/share' |
---|
| 702 | datadir='${datarootdir}' |
---|
| 703 | sysconfdir='${prefix}/etc' |
---|
| 704 | sharedstatedir='${prefix}/com' |
---|
| 705 | localstatedir='${prefix}/var' |
---|
| 706 | includedir='${prefix}/include' |
---|
| 707 | oldincludedir='/usr/include' |
---|
| 708 | docdir='${datarootdir}/doc/${PACKAGE}' |
---|
| 709 | infodir='${datarootdir}/info' |
---|
| 710 | htmldir='${docdir}' |
---|
| 711 | dvidir='${docdir}' |
---|
| 712 | pdfdir='${docdir}' |
---|
| 713 | psdir='${docdir}' |
---|
| 714 | libdir='${exec_prefix}/lib' |
---|
| 715 | localedir='${datarootdir}/locale' |
---|
| 716 | mandir='${datarootdir}/man' |
---|
| 717 | |
---|
| 718 | ac_prev= |
---|
| 719 | ac_dashdash= |
---|
| 720 | for ac_option |
---|
| 721 | do |
---|
| 722 | # If the previous option needs an argument, assign it. |
---|
| 723 | if test -n "$ac_prev"; then |
---|
| 724 | eval $ac_prev=\$ac_option |
---|
| 725 | ac_prev= |
---|
| 726 | continue |
---|
| 727 | fi |
---|
| 728 | |
---|
| 729 | case $ac_option in |
---|
| 730 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
---|
| 731 | *=) ac_optarg= ;; |
---|
| 732 | *) ac_optarg=yes ;; |
---|
| 733 | esac |
---|
| 734 | |
---|
| 735 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
| 736 | |
---|
| 737 | case $ac_dashdash$ac_option in |
---|
| 738 | --) |
---|
| 739 | ac_dashdash=yes ;; |
---|
| 740 | |
---|
| 741 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
| 742 | ac_prev=bindir ;; |
---|
| 743 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
| 744 | bindir=$ac_optarg ;; |
---|
| 745 | |
---|
| 746 | -build | --build | --buil | --bui | --bu) |
---|
| 747 | ac_prev=build_alias ;; |
---|
| 748 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
| 749 | build_alias=$ac_optarg ;; |
---|
| 750 | |
---|
| 751 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
| 752 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
| 753 | ac_prev=cache_file ;; |
---|
| 754 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
| 755 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
| 756 | cache_file=$ac_optarg ;; |
---|
| 757 | |
---|
| 758 | --config-cache | -C) |
---|
| 759 | cache_file=config.cache ;; |
---|
| 760 | |
---|
| 761 | -datadir | --datadir | --datadi | --datad) |
---|
| 762 | ac_prev=datadir ;; |
---|
| 763 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
---|
| 764 | datadir=$ac_optarg ;; |
---|
| 765 | |
---|
| 766 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
---|
| 767 | | --dataroo | --dataro | --datar) |
---|
| 768 | ac_prev=datarootdir ;; |
---|
| 769 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
---|
| 770 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
---|
| 771 | datarootdir=$ac_optarg ;; |
---|
| 772 | |
---|
| 773 | -disable-* | --disable-*) |
---|
| 774 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
---|
| 775 | # Reject names that are not valid shell variable names. |
---|
| 776 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
| 777 | as_fn_error $? "invalid feature name: $ac_useropt" |
---|
| 778 | ac_useropt_orig=$ac_useropt |
---|
| 779 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
| 780 | case $ac_user_opts in |
---|
| 781 | *" |
---|
| 782 | "enable_$ac_useropt" |
---|
| 783 | "*) ;; |
---|
| 784 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
---|
| 785 | ac_unrecognized_sep=', ';; |
---|
| 786 | esac |
---|
| 787 | eval enable_$ac_useropt=no ;; |
---|
| 788 | |
---|
| 789 | -docdir | --docdir | --docdi | --doc | --do) |
---|
| 790 | ac_prev=docdir ;; |
---|
| 791 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
---|
| 792 | docdir=$ac_optarg ;; |
---|
| 793 | |
---|
| 794 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
---|
| 795 | ac_prev=dvidir ;; |
---|
| 796 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
---|
| 797 | dvidir=$ac_optarg ;; |
---|
| 798 | |
---|
| 799 | -enable-* | --enable-*) |
---|
| 800 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
---|
| 801 | # Reject names that are not valid shell variable names. |
---|
| 802 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
| 803 | as_fn_error $? "invalid feature name: $ac_useropt" |
---|
| 804 | ac_useropt_orig=$ac_useropt |
---|
| 805 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
| 806 | case $ac_user_opts in |
---|
| 807 | *" |
---|
| 808 | "enable_$ac_useropt" |
---|
| 809 | "*) ;; |
---|
| 810 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
---|
| 811 | ac_unrecognized_sep=', ';; |
---|
| 812 | esac |
---|
| 813 | eval enable_$ac_useropt=\$ac_optarg ;; |
---|
| 814 | |
---|
| 815 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
| 816 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
| 817 | | --exec | --exe | --ex) |
---|
| 818 | ac_prev=exec_prefix ;; |
---|
| 819 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
| 820 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
| 821 | | --exec=* | --exe=* | --ex=*) |
---|
| 822 | exec_prefix=$ac_optarg ;; |
---|
| 823 | |
---|
| 824 | -gas | --gas | --ga | --g) |
---|
| 825 | # Obsolete; use --with-gas. |
---|
| 826 | with_gas=yes ;; |
---|
| 827 | |
---|
| 828 | -help | --help | --hel | --he | -h) |
---|
| 829 | ac_init_help=long ;; |
---|
| 830 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
---|
| 831 | ac_init_help=recursive ;; |
---|
| 832 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
---|
| 833 | ac_init_help=short ;; |
---|
| 834 | |
---|
| 835 | -host | --host | --hos | --ho) |
---|
| 836 | ac_prev=host_alias ;; |
---|
| 837 | -host=* | --host=* | --hos=* | --ho=*) |
---|
| 838 | host_alias=$ac_optarg ;; |
---|
| 839 | |
---|
| 840 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
---|
| 841 | ac_prev=htmldir ;; |
---|
| 842 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
---|
| 843 | | --ht=*) |
---|
| 844 | htmldir=$ac_optarg ;; |
---|
| 845 | |
---|
| 846 | -includedir | --includedir | --includedi | --included | --include \ |
---|
| 847 | | --includ | --inclu | --incl | --inc) |
---|
| 848 | ac_prev=includedir ;; |
---|
| 849 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
| 850 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
| 851 | includedir=$ac_optarg ;; |
---|
| 852 | |
---|
| 853 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
| 854 | ac_prev=infodir ;; |
---|
| 855 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
| 856 | infodir=$ac_optarg ;; |
---|
| 857 | |
---|
| 858 | -libdir | --libdir | --libdi | --libd) |
---|
| 859 | ac_prev=libdir ;; |
---|
| 860 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
| 861 | libdir=$ac_optarg ;; |
---|
| 862 | |
---|
| 863 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
| 864 | | --libexe | --libex | --libe) |
---|
| 865 | ac_prev=libexecdir ;; |
---|
| 866 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
| 867 | | --libexe=* | --libex=* | --libe=*) |
---|
| 868 | libexecdir=$ac_optarg ;; |
---|
| 869 | |
---|
| 870 | -localedir | --localedir | --localedi | --localed | --locale) |
---|
| 871 | ac_prev=localedir ;; |
---|
| 872 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
---|
| 873 | localedir=$ac_optarg ;; |
---|
| 874 | |
---|
| 875 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
| 876 | | --localstate | --localstat | --localsta | --localst | --locals) |
---|
| 877 | ac_prev=localstatedir ;; |
---|
| 878 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
| 879 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
---|
| 880 | localstatedir=$ac_optarg ;; |
---|
| 881 | |
---|
| 882 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
| 883 | ac_prev=mandir ;; |
---|
| 884 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
| 885 | mandir=$ac_optarg ;; |
---|
| 886 | |
---|
| 887 | -nfp | --nfp | --nf) |
---|
| 888 | # Obsolete; use --without-fp. |
---|
| 889 | with_fp=no ;; |
---|
| 890 | |
---|
| 891 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
| 892 | | --no-cr | --no-c | -n) |
---|
| 893 | no_create=yes ;; |
---|
| 894 | |
---|
| 895 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
| 896 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
| 897 | no_recursion=yes ;; |
---|
| 898 | |
---|
| 899 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
| 900 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
| 901 | | --oldin | --oldi | --old | --ol | --o) |
---|
| 902 | ac_prev=oldincludedir ;; |
---|
| 903 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
| 904 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
| 905 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
| 906 | oldincludedir=$ac_optarg ;; |
---|
| 907 | |
---|
| 908 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
| 909 | ac_prev=prefix ;; |
---|
| 910 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
| 911 | prefix=$ac_optarg ;; |
---|
| 912 | |
---|
| 913 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
| 914 | | --program-pre | --program-pr | --program-p) |
---|
| 915 | ac_prev=program_prefix ;; |
---|
| 916 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
| 917 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
| 918 | program_prefix=$ac_optarg ;; |
---|
| 919 | |
---|
| 920 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
| 921 | | --program-suf | --program-su | --program-s) |
---|
| 922 | ac_prev=program_suffix ;; |
---|
| 923 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
| 924 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
| 925 | program_suffix=$ac_optarg ;; |
---|
| 926 | |
---|
| 927 | -program-transform-name | --program-transform-name \ |
---|
| 928 | | --program-transform-nam | --program-transform-na \ |
---|
| 929 | | --program-transform-n | --program-transform- \ |
---|
| 930 | | --program-transform | --program-transfor \ |
---|
| 931 | | --program-transfo | --program-transf \ |
---|
| 932 | | --program-trans | --program-tran \ |
---|
| 933 | | --progr-tra | --program-tr | --program-t) |
---|
| 934 | ac_prev=program_transform_name ;; |
---|
| 935 | -program-transform-name=* | --program-transform-name=* \ |
---|
| 936 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
| 937 | | --program-transform-n=* | --program-transform-=* \ |
---|
| 938 | | --program-transform=* | --program-transfor=* \ |
---|
| 939 | | --program-transfo=* | --program-transf=* \ |
---|
| 940 | | --program-trans=* | --program-tran=* \ |
---|
| 941 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
| 942 | program_transform_name=$ac_optarg ;; |
---|
| 943 | |
---|
| 944 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
---|
| 945 | ac_prev=pdfdir ;; |
---|
| 946 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
---|
| 947 | pdfdir=$ac_optarg ;; |
---|
| 948 | |
---|
| 949 | -psdir | --psdir | --psdi | --psd | --ps) |
---|
| 950 | ac_prev=psdir ;; |
---|
| 951 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
---|
| 952 | psdir=$ac_optarg ;; |
---|
| 953 | |
---|
| 954 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 955 | | -silent | --silent | --silen | --sile | --sil) |
---|
| 956 | silent=yes ;; |
---|
| 957 | |
---|
| 958 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
| 959 | ac_prev=sbindir ;; |
---|
| 960 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
| 961 | | --sbi=* | --sb=*) |
---|
| 962 | sbindir=$ac_optarg ;; |
---|
| 963 | |
---|
| 964 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
| 965 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
| 966 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
| 967 | | --sha | --sh) |
---|
| 968 | ac_prev=sharedstatedir ;; |
---|
| 969 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
| 970 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
| 971 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
| 972 | | --sha=* | --sh=*) |
---|
| 973 | sharedstatedir=$ac_optarg ;; |
---|
| 974 | |
---|
| 975 | -site | --site | --sit) |
---|
| 976 | ac_prev=site ;; |
---|
| 977 | -site=* | --site=* | --sit=*) |
---|
| 978 | site=$ac_optarg ;; |
---|
| 979 | |
---|
| 980 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
| 981 | ac_prev=srcdir ;; |
---|
| 982 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
| 983 | srcdir=$ac_optarg ;; |
---|
| 984 | |
---|
| 985 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
| 986 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
| 987 | ac_prev=sysconfdir ;; |
---|
| 988 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
| 989 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
| 990 | sysconfdir=$ac_optarg ;; |
---|
| 991 | |
---|
| 992 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
| 993 | ac_prev=target_alias ;; |
---|
| 994 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
| 995 | target_alias=$ac_optarg ;; |
---|
| 996 | |
---|
| 997 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
| 998 | verbose=yes ;; |
---|
| 999 | |
---|
| 1000 | -version | --version | --versio | --versi | --vers | -V) |
---|
| 1001 | ac_init_version=: ;; |
---|
| 1002 | |
---|
| 1003 | -with-* | --with-*) |
---|
| 1004 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
---|
| 1005 | # Reject names that are not valid shell variable names. |
---|
| 1006 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
| 1007 | as_fn_error $? "invalid package name: $ac_useropt" |
---|
| 1008 | ac_useropt_orig=$ac_useropt |
---|
| 1009 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
| 1010 | case $ac_user_opts in |
---|
| 1011 | *" |
---|
| 1012 | "with_$ac_useropt" |
---|
| 1013 | "*) ;; |
---|
| 1014 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
---|
| 1015 | ac_unrecognized_sep=', ';; |
---|
| 1016 | esac |
---|
| 1017 | eval with_$ac_useropt=\$ac_optarg ;; |
---|
| 1018 | |
---|
| 1019 | -without-* | --without-*) |
---|
| 1020 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
---|
| 1021 | # Reject names that are not valid shell variable names. |
---|
| 1022 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
| 1023 | as_fn_error $? "invalid package name: $ac_useropt" |
---|
| 1024 | ac_useropt_orig=$ac_useropt |
---|
| 1025 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
| 1026 | case $ac_user_opts in |
---|
| 1027 | *" |
---|
| 1028 | "with_$ac_useropt" |
---|
| 1029 | "*) ;; |
---|
| 1030 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
---|
| 1031 | ac_unrecognized_sep=', ';; |
---|
| 1032 | esac |
---|
| 1033 | eval with_$ac_useropt=no ;; |
---|
| 1034 | |
---|
| 1035 | --x) |
---|
| 1036 | # Obsolete; use --with-x. |
---|
| 1037 | with_x=yes ;; |
---|
| 1038 | |
---|
| 1039 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
| 1040 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
| 1041 | ac_prev=x_includes ;; |
---|
| 1042 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
| 1043 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
| 1044 | x_includes=$ac_optarg ;; |
---|
| 1045 | |
---|
| 1046 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
| 1047 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
| 1048 | ac_prev=x_libraries ;; |
---|
| 1049 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
| 1050 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
| 1051 | x_libraries=$ac_optarg ;; |
---|
| 1052 | |
---|
| 1053 | -*) as_fn_error $? "unrecognized option: \`$ac_option' |
---|
| 1054 | Try \`$0 --help' for more information" |
---|
| 1055 | ;; |
---|
| 1056 | |
---|
| 1057 | *=*) |
---|
| 1058 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
---|
| 1059 | # Reject names that are not valid shell variable names. |
---|
| 1060 | case $ac_envvar in #( |
---|
| 1061 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
---|
| 1062 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
---|
| 1063 | esac |
---|
| 1064 | eval $ac_envvar=\$ac_optarg |
---|
| 1065 | export $ac_envvar ;; |
---|
| 1066 | |
---|
| 1067 | *) |
---|
| 1068 | # FIXME: should be removed in autoconf 3.0. |
---|
| 1069 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
---|
| 1070 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
| 1071 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
---|
| 1072 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
---|
| 1073 | ;; |
---|
| 1074 | |
---|
| 1075 | esac |
---|
| 1076 | done |
---|
| 1077 | |
---|
| 1078 | if test -n "$ac_prev"; then |
---|
| 1079 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
---|
| 1080 | as_fn_error $? "missing argument to $ac_option" |
---|
| 1081 | fi |
---|
| 1082 | |
---|
| 1083 | if test -n "$ac_unrecognized_opts"; then |
---|
| 1084 | case $enable_option_checking in |
---|
| 1085 | no) ;; |
---|
| 1086 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
---|
| 1087 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
---|
| 1088 | esac |
---|
| 1089 | fi |
---|
| 1090 | |
---|
| 1091 | # Check all directory arguments for consistency. |
---|
| 1092 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
---|
| 1093 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
---|
| 1094 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
---|
| 1095 | libdir localedir mandir |
---|
| 1096 | do |
---|
| 1097 | eval ac_val=\$$ac_var |
---|
| 1098 | # Remove trailing slashes. |
---|
| 1099 | case $ac_val in |
---|
| 1100 | */ ) |
---|
| 1101 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
---|
| 1102 | eval $ac_var=\$ac_val;; |
---|
| 1103 | esac |
---|
| 1104 | # Be sure to have absolute directory names. |
---|
| 1105 | case $ac_val in |
---|
| 1106 | [\\/$]* | ?:[\\/]* ) continue;; |
---|
| 1107 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
---|
| 1108 | esac |
---|
| 1109 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
---|
| 1110 | done |
---|
| 1111 | |
---|
| 1112 | # There might be people who depend on the old broken behavior: `$host' |
---|
| 1113 | # used to hold the argument of --host etc. |
---|
| 1114 | # FIXME: To remove some day. |
---|
| 1115 | build=$build_alias |
---|
| 1116 | host=$host_alias |
---|
| 1117 | target=$target_alias |
---|
| 1118 | |
---|
| 1119 | # FIXME: To remove some day. |
---|
| 1120 | if test "x$host_alias" != x; then |
---|
| 1121 | if test "x$build_alias" = x; then |
---|
| 1122 | cross_compiling=maybe |
---|
| 1123 | elif test "x$build_alias" != "x$host_alias"; then |
---|
| 1124 | cross_compiling=yes |
---|
| 1125 | fi |
---|
| 1126 | fi |
---|
| 1127 | |
---|
| 1128 | ac_tool_prefix= |
---|
| 1129 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
---|
| 1130 | |
---|
| 1131 | test "$silent" = yes && exec 6>/dev/null |
---|
| 1132 | |
---|
| 1133 | |
---|
| 1134 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
---|
| 1135 | ac_ls_di=`ls -di .` && |
---|
| 1136 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
---|
| 1137 | as_fn_error $? "working directory cannot be determined" |
---|
| 1138 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
---|
| 1139 | as_fn_error $? "pwd does not report name of working directory" |
---|
| 1140 | |
---|
| 1141 | |
---|
| 1142 | # Find the source files, if location was not specified. |
---|
| 1143 | if test -z "$srcdir"; then |
---|
| 1144 | ac_srcdir_defaulted=yes |
---|
| 1145 | # Try the directory containing this script, then the parent directory. |
---|
| 1146 | ac_confdir=`$as_dirname -- "$as_myself" || |
---|
| 1147 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 1148 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
---|
| 1149 | X"$as_myself" : 'X\(//\)$' \| \ |
---|
| 1150 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 1151 | $as_echo X"$as_myself" | |
---|
| 1152 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 1153 | s//\1/ |
---|
| 1154 | q |
---|
| 1155 | } |
---|
| 1156 | /^X\(\/\/\)[^/].*/{ |
---|
| 1157 | s//\1/ |
---|
| 1158 | q |
---|
| 1159 | } |
---|
| 1160 | /^X\(\/\/\)$/{ |
---|
| 1161 | s//\1/ |
---|
| 1162 | q |
---|
| 1163 | } |
---|
| 1164 | /^X\(\/\).*/{ |
---|
| 1165 | s//\1/ |
---|
| 1166 | q |
---|
| 1167 | } |
---|
| 1168 | s/.*/./; q'` |
---|
| 1169 | srcdir=$ac_confdir |
---|
| 1170 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
| 1171 | srcdir=.. |
---|
| 1172 | fi |
---|
| 1173 | else |
---|
| 1174 | ac_srcdir_defaulted=no |
---|
| 1175 | fi |
---|
| 1176 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
| 1177 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
---|
| 1178 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
---|
| 1179 | fi |
---|
| 1180 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
---|
| 1181 | ac_abs_confdir=`( |
---|
| 1182 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
---|
| 1183 | pwd)` |
---|
| 1184 | # When building in place, set srcdir=. |
---|
| 1185 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
---|
| 1186 | srcdir=. |
---|
| 1187 | fi |
---|
| 1188 | # Remove unnecessary trailing slashes from srcdir. |
---|
| 1189 | # Double slashes in file names in object file debugging info |
---|
| 1190 | # mess up M-x gdb in Emacs. |
---|
| 1191 | case $srcdir in |
---|
| 1192 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
---|
| 1193 | esac |
---|
| 1194 | for ac_var in $ac_precious_vars; do |
---|
| 1195 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
---|
| 1196 | eval ac_env_${ac_var}_value=\$${ac_var} |
---|
| 1197 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
---|
| 1198 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
---|
| 1199 | done |
---|
| 1200 | |
---|
| 1201 | # |
---|
| 1202 | # Report the --help message. |
---|
| 1203 | # |
---|
| 1204 | if test "$ac_init_help" = "long"; then |
---|
| 1205 | # Omit some internal or obsolete options to make the list less imposing. |
---|
| 1206 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
| 1207 | cat <<_ACEOF |
---|
| 1208 | \`configure' configures this package to adapt to many kinds of systems. |
---|
| 1209 | |
---|
| 1210 | Usage: $0 [OPTION]... [VAR=VALUE]... |
---|
| 1211 | |
---|
| 1212 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
---|
| 1213 | VAR=VALUE. See below for descriptions of some of the useful variables. |
---|
| 1214 | |
---|
| 1215 | Defaults for the options are specified in brackets. |
---|
| 1216 | |
---|
| 1217 | Configuration: |
---|
| 1218 | -h, --help display this help and exit |
---|
| 1219 | --help=short display options specific to this package |
---|
| 1220 | --help=recursive display the short help of all the included packages |
---|
| 1221 | -V, --version display version information and exit |
---|
| 1222 | -q, --quiet, --silent do not print \`checking ...' messages |
---|
| 1223 | --cache-file=FILE cache test results in FILE [disabled] |
---|
| 1224 | -C, --config-cache alias for \`--cache-file=config.cache' |
---|
| 1225 | -n, --no-create do not create output files |
---|
| 1226 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
---|
| 1227 | |
---|
| 1228 | Installation directories: |
---|
| 1229 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
| 1230 | [$ac_default_prefix] |
---|
| 1231 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
| 1232 | [PREFIX] |
---|
| 1233 | |
---|
| 1234 | By default, \`make install' will install all the files in |
---|
| 1235 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
---|
| 1236 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
---|
| 1237 | for instance \`--prefix=\$HOME'. |
---|
| 1238 | |
---|
| 1239 | For better control, use the options below. |
---|
| 1240 | |
---|
| 1241 | Fine tuning of the installation directories: |
---|
| 1242 | --bindir=DIR user executables [EPREFIX/bin] |
---|
| 1243 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
---|
| 1244 | --libexecdir=DIR program executables [EPREFIX/libexec] |
---|
| 1245 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
---|
| 1246 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
---|
| 1247 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
---|
| 1248 | --libdir=DIR object code libraries [EPREFIX/lib] |
---|
| 1249 | --includedir=DIR C header files [PREFIX/include] |
---|
| 1250 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
---|
| 1251 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
---|
| 1252 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
---|
| 1253 | --infodir=DIR info documentation [DATAROOTDIR/info] |
---|
| 1254 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
---|
| 1255 | --mandir=DIR man documentation [DATAROOTDIR/man] |
---|
| 1256 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
---|
| 1257 | --htmldir=DIR html documentation [DOCDIR] |
---|
| 1258 | --dvidir=DIR dvi documentation [DOCDIR] |
---|
| 1259 | --pdfdir=DIR pdf documentation [DOCDIR] |
---|
| 1260 | --psdir=DIR ps documentation [DOCDIR] |
---|
| 1261 | _ACEOF |
---|
| 1262 | |
---|
| 1263 | cat <<\_ACEOF |
---|
| 1264 | |
---|
| 1265 | Program names: |
---|
| 1266 | --program-prefix=PREFIX prepend PREFIX to installed program names |
---|
| 1267 | --program-suffix=SUFFIX append SUFFIX to installed program names |
---|
| 1268 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
---|
| 1269 | |
---|
| 1270 | System types: |
---|
| 1271 | --build=BUILD configure for building on BUILD [guessed] |
---|
| 1272 | --host=HOST cross-compile to build programs to run on HOST [BUILD] |
---|
| 1273 | --target=TARGET configure for building compilers for TARGET [HOST] |
---|
| 1274 | _ACEOF |
---|
| 1275 | fi |
---|
| 1276 | |
---|
| 1277 | if test -n "$ac_init_help"; then |
---|
| 1278 | |
---|
| 1279 | cat <<\_ACEOF |
---|
| 1280 | |
---|
| 1281 | Optional Features: |
---|
| 1282 | --disable-option-checking ignore unrecognized --enable/--with options |
---|
| 1283 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
---|
| 1284 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
---|
| 1285 | --disable-dependency-tracking speeds up one-time build |
---|
| 1286 | --enable-dependency-tracking do not reject slow dependency extractors |
---|
| 1287 | |
---|
| 1288 | Some influential environment variables: |
---|
| 1289 | CCAS assembler compiler command (defaults to CC) |
---|
| 1290 | CCASFLAGS assembler compiler flags (defaults to CFLAGS) |
---|
| 1291 | |
---|
| 1292 | Use these variables to override the choices made by `configure' or to help |
---|
| 1293 | it to find libraries and programs with nonstandard names/locations. |
---|
| 1294 | |
---|
| 1295 | Report bugs to the package provider. |
---|
| 1296 | _ACEOF |
---|
| 1297 | ac_status=$? |
---|
| 1298 | fi |
---|
| 1299 | |
---|
| 1300 | if test "$ac_init_help" = "recursive"; then |
---|
| 1301 | # If there are subdirs, report their specific --help. |
---|
| 1302 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
---|
| 1303 | test -d "$ac_dir" || |
---|
| 1304 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
---|
| 1305 | continue |
---|
| 1306 | ac_builddir=. |
---|
| 1307 | |
---|
| 1308 | case "$ac_dir" in |
---|
| 1309 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 1310 | *) |
---|
| 1311 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
---|
| 1312 | # A ".." for each directory in $ac_dir_suffix. |
---|
| 1313 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
---|
| 1314 | case $ac_top_builddir_sub in |
---|
| 1315 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 1316 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
| 1317 | esac ;; |
---|
| 1318 | esac |
---|
| 1319 | ac_abs_top_builddir=$ac_pwd |
---|
| 1320 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
| 1321 | # for backward compatibility: |
---|
| 1322 | ac_top_builddir=$ac_top_build_prefix |
---|
| 1323 | |
---|
| 1324 | case $srcdir in |
---|
| 1325 | .) # We are building in place. |
---|
| 1326 | ac_srcdir=. |
---|
| 1327 | ac_top_srcdir=$ac_top_builddir_sub |
---|
| 1328 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
| 1329 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
| 1330 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
| 1331 | ac_top_srcdir=$srcdir |
---|
| 1332 | ac_abs_top_srcdir=$srcdir ;; |
---|
| 1333 | *) # Relative name. |
---|
| 1334 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
| 1335 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
| 1336 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
| 1337 | esac |
---|
| 1338 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
| 1339 | |
---|
| 1340 | cd "$ac_dir" || { ac_status=$?; continue; } |
---|
| 1341 | # Check for guested configure. |
---|
| 1342 | if test -f "$ac_srcdir/configure.gnu"; then |
---|
| 1343 | echo && |
---|
| 1344 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
---|
| 1345 | elif test -f "$ac_srcdir/configure"; then |
---|
| 1346 | echo && |
---|
| 1347 | $SHELL "$ac_srcdir/configure" --help=recursive |
---|
| 1348 | else |
---|
| 1349 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
---|
| 1350 | fi || ac_status=$? |
---|
| 1351 | cd "$ac_pwd" || { ac_status=$?; break; } |
---|
| 1352 | done |
---|
| 1353 | fi |
---|
| 1354 | |
---|
| 1355 | test -n "$ac_init_help" && exit $ac_status |
---|
| 1356 | if $ac_init_version; then |
---|
| 1357 | cat <<\_ACEOF |
---|
| 1358 | configure |
---|
| 1359 | generated by GNU Autoconf 2.69 |
---|
| 1360 | |
---|
| 1361 | Copyright (C) 2012 Free Software Foundation, Inc. |
---|
| 1362 | This configure script is free software; the Free Software Foundation |
---|
| 1363 | gives unlimited permission to copy, distribute and modify it. |
---|
| 1364 | _ACEOF |
---|
| 1365 | exit |
---|
| 1366 | fi |
---|
| 1367 | |
---|
| 1368 | ## ------------------------ ## |
---|
| 1369 | ## Autoconf initialization. ## |
---|
| 1370 | ## ------------------------ ## |
---|
| 1371 | |
---|
| 1372 | # ac_fn_c_try_compile LINENO |
---|
| 1373 | # -------------------------- |
---|
| 1374 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
---|
| 1375 | ac_fn_c_try_compile () |
---|
| 1376 | { |
---|
| 1377 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 1378 | rm -f conftest.$ac_objext |
---|
| 1379 | if { { ac_try="$ac_compile" |
---|
| 1380 | case "(($ac_try" in |
---|
| 1381 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 1382 | *) ac_try_echo=$ac_try;; |
---|
| 1383 | esac |
---|
| 1384 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 1385 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 1386 | (eval "$ac_compile") 2>conftest.err |
---|
| 1387 | ac_status=$? |
---|
| 1388 | if test -s conftest.err; then |
---|
| 1389 | grep -v '^ *+' conftest.err >conftest.er1 |
---|
| 1390 | cat conftest.er1 >&5 |
---|
| 1391 | mv -f conftest.er1 conftest.err |
---|
| 1392 | fi |
---|
| 1393 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 1394 | test $ac_status = 0; } && { |
---|
| 1395 | test -z "$ac_c_werror_flag" || |
---|
| 1396 | test ! -s conftest.err |
---|
| 1397 | } && test -s conftest.$ac_objext; then : |
---|
| 1398 | ac_retval=0 |
---|
| 1399 | else |
---|
| 1400 | $as_echo "$as_me: failed program was:" >&5 |
---|
| 1401 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 1402 | |
---|
| 1403 | ac_retval=1 |
---|
| 1404 | fi |
---|
| 1405 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
| 1406 | as_fn_set_status $ac_retval |
---|
| 1407 | |
---|
| 1408 | } # ac_fn_c_try_compile |
---|
| 1409 | cat >config.log <<_ACEOF |
---|
| 1410 | This file contains any messages produced by compilers while |
---|
| 1411 | running configure, to aid debugging if configure makes a mistake. |
---|
| 1412 | |
---|
| 1413 | It was created by $as_me, which was |
---|
| 1414 | generated by GNU Autoconf 2.69. Invocation command line was |
---|
| 1415 | |
---|
| 1416 | $ $0 $@ |
---|
| 1417 | |
---|
| 1418 | _ACEOF |
---|
| 1419 | exec 5>>config.log |
---|
| 1420 | { |
---|
| 1421 | cat <<_ASUNAME |
---|
| 1422 | ## --------- ## |
---|
| 1423 | ## Platform. ## |
---|
| 1424 | ## --------- ## |
---|
| 1425 | |
---|
| 1426 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 1427 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
---|
| 1428 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
---|
| 1429 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
---|
| 1430 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
---|
| 1431 | |
---|
| 1432 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
---|
| 1433 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
---|
| 1434 | |
---|
| 1435 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
---|
| 1436 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
---|
| 1437 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
---|
| 1438 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
---|
| 1439 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
---|
| 1440 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
---|
| 1441 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
---|
| 1442 | |
---|
| 1443 | _ASUNAME |
---|
| 1444 | |
---|
| 1445 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1446 | for as_dir in $PATH |
---|
| 1447 | do |
---|
| 1448 | IFS=$as_save_IFS |
---|
| 1449 | test -z "$as_dir" && as_dir=. |
---|
| 1450 | $as_echo "PATH: $as_dir" |
---|
| 1451 | done |
---|
| 1452 | IFS=$as_save_IFS |
---|
| 1453 | |
---|
| 1454 | } >&5 |
---|
| 1455 | |
---|
| 1456 | cat >&5 <<_ACEOF |
---|
| 1457 | |
---|
| 1458 | |
---|
| 1459 | ## ----------- ## |
---|
| 1460 | ## Core tests. ## |
---|
| 1461 | ## ----------- ## |
---|
| 1462 | |
---|
| 1463 | _ACEOF |
---|
| 1464 | |
---|
| 1465 | |
---|
| 1466 | # Keep a trace of the command line. |
---|
| 1467 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
| 1468 | # Strip out --silent because we don't want to record it for future runs. |
---|
| 1469 | # Also quote any args containing shell meta-characters. |
---|
| 1470 | # Make two passes to allow for proper duplicate-argument suppression. |
---|
| 1471 | ac_configure_args= |
---|
| 1472 | ac_configure_args0= |
---|
| 1473 | ac_configure_args1= |
---|
| 1474 | ac_must_keep_next=false |
---|
| 1475 | for ac_pass in 1 2 |
---|
| 1476 | do |
---|
| 1477 | for ac_arg |
---|
| 1478 | do |
---|
| 1479 | case $ac_arg in |
---|
| 1480 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
---|
| 1481 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 1482 | | -silent | --silent | --silen | --sile | --sil) |
---|
| 1483 | continue ;; |
---|
| 1484 | *\'*) |
---|
| 1485 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 1486 | esac |
---|
| 1487 | case $ac_pass in |
---|
| 1488 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
---|
| 1489 | 2) |
---|
| 1490 | as_fn_append ac_configure_args1 " '$ac_arg'" |
---|
| 1491 | if test $ac_must_keep_next = true; then |
---|
| 1492 | ac_must_keep_next=false # Got value, back to normal. |
---|
| 1493 | else |
---|
| 1494 | case $ac_arg in |
---|
| 1495 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
---|
| 1496 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
---|
| 1497 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
---|
| 1498 | | -with-* | --with-* | -without-* | --without-* | --x) |
---|
| 1499 | case "$ac_configure_args0 " in |
---|
| 1500 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
---|
| 1501 | esac |
---|
| 1502 | ;; |
---|
| 1503 | -* ) ac_must_keep_next=true ;; |
---|
| 1504 | esac |
---|
| 1505 | fi |
---|
| 1506 | as_fn_append ac_configure_args " '$ac_arg'" |
---|
| 1507 | ;; |
---|
| 1508 | esac |
---|
| 1509 | done |
---|
| 1510 | done |
---|
| 1511 | { ac_configure_args0=; unset ac_configure_args0;} |
---|
| 1512 | { ac_configure_args1=; unset ac_configure_args1;} |
---|
| 1513 | |
---|
| 1514 | # When interrupted or exit'd, cleanup temporary files, and complete |
---|
| 1515 | # config.log. We remove comments because anyway the quotes in there |
---|
| 1516 | # would cause problems or look ugly. |
---|
| 1517 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
---|
| 1518 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
---|
| 1519 | trap 'exit_status=$? |
---|
| 1520 | # Save into config.log some information that might help in debugging. |
---|
| 1521 | { |
---|
| 1522 | echo |
---|
| 1523 | |
---|
| 1524 | $as_echo "## ---------------- ## |
---|
| 1525 | ## Cache variables. ## |
---|
| 1526 | ## ---------------- ##" |
---|
| 1527 | echo |
---|
| 1528 | # The following way of writing the cache mishandles newlines in values, |
---|
| 1529 | ( |
---|
| 1530 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
---|
| 1531 | eval ac_val=\$$ac_var |
---|
| 1532 | case $ac_val in #( |
---|
| 1533 | *${as_nl}*) |
---|
| 1534 | case $ac_var in #( |
---|
| 1535 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
---|
| 1536 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
---|
| 1537 | esac |
---|
| 1538 | case $ac_var in #( |
---|
| 1539 | _ | IFS | as_nl) ;; #( |
---|
| 1540 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
---|
| 1541 | *) { eval $ac_var=; unset $ac_var;} ;; |
---|
| 1542 | esac ;; |
---|
| 1543 | esac |
---|
| 1544 | done |
---|
| 1545 | (set) 2>&1 | |
---|
| 1546 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
---|
| 1547 | *${as_nl}ac_space=\ *) |
---|
| 1548 | sed -n \ |
---|
| 1549 | "s/'\''/'\''\\\\'\'''\''/g; |
---|
| 1550 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
---|
| 1551 | ;; #( |
---|
| 1552 | *) |
---|
| 1553 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
| 1554 | ;; |
---|
| 1555 | esac | |
---|
| 1556 | sort |
---|
| 1557 | ) |
---|
| 1558 | echo |
---|
| 1559 | |
---|
| 1560 | $as_echo "## ----------------- ## |
---|
| 1561 | ## Output variables. ## |
---|
| 1562 | ## ----------------- ##" |
---|
| 1563 | echo |
---|
| 1564 | for ac_var in $ac_subst_vars |
---|
| 1565 | do |
---|
| 1566 | eval ac_val=\$$ac_var |
---|
| 1567 | case $ac_val in |
---|
| 1568 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
| 1569 | esac |
---|
| 1570 | $as_echo "$ac_var='\''$ac_val'\''" |
---|
| 1571 | done | sort |
---|
| 1572 | echo |
---|
| 1573 | |
---|
| 1574 | if test -n "$ac_subst_files"; then |
---|
| 1575 | $as_echo "## ------------------- ## |
---|
| 1576 | ## File substitutions. ## |
---|
| 1577 | ## ------------------- ##" |
---|
| 1578 | echo |
---|
| 1579 | for ac_var in $ac_subst_files |
---|
| 1580 | do |
---|
| 1581 | eval ac_val=\$$ac_var |
---|
| 1582 | case $ac_val in |
---|
| 1583 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
| 1584 | esac |
---|
| 1585 | $as_echo "$ac_var='\''$ac_val'\''" |
---|
| 1586 | done | sort |
---|
| 1587 | echo |
---|
| 1588 | fi |
---|
| 1589 | |
---|
| 1590 | if test -s confdefs.h; then |
---|
| 1591 | $as_echo "## ----------- ## |
---|
| 1592 | ## confdefs.h. ## |
---|
| 1593 | ## ----------- ##" |
---|
| 1594 | echo |
---|
| 1595 | cat confdefs.h |
---|
| 1596 | echo |
---|
| 1597 | fi |
---|
| 1598 | test "$ac_signal" != 0 && |
---|
| 1599 | $as_echo "$as_me: caught signal $ac_signal" |
---|
| 1600 | $as_echo "$as_me: exit $exit_status" |
---|
| 1601 | } >&5 |
---|
| 1602 | rm -f core *.core core.conftest.* && |
---|
| 1603 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
---|
| 1604 | exit $exit_status |
---|
| 1605 | ' 0 |
---|
| 1606 | for ac_signal in 1 2 13 15; do |
---|
| 1607 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
---|
| 1608 | done |
---|
| 1609 | ac_signal=0 |
---|
| 1610 | |
---|
| 1611 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
| 1612 | rm -f -r conftest* confdefs.h |
---|
| 1613 | |
---|
| 1614 | $as_echo "/* confdefs.h */" > confdefs.h |
---|
| 1615 | |
---|
| 1616 | # Predefined preprocessor variables. |
---|
| 1617 | |
---|
| 1618 | cat >>confdefs.h <<_ACEOF |
---|
| 1619 | #define PACKAGE_NAME "$PACKAGE_NAME" |
---|
| 1620 | _ACEOF |
---|
| 1621 | |
---|
| 1622 | cat >>confdefs.h <<_ACEOF |
---|
| 1623 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
---|
| 1624 | _ACEOF |
---|
| 1625 | |
---|
| 1626 | cat >>confdefs.h <<_ACEOF |
---|
| 1627 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
---|
| 1628 | _ACEOF |
---|
| 1629 | |
---|
| 1630 | cat >>confdefs.h <<_ACEOF |
---|
| 1631 | #define PACKAGE_STRING "$PACKAGE_STRING" |
---|
| 1632 | _ACEOF |
---|
| 1633 | |
---|
| 1634 | cat >>confdefs.h <<_ACEOF |
---|
| 1635 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
---|
| 1636 | _ACEOF |
---|
| 1637 | |
---|
| 1638 | cat >>confdefs.h <<_ACEOF |
---|
| 1639 | #define PACKAGE_URL "$PACKAGE_URL" |
---|
| 1640 | _ACEOF |
---|
| 1641 | |
---|
| 1642 | |
---|
| 1643 | # Let the site file select an alternate cache file if it wants to. |
---|
| 1644 | # Prefer an explicitly selected file to automatically selected ones. |
---|
| 1645 | ac_site_file1=NONE |
---|
| 1646 | ac_site_file2=NONE |
---|
| 1647 | if test -n "$CONFIG_SITE"; then |
---|
| 1648 | # We do not want a PATH search for config.site. |
---|
| 1649 | case $CONFIG_SITE in #(( |
---|
| 1650 | -*) ac_site_file1=./$CONFIG_SITE;; |
---|
| 1651 | */*) ac_site_file1=$CONFIG_SITE;; |
---|
| 1652 | *) ac_site_file1=./$CONFIG_SITE;; |
---|
| 1653 | esac |
---|
| 1654 | elif test "x$prefix" != xNONE; then |
---|
| 1655 | ac_site_file1=$prefix/share/config.site |
---|
| 1656 | ac_site_file2=$prefix/etc/config.site |
---|
| 1657 | else |
---|
| 1658 | ac_site_file1=$ac_default_prefix/share/config.site |
---|
| 1659 | ac_site_file2=$ac_default_prefix/etc/config.site |
---|
| 1660 | fi |
---|
| 1661 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
---|
| 1662 | do |
---|
| 1663 | test "x$ac_site_file" = xNONE && continue |
---|
| 1664 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
---|
| 1665 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
---|
| 1666 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
---|
| 1667 | sed 's/^/| /' "$ac_site_file" >&5 |
---|
| 1668 | . "$ac_site_file" \ |
---|
| 1669 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 1670 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 1671 | as_fn_error $? "failed to load site script $ac_site_file |
---|
| 1672 | See \`config.log' for more details" "$LINENO" 5; } |
---|
| 1673 | fi |
---|
| 1674 | done |
---|
| 1675 | |
---|
| 1676 | if test -r "$cache_file"; then |
---|
| 1677 | # Some versions of bash will fail to source /dev/null (special files |
---|
| 1678 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
---|
| 1679 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
---|
| 1680 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
---|
| 1681 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
---|
| 1682 | case $cache_file in |
---|
| 1683 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
---|
| 1684 | *) . "./$cache_file";; |
---|
| 1685 | esac |
---|
| 1686 | fi |
---|
| 1687 | else |
---|
| 1688 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
---|
| 1689 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
---|
| 1690 | >$cache_file |
---|
| 1691 | fi |
---|
| 1692 | |
---|
| 1693 | # Check that the precious variables saved in the cache have kept the same |
---|
| 1694 | # value. |
---|
| 1695 | ac_cache_corrupted=false |
---|
| 1696 | for ac_var in $ac_precious_vars; do |
---|
| 1697 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
---|
| 1698 | eval ac_new_set=\$ac_env_${ac_var}_set |
---|
| 1699 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
---|
| 1700 | eval ac_new_val=\$ac_env_${ac_var}_value |
---|
| 1701 | case $ac_old_set,$ac_new_set in |
---|
| 1702 | set,) |
---|
| 1703 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
---|
| 1704 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
---|
| 1705 | ac_cache_corrupted=: ;; |
---|
| 1706 | ,set) |
---|
| 1707 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
---|
| 1708 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
---|
| 1709 | ac_cache_corrupted=: ;; |
---|
| 1710 | ,);; |
---|
| 1711 | *) |
---|
| 1712 | if test "x$ac_old_val" != "x$ac_new_val"; then |
---|
| 1713 | # differences in whitespace do not lead to failure. |
---|
| 1714 | ac_old_val_w=`echo x $ac_old_val` |
---|
| 1715 | ac_new_val_w=`echo x $ac_new_val` |
---|
| 1716 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
---|
| 1717 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
---|
| 1718 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
---|
| 1719 | ac_cache_corrupted=: |
---|
| 1720 | else |
---|
| 1721 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
---|
| 1722 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
---|
| 1723 | eval $ac_var=\$ac_old_val |
---|
| 1724 | fi |
---|
| 1725 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
---|
| 1726 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
---|
| 1727 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
---|
| 1728 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
---|
| 1729 | fi;; |
---|
| 1730 | esac |
---|
| 1731 | # Pass precious variables to config.status. |
---|
| 1732 | if test "$ac_new_set" = set; then |
---|
| 1733 | case $ac_new_val in |
---|
| 1734 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 1735 | *) ac_arg=$ac_var=$ac_new_val ;; |
---|
| 1736 | esac |
---|
| 1737 | case " $ac_configure_args " in |
---|
| 1738 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
---|
| 1739 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
---|
| 1740 | esac |
---|
| 1741 | fi |
---|
| 1742 | done |
---|
| 1743 | if $ac_cache_corrupted; then |
---|
| 1744 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 1745 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 1746 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
---|
| 1747 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
---|
| 1748 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
---|
| 1749 | fi |
---|
| 1750 | ## -------------------- ## |
---|
| 1751 | ## Main body of script. ## |
---|
| 1752 | ## -------------------- ## |
---|
| 1753 | |
---|
| 1754 | ac_ext=c |
---|
| 1755 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 1756 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 1757 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 1758 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 1759 | |
---|
| 1760 | |
---|
| 1761 | |
---|
| 1762 | if test "${enable_shared}" = "yes" ; then |
---|
| 1763 | echo "Shared libraries not supported for cross compiling, ignored" |
---|
| 1764 | fi |
---|
| 1765 | |
---|
| 1766 | if test "$srcdir" = "." ; then |
---|
| 1767 | if test "${with_target_subdir}" != "." ; then |
---|
| 1768 | libgloss_topdir="${srcdir}/${with_multisrctop}../../.." |
---|
| 1769 | else |
---|
| 1770 | libgloss_topdir="${srcdir}/${with_multisrctop}../.." |
---|
| 1771 | fi |
---|
| 1772 | else |
---|
| 1773 | libgloss_topdir="${srcdir}/../.." |
---|
| 1774 | fi |
---|
| 1775 | ac_aux_dir= |
---|
| 1776 | for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do |
---|
| 1777 | if test -f "$ac_dir/install-sh"; then |
---|
| 1778 | ac_aux_dir=$ac_dir |
---|
| 1779 | ac_install_sh="$ac_aux_dir/install-sh -c" |
---|
| 1780 | break |
---|
| 1781 | elif test -f "$ac_dir/install.sh"; then |
---|
| 1782 | ac_aux_dir=$ac_dir |
---|
| 1783 | ac_install_sh="$ac_aux_dir/install.sh -c" |
---|
| 1784 | break |
---|
| 1785 | elif test -f "$ac_dir/shtool"; then |
---|
| 1786 | ac_aux_dir=$ac_dir |
---|
| 1787 | ac_install_sh="$ac_aux_dir/shtool install -c" |
---|
| 1788 | break |
---|
| 1789 | fi |
---|
| 1790 | done |
---|
| 1791 | if test -z "$ac_aux_dir"; then |
---|
| 1792 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" "$LINENO" 5 |
---|
| 1793 | fi |
---|
| 1794 | |
---|
| 1795 | # These three variables are undocumented and unsupported, |
---|
| 1796 | # and are intended to be withdrawn in a future Autoconf release. |
---|
| 1797 | # They can cause serious problems if a builder's source tree is in a directory |
---|
| 1798 | # whose full name contains unusual characters. |
---|
| 1799 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
---|
| 1800 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
---|
| 1801 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
---|
| 1802 | |
---|
| 1803 | |
---|
| 1804 | |
---|
| 1805 | # Make sure we can run config.sub. |
---|
| 1806 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
---|
| 1807 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
---|
| 1808 | |
---|
| 1809 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
---|
| 1810 | $as_echo_n "checking build system type... " >&6; } |
---|
| 1811 | if ${ac_cv_build+:} false; then : |
---|
| 1812 | $as_echo_n "(cached) " >&6 |
---|
| 1813 | else |
---|
| 1814 | ac_build_alias=$build_alias |
---|
| 1815 | test "x$ac_build_alias" = x && |
---|
| 1816 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
---|
| 1817 | test "x$ac_build_alias" = x && |
---|
| 1818 | as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
---|
| 1819 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
---|
| 1820 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
---|
| 1821 | |
---|
| 1822 | fi |
---|
| 1823 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
---|
| 1824 | $as_echo "$ac_cv_build" >&6; } |
---|
| 1825 | case $ac_cv_build in |
---|
| 1826 | *-*-*) ;; |
---|
| 1827 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
---|
| 1828 | esac |
---|
| 1829 | build=$ac_cv_build |
---|
| 1830 | ac_save_IFS=$IFS; IFS='-' |
---|
| 1831 | set x $ac_cv_build |
---|
| 1832 | shift |
---|
| 1833 | build_cpu=$1 |
---|
| 1834 | build_vendor=$2 |
---|
| 1835 | shift; shift |
---|
| 1836 | # Remember, the first character of IFS is used to create $*, |
---|
| 1837 | # except with old shells: |
---|
| 1838 | build_os=$* |
---|
| 1839 | IFS=$ac_save_IFS |
---|
| 1840 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
---|
| 1841 | |
---|
| 1842 | |
---|
| 1843 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
---|
| 1844 | $as_echo_n "checking host system type... " >&6; } |
---|
| 1845 | if ${ac_cv_host+:} false; then : |
---|
| 1846 | $as_echo_n "(cached) " >&6 |
---|
| 1847 | else |
---|
| 1848 | if test "x$host_alias" = x; then |
---|
| 1849 | ac_cv_host=$ac_cv_build |
---|
| 1850 | else |
---|
| 1851 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
---|
| 1852 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
---|
| 1853 | fi |
---|
| 1854 | |
---|
| 1855 | fi |
---|
| 1856 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
---|
| 1857 | $as_echo "$ac_cv_host" >&6; } |
---|
| 1858 | case $ac_cv_host in |
---|
| 1859 | *-*-*) ;; |
---|
| 1860 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
---|
| 1861 | esac |
---|
| 1862 | host=$ac_cv_host |
---|
| 1863 | ac_save_IFS=$IFS; IFS='-' |
---|
| 1864 | set x $ac_cv_host |
---|
| 1865 | shift |
---|
| 1866 | host_cpu=$1 |
---|
| 1867 | host_vendor=$2 |
---|
| 1868 | shift; shift |
---|
| 1869 | # Remember, the first character of IFS is used to create $*, |
---|
| 1870 | # except with old shells: |
---|
| 1871 | host_os=$* |
---|
| 1872 | IFS=$ac_save_IFS |
---|
| 1873 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
---|
| 1874 | |
---|
| 1875 | |
---|
| 1876 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 |
---|
| 1877 | $as_echo_n "checking target system type... " >&6; } |
---|
| 1878 | if ${ac_cv_target+:} false; then : |
---|
| 1879 | $as_echo_n "(cached) " >&6 |
---|
| 1880 | else |
---|
| 1881 | if test "x$target_alias" = x; then |
---|
| 1882 | ac_cv_target=$ac_cv_host |
---|
| 1883 | else |
---|
| 1884 | ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || |
---|
| 1885 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 |
---|
| 1886 | fi |
---|
| 1887 | |
---|
| 1888 | fi |
---|
| 1889 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 |
---|
| 1890 | $as_echo "$ac_cv_target" >&6; } |
---|
| 1891 | case $ac_cv_target in |
---|
| 1892 | *-*-*) ;; |
---|
| 1893 | *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; |
---|
| 1894 | esac |
---|
| 1895 | target=$ac_cv_target |
---|
| 1896 | ac_save_IFS=$IFS; IFS='-' |
---|
| 1897 | set x $ac_cv_target |
---|
| 1898 | shift |
---|
| 1899 | target_cpu=$1 |
---|
| 1900 | target_vendor=$2 |
---|
| 1901 | shift; shift |
---|
| 1902 | # Remember, the first character of IFS is used to create $*, |
---|
| 1903 | # except with old shells: |
---|
| 1904 | target_os=$* |
---|
| 1905 | IFS=$ac_save_IFS |
---|
| 1906 | case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac |
---|
| 1907 | |
---|
| 1908 | |
---|
| 1909 | # The aliases save the names the user supplied, while $host etc. |
---|
| 1910 | # will get canonicalized. |
---|
| 1911 | test -n "$target_alias" && |
---|
| 1912 | test "$program_prefix$program_suffix$program_transform_name" = \ |
---|
| 1913 | NONENONEs,x,x, && |
---|
| 1914 | program_prefix=${target_alias}- |
---|
| 1915 | |
---|
| 1916 | test "$program_prefix" != NONE && |
---|
| 1917 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
---|
| 1918 | # Use a double $ so make ignores it. |
---|
| 1919 | test "$program_suffix" != NONE && |
---|
| 1920 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
---|
| 1921 | # Double any \ or $. |
---|
| 1922 | # By default was `s,x,x', remove it if useless. |
---|
| 1923 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
---|
| 1924 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
---|
| 1925 | |
---|
| 1926 | |
---|
| 1927 | # Find a good install program. We prefer a C program (faster), |
---|
| 1928 | # so one script is as good as another. But avoid the broken or |
---|
| 1929 | # incompatible versions: |
---|
| 1930 | # SysV /etc/install, /usr/sbin/install |
---|
| 1931 | # SunOS /usr/etc/install |
---|
| 1932 | # IRIX /sbin/install |
---|
| 1933 | # AIX /bin/install |
---|
| 1934 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
---|
| 1935 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
---|
| 1936 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
---|
| 1937 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
---|
| 1938 | # OS/2's system install, which has a completely different semantic |
---|
| 1939 | # ./install, which can be erroneously created by make from ./install.sh. |
---|
| 1940 | # Reject install programs that cannot install multiple files. |
---|
| 1941 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
---|
| 1942 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
---|
| 1943 | if test -z "$INSTALL"; then |
---|
| 1944 | if ${ac_cv_path_install+:} false; then : |
---|
| 1945 | $as_echo_n "(cached) " >&6 |
---|
| 1946 | else |
---|
| 1947 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1948 | for as_dir in $PATH |
---|
| 1949 | do |
---|
| 1950 | IFS=$as_save_IFS |
---|
| 1951 | test -z "$as_dir" && as_dir=. |
---|
| 1952 | # Account for people who put trailing slashes in PATH elements. |
---|
| 1953 | case $as_dir/ in #(( |
---|
| 1954 | ./ | .// | /[cC]/* | \ |
---|
| 1955 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
---|
| 1956 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
---|
| 1957 | /usr/ucb/* ) ;; |
---|
| 1958 | *) |
---|
| 1959 | # OSF1 and SCO ODT 3.0 have their own names for install. |
---|
| 1960 | # Don't use installbsd from OSF since it installs stuff as root |
---|
| 1961 | # by default. |
---|
| 1962 | for ac_prog in ginstall scoinst install; do |
---|
| 1963 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 1964 | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
---|
| 1965 | if test $ac_prog = install && |
---|
| 1966 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
| 1967 | # AIX install. It has an incompatible calling convention. |
---|
| 1968 | : |
---|
| 1969 | elif test $ac_prog = install && |
---|
| 1970 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
| 1971 | # program-specific install script used by HP pwplus--don't use. |
---|
| 1972 | : |
---|
| 1973 | else |
---|
| 1974 | rm -rf conftest.one conftest.two conftest.dir |
---|
| 1975 | echo one > conftest.one |
---|
| 1976 | echo two > conftest.two |
---|
| 1977 | mkdir conftest.dir |
---|
| 1978 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
---|
| 1979 | test -s conftest.one && test -s conftest.two && |
---|
| 1980 | test -s conftest.dir/conftest.one && |
---|
| 1981 | test -s conftest.dir/conftest.two |
---|
| 1982 | then |
---|
| 1983 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
---|
| 1984 | break 3 |
---|
| 1985 | fi |
---|
| 1986 | fi |
---|
| 1987 | fi |
---|
| 1988 | done |
---|
| 1989 | done |
---|
| 1990 | ;; |
---|
| 1991 | esac |
---|
| 1992 | |
---|
| 1993 | done |
---|
| 1994 | IFS=$as_save_IFS |
---|
| 1995 | |
---|
| 1996 | rm -rf conftest.one conftest.two conftest.dir |
---|
| 1997 | |
---|
| 1998 | fi |
---|
| 1999 | if test "${ac_cv_path_install+set}" = set; then |
---|
| 2000 | INSTALL=$ac_cv_path_install |
---|
| 2001 | else |
---|
| 2002 | # As a last resort, use the slow shell script. Don't cache a |
---|
| 2003 | # value for INSTALL within a source directory, because that will |
---|
| 2004 | # break other packages using the cache if that directory is |
---|
| 2005 | # removed, or if the value is a relative name. |
---|
| 2006 | INSTALL=$ac_install_sh |
---|
| 2007 | fi |
---|
| 2008 | fi |
---|
| 2009 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
---|
| 2010 | $as_echo "$INSTALL" >&6; } |
---|
| 2011 | |
---|
| 2012 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
---|
| 2013 | # It thinks the first close brace ends the variable substitution. |
---|
| 2014 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
---|
| 2015 | |
---|
| 2016 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
---|
| 2017 | |
---|
| 2018 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
---|
| 2019 | |
---|
| 2020 | |
---|
| 2021 | rm -rf .tst 2>/dev/null |
---|
| 2022 | mkdir .tst 2>/dev/null |
---|
| 2023 | if test -d .tst; then |
---|
| 2024 | am__leading_dot=. |
---|
| 2025 | else |
---|
| 2026 | am__leading_dot=_ |
---|
| 2027 | fi |
---|
| 2028 | rmdir .tst 2>/dev/null |
---|
| 2029 | |
---|
| 2030 | DEPDIR="${am__leading_dot}deps" |
---|
| 2031 | |
---|
| 2032 | ac_config_commands="$ac_config_commands depfiles" |
---|
| 2033 | |
---|
| 2034 | |
---|
| 2035 | am_make=${MAKE-make} |
---|
| 2036 | cat > confinc << 'END' |
---|
| 2037 | am__doit: |
---|
| 2038 | @echo done |
---|
| 2039 | .PHONY: am__doit |
---|
| 2040 | END |
---|
| 2041 | # If we don't find an include directive, just comment out the code. |
---|
| 2042 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
---|
| 2043 | $as_echo_n "checking for style of include used by $am_make... " >&6; } |
---|
| 2044 | am__include="#" |
---|
| 2045 | am__quote= |
---|
| 2046 | _am_result=none |
---|
| 2047 | # First try GNU make style include. |
---|
| 2048 | echo "include confinc" > confmf |
---|
| 2049 | # We grep out `Entering directory' and `Leaving directory' |
---|
| 2050 | # messages which can occur if `w' ends up in MAKEFLAGS. |
---|
| 2051 | # In particular we don't look at `^make:' because GNU make might |
---|
| 2052 | # be invoked under some other name (usually "gmake"), in which |
---|
| 2053 | # case it prints its new name instead of `make'. |
---|
| 2054 | if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then |
---|
| 2055 | am__include=include |
---|
| 2056 | am__quote= |
---|
| 2057 | _am_result=GNU |
---|
| 2058 | fi |
---|
| 2059 | # Now try BSD make style include. |
---|
| 2060 | if test "$am__include" = "#"; then |
---|
| 2061 | echo '.include "confinc"' > confmf |
---|
| 2062 | if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then |
---|
| 2063 | am__include=.include |
---|
| 2064 | am__quote="\"" |
---|
| 2065 | _am_result=BSD |
---|
| 2066 | fi |
---|
| 2067 | fi |
---|
| 2068 | |
---|
| 2069 | |
---|
| 2070 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
---|
| 2071 | $as_echo "$_am_result" >&6; } |
---|
| 2072 | rm -f confinc confmf |
---|
| 2073 | |
---|
| 2074 | # Check whether --enable-dependency-tracking was given. |
---|
| 2075 | if test "${enable_dependency_tracking+set}" = set; then : |
---|
| 2076 | enableval=$enable_dependency_tracking; |
---|
| 2077 | fi |
---|
| 2078 | |
---|
| 2079 | if test "x$enable_dependency_tracking" != xno; then |
---|
| 2080 | am_depcomp="$ac_aux_dir/depcomp" |
---|
| 2081 | AMDEPBACKSLASH='\' |
---|
| 2082 | fi |
---|
| 2083 | |
---|
| 2084 | |
---|
| 2085 | if test "x$enable_dependency_tracking" != xno; then |
---|
| 2086 | AMDEP_TRUE= |
---|
| 2087 | AMDEP_FALSE='#' |
---|
| 2088 | else |
---|
| 2089 | AMDEP_TRUE='#' |
---|
| 2090 | AMDEP_FALSE= |
---|
| 2091 | fi |
---|
| 2092 | |
---|
| 2093 | |
---|
| 2094 | |
---|
| 2095 | # Extract the first word of "gcc", so it can be a program name with args. |
---|
| 2096 | set dummy gcc; ac_word=$2 |
---|
| 2097 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2098 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 2099 | if ${ac_cv_prog_CC+:} false; then : |
---|
| 2100 | $as_echo_n "(cached) " >&6 |
---|
| 2101 | else |
---|
| 2102 | if test -n "$CC"; then |
---|
| 2103 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 2104 | else |
---|
| 2105 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2106 | for as_dir in $PATH |
---|
| 2107 | do |
---|
| 2108 | IFS=$as_save_IFS |
---|
| 2109 | test -z "$as_dir" && as_dir=. |
---|
| 2110 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 2111 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
| 2112 | ac_cv_prog_CC="gcc" |
---|
| 2113 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2114 | break 2 |
---|
| 2115 | fi |
---|
| 2116 | done |
---|
| 2117 | done |
---|
| 2118 | IFS=$as_save_IFS |
---|
| 2119 | |
---|
| 2120 | fi |
---|
| 2121 | fi |
---|
| 2122 | CC=$ac_cv_prog_CC |
---|
| 2123 | if test -n "$CC"; then |
---|
| 2124 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
| 2125 | $as_echo "$CC" >&6; } |
---|
| 2126 | else |
---|
| 2127 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2128 | $as_echo "no" >&6; } |
---|
| 2129 | fi |
---|
| 2130 | |
---|
| 2131 | |
---|
| 2132 | |
---|
| 2133 | depcc="$CC" am_compiler_list= |
---|
| 2134 | |
---|
| 2135 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
---|
| 2136 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
---|
| 2137 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
---|
| 2138 | $as_echo_n "(cached) " >&6 |
---|
| 2139 | else |
---|
| 2140 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
---|
| 2141 | # We make a subdir and do the tests there. Otherwise we can end up |
---|
| 2142 | # making bogus files that we don't know about and never remove. For |
---|
| 2143 | # instance it was reported that on HP-UX the gcc test will end up |
---|
| 2144 | # making a dummy file named `D' -- because `-MD' means `put the output |
---|
| 2145 | # in D'. |
---|
| 2146 | mkdir conftest.dir |
---|
| 2147 | # Copy depcomp to subdir because otherwise we won't find it if we're |
---|
| 2148 | # using a relative directory. |
---|
| 2149 | cp "$am_depcomp" conftest.dir |
---|
| 2150 | cd conftest.dir |
---|
| 2151 | # We will build objects and dependencies in a subdirectory because |
---|
| 2152 | # it helps to detect inapplicable dependency modes. For instance |
---|
| 2153 | # both Tru64's cc and ICC support -MD to output dependencies as a |
---|
| 2154 | # side effect of compilation, but ICC will put the dependencies in |
---|
| 2155 | # the current directory while Tru64 will put them in the object |
---|
| 2156 | # directory. |
---|
| 2157 | mkdir sub |
---|
| 2158 | |
---|
| 2159 | am_cv_CC_dependencies_compiler_type=none |
---|
| 2160 | if test "$am_compiler_list" = ""; then |
---|
| 2161 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
---|
| 2162 | fi |
---|
| 2163 | for depmode in $am_compiler_list; do |
---|
| 2164 | # Setup a source with many dependencies, because some compilers |
---|
| 2165 | # like to wrap large dependency lists on column 80 (with \), and |
---|
| 2166 | # we should not choose a depcomp mode which is confused by this. |
---|
| 2167 | # |
---|
| 2168 | # We need to recreate these files for each test, as the compiler may |
---|
| 2169 | # overwrite some of them when testing with obscure command lines. |
---|
| 2170 | # This happens at least with the AIX C compiler. |
---|
| 2171 | : > sub/conftest.c |
---|
| 2172 | for i in 1 2 3 4 5 6; do |
---|
| 2173 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
---|
| 2174 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
---|
| 2175 | # Solaris 8's {/usr,}/bin/sh. |
---|
| 2176 | touch sub/conftst$i.h |
---|
| 2177 | done |
---|
| 2178 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
---|
| 2179 | |
---|
| 2180 | case $depmode in |
---|
| 2181 | nosideeffect) |
---|
| 2182 | # after this tag, mechanisms are not by side-effect, so they'll |
---|
| 2183 | # only be used when explicitly requested |
---|
| 2184 | if test "x$enable_dependency_tracking" = xyes; then |
---|
| 2185 | continue |
---|
| 2186 | else |
---|
| 2187 | break |
---|
| 2188 | fi |
---|
| 2189 | ;; |
---|
| 2190 | none) break ;; |
---|
| 2191 | esac |
---|
| 2192 | # We check with `-c' and `-o' for the sake of the "dashmstdout" |
---|
| 2193 | # mode. It turns out that the SunPro C++ compiler does not properly |
---|
| 2194 | # handle `-M -o', and we need to detect this. |
---|
| 2195 | if depmode=$depmode \ |
---|
| 2196 | source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
---|
| 2197 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
---|
| 2198 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
---|
| 2199 | >/dev/null 2>conftest.err && |
---|
| 2200 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
---|
| 2201 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
---|
| 2202 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
---|
| 2203 | # icc doesn't choke on unknown options, it will just issue warnings |
---|
| 2204 | # or remarks (even with -Werror). So we grep stderr for any message |
---|
| 2205 | # that says an option was ignored or not supported. |
---|
| 2206 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
---|
| 2207 | # icc: Command line warning: ignoring option '-M'; no argument required |
---|
| 2208 | # The diagnosis changed in icc 8.0: |
---|
| 2209 | # icc: Command line remark: option '-MP' not supported |
---|
| 2210 | if (grep 'ignoring option' conftest.err || |
---|
| 2211 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
---|
| 2212 | am_cv_CC_dependencies_compiler_type=$depmode |
---|
| 2213 | break |
---|
| 2214 | fi |
---|
| 2215 | fi |
---|
| 2216 | done |
---|
| 2217 | |
---|
| 2218 | cd .. |
---|
| 2219 | rm -rf conftest.dir |
---|
| 2220 | else |
---|
| 2221 | am_cv_CC_dependencies_compiler_type=none |
---|
| 2222 | fi |
---|
| 2223 | |
---|
| 2224 | fi |
---|
| 2225 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
---|
| 2226 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
---|
| 2227 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
---|
| 2228 | |
---|
| 2229 | |
---|
| 2230 | |
---|
| 2231 | if |
---|
| 2232 | test "x$enable_dependency_tracking" != xno \ |
---|
| 2233 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
---|
| 2234 | am__fastdepCC_TRUE= |
---|
| 2235 | am__fastdepCC_FALSE='#' |
---|
| 2236 | else |
---|
| 2237 | am__fastdepCC_TRUE='#' |
---|
| 2238 | am__fastdepCC_FALSE= |
---|
| 2239 | fi |
---|
| 2240 | |
---|
| 2241 | |
---|
| 2242 | if test -z "$CC"; then |
---|
| 2243 | # Extract the first word of "cc", so it can be a program name with args. |
---|
| 2244 | set dummy cc; ac_word=$2 |
---|
| 2245 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2246 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 2247 | if ${ac_cv_prog_CC+:} false; then : |
---|
| 2248 | $as_echo_n "(cached) " >&6 |
---|
| 2249 | else |
---|
| 2250 | if test -n "$CC"; then |
---|
| 2251 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 2252 | else |
---|
| 2253 | ac_prog_rejected=no |
---|
| 2254 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2255 | for as_dir in $PATH |
---|
| 2256 | do |
---|
| 2257 | IFS=$as_save_IFS |
---|
| 2258 | test -z "$as_dir" && as_dir=. |
---|
| 2259 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 2260 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
| 2261 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
---|
| 2262 | ac_prog_rejected=yes |
---|
| 2263 | continue |
---|
| 2264 | fi |
---|
| 2265 | ac_cv_prog_CC="cc" |
---|
| 2266 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2267 | break 2 |
---|
| 2268 | fi |
---|
| 2269 | done |
---|
| 2270 | done |
---|
| 2271 | IFS=$as_save_IFS |
---|
| 2272 | |
---|
| 2273 | if test $ac_prog_rejected = yes; then |
---|
| 2274 | # We found a bogon in the path, so make sure we never use it. |
---|
| 2275 | set dummy $ac_cv_prog_CC |
---|
| 2276 | shift |
---|
| 2277 | if test $# != 0; then |
---|
| 2278 | # We chose a different compiler from the bogus one. |
---|
| 2279 | # However, it has the same basename, so the bogon will be chosen |
---|
| 2280 | # first if we set CC to just the basename; use the full file name. |
---|
| 2281 | shift |
---|
| 2282 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
---|
| 2283 | fi |
---|
| 2284 | fi |
---|
| 2285 | fi |
---|
| 2286 | fi |
---|
| 2287 | CC=$ac_cv_prog_CC |
---|
| 2288 | if test -n "$CC"; then |
---|
| 2289 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
| 2290 | $as_echo "$CC" >&6; } |
---|
| 2291 | else |
---|
| 2292 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2293 | $as_echo "no" >&6; } |
---|
| 2294 | fi |
---|
| 2295 | |
---|
| 2296 | |
---|
| 2297 | test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5 |
---|
| 2298 | fi |
---|
| 2299 | |
---|
| 2300 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5 |
---|
| 2301 | $as_echo_n "checking whether we are using GNU C... " >&6; } |
---|
| 2302 | if ${ac_cv_c_compiler_gnu+:} false; then : |
---|
| 2303 | $as_echo_n "(cached) " >&6 |
---|
| 2304 | else |
---|
| 2305 | cat > conftest.c <<EOF |
---|
| 2306 | #ifdef __GNUC__ |
---|
| 2307 | yes; |
---|
| 2308 | #endif |
---|
| 2309 | EOF |
---|
| 2310 | if { ac_try='${CC-cc} -E conftest.c' |
---|
| 2311 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 |
---|
| 2312 | (eval $ac_try) 2>&5 |
---|
| 2313 | ac_status=$? |
---|
| 2314 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 2315 | test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then |
---|
| 2316 | ac_cv_c_compiler_gnu=yes |
---|
| 2317 | else |
---|
| 2318 | ac_cv_c_compiler_gnu=no |
---|
| 2319 | fi |
---|
| 2320 | fi |
---|
| 2321 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
---|
| 2322 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
---|
| 2323 | |
---|
| 2324 | if test $ac_cv_c_compiler_gnu = yes; then |
---|
| 2325 | GCC=yes |
---|
| 2326 | ac_test_CFLAGS="${CFLAGS+set}" |
---|
| 2327 | ac_save_CFLAGS="$CFLAGS" |
---|
| 2328 | CFLAGS= |
---|
| 2329 | ac_test_CFLAGS=${CFLAGS+set} |
---|
| 2330 | ac_save_CFLAGS=$CFLAGS |
---|
| 2331 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
---|
| 2332 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
---|
| 2333 | if ${ac_cv_prog_cc_g+:} false; then : |
---|
| 2334 | $as_echo_n "(cached) " >&6 |
---|
| 2335 | else |
---|
| 2336 | ac_save_c_werror_flag=$ac_c_werror_flag |
---|
| 2337 | ac_c_werror_flag=yes |
---|
| 2338 | ac_cv_prog_cc_g=no |
---|
| 2339 | CFLAGS="-g" |
---|
| 2340 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 2341 | /* end confdefs.h. */ |
---|
| 2342 | |
---|
| 2343 | int |
---|
| 2344 | main () |
---|
| 2345 | { |
---|
| 2346 | |
---|
| 2347 | ; |
---|
| 2348 | return 0; |
---|
| 2349 | } |
---|
| 2350 | _ACEOF |
---|
| 2351 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 2352 | ac_cv_prog_cc_g=yes |
---|
| 2353 | else |
---|
| 2354 | CFLAGS="" |
---|
| 2355 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 2356 | /* end confdefs.h. */ |
---|
| 2357 | |
---|
| 2358 | int |
---|
| 2359 | main () |
---|
| 2360 | { |
---|
| 2361 | |
---|
| 2362 | ; |
---|
| 2363 | return 0; |
---|
| 2364 | } |
---|
| 2365 | _ACEOF |
---|
| 2366 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 2367 | |
---|
| 2368 | else |
---|
| 2369 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
| 2370 | CFLAGS="-g" |
---|
| 2371 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 2372 | /* end confdefs.h. */ |
---|
| 2373 | |
---|
| 2374 | int |
---|
| 2375 | main () |
---|
| 2376 | { |
---|
| 2377 | |
---|
| 2378 | ; |
---|
| 2379 | return 0; |
---|
| 2380 | } |
---|
| 2381 | _ACEOF |
---|
| 2382 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 2383 | ac_cv_prog_cc_g=yes |
---|
| 2384 | fi |
---|
| 2385 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 2386 | fi |
---|
| 2387 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 2388 | fi |
---|
| 2389 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 2390 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
| 2391 | fi |
---|
| 2392 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
---|
| 2393 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
---|
| 2394 | if test "$ac_test_CFLAGS" = set; then |
---|
| 2395 | CFLAGS=$ac_save_CFLAGS |
---|
| 2396 | elif test $ac_cv_prog_cc_g = yes; then |
---|
| 2397 | if test "$GCC" = yes; then |
---|
| 2398 | CFLAGS="-g -O2" |
---|
| 2399 | else |
---|
| 2400 | CFLAGS="-g" |
---|
| 2401 | fi |
---|
| 2402 | else |
---|
| 2403 | if test "$GCC" = yes; then |
---|
| 2404 | CFLAGS="-O2" |
---|
| 2405 | else |
---|
| 2406 | CFLAGS= |
---|
| 2407 | fi |
---|
| 2408 | fi |
---|
| 2409 | if test "$ac_test_CFLAGS" = set; then |
---|
| 2410 | CFLAGS="$ac_save_CFLAGS" |
---|
| 2411 | elif test $ac_cv_prog_cc_g = yes; then |
---|
| 2412 | CFLAGS="-g -O2" |
---|
| 2413 | else |
---|
| 2414 | CFLAGS="-O2" |
---|
| 2415 | fi |
---|
| 2416 | else |
---|
| 2417 | GCC= |
---|
| 2418 | test "${CFLAGS+set}" = set || CFLAGS="-g" |
---|
| 2419 | fi |
---|
| 2420 | |
---|
| 2421 | AS=${AS-as} |
---|
| 2422 | |
---|
| 2423 | AR=${AR-ar} |
---|
| 2424 | |
---|
| 2425 | LD=${LD-ld} |
---|
| 2426 | |
---|
| 2427 | if test -n "$ac_tool_prefix"; then |
---|
| 2428 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
---|
| 2429 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
---|
| 2430 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2431 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 2432 | if ${ac_cv_prog_RANLIB+:} false; then : |
---|
| 2433 | $as_echo_n "(cached) " >&6 |
---|
| 2434 | else |
---|
| 2435 | if test -n "$RANLIB"; then |
---|
| 2436 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
---|
| 2437 | else |
---|
| 2438 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2439 | for as_dir in $PATH |
---|
| 2440 | do |
---|
| 2441 | IFS=$as_save_IFS |
---|
| 2442 | test -z "$as_dir" && as_dir=. |
---|
| 2443 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 2444 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
| 2445 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
---|
| 2446 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2447 | break 2 |
---|
| 2448 | fi |
---|
| 2449 | done |
---|
| 2450 | done |
---|
| 2451 | IFS=$as_save_IFS |
---|
| 2452 | |
---|
| 2453 | fi |
---|
| 2454 | fi |
---|
| 2455 | RANLIB=$ac_cv_prog_RANLIB |
---|
| 2456 | if test -n "$RANLIB"; then |
---|
| 2457 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
---|
| 2458 | $as_echo "$RANLIB" >&6; } |
---|
| 2459 | else |
---|
| 2460 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2461 | $as_echo "no" >&6; } |
---|
| 2462 | fi |
---|
| 2463 | |
---|
| 2464 | |
---|
| 2465 | fi |
---|
| 2466 | if test -z "$ac_cv_prog_RANLIB"; then |
---|
| 2467 | ac_ct_RANLIB=$RANLIB |
---|
| 2468 | # Extract the first word of "ranlib", so it can be a program name with args. |
---|
| 2469 | set dummy ranlib; ac_word=$2 |
---|
| 2470 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2471 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 2472 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
---|
| 2473 | $as_echo_n "(cached) " >&6 |
---|
| 2474 | else |
---|
| 2475 | if test -n "$ac_ct_RANLIB"; then |
---|
| 2476 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
---|
| 2477 | else |
---|
| 2478 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2479 | for as_dir in $PATH |
---|
| 2480 | do |
---|
| 2481 | IFS=$as_save_IFS |
---|
| 2482 | test -z "$as_dir" && as_dir=. |
---|
| 2483 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 2484 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
| 2485 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
---|
| 2486 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2487 | break 2 |
---|
| 2488 | fi |
---|
| 2489 | done |
---|
| 2490 | done |
---|
| 2491 | IFS=$as_save_IFS |
---|
| 2492 | |
---|
| 2493 | fi |
---|
| 2494 | fi |
---|
| 2495 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
---|
| 2496 | if test -n "$ac_ct_RANLIB"; then |
---|
| 2497 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
---|
| 2498 | $as_echo "$ac_ct_RANLIB" >&6; } |
---|
| 2499 | else |
---|
| 2500 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2501 | $as_echo "no" >&6; } |
---|
| 2502 | fi |
---|
| 2503 | |
---|
| 2504 | if test "x$ac_ct_RANLIB" = x; then |
---|
| 2505 | RANLIB=":" |
---|
| 2506 | else |
---|
| 2507 | case $cross_compiling:$ac_tool_warned in |
---|
| 2508 | yes:) |
---|
| 2509 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
| 2510 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
| 2511 | ac_tool_warned=yes ;; |
---|
| 2512 | esac |
---|
| 2513 | RANLIB=$ac_ct_RANLIB |
---|
| 2514 | fi |
---|
| 2515 | else |
---|
| 2516 | RANLIB="$ac_cv_prog_RANLIB" |
---|
| 2517 | fi |
---|
| 2518 | |
---|
| 2519 | # By default we simply use the C compiler to build assembly code. |
---|
| 2520 | |
---|
| 2521 | test "${CCAS+set}" = set || CCAS=$CC |
---|
| 2522 | test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS |
---|
| 2523 | |
---|
| 2524 | |
---|
| 2525 | |
---|
| 2526 | |
---|
| 2527 | host_makefile_frag=${srcdir}/../config/default.mh |
---|
| 2528 | |
---|
| 2529 | host_makefile_frag_path=$host_makefile_frag |
---|
| 2530 | |
---|
| 2531 | |
---|
| 2532 | |
---|
| 2533 | ac_config_files="$ac_config_files Makefile" |
---|
| 2534 | |
---|
| 2535 | cat >confcache <<\_ACEOF |
---|
| 2536 | # This file is a shell script that caches the results of configure |
---|
| 2537 | # tests run on this system so they can be shared between configure |
---|
| 2538 | # scripts and configure runs, see configure's option --config-cache. |
---|
| 2539 | # It is not useful on other systems. If it contains results you don't |
---|
| 2540 | # want to keep, you may remove or edit it. |
---|
| 2541 | # |
---|
| 2542 | # config.status only pays attention to the cache file if you give it |
---|
| 2543 | # the --recheck option to rerun configure. |
---|
| 2544 | # |
---|
| 2545 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
---|
| 2546 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
---|
| 2547 | # following values. |
---|
| 2548 | |
---|
| 2549 | _ACEOF |
---|
| 2550 | |
---|
| 2551 | # The following way of writing the cache mishandles newlines in values, |
---|
| 2552 | # but we know of no workaround that is simple, portable, and efficient. |
---|
| 2553 | # So, we kill variables containing newlines. |
---|
| 2554 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
| 2555 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
| 2556 | ( |
---|
| 2557 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
---|
| 2558 | eval ac_val=\$$ac_var |
---|
| 2559 | case $ac_val in #( |
---|
| 2560 | *${as_nl}*) |
---|
| 2561 | case $ac_var in #( |
---|
| 2562 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
---|
| 2563 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
---|
| 2564 | esac |
---|
| 2565 | case $ac_var in #( |
---|
| 2566 | _ | IFS | as_nl) ;; #( |
---|
| 2567 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
---|
| 2568 | *) { eval $ac_var=; unset $ac_var;} ;; |
---|
| 2569 | esac ;; |
---|
| 2570 | esac |
---|
| 2571 | done |
---|
| 2572 | |
---|
| 2573 | (set) 2>&1 | |
---|
| 2574 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
---|
| 2575 | *${as_nl}ac_space=\ *) |
---|
| 2576 | # `set' does not quote correctly, so add quotes: double-quote |
---|
| 2577 | # substitution turns \\\\ into \\, and sed turns \\ into \. |
---|
| 2578 | sed -n \ |
---|
| 2579 | "s/'/'\\\\''/g; |
---|
| 2580 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
---|
| 2581 | ;; #( |
---|
| 2582 | *) |
---|
| 2583 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
| 2584 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
| 2585 | ;; |
---|
| 2586 | esac | |
---|
| 2587 | sort |
---|
| 2588 | ) | |
---|
| 2589 | sed ' |
---|
| 2590 | /^ac_cv_env_/b end |
---|
| 2591 | t clear |
---|
| 2592 | :clear |
---|
| 2593 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
---|
| 2594 | t end |
---|
| 2595 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
---|
| 2596 | :end' >>confcache |
---|
| 2597 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
---|
| 2598 | if test -w "$cache_file"; then |
---|
| 2599 | if test "x$cache_file" != "x/dev/null"; then |
---|
| 2600 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
---|
| 2601 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
---|
| 2602 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
---|
| 2603 | cat confcache >"$cache_file" |
---|
| 2604 | else |
---|
| 2605 | case $cache_file in #( |
---|
| 2606 | */* | ?:*) |
---|
| 2607 | mv -f confcache "$cache_file"$$ && |
---|
| 2608 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
---|
| 2609 | *) |
---|
| 2610 | mv -f confcache "$cache_file" ;; |
---|
| 2611 | esac |
---|
| 2612 | fi |
---|
| 2613 | fi |
---|
| 2614 | else |
---|
| 2615 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
---|
| 2616 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
---|
| 2617 | fi |
---|
| 2618 | fi |
---|
| 2619 | rm -f confcache |
---|
| 2620 | |
---|
| 2621 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
| 2622 | # Let make expand exec_prefix. |
---|
| 2623 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
| 2624 | |
---|
| 2625 | # Transform confdefs.h into DEFS. |
---|
| 2626 | # Protect against shell expansion while executing Makefile rules. |
---|
| 2627 | # Protect against Makefile macro expansion. |
---|
| 2628 | # |
---|
| 2629 | # If the first sed substitution is executed (which looks for macros that |
---|
| 2630 | # take arguments), then branch to the quote section. Otherwise, |
---|
| 2631 | # look for a macro that doesn't take arguments. |
---|
| 2632 | ac_script=' |
---|
| 2633 | :mline |
---|
| 2634 | /\\$/{ |
---|
| 2635 | N |
---|
| 2636 | s,\\\n,, |
---|
| 2637 | b mline |
---|
| 2638 | } |
---|
| 2639 | t clear |
---|
| 2640 | :clear |
---|
| 2641 | s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g |
---|
| 2642 | t quote |
---|
| 2643 | s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g |
---|
| 2644 | t quote |
---|
| 2645 | b any |
---|
| 2646 | :quote |
---|
| 2647 | s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g |
---|
| 2648 | s/\[/\\&/g |
---|
| 2649 | s/\]/\\&/g |
---|
| 2650 | s/\$/$$/g |
---|
| 2651 | H |
---|
| 2652 | :any |
---|
| 2653 | ${ |
---|
| 2654 | g |
---|
| 2655 | s/^\n// |
---|
| 2656 | s/\n/ /g |
---|
| 2657 | p |
---|
| 2658 | } |
---|
| 2659 | ' |
---|
| 2660 | DEFS=`sed -n "$ac_script" confdefs.h` |
---|
| 2661 | |
---|
| 2662 | |
---|
| 2663 | ac_libobjs= |
---|
| 2664 | ac_ltlibobjs= |
---|
| 2665 | U= |
---|
| 2666 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
---|
| 2667 | # 1. Remove the extension, and $U if already installed. |
---|
| 2668 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
---|
| 2669 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
---|
| 2670 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
---|
| 2671 | # will be set to the directory where LIBOBJS objects are built. |
---|
| 2672 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
---|
| 2673 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
---|
| 2674 | done |
---|
| 2675 | LIBOBJS=$ac_libobjs |
---|
| 2676 | |
---|
| 2677 | LTLIBOBJS=$ac_ltlibobjs |
---|
| 2678 | |
---|
| 2679 | |
---|
| 2680 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
---|
| 2681 | as_fn_error $? "conditional \"AMDEP\" was never defined. |
---|
| 2682 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
| 2683 | fi |
---|
| 2684 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
---|
| 2685 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
---|
| 2686 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
| 2687 | fi |
---|
| 2688 | |
---|
| 2689 | : "${CONFIG_STATUS=./config.status}" |
---|
| 2690 | ac_write_fail=0 |
---|
| 2691 | ac_clean_files_save=$ac_clean_files |
---|
| 2692 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
---|
| 2693 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
---|
| 2694 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
---|
| 2695 | as_write_fail=0 |
---|
| 2696 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
---|
| 2697 | #! $SHELL |
---|
| 2698 | # Generated by $as_me. |
---|
| 2699 | # Run this file to recreate the current configuration. |
---|
| 2700 | # Compiler output produced by configure, useful for debugging |
---|
| 2701 | # configure, is in config.log if it exists. |
---|
| 2702 | |
---|
| 2703 | debug=false |
---|
| 2704 | ac_cs_recheck=false |
---|
| 2705 | ac_cs_silent=false |
---|
| 2706 | |
---|
| 2707 | SHELL=\${CONFIG_SHELL-$SHELL} |
---|
| 2708 | export SHELL |
---|
| 2709 | _ASEOF |
---|
| 2710 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
---|
| 2711 | ## -------------------- ## |
---|
| 2712 | ## M4sh Initialization. ## |
---|
| 2713 | ## -------------------- ## |
---|
| 2714 | |
---|
| 2715 | # Be more Bourne compatible |
---|
| 2716 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
| 2717 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
---|
| 2718 | emulate sh |
---|
| 2719 | NULLCMD=: |
---|
| 2720 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
---|
| 2721 | # is contrary to our usage. Disable this feature. |
---|
| 2722 | alias -g '${1+"$@"}'='"$@"' |
---|
| 2723 | setopt NO_GLOB_SUBST |
---|
| 2724 | else |
---|
| 2725 | case `(set -o) 2>/dev/null` in #( |
---|
| 2726 | *posix*) : |
---|
| 2727 | set -o posix ;; #( |
---|
| 2728 | *) : |
---|
| 2729 | ;; |
---|
| 2730 | esac |
---|
| 2731 | fi |
---|
| 2732 | |
---|
| 2733 | |
---|
| 2734 | as_nl=' |
---|
| 2735 | ' |
---|
| 2736 | export as_nl |
---|
| 2737 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
---|
| 2738 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
---|
| 2739 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
| 2740 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
| 2741 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
---|
| 2742 | # but without wasting forks for bash or zsh. |
---|
| 2743 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
---|
| 2744 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
| 2745 | as_echo='print -r --' |
---|
| 2746 | as_echo_n='print -rn --' |
---|
| 2747 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
| 2748 | as_echo='printf %s\n' |
---|
| 2749 | as_echo_n='printf %s' |
---|
| 2750 | else |
---|
| 2751 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
---|
| 2752 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
---|
| 2753 | as_echo_n='/usr/ucb/echo -n' |
---|
| 2754 | else |
---|
| 2755 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
---|
| 2756 | as_echo_n_body='eval |
---|
| 2757 | arg=$1; |
---|
| 2758 | case $arg in #( |
---|
| 2759 | *"$as_nl"*) |
---|
| 2760 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
---|
| 2761 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
---|
| 2762 | esac; |
---|
| 2763 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
---|
| 2764 | ' |
---|
| 2765 | export as_echo_n_body |
---|
| 2766 | as_echo_n='sh -c $as_echo_n_body as_echo' |
---|
| 2767 | fi |
---|
| 2768 | export as_echo_body |
---|
| 2769 | as_echo='sh -c $as_echo_body as_echo' |
---|
| 2770 | fi |
---|
| 2771 | |
---|
| 2772 | # The user is always right. |
---|
| 2773 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
| 2774 | PATH_SEPARATOR=: |
---|
| 2775 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
---|
| 2776 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
---|
| 2777 | PATH_SEPARATOR=';' |
---|
| 2778 | } |
---|
| 2779 | fi |
---|
| 2780 | |
---|
| 2781 | |
---|
| 2782 | # IFS |
---|
| 2783 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
| 2784 | # there to prevent editors from complaining about space-tab. |
---|
| 2785 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
| 2786 | # splitting by setting IFS to empty value.) |
---|
| 2787 | IFS=" "" $as_nl" |
---|
| 2788 | |
---|
| 2789 | # Find who we are. Look in the path if we contain no directory separator. |
---|
| 2790 | as_myself= |
---|
| 2791 | case $0 in #(( |
---|
| 2792 | *[\\/]* ) as_myself=$0 ;; |
---|
| 2793 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2794 | for as_dir in $PATH |
---|
| 2795 | do |
---|
| 2796 | IFS=$as_save_IFS |
---|
| 2797 | test -z "$as_dir" && as_dir=. |
---|
| 2798 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
| 2799 | done |
---|
| 2800 | IFS=$as_save_IFS |
---|
| 2801 | |
---|
| 2802 | ;; |
---|
| 2803 | esac |
---|
| 2804 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
| 2805 | # in which case we are not to be found in the path. |
---|
| 2806 | if test "x$as_myself" = x; then |
---|
| 2807 | as_myself=$0 |
---|
| 2808 | fi |
---|
| 2809 | if test ! -f "$as_myself"; then |
---|
| 2810 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
| 2811 | exit 1 |
---|
| 2812 | fi |
---|
| 2813 | |
---|
| 2814 | # Unset variables that we do not need and which cause bugs (e.g. in |
---|
| 2815 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
---|
| 2816 | # suppresses any "Segmentation fault" message there. '((' could |
---|
| 2817 | # trigger a bug in pdksh 5.2.14. |
---|
| 2818 | for as_var in BASH_ENV ENV MAIL MAILPATH |
---|
| 2819 | do eval test x\${$as_var+set} = xset \ |
---|
| 2820 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
---|
| 2821 | done |
---|
| 2822 | PS1='$ ' |
---|
| 2823 | PS2='> ' |
---|
| 2824 | PS4='+ ' |
---|
| 2825 | |
---|
| 2826 | # NLS nuisances. |
---|
| 2827 | LC_ALL=C |
---|
| 2828 | export LC_ALL |
---|
| 2829 | LANGUAGE=C |
---|
| 2830 | export LANGUAGE |
---|
| 2831 | |
---|
| 2832 | # CDPATH. |
---|
| 2833 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
---|
| 2834 | |
---|
| 2835 | |
---|
| 2836 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
---|
| 2837 | # ---------------------------------------- |
---|
| 2838 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
---|
| 2839 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
---|
| 2840 | # script with STATUS, using 1 if that was 0. |
---|
| 2841 | as_fn_error () |
---|
| 2842 | { |
---|
| 2843 | as_status=$1; test $as_status -eq 0 && as_status=1 |
---|
| 2844 | if test "$4"; then |
---|
| 2845 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 2846 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
---|
| 2847 | fi |
---|
| 2848 | $as_echo "$as_me: error: $2" >&2 |
---|
| 2849 | as_fn_exit $as_status |
---|
| 2850 | } # as_fn_error |
---|
| 2851 | |
---|
| 2852 | |
---|
| 2853 | # as_fn_set_status STATUS |
---|
| 2854 | # ----------------------- |
---|
| 2855 | # Set $? to STATUS, without forking. |
---|
| 2856 | as_fn_set_status () |
---|
| 2857 | { |
---|
| 2858 | return $1 |
---|
| 2859 | } # as_fn_set_status |
---|
| 2860 | |
---|
| 2861 | # as_fn_exit STATUS |
---|
| 2862 | # ----------------- |
---|
| 2863 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
---|
| 2864 | as_fn_exit () |
---|
| 2865 | { |
---|
| 2866 | set +e |
---|
| 2867 | as_fn_set_status $1 |
---|
| 2868 | exit $1 |
---|
| 2869 | } # as_fn_exit |
---|
| 2870 | |
---|
| 2871 | # as_fn_unset VAR |
---|
| 2872 | # --------------- |
---|
| 2873 | # Portably unset VAR. |
---|
| 2874 | as_fn_unset () |
---|
| 2875 | { |
---|
| 2876 | { eval $1=; unset $1;} |
---|
| 2877 | } |
---|
| 2878 | as_unset=as_fn_unset |
---|
| 2879 | # as_fn_append VAR VALUE |
---|
| 2880 | # ---------------------- |
---|
| 2881 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
---|
| 2882 | # advantage of any shell optimizations that allow amortized linear growth over |
---|
| 2883 | # repeated appends, instead of the typical quadratic growth present in naive |
---|
| 2884 | # implementations. |
---|
| 2885 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
---|
| 2886 | eval 'as_fn_append () |
---|
| 2887 | { |
---|
| 2888 | eval $1+=\$2 |
---|
| 2889 | }' |
---|
| 2890 | else |
---|
| 2891 | as_fn_append () |
---|
| 2892 | { |
---|
| 2893 | eval $1=\$$1\$2 |
---|
| 2894 | } |
---|
| 2895 | fi # as_fn_append |
---|
| 2896 | |
---|
| 2897 | # as_fn_arith ARG... |
---|
| 2898 | # ------------------ |
---|
| 2899 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
---|
| 2900 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
---|
| 2901 | # must be portable across $(()) and expr. |
---|
| 2902 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
---|
| 2903 | eval 'as_fn_arith () |
---|
| 2904 | { |
---|
| 2905 | as_val=$(( $* )) |
---|
| 2906 | }' |
---|
| 2907 | else |
---|
| 2908 | as_fn_arith () |
---|
| 2909 | { |
---|
| 2910 | as_val=`expr "$@" || test $? -eq 1` |
---|
| 2911 | } |
---|
| 2912 | fi # as_fn_arith |
---|
| 2913 | |
---|
| 2914 | |
---|
| 2915 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
| 2916 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
| 2917 | as_expr=expr |
---|
| 2918 | else |
---|
| 2919 | as_expr=false |
---|
| 2920 | fi |
---|
| 2921 | |
---|
| 2922 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
| 2923 | as_basename=basename |
---|
| 2924 | else |
---|
| 2925 | as_basename=false |
---|
| 2926 | fi |
---|
| 2927 | |
---|
| 2928 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
| 2929 | as_dirname=dirname |
---|
| 2930 | else |
---|
| 2931 | as_dirname=false |
---|
| 2932 | fi |
---|
| 2933 | |
---|
| 2934 | as_me=`$as_basename -- "$0" || |
---|
| 2935 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
| 2936 | X"$0" : 'X\(//\)$' \| \ |
---|
| 2937 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 2938 | $as_echo X/"$0" | |
---|
| 2939 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
| 2940 | s//\1/ |
---|
| 2941 | q |
---|
| 2942 | } |
---|
| 2943 | /^X\/\(\/\/\)$/{ |
---|
| 2944 | s//\1/ |
---|
| 2945 | q |
---|
| 2946 | } |
---|
| 2947 | /^X\/\(\/\).*/{ |
---|
| 2948 | s//\1/ |
---|
| 2949 | q |
---|
| 2950 | } |
---|
| 2951 | s/.*/./; q'` |
---|
| 2952 | |
---|
| 2953 | # Avoid depending upon Character Ranges. |
---|
| 2954 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
| 2955 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
| 2956 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
| 2957 | as_cr_digits='0123456789' |
---|
| 2958 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
| 2959 | |
---|
| 2960 | ECHO_C= ECHO_N= ECHO_T= |
---|
| 2961 | case `echo -n x` in #((((( |
---|
| 2962 | -n*) |
---|
| 2963 | case `echo 'xy\c'` in |
---|
| 2964 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
| 2965 | xy) ECHO_C='\c';; |
---|
| 2966 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
---|
| 2967 | ECHO_T=' ';; |
---|
| 2968 | esac;; |
---|
| 2969 | *) |
---|
| 2970 | ECHO_N='-n';; |
---|
| 2971 | esac |
---|
| 2972 | |
---|
| 2973 | rm -f conf$$ conf$$.exe conf$$.file |
---|
| 2974 | if test -d conf$$.dir; then |
---|
| 2975 | rm -f conf$$.dir/conf$$.file |
---|
| 2976 | else |
---|
| 2977 | rm -f conf$$.dir |
---|
| 2978 | mkdir conf$$.dir 2>/dev/null |
---|
| 2979 | fi |
---|
| 2980 | if (echo >conf$$.file) 2>/dev/null; then |
---|
| 2981 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
| 2982 | as_ln_s='ln -s' |
---|
| 2983 | # ... but there are two gotchas: |
---|
| 2984 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
| 2985 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
| 2986 | # In both cases, we have to default to `cp -pR'. |
---|
| 2987 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
| 2988 | as_ln_s='cp -pR' |
---|
| 2989 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
| 2990 | as_ln_s=ln |
---|
| 2991 | else |
---|
| 2992 | as_ln_s='cp -pR' |
---|
| 2993 | fi |
---|
| 2994 | else |
---|
| 2995 | as_ln_s='cp -pR' |
---|
| 2996 | fi |
---|
| 2997 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
| 2998 | rmdir conf$$.dir 2>/dev/null |
---|
| 2999 | |
---|
| 3000 | |
---|
| 3001 | # as_fn_mkdir_p |
---|
| 3002 | # ------------- |
---|
| 3003 | # Create "$as_dir" as a directory, including parents if necessary. |
---|
| 3004 | as_fn_mkdir_p () |
---|
| 3005 | { |
---|
| 3006 | |
---|
| 3007 | case $as_dir in #( |
---|
| 3008 | -*) as_dir=./$as_dir;; |
---|
| 3009 | esac |
---|
| 3010 | test -d "$as_dir" || eval $as_mkdir_p || { |
---|
| 3011 | as_dirs= |
---|
| 3012 | while :; do |
---|
| 3013 | case $as_dir in #( |
---|
| 3014 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
---|
| 3015 | *) as_qdir=$as_dir;; |
---|
| 3016 | esac |
---|
| 3017 | as_dirs="'$as_qdir' $as_dirs" |
---|
| 3018 | as_dir=`$as_dirname -- "$as_dir" || |
---|
| 3019 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 3020 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
| 3021 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
| 3022 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 3023 | $as_echo X"$as_dir" | |
---|
| 3024 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 3025 | s//\1/ |
---|
| 3026 | q |
---|
| 3027 | } |
---|
| 3028 | /^X\(\/\/\)[^/].*/{ |
---|
| 3029 | s//\1/ |
---|
| 3030 | q |
---|
| 3031 | } |
---|
| 3032 | /^X\(\/\/\)$/{ |
---|
| 3033 | s//\1/ |
---|
| 3034 | q |
---|
| 3035 | } |
---|
| 3036 | /^X\(\/\).*/{ |
---|
| 3037 | s//\1/ |
---|
| 3038 | q |
---|
| 3039 | } |
---|
| 3040 | s/.*/./; q'` |
---|
| 3041 | test -d "$as_dir" && break |
---|
| 3042 | done |
---|
| 3043 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
| 3044 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
---|
| 3045 | |
---|
| 3046 | |
---|
| 3047 | } # as_fn_mkdir_p |
---|
| 3048 | if mkdir -p . 2>/dev/null; then |
---|
| 3049 | as_mkdir_p='mkdir -p "$as_dir"' |
---|
| 3050 | else |
---|
| 3051 | test -d ./-p && rmdir ./-p |
---|
| 3052 | as_mkdir_p=false |
---|
| 3053 | fi |
---|
| 3054 | |
---|
| 3055 | |
---|
| 3056 | # as_fn_executable_p FILE |
---|
| 3057 | # ----------------------- |
---|
| 3058 | # Test if FILE is an executable regular file. |
---|
| 3059 | as_fn_executable_p () |
---|
| 3060 | { |
---|
| 3061 | test -f "$1" && test -x "$1" |
---|
| 3062 | } # as_fn_executable_p |
---|
| 3063 | as_test_x='test -x' |
---|
| 3064 | as_executable_p=as_fn_executable_p |
---|
| 3065 | |
---|
| 3066 | # Sed expression to map a string onto a valid CPP name. |
---|
| 3067 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 3068 | |
---|
| 3069 | # Sed expression to map a string onto a valid variable name. |
---|
| 3070 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 3071 | |
---|
| 3072 | |
---|
| 3073 | exec 6>&1 |
---|
| 3074 | ## ----------------------------------- ## |
---|
| 3075 | ## Main body of $CONFIG_STATUS script. ## |
---|
| 3076 | ## ----------------------------------- ## |
---|
| 3077 | _ASEOF |
---|
| 3078 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
---|
| 3079 | |
---|
| 3080 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 3081 | # Save the log message, to keep $0 and so on meaningful, and to |
---|
| 3082 | # report actual input values of CONFIG_FILES etc. instead of their |
---|
| 3083 | # values after options handling. |
---|
| 3084 | ac_log=" |
---|
| 3085 | This file was extended by $as_me, which was |
---|
| 3086 | generated by GNU Autoconf 2.69. Invocation command line was |
---|
| 3087 | |
---|
| 3088 | CONFIG_FILES = $CONFIG_FILES |
---|
| 3089 | CONFIG_HEADERS = $CONFIG_HEADERS |
---|
| 3090 | CONFIG_LINKS = $CONFIG_LINKS |
---|
| 3091 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
---|
| 3092 | $ $0 $@ |
---|
| 3093 | |
---|
| 3094 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 3095 | " |
---|
| 3096 | |
---|
| 3097 | _ACEOF |
---|
| 3098 | |
---|
| 3099 | case $ac_config_files in *" |
---|
| 3100 | "*) set x $ac_config_files; shift; ac_config_files=$*;; |
---|
| 3101 | esac |
---|
| 3102 | |
---|
| 3103 | |
---|
| 3104 | |
---|
| 3105 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 3106 | # Files that config.status was made for. |
---|
| 3107 | config_files="$ac_config_files" |
---|
| 3108 | config_commands="$ac_config_commands" |
---|
| 3109 | |
---|
| 3110 | _ACEOF |
---|
| 3111 | |
---|
| 3112 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 3113 | ac_cs_usage="\ |
---|
| 3114 | \`$as_me' instantiates files and other configuration actions |
---|
| 3115 | from templates according to the current configuration. Unless the files |
---|
| 3116 | and actions are specified as TAGs, all are instantiated by default. |
---|
| 3117 | |
---|
| 3118 | Usage: $0 [OPTION]... [TAG]... |
---|
| 3119 | |
---|
| 3120 | -h, --help print this help, then exit |
---|
| 3121 | -V, --version print version number and configuration settings, then exit |
---|
| 3122 | --config print configuration, then exit |
---|
| 3123 | -q, --quiet, --silent |
---|
| 3124 | do not print progress messages |
---|
| 3125 | -d, --debug don't remove temporary files |
---|
| 3126 | --recheck update $as_me by reconfiguring in the same conditions |
---|
| 3127 | --file=FILE[:TEMPLATE] |
---|
| 3128 | instantiate the configuration file FILE |
---|
| 3129 | |
---|
| 3130 | Configuration files: |
---|
| 3131 | $config_files |
---|
| 3132 | |
---|
| 3133 | Configuration commands: |
---|
| 3134 | $config_commands |
---|
| 3135 | |
---|
| 3136 | Report bugs to the package provider." |
---|
| 3137 | |
---|
| 3138 | _ACEOF |
---|
| 3139 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 3140 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
---|
| 3141 | ac_cs_version="\\ |
---|
| 3142 | config.status |
---|
| 3143 | configured by $0, generated by GNU Autoconf 2.69, |
---|
| 3144 | with options \\"\$ac_cs_config\\" |
---|
| 3145 | |
---|
| 3146 | Copyright (C) 2012 Free Software Foundation, Inc. |
---|
| 3147 | This config.status script is free software; the Free Software Foundation |
---|
| 3148 | gives unlimited permission to copy, distribute and modify it." |
---|
| 3149 | |
---|
| 3150 | ac_pwd='$ac_pwd' |
---|
| 3151 | srcdir='$srcdir' |
---|
| 3152 | INSTALL='$INSTALL' |
---|
| 3153 | test -n "\$AWK" || AWK=awk |
---|
| 3154 | _ACEOF |
---|
| 3155 | |
---|
| 3156 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 3157 | # The default lists apply if the user does not specify any file. |
---|
| 3158 | ac_need_defaults=: |
---|
| 3159 | while test $# != 0 |
---|
| 3160 | do |
---|
| 3161 | case $1 in |
---|
| 3162 | --*=?*) |
---|
| 3163 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
---|
| 3164 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
---|
| 3165 | ac_shift=: |
---|
| 3166 | ;; |
---|
| 3167 | --*=) |
---|
| 3168 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
---|
| 3169 | ac_optarg= |
---|
| 3170 | ac_shift=: |
---|
| 3171 | ;; |
---|
| 3172 | *) |
---|
| 3173 | ac_option=$1 |
---|
| 3174 | ac_optarg=$2 |
---|
| 3175 | ac_shift=shift |
---|
| 3176 | ;; |
---|
| 3177 | esac |
---|
| 3178 | |
---|
| 3179 | case $ac_option in |
---|
| 3180 | # Handling of the options. |
---|
| 3181 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
| 3182 | ac_cs_recheck=: ;; |
---|
| 3183 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
---|
| 3184 | $as_echo "$ac_cs_version"; exit ;; |
---|
| 3185 | --config | --confi | --conf | --con | --co | --c ) |
---|
| 3186 | $as_echo "$ac_cs_config"; exit ;; |
---|
| 3187 | --debug | --debu | --deb | --de | --d | -d ) |
---|
| 3188 | debug=: ;; |
---|
| 3189 | --file | --fil | --fi | --f ) |
---|
| 3190 | $ac_shift |
---|
| 3191 | case $ac_optarg in |
---|
| 3192 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 3193 | '') as_fn_error $? "missing file argument" ;; |
---|
| 3194 | esac |
---|
| 3195 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
---|
| 3196 | ac_need_defaults=false;; |
---|
| 3197 | --he | --h | --help | --hel | -h ) |
---|
| 3198 | $as_echo "$ac_cs_usage"; exit ;; |
---|
| 3199 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 3200 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
---|
| 3201 | ac_cs_silent=: ;; |
---|
| 3202 | |
---|
| 3203 | # This is an error. |
---|
| 3204 | -*) as_fn_error $? "unrecognized option: \`$1' |
---|
| 3205 | Try \`$0 --help' for more information." ;; |
---|
| 3206 | |
---|
| 3207 | *) as_fn_append ac_config_targets " $1" |
---|
| 3208 | ac_need_defaults=false ;; |
---|
| 3209 | |
---|
| 3210 | esac |
---|
| 3211 | shift |
---|
| 3212 | done |
---|
| 3213 | |
---|
| 3214 | ac_configure_extra_args= |
---|
| 3215 | |
---|
| 3216 | if $ac_cs_silent; then |
---|
| 3217 | exec 6>/dev/null |
---|
| 3218 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
---|
| 3219 | fi |
---|
| 3220 | |
---|
| 3221 | _ACEOF |
---|
| 3222 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 3223 | if \$ac_cs_recheck; then |
---|
| 3224 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
---|
| 3225 | shift |
---|
| 3226 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
---|
| 3227 | CONFIG_SHELL='$SHELL' |
---|
| 3228 | export CONFIG_SHELL |
---|
| 3229 | exec "\$@" |
---|
| 3230 | fi |
---|
| 3231 | |
---|
| 3232 | _ACEOF |
---|
| 3233 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 3234 | exec 5>>config.log |
---|
| 3235 | { |
---|
| 3236 | echo |
---|
| 3237 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
---|
| 3238 | ## Running $as_me. ## |
---|
| 3239 | _ASBOX |
---|
| 3240 | $as_echo "$ac_log" |
---|
| 3241 | } >&5 |
---|
| 3242 | |
---|
| 3243 | _ACEOF |
---|
| 3244 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 3245 | # |
---|
| 3246 | # INIT-COMMANDS |
---|
| 3247 | # |
---|
| 3248 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
---|
| 3249 | srcdir=${srcdir} |
---|
| 3250 | target=${target} |
---|
| 3251 | with_multisubdir=${with_multisubdir} |
---|
| 3252 | ac_configure_args="${ac_configure_args} --enable-multilib" |
---|
| 3253 | CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} |
---|
| 3254 | libgloss_topdir=${libgloss_topdir} |
---|
| 3255 | |
---|
| 3256 | |
---|
| 3257 | _ACEOF |
---|
| 3258 | |
---|
| 3259 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 3260 | |
---|
| 3261 | # Handling of arguments. |
---|
| 3262 | for ac_config_target in $ac_config_targets |
---|
| 3263 | do |
---|
| 3264 | case $ac_config_target in |
---|
| 3265 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
---|
| 3266 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
---|
| 3267 | |
---|
| 3268 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
---|
| 3269 | esac |
---|
| 3270 | done |
---|
| 3271 | |
---|
| 3272 | |
---|
| 3273 | # If the user did not use the arguments to specify the items to instantiate, |
---|
| 3274 | # then the envvar interface is used. Set only those that are not. |
---|
| 3275 | # We use the long form for the default assignment because of an extremely |
---|
| 3276 | # bizarre bug on SunOS 4.1.3. |
---|
| 3277 | if $ac_need_defaults; then |
---|
| 3278 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
---|
| 3279 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
---|
| 3280 | fi |
---|
| 3281 | |
---|
| 3282 | # Have a temporary directory for convenience. Make it in the build tree |
---|
| 3283 | # simply because there is no reason against having it here, and in addition, |
---|
| 3284 | # creating and moving files from /tmp can sometimes cause problems. |
---|
| 3285 | # Hook for its removal unless debugging. |
---|
| 3286 | # Note that there is a small window in which the directory will not be cleaned: |
---|
| 3287 | # after its creation but before its name has been assigned to `$tmp'. |
---|
| 3288 | $debug || |
---|
| 3289 | { |
---|
| 3290 | tmp= ac_tmp= |
---|
| 3291 | trap 'exit_status=$? |
---|
| 3292 | : "${ac_tmp:=$tmp}" |
---|
| 3293 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
---|
| 3294 | ' 0 |
---|
| 3295 | trap 'as_fn_exit 1' 1 2 13 15 |
---|
| 3296 | } |
---|
| 3297 | # Create a (secure) tmp directory for tmp files. |
---|
| 3298 | |
---|
| 3299 | { |
---|
| 3300 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
---|
| 3301 | test -d "$tmp" |
---|
| 3302 | } || |
---|
| 3303 | { |
---|
| 3304 | tmp=./conf$$-$RANDOM |
---|
| 3305 | (umask 077 && mkdir "$tmp") |
---|
| 3306 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
---|
| 3307 | ac_tmp=$tmp |
---|
| 3308 | |
---|
| 3309 | # Set up the scripts for CONFIG_FILES section. |
---|
| 3310 | # No need to generate them if there are no CONFIG_FILES. |
---|
| 3311 | # This happens for instance with `./config.status config.h'. |
---|
| 3312 | if test -n "$CONFIG_FILES"; then |
---|
| 3313 | |
---|
| 3314 | if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then |
---|
| 3315 | ac_cs_awk_getline=: |
---|
| 3316 | ac_cs_awk_pipe_init= |
---|
| 3317 | ac_cs_awk_read_file=' |
---|
| 3318 | while ((getline aline < (F[key])) > 0) |
---|
| 3319 | print(aline) |
---|
| 3320 | close(F[key])' |
---|
| 3321 | ac_cs_awk_pipe_fini= |
---|
| 3322 | else |
---|
| 3323 | ac_cs_awk_getline=false |
---|
| 3324 | ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\"" |
---|
| 3325 | ac_cs_awk_read_file=' |
---|
| 3326 | print "|#_!!_#|" |
---|
| 3327 | print "cat " F[key] " &&" |
---|
| 3328 | '$ac_cs_awk_pipe_init |
---|
| 3329 | # The final `:' finishes the AND list. |
---|
| 3330 | ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }' |
---|
| 3331 | fi |
---|
| 3332 | ac_cr=`echo X | tr X '\015'` |
---|
| 3333 | # On cygwin, bash can eat \r inside `` if the user requested igncr. |
---|
| 3334 | # But we know of no other shell where ac_cr would be empty at this |
---|
| 3335 | # point, so we can use a bashism as a fallback. |
---|
| 3336 | if test "x$ac_cr" = x; then |
---|
| 3337 | eval ac_cr=\$\'\\r\' |
---|
| 3338 | fi |
---|
| 3339 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
---|
| 3340 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
---|
| 3341 | ac_cs_awk_cr='\\r' |
---|
| 3342 | else |
---|
| 3343 | ac_cs_awk_cr=$ac_cr |
---|
| 3344 | fi |
---|
| 3345 | |
---|
| 3346 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
---|
| 3347 | _ACEOF |
---|
| 3348 | |
---|
| 3349 | # Create commands to substitute file output variables. |
---|
| 3350 | { |
---|
| 3351 | echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" && |
---|
| 3352 | echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' && |
---|
| 3353 | echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' && |
---|
| 3354 | echo "_ACAWK" && |
---|
| 3355 | echo "_ACEOF" |
---|
| 3356 | } >conf$$files.sh && |
---|
| 3357 | . ./conf$$files.sh || |
---|
| 3358 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
| 3359 | rm -f conf$$files.sh |
---|
| 3360 | |
---|
| 3361 | { |
---|
| 3362 | echo "cat >conf$$subs.awk <<_ACEOF" && |
---|
| 3363 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
---|
| 3364 | echo "_ACEOF" |
---|
| 3365 | } >conf$$subs.sh || |
---|
| 3366 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
| 3367 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
---|
| 3368 | ac_delim='%!_!# ' |
---|
| 3369 | for ac_last_try in false false false false false :; do |
---|
| 3370 | . ./conf$$subs.sh || |
---|
| 3371 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
| 3372 | |
---|
| 3373 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
---|
| 3374 | if test $ac_delim_n = $ac_delim_num; then |
---|
| 3375 | break |
---|
| 3376 | elif $ac_last_try; then |
---|
| 3377 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
| 3378 | else |
---|
| 3379 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
---|
| 3380 | fi |
---|
| 3381 | done |
---|
| 3382 | rm -f conf$$subs.sh |
---|
| 3383 | |
---|
| 3384 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 3385 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
---|
| 3386 | _ACEOF |
---|
| 3387 | sed -n ' |
---|
| 3388 | h |
---|
| 3389 | s/^/S["/; s/!.*/"]=/ |
---|
| 3390 | p |
---|
| 3391 | g |
---|
| 3392 | s/^[^!]*!// |
---|
| 3393 | :repl |
---|
| 3394 | t repl |
---|
| 3395 | s/'"$ac_delim"'$// |
---|
| 3396 | t delim |
---|
| 3397 | :nl |
---|
| 3398 | h |
---|
| 3399 | s/\(.\{148\}\)..*/\1/ |
---|
| 3400 | t more1 |
---|
| 3401 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
---|
| 3402 | p |
---|
| 3403 | n |
---|
| 3404 | b repl |
---|
| 3405 | :more1 |
---|
| 3406 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
---|
| 3407 | p |
---|
| 3408 | g |
---|
| 3409 | s/.\{148\}// |
---|
| 3410 | t nl |
---|
| 3411 | :delim |
---|
| 3412 | h |
---|
| 3413 | s/\(.\{148\}\)..*/\1/ |
---|
| 3414 | t more2 |
---|
| 3415 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
---|
| 3416 | p |
---|
| 3417 | b |
---|
| 3418 | :more2 |
---|
| 3419 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
---|
| 3420 | p |
---|
| 3421 | g |
---|
| 3422 | s/.\{148\}// |
---|
| 3423 | t delim |
---|
| 3424 | ' <conf$$subs.awk | sed ' |
---|
| 3425 | /^[^""]/{ |
---|
| 3426 | N |
---|
| 3427 | s/\n// |
---|
| 3428 | } |
---|
| 3429 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
---|
| 3430 | rm -f conf$$subs.awk |
---|
| 3431 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 3432 | _ACAWK |
---|
| 3433 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
---|
| 3434 | for (key in S) S_is_set[key] = 1 |
---|
| 3435 | FS = "" |
---|
| 3436 | \$ac_cs_awk_pipe_init |
---|
| 3437 | } |
---|
| 3438 | { |
---|
| 3439 | line = $ 0 |
---|
| 3440 | nfields = split(line, field, "@") |
---|
| 3441 | substed = 0 |
---|
| 3442 | len = length(field[1]) |
---|
| 3443 | for (i = 2; i < nfields; i++) { |
---|
| 3444 | key = field[i] |
---|
| 3445 | keylen = length(key) |
---|
| 3446 | if (S_is_set[key]) { |
---|
| 3447 | value = S[key] |
---|
| 3448 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
---|
| 3449 | len += length(value) + length(field[++i]) |
---|
| 3450 | substed = 1 |
---|
| 3451 | } else |
---|
| 3452 | len += 1 + keylen |
---|
| 3453 | } |
---|
| 3454 | if (nfields == 3 && !substed) { |
---|
| 3455 | key = field[2] |
---|
| 3456 | if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) { |
---|
| 3457 | \$ac_cs_awk_read_file |
---|
| 3458 | next |
---|
| 3459 | } |
---|
| 3460 | } |
---|
| 3461 | print line |
---|
| 3462 | } |
---|
| 3463 | \$ac_cs_awk_pipe_fini |
---|
| 3464 | _ACAWK |
---|
| 3465 | _ACEOF |
---|
| 3466 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 3467 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
---|
| 3468 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
---|
| 3469 | else |
---|
| 3470 | cat |
---|
| 3471 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
---|
| 3472 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
---|
| 3473 | _ACEOF |
---|
| 3474 | |
---|
| 3475 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
---|
| 3476 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
---|
| 3477 | # trailing colons and then remove the whole line if VPATH becomes empty |
---|
| 3478 | # (actually we leave an empty line to preserve line numbers). |
---|
| 3479 | if test "x$srcdir" = x.; then |
---|
| 3480 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
---|
| 3481 | h |
---|
| 3482 | s/// |
---|
| 3483 | s/^/:/ |
---|
| 3484 | s/[ ]*$/:/ |
---|
| 3485 | s/:\$(srcdir):/:/g |
---|
| 3486 | s/:\${srcdir}:/:/g |
---|
| 3487 | s/:@srcdir@:/:/g |
---|
| 3488 | s/^:*// |
---|
| 3489 | s/:*$// |
---|
| 3490 | x |
---|
| 3491 | s/\(=[ ]*\).*/\1/ |
---|
| 3492 | G |
---|
| 3493 | s/\n// |
---|
| 3494 | s/^[^=]*=[ ]*$// |
---|
| 3495 | }' |
---|
| 3496 | fi |
---|
| 3497 | |
---|
| 3498 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 3499 | fi # test -n "$CONFIG_FILES" |
---|
| 3500 | |
---|
| 3501 | |
---|
| 3502 | eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" |
---|
| 3503 | shift |
---|
| 3504 | for ac_tag |
---|
| 3505 | do |
---|
| 3506 | case $ac_tag in |
---|
| 3507 | :[FHLC]) ac_mode=$ac_tag; continue;; |
---|
| 3508 | esac |
---|
| 3509 | case $ac_mode$ac_tag in |
---|
| 3510 | :[FHL]*:*);; |
---|
| 3511 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
---|
| 3512 | :[FH]-) ac_tag=-:-;; |
---|
| 3513 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
---|
| 3514 | esac |
---|
| 3515 | ac_save_IFS=$IFS |
---|
| 3516 | IFS=: |
---|
| 3517 | set x $ac_tag |
---|
| 3518 | IFS=$ac_save_IFS |
---|
| 3519 | shift |
---|
| 3520 | ac_file=$1 |
---|
| 3521 | shift |
---|
| 3522 | |
---|
| 3523 | case $ac_mode in |
---|
| 3524 | :L) ac_source=$1;; |
---|
| 3525 | :[FH]) |
---|
| 3526 | ac_file_inputs= |
---|
| 3527 | for ac_f |
---|
| 3528 | do |
---|
| 3529 | case $ac_f in |
---|
| 3530 | -) ac_f="$ac_tmp/stdin";; |
---|
| 3531 | *) # Look for the file first in the build tree, then in the source tree |
---|
| 3532 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
---|
| 3533 | # because $ac_f cannot contain `:'. |
---|
| 3534 | test -f "$ac_f" || |
---|
| 3535 | case $ac_f in |
---|
| 3536 | [\\/$]*) false;; |
---|
| 3537 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
---|
| 3538 | esac || |
---|
| 3539 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
---|
| 3540 | esac |
---|
| 3541 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
---|
| 3542 | as_fn_append ac_file_inputs " '$ac_f'" |
---|
| 3543 | done |
---|
| 3544 | |
---|
| 3545 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
| 3546 | # use $as_me), people would be surprised to read: |
---|
| 3547 | # /* config.h. Generated by config.status. */ |
---|
| 3548 | configure_input='Generated from '` |
---|
| 3549 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
---|
| 3550 | `' by configure.' |
---|
| 3551 | if test x"$ac_file" != x-; then |
---|
| 3552 | configure_input="$ac_file. $configure_input" |
---|
| 3553 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
---|
| 3554 | $as_echo "$as_me: creating $ac_file" >&6;} |
---|
| 3555 | fi |
---|
| 3556 | # Neutralize special characters interpreted by sed in replacement strings. |
---|
| 3557 | case $configure_input in #( |
---|
| 3558 | *\&* | *\|* | *\\* ) |
---|
| 3559 | ac_sed_conf_input=`$as_echo "$configure_input" | |
---|
| 3560 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
---|
| 3561 | *) ac_sed_conf_input=$configure_input;; |
---|
| 3562 | esac |
---|
| 3563 | |
---|
| 3564 | case $ac_tag in |
---|
| 3565 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
---|
| 3566 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
---|
| 3567 | esac |
---|
| 3568 | ;; |
---|
| 3569 | esac |
---|
| 3570 | |
---|
| 3571 | ac_dir=`$as_dirname -- "$ac_file" || |
---|
| 3572 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 3573 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
| 3574 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
| 3575 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 3576 | $as_echo X"$ac_file" | |
---|
| 3577 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 3578 | s//\1/ |
---|
| 3579 | q |
---|
| 3580 | } |
---|
| 3581 | /^X\(\/\/\)[^/].*/{ |
---|
| 3582 | s//\1/ |
---|
| 3583 | q |
---|
| 3584 | } |
---|
| 3585 | /^X\(\/\/\)$/{ |
---|
| 3586 | s//\1/ |
---|
| 3587 | q |
---|
| 3588 | } |
---|
| 3589 | /^X\(\/\).*/{ |
---|
| 3590 | s//\1/ |
---|
| 3591 | q |
---|
| 3592 | } |
---|
| 3593 | s/.*/./; q'` |
---|
| 3594 | as_dir="$ac_dir"; as_fn_mkdir_p |
---|
| 3595 | ac_builddir=. |
---|
| 3596 | |
---|
| 3597 | case "$ac_dir" in |
---|
| 3598 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 3599 | *) |
---|
| 3600 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
---|
| 3601 | # A ".." for each directory in $ac_dir_suffix. |
---|
| 3602 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
---|
| 3603 | case $ac_top_builddir_sub in |
---|
| 3604 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 3605 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
| 3606 | esac ;; |
---|
| 3607 | esac |
---|
| 3608 | ac_abs_top_builddir=$ac_pwd |
---|
| 3609 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
| 3610 | # for backward compatibility: |
---|
| 3611 | ac_top_builddir=$ac_top_build_prefix |
---|
| 3612 | |
---|
| 3613 | case $srcdir in |
---|
| 3614 | .) # We are building in place. |
---|
| 3615 | ac_srcdir=. |
---|
| 3616 | ac_top_srcdir=$ac_top_builddir_sub |
---|
| 3617 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
| 3618 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
| 3619 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
| 3620 | ac_top_srcdir=$srcdir |
---|
| 3621 | ac_abs_top_srcdir=$srcdir ;; |
---|
| 3622 | *) # Relative name. |
---|
| 3623 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
| 3624 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
| 3625 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
| 3626 | esac |
---|
| 3627 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
| 3628 | |
---|
| 3629 | |
---|
| 3630 | case $ac_mode in |
---|
| 3631 | :F) |
---|
| 3632 | # |
---|
| 3633 | # CONFIG_FILE |
---|
| 3634 | # |
---|
| 3635 | |
---|
| 3636 | case $INSTALL in |
---|
| 3637 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
---|
| 3638 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
---|
| 3639 | esac |
---|
| 3640 | _ACEOF |
---|
| 3641 | |
---|
| 3642 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 3643 | # If the template does not know about datarootdir, expand it. |
---|
| 3644 | # FIXME: This hack should be removed a few years after 2.60. |
---|
| 3645 | ac_datarootdir_hack=; ac_datarootdir_seen= |
---|
| 3646 | ac_sed_dataroot=' |
---|
| 3647 | /datarootdir/ { |
---|
| 3648 | p |
---|
| 3649 | q |
---|
| 3650 | } |
---|
| 3651 | /@datadir@/p |
---|
| 3652 | /@docdir@/p |
---|
| 3653 | /@infodir@/p |
---|
| 3654 | /@localedir@/p |
---|
| 3655 | /@mandir@/p' |
---|
| 3656 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
---|
| 3657 | *datarootdir*) ac_datarootdir_seen=yes;; |
---|
| 3658 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
---|
| 3659 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
---|
| 3660 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
---|
| 3661 | _ACEOF |
---|
| 3662 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 3663 | ac_datarootdir_hack=' |
---|
| 3664 | s&@datadir@&$datadir&g |
---|
| 3665 | s&@docdir@&$docdir&g |
---|
| 3666 | s&@infodir@&$infodir&g |
---|
| 3667 | s&@localedir@&$localedir&g |
---|
| 3668 | s&@mandir@&$mandir&g |
---|
| 3669 | s&\\\${datarootdir}&$datarootdir&g' ;; |
---|
| 3670 | esac |
---|
| 3671 | _ACEOF |
---|
| 3672 | |
---|
| 3673 | # Neutralize VPATH when `$srcdir' = `.'. |
---|
| 3674 | # Shell code in configure.ac might set extrasub. |
---|
| 3675 | # FIXME: do we really want to maintain this feature? |
---|
| 3676 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 3677 | ac_sed_extra="$ac_vpsub |
---|
| 3678 | $extrasub |
---|
| 3679 | _ACEOF |
---|
| 3680 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 3681 | :t |
---|
| 3682 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
---|
| 3683 | s|@configure_input@|$ac_sed_conf_input|;t t |
---|
| 3684 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
---|
| 3685 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
---|
| 3686 | s&@srcdir@&$ac_srcdir&;t t |
---|
| 3687 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
---|
| 3688 | s&@top_srcdir@&$ac_top_srcdir&;t t |
---|
| 3689 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
---|
| 3690 | s&@builddir@&$ac_builddir&;t t |
---|
| 3691 | s&@abs_builddir@&$ac_abs_builddir&;t t |
---|
| 3692 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
---|
| 3693 | s&@INSTALL@&$ac_INSTALL&;t t |
---|
| 3694 | $ac_datarootdir_hack |
---|
| 3695 | " |
---|
| 3696 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | |
---|
| 3697 | if $ac_cs_awk_getline; then |
---|
| 3698 | $AWK -f "$ac_tmp/subs.awk" |
---|
| 3699 | else |
---|
| 3700 | $AWK -f "$ac_tmp/subs.awk" | $SHELL |
---|
| 3701 | fi \ |
---|
| 3702 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
| 3703 | |
---|
| 3704 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
---|
| 3705 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
---|
| 3706 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
---|
| 3707 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
---|
| 3708 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
| 3709 | which seems to be undefined. Please make sure it is defined" >&5 |
---|
| 3710 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
| 3711 | which seems to be undefined. Please make sure it is defined" >&2;} |
---|
| 3712 | |
---|
| 3713 | rm -f "$ac_tmp/stdin" |
---|
| 3714 | case $ac_file in |
---|
| 3715 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
---|
| 3716 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
---|
| 3717 | esac \ |
---|
| 3718 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
| 3719 | ;; |
---|
| 3720 | |
---|
| 3721 | |
---|
| 3722 | :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
---|
| 3723 | $as_echo "$as_me: executing $ac_file commands" >&6;} |
---|
| 3724 | ;; |
---|
| 3725 | esac |
---|
| 3726 | |
---|
| 3727 | |
---|
| 3728 | case $ac_file$ac_mode in |
---|
| 3729 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do |
---|
| 3730 | # Strip MF so we end up with the name of the file. |
---|
| 3731 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
---|
| 3732 | # Check whether this is an Automake generated Makefile or not. |
---|
| 3733 | # We used to match only the files named `Makefile.in', but |
---|
| 3734 | # some people rename them; so instead we look at the file content. |
---|
| 3735 | # Grep'ing the first line is not enough: some people post-process |
---|
| 3736 | # each Makefile.in and add a new line on top of each file to say so. |
---|
| 3737 | # So let's grep whole file. |
---|
| 3738 | if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
---|
| 3739 | dirpart=`$as_dirname -- "$mf" || |
---|
| 3740 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 3741 | X"$mf" : 'X\(//\)[^/]' \| \ |
---|
| 3742 | X"$mf" : 'X\(//\)$' \| \ |
---|
| 3743 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 3744 | $as_echo X"$mf" | |
---|
| 3745 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 3746 | s//\1/ |
---|
| 3747 | q |
---|
| 3748 | } |
---|
| 3749 | /^X\(\/\/\)[^/].*/{ |
---|
| 3750 | s//\1/ |
---|
| 3751 | q |
---|
| 3752 | } |
---|
| 3753 | /^X\(\/\/\)$/{ |
---|
| 3754 | s//\1/ |
---|
| 3755 | q |
---|
| 3756 | } |
---|
| 3757 | /^X\(\/\).*/{ |
---|
| 3758 | s//\1/ |
---|
| 3759 | q |
---|
| 3760 | } |
---|
| 3761 | s/.*/./; q'` |
---|
| 3762 | else |
---|
| 3763 | continue |
---|
| 3764 | fi |
---|
| 3765 | # Extract the definition of DEPDIR, am__include, and am__quote |
---|
| 3766 | # from the Makefile without running `make'. |
---|
| 3767 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
---|
| 3768 | test -z "$DEPDIR" && continue |
---|
| 3769 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
---|
| 3770 | test -z "am__include" && continue |
---|
| 3771 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
---|
| 3772 | # When using ansi2knr, U may be empty or an underscore; expand it |
---|
| 3773 | U=`sed -n 's/^U = //p' < "$mf"` |
---|
| 3774 | # Find all dependency output files, they are included files with |
---|
| 3775 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
---|
| 3776 | # simplest approach to changing $(DEPDIR) to its actual value in the |
---|
| 3777 | # expansion. |
---|
| 3778 | for file in `sed -n " |
---|
| 3779 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
---|
| 3780 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
---|
| 3781 | # Make sure the directory exists. |
---|
| 3782 | test -f "$dirpart/$file" && continue |
---|
| 3783 | fdir=`$as_dirname -- "$file" || |
---|
| 3784 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 3785 | X"$file" : 'X\(//\)[^/]' \| \ |
---|
| 3786 | X"$file" : 'X\(//\)$' \| \ |
---|
| 3787 | X"$file" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 3788 | $as_echo X"$file" | |
---|
| 3789 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 3790 | s//\1/ |
---|
| 3791 | q |
---|
| 3792 | } |
---|
| 3793 | /^X\(\/\/\)[^/].*/{ |
---|
| 3794 | s//\1/ |
---|
| 3795 | q |
---|
| 3796 | } |
---|
| 3797 | /^X\(\/\/\)$/{ |
---|
| 3798 | s//\1/ |
---|
| 3799 | q |
---|
| 3800 | } |
---|
| 3801 | /^X\(\/\).*/{ |
---|
| 3802 | s//\1/ |
---|
| 3803 | q |
---|
| 3804 | } |
---|
| 3805 | s/.*/./; q'` |
---|
| 3806 | as_dir=$dirpart/$fdir; as_fn_mkdir_p |
---|
| 3807 | # echo "creating $dirpart/$file" |
---|
| 3808 | echo '# dummy' > "$dirpart/$file" |
---|
| 3809 | done |
---|
| 3810 | done |
---|
| 3811 | ;; |
---|
| 3812 | "Makefile":F) . ${libgloss_topdir}/config-ml.in ;; |
---|
| 3813 | |
---|
| 3814 | esac |
---|
| 3815 | done # for ac_tag |
---|
| 3816 | |
---|
| 3817 | |
---|
| 3818 | as_fn_exit 0 |
---|
| 3819 | _ACEOF |
---|
| 3820 | ac_clean_files=$ac_clean_files_save |
---|
| 3821 | |
---|
| 3822 | test $ac_write_fail = 0 || |
---|
| 3823 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
---|
| 3824 | |
---|
| 3825 | |
---|
| 3826 | # configure is writing to config.log, and then calls config.status. |
---|
| 3827 | # config.status does its own redirection, appending to config.log. |
---|
| 3828 | # Unfortunately, on DOS this fails, as config.log is still kept open |
---|
| 3829 | # by configure, so config.status won't be able to write to it; its |
---|
| 3830 | # output is simply discarded. So we exec the FD to /dev/null, |
---|
| 3831 | # effectively closing config.log, so it can be properly (re)opened and |
---|
| 3832 | # appended to by config.status. When coming back to configure, we |
---|
| 3833 | # need to make the FD available again. |
---|
| 3834 | if test "$no_create" != yes; then |
---|
| 3835 | ac_cs_success=: |
---|
| 3836 | ac_config_status_args= |
---|
| 3837 | test "$silent" = yes && |
---|
| 3838 | ac_config_status_args="$ac_config_status_args --quiet" |
---|
| 3839 | exec 5>/dev/null |
---|
| 3840 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
---|
| 3841 | exec 5>>config.log |
---|
| 3842 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
---|
| 3843 | # would make configure fail if this is the last instruction. |
---|
| 3844 | $ac_cs_success || as_fn_exit 1 |
---|
| 3845 | fi |
---|
| 3846 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
---|
| 3847 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
---|
| 3848 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
---|
| 3849 | fi |
---|
| 3850 | |
---|
| 3851 | |
---|