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