Mercurial > hg > vamp-plugin-sdk
comparison configure @ 252:b03f1aefcd6a
* Add configure script
| author | cannam | 
|---|---|
| date | Wed, 12 Nov 2008 09:30:26 +0000 | 
| parents | |
| children | bdedb6114fc6 | 
   comparison
  equal
  deleted
  inserted
  replaced
| 251:04bf4fd08490 | 252:b03f1aefcd6a | 
|---|---|
| 1 #! /bin/sh | |
| 2 # Guess values for system-dependent variables and create Makefiles. | |
| 3 # Generated by GNU Autoconf 2.61 for vamp-plugin-sdk 2.0. | |
| 4 # | |
| 5 # Report bugs to <cannam@all-day-breakfast.com>. | |
| 6 # | |
| 7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | |
| 8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
| 9 # This configure script is free software; the Free Software Foundation | |
| 10 # gives unlimited permission to copy, distribute and modify it. | |
| 11 ## --------------------- ## | |
| 12 ## M4sh Initialization. ## | |
| 13 ## --------------------- ## | |
| 14 | |
| 15 # Be more Bourne compatible | |
| 16 DUALCASE=1; export DUALCASE # for MKS sh | |
| 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
| 18 emulate sh | |
| 19 NULLCMD=: | |
| 20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
| 21 # is contrary to our usage. Disable this feature. | |
| 22 alias -g '${1+"$@"}'='"$@"' | |
| 23 setopt NO_GLOB_SUBST | |
| 24 else | |
| 25 case `(set -o) 2>/dev/null` in | |
| 26 *posix*) set -o posix ;; | |
| 27 esac | |
| 28 | |
| 29 fi | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 # PATH needs CR | |
| 35 # Avoid depending upon Character Ranges. | |
| 36 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
| 37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
| 38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
| 39 as_cr_digits='0123456789' | |
| 40 as_cr_alnum=$as_cr_Letters$as_cr_digits | |
| 41 | |
| 42 # The user is always right. | |
| 43 if test "${PATH_SEPARATOR+set}" != set; then | |
| 44 echo "#! /bin/sh" >conf$$.sh | |
| 45 echo "exit 0" >>conf$$.sh | |
| 46 chmod +x conf$$.sh | |
| 47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | |
| 48 PATH_SEPARATOR=';' | |
| 49 else | |
| 50 PATH_SEPARATOR=: | |
| 51 fi | |
| 52 rm -f conf$$.sh | |
| 53 fi | |
| 54 | |
| 55 # Support unset when possible. | |
| 56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | |
| 57 as_unset=unset | |
| 58 else | |
| 59 as_unset=false | |
| 60 fi | |
| 61 | |
| 62 | |
| 63 # IFS | |
| 64 # We need space, tab and new line, in precisely that order. Quoting is | |
| 65 # there to prevent editors from complaining about space-tab. | |
| 66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
| 67 # splitting by setting IFS to empty value.) | |
| 68 as_nl=' | |
| 69 ' | |
| 70 IFS=" "" $as_nl" | |
| 71 | |
| 72 # Find who we are. Look in the path if we contain no directory separator. | |
| 73 case $0 in | |
| 74 *[\\/]* ) as_myself=$0 ;; | |
| 75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 76 for as_dir in $PATH | |
| 77 do | |
| 78 IFS=$as_save_IFS | |
| 79 test -z "$as_dir" && as_dir=. | |
| 80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
| 81 done | |
| 82 IFS=$as_save_IFS | |
| 83 | |
| 84 ;; | |
| 85 esac | |
| 86 # We did not find ourselves, most probably we were run as `sh COMMAND' | |
| 87 # in which case we are not to be found in the path. | |
| 88 if test "x$as_myself" = x; then | |
| 89 as_myself=$0 | |
| 90 fi | |
| 91 if test ! -f "$as_myself"; then | |
| 92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
| 93 { (exit 1); exit 1; } | |
| 94 fi | |
| 95 | |
| 96 # Work around bugs in pre-3.0 UWIN ksh. | |
| 97 for as_var in ENV MAIL MAILPATH | |
| 98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
| 99 done | |
| 100 PS1='$ ' | |
| 101 PS2='> ' | |
| 102 PS4='+ ' | |
| 103 | |
| 104 # NLS nuisances. | |
| 105 for as_var in \ | |
| 106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | |
| 107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | |
| 108 LC_TELEPHONE LC_TIME | |
| 109 do | |
| 110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | |
| 111 eval $as_var=C; export $as_var | |
| 112 else | |
| 113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
| 114 fi | |
| 115 done | |
| 116 | |
| 117 # Required to use basename. | |
| 118 if expr a : '\(a\)' >/dev/null 2>&1 && | |
| 119 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
| 120 as_expr=expr | |
| 121 else | |
| 122 as_expr=false | |
| 123 fi | |
| 124 | |
| 125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
| 126 as_basename=basename | |
| 127 else | |
| 128 as_basename=false | |
| 129 fi | |
| 130 | |
| 131 | |
| 132 # Name of the executable. | |
| 133 as_me=`$as_basename -- "$0" || | |
| 134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
| 135 X"$0" : 'X\(//\)$' \| \ | |
| 136 X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
| 137 echo X/"$0" | | |
| 138 sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
| 139 s//\1/ | |
| 140 q | |
| 141 } | |
| 142 /^X\/\(\/\/\)$/{ | |
| 143 s//\1/ | |
| 144 q | |
| 145 } | |
| 146 /^X\/\(\/\).*/{ | |
| 147 s//\1/ | |
| 148 q | |
| 149 } | |
| 150 s/.*/./; q'` | |
| 151 | |
| 152 # CDPATH. | |
| 153 $as_unset CDPATH | |
| 154 | |
| 155 | |
| 156 if test "x$CONFIG_SHELL" = x; then | |
| 157 if (eval ":") 2>/dev/null; then | |
| 158 as_have_required=yes | |
| 159 else | |
| 160 as_have_required=no | |
| 161 fi | |
| 162 | |
| 163 if test $as_have_required = yes && (eval ": | |
| 164 (as_func_return () { | |
| 165 (exit \$1) | |
| 166 } | |
| 167 as_func_success () { | |
| 168 as_func_return 0 | |
| 169 } | |
| 170 as_func_failure () { | |
| 171 as_func_return 1 | |
| 172 } | |
| 173 as_func_ret_success () { | |
| 174 return 0 | |
| 175 } | |
| 176 as_func_ret_failure () { | |
| 177 return 1 | |
| 178 } | |
| 179 | |
| 180 exitcode=0 | |
| 181 if as_func_success; then | |
| 182 : | |
| 183 else | |
| 184 exitcode=1 | |
| 185 echo as_func_success failed. | |
| 186 fi | |
| 187 | |
| 188 if as_func_failure; then | |
| 189 exitcode=1 | |
| 190 echo as_func_failure succeeded. | |
| 191 fi | |
| 192 | |
| 193 if as_func_ret_success; then | |
| 194 : | |
| 195 else | |
| 196 exitcode=1 | |
| 197 echo as_func_ret_success failed. | |
| 198 fi | |
| 199 | |
| 200 if as_func_ret_failure; then | |
| 201 exitcode=1 | |
| 202 echo as_func_ret_failure succeeded. | |
| 203 fi | |
| 204 | |
| 205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | |
| 206 : | |
| 207 else | |
| 208 exitcode=1 | |
| 209 echo positional parameters were not saved. | |
| 210 fi | |
| 211 | |
| 212 test \$exitcode = 0) || { (exit 1); exit 1; } | |
| 213 | |
| 214 ( | |
| 215 as_lineno_1=\$LINENO | |
| 216 as_lineno_2=\$LINENO | |
| 217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && | |
| 218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } | |
| 219 ") 2> /dev/null; then | |
| 220 : | |
| 221 else | |
| 222 as_candidate_shells= | |
| 223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
| 225 do | |
| 226 IFS=$as_save_IFS | |
| 227 test -z "$as_dir" && as_dir=. | |
| 228 case $as_dir in | |
| 229 /*) | |
| 230 for as_base in sh bash ksh sh5; do | |
| 231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" | |
| 232 done;; | |
| 233 esac | |
| 234 done | |
| 235 IFS=$as_save_IFS | |
| 236 | |
| 237 | |
| 238 for as_shell in $as_candidate_shells $SHELL; do | |
| 239 # Try only shells that exist, to save several forks. | |
| 240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
| 241 { ("$as_shell") 2> /dev/null <<\_ASEOF | |
| 242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
| 243 emulate sh | |
| 244 NULLCMD=: | |
| 245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
| 246 # is contrary to our usage. Disable this feature. | |
| 247 alias -g '${1+"$@"}'='"$@"' | |
| 248 setopt NO_GLOB_SUBST | |
| 249 else | |
| 250 case `(set -o) 2>/dev/null` in | |
| 251 *posix*) set -o posix ;; | |
| 252 esac | |
| 253 | |
| 254 fi | |
| 255 | |
| 256 | |
| 257 : | |
| 258 _ASEOF | |
| 259 }; then | |
| 260 CONFIG_SHELL=$as_shell | |
| 261 as_have_required=yes | |
| 262 if { "$as_shell" 2> /dev/null <<\_ASEOF | |
| 263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
| 264 emulate sh | |
| 265 NULLCMD=: | |
| 266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
| 267 # is contrary to our usage. Disable this feature. | |
| 268 alias -g '${1+"$@"}'='"$@"' | |
| 269 setopt NO_GLOB_SUBST | |
| 270 else | |
| 271 case `(set -o) 2>/dev/null` in | |
| 272 *posix*) set -o posix ;; | |
| 273 esac | |
| 274 | |
| 275 fi | |
| 276 | |
| 277 | |
| 278 : | |
| 279 (as_func_return () { | |
| 280 (exit $1) | |
| 281 } | |
| 282 as_func_success () { | |
| 283 as_func_return 0 | |
| 284 } | |
| 285 as_func_failure () { | |
| 286 as_func_return 1 | |
| 287 } | |
| 288 as_func_ret_success () { | |
| 289 return 0 | |
| 290 } | |
| 291 as_func_ret_failure () { | |
| 292 return 1 | |
| 293 } | |
| 294 | |
| 295 exitcode=0 | |
| 296 if as_func_success; then | |
| 297 : | |
| 298 else | |
| 299 exitcode=1 | |
| 300 echo as_func_success failed. | |
| 301 fi | |
| 302 | |
| 303 if as_func_failure; then | |
| 304 exitcode=1 | |
| 305 echo as_func_failure succeeded. | |
| 306 fi | |
| 307 | |
| 308 if as_func_ret_success; then | |
| 309 : | |
| 310 else | |
| 311 exitcode=1 | |
| 312 echo as_func_ret_success failed. | |
| 313 fi | |
| 314 | |
| 315 if as_func_ret_failure; then | |
| 316 exitcode=1 | |
| 317 echo as_func_ret_failure succeeded. | |
| 318 fi | |
| 319 | |
| 320 if ( set x; as_func_ret_success y && test x = "$1" ); then | |
| 321 : | |
| 322 else | |
| 323 exitcode=1 | |
| 324 echo positional parameters were not saved. | |
| 325 fi | |
| 326 | |
| 327 test $exitcode = 0) || { (exit 1); exit 1; } | |
| 328 | |
| 329 ( | |
| 330 as_lineno_1=$LINENO | |
| 331 as_lineno_2=$LINENO | |
| 332 test "x$as_lineno_1" != "x$as_lineno_2" && | |
| 333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } | |
| 334 | |
| 335 _ASEOF | |
| 336 }; then | |
| 337 break | |
| 338 fi | |
| 339 | |
| 340 fi | |
| 341 | |
| 342 done | |
| 343 | |
| 344 if test "x$CONFIG_SHELL" != x; then | |
| 345 for as_var in BASH_ENV ENV | |
| 346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
| 347 done | |
| 348 export CONFIG_SHELL | |
| 349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | |
| 350 fi | |
| 351 | |
| 352 | |
| 353 if test $as_have_required = no; then | |
| 354 echo This script requires a shell more modern than all the | |
| 355 echo shells that I found on your system. Please install a | |
| 356 echo modern shell, or manually run the script under such a | |
| 357 echo shell if you do have one. | |
| 358 { (exit 1); exit 1; } | |
| 359 fi | |
| 360 | |
| 361 | |
| 362 fi | |
| 363 | |
| 364 fi | |
| 365 | |
| 366 | |
| 367 | |
| 368 (eval "as_func_return () { | |
| 369 (exit \$1) | |
| 370 } | |
| 371 as_func_success () { | |
| 372 as_func_return 0 | |
| 373 } | |
| 374 as_func_failure () { | |
| 375 as_func_return 1 | |
| 376 } | |
| 377 as_func_ret_success () { | |
| 378 return 0 | |
| 379 } | |
| 380 as_func_ret_failure () { | |
| 381 return 1 | |
| 382 } | |
| 383 | |
| 384 exitcode=0 | |
| 385 if as_func_success; then | |
| 386 : | |
| 387 else | |
| 388 exitcode=1 | |
| 389 echo as_func_success failed. | |
| 390 fi | |
| 391 | |
| 392 if as_func_failure; then | |
| 393 exitcode=1 | |
| 394 echo as_func_failure succeeded. | |
| 395 fi | |
| 396 | |
| 397 if as_func_ret_success; then | |
| 398 : | |
| 399 else | |
| 400 exitcode=1 | |
| 401 echo as_func_ret_success failed. | |
| 402 fi | |
| 403 | |
| 404 if as_func_ret_failure; then | |
| 405 exitcode=1 | |
| 406 echo as_func_ret_failure succeeded. | |
| 407 fi | |
| 408 | |
| 409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | |
| 410 : | |
| 411 else | |
| 412 exitcode=1 | |
| 413 echo positional parameters were not saved. | |
| 414 fi | |
| 415 | |
| 416 test \$exitcode = 0") || { | |
| 417 echo No shell found that supports shell functions. | |
| 418 echo Please tell autoconf@gnu.org about your system, | |
| 419 echo including any error possibly output before this | |
| 420 echo message | |
| 421 } | |
| 422 | |
| 423 | |
| 424 | |
| 425 as_lineno_1=$LINENO | |
| 426 as_lineno_2=$LINENO | |
| 427 test "x$as_lineno_1" != "x$as_lineno_2" && | |
| 428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | |
| 429 | |
| 430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
| 431 # uniformly replaced by the line number. The first 'sed' inserts a | |
| 432 # line-number line after each line using $LINENO; the second 'sed' | |
| 433 # does the real work. The second script uses 'N' to pair each | |
| 434 # line-number line with the line containing $LINENO, and appends | |
| 435 # trailing '-' during substitution so that $LINENO is not a special | |
| 436 # case at line end. | |
| 437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
| 438 # scripts with optimization help from Paolo Bonzini. Blame Lee | |
| 439 # E. McMahon (1931-1989) for sed's syntax. :-) | |
| 440 sed -n ' | |
| 441 p | |
| 442 /[$]LINENO/= | |
| 443 ' <$as_myself | | |
| 444 sed ' | |
| 445 s/[$]LINENO.*/&-/ | |
| 446 t lineno | |
| 447 b | |
| 448 :lineno | |
| 449 N | |
| 450 :loop | |
| 451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
| 452 t loop | |
| 453 s/-\n.*// | |
| 454 ' >$as_me.lineno && | |
| 455 chmod +x "$as_me.lineno" || | |
| 456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | |
| 457 { (exit 1); exit 1; }; } | |
| 458 | |
| 459 # Don't try to exec as it changes $[0], causing all sort of problems | |
| 460 # (the dirname of $[0] is not the place where we might find the | |
| 461 # original and so on. Autoconf is especially sensitive to this). | |
| 462 . "./$as_me.lineno" | |
| 463 # Exit status is that of the last command. | |
| 464 exit | |
| 465 } | |
| 466 | |
| 467 | |
| 468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
| 469 as_dirname=dirname | |
| 470 else | |
| 471 as_dirname=false | |
| 472 fi | |
| 473 | |
| 474 ECHO_C= ECHO_N= ECHO_T= | |
| 475 case `echo -n x` in | |
| 476 -n*) | |
| 477 case `echo 'x\c'` in | |
| 478 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
| 479 *) ECHO_C='\c';; | |
| 480 esac;; | |
| 481 *) | |
| 482 ECHO_N='-n';; | |
| 483 esac | |
| 484 | |
| 485 if expr a : '\(a\)' >/dev/null 2>&1 && | |
| 486 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
| 487 as_expr=expr | |
| 488 else | |
| 489 as_expr=false | |
| 490 fi | |
| 491 | |
| 492 rm -f conf$$ conf$$.exe conf$$.file | |
| 493 if test -d conf$$.dir; then | |
| 494 rm -f conf$$.dir/conf$$.file | |
| 495 else | |
| 496 rm -f conf$$.dir | |
| 497 mkdir conf$$.dir | |
| 498 fi | |
| 499 echo >conf$$.file | |
| 500 if ln -s conf$$.file conf$$ 2>/dev/null; then | |
| 501 as_ln_s='ln -s' | |
| 502 # ... but there are two gotchas: | |
| 503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
| 504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
| 505 # In both cases, we have to default to `cp -p'. | |
| 506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
| 507 as_ln_s='cp -p' | |
| 508 elif ln conf$$.file conf$$ 2>/dev/null; then | |
| 509 as_ln_s=ln | |
| 510 else | |
| 511 as_ln_s='cp -p' | |
| 512 fi | |
| 513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |
| 514 rmdir conf$$.dir 2>/dev/null | |
| 515 | |
| 516 if mkdir -p . 2>/dev/null; then | |
| 517 as_mkdir_p=: | |
| 518 else | |
| 519 test -d ./-p && rmdir ./-p | |
| 520 as_mkdir_p=false | |
| 521 fi | |
| 522 | |
| 523 if test -x / >/dev/null 2>&1; then | |
| 524 as_test_x='test -x' | |
| 525 else | |
| 526 if ls -dL / >/dev/null 2>&1; then | |
| 527 as_ls_L_option=L | |
| 528 else | |
| 529 as_ls_L_option= | |
| 530 fi | |
| 531 as_test_x=' | |
| 532 eval sh -c '\'' | |
| 533 if test -d "$1"; then | |
| 534 test -d "$1/."; | |
| 535 else | |
| 536 case $1 in | |
| 537 -*)set "./$1";; | |
| 538 esac; | |
| 539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | |
| 540 ???[sx]*):;;*)false;;esac;fi | |
| 541 '\'' sh | |
| 542 ' | |
| 543 fi | |
| 544 as_executable_p=$as_test_x | |
| 545 | |
| 546 # Sed expression to map a string onto a valid CPP name. | |
| 547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
| 548 | |
| 549 # Sed expression to map a string onto a valid variable name. | |
| 550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
| 551 | |
| 552 | |
| 553 | |
| 554 exec 7<&0 </dev/null 6>&1 | |
| 555 | |
| 556 # Name of the host. | |
| 557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | |
| 558 # so uname gets run too. | |
| 559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | |
| 560 | |
| 561 # | |
| 562 # Initializations. | |
| 563 # | |
| 564 ac_default_prefix=/usr/local | |
| 565 ac_clean_files= | |
| 566 ac_config_libobj_dir=. | |
| 567 LIBOBJS= | |
| 568 cross_compiling=no | |
| 569 subdirs= | |
| 570 MFLAGS= | |
| 571 MAKEFLAGS= | |
| 572 SHELL=${CONFIG_SHELL-/bin/sh} | |
| 573 | |
| 574 # Identity of this package. | |
| 575 PACKAGE_NAME='vamp-plugin-sdk' | |
| 576 PACKAGE_TARNAME='vamp-plugin-sdk' | |
| 577 PACKAGE_VERSION='2.0' | |
| 578 PACKAGE_STRING='vamp-plugin-sdk 2.0' | |
| 579 PACKAGE_BUGREPORT='cannam@all-day-breakfast.com' | |
| 580 | |
| 581 ac_unique_file="vamp/vamp.h" | |
| 582 # Factoring default headers for most tests. | |
| 583 ac_includes_default="\ | |
| 584 #include <stdio.h> | |
| 585 #ifdef HAVE_SYS_TYPES_H | |
| 586 # include <sys/types.h> | |
| 587 #endif | |
| 588 #ifdef HAVE_SYS_STAT_H | |
| 589 # include <sys/stat.h> | |
| 590 #endif | |
| 591 #ifdef STDC_HEADERS | |
| 592 # include <stdlib.h> | |
| 593 # include <stddef.h> | |
| 594 #else | |
| 595 # ifdef HAVE_STDLIB_H | |
| 596 # include <stdlib.h> | |
| 597 # endif | |
| 598 #endif | |
| 599 #ifdef HAVE_STRING_H | |
| 600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | |
| 601 # include <memory.h> | |
| 602 # endif | |
| 603 # include <string.h> | |
| 604 #endif | |
| 605 #ifdef HAVE_STRINGS_H | |
| 606 # include <strings.h> | |
| 607 #endif | |
| 608 #ifdef HAVE_INTTYPES_H | |
| 609 # include <inttypes.h> | |
| 610 #endif | |
| 611 #ifdef HAVE_STDINT_H | |
| 612 # include <stdint.h> | |
| 613 #endif | |
| 614 #ifdef HAVE_UNISTD_H | |
| 615 # include <unistd.h> | |
| 616 #endif" | |
| 617 | |
| 618 ac_subst_vars='SHELL | |
| 619 PATH_SEPARATOR | |
| 620 PACKAGE_NAME | |
| 621 PACKAGE_TARNAME | |
| 622 PACKAGE_VERSION | |
| 623 PACKAGE_STRING | |
| 624 PACKAGE_BUGREPORT | |
| 625 exec_prefix | |
| 626 prefix | |
| 627 program_transform_name | |
| 628 bindir | |
| 629 sbindir | |
| 630 libexecdir | |
| 631 datarootdir | |
| 632 datadir | |
| 633 sysconfdir | |
| 634 sharedstatedir | |
| 635 localstatedir | |
| 636 includedir | |
| 637 oldincludedir | |
| 638 docdir | |
| 639 infodir | |
| 640 htmldir | |
| 641 dvidir | |
| 642 pdfdir | |
| 643 psdir | |
| 644 libdir | |
| 645 localedir | |
| 646 mandir | |
| 647 DEFS | |
| 648 ECHO_C | |
| 649 ECHO_N | |
| 650 ECHO_T | |
| 651 LIBS | |
| 652 build_alias | |
| 653 host_alias | |
| 654 target_alias | |
| 655 CXX | |
| 656 CXXFLAGS | |
| 657 LDFLAGS | |
| 658 CPPFLAGS | |
| 659 ac_ct_CXX | |
| 660 EXEEXT | |
| 661 OBJEXT | |
| 662 CC | |
| 663 CFLAGS | |
| 664 ac_ct_CC | |
| 665 CPP | |
| 666 GREP | |
| 667 EGREP | |
| 668 PKG_CONFIG | |
| 669 SNDFILE_CFLAGS | |
| 670 SNDFILE_LIBS | |
| 671 LIBOBJS | |
| 672 LTLIBOBJS' | |
| 673 ac_subst_files='' | |
| 674 ac_precious_vars='build_alias | |
| 675 host_alias | |
| 676 target_alias | |
| 677 CXX | |
| 678 CXXFLAGS | |
| 679 LDFLAGS | |
| 680 LIBS | |
| 681 CPPFLAGS | |
| 682 CCC | |
| 683 CC | |
| 684 CFLAGS | |
| 685 CPP | |
| 686 PKG_CONFIG | |
| 687 SNDFILE_CFLAGS | |
| 688 SNDFILE_LIBS' | |
| 689 | |
| 690 | |
| 691 # Initialize some variables set by options. | |
| 692 ac_init_help= | |
| 693 ac_init_version=false | |
| 694 # The variables have the same names as the options, with | |
| 695 # dashes changed to underlines. | |
| 696 cache_file=/dev/null | |
| 697 exec_prefix=NONE | |
| 698 no_create= | |
| 699 no_recursion= | |
| 700 prefix=NONE | |
| 701 program_prefix=NONE | |
| 702 program_suffix=NONE | |
| 703 program_transform_name=s,x,x, | |
| 704 silent= | |
| 705 site= | |
| 706 srcdir= | |
| 707 verbose= | |
| 708 x_includes=NONE | |
| 709 x_libraries=NONE | |
| 710 | |
| 711 # Installation directory options. | |
| 712 # These are left unexpanded so users can "make install exec_prefix=/foo" | |
| 713 # and all the variables that are supposed to be based on exec_prefix | |
| 714 # by default will actually change. | |
| 715 # Use braces instead of parens because sh, perl, etc. also accept them. | |
| 716 # (The list follows the same order as the GNU Coding Standards.) | |
| 717 bindir='${exec_prefix}/bin' | |
| 718 sbindir='${exec_prefix}/sbin' | |
| 719 libexecdir='${exec_prefix}/libexec' | |
| 720 datarootdir='${prefix}/share' | |
| 721 datadir='${datarootdir}' | |
| 722 sysconfdir='${prefix}/etc' | |
| 723 sharedstatedir='${prefix}/com' | |
| 724 localstatedir='${prefix}/var' | |
| 725 includedir='${prefix}/include' | |
| 726 oldincludedir='/usr/include' | |
| 727 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' | |
| 728 infodir='${datarootdir}/info' | |
| 729 htmldir='${docdir}' | |
| 730 dvidir='${docdir}' | |
| 731 pdfdir='${docdir}' | |
| 732 psdir='${docdir}' | |
| 733 libdir='${exec_prefix}/lib' | |
| 734 localedir='${datarootdir}/locale' | |
| 735 mandir='${datarootdir}/man' | |
| 736 | |
| 737 ac_prev= | |
| 738 ac_dashdash= | |
| 739 for ac_option | |
| 740 do | |
| 741 # If the previous option needs an argument, assign it. | |
| 742 if test -n "$ac_prev"; then | |
| 743 eval $ac_prev=\$ac_option | |
| 744 ac_prev= | |
| 745 continue | |
| 746 fi | |
| 747 | |
| 748 case $ac_option in | |
| 749 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | |
| 750 *) ac_optarg=yes ;; | |
| 751 esac | |
| 752 | |
| 753 # Accept the important Cygnus configure options, so we can diagnose typos. | |
| 754 | |
| 755 case $ac_dashdash$ac_option in | |
| 756 --) | |
| 757 ac_dashdash=yes ;; | |
| 758 | |
| 759 -bindir | --bindir | --bindi | --bind | --bin | --bi) | |
| 760 ac_prev=bindir ;; | |
| 761 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | |
| 762 bindir=$ac_optarg ;; | |
| 763 | |
| 764 -build | --build | --buil | --bui | --bu) | |
| 765 ac_prev=build_alias ;; | |
| 766 -build=* | --build=* | --buil=* | --bui=* | --bu=*) | |
| 767 build_alias=$ac_optarg ;; | |
| 768 | |
| 769 -cache-file | --cache-file | --cache-fil | --cache-fi \ | |
| 770 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | |
| 771 ac_prev=cache_file ;; | |
| 772 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | |
| 773 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | |
| 774 cache_file=$ac_optarg ;; | |
| 775 | |
| 776 --config-cache | -C) | |
| 777 cache_file=config.cache ;; | |
| 778 | |
| 779 -datadir | --datadir | --datadi | --datad) | |
| 780 ac_prev=datadir ;; | |
| 781 -datadir=* | --datadir=* | --datadi=* | --datad=*) | |
| 782 datadir=$ac_optarg ;; | |
| 783 | |
| 784 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | |
| 785 | --dataroo | --dataro | --datar) | |
| 786 ac_prev=datarootdir ;; | |
| 787 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | |
| 788 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | |
| 789 datarootdir=$ac_optarg ;; | |
| 790 | |
| 791 -disable-* | --disable-*) | |
| 792 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | |
| 793 # Reject names that are not valid shell variable names. | |
| 794 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && | |
| 795 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | |
| 796 { (exit 1); exit 1; }; } | |
| 797 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` | |
| 798 eval enable_$ac_feature=no ;; | |
| 799 | |
| 800 -docdir | --docdir | --docdi | --doc | --do) | |
| 801 ac_prev=docdir ;; | |
| 802 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | |
| 803 docdir=$ac_optarg ;; | |
| 804 | |
| 805 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | |
| 806 ac_prev=dvidir ;; | |
| 807 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | |
| 808 dvidir=$ac_optarg ;; | |
| 809 | |
| 810 -enable-* | --enable-*) | |
| 811 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | |
| 812 # Reject names that are not valid shell variable names. | |
| 813 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && | |
| 814 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | |
| 815 { (exit 1); exit 1; }; } | |
| 816 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` | |
| 817 eval enable_$ac_feature=\$ac_optarg ;; | |
| 818 | |
| 819 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | |
| 820 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | |
| 821 | --exec | --exe | --ex) | |
| 822 ac_prev=exec_prefix ;; | |
| 823 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | |
| 824 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | |
| 825 | --exec=* | --exe=* | --ex=*) | |
| 826 exec_prefix=$ac_optarg ;; | |
| 827 | |
| 828 -gas | --gas | --ga | --g) | |
| 829 # Obsolete; use --with-gas. | |
| 830 with_gas=yes ;; | |
| 831 | |
| 832 -help | --help | --hel | --he | -h) | |
| 833 ac_init_help=long ;; | |
| 834 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | |
| 835 ac_init_help=recursive ;; | |
| 836 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | |
| 837 ac_init_help=short ;; | |
| 838 | |
| 839 -host | --host | --hos | --ho) | |
| 840 ac_prev=host_alias ;; | |
| 841 -host=* | --host=* | --hos=* | --ho=*) | |
| 842 host_alias=$ac_optarg ;; | |
| 843 | |
| 844 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | |
| 845 ac_prev=htmldir ;; | |
| 846 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | |
| 847 | --ht=*) | |
| 848 htmldir=$ac_optarg ;; | |
| 849 | |
| 850 -includedir | --includedir | --includedi | --included | --include \ | |
| 851 | --includ | --inclu | --incl | --inc) | |
| 852 ac_prev=includedir ;; | |
| 853 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | |
| 854 | --includ=* | --inclu=* | --incl=* | --inc=*) | |
| 855 includedir=$ac_optarg ;; | |
| 856 | |
| 857 -infodir | --infodir | --infodi | --infod | --info | --inf) | |
| 858 ac_prev=infodir ;; | |
| 859 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | |
| 860 infodir=$ac_optarg ;; | |
| 861 | |
| 862 -libdir | --libdir | --libdi | --libd) | |
| 863 ac_prev=libdir ;; | |
| 864 -libdir=* | --libdir=* | --libdi=* | --libd=*) | |
| 865 libdir=$ac_optarg ;; | |
| 866 | |
| 867 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | |
| 868 | --libexe | --libex | --libe) | |
| 869 ac_prev=libexecdir ;; | |
| 870 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | |
| 871 | --libexe=* | --libex=* | --libe=*) | |
| 872 libexecdir=$ac_optarg ;; | |
| 873 | |
| 874 -localedir | --localedir | --localedi | --localed | --locale) | |
| 875 ac_prev=localedir ;; | |
| 876 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | |
| 877 localedir=$ac_optarg ;; | |
| 878 | |
| 879 -localstatedir | --localstatedir | --localstatedi | --localstated \ | |
| 880 | --localstate | --localstat | --localsta | --localst | --locals) | |
| 881 ac_prev=localstatedir ;; | |
| 882 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | |
| 883 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) | |
| 884 localstatedir=$ac_optarg ;; | |
| 885 | |
| 886 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | |
| 887 ac_prev=mandir ;; | |
| 888 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | |
| 889 mandir=$ac_optarg ;; | |
| 890 | |
| 891 -nfp | --nfp | --nf) | |
| 892 # Obsolete; use --without-fp. | |
| 893 with_fp=no ;; | |
| 894 | |
| 895 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | |
| 896 | --no-cr | --no-c | -n) | |
| 897 no_create=yes ;; | |
| 898 | |
| 899 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | |
| 900 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | |
| 901 no_recursion=yes ;; | |
| 902 | |
| 903 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | |
| 904 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | |
| 905 | --oldin | --oldi | --old | --ol | --o) | |
| 906 ac_prev=oldincludedir ;; | |
| 907 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | |
| 908 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | |
| 909 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | |
| 910 oldincludedir=$ac_optarg ;; | |
| 911 | |
| 912 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | |
| 913 ac_prev=prefix ;; | |
| 914 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | |
| 915 prefix=$ac_optarg ;; | |
| 916 | |
| 917 -program-prefix | --program-prefix | --program-prefi | --program-pref \ | |
| 918 | --program-pre | --program-pr | --program-p) | |
| 919 ac_prev=program_prefix ;; | |
| 920 -program-prefix=* | --program-prefix=* | --program-prefi=* \ | |
| 921 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | |
| 922 program_prefix=$ac_optarg ;; | |
| 923 | |
| 924 -program-suffix | --program-suffix | --program-suffi | --program-suff \ | |
| 925 | --program-suf | --program-su | --program-s) | |
| 926 ac_prev=program_suffix ;; | |
| 927 -program-suffix=* | --program-suffix=* | --program-suffi=* \ | |
| 928 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | |
| 929 program_suffix=$ac_optarg ;; | |
| 930 | |
| 931 -program-transform-name | --program-transform-name \ | |
| 932 | --program-transform-nam | --program-transform-na \ | |
| 933 | --program-transform-n | --program-transform- \ | |
| 934 | --program-transform | --program-transfor \ | |
| 935 | --program-transfo | --program-transf \ | |
| 936 | --program-trans | --program-tran \ | |
| 937 | --progr-tra | --program-tr | --program-t) | |
| 938 ac_prev=program_transform_name ;; | |
| 939 -program-transform-name=* | --program-transform-name=* \ | |
| 940 | --program-transform-nam=* | --program-transform-na=* \ | |
| 941 | --program-transform-n=* | --program-transform-=* \ | |
| 942 | --program-transform=* | --program-transfor=* \ | |
| 943 | --program-transfo=* | --program-transf=* \ | |
| 944 | --program-trans=* | --program-tran=* \ | |
| 945 | --progr-tra=* | --program-tr=* | --program-t=*) | |
| 946 program_transform_name=$ac_optarg ;; | |
| 947 | |
| 948 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | |
| 949 ac_prev=pdfdir ;; | |
| 950 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | |
| 951 pdfdir=$ac_optarg ;; | |
| 952 | |
| 953 -psdir | --psdir | --psdi | --psd | --ps) | |
| 954 ac_prev=psdir ;; | |
| 955 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | |
| 956 psdir=$ac_optarg ;; | |
| 957 | |
| 958 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
| 959 | -silent | --silent | --silen | --sile | --sil) | |
| 960 silent=yes ;; | |
| 961 | |
| 962 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | |
| 963 ac_prev=sbindir ;; | |
| 964 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | |
| 965 | --sbi=* | --sb=*) | |
| 966 sbindir=$ac_optarg ;; | |
| 967 | |
| 968 -sharedstatedir | --sharedstatedir | --sharedstatedi \ | |
| 969 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | |
| 970 | --sharedst | --shareds | --shared | --share | --shar \ | |
| 971 | --sha | --sh) | |
| 972 ac_prev=sharedstatedir ;; | |
| 973 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | |
| 974 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | |
| 975 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | |
| 976 | --sha=* | --sh=*) | |
| 977 sharedstatedir=$ac_optarg ;; | |
| 978 | |
| 979 -site | --site | --sit) | |
| 980 ac_prev=site ;; | |
| 981 -site=* | --site=* | --sit=*) | |
| 982 site=$ac_optarg ;; | |
| 983 | |
| 984 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | |
| 985 ac_prev=srcdir ;; | |
| 986 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | |
| 987 srcdir=$ac_optarg ;; | |
| 988 | |
| 989 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | |
| 990 | --syscon | --sysco | --sysc | --sys | --sy) | |
| 991 ac_prev=sysconfdir ;; | |
| 992 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | |
| 993 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | |
| 994 sysconfdir=$ac_optarg ;; | |
| 995 | |
| 996 -target | --target | --targe | --targ | --tar | --ta | --t) | |
| 997 ac_prev=target_alias ;; | |
| 998 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | |
| 999 target_alias=$ac_optarg ;; | |
| 1000 | |
| 1001 -v | -verbose | --verbose | --verbos | --verbo | --verb) | |
| 1002 verbose=yes ;; | |
| 1003 | |
| 1004 -version | --version | --versio | --versi | --vers | -V) | |
| 1005 ac_init_version=: ;; | |
| 1006 | |
| 1007 -with-* | --with-*) | |
| 1008 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | |
| 1009 # Reject names that are not valid shell variable names. | |
| 1010 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && | |
| 1011 { echo "$as_me: error: invalid package name: $ac_package" >&2 | |
| 1012 { (exit 1); exit 1; }; } | |
| 1013 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` | |
| 1014 eval with_$ac_package=\$ac_optarg ;; | |
| 1015 | |
| 1016 -without-* | --without-*) | |
| 1017 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | |
| 1018 # Reject names that are not valid shell variable names. | |
| 1019 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && | |
| 1020 { echo "$as_me: error: invalid package name: $ac_package" >&2 | |
| 1021 { (exit 1); exit 1; }; } | |
| 1022 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` | |
| 1023 eval with_$ac_package=no ;; | |
| 1024 | |
| 1025 --x) | |
| 1026 # Obsolete; use --with-x. | |
| 1027 with_x=yes ;; | |
| 1028 | |
| 1029 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | |
| 1030 | --x-incl | --x-inc | --x-in | --x-i) | |
| 1031 ac_prev=x_includes ;; | |
| 1032 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | |
| 1033 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | |
| 1034 x_includes=$ac_optarg ;; | |
| 1035 | |
| 1036 -x-libraries | --x-libraries | --x-librarie | --x-librari \ | |
| 1037 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | |
| 1038 ac_prev=x_libraries ;; | |
| 1039 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | |
| 1040 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | |
| 1041 x_libraries=$ac_optarg ;; | |
| 1042 | |
| 1043 -*) { echo "$as_me: error: unrecognized option: $ac_option | |
| 1044 Try \`$0 --help' for more information." >&2 | |
| 1045 { (exit 1); exit 1; }; } | |
| 1046 ;; | |
| 1047 | |
| 1048 *=*) | |
| 1049 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | |
| 1050 # Reject names that are not valid shell variable names. | |
| 1051 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | |
| 1052 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | |
| 1053 { (exit 1); exit 1; }; } | |
| 1054 eval $ac_envvar=\$ac_optarg | |
| 1055 export $ac_envvar ;; | |
| 1056 | |
| 1057 *) | |
| 1058 # FIXME: should be removed in autoconf 3.0. | |
| 1059 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | |
| 1060 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | |
| 1061 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | |
| 1062 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | |
| 1063 ;; | |
| 1064 | |
| 1065 esac | |
| 1066 done | |
| 1067 | |
| 1068 if test -n "$ac_prev"; then | |
| 1069 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | |
| 1070 { echo "$as_me: error: missing argument to $ac_option" >&2 | |
| 1071 { (exit 1); exit 1; }; } | |
| 1072 fi | |
| 1073 | |
| 1074 # Be sure to have absolute directory names. | |
| 1075 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | |
| 1076 datadir sysconfdir sharedstatedir localstatedir includedir \ | |
| 1077 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | |
| 1078 libdir localedir mandir | |
| 1079 do | |
| 1080 eval ac_val=\$$ac_var | |
| 1081 case $ac_val in | |
| 1082 [\\/$]* | ?:[\\/]* ) continue;; | |
| 1083 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | |
| 1084 esac | |
| 1085 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | |
| 1086 { (exit 1); exit 1; }; } | |
| 1087 done | |
| 1088 | |
| 1089 # There might be people who depend on the old broken behavior: `$host' | |
| 1090 # used to hold the argument of --host etc. | |
| 1091 # FIXME: To remove some day. | |
| 1092 build=$build_alias | |
| 1093 host=$host_alias | |
| 1094 target=$target_alias | |
| 1095 | |
| 1096 # FIXME: To remove some day. | |
| 1097 if test "x$host_alias" != x; then | |
| 1098 if test "x$build_alias" = x; then | |
| 1099 cross_compiling=maybe | |
| 1100 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | |
| 1101 If a cross compiler is detected then cross compile mode will be used." >&2 | |
| 1102 elif test "x$build_alias" != "x$host_alias"; then | |
| 1103 cross_compiling=yes | |
| 1104 fi | |
| 1105 fi | |
| 1106 | |
| 1107 ac_tool_prefix= | |
| 1108 test -n "$host_alias" && ac_tool_prefix=$host_alias- | |
| 1109 | |
| 1110 test "$silent" = yes && exec 6>/dev/null | |
| 1111 | |
| 1112 | |
| 1113 ac_pwd=`pwd` && test -n "$ac_pwd" && | |
| 1114 ac_ls_di=`ls -di .` && | |
| 1115 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | |
| 1116 { echo "$as_me: error: Working directory cannot be determined" >&2 | |
| 1117 { (exit 1); exit 1; }; } | |
| 1118 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | |
| 1119 { echo "$as_me: error: pwd does not report name of working directory" >&2 | |
| 1120 { (exit 1); exit 1; }; } | |
| 1121 | |
| 1122 | |
| 1123 # Find the source files, if location was not specified. | |
| 1124 if test -z "$srcdir"; then | |
| 1125 ac_srcdir_defaulted=yes | |
| 1126 # Try the directory containing this script, then the parent directory. | |
| 1127 ac_confdir=`$as_dirname -- "$0" || | |
| 1128 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 1129 X"$0" : 'X\(//\)[^/]' \| \ | |
| 1130 X"$0" : 'X\(//\)$' \| \ | |
| 1131 X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
| 1132 echo X"$0" | | |
| 1133 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 1134 s//\1/ | |
| 1135 q | |
| 1136 } | |
| 1137 /^X\(\/\/\)[^/].*/{ | |
| 1138 s//\1/ | |
| 1139 q | |
| 1140 } | |
| 1141 /^X\(\/\/\)$/{ | |
| 1142 s//\1/ | |
| 1143 q | |
| 1144 } | |
| 1145 /^X\(\/\).*/{ | |
| 1146 s//\1/ | |
| 1147 q | |
| 1148 } | |
| 1149 s/.*/./; q'` | |
| 1150 srcdir=$ac_confdir | |
| 1151 if test ! -r "$srcdir/$ac_unique_file"; then | |
| 1152 srcdir=.. | |
| 1153 fi | |
| 1154 else | |
| 1155 ac_srcdir_defaulted=no | |
| 1156 fi | |
| 1157 if test ! -r "$srcdir/$ac_unique_file"; then | |
| 1158 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | |
| 1159 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | |
| 1160 { (exit 1); exit 1; }; } | |
| 1161 fi | |
| 1162 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | |
| 1163 ac_abs_confdir=`( | |
| 1164 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 | |
| 1165 { (exit 1); exit 1; }; } | |
| 1166 pwd)` | |
| 1167 # When building in place, set srcdir=. | |
| 1168 if test "$ac_abs_confdir" = "$ac_pwd"; then | |
| 1169 srcdir=. | |
| 1170 fi | |
| 1171 # Remove unnecessary trailing slashes from srcdir. | |
| 1172 # Double slashes in file names in object file debugging info | |
| 1173 # mess up M-x gdb in Emacs. | |
| 1174 case $srcdir in | |
| 1175 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | |
| 1176 esac | |
| 1177 for ac_var in $ac_precious_vars; do | |
| 1178 eval ac_env_${ac_var}_set=\${${ac_var}+set} | |
| 1179 eval ac_env_${ac_var}_value=\$${ac_var} | |
| 1180 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} | |
| 1181 eval ac_cv_env_${ac_var}_value=\$${ac_var} | |
| 1182 done | |
| 1183 | |
| 1184 # | |
| 1185 # Report the --help message. | |
| 1186 # | |
| 1187 if test "$ac_init_help" = "long"; then | |
| 1188 # Omit some internal or obsolete options to make the list less imposing. | |
| 1189 # This message is too long to be a string in the A/UX 3.1 sh. | |
| 1190 cat <<_ACEOF | |
| 1191 \`configure' configures vamp-plugin-sdk 2.0 to adapt to many kinds of systems. | |
| 1192 | |
| 1193 Usage: $0 [OPTION]... [VAR=VALUE]... | |
| 1194 | |
| 1195 To assign environment variables (e.g., CC, CFLAGS...), specify them as | |
| 1196 VAR=VALUE. See below for descriptions of some of the useful variables. | |
| 1197 | |
| 1198 Defaults for the options are specified in brackets. | |
| 1199 | |
| 1200 Configuration: | |
| 1201 -h, --help display this help and exit | |
| 1202 --help=short display options specific to this package | |
| 1203 --help=recursive display the short help of all the included packages | |
| 1204 -V, --version display version information and exit | |
| 1205 -q, --quiet, --silent do not print \`checking...' messages | |
| 1206 --cache-file=FILE cache test results in FILE [disabled] | |
| 1207 -C, --config-cache alias for \`--cache-file=config.cache' | |
| 1208 -n, --no-create do not create output files | |
| 1209 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | |
| 1210 | |
| 1211 Installation directories: | |
| 1212 --prefix=PREFIX install architecture-independent files in PREFIX | |
| 1213 [$ac_default_prefix] | |
| 1214 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | |
| 1215 [PREFIX] | |
| 1216 | |
| 1217 By default, \`make install' will install all the files in | |
| 1218 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | |
| 1219 an installation prefix other than \`$ac_default_prefix' using \`--prefix', | |
| 1220 for instance \`--prefix=\$HOME'. | |
| 1221 | |
| 1222 For better control, use the options below. | |
| 1223 | |
| 1224 Fine tuning of the installation directories: | |
| 1225 --bindir=DIR user executables [EPREFIX/bin] | |
| 1226 --sbindir=DIR system admin executables [EPREFIX/sbin] | |
| 1227 --libexecdir=DIR program executables [EPREFIX/libexec] | |
| 1228 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | |
| 1229 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | |
| 1230 --localstatedir=DIR modifiable single-machine data [PREFIX/var] | |
| 1231 --libdir=DIR object code libraries [EPREFIX/lib] | |
| 1232 --includedir=DIR C header files [PREFIX/include] | |
| 1233 --oldincludedir=DIR C header files for non-gcc [/usr/include] | |
| 1234 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | |
| 1235 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | |
| 1236 --infodir=DIR info documentation [DATAROOTDIR/info] | |
| 1237 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | |
| 1238 --mandir=DIR man documentation [DATAROOTDIR/man] | |
| 1239 --docdir=DIR documentation root [DATAROOTDIR/doc/vamp-plugin-sdk] | |
| 1240 --htmldir=DIR html documentation [DOCDIR] | |
| 1241 --dvidir=DIR dvi documentation [DOCDIR] | |
| 1242 --pdfdir=DIR pdf documentation [DOCDIR] | |
| 1243 --psdir=DIR ps documentation [DOCDIR] | |
| 1244 _ACEOF | |
| 1245 | |
| 1246 cat <<\_ACEOF | |
| 1247 _ACEOF | |
| 1248 fi | |
| 1249 | |
| 1250 if test -n "$ac_init_help"; then | |
| 1251 case $ac_init_help in | |
| 1252 short | recursive ) echo "Configuration of vamp-plugin-sdk 2.0:";; | |
| 1253 esac | |
| 1254 cat <<\_ACEOF | |
| 1255 | |
| 1256 Some influential environment variables: | |
| 1257 CXX C++ compiler command | |
| 1258 CXXFLAGS C++ compiler flags | |
| 1259 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | |
| 1260 nonstandard directory <lib dir> | |
| 1261 LIBS libraries to pass to the linker, e.g. -l<library> | |
| 1262 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if | |
| 1263 you have headers in a nonstandard directory <include dir> | |
| 1264 CC C compiler command | |
| 1265 CFLAGS C compiler flags | |
| 1266 CPP C preprocessor | |
| 1267 PKG_CONFIG path to pkg-config utility | |
| 1268 SNDFILE_CFLAGS | |
| 1269 C compiler flags for SNDFILE, overriding pkg-config | |
| 1270 SNDFILE_LIBS | |
| 1271 linker flags for SNDFILE, overriding pkg-config | |
| 1272 | |
| 1273 Use these variables to override the choices made by `configure' or to help | |
| 1274 it to find libraries and programs with nonstandard names/locations. | |
| 1275 | |
| 1276 Report bugs to <cannam@all-day-breakfast.com>. | |
| 1277 _ACEOF | |
| 1278 ac_status=$? | |
| 1279 fi | |
| 1280 | |
| 1281 if test "$ac_init_help" = "recursive"; then | |
| 1282 # If there are subdirs, report their specific --help. | |
| 1283 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | |
| 1284 test -d "$ac_dir" || continue | |
| 1285 ac_builddir=. | |
| 1286 | |
| 1287 case "$ac_dir" in | |
| 1288 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
| 1289 *) | |
| 1290 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | |
| 1291 # A ".." for each directory in $ac_dir_suffix. | |
| 1292 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` | |
| 1293 case $ac_top_builddir_sub in | |
| 1294 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
| 1295 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
| 1296 esac ;; | |
| 1297 esac | |
| 1298 ac_abs_top_builddir=$ac_pwd | |
| 1299 ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
| 1300 # for backward compatibility: | |
| 1301 ac_top_builddir=$ac_top_build_prefix | |
| 1302 | |
| 1303 case $srcdir in | |
| 1304 .) # We are building in place. | |
| 1305 ac_srcdir=. | |
| 1306 ac_top_srcdir=$ac_top_builddir_sub | |
| 1307 ac_abs_top_srcdir=$ac_pwd ;; | |
| 1308 [\\/]* | ?:[\\/]* ) # Absolute name. | |
| 1309 ac_srcdir=$srcdir$ac_dir_suffix; | |
| 1310 ac_top_srcdir=$srcdir | |
| 1311 ac_abs_top_srcdir=$srcdir ;; | |
| 1312 *) # Relative name. | |
| 1313 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
| 1314 ac_top_srcdir=$ac_top_build_prefix$srcdir | |
| 1315 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
| 1316 esac | |
| 1317 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
| 1318 | |
| 1319 cd "$ac_dir" || { ac_status=$?; continue; } | |
| 1320 # Check for guested configure. | |
| 1321 if test -f "$ac_srcdir/configure.gnu"; then | |
| 1322 echo && | |
| 1323 $SHELL "$ac_srcdir/configure.gnu" --help=recursive | |
| 1324 elif test -f "$ac_srcdir/configure"; then | |
| 1325 echo && | |
| 1326 $SHELL "$ac_srcdir/configure" --help=recursive | |
| 1327 else | |
| 1328 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | |
| 1329 fi || ac_status=$? | |
| 1330 cd "$ac_pwd" || { ac_status=$?; break; } | |
| 1331 done | |
| 1332 fi | |
| 1333 | |
| 1334 test -n "$ac_init_help" && exit $ac_status | |
| 1335 if $ac_init_version; then | |
| 1336 cat <<\_ACEOF | |
| 1337 vamp-plugin-sdk configure 2.0 | |
| 1338 generated by GNU Autoconf 2.61 | |
| 1339 | |
| 1340 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | |
| 1341 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
| 1342 This configure script is free software; the Free Software Foundation | |
| 1343 gives unlimited permission to copy, distribute and modify it. | |
| 1344 _ACEOF | |
| 1345 exit | |
| 1346 fi | |
| 1347 cat >config.log <<_ACEOF | |
| 1348 This file contains any messages produced by compilers while | |
| 1349 running configure, to aid debugging if configure makes a mistake. | |
| 1350 | |
| 1351 It was created by vamp-plugin-sdk $as_me 2.0, which was | |
| 1352 generated by GNU Autoconf 2.61. Invocation command line was | |
| 1353 | |
| 1354 $ $0 $@ | |
| 1355 | |
| 1356 _ACEOF | |
| 1357 exec 5>>config.log | |
| 1358 { | |
| 1359 cat <<_ASUNAME | |
| 1360 ## --------- ## | |
| 1361 ## Platform. ## | |
| 1362 ## --------- ## | |
| 1363 | |
| 1364 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | |
| 1365 uname -m = `(uname -m) 2>/dev/null || echo unknown` | |
| 1366 uname -r = `(uname -r) 2>/dev/null || echo unknown` | |
| 1367 uname -s = `(uname -s) 2>/dev/null || echo unknown` | |
| 1368 uname -v = `(uname -v) 2>/dev/null || echo unknown` | |
| 1369 | |
| 1370 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | |
| 1371 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | |
| 1372 | |
| 1373 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | |
| 1374 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | |
| 1375 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | |
| 1376 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` | |
| 1377 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | |
| 1378 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | |
| 1379 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | |
| 1380 | |
| 1381 _ASUNAME | |
| 1382 | |
| 1383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 1384 for as_dir in $PATH | |
| 1385 do | |
| 1386 IFS=$as_save_IFS | |
| 1387 test -z "$as_dir" && as_dir=. | |
| 1388 echo "PATH: $as_dir" | |
| 1389 done | |
| 1390 IFS=$as_save_IFS | |
| 1391 | |
| 1392 } >&5 | |
| 1393 | |
| 1394 cat >&5 <<_ACEOF | |
| 1395 | |
| 1396 | |
| 1397 ## ----------- ## | |
| 1398 ## Core tests. ## | |
| 1399 ## ----------- ## | |
| 1400 | |
| 1401 _ACEOF | |
| 1402 | |
| 1403 | |
| 1404 # Keep a trace of the command line. | |
| 1405 # Strip out --no-create and --no-recursion so they do not pile up. | |
| 1406 # Strip out --silent because we don't want to record it for future runs. | |
| 1407 # Also quote any args containing shell meta-characters. | |
| 1408 # Make two passes to allow for proper duplicate-argument suppression. | |
| 1409 ac_configure_args= | |
| 1410 ac_configure_args0= | |
| 1411 ac_configure_args1= | |
| 1412 ac_must_keep_next=false | |
| 1413 for ac_pass in 1 2 | |
| 1414 do | |
| 1415 for ac_arg | |
| 1416 do | |
| 1417 case $ac_arg in | |
| 1418 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | |
| 1419 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
| 1420 | -silent | --silent | --silen | --sile | --sil) | |
| 1421 continue ;; | |
| 1422 *\'*) | |
| 1423 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
| 1424 esac | |
| 1425 case $ac_pass in | |
| 1426 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | |
| 1427 2) | |
| 1428 ac_configure_args1="$ac_configure_args1 '$ac_arg'" | |
| 1429 if test $ac_must_keep_next = true; then | |
| 1430 ac_must_keep_next=false # Got value, back to normal. | |
| 1431 else | |
| 1432 case $ac_arg in | |
| 1433 *=* | --config-cache | -C | -disable-* | --disable-* \ | |
| 1434 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | |
| 1435 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | |
| 1436 | -with-* | --with-* | -without-* | --without-* | --x) | |
| 1437 case "$ac_configure_args0 " in | |
| 1438 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | |
| 1439 esac | |
| 1440 ;; | |
| 1441 -* ) ac_must_keep_next=true ;; | |
| 1442 esac | |
| 1443 fi | |
| 1444 ac_configure_args="$ac_configure_args '$ac_arg'" | |
| 1445 ;; | |
| 1446 esac | |
| 1447 done | |
| 1448 done | |
| 1449 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | |
| 1450 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | |
| 1451 | |
| 1452 # When interrupted or exit'd, cleanup temporary files, and complete | |
| 1453 # config.log. We remove comments because anyway the quotes in there | |
| 1454 # would cause problems or look ugly. | |
| 1455 # WARNING: Use '\'' to represent an apostrophe within the trap. | |
| 1456 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. | |
| 1457 trap 'exit_status=$? | |
| 1458 # Save into config.log some information that might help in debugging. | |
| 1459 { | |
| 1460 echo | |
| 1461 | |
| 1462 cat <<\_ASBOX | |
| 1463 ## ---------------- ## | |
| 1464 ## Cache variables. ## | |
| 1465 ## ---------------- ## | |
| 1466 _ASBOX | |
| 1467 echo | |
| 1468 # The following way of writing the cache mishandles newlines in values, | |
| 1469 ( | |
| 1470 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | |
| 1471 eval ac_val=\$$ac_var | |
| 1472 case $ac_val in #( | |
| 1473 *${as_nl}*) | |
| 1474 case $ac_var in #( | |
| 1475 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | |
| 1476 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | |
| 1477 esac | |
| 1478 case $ac_var in #( | |
| 1479 _ | IFS | as_nl) ;; #( | |
| 1480 *) $as_unset $ac_var ;; | |
| 1481 esac ;; | |
| 1482 esac | |
| 1483 done | |
| 1484 (set) 2>&1 | | |
| 1485 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | |
| 1486 *${as_nl}ac_space=\ *) | |
| 1487 sed -n \ | |
| 1488 "s/'\''/'\''\\\\'\'''\''/g; | |
| 1489 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" | |
| 1490 ;; #( | |
| 1491 *) | |
| 1492 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | |
| 1493 ;; | |
| 1494 esac | | |
| 1495 sort | |
| 1496 ) | |
| 1497 echo | |
| 1498 | |
| 1499 cat <<\_ASBOX | |
| 1500 ## ----------------- ## | |
| 1501 ## Output variables. ## | |
| 1502 ## ----------------- ## | |
| 1503 _ASBOX | |
| 1504 echo | |
| 1505 for ac_var in $ac_subst_vars | |
| 1506 do | |
| 1507 eval ac_val=\$$ac_var | |
| 1508 case $ac_val in | |
| 1509 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
| 1510 esac | |
| 1511 echo "$ac_var='\''$ac_val'\''" | |
| 1512 done | sort | |
| 1513 echo | |
| 1514 | |
| 1515 if test -n "$ac_subst_files"; then | |
| 1516 cat <<\_ASBOX | |
| 1517 ## ------------------- ## | |
| 1518 ## File substitutions. ## | |
| 1519 ## ------------------- ## | |
| 1520 _ASBOX | |
| 1521 echo | |
| 1522 for ac_var in $ac_subst_files | |
| 1523 do | |
| 1524 eval ac_val=\$$ac_var | |
| 1525 case $ac_val in | |
| 1526 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
| 1527 esac | |
| 1528 echo "$ac_var='\''$ac_val'\''" | |
| 1529 done | sort | |
| 1530 echo | |
| 1531 fi | |
| 1532 | |
| 1533 if test -s confdefs.h; then | |
| 1534 cat <<\_ASBOX | |
| 1535 ## ----------- ## | |
| 1536 ## confdefs.h. ## | |
| 1537 ## ----------- ## | |
| 1538 _ASBOX | |
| 1539 echo | |
| 1540 cat confdefs.h | |
| 1541 echo | |
| 1542 fi | |
| 1543 test "$ac_signal" != 0 && | |
| 1544 echo "$as_me: caught signal $ac_signal" | |
| 1545 echo "$as_me: exit $exit_status" | |
| 1546 } >&5 | |
| 1547 rm -f core *.core core.conftest.* && | |
| 1548 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | |
| 1549 exit $exit_status | |
| 1550 ' 0 | |
| 1551 for ac_signal in 1 2 13 15; do | |
| 1552 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | |
| 1553 done | |
| 1554 ac_signal=0 | |
| 1555 | |
| 1556 # confdefs.h avoids OS command line length limits that DEFS can exceed. | |
| 1557 rm -f -r conftest* confdefs.h | |
| 1558 | |
| 1559 # Predefined preprocessor variables. | |
| 1560 | |
| 1561 cat >>confdefs.h <<_ACEOF | |
| 1562 #define PACKAGE_NAME "$PACKAGE_NAME" | |
| 1563 _ACEOF | |
| 1564 | |
| 1565 | |
| 1566 cat >>confdefs.h <<_ACEOF | |
| 1567 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | |
| 1568 _ACEOF | |
| 1569 | |
| 1570 | |
| 1571 cat >>confdefs.h <<_ACEOF | |
| 1572 #define PACKAGE_VERSION "$PACKAGE_VERSION" | |
| 1573 _ACEOF | |
| 1574 | |
| 1575 | |
| 1576 cat >>confdefs.h <<_ACEOF | |
| 1577 #define PACKAGE_STRING "$PACKAGE_STRING" | |
| 1578 _ACEOF | |
| 1579 | |
| 1580 | |
| 1581 cat >>confdefs.h <<_ACEOF | |
| 1582 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | |
| 1583 _ACEOF | |
| 1584 | |
| 1585 | |
| 1586 # Let the site file select an alternate cache file if it wants to. | |
| 1587 # Prefer explicitly selected file to automatically selected ones. | |
| 1588 if test -n "$CONFIG_SITE"; then | |
| 1589 set x "$CONFIG_SITE" | |
| 1590 elif test "x$prefix" != xNONE; then | |
| 1591 set x "$prefix/share/config.site" "$prefix/etc/config.site" | |
| 1592 else | |
| 1593 set x "$ac_default_prefix/share/config.site" \ | |
| 1594 "$ac_default_prefix/etc/config.site" | |
| 1595 fi | |
| 1596 shift | |
| 1597 for ac_site_file | |
| 1598 do | |
| 1599 if test -r "$ac_site_file"; then | |
| 1600 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | |
| 1601 echo "$as_me: loading site script $ac_site_file" >&6;} | |
| 1602 sed 's/^/| /' "$ac_site_file" >&5 | |
| 1603 . "$ac_site_file" | |
| 1604 fi | |
| 1605 done | |
| 1606 | |
| 1607 if test -r "$cache_file"; then | |
| 1608 # Some versions of bash will fail to source /dev/null (special | |
| 1609 # files actually), so we avoid doing that. | |
| 1610 if test -f "$cache_file"; then | |
| 1611 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | |
| 1612 echo "$as_me: loading cache $cache_file" >&6;} | |
| 1613 case $cache_file in | |
| 1614 [\\/]* | ?:[\\/]* ) . "$cache_file";; | |
| 1615 *) . "./$cache_file";; | |
| 1616 esac | |
| 1617 fi | |
| 1618 else | |
| 1619 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | |
| 1620 echo "$as_me: creating cache $cache_file" >&6;} | |
| 1621 >$cache_file | |
| 1622 fi | |
| 1623 | |
| 1624 # Check that the precious variables saved in the cache have kept the same | |
| 1625 # value. | |
| 1626 ac_cache_corrupted=false | |
| 1627 for ac_var in $ac_precious_vars; do | |
| 1628 eval ac_old_set=\$ac_cv_env_${ac_var}_set | |
| 1629 eval ac_new_set=\$ac_env_${ac_var}_set | |
| 1630 eval ac_old_val=\$ac_cv_env_${ac_var}_value | |
| 1631 eval ac_new_val=\$ac_env_${ac_var}_value | |
| 1632 case $ac_old_set,$ac_new_set in | |
| 1633 set,) | |
| 1634 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | |
| 1635 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | |
| 1636 ac_cache_corrupted=: ;; | |
| 1637 ,set) | |
| 1638 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | |
| 1639 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | |
| 1640 ac_cache_corrupted=: ;; | |
| 1641 ,);; | |
| 1642 *) | |
| 1643 if test "x$ac_old_val" != "x$ac_new_val"; then | |
| 1644 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | |
| 1645 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | |
| 1646 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 | |
| 1647 echo "$as_me: former value: $ac_old_val" >&2;} | |
| 1648 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 | |
| 1649 echo "$as_me: current value: $ac_new_val" >&2;} | |
| 1650 ac_cache_corrupted=: | |
| 1651 fi;; | |
| 1652 esac | |
| 1653 # Pass precious variables to config.status. | |
| 1654 if test "$ac_new_set" = set; then | |
| 1655 case $ac_new_val in | |
| 1656 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | |
| 1657 *) ac_arg=$ac_var=$ac_new_val ;; | |
| 1658 esac | |
| 1659 case " $ac_configure_args " in | |
| 1660 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | |
| 1661 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | |
| 1662 esac | |
| 1663 fi | |
| 1664 done | |
| 1665 if $ac_cache_corrupted; then | |
| 1666 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | |
| 1667 echo "$as_me: error: changes in the environment can compromise the build" >&2;} | |
| 1668 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | |
| 1669 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | |
| 1670 { (exit 1); exit 1; }; } | |
| 1671 fi | |
| 1672 | |
| 1673 | |
| 1674 | |
| 1675 | |
| 1676 | |
| 1677 | |
| 1678 | |
| 1679 | |
| 1680 | |
| 1681 | |
| 1682 | |
| 1683 | |
| 1684 | |
| 1685 | |
| 1686 | |
| 1687 | |
| 1688 | |
| 1689 | |
| 1690 | |
| 1691 | |
| 1692 | |
| 1693 | |
| 1694 | |
| 1695 | |
| 1696 | |
| 1697 ac_ext=c | |
| 1698 ac_cpp='$CPP $CPPFLAGS' | |
| 1699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 1700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 1701 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 1702 | |
| 1703 | |
| 1704 | |
| 1705 | |
| 1706 ac_ext=cpp | |
| 1707 ac_cpp='$CXXCPP $CPPFLAGS' | |
| 1708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 1709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 1710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
| 1711 if test -z "$CXX"; then | |
| 1712 if test -n "$CCC"; then | |
| 1713 CXX=$CCC | |
| 1714 else | |
| 1715 if test -n "$ac_tool_prefix"; then | |
| 1716 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | |
| 1717 do | |
| 1718 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
| 1719 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
| 1720 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
| 1721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
| 1722 if test "${ac_cv_prog_CXX+set}" = set; then | |
| 1723 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 1724 else | |
| 1725 if test -n "$CXX"; then | |
| 1726 ac_cv_prog_CXX="$CXX" # Let the user override the test. | |
| 1727 else | |
| 1728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 1729 for as_dir in $PATH | |
| 1730 do | |
| 1731 IFS=$as_save_IFS | |
| 1732 test -z "$as_dir" && as_dir=. | |
| 1733 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 1734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 1735 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | |
| 1736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 1737 break 2 | |
| 1738 fi | |
| 1739 done | |
| 1740 done | |
| 1741 IFS=$as_save_IFS | |
| 1742 | |
| 1743 fi | |
| 1744 fi | |
| 1745 CXX=$ac_cv_prog_CXX | |
| 1746 if test -n "$CXX"; then | |
| 1747 { echo "$as_me:$LINENO: result: $CXX" >&5 | |
| 1748 echo "${ECHO_T}$CXX" >&6; } | |
| 1749 else | |
| 1750 { echo "$as_me:$LINENO: result: no" >&5 | |
| 1751 echo "${ECHO_T}no" >&6; } | |
| 1752 fi | |
| 1753 | |
| 1754 | |
| 1755 test -n "$CXX" && break | |
| 1756 done | |
| 1757 fi | |
| 1758 if test -z "$CXX"; then | |
| 1759 ac_ct_CXX=$CXX | |
| 1760 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | |
| 1761 do | |
| 1762 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
| 1763 set dummy $ac_prog; ac_word=$2 | |
| 1764 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
| 1765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
| 1766 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then | |
| 1767 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 1768 else | |
| 1769 if test -n "$ac_ct_CXX"; then | |
| 1770 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | |
| 1771 else | |
| 1772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 1773 for as_dir in $PATH | |
| 1774 do | |
| 1775 IFS=$as_save_IFS | |
| 1776 test -z "$as_dir" && as_dir=. | |
| 1777 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 1778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 1779 ac_cv_prog_ac_ct_CXX="$ac_prog" | |
| 1780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 1781 break 2 | |
| 1782 fi | |
| 1783 done | |
| 1784 done | |
| 1785 IFS=$as_save_IFS | |
| 1786 | |
| 1787 fi | |
| 1788 fi | |
| 1789 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | |
| 1790 if test -n "$ac_ct_CXX"; then | |
| 1791 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 | |
| 1792 echo "${ECHO_T}$ac_ct_CXX" >&6; } | |
| 1793 else | |
| 1794 { echo "$as_me:$LINENO: result: no" >&5 | |
| 1795 echo "${ECHO_T}no" >&6; } | |
| 1796 fi | |
| 1797 | |
| 1798 | |
| 1799 test -n "$ac_ct_CXX" && break | |
| 1800 done | |
| 1801 | |
| 1802 if test "x$ac_ct_CXX" = x; then | |
| 1803 CXX="g++" | |
| 1804 else | |
| 1805 case $cross_compiling:$ac_tool_warned in | |
| 1806 yes:) | |
| 1807 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | |
| 1808 whose name does not start with the host triplet. If you think this | |
| 1809 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
| 1810 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
| 1811 whose name does not start with the host triplet. If you think this | |
| 1812 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
| 1813 ac_tool_warned=yes ;; | |
| 1814 esac | |
| 1815 CXX=$ac_ct_CXX | |
| 1816 fi | |
| 1817 fi | |
| 1818 | |
| 1819 fi | |
| 1820 fi | |
| 1821 # Provide some information about the compiler. | |
| 1822 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 | |
| 1823 ac_compiler=`set X $ac_compile; echo $2` | |
| 1824 { (ac_try="$ac_compiler --version >&5" | |
| 1825 case "(($ac_try" in | |
| 1826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1827 *) ac_try_echo=$ac_try;; | |
| 1828 esac | |
| 1829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 1830 (eval "$ac_compiler --version >&5") 2>&5 | |
| 1831 ac_status=$? | |
| 1832 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 1833 (exit $ac_status); } | |
| 1834 { (ac_try="$ac_compiler -v >&5" | |
| 1835 case "(($ac_try" in | |
| 1836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1837 *) ac_try_echo=$ac_try;; | |
| 1838 esac | |
| 1839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 1840 (eval "$ac_compiler -v >&5") 2>&5 | |
| 1841 ac_status=$? | |
| 1842 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 1843 (exit $ac_status); } | |
| 1844 { (ac_try="$ac_compiler -V >&5" | |
| 1845 case "(($ac_try" in | |
| 1846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1847 *) ac_try_echo=$ac_try;; | |
| 1848 esac | |
| 1849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 1850 (eval "$ac_compiler -V >&5") 2>&5 | |
| 1851 ac_status=$? | |
| 1852 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 1853 (exit $ac_status); } | |
| 1854 | |
| 1855 cat >conftest.$ac_ext <<_ACEOF | |
| 1856 /* confdefs.h. */ | |
| 1857 _ACEOF | |
| 1858 cat confdefs.h >>conftest.$ac_ext | |
| 1859 cat >>conftest.$ac_ext <<_ACEOF | |
| 1860 /* end confdefs.h. */ | |
| 1861 | |
| 1862 int | |
| 1863 main () | |
| 1864 { | |
| 1865 | |
| 1866 ; | |
| 1867 return 0; | |
| 1868 } | |
| 1869 _ACEOF | |
| 1870 ac_clean_files_save=$ac_clean_files | |
| 1871 ac_clean_files="$ac_clean_files a.out a.exe b.out" | |
| 1872 # Try to create an executable without -o first, disregard a.out. | |
| 1873 # It will help us diagnose broken compilers, and finding out an intuition | |
| 1874 # of exeext. | |
| 1875 { echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 | |
| 1876 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; } | |
| 1877 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | |
| 1878 # | |
| 1879 # List of possible output files, starting from the most likely. | |
| 1880 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) | |
| 1881 # only as a last resort. b.out is created by i960 compilers. | |
| 1882 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' | |
| 1883 # | |
| 1884 # The IRIX 6 linker writes into existing files which may not be | |
| 1885 # executable, retaining their permissions. Remove them first so a | |
| 1886 # subsequent execution test works. | |
| 1887 ac_rmfiles= | |
| 1888 for ac_file in $ac_files | |
| 1889 do | |
| 1890 case $ac_file in | |
| 1891 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; | |
| 1892 * ) ac_rmfiles="$ac_rmfiles $ac_file";; | |
| 1893 esac | |
| 1894 done | |
| 1895 rm -f $ac_rmfiles | |
| 1896 | |
| 1897 if { (ac_try="$ac_link_default" | |
| 1898 case "(($ac_try" in | |
| 1899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1900 *) ac_try_echo=$ac_try;; | |
| 1901 esac | |
| 1902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 1903 (eval "$ac_link_default") 2>&5 | |
| 1904 ac_status=$? | |
| 1905 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 1906 (exit $ac_status); }; then | |
| 1907 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | |
| 1908 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | |
| 1909 # in a Makefile. We should not override ac_cv_exeext if it was cached, | |
| 1910 # so that the user can short-circuit this test for compilers unknown to | |
| 1911 # Autoconf. | |
| 1912 for ac_file in $ac_files '' | |
| 1913 do | |
| 1914 test -f "$ac_file" || continue | |
| 1915 case $ac_file in | |
| 1916 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) | |
| 1917 ;; | |
| 1918 [ab].out ) | |
| 1919 # We found the default executable, but exeext='' is most | |
| 1920 # certainly right. | |
| 1921 break;; | |
| 1922 *.* ) | |
| 1923 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | |
| 1924 then :; else | |
| 1925 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
| 1926 fi | |
| 1927 # We set ac_cv_exeext here because the later test for it is not | |
| 1928 # safe: cross compilers may not add the suffix if given an `-o' | |
| 1929 # argument, so we may need to know it at that point already. | |
| 1930 # Even if this section looks crufty: it has the advantage of | |
| 1931 # actually working. | |
| 1932 break;; | |
| 1933 * ) | |
| 1934 break;; | |
| 1935 esac | |
| 1936 done | |
| 1937 test "$ac_cv_exeext" = no && ac_cv_exeext= | |
| 1938 | |
| 1939 else | |
| 1940 ac_file='' | |
| 1941 fi | |
| 1942 | |
| 1943 { echo "$as_me:$LINENO: result: $ac_file" >&5 | |
| 1944 echo "${ECHO_T}$ac_file" >&6; } | |
| 1945 if test -z "$ac_file"; then | |
| 1946 echo "$as_me: failed program was:" >&5 | |
| 1947 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 1948 | |
| 1949 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables | |
| 1950 See \`config.log' for more details." >&5 | |
| 1951 echo "$as_me: error: C++ compiler cannot create executables | |
| 1952 See \`config.log' for more details." >&2;} | |
| 1953 { (exit 77); exit 77; }; } | |
| 1954 fi | |
| 1955 | |
| 1956 ac_exeext=$ac_cv_exeext | |
| 1957 | |
| 1958 # Check that the compiler produces executables we can run. If not, either | |
| 1959 # the compiler is broken, or we cross compile. | |
| 1960 { echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 | |
| 1961 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; } | |
| 1962 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | |
| 1963 # If not cross compiling, check that we can run a simple program. | |
| 1964 if test "$cross_compiling" != yes; then | |
| 1965 if { ac_try='./$ac_file' | |
| 1966 { (case "(($ac_try" in | |
| 1967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1968 *) ac_try_echo=$ac_try;; | |
| 1969 esac | |
| 1970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 1971 (eval "$ac_try") 2>&5 | |
| 1972 ac_status=$? | |
| 1973 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 1974 (exit $ac_status); }; }; then | |
| 1975 cross_compiling=no | |
| 1976 else | |
| 1977 if test "$cross_compiling" = maybe; then | |
| 1978 cross_compiling=yes | |
| 1979 else | |
| 1980 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. | |
| 1981 If you meant to cross compile, use \`--host'. | |
| 1982 See \`config.log' for more details." >&5 | |
| 1983 echo "$as_me: error: cannot run C++ compiled programs. | |
| 1984 If you meant to cross compile, use \`--host'. | |
| 1985 See \`config.log' for more details." >&2;} | |
| 1986 { (exit 1); exit 1; }; } | |
| 1987 fi | |
| 1988 fi | |
| 1989 fi | |
| 1990 { echo "$as_me:$LINENO: result: yes" >&5 | |
| 1991 echo "${ECHO_T}yes" >&6; } | |
| 1992 | |
| 1993 rm -f a.out a.exe conftest$ac_cv_exeext b.out | |
| 1994 ac_clean_files=$ac_clean_files_save | |
| 1995 # Check that the compiler produces executables we can run. If not, either | |
| 1996 # the compiler is broken, or we cross compile. | |
| 1997 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | |
| 1998 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } | |
| 1999 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 | |
| 2000 echo "${ECHO_T}$cross_compiling" >&6; } | |
| 2001 | |
| 2002 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 | |
| 2003 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } | |
| 2004 if { (ac_try="$ac_link" | |
| 2005 case "(($ac_try" in | |
| 2006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2007 *) ac_try_echo=$ac_try;; | |
| 2008 esac | |
| 2009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 2010 (eval "$ac_link") 2>&5 | |
| 2011 ac_status=$? | |
| 2012 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2013 (exit $ac_status); }; then | |
| 2014 # If both `conftest.exe' and `conftest' are `present' (well, observable) | |
| 2015 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | |
| 2016 # work properly (i.e., refer to `conftest.exe'), while it won't with | |
| 2017 # `rm'. | |
| 2018 for ac_file in conftest.exe conftest conftest.*; do | |
| 2019 test -f "$ac_file" || continue | |
| 2020 case $ac_file in | |
| 2021 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; | |
| 2022 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
| 2023 break;; | |
| 2024 * ) break;; | |
| 2025 esac | |
| 2026 done | |
| 2027 else | |
| 2028 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | |
| 2029 See \`config.log' for more details." >&5 | |
| 2030 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | |
| 2031 See \`config.log' for more details." >&2;} | |
| 2032 { (exit 1); exit 1; }; } | |
| 2033 fi | |
| 2034 | |
| 2035 rm -f conftest$ac_cv_exeext | |
| 2036 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | |
| 2037 echo "${ECHO_T}$ac_cv_exeext" >&6; } | |
| 2038 | |
| 2039 rm -f conftest.$ac_ext | |
| 2040 EXEEXT=$ac_cv_exeext | |
| 2041 ac_exeext=$EXEEXT | |
| 2042 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 | |
| 2043 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } | |
| 2044 if test "${ac_cv_objext+set}" = set; then | |
| 2045 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 2046 else | |
| 2047 cat >conftest.$ac_ext <<_ACEOF | |
| 2048 /* confdefs.h. */ | |
| 2049 _ACEOF | |
| 2050 cat confdefs.h >>conftest.$ac_ext | |
| 2051 cat >>conftest.$ac_ext <<_ACEOF | |
| 2052 /* end confdefs.h. */ | |
| 2053 | |
| 2054 int | |
| 2055 main () | |
| 2056 { | |
| 2057 | |
| 2058 ; | |
| 2059 return 0; | |
| 2060 } | |
| 2061 _ACEOF | |
| 2062 rm -f conftest.o conftest.obj | |
| 2063 if { (ac_try="$ac_compile" | |
| 2064 case "(($ac_try" in | |
| 2065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2066 *) ac_try_echo=$ac_try;; | |
| 2067 esac | |
| 2068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 2069 (eval "$ac_compile") 2>&5 | |
| 2070 ac_status=$? | |
| 2071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2072 (exit $ac_status); }; then | |
| 2073 for ac_file in conftest.o conftest.obj conftest.*; do | |
| 2074 test -f "$ac_file" || continue; | |
| 2075 case $ac_file in | |
| 2076 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; | |
| 2077 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | |
| 2078 break;; | |
| 2079 esac | |
| 2080 done | |
| 2081 else | |
| 2082 echo "$as_me: failed program was:" >&5 | |
| 2083 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 2084 | |
| 2085 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | |
| 2086 See \`config.log' for more details." >&5 | |
| 2087 echo "$as_me: error: cannot compute suffix of object files: cannot compile | |
| 2088 See \`config.log' for more details." >&2;} | |
| 2089 { (exit 1); exit 1; }; } | |
| 2090 fi | |
| 2091 | |
| 2092 rm -f conftest.$ac_cv_objext conftest.$ac_ext | |
| 2093 fi | |
| 2094 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | |
| 2095 echo "${ECHO_T}$ac_cv_objext" >&6; } | |
| 2096 OBJEXT=$ac_cv_objext | |
| 2097 ac_objext=$OBJEXT | |
| 2098 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 | |
| 2099 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } | |
| 2100 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then | |
| 2101 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 2102 else | |
| 2103 cat >conftest.$ac_ext <<_ACEOF | |
| 2104 /* confdefs.h. */ | |
| 2105 _ACEOF | |
| 2106 cat confdefs.h >>conftest.$ac_ext | |
| 2107 cat >>conftest.$ac_ext <<_ACEOF | |
| 2108 /* end confdefs.h. */ | |
| 2109 | |
| 2110 int | |
| 2111 main () | |
| 2112 { | |
| 2113 #ifndef __GNUC__ | |
| 2114 choke me | |
| 2115 #endif | |
| 2116 | |
| 2117 ; | |
| 2118 return 0; | |
| 2119 } | |
| 2120 _ACEOF | |
| 2121 rm -f conftest.$ac_objext | |
| 2122 if { (ac_try="$ac_compile" | |
| 2123 case "(($ac_try" in | |
| 2124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2125 *) ac_try_echo=$ac_try;; | |
| 2126 esac | |
| 2127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 2128 (eval "$ac_compile") 2>conftest.er1 | |
| 2129 ac_status=$? | |
| 2130 grep -v '^ *+' conftest.er1 >conftest.err | |
| 2131 rm -f conftest.er1 | |
| 2132 cat conftest.err >&5 | |
| 2133 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2134 (exit $ac_status); } && { | |
| 2135 test -z "$ac_cxx_werror_flag" || | |
| 2136 test ! -s conftest.err | |
| 2137 } && test -s conftest.$ac_objext; then | |
| 2138 ac_compiler_gnu=yes | |
| 2139 else | |
| 2140 echo "$as_me: failed program was:" >&5 | |
| 2141 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 2142 | |
| 2143 ac_compiler_gnu=no | |
| 2144 fi | |
| 2145 | |
| 2146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 2147 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | |
| 2148 | |
| 2149 fi | |
| 2150 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 | |
| 2151 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } | |
| 2152 GXX=`test $ac_compiler_gnu = yes && echo yes` | |
| 2153 ac_test_CXXFLAGS=${CXXFLAGS+set} | |
| 2154 ac_save_CXXFLAGS=$CXXFLAGS | |
| 2155 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 | |
| 2156 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } | |
| 2157 if test "${ac_cv_prog_cxx_g+set}" = set; then | |
| 2158 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 2159 else | |
| 2160 ac_save_cxx_werror_flag=$ac_cxx_werror_flag | |
| 2161 ac_cxx_werror_flag=yes | |
| 2162 ac_cv_prog_cxx_g=no | |
| 2163 CXXFLAGS="-g" | |
| 2164 cat >conftest.$ac_ext <<_ACEOF | |
| 2165 /* confdefs.h. */ | |
| 2166 _ACEOF | |
| 2167 cat confdefs.h >>conftest.$ac_ext | |
| 2168 cat >>conftest.$ac_ext <<_ACEOF | |
| 2169 /* end confdefs.h. */ | |
| 2170 | |
| 2171 int | |
| 2172 main () | |
| 2173 { | |
| 2174 | |
| 2175 ; | |
| 2176 return 0; | |
| 2177 } | |
| 2178 _ACEOF | |
| 2179 rm -f conftest.$ac_objext | |
| 2180 if { (ac_try="$ac_compile" | |
| 2181 case "(($ac_try" in | |
| 2182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2183 *) ac_try_echo=$ac_try;; | |
| 2184 esac | |
| 2185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 2186 (eval "$ac_compile") 2>conftest.er1 | |
| 2187 ac_status=$? | |
| 2188 grep -v '^ *+' conftest.er1 >conftest.err | |
| 2189 rm -f conftest.er1 | |
| 2190 cat conftest.err >&5 | |
| 2191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2192 (exit $ac_status); } && { | |
| 2193 test -z "$ac_cxx_werror_flag" || | |
| 2194 test ! -s conftest.err | |
| 2195 } && test -s conftest.$ac_objext; then | |
| 2196 ac_cv_prog_cxx_g=yes | |
| 2197 else | |
| 2198 echo "$as_me: failed program was:" >&5 | |
| 2199 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 2200 | |
| 2201 CXXFLAGS="" | |
| 2202 cat >conftest.$ac_ext <<_ACEOF | |
| 2203 /* confdefs.h. */ | |
| 2204 _ACEOF | |
| 2205 cat confdefs.h >>conftest.$ac_ext | |
| 2206 cat >>conftest.$ac_ext <<_ACEOF | |
| 2207 /* end confdefs.h. */ | |
| 2208 | |
| 2209 int | |
| 2210 main () | |
| 2211 { | |
| 2212 | |
| 2213 ; | |
| 2214 return 0; | |
| 2215 } | |
| 2216 _ACEOF | |
| 2217 rm -f conftest.$ac_objext | |
| 2218 if { (ac_try="$ac_compile" | |
| 2219 case "(($ac_try" in | |
| 2220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2221 *) ac_try_echo=$ac_try;; | |
| 2222 esac | |
| 2223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 2224 (eval "$ac_compile") 2>conftest.er1 | |
| 2225 ac_status=$? | |
| 2226 grep -v '^ *+' conftest.er1 >conftest.err | |
| 2227 rm -f conftest.er1 | |
| 2228 cat conftest.err >&5 | |
| 2229 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2230 (exit $ac_status); } && { | |
| 2231 test -z "$ac_cxx_werror_flag" || | |
| 2232 test ! -s conftest.err | |
| 2233 } && test -s conftest.$ac_objext; then | |
| 2234 : | |
| 2235 else | |
| 2236 echo "$as_me: failed program was:" >&5 | |
| 2237 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 2238 | |
| 2239 ac_cxx_werror_flag=$ac_save_cxx_werror_flag | |
| 2240 CXXFLAGS="-g" | |
| 2241 cat >conftest.$ac_ext <<_ACEOF | |
| 2242 /* confdefs.h. */ | |
| 2243 _ACEOF | |
| 2244 cat confdefs.h >>conftest.$ac_ext | |
| 2245 cat >>conftest.$ac_ext <<_ACEOF | |
| 2246 /* end confdefs.h. */ | |
| 2247 | |
| 2248 int | |
| 2249 main () | |
| 2250 { | |
| 2251 | |
| 2252 ; | |
| 2253 return 0; | |
| 2254 } | |
| 2255 _ACEOF | |
| 2256 rm -f conftest.$ac_objext | |
| 2257 if { (ac_try="$ac_compile" | |
| 2258 case "(($ac_try" in | |
| 2259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2260 *) ac_try_echo=$ac_try;; | |
| 2261 esac | |
| 2262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 2263 (eval "$ac_compile") 2>conftest.er1 | |
| 2264 ac_status=$? | |
| 2265 grep -v '^ *+' conftest.er1 >conftest.err | |
| 2266 rm -f conftest.er1 | |
| 2267 cat conftest.err >&5 | |
| 2268 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2269 (exit $ac_status); } && { | |
| 2270 test -z "$ac_cxx_werror_flag" || | |
| 2271 test ! -s conftest.err | |
| 2272 } && test -s conftest.$ac_objext; then | |
| 2273 ac_cv_prog_cxx_g=yes | |
| 2274 else | |
| 2275 echo "$as_me: failed program was:" >&5 | |
| 2276 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 2277 | |
| 2278 | |
| 2279 fi | |
| 2280 | |
| 2281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 2282 fi | |
| 2283 | |
| 2284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 2285 fi | |
| 2286 | |
| 2287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 2288 ac_cxx_werror_flag=$ac_save_cxx_werror_flag | |
| 2289 fi | |
| 2290 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | |
| 2291 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } | |
| 2292 if test "$ac_test_CXXFLAGS" = set; then | |
| 2293 CXXFLAGS=$ac_save_CXXFLAGS | |
| 2294 elif test $ac_cv_prog_cxx_g = yes; then | |
| 2295 if test "$GXX" = yes; then | |
| 2296 CXXFLAGS="-g -O2" | |
| 2297 else | |
| 2298 CXXFLAGS="-g" | |
| 2299 fi | |
| 2300 else | |
| 2301 if test "$GXX" = yes; then | |
| 2302 CXXFLAGS="-O2" | |
| 2303 else | |
| 2304 CXXFLAGS= | |
| 2305 fi | |
| 2306 fi | |
| 2307 ac_ext=c | |
| 2308 ac_cpp='$CPP $CPPFLAGS' | |
| 2309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 2310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 2311 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 2312 | |
| 2313 ac_ext=c | |
| 2314 ac_cpp='$CPP $CPPFLAGS' | |
| 2315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 2316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 2317 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 2318 if test -n "$ac_tool_prefix"; then | |
| 2319 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | |
| 2320 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | |
| 2321 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
| 2322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
| 2323 if test "${ac_cv_prog_CC+set}" = set; then | |
| 2324 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 2325 else | |
| 2326 if test -n "$CC"; then | |
| 2327 ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 2328 else | |
| 2329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2330 for as_dir in $PATH | |
| 2331 do | |
| 2332 IFS=$as_save_IFS | |
| 2333 test -z "$as_dir" && as_dir=. | |
| 2334 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 2336 ac_cv_prog_CC="${ac_tool_prefix}gcc" | |
| 2337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2338 break 2 | |
| 2339 fi | |
| 2340 done | |
| 2341 done | |
| 2342 IFS=$as_save_IFS | |
| 2343 | |
| 2344 fi | |
| 2345 fi | |
| 2346 CC=$ac_cv_prog_CC | |
| 2347 if test -n "$CC"; then | |
| 2348 { echo "$as_me:$LINENO: result: $CC" >&5 | |
| 2349 echo "${ECHO_T}$CC" >&6; } | |
| 2350 else | |
| 2351 { echo "$as_me:$LINENO: result: no" >&5 | |
| 2352 echo "${ECHO_T}no" >&6; } | |
| 2353 fi | |
| 2354 | |
| 2355 | |
| 2356 fi | |
| 2357 if test -z "$ac_cv_prog_CC"; then | |
| 2358 ac_ct_CC=$CC | |
| 2359 # Extract the first word of "gcc", so it can be a program name with args. | |
| 2360 set dummy gcc; ac_word=$2 | |
| 2361 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
| 2362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
| 2363 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
| 2364 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 2365 else | |
| 2366 if test -n "$ac_ct_CC"; then | |
| 2367 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
| 2368 else | |
| 2369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2370 for as_dir in $PATH | |
| 2371 do | |
| 2372 IFS=$as_save_IFS | |
| 2373 test -z "$as_dir" && as_dir=. | |
| 2374 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 2376 ac_cv_prog_ac_ct_CC="gcc" | |
| 2377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2378 break 2 | |
| 2379 fi | |
| 2380 done | |
| 2381 done | |
| 2382 IFS=$as_save_IFS | |
| 2383 | |
| 2384 fi | |
| 2385 fi | |
| 2386 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
| 2387 if test -n "$ac_ct_CC"; then | |
| 2388 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | |
| 2389 echo "${ECHO_T}$ac_ct_CC" >&6; } | |
| 2390 else | |
| 2391 { echo "$as_me:$LINENO: result: no" >&5 | |
| 2392 echo "${ECHO_T}no" >&6; } | |
| 2393 fi | |
| 2394 | |
| 2395 if test "x$ac_ct_CC" = x; then | |
| 2396 CC="" | |
| 2397 else | |
| 2398 case $cross_compiling:$ac_tool_warned in | |
| 2399 yes:) | |
| 2400 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | |
| 2401 whose name does not start with the host triplet. If you think this | |
| 2402 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
| 2403 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
| 2404 whose name does not start with the host triplet. If you think this | |
| 2405 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
| 2406 ac_tool_warned=yes ;; | |
| 2407 esac | |
| 2408 CC=$ac_ct_CC | |
| 2409 fi | |
| 2410 else | |
| 2411 CC="$ac_cv_prog_CC" | |
| 2412 fi | |
| 2413 | |
| 2414 if test -z "$CC"; then | |
| 2415 if test -n "$ac_tool_prefix"; then | |
| 2416 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | |
| 2417 set dummy ${ac_tool_prefix}cc; ac_word=$2 | |
| 2418 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
| 2419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
| 2420 if test "${ac_cv_prog_CC+set}" = set; then | |
| 2421 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 2422 else | |
| 2423 if test -n "$CC"; then | |
| 2424 ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 2425 else | |
| 2426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2427 for as_dir in $PATH | |
| 2428 do | |
| 2429 IFS=$as_save_IFS | |
| 2430 test -z "$as_dir" && as_dir=. | |
| 2431 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 2433 ac_cv_prog_CC="${ac_tool_prefix}cc" | |
| 2434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2435 break 2 | |
| 2436 fi | |
| 2437 done | |
| 2438 done | |
| 2439 IFS=$as_save_IFS | |
| 2440 | |
| 2441 fi | |
| 2442 fi | |
| 2443 CC=$ac_cv_prog_CC | |
| 2444 if test -n "$CC"; then | |
| 2445 { echo "$as_me:$LINENO: result: $CC" >&5 | |
| 2446 echo "${ECHO_T}$CC" >&6; } | |
| 2447 else | |
| 2448 { echo "$as_me:$LINENO: result: no" >&5 | |
| 2449 echo "${ECHO_T}no" >&6; } | |
| 2450 fi | |
| 2451 | |
| 2452 | |
| 2453 fi | |
| 2454 fi | |
| 2455 if test -z "$CC"; then | |
| 2456 # Extract the first word of "cc", so it can be a program name with args. | |
| 2457 set dummy cc; ac_word=$2 | |
| 2458 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
| 2459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
| 2460 if test "${ac_cv_prog_CC+set}" = set; then | |
| 2461 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 2462 else | |
| 2463 if test -n "$CC"; then | |
| 2464 ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 2465 else | |
| 2466 ac_prog_rejected=no | |
| 2467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2468 for as_dir in $PATH | |
| 2469 do | |
| 2470 IFS=$as_save_IFS | |
| 2471 test -z "$as_dir" && as_dir=. | |
| 2472 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 2474 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | |
| 2475 ac_prog_rejected=yes | |
| 2476 continue | |
| 2477 fi | |
| 2478 ac_cv_prog_CC="cc" | |
| 2479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2480 break 2 | |
| 2481 fi | |
| 2482 done | |
| 2483 done | |
| 2484 IFS=$as_save_IFS | |
| 2485 | |
| 2486 if test $ac_prog_rejected = yes; then | |
| 2487 # We found a bogon in the path, so make sure we never use it. | |
| 2488 set dummy $ac_cv_prog_CC | |
| 2489 shift | |
| 2490 if test $# != 0; then | |
| 2491 # We chose a different compiler from the bogus one. | |
| 2492 # However, it has the same basename, so the bogon will be chosen | |
| 2493 # first if we set CC to just the basename; use the full file name. | |
| 2494 shift | |
| 2495 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | |
| 2496 fi | |
| 2497 fi | |
| 2498 fi | |
| 2499 fi | |
| 2500 CC=$ac_cv_prog_CC | |
| 2501 if test -n "$CC"; then | |
| 2502 { echo "$as_me:$LINENO: result: $CC" >&5 | |
| 2503 echo "${ECHO_T}$CC" >&6; } | |
| 2504 else | |
| 2505 { echo "$as_me:$LINENO: result: no" >&5 | |
| 2506 echo "${ECHO_T}no" >&6; } | |
| 2507 fi | |
| 2508 | |
| 2509 | |
| 2510 fi | |
| 2511 if test -z "$CC"; then | |
| 2512 if test -n "$ac_tool_prefix"; then | |
| 2513 for ac_prog in cl.exe | |
| 2514 do | |
| 2515 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
| 2516 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
| 2517 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
| 2518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
| 2519 if test "${ac_cv_prog_CC+set}" = set; then | |
| 2520 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 2521 else | |
| 2522 if test -n "$CC"; then | |
| 2523 ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 2524 else | |
| 2525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2526 for as_dir in $PATH | |
| 2527 do | |
| 2528 IFS=$as_save_IFS | |
| 2529 test -z "$as_dir" && as_dir=. | |
| 2530 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 2532 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | |
| 2533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2534 break 2 | |
| 2535 fi | |
| 2536 done | |
| 2537 done | |
| 2538 IFS=$as_save_IFS | |
| 2539 | |
| 2540 fi | |
| 2541 fi | |
| 2542 CC=$ac_cv_prog_CC | |
| 2543 if test -n "$CC"; then | |
| 2544 { echo "$as_me:$LINENO: result: $CC" >&5 | |
| 2545 echo "${ECHO_T}$CC" >&6; } | |
| 2546 else | |
| 2547 { echo "$as_me:$LINENO: result: no" >&5 | |
| 2548 echo "${ECHO_T}no" >&6; } | |
| 2549 fi | |
| 2550 | |
| 2551 | |
| 2552 test -n "$CC" && break | |
| 2553 done | |
| 2554 fi | |
| 2555 if test -z "$CC"; then | |
| 2556 ac_ct_CC=$CC | |
| 2557 for ac_prog in cl.exe | |
| 2558 do | |
| 2559 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
| 2560 set dummy $ac_prog; ac_word=$2 | |
| 2561 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
| 2562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
| 2563 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
| 2564 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 2565 else | |
| 2566 if test -n "$ac_ct_CC"; then | |
| 2567 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
| 2568 else | |
| 2569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2570 for as_dir in $PATH | |
| 2571 do | |
| 2572 IFS=$as_save_IFS | |
| 2573 test -z "$as_dir" && as_dir=. | |
| 2574 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 2576 ac_cv_prog_ac_ct_CC="$ac_prog" | |
| 2577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2578 break 2 | |
| 2579 fi | |
| 2580 done | |
| 2581 done | |
| 2582 IFS=$as_save_IFS | |
| 2583 | |
| 2584 fi | |
| 2585 fi | |
| 2586 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
| 2587 if test -n "$ac_ct_CC"; then | |
| 2588 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | |
| 2589 echo "${ECHO_T}$ac_ct_CC" >&6; } | |
| 2590 else | |
| 2591 { echo "$as_me:$LINENO: result: no" >&5 | |
| 2592 echo "${ECHO_T}no" >&6; } | |
| 2593 fi | |
| 2594 | |
| 2595 | |
| 2596 test -n "$ac_ct_CC" && break | |
| 2597 done | |
| 2598 | |
| 2599 if test "x$ac_ct_CC" = x; then | |
| 2600 CC="" | |
| 2601 else | |
| 2602 case $cross_compiling:$ac_tool_warned in | |
| 2603 yes:) | |
| 2604 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | |
| 2605 whose name does not start with the host triplet. If you think this | |
| 2606 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
| 2607 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
| 2608 whose name does not start with the host triplet. If you think this | |
| 2609 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
| 2610 ac_tool_warned=yes ;; | |
| 2611 esac | |
| 2612 CC=$ac_ct_CC | |
| 2613 fi | |
| 2614 fi | |
| 2615 | |
| 2616 fi | |
| 2617 | |
| 2618 | |
| 2619 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | |
| 2620 See \`config.log' for more details." >&5 | |
| 2621 echo "$as_me: error: no acceptable C compiler found in \$PATH | |
| 2622 See \`config.log' for more details." >&2;} | |
| 2623 { (exit 1); exit 1; }; } | |
| 2624 | |
| 2625 # Provide some information about the compiler. | |
| 2626 echo "$as_me:$LINENO: checking for C compiler version" >&5 | |
| 2627 ac_compiler=`set X $ac_compile; echo $2` | |
| 2628 { (ac_try="$ac_compiler --version >&5" | |
| 2629 case "(($ac_try" in | |
| 2630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2631 *) ac_try_echo=$ac_try;; | |
| 2632 esac | |
| 2633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 2634 (eval "$ac_compiler --version >&5") 2>&5 | |
| 2635 ac_status=$? | |
| 2636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2637 (exit $ac_status); } | |
| 2638 { (ac_try="$ac_compiler -v >&5" | |
| 2639 case "(($ac_try" in | |
| 2640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2641 *) ac_try_echo=$ac_try;; | |
| 2642 esac | |
| 2643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 2644 (eval "$ac_compiler -v >&5") 2>&5 | |
| 2645 ac_status=$? | |
| 2646 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2647 (exit $ac_status); } | |
| 2648 { (ac_try="$ac_compiler -V >&5" | |
| 2649 case "(($ac_try" in | |
| 2650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2651 *) ac_try_echo=$ac_try;; | |
| 2652 esac | |
| 2653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 2654 (eval "$ac_compiler -V >&5") 2>&5 | |
| 2655 ac_status=$? | |
| 2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2657 (exit $ac_status); } | |
| 2658 | |
| 2659 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | |
| 2660 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } | |
| 2661 if test "${ac_cv_c_compiler_gnu+set}" = set; then | |
| 2662 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 2663 else | |
| 2664 cat >conftest.$ac_ext <<_ACEOF | |
| 2665 /* confdefs.h. */ | |
| 2666 _ACEOF | |
| 2667 cat confdefs.h >>conftest.$ac_ext | |
| 2668 cat >>conftest.$ac_ext <<_ACEOF | |
| 2669 /* end confdefs.h. */ | |
| 2670 | |
| 2671 int | |
| 2672 main () | |
| 2673 { | |
| 2674 #ifndef __GNUC__ | |
| 2675 choke me | |
| 2676 #endif | |
| 2677 | |
| 2678 ; | |
| 2679 return 0; | |
| 2680 } | |
| 2681 _ACEOF | |
| 2682 rm -f conftest.$ac_objext | |
| 2683 if { (ac_try="$ac_compile" | |
| 2684 case "(($ac_try" in | |
| 2685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2686 *) ac_try_echo=$ac_try;; | |
| 2687 esac | |
| 2688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 2689 (eval "$ac_compile") 2>conftest.er1 | |
| 2690 ac_status=$? | |
| 2691 grep -v '^ *+' conftest.er1 >conftest.err | |
| 2692 rm -f conftest.er1 | |
| 2693 cat conftest.err >&5 | |
| 2694 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2695 (exit $ac_status); } && { | |
| 2696 test -z "$ac_c_werror_flag" || | |
| 2697 test ! -s conftest.err | |
| 2698 } && test -s conftest.$ac_objext; then | |
| 2699 ac_compiler_gnu=yes | |
| 2700 else | |
| 2701 echo "$as_me: failed program was:" >&5 | |
| 2702 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 2703 | |
| 2704 ac_compiler_gnu=no | |
| 2705 fi | |
| 2706 | |
| 2707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 2708 ac_cv_c_compiler_gnu=$ac_compiler_gnu | |
| 2709 | |
| 2710 fi | |
| 2711 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | |
| 2712 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } | |
| 2713 GCC=`test $ac_compiler_gnu = yes && echo yes` | |
| 2714 ac_test_CFLAGS=${CFLAGS+set} | |
| 2715 ac_save_CFLAGS=$CFLAGS | |
| 2716 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | |
| 2717 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } | |
| 2718 if test "${ac_cv_prog_cc_g+set}" = set; then | |
| 2719 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 2720 else | |
| 2721 ac_save_c_werror_flag=$ac_c_werror_flag | |
| 2722 ac_c_werror_flag=yes | |
| 2723 ac_cv_prog_cc_g=no | |
| 2724 CFLAGS="-g" | |
| 2725 cat >conftest.$ac_ext <<_ACEOF | |
| 2726 /* confdefs.h. */ | |
| 2727 _ACEOF | |
| 2728 cat confdefs.h >>conftest.$ac_ext | |
| 2729 cat >>conftest.$ac_ext <<_ACEOF | |
| 2730 /* end confdefs.h. */ | |
| 2731 | |
| 2732 int | |
| 2733 main () | |
| 2734 { | |
| 2735 | |
| 2736 ; | |
| 2737 return 0; | |
| 2738 } | |
| 2739 _ACEOF | |
| 2740 rm -f conftest.$ac_objext | |
| 2741 if { (ac_try="$ac_compile" | |
| 2742 case "(($ac_try" in | |
| 2743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2744 *) ac_try_echo=$ac_try;; | |
| 2745 esac | |
| 2746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 2747 (eval "$ac_compile") 2>conftest.er1 | |
| 2748 ac_status=$? | |
| 2749 grep -v '^ *+' conftest.er1 >conftest.err | |
| 2750 rm -f conftest.er1 | |
| 2751 cat conftest.err >&5 | |
| 2752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2753 (exit $ac_status); } && { | |
| 2754 test -z "$ac_c_werror_flag" || | |
| 2755 test ! -s conftest.err | |
| 2756 } && test -s conftest.$ac_objext; then | |
| 2757 ac_cv_prog_cc_g=yes | |
| 2758 else | |
| 2759 echo "$as_me: failed program was:" >&5 | |
| 2760 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 2761 | |
| 2762 CFLAGS="" | |
| 2763 cat >conftest.$ac_ext <<_ACEOF | |
| 2764 /* confdefs.h. */ | |
| 2765 _ACEOF | |
| 2766 cat confdefs.h >>conftest.$ac_ext | |
| 2767 cat >>conftest.$ac_ext <<_ACEOF | |
| 2768 /* end confdefs.h. */ | |
| 2769 | |
| 2770 int | |
| 2771 main () | |
| 2772 { | |
| 2773 | |
| 2774 ; | |
| 2775 return 0; | |
| 2776 } | |
| 2777 _ACEOF | |
| 2778 rm -f conftest.$ac_objext | |
| 2779 if { (ac_try="$ac_compile" | |
| 2780 case "(($ac_try" in | |
| 2781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2782 *) ac_try_echo=$ac_try;; | |
| 2783 esac | |
| 2784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 2785 (eval "$ac_compile") 2>conftest.er1 | |
| 2786 ac_status=$? | |
| 2787 grep -v '^ *+' conftest.er1 >conftest.err | |
| 2788 rm -f conftest.er1 | |
| 2789 cat conftest.err >&5 | |
| 2790 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2791 (exit $ac_status); } && { | |
| 2792 test -z "$ac_c_werror_flag" || | |
| 2793 test ! -s conftest.err | |
| 2794 } && test -s conftest.$ac_objext; then | |
| 2795 : | |
| 2796 else | |
| 2797 echo "$as_me: failed program was:" >&5 | |
| 2798 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 2799 | |
| 2800 ac_c_werror_flag=$ac_save_c_werror_flag | |
| 2801 CFLAGS="-g" | |
| 2802 cat >conftest.$ac_ext <<_ACEOF | |
| 2803 /* confdefs.h. */ | |
| 2804 _ACEOF | |
| 2805 cat confdefs.h >>conftest.$ac_ext | |
| 2806 cat >>conftest.$ac_ext <<_ACEOF | |
| 2807 /* end confdefs.h. */ | |
| 2808 | |
| 2809 int | |
| 2810 main () | |
| 2811 { | |
| 2812 | |
| 2813 ; | |
| 2814 return 0; | |
| 2815 } | |
| 2816 _ACEOF | |
| 2817 rm -f conftest.$ac_objext | |
| 2818 if { (ac_try="$ac_compile" | |
| 2819 case "(($ac_try" in | |
| 2820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2821 *) ac_try_echo=$ac_try;; | |
| 2822 esac | |
| 2823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 2824 (eval "$ac_compile") 2>conftest.er1 | |
| 2825 ac_status=$? | |
| 2826 grep -v '^ *+' conftest.er1 >conftest.err | |
| 2827 rm -f conftest.er1 | |
| 2828 cat conftest.err >&5 | |
| 2829 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2830 (exit $ac_status); } && { | |
| 2831 test -z "$ac_c_werror_flag" || | |
| 2832 test ! -s conftest.err | |
| 2833 } && test -s conftest.$ac_objext; then | |
| 2834 ac_cv_prog_cc_g=yes | |
| 2835 else | |
| 2836 echo "$as_me: failed program was:" >&5 | |
| 2837 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 2838 | |
| 2839 | |
| 2840 fi | |
| 2841 | |
| 2842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 2843 fi | |
| 2844 | |
| 2845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 2846 fi | |
| 2847 | |
| 2848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 2849 ac_c_werror_flag=$ac_save_c_werror_flag | |
| 2850 fi | |
| 2851 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | |
| 2852 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } | |
| 2853 if test "$ac_test_CFLAGS" = set; then | |
| 2854 CFLAGS=$ac_save_CFLAGS | |
| 2855 elif test $ac_cv_prog_cc_g = yes; then | |
| 2856 if test "$GCC" = yes; then | |
| 2857 CFLAGS="-g -O2" | |
| 2858 else | |
| 2859 CFLAGS="-g" | |
| 2860 fi | |
| 2861 else | |
| 2862 if test "$GCC" = yes; then | |
| 2863 CFLAGS="-O2" | |
| 2864 else | |
| 2865 CFLAGS= | |
| 2866 fi | |
| 2867 fi | |
| 2868 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 | |
| 2869 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } | |
| 2870 if test "${ac_cv_prog_cc_c89+set}" = set; then | |
| 2871 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 2872 else | |
| 2873 ac_cv_prog_cc_c89=no | |
| 2874 ac_save_CC=$CC | |
| 2875 cat >conftest.$ac_ext <<_ACEOF | |
| 2876 /* confdefs.h. */ | |
| 2877 _ACEOF | |
| 2878 cat confdefs.h >>conftest.$ac_ext | |
| 2879 cat >>conftest.$ac_ext <<_ACEOF | |
| 2880 /* end confdefs.h. */ | |
| 2881 #include <stdarg.h> | |
| 2882 #include <stdio.h> | |
| 2883 #include <sys/types.h> | |
| 2884 #include <sys/stat.h> | |
| 2885 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | |
| 2886 struct buf { int x; }; | |
| 2887 FILE * (*rcsopen) (struct buf *, struct stat *, int); | |
| 2888 static char *e (p, i) | |
| 2889 char **p; | |
| 2890 int i; | |
| 2891 { | |
| 2892 return p[i]; | |
| 2893 } | |
| 2894 static char *f (char * (*g) (char **, int), char **p, ...) | |
| 2895 { | |
| 2896 char *s; | |
| 2897 va_list v; | |
| 2898 va_start (v,p); | |
| 2899 s = g (p, va_arg (v,int)); | |
| 2900 va_end (v); | |
| 2901 return s; | |
| 2902 } | |
| 2903 | |
| 2904 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | |
| 2905 function prototypes and stuff, but not '\xHH' hex character constants. | |
| 2906 These don't provoke an error unfortunately, instead are silently treated | |
| 2907 as 'x'. The following induces an error, until -std is added to get | |
| 2908 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | |
| 2909 array size at least. It's necessary to write '\x00'==0 to get something | |
| 2910 that's true only with -std. */ | |
| 2911 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | |
| 2912 | |
| 2913 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | |
| 2914 inside strings and character constants. */ | |
| 2915 #define FOO(x) 'x' | |
| 2916 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | |
| 2917 | |
| 2918 int test (int i, double x); | |
| 2919 struct s1 {int (*f) (int a);}; | |
| 2920 struct s2 {int (*f) (double a);}; | |
| 2921 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | |
| 2922 int argc; | |
| 2923 char **argv; | |
| 2924 int | |
| 2925 main () | |
| 2926 { | |
| 2927 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | |
| 2928 ; | |
| 2929 return 0; | |
| 2930 } | |
| 2931 _ACEOF | |
| 2932 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | |
| 2933 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | |
| 2934 do | |
| 2935 CC="$ac_save_CC $ac_arg" | |
| 2936 rm -f conftest.$ac_objext | |
| 2937 if { (ac_try="$ac_compile" | |
| 2938 case "(($ac_try" in | |
| 2939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2940 *) ac_try_echo=$ac_try;; | |
| 2941 esac | |
| 2942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 2943 (eval "$ac_compile") 2>conftest.er1 | |
| 2944 ac_status=$? | |
| 2945 grep -v '^ *+' conftest.er1 >conftest.err | |
| 2946 rm -f conftest.er1 | |
| 2947 cat conftest.err >&5 | |
| 2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 2949 (exit $ac_status); } && { | |
| 2950 test -z "$ac_c_werror_flag" || | |
| 2951 test ! -s conftest.err | |
| 2952 } && test -s conftest.$ac_objext; then | |
| 2953 ac_cv_prog_cc_c89=$ac_arg | |
| 2954 else | |
| 2955 echo "$as_me: failed program was:" >&5 | |
| 2956 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 2957 | |
| 2958 | |
| 2959 fi | |
| 2960 | |
| 2961 rm -f core conftest.err conftest.$ac_objext | |
| 2962 test "x$ac_cv_prog_cc_c89" != "xno" && break | |
| 2963 done | |
| 2964 rm -f conftest.$ac_ext | |
| 2965 CC=$ac_save_CC | |
| 2966 | |
| 2967 fi | |
| 2968 # AC_CACHE_VAL | |
| 2969 case "x$ac_cv_prog_cc_c89" in | |
| 2970 x) | |
| 2971 { echo "$as_me:$LINENO: result: none needed" >&5 | |
| 2972 echo "${ECHO_T}none needed" >&6; } ;; | |
| 2973 xno) | |
| 2974 { echo "$as_me:$LINENO: result: unsupported" >&5 | |
| 2975 echo "${ECHO_T}unsupported" >&6; } ;; | |
| 2976 *) | |
| 2977 CC="$CC $ac_cv_prog_cc_c89" | |
| 2978 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 | |
| 2979 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; | |
| 2980 esac | |
| 2981 | |
| 2982 | |
| 2983 ac_ext=c | |
| 2984 ac_cpp='$CPP $CPPFLAGS' | |
| 2985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 2986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 2987 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 2988 | |
| 2989 | |
| 2990 ac_ext=c | |
| 2991 ac_cpp='$CPP $CPPFLAGS' | |
| 2992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 2993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 2994 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 2995 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | |
| 2996 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } | |
| 2997 # On Suns, sometimes $CPP names a directory. | |
| 2998 if test -n "$CPP" && test -d "$CPP"; then | |
| 2999 CPP= | |
| 3000 fi | |
| 3001 if test -z "$CPP"; then | |
| 3002 if test "${ac_cv_prog_CPP+set}" = set; then | |
| 3003 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 3004 else | |
| 3005 # Double quotes because CPP needs to be expanded | |
| 3006 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | |
| 3007 do | |
| 3008 ac_preproc_ok=false | |
| 3009 for ac_c_preproc_warn_flag in '' yes | |
| 3010 do | |
| 3011 # Use a header file that comes with gcc, so configuring glibc | |
| 3012 # with a fresh cross-compiler works. | |
| 3013 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
| 3014 # <limits.h> exists even on freestanding compilers. | |
| 3015 # On the NeXT, cc -E runs the code through the compiler's parser, | |
| 3016 # not just through cpp. "Syntax error" is here to catch this case. | |
| 3017 cat >conftest.$ac_ext <<_ACEOF | |
| 3018 /* confdefs.h. */ | |
| 3019 _ACEOF | |
| 3020 cat confdefs.h >>conftest.$ac_ext | |
| 3021 cat >>conftest.$ac_ext <<_ACEOF | |
| 3022 /* end confdefs.h. */ | |
| 3023 #ifdef __STDC__ | |
| 3024 # include <limits.h> | |
| 3025 #else | |
| 3026 # include <assert.h> | |
| 3027 #endif | |
| 3028 Syntax error | |
| 3029 _ACEOF | |
| 3030 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
| 3031 case "(($ac_try" in | |
| 3032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3033 *) ac_try_echo=$ac_try;; | |
| 3034 esac | |
| 3035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3036 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
| 3037 ac_status=$? | |
| 3038 grep -v '^ *+' conftest.er1 >conftest.err | |
| 3039 rm -f conftest.er1 | |
| 3040 cat conftest.err >&5 | |
| 3041 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 3042 (exit $ac_status); } >/dev/null && { | |
| 3043 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
| 3044 test ! -s conftest.err | |
| 3045 }; then | |
| 3046 : | |
| 3047 else | |
| 3048 echo "$as_me: failed program was:" >&5 | |
| 3049 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 3050 | |
| 3051 # Broken: fails on valid input. | |
| 3052 continue | |
| 3053 fi | |
| 3054 | |
| 3055 rm -f conftest.err conftest.$ac_ext | |
| 3056 | |
| 3057 # OK, works on sane cases. Now check whether nonexistent headers | |
| 3058 # can be detected and how. | |
| 3059 cat >conftest.$ac_ext <<_ACEOF | |
| 3060 /* confdefs.h. */ | |
| 3061 _ACEOF | |
| 3062 cat confdefs.h >>conftest.$ac_ext | |
| 3063 cat >>conftest.$ac_ext <<_ACEOF | |
| 3064 /* end confdefs.h. */ | |
| 3065 #include <ac_nonexistent.h> | |
| 3066 _ACEOF | |
| 3067 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
| 3068 case "(($ac_try" in | |
| 3069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3070 *) ac_try_echo=$ac_try;; | |
| 3071 esac | |
| 3072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3073 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
| 3074 ac_status=$? | |
| 3075 grep -v '^ *+' conftest.er1 >conftest.err | |
| 3076 rm -f conftest.er1 | |
| 3077 cat conftest.err >&5 | |
| 3078 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 3079 (exit $ac_status); } >/dev/null && { | |
| 3080 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
| 3081 test ! -s conftest.err | |
| 3082 }; then | |
| 3083 # Broken: success on invalid input. | |
| 3084 continue | |
| 3085 else | |
| 3086 echo "$as_me: failed program was:" >&5 | |
| 3087 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 3088 | |
| 3089 # Passes both tests. | |
| 3090 ac_preproc_ok=: | |
| 3091 break | |
| 3092 fi | |
| 3093 | |
| 3094 rm -f conftest.err conftest.$ac_ext | |
| 3095 | |
| 3096 done | |
| 3097 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
| 3098 rm -f conftest.err conftest.$ac_ext | |
| 3099 if $ac_preproc_ok; then | |
| 3100 break | |
| 3101 fi | |
| 3102 | |
| 3103 done | |
| 3104 ac_cv_prog_CPP=$CPP | |
| 3105 | |
| 3106 fi | |
| 3107 CPP=$ac_cv_prog_CPP | |
| 3108 else | |
| 3109 ac_cv_prog_CPP=$CPP | |
| 3110 fi | |
| 3111 { echo "$as_me:$LINENO: result: $CPP" >&5 | |
| 3112 echo "${ECHO_T}$CPP" >&6; } | |
| 3113 ac_preproc_ok=false | |
| 3114 for ac_c_preproc_warn_flag in '' yes | |
| 3115 do | |
| 3116 # Use a header file that comes with gcc, so configuring glibc | |
| 3117 # with a fresh cross-compiler works. | |
| 3118 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
| 3119 # <limits.h> exists even on freestanding compilers. | |
| 3120 # On the NeXT, cc -E runs the code through the compiler's parser, | |
| 3121 # not just through cpp. "Syntax error" is here to catch this case. | |
| 3122 cat >conftest.$ac_ext <<_ACEOF | |
| 3123 /* confdefs.h. */ | |
| 3124 _ACEOF | |
| 3125 cat confdefs.h >>conftest.$ac_ext | |
| 3126 cat >>conftest.$ac_ext <<_ACEOF | |
| 3127 /* end confdefs.h. */ | |
| 3128 #ifdef __STDC__ | |
| 3129 # include <limits.h> | |
| 3130 #else | |
| 3131 # include <assert.h> | |
| 3132 #endif | |
| 3133 Syntax error | |
| 3134 _ACEOF | |
| 3135 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
| 3136 case "(($ac_try" in | |
| 3137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3138 *) ac_try_echo=$ac_try;; | |
| 3139 esac | |
| 3140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3141 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
| 3142 ac_status=$? | |
| 3143 grep -v '^ *+' conftest.er1 >conftest.err | |
| 3144 rm -f conftest.er1 | |
| 3145 cat conftest.err >&5 | |
| 3146 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 3147 (exit $ac_status); } >/dev/null && { | |
| 3148 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
| 3149 test ! -s conftest.err | |
| 3150 }; then | |
| 3151 : | |
| 3152 else | |
| 3153 echo "$as_me: failed program was:" >&5 | |
| 3154 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 3155 | |
| 3156 # Broken: fails on valid input. | |
| 3157 continue | |
| 3158 fi | |
| 3159 | |
| 3160 rm -f conftest.err conftest.$ac_ext | |
| 3161 | |
| 3162 # OK, works on sane cases. Now check whether nonexistent headers | |
| 3163 # can be detected and how. | |
| 3164 cat >conftest.$ac_ext <<_ACEOF | |
| 3165 /* confdefs.h. */ | |
| 3166 _ACEOF | |
| 3167 cat confdefs.h >>conftest.$ac_ext | |
| 3168 cat >>conftest.$ac_ext <<_ACEOF | |
| 3169 /* end confdefs.h. */ | |
| 3170 #include <ac_nonexistent.h> | |
| 3171 _ACEOF | |
| 3172 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
| 3173 case "(($ac_try" in | |
| 3174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3175 *) ac_try_echo=$ac_try;; | |
| 3176 esac | |
| 3177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3178 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
| 3179 ac_status=$? | |
| 3180 grep -v '^ *+' conftest.er1 >conftest.err | |
| 3181 rm -f conftest.er1 | |
| 3182 cat conftest.err >&5 | |
| 3183 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 3184 (exit $ac_status); } >/dev/null && { | |
| 3185 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
| 3186 test ! -s conftest.err | |
| 3187 }; then | |
| 3188 # Broken: success on invalid input. | |
| 3189 continue | |
| 3190 else | |
| 3191 echo "$as_me: failed program was:" >&5 | |
| 3192 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 3193 | |
| 3194 # Passes both tests. | |
| 3195 ac_preproc_ok=: | |
| 3196 break | |
| 3197 fi | |
| 3198 | |
| 3199 rm -f conftest.err conftest.$ac_ext | |
| 3200 | |
| 3201 done | |
| 3202 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
| 3203 rm -f conftest.err conftest.$ac_ext | |
| 3204 if $ac_preproc_ok; then | |
| 3205 : | |
| 3206 else | |
| 3207 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | |
| 3208 See \`config.log' for more details." >&5 | |
| 3209 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | |
| 3210 See \`config.log' for more details." >&2;} | |
| 3211 { (exit 1); exit 1; }; } | |
| 3212 fi | |
| 3213 | |
| 3214 ac_ext=c | |
| 3215 ac_cpp='$CPP $CPPFLAGS' | |
| 3216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 3217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 3218 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 3219 | |
| 3220 | |
| 3221 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 | |
| 3222 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } | |
| 3223 if test "${ac_cv_path_GREP+set}" = set; then | |
| 3224 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 3225 else | |
| 3226 # Extract the first word of "grep ggrep" to use in msg output | |
| 3227 if test -z "$GREP"; then | |
| 3228 set dummy grep ggrep; ac_prog_name=$2 | |
| 3229 if test "${ac_cv_path_GREP+set}" = set; then | |
| 3230 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 3231 else | |
| 3232 ac_path_GREP_found=false | |
| 3233 # Loop through the user's path and test for each of PROGNAME-LIST | |
| 3234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 3235 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
| 3236 do | |
| 3237 IFS=$as_save_IFS | |
| 3238 test -z "$as_dir" && as_dir=. | |
| 3239 for ac_prog in grep ggrep; do | |
| 3240 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 3241 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | |
| 3242 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | |
| 3243 # Check for GNU ac_path_GREP and select it if it is found. | |
| 3244 # Check for GNU $ac_path_GREP | |
| 3245 case `"$ac_path_GREP" --version 2>&1` in | |
| 3246 *GNU*) | |
| 3247 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | |
| 3248 *) | |
| 3249 ac_count=0 | |
| 3250 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" | |
| 3251 while : | |
| 3252 do | |
| 3253 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
| 3254 mv "conftest.tmp" "conftest.in" | |
| 3255 cp "conftest.in" "conftest.nl" | |
| 3256 echo 'GREP' >> "conftest.nl" | |
| 3257 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
| 3258 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
| 3259 ac_count=`expr $ac_count + 1` | |
| 3260 if test $ac_count -gt ${ac_path_GREP_max-0}; then | |
| 3261 # Best one so far, save it but keep looking for a better one | |
| 3262 ac_cv_path_GREP="$ac_path_GREP" | |
| 3263 ac_path_GREP_max=$ac_count | |
| 3264 fi | |
| 3265 # 10*(2^10) chars as input seems more than enough | |
| 3266 test $ac_count -gt 10 && break | |
| 3267 done | |
| 3268 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
| 3269 esac | |
| 3270 | |
| 3271 | |
| 3272 $ac_path_GREP_found && break 3 | |
| 3273 done | |
| 3274 done | |
| 3275 | |
| 3276 done | |
| 3277 IFS=$as_save_IFS | |
| 3278 | |
| 3279 | |
| 3280 fi | |
| 3281 | |
| 3282 GREP="$ac_cv_path_GREP" | |
| 3283 if test -z "$GREP"; then | |
| 3284 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | |
| 3285 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | |
| 3286 { (exit 1); exit 1; }; } | |
| 3287 fi | |
| 3288 | |
| 3289 else | |
| 3290 ac_cv_path_GREP=$GREP | |
| 3291 fi | |
| 3292 | |
| 3293 | |
| 3294 fi | |
| 3295 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 | |
| 3296 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } | |
| 3297 GREP="$ac_cv_path_GREP" | |
| 3298 | |
| 3299 | |
| 3300 { echo "$as_me:$LINENO: checking for egrep" >&5 | |
| 3301 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } | |
| 3302 if test "${ac_cv_path_EGREP+set}" = set; then | |
| 3303 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 3304 else | |
| 3305 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | |
| 3306 then ac_cv_path_EGREP="$GREP -E" | |
| 3307 else | |
| 3308 # Extract the first word of "egrep" to use in msg output | |
| 3309 if test -z "$EGREP"; then | |
| 3310 set dummy egrep; ac_prog_name=$2 | |
| 3311 if test "${ac_cv_path_EGREP+set}" = set; then | |
| 3312 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 3313 else | |
| 3314 ac_path_EGREP_found=false | |
| 3315 # Loop through the user's path and test for each of PROGNAME-LIST | |
| 3316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 3317 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
| 3318 do | |
| 3319 IFS=$as_save_IFS | |
| 3320 test -z "$as_dir" && as_dir=. | |
| 3321 for ac_prog in egrep; do | |
| 3322 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 3323 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | |
| 3324 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | |
| 3325 # Check for GNU ac_path_EGREP and select it if it is found. | |
| 3326 # Check for GNU $ac_path_EGREP | |
| 3327 case `"$ac_path_EGREP" --version 2>&1` in | |
| 3328 *GNU*) | |
| 3329 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | |
| 3330 *) | |
| 3331 ac_count=0 | |
| 3332 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" | |
| 3333 while : | |
| 3334 do | |
| 3335 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
| 3336 mv "conftest.tmp" "conftest.in" | |
| 3337 cp "conftest.in" "conftest.nl" | |
| 3338 echo 'EGREP' >> "conftest.nl" | |
| 3339 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
| 3340 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
| 3341 ac_count=`expr $ac_count + 1` | |
| 3342 if test $ac_count -gt ${ac_path_EGREP_max-0}; then | |
| 3343 # Best one so far, save it but keep looking for a better one | |
| 3344 ac_cv_path_EGREP="$ac_path_EGREP" | |
| 3345 ac_path_EGREP_max=$ac_count | |
| 3346 fi | |
| 3347 # 10*(2^10) chars as input seems more than enough | |
| 3348 test $ac_count -gt 10 && break | |
| 3349 done | |
| 3350 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
| 3351 esac | |
| 3352 | |
| 3353 | |
| 3354 $ac_path_EGREP_found && break 3 | |
| 3355 done | |
| 3356 done | |
| 3357 | |
| 3358 done | |
| 3359 IFS=$as_save_IFS | |
| 3360 | |
| 3361 | |
| 3362 fi | |
| 3363 | |
| 3364 EGREP="$ac_cv_path_EGREP" | |
| 3365 if test -z "$EGREP"; then | |
| 3366 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | |
| 3367 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | |
| 3368 { (exit 1); exit 1; }; } | |
| 3369 fi | |
| 3370 | |
| 3371 else | |
| 3372 ac_cv_path_EGREP=$EGREP | |
| 3373 fi | |
| 3374 | |
| 3375 | |
| 3376 fi | |
| 3377 fi | |
| 3378 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 | |
| 3379 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } | |
| 3380 EGREP="$ac_cv_path_EGREP" | |
| 3381 | |
| 3382 | |
| 3383 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | |
| 3384 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } | |
| 3385 if test "${ac_cv_header_stdc+set}" = set; then | |
| 3386 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 3387 else | |
| 3388 cat >conftest.$ac_ext <<_ACEOF | |
| 3389 /* confdefs.h. */ | |
| 3390 _ACEOF | |
| 3391 cat confdefs.h >>conftest.$ac_ext | |
| 3392 cat >>conftest.$ac_ext <<_ACEOF | |
| 3393 /* end confdefs.h. */ | |
| 3394 #include <stdlib.h> | |
| 3395 #include <stdarg.h> | |
| 3396 #include <string.h> | |
| 3397 #include <float.h> | |
| 3398 | |
| 3399 int | |
| 3400 main () | |
| 3401 { | |
| 3402 | |
| 3403 ; | |
| 3404 return 0; | |
| 3405 } | |
| 3406 _ACEOF | |
| 3407 rm -f conftest.$ac_objext | |
| 3408 if { (ac_try="$ac_compile" | |
| 3409 case "(($ac_try" in | |
| 3410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3411 *) ac_try_echo=$ac_try;; | |
| 3412 esac | |
| 3413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3414 (eval "$ac_compile") 2>conftest.er1 | |
| 3415 ac_status=$? | |
| 3416 grep -v '^ *+' conftest.er1 >conftest.err | |
| 3417 rm -f conftest.er1 | |
| 3418 cat conftest.err >&5 | |
| 3419 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 3420 (exit $ac_status); } && { | |
| 3421 test -z "$ac_c_werror_flag" || | |
| 3422 test ! -s conftest.err | |
| 3423 } && test -s conftest.$ac_objext; then | |
| 3424 ac_cv_header_stdc=yes | |
| 3425 else | |
| 3426 echo "$as_me: failed program was:" >&5 | |
| 3427 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 3428 | |
| 3429 ac_cv_header_stdc=no | |
| 3430 fi | |
| 3431 | |
| 3432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3433 | |
| 3434 if test $ac_cv_header_stdc = yes; then | |
| 3435 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | |
| 3436 cat >conftest.$ac_ext <<_ACEOF | |
| 3437 /* confdefs.h. */ | |
| 3438 _ACEOF | |
| 3439 cat confdefs.h >>conftest.$ac_ext | |
| 3440 cat >>conftest.$ac_ext <<_ACEOF | |
| 3441 /* end confdefs.h. */ | |
| 3442 #include <string.h> | |
| 3443 | |
| 3444 _ACEOF | |
| 3445 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
| 3446 $EGREP "memchr" >/dev/null 2>&1; then | |
| 3447 : | |
| 3448 else | |
| 3449 ac_cv_header_stdc=no | |
| 3450 fi | |
| 3451 rm -f conftest* | |
| 3452 | |
| 3453 fi | |
| 3454 | |
| 3455 if test $ac_cv_header_stdc = yes; then | |
| 3456 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | |
| 3457 cat >conftest.$ac_ext <<_ACEOF | |
| 3458 /* confdefs.h. */ | |
| 3459 _ACEOF | |
| 3460 cat confdefs.h >>conftest.$ac_ext | |
| 3461 cat >>conftest.$ac_ext <<_ACEOF | |
| 3462 /* end confdefs.h. */ | |
| 3463 #include <stdlib.h> | |
| 3464 | |
| 3465 _ACEOF | |
| 3466 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
| 3467 $EGREP "free" >/dev/null 2>&1; then | |
| 3468 : | |
| 3469 else | |
| 3470 ac_cv_header_stdc=no | |
| 3471 fi | |
| 3472 rm -f conftest* | |
| 3473 | |
| 3474 fi | |
| 3475 | |
| 3476 if test $ac_cv_header_stdc = yes; then | |
| 3477 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | |
| 3478 if test "$cross_compiling" = yes; then | |
| 3479 : | |
| 3480 else | |
| 3481 cat >conftest.$ac_ext <<_ACEOF | |
| 3482 /* confdefs.h. */ | |
| 3483 _ACEOF | |
| 3484 cat confdefs.h >>conftest.$ac_ext | |
| 3485 cat >>conftest.$ac_ext <<_ACEOF | |
| 3486 /* end confdefs.h. */ | |
| 3487 #include <ctype.h> | |
| 3488 #include <stdlib.h> | |
| 3489 #if ((' ' & 0x0FF) == 0x020) | |
| 3490 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | |
| 3491 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | |
| 3492 #else | |
| 3493 # define ISLOWER(c) \ | |
| 3494 (('a' <= (c) && (c) <= 'i') \ | |
| 3495 || ('j' <= (c) && (c) <= 'r') \ | |
| 3496 || ('s' <= (c) && (c) <= 'z')) | |
| 3497 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | |
| 3498 #endif | |
| 3499 | |
| 3500 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | |
| 3501 int | |
| 3502 main () | |
| 3503 { | |
| 3504 int i; | |
| 3505 for (i = 0; i < 256; i++) | |
| 3506 if (XOR (islower (i), ISLOWER (i)) | |
| 3507 || toupper (i) != TOUPPER (i)) | |
| 3508 return 2; | |
| 3509 return 0; | |
| 3510 } | |
| 3511 _ACEOF | |
| 3512 rm -f conftest$ac_exeext | |
| 3513 if { (ac_try="$ac_link" | |
| 3514 case "(($ac_try" in | |
| 3515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3516 *) ac_try_echo=$ac_try;; | |
| 3517 esac | |
| 3518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3519 (eval "$ac_link") 2>&5 | |
| 3520 ac_status=$? | |
| 3521 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 3522 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
| 3523 { (case "(($ac_try" in | |
| 3524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3525 *) ac_try_echo=$ac_try;; | |
| 3526 esac | |
| 3527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3528 (eval "$ac_try") 2>&5 | |
| 3529 ac_status=$? | |
| 3530 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 3531 (exit $ac_status); }; }; then | |
| 3532 : | |
| 3533 else | |
| 3534 echo "$as_me: program exited with status $ac_status" >&5 | |
| 3535 echo "$as_me: failed program was:" >&5 | |
| 3536 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 3537 | |
| 3538 ( exit $ac_status ) | |
| 3539 ac_cv_header_stdc=no | |
| 3540 fi | |
| 3541 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
| 3542 fi | |
| 3543 | |
| 3544 | |
| 3545 fi | |
| 3546 fi | |
| 3547 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | |
| 3548 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } | |
| 3549 if test $ac_cv_header_stdc = yes; then | |
| 3550 | |
| 3551 cat >>confdefs.h <<\_ACEOF | |
| 3552 #define STDC_HEADERS 1 | |
| 3553 _ACEOF | |
| 3554 | |
| 3555 fi | |
| 3556 | |
| 3557 # On IRIX 5.3, sys/types and inttypes.h are conflicting. | |
| 3558 | |
| 3559 | |
| 3560 | |
| 3561 | |
| 3562 | |
| 3563 | |
| 3564 | |
| 3565 | |
| 3566 | |
| 3567 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | |
| 3568 inttypes.h stdint.h unistd.h | |
| 3569 do | |
| 3570 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
| 3571 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
| 3572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | |
| 3573 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
| 3574 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 3575 else | |
| 3576 cat >conftest.$ac_ext <<_ACEOF | |
| 3577 /* confdefs.h. */ | |
| 3578 _ACEOF | |
| 3579 cat confdefs.h >>conftest.$ac_ext | |
| 3580 cat >>conftest.$ac_ext <<_ACEOF | |
| 3581 /* end confdefs.h. */ | |
| 3582 $ac_includes_default | |
| 3583 | |
| 3584 #include <$ac_header> | |
| 3585 _ACEOF | |
| 3586 rm -f conftest.$ac_objext | |
| 3587 if { (ac_try="$ac_compile" | |
| 3588 case "(($ac_try" in | |
| 3589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3590 *) ac_try_echo=$ac_try;; | |
| 3591 esac | |
| 3592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3593 (eval "$ac_compile") 2>conftest.er1 | |
| 3594 ac_status=$? | |
| 3595 grep -v '^ *+' conftest.er1 >conftest.err | |
| 3596 rm -f conftest.er1 | |
| 3597 cat conftest.err >&5 | |
| 3598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 3599 (exit $ac_status); } && { | |
| 3600 test -z "$ac_c_werror_flag" || | |
| 3601 test ! -s conftest.err | |
| 3602 } && test -s conftest.$ac_objext; then | |
| 3603 eval "$as_ac_Header=yes" | |
| 3604 else | |
| 3605 echo "$as_me: failed program was:" >&5 | |
| 3606 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 3607 | |
| 3608 eval "$as_ac_Header=no" | |
| 3609 fi | |
| 3610 | |
| 3611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3612 fi | |
| 3613 ac_res=`eval echo '${'$as_ac_Header'}'` | |
| 3614 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
| 3615 echo "${ECHO_T}$ac_res" >&6; } | |
| 3616 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
| 3617 cat >>confdefs.h <<_ACEOF | |
| 3618 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
| 3619 _ACEOF | |
| 3620 | |
| 3621 fi | |
| 3622 | |
| 3623 done | |
| 3624 | |
| 3625 | |
| 3626 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 | |
| 3627 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } | |
| 3628 if test "${ac_cv_c_bigendian+set}" = set; then | |
| 3629 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 3630 else | |
| 3631 # See if sys/param.h defines the BYTE_ORDER macro. | |
| 3632 cat >conftest.$ac_ext <<_ACEOF | |
| 3633 /* confdefs.h. */ | |
| 3634 _ACEOF | |
| 3635 cat confdefs.h >>conftest.$ac_ext | |
| 3636 cat >>conftest.$ac_ext <<_ACEOF | |
| 3637 /* end confdefs.h. */ | |
| 3638 #include <sys/types.h> | |
| 3639 #include <sys/param.h> | |
| 3640 | |
| 3641 int | |
| 3642 main () | |
| 3643 { | |
| 3644 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ | |
| 3645 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) | |
| 3646 bogus endian macros | |
| 3647 #endif | |
| 3648 | |
| 3649 ; | |
| 3650 return 0; | |
| 3651 } | |
| 3652 _ACEOF | |
| 3653 rm -f conftest.$ac_objext | |
| 3654 if { (ac_try="$ac_compile" | |
| 3655 case "(($ac_try" in | |
| 3656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3657 *) ac_try_echo=$ac_try;; | |
| 3658 esac | |
| 3659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3660 (eval "$ac_compile") 2>conftest.er1 | |
| 3661 ac_status=$? | |
| 3662 grep -v '^ *+' conftest.er1 >conftest.err | |
| 3663 rm -f conftest.er1 | |
| 3664 cat conftest.err >&5 | |
| 3665 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 3666 (exit $ac_status); } && { | |
| 3667 test -z "$ac_c_werror_flag" || | |
| 3668 test ! -s conftest.err | |
| 3669 } && test -s conftest.$ac_objext; then | |
| 3670 # It does; now see whether it defined to BIG_ENDIAN or not. | |
| 3671 cat >conftest.$ac_ext <<_ACEOF | |
| 3672 /* confdefs.h. */ | |
| 3673 _ACEOF | |
| 3674 cat confdefs.h >>conftest.$ac_ext | |
| 3675 cat >>conftest.$ac_ext <<_ACEOF | |
| 3676 /* end confdefs.h. */ | |
| 3677 #include <sys/types.h> | |
| 3678 #include <sys/param.h> | |
| 3679 | |
| 3680 int | |
| 3681 main () | |
| 3682 { | |
| 3683 #if BYTE_ORDER != BIG_ENDIAN | |
| 3684 not big endian | |
| 3685 #endif | |
| 3686 | |
| 3687 ; | |
| 3688 return 0; | |
| 3689 } | |
| 3690 _ACEOF | |
| 3691 rm -f conftest.$ac_objext | |
| 3692 if { (ac_try="$ac_compile" | |
| 3693 case "(($ac_try" in | |
| 3694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3695 *) ac_try_echo=$ac_try;; | |
| 3696 esac | |
| 3697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3698 (eval "$ac_compile") 2>conftest.er1 | |
| 3699 ac_status=$? | |
| 3700 grep -v '^ *+' conftest.er1 >conftest.err | |
| 3701 rm -f conftest.er1 | |
| 3702 cat conftest.err >&5 | |
| 3703 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 3704 (exit $ac_status); } && { | |
| 3705 test -z "$ac_c_werror_flag" || | |
| 3706 test ! -s conftest.err | |
| 3707 } && test -s conftest.$ac_objext; then | |
| 3708 ac_cv_c_bigendian=yes | |
| 3709 else | |
| 3710 echo "$as_me: failed program was:" >&5 | |
| 3711 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 3712 | |
| 3713 ac_cv_c_bigendian=no | |
| 3714 fi | |
| 3715 | |
| 3716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3717 else | |
| 3718 echo "$as_me: failed program was:" >&5 | |
| 3719 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 3720 | |
| 3721 # It does not; compile a test program. | |
| 3722 if test "$cross_compiling" = yes; then | |
| 3723 # try to guess the endianness by grepping values into an object file | |
| 3724 ac_cv_c_bigendian=unknown | |
| 3725 cat >conftest.$ac_ext <<_ACEOF | |
| 3726 /* confdefs.h. */ | |
| 3727 _ACEOF | |
| 3728 cat confdefs.h >>conftest.$ac_ext | |
| 3729 cat >>conftest.$ac_ext <<_ACEOF | |
| 3730 /* end confdefs.h. */ | |
| 3731 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; | |
| 3732 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; | |
| 3733 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } | |
| 3734 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; | |
| 3735 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; | |
| 3736 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } | |
| 3737 int | |
| 3738 main () | |
| 3739 { | |
| 3740 _ascii (); _ebcdic (); | |
| 3741 ; | |
| 3742 return 0; | |
| 3743 } | |
| 3744 _ACEOF | |
| 3745 rm -f conftest.$ac_objext | |
| 3746 if { (ac_try="$ac_compile" | |
| 3747 case "(($ac_try" in | |
| 3748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3749 *) ac_try_echo=$ac_try;; | |
| 3750 esac | |
| 3751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3752 (eval "$ac_compile") 2>conftest.er1 | |
| 3753 ac_status=$? | |
| 3754 grep -v '^ *+' conftest.er1 >conftest.err | |
| 3755 rm -f conftest.er1 | |
| 3756 cat conftest.err >&5 | |
| 3757 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 3758 (exit $ac_status); } && { | |
| 3759 test -z "$ac_c_werror_flag" || | |
| 3760 test ! -s conftest.err | |
| 3761 } && test -s conftest.$ac_objext; then | |
| 3762 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then | |
| 3763 ac_cv_c_bigendian=yes | |
| 3764 fi | |
| 3765 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then | |
| 3766 if test "$ac_cv_c_bigendian" = unknown; then | |
| 3767 ac_cv_c_bigendian=no | |
| 3768 else | |
| 3769 # finding both strings is unlikely to happen, but who knows? | |
| 3770 ac_cv_c_bigendian=unknown | |
| 3771 fi | |
| 3772 fi | |
| 3773 else | |
| 3774 echo "$as_me: failed program was:" >&5 | |
| 3775 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 3776 | |
| 3777 | |
| 3778 fi | |
| 3779 | |
| 3780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3781 else | |
| 3782 cat >conftest.$ac_ext <<_ACEOF | |
| 3783 /* confdefs.h. */ | |
| 3784 _ACEOF | |
| 3785 cat confdefs.h >>conftest.$ac_ext | |
| 3786 cat >>conftest.$ac_ext <<_ACEOF | |
| 3787 /* end confdefs.h. */ | |
| 3788 $ac_includes_default | |
| 3789 int | |
| 3790 main () | |
| 3791 { | |
| 3792 | |
| 3793 /* Are we little or big endian? From Harbison&Steele. */ | |
| 3794 union | |
| 3795 { | |
| 3796 long int l; | |
| 3797 char c[sizeof (long int)]; | |
| 3798 } u; | |
| 3799 u.l = 1; | |
| 3800 return u.c[sizeof (long int) - 1] == 1; | |
| 3801 | |
| 3802 ; | |
| 3803 return 0; | |
| 3804 } | |
| 3805 _ACEOF | |
| 3806 rm -f conftest$ac_exeext | |
| 3807 if { (ac_try="$ac_link" | |
| 3808 case "(($ac_try" in | |
| 3809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3810 *) ac_try_echo=$ac_try;; | |
| 3811 esac | |
| 3812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3813 (eval "$ac_link") 2>&5 | |
| 3814 ac_status=$? | |
| 3815 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 3816 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
| 3817 { (case "(($ac_try" in | |
| 3818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3819 *) ac_try_echo=$ac_try;; | |
| 3820 esac | |
| 3821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3822 (eval "$ac_try") 2>&5 | |
| 3823 ac_status=$? | |
| 3824 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 3825 (exit $ac_status); }; }; then | |
| 3826 ac_cv_c_bigendian=no | |
| 3827 else | |
| 3828 echo "$as_me: program exited with status $ac_status" >&5 | |
| 3829 echo "$as_me: failed program was:" >&5 | |
| 3830 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 3831 | |
| 3832 ( exit $ac_status ) | |
| 3833 ac_cv_c_bigendian=yes | |
| 3834 fi | |
| 3835 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
| 3836 fi | |
| 3837 | |
| 3838 | |
| 3839 fi | |
| 3840 | |
| 3841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3842 fi | |
| 3843 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 | |
| 3844 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } | |
| 3845 case $ac_cv_c_bigendian in | |
| 3846 yes) | |
| 3847 | |
| 3848 cat >>confdefs.h <<\_ACEOF | |
| 3849 #define WORDS_BIGENDIAN 1 | |
| 3850 _ACEOF | |
| 3851 ;; | |
| 3852 no) | |
| 3853 ;; | |
| 3854 *) | |
| 3855 { { echo "$as_me:$LINENO: error: unknown endianness | |
| 3856 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 | |
| 3857 echo "$as_me: error: unknown endianness | |
| 3858 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} | |
| 3859 { (exit 1); exit 1; }; } ;; | |
| 3860 esac | |
| 3861 | |
| 3862 | |
| 3863 if pkg-config --modversion vamp-sdk >/dev/null 2>&1; then | |
| 3864 echo "WARNING: A version of the Vamp plugin SDK is already installed." | |
| 3865 echo " Expect worries and sorrows if you install a new version" | |
| 3866 echo " without removing the old one first. (Continuing)" | |
| 3867 fi | |
| 3868 | |
| 3869 { echo "$as_me:$LINENO: checking for library containing dlopen" >&5 | |
| 3870 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; } | |
| 3871 if test "${ac_cv_search_dlopen+set}" = set; then | |
| 3872 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 3873 else | |
| 3874 ac_func_search_save_LIBS=$LIBS | |
| 3875 cat >conftest.$ac_ext <<_ACEOF | |
| 3876 /* confdefs.h. */ | |
| 3877 _ACEOF | |
| 3878 cat confdefs.h >>conftest.$ac_ext | |
| 3879 cat >>conftest.$ac_ext <<_ACEOF | |
| 3880 /* end confdefs.h. */ | |
| 3881 | |
| 3882 /* Override any GCC internal prototype to avoid an error. | |
| 3883 Use char because int might match the return type of a GCC | |
| 3884 builtin and then its argument prototype would still apply. */ | |
| 3885 #ifdef __cplusplus | |
| 3886 extern "C" | |
| 3887 #endif | |
| 3888 char dlopen (); | |
| 3889 int | |
| 3890 main () | |
| 3891 { | |
| 3892 return dlopen (); | |
| 3893 ; | |
| 3894 return 0; | |
| 3895 } | |
| 3896 _ACEOF | |
| 3897 for ac_lib in '' dl; do | |
| 3898 if test -z "$ac_lib"; then | |
| 3899 ac_res="none required" | |
| 3900 else | |
| 3901 ac_res=-l$ac_lib | |
| 3902 LIBS="-l$ac_lib $ac_func_search_save_LIBS" | |
| 3903 fi | |
| 3904 rm -f conftest.$ac_objext conftest$ac_exeext | |
| 3905 if { (ac_try="$ac_link" | |
| 3906 case "(($ac_try" in | |
| 3907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3908 *) ac_try_echo=$ac_try;; | |
| 3909 esac | |
| 3910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3911 (eval "$ac_link") 2>conftest.er1 | |
| 3912 ac_status=$? | |
| 3913 grep -v '^ *+' conftest.er1 >conftest.err | |
| 3914 rm -f conftest.er1 | |
| 3915 cat conftest.err >&5 | |
| 3916 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 3917 (exit $ac_status); } && { | |
| 3918 test -z "$ac_c_werror_flag" || | |
| 3919 test ! -s conftest.err | |
| 3920 } && test -s conftest$ac_exeext && | |
| 3921 $as_test_x conftest$ac_exeext; then | |
| 3922 ac_cv_search_dlopen=$ac_res | |
| 3923 else | |
| 3924 echo "$as_me: failed program was:" >&5 | |
| 3925 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 3926 | |
| 3927 | |
| 3928 fi | |
| 3929 | |
| 3930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
| 3931 conftest$ac_exeext | |
| 3932 if test "${ac_cv_search_dlopen+set}" = set; then | |
| 3933 break | |
| 3934 fi | |
| 3935 done | |
| 3936 if test "${ac_cv_search_dlopen+set}" = set; then | |
| 3937 : | |
| 3938 else | |
| 3939 ac_cv_search_dlopen=no | |
| 3940 fi | |
| 3941 rm conftest.$ac_ext | |
| 3942 LIBS=$ac_func_search_save_LIBS | |
| 3943 fi | |
| 3944 { echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5 | |
| 3945 echo "${ECHO_T}$ac_cv_search_dlopen" >&6; } | |
| 3946 ac_res=$ac_cv_search_dlopen | |
| 3947 if test "$ac_res" != no; then | |
| 3948 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | |
| 3949 | |
| 3950 fi | |
| 3951 | |
| 3952 | |
| 3953 | |
| 3954 | |
| 3955 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then | |
| 3956 if test -n "$ac_tool_prefix"; then | |
| 3957 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. | |
| 3958 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 | |
| 3959 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
| 3960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
| 3961 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | |
| 3962 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 3963 else | |
| 3964 case $PKG_CONFIG in | |
| 3965 [\\/]* | ?:[\\/]*) | |
| 3966 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | |
| 3967 ;; | |
| 3968 *) | |
| 3969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 3970 for as_dir in $PATH | |
| 3971 do | |
| 3972 IFS=$as_save_IFS | |
| 3973 test -z "$as_dir" && as_dir=. | |
| 3974 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 3975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 3976 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | |
| 3977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 3978 break 2 | |
| 3979 fi | |
| 3980 done | |
| 3981 done | |
| 3982 IFS=$as_save_IFS | |
| 3983 | |
| 3984 ;; | |
| 3985 esac | |
| 3986 fi | |
| 3987 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | |
| 3988 if test -n "$PKG_CONFIG"; then | |
| 3989 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | |
| 3990 echo "${ECHO_T}$PKG_CONFIG" >&6; } | |
| 3991 else | |
| 3992 { echo "$as_me:$LINENO: result: no" >&5 | |
| 3993 echo "${ECHO_T}no" >&6; } | |
| 3994 fi | |
| 3995 | |
| 3996 | |
| 3997 fi | |
| 3998 if test -z "$ac_cv_path_PKG_CONFIG"; then | |
| 3999 ac_pt_PKG_CONFIG=$PKG_CONFIG | |
| 4000 # Extract the first word of "pkg-config", so it can be a program name with args. | |
| 4001 set dummy pkg-config; ac_word=$2 | |
| 4002 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
| 4003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
| 4004 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then | |
| 4005 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 4006 else | |
| 4007 case $ac_pt_PKG_CONFIG in | |
| 4008 [\\/]* | ?:[\\/]*) | |
| 4009 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. | |
| 4010 ;; | |
| 4011 *) | |
| 4012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 4013 for as_dir in $PATH | |
| 4014 do | |
| 4015 IFS=$as_save_IFS | |
| 4016 test -z "$as_dir" && as_dir=. | |
| 4017 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 4018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 4019 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | |
| 4020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 4021 break 2 | |
| 4022 fi | |
| 4023 done | |
| 4024 done | |
| 4025 IFS=$as_save_IFS | |
| 4026 | |
| 4027 ;; | |
| 4028 esac | |
| 4029 fi | |
| 4030 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG | |
| 4031 if test -n "$ac_pt_PKG_CONFIG"; then | |
| 4032 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 | |
| 4033 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; } | |
| 4034 else | |
| 4035 { echo "$as_me:$LINENO: result: no" >&5 | |
| 4036 echo "${ECHO_T}no" >&6; } | |
| 4037 fi | |
| 4038 | |
| 4039 if test "x$ac_pt_PKG_CONFIG" = x; then | |
| 4040 PKG_CONFIG="" | |
| 4041 else | |
| 4042 case $cross_compiling:$ac_tool_warned in | |
| 4043 yes:) | |
| 4044 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | |
| 4045 whose name does not start with the host triplet. If you think this | |
| 4046 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
| 4047 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
| 4048 whose name does not start with the host triplet. If you think this | |
| 4049 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
| 4050 ac_tool_warned=yes ;; | |
| 4051 esac | |
| 4052 PKG_CONFIG=$ac_pt_PKG_CONFIG | |
| 4053 fi | |
| 4054 else | |
| 4055 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" | |
| 4056 fi | |
| 4057 | |
| 4058 fi | |
| 4059 if test -n "$PKG_CONFIG"; then | |
| 4060 _pkg_min_version=0.9.0 | |
| 4061 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 | |
| 4062 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; } | |
| 4063 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then | |
| 4064 { echo "$as_me:$LINENO: result: yes" >&5 | |
| 4065 echo "${ECHO_T}yes" >&6; } | |
| 4066 else | |
| 4067 { echo "$as_me:$LINENO: result: no" >&5 | |
| 4068 echo "${ECHO_T}no" >&6; } | |
| 4069 PKG_CONFIG="" | |
| 4070 fi | |
| 4071 | |
| 4072 fi | |
| 4073 | |
| 4074 pkg_failed=no | |
| 4075 { echo "$as_me:$LINENO: checking for SNDFILE" >&5 | |
| 4076 echo $ECHO_N "checking for SNDFILE... $ECHO_C" >&6; } | |
| 4077 | |
| 4078 if test -n "$PKG_CONFIG"; then | |
| 4079 if test -n "$SNDFILE_CFLAGS"; then | |
| 4080 pkg_cv_SNDFILE_CFLAGS="$SNDFILE_CFLAGS" | |
| 4081 else | |
| 4082 if test -n "$PKG_CONFIG" && \ | |
| 4083 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sndfile\"") >&5 | |
| 4084 ($PKG_CONFIG --exists --print-errors "sndfile") 2>&5 | |
| 4085 ac_status=$? | |
| 4086 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 4087 (exit $ac_status); }; then | |
| 4088 pkg_cv_SNDFILE_CFLAGS=`$PKG_CONFIG --cflags "sndfile" 2>/dev/null` | |
| 4089 else | |
| 4090 pkg_failed=yes | |
| 4091 fi | |
| 4092 fi | |
| 4093 else | |
| 4094 pkg_failed=untried | |
| 4095 fi | |
| 4096 if test -n "$PKG_CONFIG"; then | |
| 4097 if test -n "$SNDFILE_LIBS"; then | |
| 4098 pkg_cv_SNDFILE_LIBS="$SNDFILE_LIBS" | |
| 4099 else | |
| 4100 if test -n "$PKG_CONFIG" && \ | |
| 4101 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sndfile\"") >&5 | |
| 4102 ($PKG_CONFIG --exists --print-errors "sndfile") 2>&5 | |
| 4103 ac_status=$? | |
| 4104 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| 4105 (exit $ac_status); }; then | |
| 4106 pkg_cv_SNDFILE_LIBS=`$PKG_CONFIG --libs "sndfile" 2>/dev/null` | |
| 4107 else | |
| 4108 pkg_failed=yes | |
| 4109 fi | |
| 4110 fi | |
| 4111 else | |
| 4112 pkg_failed=untried | |
| 4113 fi | |
| 4114 | |
| 4115 | |
| 4116 | |
| 4117 if test $pkg_failed = yes; then | |
| 4118 | |
| 4119 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | |
| 4120 _pkg_short_errors_supported=yes | |
| 4121 else | |
| 4122 _pkg_short_errors_supported=no | |
| 4123 fi | |
| 4124 if test $_pkg_short_errors_supported = yes; then | |
| 4125 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sndfile"` | |
| 4126 else | |
| 4127 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sndfile"` | |
| 4128 fi | |
| 4129 # Put the nasty error message in config.log where it belongs | |
| 4130 echo "$SNDFILE_PKG_ERRORS" >&5 | |
| 4131 | |
| 4132 { { echo "$as_me:$LINENO: error: Package requirements (sndfile) were not met: | |
| 4133 | |
| 4134 $SNDFILE_PKG_ERRORS | |
| 4135 | |
| 4136 Consider adjusting the PKG_CONFIG_PATH environment variable if you | |
| 4137 installed software in a non-standard prefix. | |
| 4138 | |
| 4139 Alternatively, you may set the environment variables SNDFILE_CFLAGS | |
| 4140 and SNDFILE_LIBS to avoid the need to call pkg-config. | |
| 4141 See the pkg-config man page for more details. | |
| 4142 " >&5 | |
| 4143 echo "$as_me: error: Package requirements (sndfile) were not met: | |
| 4144 | |
| 4145 $SNDFILE_PKG_ERRORS | |
| 4146 | |
| 4147 Consider adjusting the PKG_CONFIG_PATH environment variable if you | |
| 4148 installed software in a non-standard prefix. | |
| 4149 | |
| 4150 Alternatively, you may set the environment variables SNDFILE_CFLAGS | |
| 4151 and SNDFILE_LIBS to avoid the need to call pkg-config. | |
| 4152 See the pkg-config man page for more details. | |
| 4153 " >&2;} | |
| 4154 { (exit 1); exit 1; }; } | |
| 4155 elif test $pkg_failed = untried; then | |
| 4156 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it | |
| 4157 is in your PATH or set the PKG_CONFIG environment variable to the full | |
| 4158 path to pkg-config. | |
| 4159 | |
| 4160 Alternatively, you may set the environment variables SNDFILE_CFLAGS | |
| 4161 and SNDFILE_LIBS to avoid the need to call pkg-config. | |
| 4162 See the pkg-config man page for more details. | |
| 4163 | |
| 4164 To get pkg-config, see <http://pkg-config.freedesktop.org/>. | |
| 4165 See \`config.log' for more details." >&5 | |
| 4166 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it | |
| 4167 is in your PATH or set the PKG_CONFIG environment variable to the full | |
| 4168 path to pkg-config. | |
| 4169 | |
| 4170 Alternatively, you may set the environment variables SNDFILE_CFLAGS | |
| 4171 and SNDFILE_LIBS to avoid the need to call pkg-config. | |
| 4172 See the pkg-config man page for more details. | |
| 4173 | |
| 4174 To get pkg-config, see <http://pkg-config.freedesktop.org/>. | |
| 4175 See \`config.log' for more details." >&2;} | |
| 4176 { (exit 1); exit 1; }; } | |
| 4177 else | |
| 4178 SNDFILE_CFLAGS=$pkg_cv_SNDFILE_CFLAGS | |
| 4179 SNDFILE_LIBS=$pkg_cv_SNDFILE_LIBS | |
| 4180 { echo "$as_me:$LINENO: result: yes" >&5 | |
| 4181 echo "${ECHO_T}yes" >&6; } | |
| 4182 : | |
| 4183 fi | |
| 4184 | |
| 4185 | |
| 4186 | |
| 4187 if test "x$GCC" = "xyes"; then | |
| 4188 case " $CXXFLAGS " in | |
| 4189 *[\ \ ]-fPIC\ -Wall[\ \ ]*) ;; | |
| 4190 *) CXXFLAGS="$CXXFLAGS -fPIC -Wall" ;; | |
| 4191 esac | |
| 4192 fi | |
| 4193 | |
| 4194 ac_config_files="$ac_config_files Makefile" | |
| 4195 | |
| 4196 cat >confcache <<\_ACEOF | |
| 4197 # This file is a shell script that caches the results of configure | |
| 4198 # tests run on this system so they can be shared between configure | |
| 4199 # scripts and configure runs, see configure's option --config-cache. | |
| 4200 # It is not useful on other systems. If it contains results you don't | |
| 4201 # want to keep, you may remove or edit it. | |
| 4202 # | |
| 4203 # config.status only pays attention to the cache file if you give it | |
| 4204 # the --recheck option to rerun configure. | |
| 4205 # | |
| 4206 # `ac_cv_env_foo' variables (set or unset) will be overridden when | |
| 4207 # loading this file, other *unset* `ac_cv_foo' will be assigned the | |
| 4208 # following values. | |
| 4209 | |
| 4210 _ACEOF | |
| 4211 | |
| 4212 # The following way of writing the cache mishandles newlines in values, | |
| 4213 # but we know of no workaround that is simple, portable, and efficient. | |
| 4214 # So, we kill variables containing newlines. | |
| 4215 # Ultrix sh set writes to stderr and can't be redirected directly, | |
| 4216 # and sets the high bit in the cache file unless we assign to the vars. | |
| 4217 ( | |
| 4218 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | |
| 4219 eval ac_val=\$$ac_var | |
| 4220 case $ac_val in #( | |
| 4221 *${as_nl}*) | |
| 4222 case $ac_var in #( | |
| 4223 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | |
| 4224 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | |
| 4225 esac | |
| 4226 case $ac_var in #( | |
| 4227 _ | IFS | as_nl) ;; #( | |
| 4228 *) $as_unset $ac_var ;; | |
| 4229 esac ;; | |
| 4230 esac | |
| 4231 done | |
| 4232 | |
| 4233 (set) 2>&1 | | |
| 4234 case $as_nl`(ac_space=' '; set) 2>&1` in #( | |
| 4235 *${as_nl}ac_space=\ *) | |
| 4236 # `set' does not quote correctly, so add quotes (double-quote | |
| 4237 # substitution turns \\\\ into \\, and sed turns \\ into \). | |
| 4238 sed -n \ | |
| 4239 "s/'/'\\\\''/g; | |
| 4240 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | |
| 4241 ;; #( | |
| 4242 *) | |
| 4243 # `set' quotes correctly as required by POSIX, so do not add quotes. | |
| 4244 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | |
| 4245 ;; | |
| 4246 esac | | |
| 4247 sort | |
| 4248 ) | | |
| 4249 sed ' | |
| 4250 /^ac_cv_env_/b end | |
| 4251 t clear | |
| 4252 :clear | |
| 4253 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | |
| 4254 t end | |
| 4255 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | |
| 4256 :end' >>confcache | |
| 4257 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | |
| 4258 if test -w "$cache_file"; then | |
| 4259 test "x$cache_file" != "x/dev/null" && | |
| 4260 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 | |
| 4261 echo "$as_me: updating cache $cache_file" >&6;} | |
| 4262 cat confcache >$cache_file | |
| 4263 else | |
| 4264 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 | |
| 4265 echo "$as_me: not updating unwritable cache $cache_file" >&6;} | |
| 4266 fi | |
| 4267 fi | |
| 4268 rm -f confcache | |
| 4269 | |
| 4270 test "x$prefix" = xNONE && prefix=$ac_default_prefix | |
| 4271 # Let make expand exec_prefix. | |
| 4272 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | |
| 4273 | |
| 4274 # Transform confdefs.h into DEFS. | |
| 4275 # Protect against shell expansion while executing Makefile rules. | |
| 4276 # Protect against Makefile macro expansion. | |
| 4277 # | |
| 4278 # If the first sed substitution is executed (which looks for macros that | |
| 4279 # take arguments), then branch to the quote section. Otherwise, | |
| 4280 # look for a macro that doesn't take arguments. | |
| 4281 ac_script=' | |
| 4282 t clear | |
| 4283 :clear | |
| 4284 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g | |
| 4285 t quote | |
| 4286 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g | |
| 4287 t quote | |
| 4288 b any | |
| 4289 :quote | |
| 4290 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g | |
| 4291 s/\[/\\&/g | |
| 4292 s/\]/\\&/g | |
| 4293 s/\$/$$/g | |
| 4294 H | |
| 4295 :any | |
| 4296 ${ | |
| 4297 g | |
| 4298 s/^\n// | |
| 4299 s/\n/ /g | |
| 4300 p | |
| 4301 } | |
| 4302 ' | |
| 4303 DEFS=`sed -n "$ac_script" confdefs.h` | |
| 4304 | |
| 4305 | |
| 4306 ac_libobjs= | |
| 4307 ac_ltlibobjs= | |
| 4308 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | |
| 4309 # 1. Remove the extension, and $U if already installed. | |
| 4310 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | |
| 4311 ac_i=`echo "$ac_i" | sed "$ac_script"` | |
| 4312 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | |
| 4313 # will be set to the directory where LIBOBJS objects are built. | |
| 4314 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" | |
| 4315 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' | |
| 4316 done | |
| 4317 LIBOBJS=$ac_libobjs | |
| 4318 | |
| 4319 LTLIBOBJS=$ac_ltlibobjs | |
| 4320 | |
| 4321 | |
| 4322 | |
| 4323 : ${CONFIG_STATUS=./config.status} | |
| 4324 ac_clean_files_save=$ac_clean_files | |
| 4325 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | |
| 4326 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | |
| 4327 echo "$as_me: creating $CONFIG_STATUS" >&6;} | |
| 4328 cat >$CONFIG_STATUS <<_ACEOF | |
| 4329 #! $SHELL | |
| 4330 # Generated by $as_me. | |
| 4331 # Run this file to recreate the current configuration. | |
| 4332 # Compiler output produced by configure, useful for debugging | |
| 4333 # configure, is in config.log if it exists. | |
| 4334 | |
| 4335 debug=false | |
| 4336 ac_cs_recheck=false | |
| 4337 ac_cs_silent=false | |
| 4338 SHELL=\${CONFIG_SHELL-$SHELL} | |
| 4339 _ACEOF | |
| 4340 | |
| 4341 cat >>$CONFIG_STATUS <<\_ACEOF | |
| 4342 ## --------------------- ## | |
| 4343 ## M4sh Initialization. ## | |
| 4344 ## --------------------- ## | |
| 4345 | |
| 4346 # Be more Bourne compatible | |
| 4347 DUALCASE=1; export DUALCASE # for MKS sh | |
| 4348 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
| 4349 emulate sh | |
| 4350 NULLCMD=: | |
| 4351 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
| 4352 # is contrary to our usage. Disable this feature. | |
| 4353 alias -g '${1+"$@"}'='"$@"' | |
| 4354 setopt NO_GLOB_SUBST | |
| 4355 else | |
| 4356 case `(set -o) 2>/dev/null` in | |
| 4357 *posix*) set -o posix ;; | |
| 4358 esac | |
| 4359 | |
| 4360 fi | |
| 4361 | |
| 4362 | |
| 4363 | |
| 4364 | |
| 4365 # PATH needs CR | |
| 4366 # Avoid depending upon Character Ranges. | |
| 4367 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
| 4368 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
| 4369 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
| 4370 as_cr_digits='0123456789' | |
| 4371 as_cr_alnum=$as_cr_Letters$as_cr_digits | |
| 4372 | |
| 4373 # The user is always right. | |
| 4374 if test "${PATH_SEPARATOR+set}" != set; then | |
| 4375 echo "#! /bin/sh" >conf$$.sh | |
| 4376 echo "exit 0" >>conf$$.sh | |
| 4377 chmod +x conf$$.sh | |
| 4378 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | |
| 4379 PATH_SEPARATOR=';' | |
| 4380 else | |
| 4381 PATH_SEPARATOR=: | |
| 4382 fi | |
| 4383 rm -f conf$$.sh | |
| 4384 fi | |
| 4385 | |
| 4386 # Support unset when possible. | |
| 4387 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | |
| 4388 as_unset=unset | |
| 4389 else | |
| 4390 as_unset=false | |
| 4391 fi | |
| 4392 | |
| 4393 | |
| 4394 # IFS | |
| 4395 # We need space, tab and new line, in precisely that order. Quoting is | |
| 4396 # there to prevent editors from complaining about space-tab. | |
| 4397 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
| 4398 # splitting by setting IFS to empty value.) | |
| 4399 as_nl=' | |
| 4400 ' | |
| 4401 IFS=" "" $as_nl" | |
| 4402 | |
| 4403 # Find who we are. Look in the path if we contain no directory separator. | |
| 4404 case $0 in | |
| 4405 *[\\/]* ) as_myself=$0 ;; | |
| 4406 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 4407 for as_dir in $PATH | |
| 4408 do | |
| 4409 IFS=$as_save_IFS | |
| 4410 test -z "$as_dir" && as_dir=. | |
| 4411 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
| 4412 done | |
| 4413 IFS=$as_save_IFS | |
| 4414 | |
| 4415 ;; | |
| 4416 esac | |
| 4417 # We did not find ourselves, most probably we were run as `sh COMMAND' | |
| 4418 # in which case we are not to be found in the path. | |
| 4419 if test "x$as_myself" = x; then | |
| 4420 as_myself=$0 | |
| 4421 fi | |
| 4422 if test ! -f "$as_myself"; then | |
| 4423 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
| 4424 { (exit 1); exit 1; } | |
| 4425 fi | |
| 4426 | |
| 4427 # Work around bugs in pre-3.0 UWIN ksh. | |
| 4428 for as_var in ENV MAIL MAILPATH | |
| 4429 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
| 4430 done | |
| 4431 PS1='$ ' | |
| 4432 PS2='> ' | |
| 4433 PS4='+ ' | |
| 4434 | |
| 4435 # NLS nuisances. | |
| 4436 for as_var in \ | |
| 4437 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | |
| 4438 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | |
| 4439 LC_TELEPHONE LC_TIME | |
| 4440 do | |
| 4441 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | |
| 4442 eval $as_var=C; export $as_var | |
| 4443 else | |
| 4444 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
| 4445 fi | |
| 4446 done | |
| 4447 | |
| 4448 # Required to use basename. | |
| 4449 if expr a : '\(a\)' >/dev/null 2>&1 && | |
| 4450 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
| 4451 as_expr=expr | |
| 4452 else | |
| 4453 as_expr=false | |
| 4454 fi | |
| 4455 | |
| 4456 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
| 4457 as_basename=basename | |
| 4458 else | |
| 4459 as_basename=false | |
| 4460 fi | |
| 4461 | |
| 4462 | |
| 4463 # Name of the executable. | |
| 4464 as_me=`$as_basename -- "$0" || | |
| 4465 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
| 4466 X"$0" : 'X\(//\)$' \| \ | |
| 4467 X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
| 4468 echo X/"$0" | | |
| 4469 sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
| 4470 s//\1/ | |
| 4471 q | |
| 4472 } | |
| 4473 /^X\/\(\/\/\)$/{ | |
| 4474 s//\1/ | |
| 4475 q | |
| 4476 } | |
| 4477 /^X\/\(\/\).*/{ | |
| 4478 s//\1/ | |
| 4479 q | |
| 4480 } | |
| 4481 s/.*/./; q'` | |
| 4482 | |
| 4483 # CDPATH. | |
| 4484 $as_unset CDPATH | |
| 4485 | |
| 4486 | |
| 4487 | |
| 4488 as_lineno_1=$LINENO | |
| 4489 as_lineno_2=$LINENO | |
| 4490 test "x$as_lineno_1" != "x$as_lineno_2" && | |
| 4491 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | |
| 4492 | |
| 4493 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
| 4494 # uniformly replaced by the line number. The first 'sed' inserts a | |
| 4495 # line-number line after each line using $LINENO; the second 'sed' | |
| 4496 # does the real work. The second script uses 'N' to pair each | |
| 4497 # line-number line with the line containing $LINENO, and appends | |
| 4498 # trailing '-' during substitution so that $LINENO is not a special | |
| 4499 # case at line end. | |
| 4500 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
| 4501 # scripts with optimization help from Paolo Bonzini. Blame Lee | |
| 4502 # E. McMahon (1931-1989) for sed's syntax. :-) | |
| 4503 sed -n ' | |
| 4504 p | |
| 4505 /[$]LINENO/= | |
| 4506 ' <$as_myself | | |
| 4507 sed ' | |
| 4508 s/[$]LINENO.*/&-/ | |
| 4509 t lineno | |
| 4510 b | |
| 4511 :lineno | |
| 4512 N | |
| 4513 :loop | |
| 4514 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
| 4515 t loop | |
| 4516 s/-\n.*// | |
| 4517 ' >$as_me.lineno && | |
| 4518 chmod +x "$as_me.lineno" || | |
| 4519 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | |
| 4520 { (exit 1); exit 1; }; } | |
| 4521 | |
| 4522 # Don't try to exec as it changes $[0], causing all sort of problems | |
| 4523 # (the dirname of $[0] is not the place where we might find the | |
| 4524 # original and so on. Autoconf is especially sensitive to this). | |
| 4525 . "./$as_me.lineno" | |
| 4526 # Exit status is that of the last command. | |
| 4527 exit | |
| 4528 } | |
| 4529 | |
| 4530 | |
| 4531 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
| 4532 as_dirname=dirname | |
| 4533 else | |
| 4534 as_dirname=false | |
| 4535 fi | |
| 4536 | |
| 4537 ECHO_C= ECHO_N= ECHO_T= | |
| 4538 case `echo -n x` in | |
| 4539 -n*) | |
| 4540 case `echo 'x\c'` in | |
| 4541 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
| 4542 *) ECHO_C='\c';; | |
| 4543 esac;; | |
| 4544 *) | |
| 4545 ECHO_N='-n';; | |
| 4546 esac | |
| 4547 | |
| 4548 if expr a : '\(a\)' >/dev/null 2>&1 && | |
| 4549 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
| 4550 as_expr=expr | |
| 4551 else | |
| 4552 as_expr=false | |
| 4553 fi | |
| 4554 | |
| 4555 rm -f conf$$ conf$$.exe conf$$.file | |
| 4556 if test -d conf$$.dir; then | |
| 4557 rm -f conf$$.dir/conf$$.file | |
| 4558 else | |
| 4559 rm -f conf$$.dir | |
| 4560 mkdir conf$$.dir | |
| 4561 fi | |
| 4562 echo >conf$$.file | |
| 4563 if ln -s conf$$.file conf$$ 2>/dev/null; then | |
| 4564 as_ln_s='ln -s' | |
| 4565 # ... but there are two gotchas: | |
| 4566 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
| 4567 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
| 4568 # In both cases, we have to default to `cp -p'. | |
| 4569 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
| 4570 as_ln_s='cp -p' | |
| 4571 elif ln conf$$.file conf$$ 2>/dev/null; then | |
| 4572 as_ln_s=ln | |
| 4573 else | |
| 4574 as_ln_s='cp -p' | |
| 4575 fi | |
| 4576 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |
| 4577 rmdir conf$$.dir 2>/dev/null | |
| 4578 | |
| 4579 if mkdir -p . 2>/dev/null; then | |
| 4580 as_mkdir_p=: | |
| 4581 else | |
| 4582 test -d ./-p && rmdir ./-p | |
| 4583 as_mkdir_p=false | |
| 4584 fi | |
| 4585 | |
| 4586 if test -x / >/dev/null 2>&1; then | |
| 4587 as_test_x='test -x' | |
| 4588 else | |
| 4589 if ls -dL / >/dev/null 2>&1; then | |
| 4590 as_ls_L_option=L | |
| 4591 else | |
| 4592 as_ls_L_option= | |
| 4593 fi | |
| 4594 as_test_x=' | |
| 4595 eval sh -c '\'' | |
| 4596 if test -d "$1"; then | |
| 4597 test -d "$1/."; | |
| 4598 else | |
| 4599 case $1 in | |
| 4600 -*)set "./$1";; | |
| 4601 esac; | |
| 4602 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | |
| 4603 ???[sx]*):;;*)false;;esac;fi | |
| 4604 '\'' sh | |
| 4605 ' | |
| 4606 fi | |
| 4607 as_executable_p=$as_test_x | |
| 4608 | |
| 4609 # Sed expression to map a string onto a valid CPP name. | |
| 4610 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
| 4611 | |
| 4612 # Sed expression to map a string onto a valid variable name. | |
| 4613 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
| 4614 | |
| 4615 | |
| 4616 exec 6>&1 | |
| 4617 | |
| 4618 # Save the log message, to keep $[0] and so on meaningful, and to | |
| 4619 # report actual input values of CONFIG_FILES etc. instead of their | |
| 4620 # values after options handling. | |
| 4621 ac_log=" | |
| 4622 This file was extended by vamp-plugin-sdk $as_me 2.0, which was | |
| 4623 generated by GNU Autoconf 2.61. Invocation command line was | |
| 4624 | |
| 4625 CONFIG_FILES = $CONFIG_FILES | |
| 4626 CONFIG_HEADERS = $CONFIG_HEADERS | |
| 4627 CONFIG_LINKS = $CONFIG_LINKS | |
| 4628 CONFIG_COMMANDS = $CONFIG_COMMANDS | |
| 4629 $ $0 $@ | |
| 4630 | |
| 4631 on `(hostname || uname -n) 2>/dev/null | sed 1q` | |
| 4632 " | |
| 4633 | |
| 4634 _ACEOF | |
| 4635 | |
| 4636 cat >>$CONFIG_STATUS <<_ACEOF | |
| 4637 # Files that config.status was made for. | |
| 4638 config_files="$ac_config_files" | |
| 4639 | |
| 4640 _ACEOF | |
| 4641 | |
| 4642 cat >>$CONFIG_STATUS <<\_ACEOF | |
| 4643 ac_cs_usage="\ | |
| 4644 \`$as_me' instantiates files from templates according to the | |
| 4645 current configuration. | |
| 4646 | |
| 4647 Usage: $0 [OPTIONS] [FILE]... | |
| 4648 | |
| 4649 -h, --help print this help, then exit | |
| 4650 -V, --version print version number and configuration settings, then exit | |
| 4651 -q, --quiet do not print progress messages | |
| 4652 -d, --debug don't remove temporary files | |
| 4653 --recheck update $as_me by reconfiguring in the same conditions | |
| 4654 --file=FILE[:TEMPLATE] | |
| 4655 instantiate the configuration file FILE | |
| 4656 | |
| 4657 Configuration files: | |
| 4658 $config_files | |
| 4659 | |
| 4660 Report bugs to <bug-autoconf@gnu.org>." | |
| 4661 | |
| 4662 _ACEOF | |
| 4663 cat >>$CONFIG_STATUS <<_ACEOF | |
| 4664 ac_cs_version="\\ | |
| 4665 vamp-plugin-sdk config.status 2.0 | |
| 4666 configured by $0, generated by GNU Autoconf 2.61, | |
| 4667 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" | |
| 4668 | |
| 4669 Copyright (C) 2006 Free Software Foundation, Inc. | |
| 4670 This config.status script is free software; the Free Software Foundation | |
| 4671 gives unlimited permission to copy, distribute and modify it." | |
| 4672 | |
| 4673 ac_pwd='$ac_pwd' | |
| 4674 srcdir='$srcdir' | |
| 4675 _ACEOF | |
| 4676 | |
| 4677 cat >>$CONFIG_STATUS <<\_ACEOF | |
| 4678 # If no file are specified by the user, then we need to provide default | |
| 4679 # value. By we need to know if files were specified by the user. | |
| 4680 ac_need_defaults=: | |
| 4681 while test $# != 0 | |
| 4682 do | |
| 4683 case $1 in | |
| 4684 --*=*) | |
| 4685 ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
| 4686 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | |
| 4687 ac_shift=: | |
| 4688 ;; | |
| 4689 *) | |
| 4690 ac_option=$1 | |
| 4691 ac_optarg=$2 | |
| 4692 ac_shift=shift | |
| 4693 ;; | |
| 4694 esac | |
| 4695 | |
| 4696 case $ac_option in | |
| 4697 # Handling of the options. | |
| 4698 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
| 4699 ac_cs_recheck=: ;; | |
| 4700 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | |
| 4701 echo "$ac_cs_version"; exit ;; | |
| 4702 --debug | --debu | --deb | --de | --d | -d ) | |
| 4703 debug=: ;; | |
| 4704 --file | --fil | --fi | --f ) | |
| 4705 $ac_shift | |
| 4706 CONFIG_FILES="$CONFIG_FILES $ac_optarg" | |
| 4707 ac_need_defaults=false;; | |
| 4708 --he | --h | --help | --hel | -h ) | |
| 4709 echo "$ac_cs_usage"; exit ;; | |
| 4710 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
| 4711 | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
| 4712 ac_cs_silent=: ;; | |
| 4713 | |
| 4714 # This is an error. | |
| 4715 -*) { echo "$as_me: error: unrecognized option: $1 | |
| 4716 Try \`$0 --help' for more information." >&2 | |
| 4717 { (exit 1); exit 1; }; } ;; | |
| 4718 | |
| 4719 *) ac_config_targets="$ac_config_targets $1" | |
| 4720 ac_need_defaults=false ;; | |
| 4721 | |
| 4722 esac | |
| 4723 shift | |
| 4724 done | |
| 4725 | |
| 4726 ac_configure_extra_args= | |
| 4727 | |
| 4728 if $ac_cs_silent; then | |
| 4729 exec 6>/dev/null | |
| 4730 ac_configure_extra_args="$ac_configure_extra_args --silent" | |
| 4731 fi | |
| 4732 | |
| 4733 _ACEOF | |
| 4734 cat >>$CONFIG_STATUS <<_ACEOF | |
| 4735 if \$ac_cs_recheck; then | |
| 4736 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | |
| 4737 CONFIG_SHELL=$SHELL | |
| 4738 export CONFIG_SHELL | |
| 4739 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
| 4740 fi | |
| 4741 | |
| 4742 _ACEOF | |
| 4743 cat >>$CONFIG_STATUS <<\_ACEOF | |
| 4744 exec 5>>config.log | |
| 4745 { | |
| 4746 echo | |
| 4747 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
| 4748 ## Running $as_me. ## | |
| 4749 _ASBOX | |
| 4750 echo "$ac_log" | |
| 4751 } >&5 | |
| 4752 | |
| 4753 _ACEOF | |
| 4754 cat >>$CONFIG_STATUS <<_ACEOF | |
| 4755 _ACEOF | |
| 4756 | |
| 4757 cat >>$CONFIG_STATUS <<\_ACEOF | |
| 4758 | |
| 4759 # Handling of arguments. | |
| 4760 for ac_config_target in $ac_config_targets | |
| 4761 do | |
| 4762 case $ac_config_target in | |
| 4763 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | |
| 4764 | |
| 4765 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | |
| 4766 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | |
| 4767 { (exit 1); exit 1; }; };; | |
| 4768 esac | |
| 4769 done | |
| 4770 | |
| 4771 | |
| 4772 # If the user did not use the arguments to specify the items to instantiate, | |
| 4773 # then the envvar interface is used. Set only those that are not. | |
| 4774 # We use the long form for the default assignment because of an extremely | |
| 4775 # bizarre bug on SunOS 4.1.3. | |
| 4776 if $ac_need_defaults; then | |
| 4777 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
| 4778 fi | |
| 4779 | |
| 4780 # Have a temporary directory for convenience. Make it in the build tree | |
| 4781 # simply because there is no reason against having it here, and in addition, | |
| 4782 # creating and moving files from /tmp can sometimes cause problems. | |
| 4783 # Hook for its removal unless debugging. | |
| 4784 # Note that there is a small window in which the directory will not be cleaned: | |
| 4785 # after its creation but before its name has been assigned to `$tmp'. | |
| 4786 $debug || | |
| 4787 { | |
| 4788 tmp= | |
| 4789 trap 'exit_status=$? | |
| 4790 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | |
| 4791 ' 0 | |
| 4792 trap '{ (exit 1); exit 1; }' 1 2 13 15 | |
| 4793 } | |
| 4794 # Create a (secure) tmp directory for tmp files. | |
| 4795 | |
| 4796 { | |
| 4797 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | |
| 4798 test -n "$tmp" && test -d "$tmp" | |
| 4799 } || | |
| 4800 { | |
| 4801 tmp=./conf$$-$RANDOM | |
| 4802 (umask 077 && mkdir "$tmp") | |
| 4803 } || | |
| 4804 { | |
| 4805 echo "$me: cannot create a temporary directory in ." >&2 | |
| 4806 { (exit 1); exit 1; } | |
| 4807 } | |
| 4808 | |
| 4809 # | |
| 4810 # Set up the sed scripts for CONFIG_FILES section. | |
| 4811 # | |
| 4812 | |
| 4813 # No need to generate the scripts if there are no CONFIG_FILES. | |
| 4814 # This happens for instance when ./config.status config.h | |
| 4815 if test -n "$CONFIG_FILES"; then | |
| 4816 | |
| 4817 _ACEOF | |
| 4818 | |
| 4819 | |
| 4820 | |
| 4821 ac_delim='%!_!# ' | |
| 4822 for ac_last_try in false false false false false :; do | |
| 4823 cat >conf$$subs.sed <<_ACEOF | |
| 4824 SHELL!$SHELL$ac_delim | |
| 4825 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim | |
| 4826 PACKAGE_NAME!$PACKAGE_NAME$ac_delim | |
| 4827 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim | |
| 4828 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim | |
| 4829 PACKAGE_STRING!$PACKAGE_STRING$ac_delim | |
| 4830 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim | |
| 4831 exec_prefix!$exec_prefix$ac_delim | |
| 4832 prefix!$prefix$ac_delim | |
| 4833 program_transform_name!$program_transform_name$ac_delim | |
| 4834 bindir!$bindir$ac_delim | |
| 4835 sbindir!$sbindir$ac_delim | |
| 4836 libexecdir!$libexecdir$ac_delim | |
| 4837 datarootdir!$datarootdir$ac_delim | |
| 4838 datadir!$datadir$ac_delim | |
| 4839 sysconfdir!$sysconfdir$ac_delim | |
| 4840 sharedstatedir!$sharedstatedir$ac_delim | |
| 4841 localstatedir!$localstatedir$ac_delim | |
| 4842 includedir!$includedir$ac_delim | |
| 4843 oldincludedir!$oldincludedir$ac_delim | |
| 4844 docdir!$docdir$ac_delim | |
| 4845 infodir!$infodir$ac_delim | |
| 4846 htmldir!$htmldir$ac_delim | |
| 4847 dvidir!$dvidir$ac_delim | |
| 4848 pdfdir!$pdfdir$ac_delim | |
| 4849 psdir!$psdir$ac_delim | |
| 4850 libdir!$libdir$ac_delim | |
| 4851 localedir!$localedir$ac_delim | |
| 4852 mandir!$mandir$ac_delim | |
| 4853 DEFS!$DEFS$ac_delim | |
| 4854 ECHO_C!$ECHO_C$ac_delim | |
| 4855 ECHO_N!$ECHO_N$ac_delim | |
| 4856 ECHO_T!$ECHO_T$ac_delim | |
| 4857 LIBS!$LIBS$ac_delim | |
| 4858 build_alias!$build_alias$ac_delim | |
| 4859 host_alias!$host_alias$ac_delim | |
| 4860 target_alias!$target_alias$ac_delim | |
| 4861 CXX!$CXX$ac_delim | |
| 4862 CXXFLAGS!$CXXFLAGS$ac_delim | |
| 4863 LDFLAGS!$LDFLAGS$ac_delim | |
| 4864 CPPFLAGS!$CPPFLAGS$ac_delim | |
| 4865 ac_ct_CXX!$ac_ct_CXX$ac_delim | |
| 4866 EXEEXT!$EXEEXT$ac_delim | |
| 4867 OBJEXT!$OBJEXT$ac_delim | |
| 4868 CC!$CC$ac_delim | |
| 4869 CFLAGS!$CFLAGS$ac_delim | |
| 4870 ac_ct_CC!$ac_ct_CC$ac_delim | |
| 4871 CPP!$CPP$ac_delim | |
| 4872 GREP!$GREP$ac_delim | |
| 4873 EGREP!$EGREP$ac_delim | |
| 4874 PKG_CONFIG!$PKG_CONFIG$ac_delim | |
| 4875 SNDFILE_CFLAGS!$SNDFILE_CFLAGS$ac_delim | |
| 4876 SNDFILE_LIBS!$SNDFILE_LIBS$ac_delim | |
| 4877 LIBOBJS!$LIBOBJS$ac_delim | |
| 4878 LTLIBOBJS!$LTLIBOBJS$ac_delim | |
| 4879 _ACEOF | |
| 4880 | |
| 4881 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 55; then | |
| 4882 break | |
| 4883 elif $ac_last_try; then | |
| 4884 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | |
| 4885 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
| 4886 { (exit 1); exit 1; }; } | |
| 4887 else | |
| 4888 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
| 4889 fi | |
| 4890 done | |
| 4891 | |
| 4892 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` | |
| 4893 if test -n "$ac_eof"; then | |
| 4894 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` | |
| 4895 ac_eof=`expr $ac_eof + 1` | |
| 4896 fi | |
| 4897 | |
| 4898 cat >>$CONFIG_STATUS <<_ACEOF | |
| 4899 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof | |
| 4900 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end | |
| 4901 _ACEOF | |
| 4902 sed ' | |
| 4903 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g | |
| 4904 s/^/s,@/; s/!/@,|#_!!_#|/ | |
| 4905 :n | |
| 4906 t n | |
| 4907 s/'"$ac_delim"'$/,g/; t | |
| 4908 s/$/\\/; p | |
| 4909 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n | |
| 4910 ' >>$CONFIG_STATUS <conf$$subs.sed | |
| 4911 rm -f conf$$subs.sed | |
| 4912 cat >>$CONFIG_STATUS <<_ACEOF | |
| 4913 :end | |
| 4914 s/|#_!!_#|//g | |
| 4915 CEOF$ac_eof | |
| 4916 _ACEOF | |
| 4917 | |
| 4918 | |
| 4919 # VPATH may cause trouble with some makes, so we remove $(srcdir), | |
| 4920 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | |
| 4921 # trailing colons and then remove the whole line if VPATH becomes empty | |
| 4922 # (actually we leave an empty line to preserve line numbers). | |
| 4923 if test "x$srcdir" = x.; then | |
| 4924 ac_vpsub='/^[ ]*VPATH[ ]*=/{ | |
| 4925 s/:*\$(srcdir):*/:/ | |
| 4926 s/:*\${srcdir}:*/:/ | |
| 4927 s/:*@srcdir@:*/:/ | |
| 4928 s/^\([^=]*=[ ]*\):*/\1/ | |
| 4929 s/:*$// | |
| 4930 s/^[^=]*=[ ]*$// | |
| 4931 }' | |
| 4932 fi | |
| 4933 | |
| 4934 cat >>$CONFIG_STATUS <<\_ACEOF | |
| 4935 fi # test -n "$CONFIG_FILES" | |
| 4936 | |
| 4937 | |
| 4938 for ac_tag in :F $CONFIG_FILES | |
| 4939 do | |
| 4940 case $ac_tag in | |
| 4941 :[FHLC]) ac_mode=$ac_tag; continue;; | |
| 4942 esac | |
| 4943 case $ac_mode$ac_tag in | |
| 4944 :[FHL]*:*);; | |
| 4945 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 | |
| 4946 echo "$as_me: error: Invalid tag $ac_tag." >&2;} | |
| 4947 { (exit 1); exit 1; }; };; | |
| 4948 :[FH]-) ac_tag=-:-;; | |
| 4949 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | |
| 4950 esac | |
| 4951 ac_save_IFS=$IFS | |
| 4952 IFS=: | |
| 4953 set x $ac_tag | |
| 4954 IFS=$ac_save_IFS | |
| 4955 shift | |
| 4956 ac_file=$1 | |
| 4957 shift | |
| 4958 | |
| 4959 case $ac_mode in | |
| 4960 :L) ac_source=$1;; | |
| 4961 :[FH]) | |
| 4962 ac_file_inputs= | |
| 4963 for ac_f | |
| 4964 do | |
| 4965 case $ac_f in | |
| 4966 -) ac_f="$tmp/stdin";; | |
| 4967 *) # Look for the file first in the build tree, then in the source tree | |
| 4968 # (if the path is not absolute). The absolute path cannot be DOS-style, | |
| 4969 # because $ac_f cannot contain `:'. | |
| 4970 test -f "$ac_f" || | |
| 4971 case $ac_f in | |
| 4972 [\\/$]*) false;; | |
| 4973 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
| 4974 esac || | |
| 4975 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 | |
| 4976 echo "$as_me: error: cannot find input file: $ac_f" >&2;} | |
| 4977 { (exit 1); exit 1; }; };; | |
| 4978 esac | |
| 4979 ac_file_inputs="$ac_file_inputs $ac_f" | |
| 4980 done | |
| 4981 | |
| 4982 # Let's still pretend it is `configure' which instantiates (i.e., don't | |
| 4983 # use $as_me), people would be surprised to read: | |
| 4984 # /* config.h. Generated by config.status. */ | |
| 4985 configure_input="Generated from "`IFS=: | |
| 4986 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." | |
| 4987 if test x"$ac_file" != x-; then | |
| 4988 configure_input="$ac_file. $configure_input" | |
| 4989 { echo "$as_me:$LINENO: creating $ac_file" >&5 | |
| 4990 echo "$as_me: creating $ac_file" >&6;} | |
| 4991 fi | |
| 4992 | |
| 4993 case $ac_tag in | |
| 4994 *:-:* | *:-) cat >"$tmp/stdin";; | |
| 4995 esac | |
| 4996 ;; | |
| 4997 esac | |
| 4998 | |
| 4999 ac_dir=`$as_dirname -- "$ac_file" || | |
| 5000 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 5001 X"$ac_file" : 'X\(//\)[^/]' \| \ | |
| 5002 X"$ac_file" : 'X\(//\)$' \| \ | |
| 5003 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | |
| 5004 echo X"$ac_file" | | |
| 5005 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 5006 s//\1/ | |
| 5007 q | |
| 5008 } | |
| 5009 /^X\(\/\/\)[^/].*/{ | |
| 5010 s//\1/ | |
| 5011 q | |
| 5012 } | |
| 5013 /^X\(\/\/\)$/{ | |
| 5014 s//\1/ | |
| 5015 q | |
| 5016 } | |
| 5017 /^X\(\/\).*/{ | |
| 5018 s//\1/ | |
| 5019 q | |
| 5020 } | |
| 5021 s/.*/./; q'` | |
| 5022 { as_dir="$ac_dir" | |
| 5023 case $as_dir in #( | |
| 5024 -*) as_dir=./$as_dir;; | |
| 5025 esac | |
| 5026 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | |
| 5027 as_dirs= | |
| 5028 while :; do | |
| 5029 case $as_dir in #( | |
| 5030 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( | |
| 5031 *) as_qdir=$as_dir;; | |
| 5032 esac | |
| 5033 as_dirs="'$as_qdir' $as_dirs" | |
| 5034 as_dir=`$as_dirname -- "$as_dir" || | |
| 5035 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 5036 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
| 5037 X"$as_dir" : 'X\(//\)$' \| \ | |
| 5038 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
| 5039 echo X"$as_dir" | | |
| 5040 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 5041 s//\1/ | |
| 5042 q | |
| 5043 } | |
| 5044 /^X\(\/\/\)[^/].*/{ | |
| 5045 s//\1/ | |
| 5046 q | |
| 5047 } | |
| 5048 /^X\(\/\/\)$/{ | |
| 5049 s//\1/ | |
| 5050 q | |
| 5051 } | |
| 5052 /^X\(\/\).*/{ | |
| 5053 s//\1/ | |
| 5054 q | |
| 5055 } | |
| 5056 s/.*/./; q'` | |
| 5057 test -d "$as_dir" && break | |
| 5058 done | |
| 5059 test -z "$as_dirs" || eval "mkdir $as_dirs" | |
| 5060 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 | |
| 5061 echo "$as_me: error: cannot create directory $as_dir" >&2;} | |
| 5062 { (exit 1); exit 1; }; }; } | |
| 5063 ac_builddir=. | |
| 5064 | |
| 5065 case "$ac_dir" in | |
| 5066 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
| 5067 *) | |
| 5068 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | |
| 5069 # A ".." for each directory in $ac_dir_suffix. | |
| 5070 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` | |
| 5071 case $ac_top_builddir_sub in | |
| 5072 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
| 5073 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
| 5074 esac ;; | |
| 5075 esac | |
| 5076 ac_abs_top_builddir=$ac_pwd | |
| 5077 ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
| 5078 # for backward compatibility: | |
| 5079 ac_top_builddir=$ac_top_build_prefix | |
| 5080 | |
| 5081 case $srcdir in | |
| 5082 .) # We are building in place. | |
| 5083 ac_srcdir=. | |
| 5084 ac_top_srcdir=$ac_top_builddir_sub | |
| 5085 ac_abs_top_srcdir=$ac_pwd ;; | |
| 5086 [\\/]* | ?:[\\/]* ) # Absolute name. | |
| 5087 ac_srcdir=$srcdir$ac_dir_suffix; | |
| 5088 ac_top_srcdir=$srcdir | |
| 5089 ac_abs_top_srcdir=$srcdir ;; | |
| 5090 *) # Relative name. | |
| 5091 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
| 5092 ac_top_srcdir=$ac_top_build_prefix$srcdir | |
| 5093 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
| 5094 esac | |
| 5095 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
| 5096 | |
| 5097 | |
| 5098 case $ac_mode in | |
| 5099 :F) | |
| 5100 # | |
| 5101 # CONFIG_FILE | |
| 5102 # | |
| 5103 | |
| 5104 _ACEOF | |
| 5105 | |
| 5106 cat >>$CONFIG_STATUS <<\_ACEOF | |
| 5107 # If the template does not know about datarootdir, expand it. | |
| 5108 # FIXME: This hack should be removed a few years after 2.60. | |
| 5109 ac_datarootdir_hack=; ac_datarootdir_seen= | |
| 5110 | |
| 5111 case `sed -n '/datarootdir/ { | |
| 5112 p | |
| 5113 q | |
| 5114 } | |
| 5115 /@datadir@/p | |
| 5116 /@docdir@/p | |
| 5117 /@infodir@/p | |
| 5118 /@localedir@/p | |
| 5119 /@mandir@/p | |
| 5120 ' $ac_file_inputs` in | |
| 5121 *datarootdir*) ac_datarootdir_seen=yes;; | |
| 5122 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | |
| 5123 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | |
| 5124 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | |
| 5125 _ACEOF | |
| 5126 cat >>$CONFIG_STATUS <<_ACEOF | |
| 5127 ac_datarootdir_hack=' | |
| 5128 s&@datadir@&$datadir&g | |
| 5129 s&@docdir@&$docdir&g | |
| 5130 s&@infodir@&$infodir&g | |
| 5131 s&@localedir@&$localedir&g | |
| 5132 s&@mandir@&$mandir&g | |
| 5133 s&\\\${datarootdir}&$datarootdir&g' ;; | |
| 5134 esac | |
| 5135 _ACEOF | |
| 5136 | |
| 5137 # Neutralize VPATH when `$srcdir' = `.'. | |
| 5138 # Shell code in configure.ac might set extrasub. | |
| 5139 # FIXME: do we really want to maintain this feature? | |
| 5140 cat >>$CONFIG_STATUS <<_ACEOF | |
| 5141 sed "$ac_vpsub | |
| 5142 $extrasub | |
| 5143 _ACEOF | |
| 5144 cat >>$CONFIG_STATUS <<\_ACEOF | |
| 5145 :t | |
| 5146 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | |
| 5147 s&@configure_input@&$configure_input&;t t | |
| 5148 s&@top_builddir@&$ac_top_builddir_sub&;t t | |
| 5149 s&@srcdir@&$ac_srcdir&;t t | |
| 5150 s&@abs_srcdir@&$ac_abs_srcdir&;t t | |
| 5151 s&@top_srcdir@&$ac_top_srcdir&;t t | |
| 5152 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | |
| 5153 s&@builddir@&$ac_builddir&;t t | |
| 5154 s&@abs_builddir@&$ac_abs_builddir&;t t | |
| 5155 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | |
| 5156 $ac_datarootdir_hack | |
| 5157 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out | |
| 5158 | |
| 5159 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | |
| 5160 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | |
| 5161 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | |
| 5162 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
| 5163 which seems to be undefined. Please make sure it is defined." >&5 | |
| 5164 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
| 5165 which seems to be undefined. Please make sure it is defined." >&2;} | |
| 5166 | |
| 5167 rm -f "$tmp/stdin" | |
| 5168 case $ac_file in | |
| 5169 -) cat "$tmp/out"; rm -f "$tmp/out";; | |
| 5170 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; | |
| 5171 esac | |
| 5172 ;; | |
| 5173 | |
| 5174 | |
| 5175 | |
| 5176 esac | |
| 5177 | |
| 5178 done # for ac_tag | |
| 5179 | |
| 5180 | |
| 5181 { (exit 0); exit 0; } | |
| 5182 _ACEOF | |
| 5183 chmod +x $CONFIG_STATUS | |
| 5184 ac_clean_files=$ac_clean_files_save | |
| 5185 | |
| 5186 | |
| 5187 # configure is writing to config.log, and then calls config.status. | |
| 5188 # config.status does its own redirection, appending to config.log. | |
| 5189 # Unfortunately, on DOS this fails, as config.log is still kept open | |
| 5190 # by configure, so config.status won't be able to write to it; its | |
| 5191 # output is simply discarded. So we exec the FD to /dev/null, | |
| 5192 # effectively closing config.log, so it can be properly (re)opened and | |
| 5193 # appended to by config.status. When coming back to configure, we | |
| 5194 # need to make the FD available again. | |
| 5195 if test "$no_create" != yes; then | |
| 5196 ac_cs_success=: | |
| 5197 ac_config_status_args= | |
| 5198 test "$silent" = yes && | |
| 5199 ac_config_status_args="$ac_config_status_args --quiet" | |
| 5200 exec 5>/dev/null | |
| 5201 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | |
| 5202 exec 5>>config.log | |
| 5203 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | |
| 5204 # would make configure fail if this is the last instruction. | |
| 5205 $ac_cs_success || { (exit 1); exit 1; } | |
| 5206 fi | |
| 5207 | |
| 5208 | 
