1 #! /bin/sh 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.61. 4 # 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 7 # This configure script is free software; the Free Software Foundation 8 # gives unlimited permission to copy, distribute and modify it. 9 ## --------------------- ## 10 ## M4sh Initialization. ## 11 ## --------------------- ## 12 13 # Be more Bourne compatible 14 DUALCASE=1; export DUALCASE # for MKS sh 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 16 emulate sh 17 NULLCMD=: 18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 19 # is contrary to our usage. Disable this feature. 20 alias -g '${1+"$@"}'='"$@"' 21 setopt NO_GLOB_SUBST 22 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 esac 26 27 fi 28 29 30 31 32 # PATH needs CR 33 # Avoid depending upon Character Ranges. 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 37 as_cr_digits='0123456789' 38 as_cr_alnum=$as_cr_Letters$as_cr_digits 39 40 # The user is always right. 41 if test "${PATH_SEPARATOR+set}" != set; then 42 echo "#! /bin/sh" >conf$$.sh 43 echo "exit 0" >>conf$$.sh 44 chmod +x conf$$.sh 45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 46 PATH_SEPARATOR=';' 47 else 48 PATH_SEPARATOR=: 49 fi 50 rm -f conf$$.sh 51 fi 52 53 # Support unset when possible. 54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 55 as_unset=unset 56 else 57 as_unset=false 58 fi 59 60 61 # IFS 62 # We need space, tab and new line, in precisely that order. Quoting is 63 # there to prevent editors from complaining about space-tab. 64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 65 # splitting by setting IFS to empty value.) 66 as_nl=' 67 ' 68 IFS=" "" $as_nl" 69 70 # Find who we are. Look in the path if we contain no directory separator. 71 case $0 in 72 *[\\/]* ) as_myself=$0 ;; 73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 74 for as_dir in $PATH 75 do 76 IFS=$as_save_IFS 77 test -z "$as_dir" && as_dir=. 78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 79 done 80 IFS=$as_save_IFS 81 82 ;; 83 esac 84 # We did not find ourselves, most probably we were run as `sh COMMAND' 85 # in which case we are not to be found in the path. 86 if test "x$as_myself" = x; then 87 as_myself=$0 88 fi 89 if test ! -f "$as_myself"; then 90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 91 { (exit 1); exit 1; } 92 fi 93 94 # Work around bugs in pre-3.0 UWIN ksh. 95 for as_var in ENV MAIL MAILPATH 96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 97 done 98 PS1='$ ' 99 PS2='> ' 100 PS4='+ ' 101 102 # NLS nuisances. 103 for as_var in \ 104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 106 LC_TELEPHONE LC_TIME 107 do 108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 109 eval $as_var=C; export $as_var 110 else 111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 112 fi 113 done 114 115 # Required to use basename. 116 if expr a : '\(a\)' >/dev/null 2>&1 && 117 test "X`expr 00001 : '.*\(...\)'`" = X001; then 118 as_expr=expr 119 else 120 as_expr=false 121 fi 122 123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 124 as_basename=basename 125 else 126 as_basename=false 127 fi 128 129 130 # Name of the executable. 131 as_me=`$as_basename -- "$0" || 132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 133 X"$0" : 'X\(//\)$' \| \ 134 X"$0" : 'X\(/\)' \| . 2>/dev/null || 135 echo X/"$0" | 136 sed '/^.*\/\([^/][^/]*\)\/*$/{ 137 s//\1/ 138 q 139 } 140 /^X\/\(\/\/\)$/{ 141 s//\1/ 142 q 143 } 144 /^X\/\(\/\).*/{ 145 s//\1/ 146 q 147 } 148 s/.*/./; q'` 149 150 # CDPATH. 151 $as_unset CDPATH 152 153 154 if test "x$CONFIG_SHELL" = x; then 155 if (eval ":") 2>/dev/null; then 156 as_have_required=yes 157 else 158 as_have_required=no 159 fi 160 161 if test $as_have_required = yes && (eval ": 162 (as_func_return () { 163 (exit \$1) 164 } 165 as_func_success () { 166 as_func_return 0 167 } 168 as_func_failure () { 169 as_func_return 1 170 } 171 as_func_ret_success () { 172 return 0 173 } 174 as_func_ret_failure () { 175 return 1 176 } 177 178 exitcode=0 179 if as_func_success; then 180 : 181 else 182 exitcode=1 183 echo as_func_success failed. 184 fi 185 186 if as_func_failure; then 187 exitcode=1 188 echo as_func_failure succeeded. 189 fi 190 191 if as_func_ret_success; then 192 : 193 else 194 exitcode=1 195 echo as_func_ret_success failed. 196 fi 197 198 if as_func_ret_failure; then 199 exitcode=1 200 echo as_func_ret_failure succeeded. 201 fi 202 203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 204 : 205 else 206 exitcode=1 207 echo positional parameters were not saved. 208 fi 209 210 test \$exitcode = 0) || { (exit 1); exit 1; } 211 212 ( 213 as_lineno_1=\$LINENO 214 as_lineno_2=\$LINENO 215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 217 ") 2> /dev/null; then 218 : 219 else 220 as_candidate_shells= 221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 223 do 224 IFS=$as_save_IFS 225 test -z "$as_dir" && as_dir=. 226 case $as_dir in 227 /*) 228 for as_base in sh bash ksh sh5; do 229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 230 done;; 231 esac 232 done 233 IFS=$as_save_IFS 234 235 236 for as_shell in $as_candidate_shells $SHELL; do 237 # Try only shells that exist, to save several forks. 238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 239 { ("$as_shell") 2> /dev/null <<\_ASEOF 240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 241 emulate sh 242 NULLCMD=: 243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 244 # is contrary to our usage. Disable this feature. 245 alias -g '${1+"$@"}'='"$@"' 246 setopt NO_GLOB_SUBST 247 else 248 case `(set -o) 2>/dev/null` in 249 *posix*) set -o posix ;; 250 esac 251 252 fi 253 254 255 : 256 _ASEOF 257 }; then 258 CONFIG_SHELL=$as_shell 259 as_have_required=yes 260 if { "$as_shell" 2> /dev/null <<\_ASEOF 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268 else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271 esac 272 273 fi 274 275 276 : 277 (as_func_return () { 278 (exit $1) 279 } 280 as_func_success () { 281 as_func_return 0 282 } 283 as_func_failure () { 284 as_func_return 1 285 } 286 as_func_ret_success () { 287 return 0 288 } 289 as_func_ret_failure () { 290 return 1 291 } 292 293 exitcode=0 294 if as_func_success; then 295 : 296 else 297 exitcode=1 298 echo as_func_success failed. 299 fi 300 301 if as_func_failure; then 302 exitcode=1 303 echo as_func_failure succeeded. 304 fi 305 306 if as_func_ret_success; then 307 : 308 else 309 exitcode=1 310 echo as_func_ret_success failed. 311 fi 312 313 if as_func_ret_failure; then 314 exitcode=1 315 echo as_func_ret_failure succeeded. 316 fi 317 318 if ( set x; as_func_ret_success y && test x = "$1" ); then 319 : 320 else 321 exitcode=1 322 echo positional parameters were not saved. 323 fi 324 325 test $exitcode = 0) || { (exit 1); exit 1; } 326 327 ( 328 as_lineno_1=$LINENO 329 as_lineno_2=$LINENO 330 test "x$as_lineno_1" != "x$as_lineno_2" && 331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 332 333 _ASEOF 334 }; then 335 break 336 fi 337 338 fi 339 340 done 341 342 if test "x$CONFIG_SHELL" != x; then 343 for as_var in BASH_ENV ENV 344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 345 done 346 export CONFIG_SHELL 347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 348 fi 349 350 351 if test $as_have_required = no; then 352 echo This script requires a shell more modern than all the 353 echo shells that I found on your system. Please install a 354 echo modern shell, or manually run the script under such a 355 echo shell if you do have one. 356 { (exit 1); exit 1; } 357 fi 358 359 360 fi 361 362 fi 363 364 365 366 (eval "as_func_return () { 367 (exit \$1) 368 } 369 as_func_success () { 370 as_func_return 0 371 } 372 as_func_failure () { 373 as_func_return 1 374 } 375 as_func_ret_success () { 376 return 0 377 } 378 as_func_ret_failure () { 379 return 1 380 } 381 382 exitcode=0 383 if as_func_success; then 384 : 385 else 386 exitcode=1 387 echo as_func_success failed. 388 fi 389 390 if as_func_failure; then 391 exitcode=1 392 echo as_func_failure succeeded. 393 fi 394 395 if as_func_ret_success; then 396 : 397 else 398 exitcode=1 399 echo as_func_ret_success failed. 400 fi 401 402 if as_func_ret_failure; then 403 exitcode=1 404 echo as_func_ret_failure succeeded. 405 fi 406 407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 408 : 409 else 410 exitcode=1 411 echo positional parameters were not saved. 412 fi 413 414 test \$exitcode = 0") || { 415 echo No shell found that supports shell functions. 416 echo Please tell autoconf@gnu.org about your system, 417 echo including any error possibly output before this 418 echo message 419 } 420 421 422 423 as_lineno_1=$LINENO 424 as_lineno_2=$LINENO 425 test "x$as_lineno_1" != "x$as_lineno_2" && 426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 427 428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 429 # uniformly replaced by the line number. The first 'sed' inserts a 430 # line-number line after each line using $LINENO; the second 'sed' 431 # does the real work. The second script uses 'N' to pair each 432 # line-number line with the line containing $LINENO, and appends 433 # trailing '-' during substitution so that $LINENO is not a special 434 # case at line end. 435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 436 # scripts with optimization help from Paolo Bonzini. Blame Lee 437 # E. McMahon (1931-1989) for sed's syntax. :-) 438 sed -n ' 439 p 440 /[$]LINENO/= 441 ' <$as_myself | 442 sed ' 443 s/[$]LINENO.*/&-/ 444 t lineno 445 b 446 :lineno 447 N 448 :loop 449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 450 t loop 451 s/-\n.*// 452 ' >$as_me.lineno && 453 chmod +x "$as_me.lineno" || 454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 455 { (exit 1); exit 1; }; } 456 457 # Don't try to exec as it changes $[0], causing all sort of problems 458 # (the dirname of $[0] is not the place where we might find the 459 # original and so on. Autoconf is especially sensitive to this). 460 . "./$as_me.lineno" 461 # Exit status is that of the last command. 462 exit 463 } 464 465 466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 467 as_dirname=dirname 468 else 469 as_dirname=false 470 fi 471 472 ECHO_C= ECHO_N= ECHO_T= 473 case `echo -n x` in 474 -n*) 475 case `echo 'x\c'` in 476 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 477 *) ECHO_C='\c';; 478 esac;; 479 *) 480 ECHO_N='-n';; 481 esac 482 483 if expr a : '\(a\)' >/dev/null 2>&1 && 484 test "X`expr 00001 : '.*\(...\)'`" = X001; then 485 as_expr=expr 486 else 487 as_expr=false 488 fi 489 490 rm -f conf$$ conf$$.exe conf$$.file 491 if test -d conf$$.dir; then 492 rm -f conf$$.dir/conf$$.file 493 else 494 rm -f conf$$.dir 495 mkdir conf$$.dir 496 fi 497 echo >conf$$.file 498 if ln -s conf$$.file conf$$ 2>/dev/null; then 499 as_ln_s='ln -s' 500 # ... but there are two gotchas: 501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 503 # In both cases, we have to default to `cp -p'. 504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 505 as_ln_s='cp -p' 506 elif ln conf$$.file conf$$ 2>/dev/null; then 507 as_ln_s=ln 508 else 509 as_ln_s='cp -p' 510 fi 511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 512 rmdir conf$$.dir 2>/dev/null 513 514 if mkdir -p . 2>/dev/null; then 515 as_mkdir_p=: 516 else 517 test -d ./-p && rmdir ./-p 518 as_mkdir_p=false 519 fi 520 521 if test -x / >/dev/null 2>&1; then 522 as_test_x='test -x' 523 else 524 if ls -dL / >/dev/null 2>&1; then 525 as_ls_L_option=L 526 else 527 as_ls_L_option= 528 fi 529 as_test_x=' 530 eval sh -c '\'' 531 if test -d "$1"; then 532 test -d "$1/."; 533 else 534 case $1 in 535 -*)set "./$1";; 536 esac; 537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 538 ???[sx]*):;;*)false;;esac;fi 539 '\'' sh 540 ' 541 fi 542 as_executable_p=$as_test_x 543 544 # Sed expression to map a string onto a valid CPP name. 545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 546 547 # Sed expression to map a string onto a valid variable name. 548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 549 550 551 552 553 # Check that we are running under the correct shell. 554 SHELL=${CONFIG_SHELL-/bin/sh} 555 556 case X$lt_ECHO in 557 X*--fallback-echo) 558 # Remove one level of quotation (which was required for Make). 559 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` 560 ;; 561 esac 562 563 ECHO=${lt_ECHO-echo} 564 if test "X$1" = X--no-reexec; then 565 # Discard the --no-reexec flag, and continue. 566 shift 567 elif test "X$1" = X--fallback-echo; then 568 # Avoid inline document here, it may be left over 569 : 570 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then 571 # Yippee, $ECHO works! 572 : 573 else 574 # Restart under the correct shell. 575 exec $SHELL "$0" --no-reexec ${1+"$@"} 576 fi 577 578 if test "X$1" = X--fallback-echo; then 579 # used as fallback echo 580 shift 581 cat <<_LT_EOF 582 $* 583 _LT_EOF 584 exit 0 585 fi 586 587 # The HP-UX ksh and POSIX shell print the target directory to stdout 588 # if CDPATH is set. 589 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 590 591 if test -z "$lt_ECHO"; then 592 if test "X${echo_test_string+set}" != Xset; then 593 # find a string as large as possible, as long as the shell can cope with it 594 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do 595 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 596 if { echo_test_string=`eval $cmd`; } 2>/dev/null && 597 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null 598 then 599 break 600 fi 601 done 602 fi 603 604 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 605 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 606 test "X$echo_testing_string" = "X$echo_test_string"; then 607 : 608 else 609 # The Solaris, AIX, and Digital Unix default echo programs unquote 610 # backslashes. This makes it impossible to quote backslashes using 611 # echo "$something" | sed 's/\\/\\\\/g' 612 # 613 # So, first we look for a working echo in the user's PATH. 614 615 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 616 for dir in $PATH /usr/ucb; do 617 IFS="$lt_save_ifs" 618 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && 619 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && 620 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && 621 test "X$echo_testing_string" = "X$echo_test_string"; then 622 ECHO="$dir/echo" 623 break 624 fi 625 done 626 IFS="$lt_save_ifs" 627 628 if test "X$ECHO" = Xecho; then 629 # We didn't find a better echo, so look for alternatives. 630 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && 631 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && 632 test "X$echo_testing_string" = "X$echo_test_string"; then 633 # This shell has a builtin print -r that does the trick. 634 ECHO='print -r' 635 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && 636 test "X$CONFIG_SHELL" != X/bin/ksh; then 637 # If we have ksh, try running configure again with it. 638 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 639 export ORIGINAL_CONFIG_SHELL 640 CONFIG_SHELL=/bin/ksh 641 export CONFIG_SHELL 642 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} 643 else 644 # Try using printf. 645 ECHO='printf %s\n' 646 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 647 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 648 test "X$echo_testing_string" = "X$echo_test_string"; then 649 # Cool, printf works 650 : 651 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 652 test "X$echo_testing_string" = 'X\t' && 653 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 654 test "X$echo_testing_string" = "X$echo_test_string"; then 655 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL 656 export CONFIG_SHELL 657 SHELL="$CONFIG_SHELL" 658 export SHELL 659 ECHO="$CONFIG_SHELL $0 --fallback-echo" 660 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 661 test "X$echo_testing_string" = 'X\t' && 662 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 663 test "X$echo_testing_string" = "X$echo_test_string"; then 664 ECHO="$CONFIG_SHELL $0 --fallback-echo" 665 else 666 # maybe with a smaller string... 667 prev=: 668 669 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do 670 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null 671 then 672 break 673 fi 674 prev="$cmd" 675 done 676 677 if test "$prev" != 'sed 50q "$0"'; then 678 echo_test_string=`eval $prev` 679 export echo_test_string 680 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} 681 else 682 # Oops. We lost completely, so just stick with echo. 683 ECHO=echo 684 fi 685 fi 686 fi 687 fi 688 fi 689 fi 690 691 # Copy echo and quote the copy suitably for passing to libtool from 692 # the Makefile, instead of quoting the original, which is used later. 693 lt_ECHO=$ECHO 694 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then 695 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" 696 fi 697 698 699 700 701 exec 7<&0 </dev/null 6>&1 702 703 # Name of the host. 704 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 705 # so uname gets run too. 706 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 707 708 # 709 # Initializations. 710 # 711 ac_default_prefix=/usr/local 712 ac_clean_files= 713 ac_config_libobj_dir=. 714 LIBOBJS= 715 cross_compiling=no 716 subdirs= 717 MFLAGS= 718 MAKEFLAGS= 719 SHELL=${CONFIG_SHELL-/bin/sh} 720 721 # Identity of this package. 722 PACKAGE_NAME= 723 PACKAGE_TARNAME= 724 PACKAGE_VERSION= 725 PACKAGE_STRING= 726 PACKAGE_BUGREPORT= 727 728 ac_unique_file="src/framing.c" 729 # Factoring default headers for most tests. 730 ac_includes_default="\ 731 #include <stdio.h> 732 #ifdef HAVE_SYS_TYPES_H 733 # include <sys/types.h> 734 #endif 735 #ifdef HAVE_SYS_STAT_H 736 # include <sys/stat.h> 737 #endif 738 #ifdef STDC_HEADERS 739 # include <stdlib.h> 740 # include <stddef.h> 741 #else 742 # ifdef HAVE_STDLIB_H 743 # include <stdlib.h> 744 # endif 745 #endif 746 #ifdef HAVE_STRING_H 747 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 748 # include <memory.h> 749 # endif 750 # include <string.h> 751 #endif 752 #ifdef HAVE_STRINGS_H 753 # include <strings.h> 754 #endif 755 #ifdef HAVE_INTTYPES_H 756 # include <inttypes.h> 757 #endif 758 #ifdef HAVE_STDINT_H 759 # include <stdint.h> 760 #endif 761 #ifdef HAVE_UNISTD_H 762 # include <unistd.h> 763 #endif" 764 765 ac_subst_vars='SHELL 766 PATH_SEPARATOR 767 PACKAGE_NAME 768 PACKAGE_TARNAME 769 PACKAGE_VERSION 770 PACKAGE_STRING 771 PACKAGE_BUGREPORT 772 exec_prefix 773 prefix 774 program_transform_name 775 bindir 776 sbindir 777 libexecdir 778 datarootdir 779 datadir 780 sysconfdir 781 sharedstatedir 782 localstatedir 783 includedir 784 oldincludedir 785 docdir 786 infodir 787 htmldir 788 dvidir 789 pdfdir 790 psdir 791 libdir 792 localedir 793 mandir 794 DEFS 795 ECHO_C 796 ECHO_N 797 ECHO_T 798 LIBS 799 build_alias 800 host_alias 801 target_alias 802 INSTALL_PROGRAM 803 INSTALL_SCRIPT 804 INSTALL_DATA 805 CYGPATH_W 806 PACKAGE 807 VERSION 808 ACLOCAL 809 AUTOCONF 810 AUTOMAKE 811 AUTOHEADER 812 MAKEINFO 813 install_sh 814 STRIP 815 INSTALL_STRIP_PROGRAM 816 mkdir_p 817 AWK 818 SET_MAKE 819 am__leading_dot 820 AMTAR 821 am__tar 822 am__untar 823 MAINTAINER_MODE_TRUE 824 MAINTAINER_MODE_FALSE 825 MAINT 826 LIB_CURRENT 827 LIB_REVISION 828 LIB_AGE 829 CC 830 CFLAGS 831 LDFLAGS 832 CPPFLAGS 833 ac_ct_CC 834 EXEEXT 835 OBJEXT 836 DEPDIR 837 am__include 838 am__quote 839 AMDEP_TRUE 840 AMDEP_FALSE 841 AMDEPBACKSLASH 842 CCDEPMODE 843 am__fastdepCC_TRUE 844 am__fastdepCC_FALSE 845 LIBTOOL 846 build 847 build_cpu 848 build_vendor 849 build_os 850 host 851 host_cpu 852 host_vendor 853 host_os 854 SED 855 GREP 856 EGREP 857 FGREP 858 LD 859 DUMPBIN 860 ac_ct_DUMPBIN 861 NM 862 LN_S 863 OBJDUMP 864 AR 865 RANLIB 866 lt_ECHO 867 DSYMUTIL 868 NMEDIT 869 LIPO 870 OTOOL 871 OTOOL64 872 CPP 873 LIBOBJS 874 LIBTOOL_DEPS 875 SIZE16 876 USIZE16 877 SIZE32 878 USIZE32 879 SIZE64 880 OPT 881 DEBUG 882 PROFILE 883 LTLIBOBJS' 884 ac_subst_files='' 885 ac_precious_vars='build_alias 886 host_alias 887 target_alias 888 CC 889 CFLAGS 890 LDFLAGS 891 LIBS 892 CPPFLAGS 893 CPP' 894 895 896 # Initialize some variables set by options. 897 ac_init_help= 898 ac_init_version=false 899 # The variables have the same names as the options, with 900 # dashes changed to underlines. 901 cache_file=/dev/null 902 exec_prefix=NONE 903 no_create= 904 no_recursion= 905 prefix=NONE 906 program_prefix=NONE 907 program_suffix=NONE 908 program_transform_name=s,x,x, 909 silent= 910 site= 911 srcdir= 912 verbose= 913 x_includes=NONE 914 x_libraries=NONE 915 916 # Installation directory options. 917 # These are left unexpanded so users can "make install exec_prefix=/foo" 918 # and all the variables that are supposed to be based on exec_prefix 919 # by default will actually change. 920 # Use braces instead of parens because sh, perl, etc. also accept them. 921 # (The list follows the same order as the GNU Coding Standards.) 922 bindir='${exec_prefix}/bin' 923 sbindir='${exec_prefix}/sbin' 924 libexecdir='${exec_prefix}/libexec' 925 datarootdir='${prefix}/share' 926 datadir='${datarootdir}' 927 sysconfdir='${prefix}/etc' 928 sharedstatedir='${prefix}/com' 929 localstatedir='${prefix}/var' 930 includedir='${prefix}/include' 931 oldincludedir='/usr/include' 932 docdir='${datarootdir}/doc/${PACKAGE}' 933 infodir='${datarootdir}/info' 934 htmldir='${docdir}' 935 dvidir='${docdir}' 936 pdfdir='${docdir}' 937 psdir='${docdir}' 938 libdir='${exec_prefix}/lib' 939 localedir='${datarootdir}/locale' 940 mandir='${datarootdir}/man' 941 942 ac_prev= 943 ac_dashdash= 944 for ac_option 945 do 946 # If the previous option needs an argument, assign it. 947 if test -n "$ac_prev"; then 948 eval $ac_prev=\$ac_option 949 ac_prev= 950 continue 951 fi 952 953 case $ac_option in 954 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 955 *) ac_optarg=yes ;; 956 esac 957 958 # Accept the important Cygnus configure options, so we can diagnose typos. 959 960 case $ac_dashdash$ac_option in 961 --) 962 ac_dashdash=yes ;; 963 964 -bindir | --bindir | --bindi | --bind | --bin | --bi) 965 ac_prev=bindir ;; 966 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 967 bindir=$ac_optarg ;; 968 969 -build | --build | --buil | --bui | --bu) 970 ac_prev=build_alias ;; 971 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 972 build_alias=$ac_optarg ;; 973 974 -cache-file | --cache-file | --cache-fil | --cache-fi \ 975 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 976 ac_prev=cache_file ;; 977 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 978 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 979 cache_file=$ac_optarg ;; 980 981 --config-cache | -C) 982 cache_file=config.cache ;; 983 984 -datadir | --datadir | --datadi | --datad) 985 ac_prev=datadir ;; 986 -datadir=* | --datadir=* | --datadi=* | --datad=*) 987 datadir=$ac_optarg ;; 988 989 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 990 | --dataroo | --dataro | --datar) 991 ac_prev=datarootdir ;; 992 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 993 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 994 datarootdir=$ac_optarg ;; 995 996 -disable-* | --disable-*) 997 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 998 # Reject names that are not valid shell variable names. 999 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 1000 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 1001 { (exit 1); exit 1; }; } 1002 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 1003 eval enable_$ac_feature=no ;; 1004 1005 -docdir | --docdir | --docdi | --doc | --do) 1006 ac_prev=docdir ;; 1007 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1008 docdir=$ac_optarg ;; 1009 1010 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1011 ac_prev=dvidir ;; 1012 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1013 dvidir=$ac_optarg ;; 1014 1015 -enable-* | --enable-*) 1016 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1017 # Reject names that are not valid shell variable names. 1018 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 1019 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 1020 { (exit 1); exit 1; }; } 1021 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 1022 eval enable_$ac_feature=\$ac_optarg ;; 1023 1024 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1025 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1026 | --exec | --exe | --ex) 1027 ac_prev=exec_prefix ;; 1028 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1029 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1030 | --exec=* | --exe=* | --ex=*) 1031 exec_prefix=$ac_optarg ;; 1032 1033 -gas | --gas | --ga | --g) 1034 # Obsolete; use --with-gas. 1035 with_gas=yes ;; 1036 1037 -help | --help | --hel | --he | -h) 1038 ac_init_help=long ;; 1039 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1040 ac_init_help=recursive ;; 1041 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1042 ac_init_help=short ;; 1043 1044 -host | --host | --hos | --ho) 1045 ac_prev=host_alias ;; 1046 -host=* | --host=* | --hos=* | --ho=*) 1047 host_alias=$ac_optarg ;; 1048 1049 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1050 ac_prev=htmldir ;; 1051 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1052 | --ht=*) 1053 htmldir=$ac_optarg ;; 1054 1055 -includedir | --includedir | --includedi | --included | --include \ 1056 | --includ | --inclu | --incl | --inc) 1057 ac_prev=includedir ;; 1058 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1059 | --includ=* | --inclu=* | --incl=* | --inc=*) 1060 includedir=$ac_optarg ;; 1061 1062 -infodir | --infodir | --infodi | --infod | --info | --inf) 1063 ac_prev=infodir ;; 1064 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1065 infodir=$ac_optarg ;; 1066 1067 -libdir | --libdir | --libdi | --libd) 1068 ac_prev=libdir ;; 1069 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1070 libdir=$ac_optarg ;; 1071 1072 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1073 | --libexe | --libex | --libe) 1074 ac_prev=libexecdir ;; 1075 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1076 | --libexe=* | --libex=* | --libe=*) 1077 libexecdir=$ac_optarg ;; 1078 1079 -localedir | --localedir | --localedi | --localed | --locale) 1080 ac_prev=localedir ;; 1081 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1082 localedir=$ac_optarg ;; 1083 1084 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1085 | --localstate | --localstat | --localsta | --localst | --locals) 1086 ac_prev=localstatedir ;; 1087 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1088 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1089 localstatedir=$ac_optarg ;; 1090 1091 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1092 ac_prev=mandir ;; 1093 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1094 mandir=$ac_optarg ;; 1095 1096 -nfp | --nfp | --nf) 1097 # Obsolete; use --without-fp. 1098 with_fp=no ;; 1099 1100 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1101 | --no-cr | --no-c | -n) 1102 no_create=yes ;; 1103 1104 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1105 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1106 no_recursion=yes ;; 1107 1108 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1109 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1110 | --oldin | --oldi | --old | --ol | --o) 1111 ac_prev=oldincludedir ;; 1112 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1113 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1114 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1115 oldincludedir=$ac_optarg ;; 1116 1117 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1118 ac_prev=prefix ;; 1119 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1120 prefix=$ac_optarg ;; 1121 1122 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1123 | --program-pre | --program-pr | --program-p) 1124 ac_prev=program_prefix ;; 1125 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1126 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1127 program_prefix=$ac_optarg ;; 1128 1129 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1130 | --program-suf | --program-su | --program-s) 1131 ac_prev=program_suffix ;; 1132 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1133 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1134 program_suffix=$ac_optarg ;; 1135 1136 -program-transform-name | --program-transform-name \ 1137 | --program-transform-nam | --program-transform-na \ 1138 | --program-transform-n | --program-transform- \ 1139 | --program-transform | --program-transfor \ 1140 | --program-transfo | --program-transf \ 1141 | --program-trans | --program-tran \ 1142 | --progr-tra | --program-tr | --program-t) 1143 ac_prev=program_transform_name ;; 1144 -program-transform-name=* | --program-transform-name=* \ 1145 | --program-transform-nam=* | --program-transform-na=* \ 1146 | --program-transform-n=* | --program-transform-=* \ 1147 | --program-transform=* | --program-transfor=* \ 1148 | --program-transfo=* | --program-transf=* \ 1149 | --program-trans=* | --program-tran=* \ 1150 | --progr-tra=* | --program-tr=* | --program-t=*) 1151 program_transform_name=$ac_optarg ;; 1152 1153 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1154 ac_prev=pdfdir ;; 1155 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1156 pdfdir=$ac_optarg ;; 1157 1158 -psdir | --psdir | --psdi | --psd | --ps) 1159 ac_prev=psdir ;; 1160 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1161 psdir=$ac_optarg ;; 1162 1163 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1164 | -silent | --silent | --silen | --sile | --sil) 1165 silent=yes ;; 1166 1167 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1168 ac_prev=sbindir ;; 1169 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1170 | --sbi=* | --sb=*) 1171 sbindir=$ac_optarg ;; 1172 1173 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1174 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1175 | --sharedst | --shareds | --shared | --share | --shar \ 1176 | --sha | --sh) 1177 ac_prev=sharedstatedir ;; 1178 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1179 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1180 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1181 | --sha=* | --sh=*) 1182 sharedstatedir=$ac_optarg ;; 1183 1184 -site | --site | --sit) 1185 ac_prev=site ;; 1186 -site=* | --site=* | --sit=*) 1187 site=$ac_optarg ;; 1188 1189 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1190 ac_prev=srcdir ;; 1191 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1192 srcdir=$ac_optarg ;; 1193 1194 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1195 | --syscon | --sysco | --sysc | --sys | --sy) 1196 ac_prev=sysconfdir ;; 1197 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1198 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1199 sysconfdir=$ac_optarg ;; 1200 1201 -target | --target | --targe | --targ | --tar | --ta | --t) 1202 ac_prev=target_alias ;; 1203 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1204 target_alias=$ac_optarg ;; 1205 1206 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1207 verbose=yes ;; 1208 1209 -version | --version | --versio | --versi | --vers | -V) 1210 ac_init_version=: ;; 1211 1212 -with-* | --with-*) 1213 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1214 # Reject names that are not valid shell variable names. 1215 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1216 { echo "$as_me: error: invalid package name: $ac_package" >&2 1217 { (exit 1); exit 1; }; } 1218 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1219 eval with_$ac_package=\$ac_optarg ;; 1220 1221 -without-* | --without-*) 1222 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1223 # Reject names that are not valid shell variable names. 1224 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1225 { echo "$as_me: error: invalid package name: $ac_package" >&2 1226 { (exit 1); exit 1; }; } 1227 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1228 eval with_$ac_package=no ;; 1229 1230 --x) 1231 # Obsolete; use --with-x. 1232 with_x=yes ;; 1233 1234 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1235 | --x-incl | --x-inc | --x-in | --x-i) 1236 ac_prev=x_includes ;; 1237 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1238 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1239 x_includes=$ac_optarg ;; 1240 1241 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1242 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1243 ac_prev=x_libraries ;; 1244 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1245 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1246 x_libraries=$ac_optarg ;; 1247 1248 -*) { echo "$as_me: error: unrecognized option: $ac_option 1249 Try \`$0 --help' for more information." >&2 1250 { (exit 1); exit 1; }; } 1251 ;; 1252 1253 *=*) 1254 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1255 # Reject names that are not valid shell variable names. 1256 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1257 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1258 { (exit 1); exit 1; }; } 1259 eval $ac_envvar=\$ac_optarg 1260 export $ac_envvar ;; 1261 1262 *) 1263 # FIXME: should be removed in autoconf 3.0. 1264 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1265 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1266 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1267 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1268 ;; 1269 1270 esac 1271 done 1272 1273 if test -n "$ac_prev"; then 1274 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1275 { echo "$as_me: error: missing argument to $ac_option" >&2 1276 { (exit 1); exit 1; }; } 1277 fi 1278 1279 # Be sure to have absolute directory names. 1280 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1281 datadir sysconfdir sharedstatedir localstatedir includedir \ 1282 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1283 libdir localedir mandir 1284 do 1285 eval ac_val=\$$ac_var 1286 case $ac_val in 1287 [\\/$]* | ?:[\\/]* ) continue;; 1288 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1289 esac 1290 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1291 { (exit 1); exit 1; }; } 1292 done 1293 1294 # There might be people who depend on the old broken behavior: `$host' 1295 # used to hold the argument of --host etc. 1296 # FIXME: To remove some day. 1297 build=$build_alias 1298 host=$host_alias 1299 target=$target_alias 1300 1301 # FIXME: To remove some day. 1302 if test "x$host_alias" != x; then 1303 if test "x$build_alias" = x; then 1304 cross_compiling=maybe 1305 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1306 If a cross compiler is detected then cross compile mode will be used." >&2 1307 elif test "x$build_alias" != "x$host_alias"; then 1308 cross_compiling=yes 1309 fi 1310 fi 1311 1312 ac_tool_prefix= 1313 test -n "$host_alias" && ac_tool_prefix=$host_alias- 1314 1315 test "$silent" = yes && exec 6>/dev/null 1316 1317 1318 ac_pwd=`pwd` && test -n "$ac_pwd" && 1319 ac_ls_di=`ls -di .` && 1320 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1321 { echo "$as_me: error: Working directory cannot be determined" >&2 1322 { (exit 1); exit 1; }; } 1323 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1324 { echo "$as_me: error: pwd does not report name of working directory" >&2 1325 { (exit 1); exit 1; }; } 1326 1327 1328 # Find the source files, if location was not specified. 1329 if test -z "$srcdir"; then 1330 ac_srcdir_defaulted=yes 1331 # Try the directory containing this script, then the parent directory. 1332 ac_confdir=`$as_dirname -- "$0" || 1333 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1334 X"$0" : 'X\(//\)[^/]' \| \ 1335 X"$0" : 'X\(//\)$' \| \ 1336 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1337 echo X"$0" | 1338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1339 s//\1/ 1340 q 1341 } 1342 /^X\(\/\/\)[^/].*/{ 1343 s//\1/ 1344 q 1345 } 1346 /^X\(\/\/\)$/{ 1347 s//\1/ 1348 q 1349 } 1350 /^X\(\/\).*/{ 1351 s//\1/ 1352 q 1353 } 1354 s/.*/./; q'` 1355 srcdir=$ac_confdir 1356 if test ! -r "$srcdir/$ac_unique_file"; then 1357 srcdir=.. 1358 fi 1359 else 1360 ac_srcdir_defaulted=no 1361 fi 1362 if test ! -r "$srcdir/$ac_unique_file"; then 1363 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1364 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1365 { (exit 1); exit 1; }; } 1366 fi 1367 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1368 ac_abs_confdir=`( 1369 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1370 { (exit 1); exit 1; }; } 1371 pwd)` 1372 # When building in place, set srcdir=. 1373 if test "$ac_abs_confdir" = "$ac_pwd"; then 1374 srcdir=. 1375 fi 1376 # Remove unnecessary trailing slashes from srcdir. 1377 # Double slashes in file names in object file debugging info 1378 # mess up M-x gdb in Emacs. 1379 case $srcdir in 1380 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1381 esac 1382 for ac_var in $ac_precious_vars; do 1383 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1384 eval ac_env_${ac_var}_value=\$${ac_var} 1385 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1386 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1387 done 1388 1389 # 1390 # Report the --help message. 1391 # 1392 if test "$ac_init_help" = "long"; then 1393 # Omit some internal or obsolete options to make the list less imposing. 1394 # This message is too long to be a string in the A/UX 3.1 sh. 1395 cat <<_ACEOF 1396 \`configure' configures this package to adapt to many kinds of systems. 1397 1398 Usage: $0 [OPTION]... [VAR=VALUE]... 1399 1400 To assign environment variables (e.g., CC, CFLAGS...), specify them as 1401 VAR=VALUE. See below for descriptions of some of the useful variables. 1402 1403 Defaults for the options are specified in brackets. 1404 1405 Configuration: 1406 -h, --help display this help and exit 1407 --help=short display options specific to this package 1408 --help=recursive display the short help of all the included packages 1409 -V, --version display version information and exit 1410 -q, --quiet, --silent do not print \`checking...' messages 1411 --cache-file=FILE cache test results in FILE [disabled] 1412 -C, --config-cache alias for \`--cache-file=config.cache' 1413 -n, --no-create do not create output files 1414 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1415 1416 Installation directories: 1417 --prefix=PREFIX install architecture-independent files in PREFIX 1418 [$ac_default_prefix] 1419 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1420 [PREFIX] 1421 1422 By default, \`make install' will install all the files in 1423 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1424 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1425 for instance \`--prefix=\$HOME'. 1426 1427 For better control, use the options below. 1428 1429 Fine tuning of the installation directories: 1430 --bindir=DIR user executables [EPREFIX/bin] 1431 --sbindir=DIR system admin executables [EPREFIX/sbin] 1432 --libexecdir=DIR program executables [EPREFIX/libexec] 1433 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1434 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1435 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1436 --libdir=DIR object code libraries [EPREFIX/lib] 1437 --includedir=DIR C header files [PREFIX/include] 1438 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1439 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1440 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1441 --infodir=DIR info documentation [DATAROOTDIR/info] 1442 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1443 --mandir=DIR man documentation [DATAROOTDIR/man] 1444 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1445 --htmldir=DIR html documentation [DOCDIR] 1446 --dvidir=DIR dvi documentation [DOCDIR] 1447 --pdfdir=DIR pdf documentation [DOCDIR] 1448 --psdir=DIR ps documentation [DOCDIR] 1449 _ACEOF 1450 1451 cat <<\_ACEOF 1452 1453 Program names: 1454 --program-prefix=PREFIX prepend PREFIX to installed program names 1455 --program-suffix=SUFFIX append SUFFIX to installed program names 1456 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1457 1458 System types: 1459 --build=BUILD configure for building on BUILD [guessed] 1460 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1461 _ACEOF 1462 fi 1463 1464 if test -n "$ac_init_help"; then 1465 1466 cat <<\_ACEOF 1467 1468 Optional Features: 1469 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1470 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1471 --enable-maintainer-mode enable make rules and dependencies not useful 1472 (and sometimes confusing) to the casual installer 1473 --disable-dependency-tracking speeds up one-time build 1474 --enable-dependency-tracking do not reject slow dependency extractors 1475 --enable-shared[=PKGS] build shared libraries [default=yes] 1476 --enable-static[=PKGS] build static libraries [default=yes] 1477 --enable-fast-install[=PKGS] 1478 optimize for fast installation [default=yes] 1479 --disable-libtool-lock avoid locking (might break parallel builds) 1480 1481 Optional Packages: 1482 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1483 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1484 --with-pic try to use only PIC/non-PIC objects [default=use 1485 both] 1486 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1487 1488 Some influential environment variables: 1489 CC C compiler command 1490 CFLAGS C compiler flags 1491 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1492 nonstandard directory <lib dir> 1493 LIBS libraries to pass to the linker, e.g. -l<library> 1494 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1495 you have headers in a nonstandard directory <include dir> 1496 CPP C preprocessor 1497 1498 Use these variables to override the choices made by `configure' or to help 1499 it to find libraries and programs with nonstandard names/locations. 1500 1501 _ACEOF 1502 ac_status=$? 1503 fi 1504 1505 if test "$ac_init_help" = "recursive"; then 1506 # If there are subdirs, report their specific --help. 1507 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1508 test -d "$ac_dir" || continue 1509 ac_builddir=. 1510 1511 case "$ac_dir" in 1512 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1513 *) 1514 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1515 # A ".." for each directory in $ac_dir_suffix. 1516 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1517 case $ac_top_builddir_sub in 1518 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1519 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1520 esac ;; 1521 esac 1522 ac_abs_top_builddir=$ac_pwd 1523 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1524 # for backward compatibility: 1525 ac_top_builddir=$ac_top_build_prefix 1526 1527 case $srcdir in 1528 .) # We are building in place. 1529 ac_srcdir=. 1530 ac_top_srcdir=$ac_top_builddir_sub 1531 ac_abs_top_srcdir=$ac_pwd ;; 1532 [\\/]* | ?:[\\/]* ) # Absolute name. 1533 ac_srcdir=$srcdir$ac_dir_suffix; 1534 ac_top_srcdir=$srcdir 1535 ac_abs_top_srcdir=$srcdir ;; 1536 *) # Relative name. 1537 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1538 ac_top_srcdir=$ac_top_build_prefix$srcdir 1539 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1540 esac 1541 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1542 1543 cd "$ac_dir" || { ac_status=$?; continue; } 1544 # Check for guested configure. 1545 if test -f "$ac_srcdir/configure.gnu"; then 1546 echo && 1547 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1548 elif test -f "$ac_srcdir/configure"; then 1549 echo && 1550 $SHELL "$ac_srcdir/configure" --help=recursive 1551 else 1552 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1553 fi || ac_status=$? 1554 cd "$ac_pwd" || { ac_status=$?; break; } 1555 done 1556 fi 1557 1558 test -n "$ac_init_help" && exit $ac_status 1559 if $ac_init_version; then 1560 cat <<\_ACEOF 1561 configure 1562 generated by GNU Autoconf 2.61 1563 1564 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1565 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1566 This configure script is free software; the Free Software Foundation 1567 gives unlimited permission to copy, distribute and modify it. 1568 _ACEOF 1569 exit 1570 fi 1571 cat >config.log <<_ACEOF 1572 This file contains any messages produced by compilers while 1573 running configure, to aid debugging if configure makes a mistake. 1574 1575 It was created by $as_me, which was 1576 generated by GNU Autoconf 2.61. Invocation command line was 1577 1578 $ $0 $@ 1579 1580 _ACEOF 1581 exec 5>>config.log 1582 { 1583 cat <<_ASUNAME 1584 ## --------- ## 1585 ## Platform. ## 1586 ## --------- ## 1587 1588 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1589 uname -m = `(uname -m) 2>/dev/null || echo unknown` 1590 uname -r = `(uname -r) 2>/dev/null || echo unknown` 1591 uname -s = `(uname -s) 2>/dev/null || echo unknown` 1592 uname -v = `(uname -v) 2>/dev/null || echo unknown` 1593 1594 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1595 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1596 1597 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1598 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1599 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1600 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1601 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1602 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1603 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1604 1605 _ASUNAME 1606 1607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1608 for as_dir in $PATH 1609 do 1610 IFS=$as_save_IFS 1611 test -z "$as_dir" && as_dir=. 1612 echo "PATH: $as_dir" 1613 done 1614 IFS=$as_save_IFS 1615 1616 } >&5 1617 1618 cat >&5 <<_ACEOF 1619 1620 1621 ## ----------- ## 1622 ## Core tests. ## 1623 ## ----------- ## 1624 1625 _ACEOF 1626 1627 1628 # Keep a trace of the command line. 1629 # Strip out --no-create and --no-recursion so they do not pile up. 1630 # Strip out --silent because we don't want to record it for future runs. 1631 # Also quote any args containing shell meta-characters. 1632 # Make two passes to allow for proper duplicate-argument suppression. 1633 ac_configure_args= 1634 ac_configure_args0= 1635 ac_configure_args1= 1636 ac_must_keep_next=false 1637 for ac_pass in 1 2 1638 do 1639 for ac_arg 1640 do 1641 case $ac_arg in 1642 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1643 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1644 | -silent | --silent | --silen | --sile | --sil) 1645 continue ;; 1646 *\'*) 1647 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1648 esac 1649 case $ac_pass in 1650 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1651 2) 1652 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1653 if test $ac_must_keep_next = true; then 1654 ac_must_keep_next=false # Got value, back to normal. 1655 else 1656 case $ac_arg in 1657 *=* | --config-cache | -C | -disable-* | --disable-* \ 1658 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1659 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1660 | -with-* | --with-* | -without-* | --without-* | --x) 1661 case "$ac_configure_args0 " in 1662 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1663 esac 1664 ;; 1665 -* ) ac_must_keep_next=true ;; 1666 esac 1667 fi 1668 ac_configure_args="$ac_configure_args '$ac_arg'" 1669 ;; 1670 esac 1671 done 1672 done 1673 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1674 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1675 1676 # When interrupted or exit'd, cleanup temporary files, and complete 1677 # config.log. We remove comments because anyway the quotes in there 1678 # would cause problems or look ugly. 1679 # WARNING: Use '\'' to represent an apostrophe within the trap. 1680 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1681 trap 'exit_status=$? 1682 # Save into config.log some information that might help in debugging. 1683 { 1684 echo 1685 1686 cat <<\_ASBOX 1687 ## ---------------- ## 1688 ## Cache variables. ## 1689 ## ---------------- ## 1690 _ASBOX 1691 echo 1692 # The following way of writing the cache mishandles newlines in values, 1693 ( 1694 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1695 eval ac_val=\$$ac_var 1696 case $ac_val in #( 1697 *${as_nl}*) 1698 case $ac_var in #( 1699 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1700 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1701 esac 1702 case $ac_var in #( 1703 _ | IFS | as_nl) ;; #( 1704 *) $as_unset $ac_var ;; 1705 esac ;; 1706 esac 1707 done 1708 (set) 2>&1 | 1709 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1710 *${as_nl}ac_space=\ *) 1711 sed -n \ 1712 "s/'\''/'\''\\\\'\'''\''/g; 1713 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1714 ;; #( 1715 *) 1716 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1717 ;; 1718 esac | 1719 sort 1720 ) 1721 echo 1722 1723 cat <<\_ASBOX 1724 ## ----------------- ## 1725 ## Output variables. ## 1726 ## ----------------- ## 1727 _ASBOX 1728 echo 1729 for ac_var in $ac_subst_vars 1730 do 1731 eval ac_val=\$$ac_var 1732 case $ac_val in 1733 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1734 esac 1735 echo "$ac_var='\''$ac_val'\''" 1736 done | sort 1737 echo 1738 1739 if test -n "$ac_subst_files"; then 1740 cat <<\_ASBOX 1741 ## ------------------- ## 1742 ## File substitutions. ## 1743 ## ------------------- ## 1744 _ASBOX 1745 echo 1746 for ac_var in $ac_subst_files 1747 do 1748 eval ac_val=\$$ac_var 1749 case $ac_val in 1750 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1751 esac 1752 echo "$ac_var='\''$ac_val'\''" 1753 done | sort 1754 echo 1755 fi 1756 1757 if test -s confdefs.h; then 1758 cat <<\_ASBOX 1759 ## ----------- ## 1760 ## confdefs.h. ## 1761 ## ----------- ## 1762 _ASBOX 1763 echo 1764 cat confdefs.h 1765 echo 1766 fi 1767 test "$ac_signal" != 0 && 1768 echo "$as_me: caught signal $ac_signal" 1769 echo "$as_me: exit $exit_status" 1770 } >&5 1771 rm -f core *.core core.conftest.* && 1772 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1773 exit $exit_status 1774 ' 0 1775 for ac_signal in 1 2 13 15; do 1776 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1777 done 1778 ac_signal=0 1779 1780 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1781 rm -f -r conftest* confdefs.h 1782 1783 # Predefined preprocessor variables. 1784 1785 cat >>confdefs.h <<_ACEOF 1786 #define PACKAGE_NAME "$PACKAGE_NAME" 1787 _ACEOF 1788 1789 1790 cat >>confdefs.h <<_ACEOF 1791 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1792 _ACEOF 1793 1794 1795 cat >>confdefs.h <<_ACEOF 1796 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1797 _ACEOF 1798 1799 1800 cat >>confdefs.h <<_ACEOF 1801 #define PACKAGE_STRING "$PACKAGE_STRING" 1802 _ACEOF 1803 1804 1805 cat >>confdefs.h <<_ACEOF 1806 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1807 _ACEOF 1808 1809 1810 # Let the site file select an alternate cache file if it wants to. 1811 # Prefer explicitly selected file to automatically selected ones. 1812 if test -n "$CONFIG_SITE"; then 1813 set x "$CONFIG_SITE" 1814 elif test "x$prefix" != xNONE; then 1815 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1816 else 1817 set x "$ac_default_prefix/share/config.site" \ 1818 "$ac_default_prefix/etc/config.site" 1819 fi 1820 shift 1821 for ac_site_file 1822 do 1823 if test -r "$ac_site_file"; then 1824 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1825 echo "$as_me: loading site script $ac_site_file" >&6;} 1826 sed 's/^/| /' "$ac_site_file" >&5 1827 . "$ac_site_file" 1828 fi 1829 done 1830 1831 if test -r "$cache_file"; then 1832 # Some versions of bash will fail to source /dev/null (special 1833 # files actually), so we avoid doing that. 1834 if test -f "$cache_file"; then 1835 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1836 echo "$as_me: loading cache $cache_file" >&6;} 1837 case $cache_file in 1838 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1839 *) . "./$cache_file";; 1840 esac 1841 fi 1842 else 1843 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1844 echo "$as_me: creating cache $cache_file" >&6;} 1845 >$cache_file 1846 fi 1847 1848 # Check that the precious variables saved in the cache have kept the same 1849 # value. 1850 ac_cache_corrupted=false 1851 for ac_var in $ac_precious_vars; do 1852 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1853 eval ac_new_set=\$ac_env_${ac_var}_set 1854 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1855 eval ac_new_val=\$ac_env_${ac_var}_value 1856 case $ac_old_set,$ac_new_set in 1857 set,) 1858 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1859 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1860 ac_cache_corrupted=: ;; 1861 ,set) 1862 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1863 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1864 ac_cache_corrupted=: ;; 1865 ,);; 1866 *) 1867 if test "x$ac_old_val" != "x$ac_new_val"; then 1868 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1869 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1870 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1871 echo "$as_me: former value: $ac_old_val" >&2;} 1872 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1873 echo "$as_me: current value: $ac_new_val" >&2;} 1874 ac_cache_corrupted=: 1875 fi;; 1876 esac 1877 # Pass precious variables to config.status. 1878 if test "$ac_new_set" = set; then 1879 case $ac_new_val in 1880 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1881 *) ac_arg=$ac_var=$ac_new_val ;; 1882 esac 1883 case " $ac_configure_args " in 1884 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1885 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1886 esac 1887 fi 1888 done 1889 if $ac_cache_corrupted; then 1890 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1891 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1892 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1893 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1894 { (exit 1); exit 1; }; } 1895 fi 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 ac_ext=c 1914 ac_cpp='$CPP $CPPFLAGS' 1915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1917 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1918 1919 1920 1921 am__api_version="1.9" 1922 ac_aux_dir= 1923 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1924 if test -f "$ac_dir/install-sh"; then 1925 ac_aux_dir=$ac_dir 1926 ac_install_sh="$ac_aux_dir/install-sh -c" 1927 break 1928 elif test -f "$ac_dir/install.sh"; then 1929 ac_aux_dir=$ac_dir 1930 ac_install_sh="$ac_aux_dir/install.sh -c" 1931 break 1932 elif test -f "$ac_dir/shtool"; then 1933 ac_aux_dir=$ac_dir 1934 ac_install_sh="$ac_aux_dir/shtool install -c" 1935 break 1936 fi 1937 done 1938 if test -z "$ac_aux_dir"; then 1939 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1940 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1941 { (exit 1); exit 1; }; } 1942 fi 1943 1944 # These three variables are undocumented and unsupported, 1945 # and are intended to be withdrawn in a future Autoconf release. 1946 # They can cause serious problems if a builder's source tree is in a directory 1947 # whose full name contains unusual characters. 1948 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1949 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1950 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1951 1952 1953 # Find a good install program. We prefer a C program (faster), 1954 # so one script is as good as another. But avoid the broken or 1955 # incompatible versions: 1956 # SysV /etc/install, /usr/sbin/install 1957 # SunOS /usr/etc/install 1958 # IRIX /sbin/install 1959 # AIX /bin/install 1960 # AmigaOS /C/install, which installs bootblocks on floppy discs 1961 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1962 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 1963 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1964 # OS/2's system install, which has a completely different semantic 1965 # ./install, which can be erroneously created by make from ./install.sh. 1966 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1967 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 1968 if test -z "$INSTALL"; then 1969 if test "${ac_cv_path_install+set}" = set; then 1970 echo $ECHO_N "(cached) $ECHO_C" >&6 1971 else 1972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1973 for as_dir in $PATH 1974 do 1975 IFS=$as_save_IFS 1976 test -z "$as_dir" && as_dir=. 1977 # Account for people who put trailing slashes in PATH elements. 1978 case $as_dir/ in 1979 ./ | .// | /cC/* | \ 1980 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1981 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1982 /usr/ucb/* ) ;; 1983 *) 1984 # OSF1 and SCO ODT 3.0 have their own names for install. 1985 # Don't use installbsd from OSF since it installs stuff as root 1986 # by default. 1987 for ac_prog in ginstall scoinst install; do 1988 for ac_exec_ext in '' $ac_executable_extensions; do 1989 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 1990 if test $ac_prog = install && 1991 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1992 # AIX install. It has an incompatible calling convention. 1993 : 1994 elif test $ac_prog = install && 1995 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1996 # program-specific install script used by HP pwplus--don't use. 1997 : 1998 else 1999 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2000 break 3 2001 fi 2002 fi 2003 done 2004 done 2005 ;; 2006 esac 2007 done 2008 IFS=$as_save_IFS 2009 2010 2011 fi 2012 if test "${ac_cv_path_install+set}" = set; then 2013 INSTALL=$ac_cv_path_install 2014 else 2015 # As a last resort, use the slow shell script. Don't cache a 2016 # value for INSTALL within a source directory, because that will 2017 # break other packages using the cache if that directory is 2018 # removed, or if the value is a relative name. 2019 INSTALL=$ac_install_sh 2020 fi 2021 fi 2022 { echo "$as_me:$LINENO: result: $INSTALL" >&5 2023 echo "${ECHO_T}$INSTALL" >&6; } 2024 2025 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2026 # It thinks the first close brace ends the variable substitution. 2027 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2028 2029 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2030 2031 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2032 2033 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5 2034 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } 2035 # Just in case 2036 sleep 1 2037 echo timestamp > conftest.file 2038 # Do `set' in a subshell so we don't clobber the current shell's 2039 # arguments. Must try -L first in case configure is actually a 2040 # symlink; some systems play weird games with the mod time of symlinks 2041 # (eg FreeBSD returns the mod time of the symlink's containing 2042 # directory). 2043 if ( 2044 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 2045 if test "$*" = "X"; then 2046 # -L didn't work. 2047 set X `ls -t $srcdir/configure conftest.file` 2048 fi 2049 rm -f conftest.file 2050 if test "$*" != "X $srcdir/configure conftest.file" \ 2051 && test "$*" != "X conftest.file $srcdir/configure"; then 2052 2053 # If neither matched, then we have a broken ls. This can happen 2054 # if, for instance, CONFIG_SHELL is bash and it inherits a 2055 # broken ls alias from the environment. This has actually 2056 # happened. Such a system could not be considered "sane". 2057 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 2058 alias in your environment" >&5 2059 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 2060 alias in your environment" >&2;} 2061 { (exit 1); exit 1; }; } 2062 fi 2063 2064 test "$2" = conftest.file 2065 ) 2066 then 2067 # Ok. 2068 : 2069 else 2070 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 2071 Check your system clock" >&5 2072 echo "$as_me: error: newly created file is older than distributed files! 2073 Check your system clock" >&2;} 2074 { (exit 1); exit 1; }; } 2075 fi 2076 { echo "$as_me:$LINENO: result: yes" >&5 2077 echo "${ECHO_T}yes" >&6; } 2078 test "$program_prefix" != NONE && 2079 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2080 # Use a double $ so make ignores it. 2081 test "$program_suffix" != NONE && 2082 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2083 # Double any \ or $. echo might interpret backslashes. 2084 # By default was `s,x,x', remove it if useless. 2085 cat <<\_ACEOF >conftest.sed 2086 s/[\\$]/&&/g;s/;s,x,x,$// 2087 _ACEOF 2088 program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 2089 rm -f conftest.sed 2090 2091 # expand $ac_aux_dir to an absolute path 2092 am_aux_dir=`cd $ac_aux_dir && pwd` 2093 2094 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 2095 # Use eval to expand $SHELL 2096 if eval "$MISSING --run true"; then 2097 am_missing_run="$MISSING --run " 2098 else 2099 am_missing_run= 2100 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 2101 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2102 fi 2103 2104 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 2105 # We used to keeping the `.' as first argument, in order to 2106 # allow $(mkdir_p) to be used without argument. As in 2107 # $(mkdir_p) $(somedir) 2108 # where $(somedir) is conditionally defined. However this is wrong 2109 # for two reasons: 2110 # 1. if the package is installed by a user who cannot write `.' 2111 # make install will fail, 2112 # 2. the above comment should most certainly read 2113 # $(mkdir_p) $(DESTDIR)$(somedir) 2114 # so it does not work when $(somedir) is undefined and 2115 # $(DESTDIR) is not. 2116 # To support the latter case, we have to write 2117 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), 2118 # so the `.' trick is pointless. 2119 mkdir_p='mkdir -p --' 2120 else 2121 # On NextStep and OpenStep, the `mkdir' command does not 2122 # recognize any option. It will interpret all options as 2123 # directories to create, and then abort because `.' already 2124 # exists. 2125 for d in ./-p ./--version; 2126 do 2127 test -d $d && rmdir $d 2128 done 2129 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 2130 if test -f "$ac_aux_dir/mkinstalldirs"; then 2131 mkdir_p='$(mkinstalldirs)' 2132 else 2133 mkdir_p='$(install_sh) -d' 2134 fi 2135 fi 2136 2137 for ac_prog in gawk mawk nawk awk 2138 do 2139 # Extract the first word of "$ac_prog", so it can be a program name with args. 2140 set dummy $ac_prog; ac_word=$2 2141 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2143 if test "${ac_cv_prog_AWK+set}" = set; then 2144 echo $ECHO_N "(cached) $ECHO_C" >&6 2145 else 2146 if test -n "$AWK"; then 2147 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2148 else 2149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2150 for as_dir in $PATH 2151 do 2152 IFS=$as_save_IFS 2153 test -z "$as_dir" && as_dir=. 2154 for ac_exec_ext in '' $ac_executable_extensions; do 2155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2156 ac_cv_prog_AWK="$ac_prog" 2157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2158 break 2 2159 fi 2160 done 2161 done 2162 IFS=$as_save_IFS 2163 2164 fi 2165 fi 2166 AWK=$ac_cv_prog_AWK 2167 if test -n "$AWK"; then 2168 { echo "$as_me:$LINENO: result: $AWK" >&5 2169 echo "${ECHO_T}$AWK" >&6; } 2170 else 2171 { echo "$as_me:$LINENO: result: no" >&5 2172 echo "${ECHO_T}no" >&6; } 2173 fi 2174 2175 2176 test -n "$AWK" && break 2177 done 2178 2179 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2180 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 2181 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2182 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2183 echo $ECHO_N "(cached) $ECHO_C" >&6 2184 else 2185 cat >conftest.make <<\_ACEOF 2186 SHELL = /bin/sh 2187 all: 2188 @echo '@@@%%%=$(MAKE)=@@@%%%' 2189 _ACEOF 2190 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2191 case `${MAKE-make} -f conftest.make 2>/dev/null` in 2192 *@@@%%%=?*=@@@%%%*) 2193 eval ac_cv_prog_make_${ac_make}_set=yes;; 2194 *) 2195 eval ac_cv_prog_make_${ac_make}_set=no;; 2196 esac 2197 rm -f conftest.make 2198 fi 2199 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2200 { echo "$as_me:$LINENO: result: yes" >&5 2201 echo "${ECHO_T}yes" >&6; } 2202 SET_MAKE= 2203 else 2204 { echo "$as_me:$LINENO: result: no" >&5 2205 echo "${ECHO_T}no" >&6; } 2206 SET_MAKE="MAKE=${MAKE-make}" 2207 fi 2208 2209 rm -rf .tst 2>/dev/null 2210 mkdir .tst 2>/dev/null 2211 if test -d .tst; then 2212 am__leading_dot=. 2213 else 2214 am__leading_dot=_ 2215 fi 2216 rmdir .tst 2>/dev/null 2217 2218 # test to see if srcdir already configured 2219 if test "`cd $srcdir && pwd`" != "`pwd`" && 2220 test -f $srcdir/config.status; then 2221 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2222 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2223 { (exit 1); exit 1; }; } 2224 fi 2225 2226 # test whether we have cygpath 2227 if test -z "$CYGPATH_W"; then 2228 if (cygpath --version) >/dev/null 2>/dev/null; then 2229 CYGPATH_W='cygpath -w' 2230 else 2231 CYGPATH_W=echo 2232 fi 2233 fi 2234 2235 2236 # Define the identity of the package. 2237 PACKAGE=libogg 2238 VERSION=1.2.0 2239 2240 2241 cat >>confdefs.h <<_ACEOF 2242 #define PACKAGE "$PACKAGE" 2243 _ACEOF 2244 2245 2246 cat >>confdefs.h <<_ACEOF 2247 #define VERSION "$VERSION" 2248 _ACEOF 2249 2250 # Some tools Automake needs. 2251 2252 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2253 2254 2255 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2256 2257 2258 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2259 2260 2261 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2262 2263 2264 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2265 2266 install_sh=${install_sh-"$am_aux_dir/install-sh"} 2267 2268 # Installed binaries are usually stripped using `strip' when the user 2269 # run `make install-strip'. However `strip' might not be the right 2270 # tool to use in cross-compilation environments, therefore Automake 2271 # will honor the `STRIP' environment variable to overrule this program. 2272 if test "$cross_compiling" != no; then 2273 if test -n "$ac_tool_prefix"; then 2274 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2275 set dummy ${ac_tool_prefix}strip; ac_word=$2 2276 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2278 if test "${ac_cv_prog_STRIP+set}" = set; then 2279 echo $ECHO_N "(cached) $ECHO_C" >&6 2280 else 2281 if test -n "$STRIP"; then 2282 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2283 else 2284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2285 for as_dir in $PATH 2286 do 2287 IFS=$as_save_IFS 2288 test -z "$as_dir" && as_dir=. 2289 for ac_exec_ext in '' $ac_executable_extensions; do 2290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2291 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2293 break 2 2294 fi 2295 done 2296 done 2297 IFS=$as_save_IFS 2298 2299 fi 2300 fi 2301 STRIP=$ac_cv_prog_STRIP 2302 if test -n "$STRIP"; then 2303 { echo "$as_me:$LINENO: result: $STRIP" >&5 2304 echo "${ECHO_T}$STRIP" >&6; } 2305 else 2306 { echo "$as_me:$LINENO: result: no" >&5 2307 echo "${ECHO_T}no" >&6; } 2308 fi 2309 2310 2311 fi 2312 if test -z "$ac_cv_prog_STRIP"; then 2313 ac_ct_STRIP=$STRIP 2314 # Extract the first word of "strip", so it can be a program name with args. 2315 set dummy strip; ac_word=$2 2316 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2318 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2319 echo $ECHO_N "(cached) $ECHO_C" >&6 2320 else 2321 if test -n "$ac_ct_STRIP"; then 2322 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2323 else 2324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2325 for as_dir in $PATH 2326 do 2327 IFS=$as_save_IFS 2328 test -z "$as_dir" && as_dir=. 2329 for ac_exec_ext in '' $ac_executable_extensions; do 2330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2331 ac_cv_prog_ac_ct_STRIP="strip" 2332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2333 break 2 2334 fi 2335 done 2336 done 2337 IFS=$as_save_IFS 2338 2339 fi 2340 fi 2341 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2342 if test -n "$ac_ct_STRIP"; then 2343 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2344 echo "${ECHO_T}$ac_ct_STRIP" >&6; } 2345 else 2346 { echo "$as_me:$LINENO: result: no" >&5 2347 echo "${ECHO_T}no" >&6; } 2348 fi 2349 2350 if test "x$ac_ct_STRIP" = x; then 2351 STRIP=":" 2352 else 2353 case $cross_compiling:$ac_tool_warned in 2354 yes:) 2355 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2356 whose name does not start with the host triplet. If you think this 2357 configuration is useful to you, please write to autoconf (at] gnu.org." >&5 2358 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2359 whose name does not start with the host triplet. If you think this 2360 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;} 2361 ac_tool_warned=yes ;; 2362 esac 2363 STRIP=$ac_ct_STRIP 2364 fi 2365 else 2366 STRIP="$ac_cv_prog_STRIP" 2367 fi 2368 2369 fi 2370 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 2371 2372 # We need awk for the "check" target. The system "awk" is bad on 2373 # some platforms. 2374 # Always define AMTAR for backward compatibility. 2375 2376 AMTAR=${AMTAR-"${am_missing_run}tar"} 2377 2378 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2379 2380 2381 2382 2383 2384 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 2385 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; } 2386 # Check whether --enable-maintainer-mode was given. 2387 if test "${enable_maintainer_mode+set}" = set; then 2388 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2389 else 2390 USE_MAINTAINER_MODE=no 2391 fi 2392 2393 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 2394 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } 2395 2396 2397 if test $USE_MAINTAINER_MODE = yes; then 2398 MAINTAINER_MODE_TRUE= 2399 MAINTAINER_MODE_FALSE='#' 2400 else 2401 MAINTAINER_MODE_TRUE='#' 2402 MAINTAINER_MODE_FALSE= 2403 fi 2404 2405 MAINT=$MAINTAINER_MODE_TRUE 2406 2407 2408 2409 2410 LIB_CURRENT=7 2411 LIB_REVISION=0 2412 LIB_AGE=7 2413 2414 2415 2416 2417 ac_ext=c 2418 ac_cpp='$CPP $CPPFLAGS' 2419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2421 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2422 if test -n "$ac_tool_prefix"; then 2423 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2424 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2425 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2427 if test "${ac_cv_prog_CC+set}" = set; then 2428 echo $ECHO_N "(cached) $ECHO_C" >&6 2429 else 2430 if test -n "$CC"; then 2431 ac_cv_prog_CC="$CC" # Let the user override the test. 2432 else 2433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2434 for as_dir in $PATH 2435 do 2436 IFS=$as_save_IFS 2437 test -z "$as_dir" && as_dir=. 2438 for ac_exec_ext in '' $ac_executable_extensions; do 2439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2440 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2442 break 2 2443 fi 2444 done 2445 done 2446 IFS=$as_save_IFS 2447 2448 fi 2449 fi 2450 CC=$ac_cv_prog_CC 2451 if test -n "$CC"; then 2452 { echo "$as_me:$LINENO: result: $CC" >&5 2453 echo "${ECHO_T}$CC" >&6; } 2454 else 2455 { echo "$as_me:$LINENO: result: no" >&5 2456 echo "${ECHO_T}no" >&6; } 2457 fi 2458 2459 2460 fi 2461 if test -z "$ac_cv_prog_CC"; then 2462 ac_ct_CC=$CC 2463 # Extract the first word of "gcc", so it can be a program name with args. 2464 set dummy gcc; ac_word=$2 2465 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2467 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2468 echo $ECHO_N "(cached) $ECHO_C" >&6 2469 else 2470 if test -n "$ac_ct_CC"; then 2471 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2472 else 2473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2474 for as_dir in $PATH 2475 do 2476 IFS=$as_save_IFS 2477 test -z "$as_dir" && as_dir=. 2478 for ac_exec_ext in '' $ac_executable_extensions; do 2479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2480 ac_cv_prog_ac_ct_CC="gcc" 2481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2482 break 2 2483 fi 2484 done 2485 done 2486 IFS=$as_save_IFS 2487 2488 fi 2489 fi 2490 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2491 if test -n "$ac_ct_CC"; then 2492 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2493 echo "${ECHO_T}$ac_ct_CC" >&6; } 2494 else 2495 { echo "$as_me:$LINENO: result: no" >&5 2496 echo "${ECHO_T}no" >&6; } 2497 fi 2498 2499 if test "x$ac_ct_CC" = x; then 2500 CC="" 2501 else 2502 case $cross_compiling:$ac_tool_warned in 2503 yes:) 2504 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2505 whose name does not start with the host triplet. If you think this 2506 configuration is useful to you, please write to autoconf (at] gnu.org." >&5 2507 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2508 whose name does not start with the host triplet. If you think this 2509 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;} 2510 ac_tool_warned=yes ;; 2511 esac 2512 CC=$ac_ct_CC 2513 fi 2514 else 2515 CC="$ac_cv_prog_CC" 2516 fi 2517 2518 if test -z "$CC"; then 2519 if test -n "$ac_tool_prefix"; then 2520 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2521 set dummy ${ac_tool_prefix}cc; ac_word=$2 2522 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2524 if test "${ac_cv_prog_CC+set}" = set; then 2525 echo $ECHO_N "(cached) $ECHO_C" >&6 2526 else 2527 if test -n "$CC"; then 2528 ac_cv_prog_CC="$CC" # Let the user override the test. 2529 else 2530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2531 for as_dir in $PATH 2532 do 2533 IFS=$as_save_IFS 2534 test -z "$as_dir" && as_dir=. 2535 for ac_exec_ext in '' $ac_executable_extensions; do 2536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2537 ac_cv_prog_CC="${ac_tool_prefix}cc" 2538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2539 break 2 2540 fi 2541 done 2542 done 2543 IFS=$as_save_IFS 2544 2545 fi 2546 fi 2547 CC=$ac_cv_prog_CC 2548 if test -n "$CC"; then 2549 { echo "$as_me:$LINENO: result: $CC" >&5 2550 echo "${ECHO_T}$CC" >&6; } 2551 else 2552 { echo "$as_me:$LINENO: result: no" >&5 2553 echo "${ECHO_T}no" >&6; } 2554 fi 2555 2556 2557 fi 2558 fi 2559 if test -z "$CC"; then 2560 # Extract the first word of "cc", so it can be a program name with args. 2561 set dummy cc; ac_word=$2 2562 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2564 if test "${ac_cv_prog_CC+set}" = set; then 2565 echo $ECHO_N "(cached) $ECHO_C" >&6 2566 else 2567 if test -n "$CC"; then 2568 ac_cv_prog_CC="$CC" # Let the user override the test. 2569 else 2570 ac_prog_rejected=no 2571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2572 for as_dir in $PATH 2573 do 2574 IFS=$as_save_IFS 2575 test -z "$as_dir" && as_dir=. 2576 for ac_exec_ext in '' $ac_executable_extensions; do 2577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2578 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2579 ac_prog_rejected=yes 2580 continue 2581 fi 2582 ac_cv_prog_CC="cc" 2583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2584 break 2 2585 fi 2586 done 2587 done 2588 IFS=$as_save_IFS 2589 2590 if test $ac_prog_rejected = yes; then 2591 # We found a bogon in the path, so make sure we never use it. 2592 set dummy $ac_cv_prog_CC 2593 shift 2594 if test $# != 0; then 2595 # We chose a different compiler from the bogus one. 2596 # However, it has the same basename, so the bogon will be chosen 2597 # first if we set CC to just the basename; use the full file name. 2598 shift 2599 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2600 fi 2601 fi 2602 fi 2603 fi 2604 CC=$ac_cv_prog_CC 2605 if test -n "$CC"; then 2606 { echo "$as_me:$LINENO: result: $CC" >&5 2607 echo "${ECHO_T}$CC" >&6; } 2608 else 2609 { echo "$as_me:$LINENO: result: no" >&5 2610 echo "${ECHO_T}no" >&6; } 2611 fi 2612 2613 2614 fi 2615 if test -z "$CC"; then 2616 if test -n "$ac_tool_prefix"; then 2617 for ac_prog in cl.exe 2618 do 2619 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2620 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2621 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2623 if test "${ac_cv_prog_CC+set}" = set; then 2624 echo $ECHO_N "(cached) $ECHO_C" >&6 2625 else 2626 if test -n "$CC"; then 2627 ac_cv_prog_CC="$CC" # Let the user override the test. 2628 else 2629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2630 for as_dir in $PATH 2631 do 2632 IFS=$as_save_IFS 2633 test -z "$as_dir" && as_dir=. 2634 for ac_exec_ext in '' $ac_executable_extensions; do 2635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2636 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2638 break 2 2639 fi 2640 done 2641 done 2642 IFS=$as_save_IFS 2643 2644 fi 2645 fi 2646 CC=$ac_cv_prog_CC 2647 if test -n "$CC"; then 2648 { echo "$as_me:$LINENO: result: $CC" >&5 2649 echo "${ECHO_T}$CC" >&6; } 2650 else 2651 { echo "$as_me:$LINENO: result: no" >&5 2652 echo "${ECHO_T}no" >&6; } 2653 fi 2654 2655 2656 test -n "$CC" && break 2657 done 2658 fi 2659 if test -z "$CC"; then 2660 ac_ct_CC=$CC 2661 for ac_prog in cl.exe 2662 do 2663 # Extract the first word of "$ac_prog", so it can be a program name with args. 2664 set dummy $ac_prog; ac_word=$2 2665 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2667 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2668 echo $ECHO_N "(cached) $ECHO_C" >&6 2669 else 2670 if test -n "$ac_ct_CC"; then 2671 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2672 else 2673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2674 for as_dir in $PATH 2675 do 2676 IFS=$as_save_IFS 2677 test -z "$as_dir" && as_dir=. 2678 for ac_exec_ext in '' $ac_executable_extensions; do 2679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2680 ac_cv_prog_ac_ct_CC="$ac_prog" 2681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2682 break 2 2683 fi 2684 done 2685 done 2686 IFS=$as_save_IFS 2687 2688 fi 2689 fi 2690 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2691 if test -n "$ac_ct_CC"; then 2692 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2693 echo "${ECHO_T}$ac_ct_CC" >&6; } 2694 else 2695 { echo "$as_me:$LINENO: result: no" >&5 2696 echo "${ECHO_T}no" >&6; } 2697 fi 2698 2699 2700 test -n "$ac_ct_CC" && break 2701 done 2702 2703 if test "x$ac_ct_CC" = x; then 2704 CC="" 2705 else 2706 case $cross_compiling:$ac_tool_warned in 2707 yes:) 2708 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2709 whose name does not start with the host triplet. If you think this 2710 configuration is useful to you, please write to autoconf (at] gnu.org." >&5 2711 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2712 whose name does not start with the host triplet. If you think this 2713 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;} 2714 ac_tool_warned=yes ;; 2715 esac 2716 CC=$ac_ct_CC 2717 fi 2718 fi 2719 2720 fi 2721 2722 2723 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2724 See \`config.log' for more details." >&5 2725 echo "$as_me: error: no acceptable C compiler found in \$PATH 2726 See \`config.log' for more details." >&2;} 2727 { (exit 1); exit 1; }; } 2728 2729 # Provide some information about the compiler. 2730 echo "$as_me:$LINENO: checking for C compiler version" >&5 2731 ac_compiler=`set X $ac_compile; echo $2` 2732 { (ac_try="$ac_compiler --version >&5" 2733 case "(($ac_try" in 2734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2735 *) ac_try_echo=$ac_try;; 2736 esac 2737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2738 (eval "$ac_compiler --version >&5") 2>&5 2739 ac_status=$? 2740 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2741 (exit $ac_status); } 2742 { (ac_try="$ac_compiler -v >&5" 2743 case "(($ac_try" in 2744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2745 *) ac_try_echo=$ac_try;; 2746 esac 2747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2748 (eval "$ac_compiler -v >&5") 2>&5 2749 ac_status=$? 2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2751 (exit $ac_status); } 2752 { (ac_try="$ac_compiler -V >&5" 2753 case "(($ac_try" in 2754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2755 *) ac_try_echo=$ac_try;; 2756 esac 2757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2758 (eval "$ac_compiler -V >&5") 2>&5 2759 ac_status=$? 2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2761 (exit $ac_status); } 2762 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 ac_clean_files_save=$ac_clean_files 2779 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2780 # Try to create an executable without -o first, disregard a.out. 2781 # It will help us diagnose broken compilers, and finding out an intuition 2782 # of exeext. 2783 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2784 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2785 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2786 # 2787 # List of possible output files, starting from the most likely. 2788 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2789 # only as a last resort. b.out is created by i960 compilers. 2790 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2791 # 2792 # The IRIX 6 linker writes into existing files which may not be 2793 # executable, retaining their permissions. Remove them first so a 2794 # subsequent execution test works. 2795 ac_rmfiles= 2796 for ac_file in $ac_files 2797 do 2798 case $ac_file in 2799 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2800 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2801 esac 2802 done 2803 rm -f $ac_rmfiles 2804 2805 if { (ac_try="$ac_link_default" 2806 case "(($ac_try" in 2807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2808 *) ac_try_echo=$ac_try;; 2809 esac 2810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2811 (eval "$ac_link_default") 2>&5 2812 ac_status=$? 2813 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2814 (exit $ac_status); }; then 2815 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2816 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2817 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2818 # so that the user can short-circuit this test for compilers unknown to 2819 # Autoconf. 2820 for ac_file in $ac_files '' 2821 do 2822 test -f "$ac_file" || continue 2823 case $ac_file in 2824 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 2825 ;; 2826 [ab].out ) 2827 # We found the default executable, but exeext='' is most 2828 # certainly right. 2829 break;; 2830 *.* ) 2831 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2832 then :; else 2833 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2834 fi 2835 # We set ac_cv_exeext here because the later test for it is not 2836 # safe: cross compilers may not add the suffix if given an `-o' 2837 # argument, so we may need to know it at that point already. 2838 # Even if this section looks crufty: it has the advantage of 2839 # actually working. 2840 break;; 2841 * ) 2842 break;; 2843 esac 2844 done 2845 test "$ac_cv_exeext" = no && ac_cv_exeext= 2846 2847 else 2848 ac_file='' 2849 fi 2850 2851 { echo "$as_me:$LINENO: result: $ac_file" >&5 2852 echo "${ECHO_T}$ac_file" >&6; } 2853 if test -z "$ac_file"; then 2854 echo "$as_me: failed program was:" >&5 2855 sed 's/^/| /' conftest.$ac_ext >&5 2856 2857 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2858 See \`config.log' for more details." >&5 2859 echo "$as_me: error: C compiler cannot create executables 2860 See \`config.log' for more details." >&2;} 2861 { (exit 77); exit 77; }; } 2862 fi 2863 2864 ac_exeext=$ac_cv_exeext 2865 2866 # Check that the compiler produces executables we can run. If not, either 2867 # the compiler is broken, or we cross compile. 2868 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2869 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2870 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2871 # If not cross compiling, check that we can run a simple program. 2872 if test "$cross_compiling" != yes; then 2873 if { ac_try='./$ac_file' 2874 { (case "(($ac_try" in 2875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2876 *) ac_try_echo=$ac_try;; 2877 esac 2878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2879 (eval "$ac_try") 2>&5 2880 ac_status=$? 2881 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2882 (exit $ac_status); }; }; then 2883 cross_compiling=no 2884 else 2885 if test "$cross_compiling" = maybe; then 2886 cross_compiling=yes 2887 else 2888 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2889 If you meant to cross compile, use \`--host'. 2890 See \`config.log' for more details." >&5 2891 echo "$as_me: error: cannot run C compiled programs. 2892 If you meant to cross compile, use \`--host'. 2893 See \`config.log' for more details." >&2;} 2894 { (exit 1); exit 1; }; } 2895 fi 2896 fi 2897 fi 2898 { echo "$as_me:$LINENO: result: yes" >&5 2899 echo "${ECHO_T}yes" >&6; } 2900 2901 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2902 ac_clean_files=$ac_clean_files_save 2903 # Check that the compiler produces executables we can run. If not, either 2904 # the compiler is broken, or we cross compile. 2905 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2906 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2907 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2908 echo "${ECHO_T}$cross_compiling" >&6; } 2909 2910 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2911 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2912 if { (ac_try="$ac_link" 2913 case "(($ac_try" in 2914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2915 *) ac_try_echo=$ac_try;; 2916 esac 2917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2918 (eval "$ac_link") 2>&5 2919 ac_status=$? 2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2921 (exit $ac_status); }; then 2922 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2923 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2924 # work properly (i.e., refer to `conftest.exe'), while it won't with 2925 # `rm'. 2926 for ac_file in conftest.exe conftest conftest.*; do 2927 test -f "$ac_file" || continue 2928 case $ac_file in 2929 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2930 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2931 break;; 2932 * ) break;; 2933 esac 2934 done 2935 else 2936 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2937 See \`config.log' for more details." >&5 2938 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2939 See \`config.log' for more details." >&2;} 2940 { (exit 1); exit 1; }; } 2941 fi 2942 2943 rm -f conftest$ac_cv_exeext 2944 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2945 echo "${ECHO_T}$ac_cv_exeext" >&6; } 2946 2947 rm -f conftest.$ac_ext 2948 EXEEXT=$ac_cv_exeext 2949 ac_exeext=$EXEEXT 2950 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2951 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2952 if test "${ac_cv_objext+set}" = set; then 2953 echo $ECHO_N "(cached) $ECHO_C" >&6 2954 else 2955 cat >conftest.$ac_ext <<_ACEOF 2956 /* confdefs.h. */ 2957 _ACEOF 2958 cat confdefs.h >>conftest.$ac_ext 2959 cat >>conftest.$ac_ext <<_ACEOF 2960 /* end confdefs.h. */ 2961 2962 int 2963 main () 2964 { 2965 2966 ; 2967 return 0; 2968 } 2969 _ACEOF 2970 rm -f conftest.o conftest.obj 2971 if { (ac_try="$ac_compile" 2972 case "(($ac_try" in 2973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2974 *) ac_try_echo=$ac_try;; 2975 esac 2976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2977 (eval "$ac_compile") 2>&5 2978 ac_status=$? 2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2980 (exit $ac_status); }; then 2981 for ac_file in conftest.o conftest.obj conftest.*; do 2982 test -f "$ac_file" || continue; 2983 case $ac_file in 2984 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 2985 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2986 break;; 2987 esac 2988 done 2989 else 2990 echo "$as_me: failed program was:" >&5 2991 sed 's/^/| /' conftest.$ac_ext >&5 2992 2993 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2994 See \`config.log' for more details." >&5 2995 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2996 See \`config.log' for more details." >&2;} 2997 { (exit 1); exit 1; }; } 2998 fi 2999 3000 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3001 fi 3002 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3003 echo "${ECHO_T}$ac_cv_objext" >&6; } 3004 OBJEXT=$ac_cv_objext 3005 ac_objext=$OBJEXT 3006 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3007 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 3008 if test "${ac_cv_c_compiler_gnu+set}" = set; then 3009 echo $ECHO_N "(cached) $ECHO_C" >&6 3010 else 3011 cat >conftest.$ac_ext <<_ACEOF 3012 /* confdefs.h. */ 3013 _ACEOF 3014 cat confdefs.h >>conftest.$ac_ext 3015 cat >>conftest.$ac_ext <<_ACEOF 3016 /* end confdefs.h. */ 3017 3018 int 3019 main () 3020 { 3021 #ifndef __GNUC__ 3022 choke me 3023 #endif 3024 3025 ; 3026 return 0; 3027 } 3028 _ACEOF 3029 rm -f conftest.$ac_objext 3030 if { (ac_try="$ac_compile" 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_compile") 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); } && { 3043 test -z "$ac_c_werror_flag" || 3044 test ! -s conftest.err 3045 } && test -s conftest.$ac_objext; then 3046 ac_compiler_gnu=yes 3047 else 3048 echo "$as_me: failed program was:" >&5 3049 sed 's/^/| /' conftest.$ac_ext >&5 3050 3051 ac_compiler_gnu=no 3052 fi 3053 3054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3055 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3056 3057 fi 3058 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3059 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 3060 GCC=`test $ac_compiler_gnu = yes && echo yes` 3061 ac_test_CFLAGS=${CFLAGS+set} 3062 ac_save_CFLAGS=$CFLAGS 3063 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3064 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 3065 if test "${ac_cv_prog_cc_g+set}" = set; then 3066 echo $ECHO_N "(cached) $ECHO_C" >&6 3067 else 3068 ac_save_c_werror_flag=$ac_c_werror_flag 3069 ac_c_werror_flag=yes 3070 ac_cv_prog_cc_g=no 3071 CFLAGS="-g" 3072 cat >conftest.$ac_ext <<_ACEOF 3073 /* confdefs.h. */ 3074 _ACEOF 3075 cat confdefs.h >>conftest.$ac_ext 3076 cat >>conftest.$ac_ext <<_ACEOF 3077 /* end confdefs.h. */ 3078 3079 int 3080 main () 3081 { 3082 3083 ; 3084 return 0; 3085 } 3086 _ACEOF 3087 rm -f conftest.$ac_objext 3088 if { (ac_try="$ac_compile" 3089 case "(($ac_try" in 3090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3091 *) ac_try_echo=$ac_try;; 3092 esac 3093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3094 (eval "$ac_compile") 2>conftest.er1 3095 ac_status=$? 3096 grep -v '^ *+' conftest.er1 >conftest.err 3097 rm -f conftest.er1 3098 cat conftest.err >&5 3099 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3100 (exit $ac_status); } && { 3101 test -z "$ac_c_werror_flag" || 3102 test ! -s conftest.err 3103 } && test -s conftest.$ac_objext; then 3104 ac_cv_prog_cc_g=yes 3105 else 3106 echo "$as_me: failed program was:" >&5 3107 sed 's/^/| /' conftest.$ac_ext >&5 3108 3109 CFLAGS="" 3110 cat >conftest.$ac_ext <<_ACEOF 3111 /* confdefs.h. */ 3112 _ACEOF 3113 cat confdefs.h >>conftest.$ac_ext 3114 cat >>conftest.$ac_ext <<_ACEOF 3115 /* end confdefs.h. */ 3116 3117 int 3118 main () 3119 { 3120 3121 ; 3122 return 0; 3123 } 3124 _ACEOF 3125 rm -f conftest.$ac_objext 3126 if { (ac_try="$ac_compile" 3127 case "(($ac_try" in 3128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3129 *) ac_try_echo=$ac_try;; 3130 esac 3131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3132 (eval "$ac_compile") 2>conftest.er1 3133 ac_status=$? 3134 grep -v '^ *+' conftest.er1 >conftest.err 3135 rm -f conftest.er1 3136 cat conftest.err >&5 3137 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3138 (exit $ac_status); } && { 3139 test -z "$ac_c_werror_flag" || 3140 test ! -s conftest.err 3141 } && test -s conftest.$ac_objext; then 3142 : 3143 else 3144 echo "$as_me: failed program was:" >&5 3145 sed 's/^/| /' conftest.$ac_ext >&5 3146 3147 ac_c_werror_flag=$ac_save_c_werror_flag 3148 CFLAGS="-g" 3149 cat >conftest.$ac_ext <<_ACEOF 3150 /* confdefs.h. */ 3151 _ACEOF 3152 cat confdefs.h >>conftest.$ac_ext 3153 cat >>conftest.$ac_ext <<_ACEOF 3154 /* end confdefs.h. */ 3155 3156 int 3157 main () 3158 { 3159 3160 ; 3161 return 0; 3162 } 3163 _ACEOF 3164 rm -f conftest.$ac_objext 3165 if { (ac_try="$ac_compile" 3166 case "(($ac_try" in 3167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3168 *) ac_try_echo=$ac_try;; 3169 esac 3170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3171 (eval "$ac_compile") 2>conftest.er1 3172 ac_status=$? 3173 grep -v '^ *+' conftest.er1 >conftest.err 3174 rm -f conftest.er1 3175 cat conftest.err >&5 3176 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3177 (exit $ac_status); } && { 3178 test -z "$ac_c_werror_flag" || 3179 test ! -s conftest.err 3180 } && test -s conftest.$ac_objext; then 3181 ac_cv_prog_cc_g=yes 3182 else 3183 echo "$as_me: failed program was:" >&5 3184 sed 's/^/| /' conftest.$ac_ext >&5 3185 3186 3187 fi 3188 3189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3190 fi 3191 3192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3193 fi 3194 3195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3196 ac_c_werror_flag=$ac_save_c_werror_flag 3197 fi 3198 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3199 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 3200 if test "$ac_test_CFLAGS" = set; then 3201 CFLAGS=$ac_save_CFLAGS 3202 elif test $ac_cv_prog_cc_g = yes; then 3203 if test "$GCC" = yes; then 3204 CFLAGS="-g -O2" 3205 else 3206 CFLAGS="-g" 3207 fi 3208 else 3209 if test "$GCC" = yes; then 3210 CFLAGS="-O2" 3211 else 3212 CFLAGS= 3213 fi 3214 fi 3215 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3216 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 3217 if test "${ac_cv_prog_cc_c89+set}" = set; then 3218 echo $ECHO_N "(cached) $ECHO_C" >&6 3219 else 3220 ac_cv_prog_cc_c89=no 3221 ac_save_CC=$CC 3222 cat >conftest.$ac_ext <<_ACEOF 3223 /* confdefs.h. */ 3224 _ACEOF 3225 cat confdefs.h >>conftest.$ac_ext 3226 cat >>conftest.$ac_ext <<_ACEOF 3227 /* end confdefs.h. */ 3228 #include <stdarg.h> 3229 #include <stdio.h> 3230 #include <sys/types.h> 3231 #include <sys/stat.h> 3232 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3233 struct buf { int x; }; 3234 FILE * (*rcsopen) (struct buf *, struct stat *, int); 3235 static char *e (p, i) 3236 char **p; 3237 int i; 3238 { 3239 return p[i]; 3240 } 3241 static char *f (char * (*g) (char **, int), char **p, ...) 3242 { 3243 char *s; 3244 va_list v; 3245 va_start (v,p); 3246 s = g (p, va_arg (v,int)); 3247 va_end (v); 3248 return s; 3249 } 3250 3251 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3252 function prototypes and stuff, but not '\xHH' hex character constants. 3253 These don't provoke an error unfortunately, instead are silently treated 3254 as 'x'. The following induces an error, until -std is added to get 3255 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3256 array size at least. It's necessary to write '\x00'==0 to get something 3257 that's true only with -std. */ 3258 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3259 3260 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3261 inside strings and character constants. */ 3262 #define FOO(x) 'x' 3263 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3264 3265 int test (int i, double x); 3266 struct s1 {int (*f) (int a);}; 3267 struct s2 {int (*f) (double a);}; 3268 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3269 int argc; 3270 char **argv; 3271 int 3272 main () 3273 { 3274 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3275 ; 3276 return 0; 3277 } 3278 _ACEOF 3279 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3280 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3281 do 3282 CC="$ac_save_CC $ac_arg" 3283 rm -f conftest.$ac_objext 3284 if { (ac_try="$ac_compile" 3285 case "(($ac_try" in 3286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3287 *) ac_try_echo=$ac_try;; 3288 esac 3289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3290 (eval "$ac_compile") 2>conftest.er1 3291 ac_status=$? 3292 grep -v '^ *+' conftest.er1 >conftest.err 3293 rm -f conftest.er1 3294 cat conftest.err >&5 3295 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3296 (exit $ac_status); } && { 3297 test -z "$ac_c_werror_flag" || 3298 test ! -s conftest.err 3299 } && test -s conftest.$ac_objext; then 3300 ac_cv_prog_cc_c89=$ac_arg 3301 else 3302 echo "$as_me: failed program was:" >&5 3303 sed 's/^/| /' conftest.$ac_ext >&5 3304 3305 3306 fi 3307 3308 rm -f core conftest.err conftest.$ac_objext 3309 test "x$ac_cv_prog_cc_c89" != "xno" && break 3310 done 3311 rm -f conftest.$ac_ext 3312 CC=$ac_save_CC 3313 3314 fi 3315 # AC_CACHE_VAL 3316 case "x$ac_cv_prog_cc_c89" in 3317 x) 3318 { echo "$as_me:$LINENO: result: none needed" >&5 3319 echo "${ECHO_T}none needed" >&6; } ;; 3320 xno) 3321 { echo "$as_me:$LINENO: result: unsupported" >&5 3322 echo "${ECHO_T}unsupported" >&6; } ;; 3323 *) 3324 CC="$CC $ac_cv_prog_cc_c89" 3325 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3326 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 3327 esac 3328 3329 3330 ac_ext=c 3331 ac_cpp='$CPP $CPPFLAGS' 3332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3334 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3335 DEPDIR="${am__leading_dot}deps" 3336 3337 ac_config_commands="$ac_config_commands depfiles" 3338 3339 3340 am_make=${MAKE-make} 3341 cat > confinc << 'END' 3342 am__doit: 3343 @echo done 3344 .PHONY: am__doit 3345 END 3346 # If we don't find an include directive, just comment out the code. 3347 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 3348 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } 3349 am__include="#" 3350 am__quote= 3351 _am_result=none 3352 # First try GNU make style include. 3353 echo "include confinc" > confmf 3354 # We grep out `Entering directory' and `Leaving directory' 3355 # messages which can occur if `w' ends up in MAKEFLAGS. 3356 # In particular we don't look at `^make:' because GNU make might 3357 # be invoked under some other name (usually "gmake"), in which 3358 # case it prints its new name instead of `make'. 3359 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 3360 am__include=include 3361 am__quote= 3362 _am_result=GNU 3363 fi 3364 # Now try BSD make style include. 3365 if test "$am__include" = "#"; then 3366 echo '.include "confinc"' > confmf 3367 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 3368 am__include=.include 3369 am__quote="\"" 3370 _am_result=BSD 3371 fi 3372 fi 3373 3374 3375 { echo "$as_me:$LINENO: result: $_am_result" >&5 3376 echo "${ECHO_T}$_am_result" >&6; } 3377 rm -f confinc confmf 3378 3379 # Check whether --enable-dependency-tracking was given. 3380 if test "${enable_dependency_tracking+set}" = set; then 3381 enableval=$enable_dependency_tracking; 3382 fi 3383 3384 if test "x$enable_dependency_tracking" != xno; then 3385 am_depcomp="$ac_aux_dir/depcomp" 3386 AMDEPBACKSLASH='\' 3387 fi 3388 3389 3390 if test "x$enable_dependency_tracking" != xno; then 3391 AMDEP_TRUE= 3392 AMDEP_FALSE='#' 3393 else 3394 AMDEP_TRUE='#' 3395 AMDEP_FALSE= 3396 fi 3397 3398 3399 3400 3401 depcc="$CC" am_compiler_list= 3402 3403 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3404 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 3405 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3406 echo $ECHO_N "(cached) $ECHO_C" >&6 3407 else 3408 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3409 # We make a subdir and do the tests there. Otherwise we can end up 3410 # making bogus files that we don't know about and never remove. For 3411 # instance it was reported that on HP-UX the gcc test will end up 3412 # making a dummy file named `D' -- because `-MD' means `put the output 3413 # in D'. 3414 mkdir conftest.dir 3415 # Copy depcomp to subdir because otherwise we won't find it if we're 3416 # using a relative directory. 3417 cp "$am_depcomp" conftest.dir 3418 cd conftest.dir 3419 # We will build objects and dependencies in a subdirectory because 3420 # it helps to detect inapplicable dependency modes. For instance 3421 # both Tru64's cc and ICC support -MD to output dependencies as a 3422 # side effect of compilation, but ICC will put the dependencies in 3423 # the current directory while Tru64 will put them in the object 3424 # directory. 3425 mkdir sub 3426 3427 am_cv_CC_dependencies_compiler_type=none 3428 if test "$am_compiler_list" = ""; then 3429 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3430 fi 3431 for depmode in $am_compiler_list; do 3432 # Setup a source with many dependencies, because some compilers 3433 # like to wrap large dependency lists on column 80 (with \), and 3434 # we should not choose a depcomp mode which is confused by this. 3435 # 3436 # We need to recreate these files for each test, as the compiler may 3437 # overwrite some of them when testing with obscure command lines. 3438 # This happens at least with the AIX C compiler. 3439 : > sub/conftest.c 3440 for i in 1 2 3 4 5 6; do 3441 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3442 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3443 # Solaris 8's {/usr,}/bin/sh. 3444 touch sub/conftst$i.h 3445 done 3446 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3447 3448 case $depmode in 3449 nosideeffect) 3450 # after this tag, mechanisms are not by side-effect, so they'll 3451 # only be used when explicitly requested 3452 if test "x$enable_dependency_tracking" = xyes; then 3453 continue 3454 else 3455 break 3456 fi 3457 ;; 3458 none) break ;; 3459 esac 3460 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3461 # mode. It turns out that the SunPro C++ compiler does not properly 3462 # handle `-M -o', and we need to detect this. 3463 if depmode=$depmode \ 3464 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3465 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3466 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3467 >/dev/null 2>conftest.err && 3468 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3469 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3470 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3471 # icc doesn't choke on unknown options, it will just issue warnings 3472 # or remarks (even with -Werror). So we grep stderr for any message 3473 # that says an option was ignored or not supported. 3474 # When given -MP, icc 7.0 and 7.1 complain thusly: 3475 # icc: Command line warning: ignoring option '-M'; no argument required 3476 # The diagnosis changed in icc 8.0: 3477 # icc: Command line remark: option '-MP' not supported 3478 if (grep 'ignoring option' conftest.err || 3479 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3480 am_cv_CC_dependencies_compiler_type=$depmode 3481 break 3482 fi 3483 fi 3484 done 3485 3486 cd .. 3487 rm -rf conftest.dir 3488 else 3489 am_cv_CC_dependencies_compiler_type=none 3490 fi 3491 3492 fi 3493 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3494 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } 3495 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3496 3497 3498 3499 if 3500 test "x$enable_dependency_tracking" != xno \ 3501 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3502 am__fastdepCC_TRUE= 3503 am__fastdepCC_FALSE='#' 3504 else 3505 am__fastdepCC_TRUE='#' 3506 am__fastdepCC_FALSE= 3507 fi 3508 3509 3510 case `pwd` in 3511 *\ * | *\ *) 3512 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 3513 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 3514 esac 3515 3516 3517 3518 macro_version='2.2.6' 3519 macro_revision='1.3012' 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 ltmain="$ac_aux_dir/ltmain.sh" 3534 3535 # Make sure we can run config.sub. 3536 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3537 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 3538 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 3539 { (exit 1); exit 1; }; } 3540 3541 { echo "$as_me:$LINENO: checking build system type" >&5 3542 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 3543 if test "${ac_cv_build+set}" = set; then 3544 echo $ECHO_N "(cached) $ECHO_C" >&6 3545 else 3546 ac_build_alias=$build_alias 3547 test "x$ac_build_alias" = x && 3548 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3549 test "x$ac_build_alias" = x && 3550 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 3551 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 3552 { (exit 1); exit 1; }; } 3553 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3554 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 3555 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 3556 { (exit 1); exit 1; }; } 3557 3558 fi 3559 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3560 echo "${ECHO_T}$ac_cv_build" >&6; } 3561 case $ac_cv_build in 3562 *-*-*) ;; 3563 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 3564 echo "$as_me: error: invalid value of canonical build" >&2;} 3565 { (exit 1); exit 1; }; };; 3566 esac 3567 build=$ac_cv_build 3568 ac_save_IFS=$IFS; IFS='-' 3569 set x $ac_cv_build 3570 shift 3571 build_cpu=$1 3572 build_vendor=$2 3573 shift; shift 3574 # Remember, the first character of IFS is used to create $*, 3575 # except with old shells: 3576 build_os=$* 3577 IFS=$ac_save_IFS 3578 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3579 3580 3581 { echo "$as_me:$LINENO: checking host system type" >&5 3582 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 3583 if test "${ac_cv_host+set}" = set; then 3584 echo $ECHO_N "(cached) $ECHO_C" >&6 3585 else 3586 if test "x$host_alias" = x; then 3587 ac_cv_host=$ac_cv_build 3588 else 3589 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3590 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 3591 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 3592 { (exit 1); exit 1; }; } 3593 fi 3594 3595 fi 3596 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3597 echo "${ECHO_T}$ac_cv_host" >&6; } 3598 case $ac_cv_host in 3599 *-*-*) ;; 3600 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 3601 echo "$as_me: error: invalid value of canonical host" >&2;} 3602 { (exit 1); exit 1; }; };; 3603 esac 3604 host=$ac_cv_host 3605 ac_save_IFS=$IFS; IFS='-' 3606 set x $ac_cv_host 3607 shift 3608 host_cpu=$1 3609 host_vendor=$2 3610 shift; shift 3611 # Remember, the first character of IFS is used to create $*, 3612 # except with old shells: 3613 host_os=$* 3614 IFS=$ac_save_IFS 3615 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3616 3617 3618 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 3619 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; } 3620 if test "${ac_cv_path_SED+set}" = set; then 3621 echo $ECHO_N "(cached) $ECHO_C" >&6 3622 else 3623 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 3624 for ac_i in 1 2 3 4 5 6 7; do 3625 ac_script="$ac_script$as_nl$ac_script" 3626 done 3627 echo "$ac_script" | sed 99q >conftest.sed 3628 $as_unset ac_script || ac_script= 3629 # Extract the first word of "sed gsed" to use in msg output 3630 if test -z "$SED"; then 3631 set dummy sed gsed; ac_prog_name=$2 3632 if test "${ac_cv_path_SED+set}" = set; then 3633 echo $ECHO_N "(cached) $ECHO_C" >&6 3634 else 3635 ac_path_SED_found=false 3636 # Loop through the user's path and test for each of PROGNAME-LIST 3637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3638 for as_dir in $PATH 3639 do 3640 IFS=$as_save_IFS 3641 test -z "$as_dir" && as_dir=. 3642 for ac_prog in sed gsed; do 3643 for ac_exec_ext in '' $ac_executable_extensions; do 3644 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 3645 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 3646 # Check for GNU ac_path_SED and select it if it is found. 3647 # Check for GNU $ac_path_SED 3648 case `"$ac_path_SED" --version 2>&1` in 3649 *GNU*) 3650 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 3651 *) 3652 ac_count=0 3653 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3654 while : 3655 do 3656 cat "conftest.in" "conftest.in" >"conftest.tmp" 3657 mv "conftest.tmp" "conftest.in" 3658 cp "conftest.in" "conftest.nl" 3659 echo '' >> "conftest.nl" 3660 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 3661 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3662 ac_count=`expr $ac_count + 1` 3663 if test $ac_count -gt ${ac_path_SED_max-0}; then 3664 # Best one so far, save it but keep looking for a better one 3665 ac_cv_path_SED="$ac_path_SED" 3666 ac_path_SED_max=$ac_count 3667 fi 3668 # 10*(2^10) chars as input seems more than enough 3669 test $ac_count -gt 10 && break 3670 done 3671 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3672 esac 3673 3674 3675 $ac_path_SED_found && break 3 3676 done 3677 done 3678 3679 done 3680 IFS=$as_save_IFS 3681 3682 3683 fi 3684 3685 SED="$ac_cv_path_SED" 3686 if test -z "$SED"; then 3687 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5 3688 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;} 3689 { (exit 1); exit 1; }; } 3690 fi 3691 3692 else 3693 ac_cv_path_SED=$SED 3694 fi 3695 3696 fi 3697 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 3698 echo "${ECHO_T}$ac_cv_path_SED" >&6; } 3699 SED="$ac_cv_path_SED" 3700 rm -f conftest.sed 3701 3702 test -z "$SED" && SED=sed 3703 Xsed="$SED -e 1s/^X//" 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3716 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 3717 if test "${ac_cv_path_GREP+set}" = set; then 3718 echo $ECHO_N "(cached) $ECHO_C" >&6 3719 else 3720 # Extract the first word of "grep ggrep" to use in msg output 3721 if test -z "$GREP"; then 3722 set dummy grep ggrep; ac_prog_name=$2 3723 if test "${ac_cv_path_GREP+set}" = set; then 3724 echo $ECHO_N "(cached) $ECHO_C" >&6 3725 else 3726 ac_path_GREP_found=false 3727 # Loop through the user's path and test for each of PROGNAME-LIST 3728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3729 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3730 do 3731 IFS=$as_save_IFS 3732 test -z "$as_dir" && as_dir=. 3733 for ac_prog in grep ggrep; do 3734 for ac_exec_ext in '' $ac_executable_extensions; do 3735 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3736 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3737 # Check for GNU ac_path_GREP and select it if it is found. 3738 # Check for GNU $ac_path_GREP 3739 case `"$ac_path_GREP" --version 2>&1` in 3740 *GNU*) 3741 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3742 *) 3743 ac_count=0 3744 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3745 while : 3746 do 3747 cat "conftest.in" "conftest.in" >"conftest.tmp" 3748 mv "conftest.tmp" "conftest.in" 3749 cp "conftest.in" "conftest.nl" 3750 echo 'GREP' >> "conftest.nl" 3751 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3752 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3753 ac_count=`expr $ac_count + 1` 3754 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3755 # Best one so far, save it but keep looking for a better one 3756 ac_cv_path_GREP="$ac_path_GREP" 3757 ac_path_GREP_max=$ac_count 3758 fi 3759 # 10*(2^10) chars as input seems more than enough 3760 test $ac_count -gt 10 && break 3761 done 3762 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3763 esac 3764 3765 3766 $ac_path_GREP_found && break 3 3767 done 3768 done 3769 3770 done 3771 IFS=$as_save_IFS 3772 3773 3774 fi 3775 3776 GREP="$ac_cv_path_GREP" 3777 if test -z "$GREP"; then 3778 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3779 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3780 { (exit 1); exit 1; }; } 3781 fi 3782 3783 else 3784 ac_cv_path_GREP=$GREP 3785 fi 3786 3787 3788 fi 3789 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3790 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 3791 GREP="$ac_cv_path_GREP" 3792 3793 3794 { echo "$as_me:$LINENO: checking for egrep" >&5 3795 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 3796 if test "${ac_cv_path_EGREP+set}" = set; then 3797 echo $ECHO_N "(cached) $ECHO_C" >&6 3798 else 3799 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3800 then ac_cv_path_EGREP="$GREP -E" 3801 else 3802 # Extract the first word of "egrep" to use in msg output 3803 if test -z "$EGREP"; then 3804 set dummy egrep; ac_prog_name=$2 3805 if test "${ac_cv_path_EGREP+set}" = set; then 3806 echo $ECHO_N "(cached) $ECHO_C" >&6 3807 else 3808 ac_path_EGREP_found=false 3809 # Loop through the user's path and test for each of PROGNAME-LIST 3810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3811 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3812 do 3813 IFS=$as_save_IFS 3814 test -z "$as_dir" && as_dir=. 3815 for ac_prog in egrep; do 3816 for ac_exec_ext in '' $ac_executable_extensions; do 3817 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3818 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3819 # Check for GNU ac_path_EGREP and select it if it is found. 3820 # Check for GNU $ac_path_EGREP 3821 case `"$ac_path_EGREP" --version 2>&1` in 3822 *GNU*) 3823 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3824 *) 3825 ac_count=0 3826 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3827 while : 3828 do 3829 cat "conftest.in" "conftest.in" >"conftest.tmp" 3830 mv "conftest.tmp" "conftest.in" 3831 cp "conftest.in" "conftest.nl" 3832 echo 'EGREP' >> "conftest.nl" 3833 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3834 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3835 ac_count=`expr $ac_count + 1` 3836 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3837 # Best one so far, save it but keep looking for a better one 3838 ac_cv_path_EGREP="$ac_path_EGREP" 3839 ac_path_EGREP_max=$ac_count 3840 fi 3841 # 10*(2^10) chars as input seems more than enough 3842 test $ac_count -gt 10 && break 3843 done 3844 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3845 esac 3846 3847 3848 $ac_path_EGREP_found && break 3 3849 done 3850 done 3851 3852 done 3853 IFS=$as_save_IFS 3854 3855 3856 fi 3857 3858 EGREP="$ac_cv_path_EGREP" 3859 if test -z "$EGREP"; then 3860 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3861 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3862 { (exit 1); exit 1; }; } 3863 fi 3864 3865 else 3866 ac_cv_path_EGREP=$EGREP 3867 fi 3868 3869 3870 fi 3871 fi 3872 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 3873 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 3874 EGREP="$ac_cv_path_EGREP" 3875 3876 3877 { echo "$as_me:$LINENO: checking for fgrep" >&5 3878 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; } 3879 if test "${ac_cv_path_FGREP+set}" = set; then 3880 echo $ECHO_N "(cached) $ECHO_C" >&6 3881 else 3882 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 3883 then ac_cv_path_FGREP="$GREP -F" 3884 else 3885 # Extract the first word of "fgrep" to use in msg output 3886 if test -z "$FGREP"; then 3887 set dummy fgrep; ac_prog_name=$2 3888 if test "${ac_cv_path_FGREP+set}" = set; then 3889 echo $ECHO_N "(cached) $ECHO_C" >&6 3890 else 3891 ac_path_FGREP_found=false 3892 # Loop through the user's path and test for each of PROGNAME-LIST 3893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3894 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3895 do 3896 IFS=$as_save_IFS 3897 test -z "$as_dir" && as_dir=. 3898 for ac_prog in fgrep; do 3899 for ac_exec_ext in '' $ac_executable_extensions; do 3900 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 3901 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 3902 # Check for GNU ac_path_FGREP and select it if it is found. 3903 # Check for GNU $ac_path_FGREP 3904 case `"$ac_path_FGREP" --version 2>&1` in 3905 *GNU*) 3906 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 3907 *) 3908 ac_count=0 3909 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3910 while : 3911 do 3912 cat "conftest.in" "conftest.in" >"conftest.tmp" 3913 mv "conftest.tmp" "conftest.in" 3914 cp "conftest.in" "conftest.nl" 3915 echo 'FGREP' >> "conftest.nl" 3916 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 3917 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3918 ac_count=`expr $ac_count + 1` 3919 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 3920 # Best one so far, save it but keep looking for a better one 3921 ac_cv_path_FGREP="$ac_path_FGREP" 3922 ac_path_FGREP_max=$ac_count 3923 fi 3924 # 10*(2^10) chars as input seems more than enough 3925 test $ac_count -gt 10 && break 3926 done 3927 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3928 esac 3929 3930 3931 $ac_path_FGREP_found && break 3 3932 done 3933 done 3934 3935 done 3936 IFS=$as_save_IFS 3937 3938 3939 fi 3940 3941 FGREP="$ac_cv_path_FGREP" 3942 if test -z "$FGREP"; then 3943 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3944 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3945 { (exit 1); exit 1; }; } 3946 fi 3947 3948 else 3949 ac_cv_path_FGREP=$FGREP 3950 fi 3951 3952 3953 fi 3954 fi 3955 { echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5 3956 echo "${ECHO_T}$ac_cv_path_FGREP" >&6; } 3957 FGREP="$ac_cv_path_FGREP" 3958 3959 3960 test -z "$GREP" && GREP=grep 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 # Check whether --with-gnu-ld was given. 3981 if test "${with_gnu_ld+set}" = set; then 3982 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 3983 else 3984 with_gnu_ld=no 3985 fi 3986 3987 ac_prog=ld 3988 if test "$GCC" = yes; then 3989 # Check if gcc -print-prog-name=ld gives a path. 3990 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 3991 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } 3992 case $host in 3993 *-*-mingw*) 3994 # gcc leaves a trailing carriage return which upsets mingw 3995 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 3996 *) 3997 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 3998 esac 3999 case $ac_prog in 4000 # Accept absolute paths. 4001 [\\/]* | ?:[\\/]*) 4002 re_direlt='/[^/][^/]*/\.\./' 4003 # Canonicalize the pathname of ld 4004 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4005 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4006 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4007 done 4008 test -z "$LD" && LD="$ac_prog" 4009 ;; 4010 "") 4011 # If it fails, then pretend we aren't using GCC. 4012 ac_prog=ld 4013 ;; 4014 *) 4015 # If it is relative, then search for the first ld in PATH. 4016 with_gnu_ld=unknown 4017 ;; 4018 esac 4019 elif test "$with_gnu_ld" = yes; then 4020 { echo "$as_me:$LINENO: checking for GNU ld" >&5 4021 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } 4022 else 4023 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 4024 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } 4025 fi 4026 if test "${lt_cv_path_LD+set}" = set; then 4027 echo $ECHO_N "(cached) $ECHO_C" >&6 4028 else 4029 if test -z "$LD"; then 4030 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4031 for ac_dir in $PATH; do 4032 IFS="$lt_save_ifs" 4033 test -z "$ac_dir" && ac_dir=. 4034 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4035 lt_cv_path_LD="$ac_dir/$ac_prog" 4036 # Check to see if the program is GNU ld. I'd rather use --version, 4037 # but apparently some variants of GNU ld only accept -v. 4038 # Break only if it was the GNU/non-GNU ld that we prefer. 4039 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4040 *GNU* | *'with BFD'*) 4041 test "$with_gnu_ld" != no && break 4042 ;; 4043 *) 4044 test "$with_gnu_ld" != yes && break 4045 ;; 4046 esac 4047 fi 4048 done 4049 IFS="$lt_save_ifs" 4050 else 4051 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4052 fi 4053 fi 4054 4055 LD="$lt_cv_path_LD" 4056 if test -n "$LD"; then 4057 { echo "$as_me:$LINENO: result: $LD" >&5 4058 echo "${ECHO_T}$LD" >&6; } 4059 else 4060 { echo "$as_me:$LINENO: result: no" >&5 4061 echo "${ECHO_T}no" >&6; } 4062 fi 4063 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 4064 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 4065 { (exit 1); exit 1; }; } 4066 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 4067 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } 4068 if test "${lt_cv_prog_gnu_ld+set}" = set; then 4069 echo $ECHO_N "(cached) $ECHO_C" >&6 4070 else 4071 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4072 case `$LD -v 2>&1 </dev/null` in 4073 *GNU* | *'with BFD'*) 4074 lt_cv_prog_gnu_ld=yes 4075 ;; 4076 *) 4077 lt_cv_prog_gnu_ld=no 4078 ;; 4079 esac 4080 fi 4081 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 4082 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } 4083 with_gnu_ld=$lt_cv_prog_gnu_ld 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 { echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5 4094 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; } 4095 if test "${lt_cv_path_NM+set}" = set; then 4096 echo $ECHO_N "(cached) $ECHO_C" >&6 4097 else 4098 if test -n "$NM"; then 4099 # Let the user override the test. 4100 lt_cv_path_NM="$NM" 4101 else 4102 lt_nm_to_check="${ac_tool_prefix}nm" 4103 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4104 lt_nm_to_check="$lt_nm_to_check nm" 4105 fi 4106 for lt_tmp_nm in $lt_nm_to_check; do 4107 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4108 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4109 IFS="$lt_save_ifs" 4110 test -z "$ac_dir" && ac_dir=. 4111 tmp_nm="$ac_dir/$lt_tmp_nm" 4112 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4113 # Check to see if the nm accepts a BSD-compat flag. 4114 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4115 # nm: unknown option "B" ignored 4116 # Tru64's nm complains that /dev/null is an invalid object file 4117 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4118 */dev/null* | *'Invalid file or object type'*) 4119 lt_cv_path_NM="$tmp_nm -B" 4120 break 4121 ;; 4122 *) 4123 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4124 */dev/null*) 4125 lt_cv_path_NM="$tmp_nm -p" 4126 break 4127 ;; 4128 *) 4129 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4130 continue # so that we can try to find one that supports BSD flags 4131 ;; 4132 esac 4133 ;; 4134 esac 4135 fi 4136 done 4137 IFS="$lt_save_ifs" 4138 done 4139 : ${lt_cv_path_NM=no} 4140 fi 4141 fi 4142 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 4143 echo "${ECHO_T}$lt_cv_path_NM" >&6; } 4144 if test "$lt_cv_path_NM" != "no"; then 4145 NM="$lt_cv_path_NM" 4146 else 4147 # Didn't find any BSD compatible name lister, look for dumpbin. 4148 if test -n "$ac_tool_prefix"; then 4149 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 4150 do 4151 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4152 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4153 { echo "$as_me:$LINENO: checking for $ac_word" >&5 4154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4155 if test "${ac_cv_prog_DUMPBIN+set}" = set; then 4156 echo $ECHO_N "(cached) $ECHO_C" >&6 4157 else 4158 if test -n "$DUMPBIN"; then 4159 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4160 else 4161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4162 for as_dir in $PATH 4163 do 4164 IFS=$as_save_IFS 4165 test -z "$as_dir" && as_dir=. 4166 for ac_exec_ext in '' $ac_executable_extensions; do 4167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4168 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4170 break 2 4171 fi 4172 done 4173 done 4174 IFS=$as_save_IFS 4175 4176 fi 4177 fi 4178 DUMPBIN=$ac_cv_prog_DUMPBIN 4179 if test -n "$DUMPBIN"; then 4180 { echo "$as_me:$LINENO: result: $DUMPBIN" >&5 4181 echo "${ECHO_T}$DUMPBIN" >&6; } 4182 else 4183 { echo "$as_me:$LINENO: result: no" >&5 4184 echo "${ECHO_T}no" >&6; } 4185 fi 4186 4187 4188 test -n "$DUMPBIN" && break 4189 done 4190 fi 4191 if test -z "$DUMPBIN"; then 4192 ac_ct_DUMPBIN=$DUMPBIN 4193 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 4194 do 4195 # Extract the first word of "$ac_prog", so it can be a program name with args. 4196 set dummy $ac_prog; ac_word=$2 4197 { echo "$as_me:$LINENO: checking for $ac_word" >&5 4198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4199 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then 4200 echo $ECHO_N "(cached) $ECHO_C" >&6 4201 else 4202 if test -n "$ac_ct_DUMPBIN"; then 4203 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4204 else 4205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4206 for as_dir in $PATH 4207 do 4208 IFS=$as_save_IFS 4209 test -z "$as_dir" && as_dir=. 4210 for ac_exec_ext in '' $ac_executable_extensions; do 4211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4212 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4214 break 2 4215 fi 4216 done 4217 done 4218 IFS=$as_save_IFS 4219 4220 fi 4221 fi 4222 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4223 if test -n "$ac_ct_DUMPBIN"; then 4224 { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5 4225 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; } 4226 else 4227 { echo "$as_me:$LINENO: result: no" >&5 4228 echo "${ECHO_T}no" >&6; } 4229 fi 4230 4231 4232 test -n "$ac_ct_DUMPBIN" && break 4233 done 4234 4235 if test "x$ac_ct_DUMPBIN" = x; then 4236 DUMPBIN=":" 4237 else 4238 case $cross_compiling:$ac_tool_warned in 4239 yes:) 4240 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 4241 whose name does not start with the host triplet. If you think this 4242 configuration is useful to you, please write to autoconf (at] gnu.org." >&5 4243 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 4244 whose name does not start with the host triplet. If you think this 4245 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;} 4246 ac_tool_warned=yes ;; 4247 esac 4248 DUMPBIN=$ac_ct_DUMPBIN 4249 fi 4250 fi 4251 4252 4253 if test "$DUMPBIN" != ":"; then 4254 NM="$DUMPBIN" 4255 fi 4256 fi 4257 test -z "$NM" && NM=nm 4258 4259 4260 4261 4262 4263 4264 { echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5 4265 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; } 4266 if test "${lt_cv_nm_interface+set}" = set; then 4267 echo $ECHO_N "(cached) $ECHO_C" >&6 4268 else 4269 lt_cv_nm_interface="BSD nm" 4270 echo "int some_variable = 0;" > conftest.$ac_ext 4271 (eval echo "\"\$as_me:4271: $ac_compile\"" >&5) 4272 (eval "$ac_compile" 2>conftest.err) 4273 cat conftest.err >&5 4274 (eval echo "\"\$as_me:4274: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4275 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4276 cat conftest.err >&5 4277 (eval echo "\"\$as_me:4277: output\"" >&5) 4278 cat conftest.out >&5 4279 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4280 lt_cv_nm_interface="MS dumpbin" 4281 fi 4282 rm -f conftest* 4283 fi 4284 { echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5 4285 echo "${ECHO_T}$lt_cv_nm_interface" >&6; } 4286 4287 { echo "$as_me:$LINENO: checking whether ln -s works" >&5 4288 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } 4289 LN_S=$as_ln_s 4290 if test "$LN_S" = "ln -s"; then 4291 { echo "$as_me:$LINENO: result: yes" >&5 4292 echo "${ECHO_T}yes" >&6; } 4293 else 4294 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 4295 echo "${ECHO_T}no, using $LN_S" >&6; } 4296 fi 4297 4298 # find the maximum length of command line arguments 4299 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 4300 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; } 4301 if test "${lt_cv_sys_max_cmd_len+set}" = set; then 4302 echo $ECHO_N "(cached) $ECHO_C" >&6 4303 else 4304 i=0 4305 teststring="ABCD" 4306 4307 case $build_os in 4308 msdosdjgpp*) 4309 # On DJGPP, this test can blow up pretty badly due to problems in libc 4310 # (any single argument exceeding 2000 bytes causes a buffer overrun 4311 # during glob expansion). Even if it were fixed, the result of this 4312 # check would be larger than it should be. 4313 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4314 ;; 4315 4316 gnu*) 4317 # Under GNU Hurd, this test is not required because there is 4318 # no limit to the length of command line arguments. 4319 # Libtool will interpret -1 as no limit whatsoever 4320 lt_cv_sys_max_cmd_len=-1; 4321 ;; 4322 4323 cygwin* | mingw* | cegcc*) 4324 # On Win9x/ME, this test blows up -- it succeeds, but takes 4325 # about 5 minutes as the teststring grows exponentially. 4326 # Worse, since 9x/ME are not pre-emptively multitasking, 4327 # you end up with a "frozen" computer, even though with patience 4328 # the test eventually succeeds (with a max line length of 256k). 4329 # Instead, let's just punt: use the minimum linelength reported by 4330 # all of the supported platforms: 8192 (on NT/2K/XP). 4331 lt_cv_sys_max_cmd_len=8192; 4332 ;; 4333 4334 amigaos*) 4335 # On AmigaOS with pdksh, this test takes hours, literally. 4336 # So we just punt and use a minimum line length of 8192. 4337 lt_cv_sys_max_cmd_len=8192; 4338 ;; 4339 4340 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 4341 # This has been around since 386BSD, at least. Likely further. 4342 if test -x /sbin/sysctl; then 4343 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4344 elif test -x /usr/sbin/sysctl; then 4345 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4346 else 4347 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4348 fi 4349 # And add a safety zone 4350 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4351 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4352 ;; 4353 4354 interix*) 4355 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4356 lt_cv_sys_max_cmd_len=196608 4357 ;; 4358 4359 osf*) 4360 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4361 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4362 # nice to cause kernel panics so lets avoid the loop below. 4363 # First set a reasonable default. 4364 lt_cv_sys_max_cmd_len=16384 4365 # 4366 if test -x /sbin/sysconfig; then 4367 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4368 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4369 esac 4370 fi 4371 ;; 4372 sco3.2v5*) 4373 lt_cv_sys_max_cmd_len=102400 4374 ;; 4375 sysv5* | sco5v6* | sysv4.2uw2*) 4376 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 4377 if test -n "$kargmax"; then 4378 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 4379 else 4380 lt_cv_sys_max_cmd_len=32768 4381 fi 4382 ;; 4383 *) 4384 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 4385 if test -n "$lt_cv_sys_max_cmd_len"; then 4386 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4387 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4388 else 4389 # Make teststring a little bigger before we do anything with it. 4390 # a 1K string should be a reasonable start. 4391 for i in 1 2 3 4 5 6 7 8 ; do 4392 teststring=$teststring$teststring 4393 done 4394 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 4395 # If test is not a shell built-in, we'll probably end up computing a 4396 # maximum length that is only half of the actual maximum length, but 4397 # we can't tell. 4398 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ 4399 = "XX$teststring$teststring"; } >/dev/null 2>&1 && 4400 test $i != 17 # 1/2 MB should be enough 4401 do 4402 i=`expr $i + 1` 4403 teststring=$teststring$teststring 4404 done 4405 # Only check the string length outside the loop. 4406 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 4407 teststring= 4408 # Add a significant safety factor because C++ compilers can tack on 4409 # massive amounts of additional arguments before passing them to the 4410 # linker. It appears as though 1/2 is a usable value. 4411 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 4412 fi 4413 ;; 4414 esac 4415 4416 fi 4417 4418 if test -n $lt_cv_sys_max_cmd_len ; then 4419 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 4420 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; } 4421 else 4422 { echo "$as_me:$LINENO: result: none" >&5 4423 echo "${ECHO_T}none" >&6; } 4424 fi 4425 max_cmd_len=$lt_cv_sys_max_cmd_len 4426 4427 4428 4429 4430 4431 4432 : ${CP="cp -f"} 4433 : ${MV="mv -f"} 4434 : ${RM="rm -f"} 4435 4436 { echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5 4437 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; } 4438 # Try some XSI features 4439 xsi_shell=no 4440 ( _lt_dummy="a/b/c" 4441 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ 4442 = c,a/b,, \ 4443 && eval 'test $(( 1 + 1 )) -eq 2 \ 4444 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 4445 && xsi_shell=yes 4446 { echo "$as_me:$LINENO: result: $xsi_shell" >&5 4447 echo "${ECHO_T}$xsi_shell" >&6; } 4448 4449 4450 { echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5 4451 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; } 4452 lt_shell_append=no 4453 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 4454 >/dev/null 2>&1 \ 4455 && lt_shell_append=yes 4456 { echo "$as_me:$LINENO: result: $lt_shell_append" >&5 4457 echo "${ECHO_T}$lt_shell_append" >&6; } 4458 4459 4460 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4461 lt_unset=unset 4462 else 4463 lt_unset=false 4464 fi 4465 4466 4467 4468 4469 4470 # test EBCDIC or ASCII 4471 case `echo X|tr X '\101'` in 4472 A) # ASCII based system 4473 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 4474 lt_SP2NL='tr \040 \012' 4475 lt_NL2SP='tr \015\012 \040\040' 4476 ;; 4477 *) # EBCDIC based system 4478 lt_SP2NL='tr \100 \n' 4479 lt_NL2SP='tr \r\n \100\100' 4480 ;; 4481 esac 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 4492 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; } 4493 if test "${lt_cv_ld_reload_flag+set}" = set; then 4494 echo $ECHO_N "(cached) $ECHO_C" >&6 4495 else 4496 lt_cv_ld_reload_flag='-r' 4497 fi 4498 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 4499 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; } 4500 reload_flag=$lt_cv_ld_reload_flag 4501 case $reload_flag in 4502 "" | " "*) ;; 4503 *) reload_flag=" $reload_flag" ;; 4504 esac 4505 reload_cmds='$LD$reload_flag -o $output$reload_objs' 4506 case $host_os in 4507 darwin*) 4508 if test "$GCC" = yes; then 4509 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 4510 else 4511 reload_cmds='$LD$reload_flag -o $output$reload_objs' 4512 fi 4513 ;; 4514 esac 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 if test -n "$ac_tool_prefix"; then 4525 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4526 set dummy ${ac_tool_prefix}objdump; ac_word=$2 4527 { echo "$as_me:$LINENO: checking for $ac_word" >&5 4528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4529 if test "${ac_cv_prog_OBJDUMP+set}" = set; then 4530 echo $ECHO_N "(cached) $ECHO_C" >&6 4531 else 4532 if test -n "$OBJDUMP"; then 4533 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4534 else 4535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4536 for as_dir in $PATH 4537 do 4538 IFS=$as_save_IFS 4539 test -z "$as_dir" && as_dir=. 4540 for ac_exec_ext in '' $ac_executable_extensions; do 4541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4542 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4544 break 2 4545 fi 4546 done 4547 done 4548 IFS=$as_save_IFS 4549 4550 fi 4551 fi 4552 OBJDUMP=$ac_cv_prog_OBJDUMP 4553 if test -n "$OBJDUMP"; then 4554 { echo "$as_me:$LINENO: result: $OBJDUMP" >&5 4555 echo "${ECHO_T}$OBJDUMP" >&6; } 4556 else 4557 { echo "$as_me:$LINENO: result: no" >&5 4558 echo "${ECHO_T}no" >&6; } 4559 fi 4560 4561 4562 fi 4563 if test -z "$ac_cv_prog_OBJDUMP"; then 4564 ac_ct_OBJDUMP=$OBJDUMP 4565 # Extract the first word of "objdump", so it can be a program name with args. 4566 set dummy objdump; ac_word=$2 4567 { echo "$as_me:$LINENO: checking for $ac_word" >&5 4568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4569 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then 4570 echo $ECHO_N "(cached) $ECHO_C" >&6 4571 else 4572 if test -n "$ac_ct_OBJDUMP"; then 4573 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4574 else 4575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4576 for as_dir in $PATH 4577 do 4578 IFS=$as_save_IFS 4579 test -z "$as_dir" && as_dir=. 4580 for ac_exec_ext in '' $ac_executable_extensions; do 4581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4582 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4584 break 2 4585 fi 4586 done 4587 done 4588 IFS=$as_save_IFS 4589 4590 fi 4591 fi 4592 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4593 if test -n "$ac_ct_OBJDUMP"; then 4594 { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 4595 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; } 4596 else 4597 { echo "$as_me:$LINENO: result: no" >&5 4598 echo "${ECHO_T}no" >&6; } 4599 fi 4600 4601 if test "x$ac_ct_OBJDUMP" = x; then 4602 OBJDUMP="false" 4603 else 4604 case $cross_compiling:$ac_tool_warned in 4605 yes:) 4606 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 4607 whose name does not start with the host triplet. If you think this 4608 configuration is useful to you, please write to autoconf (at] gnu.org." >&5 4609 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 4610 whose name does not start with the host triplet. If you think this 4611 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;} 4612 ac_tool_warned=yes ;; 4613 esac 4614 OBJDUMP=$ac_ct_OBJDUMP 4615 fi 4616 else 4617 OBJDUMP="$ac_cv_prog_OBJDUMP" 4618 fi 4619 4620 test -z "$OBJDUMP" && OBJDUMP=objdump 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 4631 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; } 4632 if test "${lt_cv_deplibs_check_method+set}" = set; then 4633 echo $ECHO_N "(cached) $ECHO_C" >&6 4634 else 4635 lt_cv_file_magic_cmd='$MAGIC_CMD' 4636 lt_cv_file_magic_test_file= 4637 lt_cv_deplibs_check_method='unknown' 4638 # Need to set the preceding variable on all platforms that support 4639 # interlibrary dependencies. 4640 # 'none' -- dependencies not supported. 4641 # `unknown' -- same as none, but documents that we really don't know. 4642 # 'pass_all' -- all dependencies passed with no checks. 4643 # 'test_compile' -- check by making test program. 4644 # 'file_magic [[regex]]' -- check by looking for files in library path 4645 # which responds to the $file_magic_cmd with a given extended regex. 4646 # If you have `file' or equivalent on your system and you're not sure 4647 # whether `pass_all' will *always* work, you probably want this one. 4648 4649 case $host_os in 4650 aix[4-9]*) 4651 lt_cv_deplibs_check_method=pass_all 4652 ;; 4653 4654 beos*) 4655 lt_cv_deplibs_check_method=pass_all 4656 ;; 4657 4658 bsdi[45]*) 4659 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 4660 lt_cv_file_magic_cmd='/usr/bin/file -L' 4661 lt_cv_file_magic_test_file=/shlib/libc.so 4662 ;; 4663 4664 cygwin*) 4665 # func_win32_libid is a shell function defined in ltmain.sh 4666 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 4667 lt_cv_file_magic_cmd='func_win32_libid' 4668 ;; 4669 4670 mingw* | pw32*) 4671 # Base MSYS/MinGW do not provide the 'file' command needed by 4672 # func_win32_libid shell function, so use a weaker test based on 'objdump', 4673 # unless we find 'file', for example because we are cross-compiling. 4674 if ( file / ) >/dev/null 2>&1; then 4675 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 4676 lt_cv_file_magic_cmd='func_win32_libid' 4677 else 4678 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 4679 lt_cv_file_magic_cmd='$OBJDUMP -f' 4680 fi 4681 ;; 4682 4683 cegcc) 4684 # use the weaker test based on 'objdump'. See mingw*. 4685 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 4686 lt_cv_file_magic_cmd='$OBJDUMP -f' 4687 ;; 4688 4689 darwin* | rhapsody*) 4690 lt_cv_deplibs_check_method=pass_all 4691 ;; 4692 4693 freebsd* | dragonfly*) 4694 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 4695 case $host_cpu in 4696 i*86 ) 4697 # Not sure whether the presence of OpenBSD here was a mistake. 4698 # Let's accept both of them until this is cleared up. 4699 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 4700 lt_cv_file_magic_cmd=/usr/bin/file 4701 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 4702 ;; 4703 esac 4704 else 4705 lt_cv_deplibs_check_method=pass_all 4706 fi 4707 ;; 4708 4709 gnu*) 4710 lt_cv_deplibs_check_method=pass_all 4711 ;; 4712 4713 hpux10.20* | hpux11*) 4714 lt_cv_file_magic_cmd=/usr/bin/file 4715 case $host_cpu in 4716 ia64*) 4717 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 4718 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 4719 ;; 4720 hppa*64*) 4721 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' 4722 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 4723 ;; 4724 *) 4725 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 4726 lt_cv_file_magic_test_file=/usr/lib/libc.sl 4727 ;; 4728 esac 4729 ;; 4730 4731 interix[3-9]*) 4732 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 4733 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 4734 ;; 4735 4736 irix5* | irix6* | nonstopux*) 4737 case $LD in 4738 *-32|*"-32 ") libmagic=32-bit;; 4739 *-n32|*"-n32 ") libmagic=N32;; 4740 *-64|*"-64 ") libmagic=64-bit;; 4741 *) libmagic=never-match;; 4742 esac 4743 lt_cv_deplibs_check_method=pass_all 4744 ;; 4745 4746 # This must be Linux ELF. 4747 linux* | k*bsd*-gnu) 4748 lt_cv_deplibs_check_method=pass_all 4749 ;; 4750 4751 netbsd* | netbsdelf*-gnu) 4752 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 4753 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 4754 else 4755 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 4756 fi 4757 ;; 4758 4759 newos6*) 4760 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 4761 lt_cv_file_magic_cmd=/usr/bin/file 4762 lt_cv_file_magic_test_file=/usr/lib/libnls.so 4763 ;; 4764 4765 *nto* | *qnx*) 4766 lt_cv_deplibs_check_method=pass_all 4767 ;; 4768 4769 openbsd*) 4770 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 4771 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 4772 else 4773 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 4774 fi 4775 ;; 4776 4777 osf3* | osf4* | osf5*) 4778 lt_cv_deplibs_check_method=pass_all 4779 ;; 4780 4781 rdos*) 4782 lt_cv_deplibs_check_method=pass_all 4783 ;; 4784 4785 solaris*) 4786 lt_cv_deplibs_check_method=pass_all 4787 ;; 4788 4789 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 4790 lt_cv_deplibs_check_method=pass_all 4791 ;; 4792 4793 sysv4 | sysv4.3*) 4794 case $host_vendor in 4795 motorola) 4796 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' 4797 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 4798 ;; 4799 ncr) 4800 lt_cv_deplibs_check_method=pass_all 4801 ;; 4802 sequent) 4803 lt_cv_file_magic_cmd='/bin/file' 4804 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 4805 ;; 4806 sni) 4807 lt_cv_file_magic_cmd='/bin/file' 4808 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 4809 lt_cv_file_magic_test_file=/lib/libc.so 4810 ;; 4811 siemens) 4812 lt_cv_deplibs_check_method=pass_all 4813 ;; 4814 pc) 4815 lt_cv_deplibs_check_method=pass_all 4816 ;; 4817 esac 4818 ;; 4819 4820 tpf*) 4821 lt_cv_deplibs_check_method=pass_all 4822 ;; 4823 esac 4824 4825 fi 4826 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 4827 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; } 4828 file_magic_cmd=$lt_cv_file_magic_cmd 4829 deplibs_check_method=$lt_cv_deplibs_check_method 4830 test -z "$deplibs_check_method" && deplibs_check_method=unknown 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 if test -n "$ac_tool_prefix"; then 4844 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 4845 set dummy ${ac_tool_prefix}ar; ac_word=$2 4846 { echo "$as_me:$LINENO: checking for $ac_word" >&5 4847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4848 if test "${ac_cv_prog_AR+set}" = set; then 4849 echo $ECHO_N "(cached) $ECHO_C" >&6 4850 else 4851 if test -n "$AR"; then 4852 ac_cv_prog_AR="$AR" # Let the user override the test. 4853 else 4854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4855 for as_dir in $PATH 4856 do 4857 IFS=$as_save_IFS 4858 test -z "$as_dir" && as_dir=. 4859 for ac_exec_ext in '' $ac_executable_extensions; do 4860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4861 ac_cv_prog_AR="${ac_tool_prefix}ar" 4862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4863 break 2 4864 fi 4865 done 4866 done 4867 IFS=$as_save_IFS 4868 4869 fi 4870 fi 4871 AR=$ac_cv_prog_AR 4872 if test -n "$AR"; then 4873 { echo "$as_me:$LINENO: result: $AR" >&5 4874 echo "${ECHO_T}$AR" >&6; } 4875 else 4876 { echo "$as_me:$LINENO: result: no" >&5 4877 echo "${ECHO_T}no" >&6; } 4878 fi 4879 4880 4881 fi 4882 if test -z "$ac_cv_prog_AR"; then 4883 ac_ct_AR=$AR 4884 # Extract the first word of "ar", so it can be a program name with args. 4885 set dummy ar; ac_word=$2 4886 { echo "$as_me:$LINENO: checking for $ac_word" >&5 4887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4888 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then 4889 echo $ECHO_N "(cached) $ECHO_C" >&6 4890 else 4891 if test -n "$ac_ct_AR"; then 4892 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 4893 else 4894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4895 for as_dir in $PATH 4896 do 4897 IFS=$as_save_IFS 4898 test -z "$as_dir" && as_dir=. 4899 for ac_exec_ext in '' $ac_executable_extensions; do 4900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4901 ac_cv_prog_ac_ct_AR="ar" 4902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4903 break 2 4904 fi 4905 done 4906 done 4907 IFS=$as_save_IFS 4908 4909 fi 4910 fi 4911 ac_ct_AR=$ac_cv_prog_ac_ct_AR 4912 if test -n "$ac_ct_AR"; then 4913 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 4914 echo "${ECHO_T}$ac_ct_AR" >&6; } 4915 else 4916 { echo "$as_me:$LINENO: result: no" >&5 4917 echo "${ECHO_T}no" >&6; } 4918 fi 4919 4920 if test "x$ac_ct_AR" = x; then 4921 AR="false" 4922 else 4923 case $cross_compiling:$ac_tool_warned in 4924 yes:) 4925 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 4926 whose name does not start with the host triplet. If you think this 4927 configuration is useful to you, please write to autoconf (at] gnu.org." >&5 4928 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 4929 whose name does not start with the host triplet. If you think this 4930 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;} 4931 ac_tool_warned=yes ;; 4932 esac 4933 AR=$ac_ct_AR 4934 fi 4935 else 4936 AR="$ac_cv_prog_AR" 4937 fi 4938 4939 test -z "$AR" && AR=ar 4940 test -z "$AR_FLAGS" && AR_FLAGS=cru 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 if test -n "$ac_tool_prefix"; then 4953 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 4954 set dummy ${ac_tool_prefix}strip; ac_word=$2 4955 { echo "$as_me:$LINENO: checking for $ac_word" >&5 4956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4957 if test "${ac_cv_prog_STRIP+set}" = set; then 4958 echo $ECHO_N "(cached) $ECHO_C" >&6 4959 else 4960 if test -n "$STRIP"; then 4961 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 4962 else 4963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4964 for as_dir in $PATH 4965 do 4966 IFS=$as_save_IFS 4967 test -z "$as_dir" && as_dir=. 4968 for ac_exec_ext in '' $ac_executable_extensions; do 4969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4970 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 4971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4972 break 2 4973 fi 4974 done 4975 done 4976 IFS=$as_save_IFS 4977 4978 fi 4979 fi 4980 STRIP=$ac_cv_prog_STRIP 4981 if test -n "$STRIP"; then 4982 { echo "$as_me:$LINENO: result: $STRIP" >&5 4983 echo "${ECHO_T}$STRIP" >&6; } 4984 else 4985 { echo "$as_me:$LINENO: result: no" >&5 4986 echo "${ECHO_T}no" >&6; } 4987 fi 4988 4989 4990 fi 4991 if test -z "$ac_cv_prog_STRIP"; then 4992 ac_ct_STRIP=$STRIP 4993 # Extract the first word of "strip", so it can be a program name with args. 4994 set dummy strip; ac_word=$2 4995 { echo "$as_me:$LINENO: checking for $ac_word" >&5 4996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4997 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 4998 echo $ECHO_N "(cached) $ECHO_C" >&6 4999 else 5000 if test -n "$ac_ct_STRIP"; then 5001 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5002 else 5003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5004 for as_dir in $PATH 5005 do 5006 IFS=$as_save_IFS 5007 test -z "$as_dir" && as_dir=. 5008 for ac_exec_ext in '' $ac_executable_extensions; do 5009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5010 ac_cv_prog_ac_ct_STRIP="strip" 5011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5012 break 2 5013 fi 5014 done 5015 done 5016 IFS=$as_save_IFS 5017 5018 fi 5019 fi 5020 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5021 if test -n "$ac_ct_STRIP"; then 5022 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 5023 echo "${ECHO_T}$ac_ct_STRIP" >&6; } 5024 else 5025 { echo "$as_me:$LINENO: result: no" >&5 5026 echo "${ECHO_T}no" >&6; } 5027 fi 5028 5029 if test "x$ac_ct_STRIP" = x; then 5030 STRIP=":" 5031 else 5032 case $cross_compiling:$ac_tool_warned in 5033 yes:) 5034 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 5035 whose name does not start with the host triplet. If you think this 5036 configuration is useful to you, please write to autoconf (at] gnu.org." >&5 5037 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 5038 whose name does not start with the host triplet. If you think this 5039 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;} 5040 ac_tool_warned=yes ;; 5041 esac 5042 STRIP=$ac_ct_STRIP 5043 fi 5044 else 5045 STRIP="$ac_cv_prog_STRIP" 5046 fi 5047 5048 test -z "$STRIP" && STRIP=: 5049 5050 5051 5052 5053 5054 5055 if test -n "$ac_tool_prefix"; then 5056 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5057 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5058 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5060 if test "${ac_cv_prog_RANLIB+set}" = set; then 5061 echo $ECHO_N "(cached) $ECHO_C" >&6 5062 else 5063 if test -n "$RANLIB"; then 5064 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5065 else 5066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5067 for as_dir in $PATH 5068 do 5069 IFS=$as_save_IFS 5070 test -z "$as_dir" && as_dir=. 5071 for ac_exec_ext in '' $ac_executable_extensions; do 5072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5073 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5075 break 2 5076 fi 5077 done 5078 done 5079 IFS=$as_save_IFS 5080 5081 fi 5082 fi 5083 RANLIB=$ac_cv_prog_RANLIB 5084 if test -n "$RANLIB"; then 5085 { echo "$as_me:$LINENO: result: $RANLIB" >&5 5086 echo "${ECHO_T}$RANLIB" >&6; } 5087 else 5088 { echo "$as_me:$LINENO: result: no" >&5 5089 echo "${ECHO_T}no" >&6; } 5090 fi 5091 5092 5093 fi 5094 if test -z "$ac_cv_prog_RANLIB"; then 5095 ac_ct_RANLIB=$RANLIB 5096 # Extract the first word of "ranlib", so it can be a program name with args. 5097 set dummy ranlib; ac_word=$2 5098 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5100 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 5101 echo $ECHO_N "(cached) $ECHO_C" >&6 5102 else 5103 if test -n "$ac_ct_RANLIB"; then 5104 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5105 else 5106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5107 for as_dir in $PATH 5108 do 5109 IFS=$as_save_IFS 5110 test -z "$as_dir" && as_dir=. 5111 for ac_exec_ext in '' $ac_executable_extensions; do 5112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5113 ac_cv_prog_ac_ct_RANLIB="ranlib" 5114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5115 break 2 5116 fi 5117 done 5118 done 5119 IFS=$as_save_IFS 5120 5121 fi 5122 fi 5123 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5124 if test -n "$ac_ct_RANLIB"; then 5125 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 5126 echo "${ECHO_T}$ac_ct_RANLIB" >&6; } 5127 else 5128 { echo "$as_me:$LINENO: result: no" >&5 5129 echo "${ECHO_T}no" >&6; } 5130 fi 5131 5132 if test "x$ac_ct_RANLIB" = x; then 5133 RANLIB=":" 5134 else 5135 case $cross_compiling:$ac_tool_warned in 5136 yes:) 5137 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 5138 whose name does not start with the host triplet. If you think this 5139 configuration is useful to you, please write to autoconf (at] gnu.org." >&5 5140 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 5141 whose name does not start with the host triplet. If you think this 5142 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;} 5143 ac_tool_warned=yes ;; 5144 esac 5145 RANLIB=$ac_ct_RANLIB 5146 fi 5147 else 5148 RANLIB="$ac_cv_prog_RANLIB" 5149 fi 5150 5151 test -z "$RANLIB" && RANLIB=: 5152 5153 5154 5155 5156 5157 5158 # Determine commands to create old-style static archives. 5159 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 5160 old_postinstall_cmds='chmod 644 $oldlib' 5161 old_postuninstall_cmds= 5162 5163 if test -n "$RANLIB"; then 5164 case $host_os in 5165 openbsd*) 5166 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 5167 ;; 5168 *) 5169 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 5170 ;; 5171 esac 5172 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 5173 fi 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 # If no C compiler was specified, use CC. 5209 LTCC=${LTCC-"$CC"} 5210 5211 # If no C compiler flags were specified, use CFLAGS. 5212 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 5213 5214 # Allow CC to be a program name with arguments. 5215 compiler=$CC 5216 5217 5218 # Check for command to grab the raw symbol name followed by C symbol from nm. 5219 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 5220 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; } 5221 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then 5222 echo $ECHO_N "(cached) $ECHO_C" >&6 5223 else 5224 5225 # These are sane defaults that work on at least a few old systems. 5226 # [They come from Ultrix. What could be older than Ultrix?!! ;)] 5227 5228 # Character class describing NM global symbol codes. 5229 symcode='[BCDEGRST]' 5230 5231 # Regexp to match symbols that can be accessed directly from C. 5232 sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 5233 5234 # Define system-specific variables. 5235 case $host_os in 5236 aix*) 5237 symcode='[BCDT]' 5238 ;; 5239 cygwin* | mingw* | pw32* | cegcc*) 5240 symcode='[ABCDGISTW]' 5241 ;; 5242 hpux*) 5243 if test "$host_cpu" = ia64; then 5244 symcode='[ABCDEGRST]' 5245 fi 5246 ;; 5247 irix* | nonstopux*) 5248 symcode='[BCDEGRST]' 5249 ;; 5250 osf*) 5251 symcode='[BCDEGQRST]' 5252 ;; 5253 solaris*) 5254 symcode='[BDRT]' 5255 ;; 5256 sco3.2v5*) 5257 symcode='[DT]' 5258 ;; 5259 sysv4.2uw2*) 5260 symcode='[DT]' 5261 ;; 5262 sysv5* | sco5v6* | unixware* | OpenUNIX*) 5263 symcode='[ABDT]' 5264 ;; 5265 sysv4) 5266 symcode='[DFNSTU]' 5267 ;; 5268 esac 5269 5270 # If we're using GNU nm, then use its standard symbol codes. 5271 case `$NM -V 2>&1` in 5272 *GNU* | *'with BFD'*) 5273 symcode='[ABCDGIRSTW]' ;; 5274 esac 5275 5276 # Transform an extracted symbol line into a proper C declaration. 5277 # Some systems (esp. on ia64) link data and code symbols differently, 5278 # so use this general approach. 5279 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 5280 5281 # Transform an extracted symbol line into symbol name and symbol address 5282 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 5283 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" 5284 5285 # Handle CRLF in mingw tool chain 5286 opt_cr= 5287 case $build_os in 5288 mingw*) 5289 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 5290 ;; 5291 esac 5292 5293 # Try without a prefix underscore, then with it. 5294 for ac_symprfx in "" "_"; do 5295 5296 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 5297 symxfrm="\\1 $ac_symprfx\\2 \\2" 5298 5299 # Write the raw and C identifiers. 5300 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 5301 # Fake it for dumpbin and say T for any non-static function 5302 # and D for any global variable. 5303 # Also find C++ and __fastcall symbols from MSVC++, 5304 # which start with @ or ?. 5305 lt_cv_sys_global_symbol_pipe="$AWK '"\ 5306 " {last_section=section; section=\$ 3};"\ 5307 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 5308 " \$ 0!~/External *\|/{next};"\ 5309 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 5310 " {if(hide[section]) next};"\ 5311 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 5312 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 5313 " s[1]~/^[@?]/{print s[1], s[1]; next};"\ 5314 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 5315 " ' prfx=^$ac_symprfx" 5316 else 5317 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 5318 fi 5319 5320 # Check to see that the pipe works correctly. 5321 pipe_works=no 5322 5323 rm -f conftest* 5324 cat > conftest.$ac_ext <<_LT_EOF 5325 #ifdef __cplusplus 5326 extern "C" { 5327 #endif 5328 char nm_test_var; 5329 void nm_test_func(void); 5330 void nm_test_func(void){} 5331 #ifdef __cplusplus 5332 } 5333 #endif 5334 int main(){nm_test_var='a';nm_test_func();return(0);} 5335 _LT_EOF 5336 5337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5338 (eval $ac_compile) 2>&5 5339 ac_status=$? 5340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5341 (exit $ac_status); }; then 5342 # Now try to grab the symbols. 5343 nlist=conftest.nm 5344 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 5345 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 5346 ac_status=$? 5347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5348 (exit $ac_status); } && test -s "$nlist"; then 5349 # Try sorting and uniquifying the output. 5350 if sort "$nlist" | uniq > "$nlist"T; then 5351 mv -f "$nlist"T "$nlist" 5352 else 5353 rm -f "$nlist"T 5354 fi 5355 5356 # Make sure that we snagged all the symbols we need. 5357 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 5358 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 5359 cat <<_LT_EOF > conftest.$ac_ext 5360 #ifdef __cplusplus 5361 extern "C" { 5362 #endif 5363 5364 _LT_EOF 5365 # Now generate the symbol file. 5366 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 5367 5368 cat <<_LT_EOF >> conftest.$ac_ext 5369 5370 /* The mapping between symbol names and symbols. */ 5371 const struct { 5372 const char *name; 5373 void *address; 5374 } 5375 lt__PROGRAM__LTX_preloaded_symbols[] = 5376 { 5377 { "@PROGRAM@", (void *) 0 }, 5378 _LT_EOF 5379 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 5380 cat <<\_LT_EOF >> conftest.$ac_ext 5381 {0, (void *) 0} 5382 }; 5383 5384 /* This works around a problem in FreeBSD linker */ 5385 #ifdef FREEBSD_WORKAROUND 5386 static const void *lt_preloaded_setup() { 5387 return lt__PROGRAM__LTX_preloaded_symbols; 5388 } 5389 #endif 5390 5391 #ifdef __cplusplus 5392 } 5393 #endif 5394 _LT_EOF 5395 # Now try linking the two files. 5396 mv conftest.$ac_objext conftstm.$ac_objext 5397 lt_save_LIBS="$LIBS" 5398 lt_save_CFLAGS="$CFLAGS" 5399 LIBS="conftstm.$ac_objext" 5400 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 5401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5402 (eval $ac_link) 2>&5 5403 ac_status=$? 5404 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5405 (exit $ac_status); } && test -s conftest${ac_exeext}; then 5406 pipe_works=yes 5407 fi 5408 LIBS="$lt_save_LIBS" 5409 CFLAGS="$lt_save_CFLAGS" 5410 else 5411 echo "cannot find nm_test_func in $nlist" >&5 5412 fi 5413 else 5414 echo "cannot find nm_test_var in $nlist" >&5 5415 fi 5416 else 5417 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 5418 fi 5419 else 5420 echo "$progname: failed program was:" >&5 5421 cat conftest.$ac_ext >&5 5422 fi 5423 rm -rf conftest* conftst* 5424 5425 # Do not use the global_symbol_pipe unless it works. 5426 if test "$pipe_works" = yes; then 5427 break 5428 else 5429 lt_cv_sys_global_symbol_pipe= 5430 fi 5431 done 5432 5433 fi 5434 5435 if test -z "$lt_cv_sys_global_symbol_pipe"; then 5436 lt_cv_sys_global_symbol_to_cdecl= 5437 fi 5438 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 5439 { echo "$as_me:$LINENO: result: failed" >&5 5440 echo "${ECHO_T}failed" >&6; } 5441 else 5442 { echo "$as_me:$LINENO: result: ok" >&5 5443 echo "${ECHO_T}ok" >&6; } 5444 fi 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 # Check whether --enable-libtool-lock was given. 5469 if test "${enable_libtool_lock+set}" = set; then 5470 enableval=$enable_libtool_lock; 5471 fi 5472 5473 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 5474 5475 # Some flags need to be propagated to the compiler or linker for good 5476 # libtool support. 5477 case $host in 5478 ia64-*-hpux*) 5479 # Find out which ABI we are using. 5480 echo 'int i;' > conftest.$ac_ext 5481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5482 (eval $ac_compile) 2>&5 5483 ac_status=$? 5484 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5485 (exit $ac_status); }; then 5486 case `/usr/bin/file conftest.$ac_objext` in 5487 *ELF-32*) 5488 HPUX_IA64_MODE="32" 5489 ;; 5490 *ELF-64*) 5491 HPUX_IA64_MODE="64" 5492 ;; 5493 esac 5494 fi 5495 rm -rf conftest* 5496 ;; 5497 *-*-irix6*) 5498 # Find out which ABI we are using. 5499 echo '#line 5499 "configure"' > conftest.$ac_ext 5500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5501 (eval $ac_compile) 2>&5 5502 ac_status=$? 5503 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5504 (exit $ac_status); }; then 5505 if test "$lt_cv_prog_gnu_ld" = yes; then 5506 case `/usr/bin/file conftest.$ac_objext` in 5507 *32-bit*) 5508 LD="${LD-ld} -melf32bsmip" 5509 ;; 5510 *N32*) 5511 LD="${LD-ld} -melf32bmipn32" 5512 ;; 5513 *64-bit*) 5514 LD="${LD-ld} -melf64bmip" 5515 ;; 5516 esac 5517 else 5518 case `/usr/bin/file conftest.$ac_objext` in 5519 *32-bit*) 5520 LD="${LD-ld} -32" 5521 ;; 5522 *N32*) 5523 LD="${LD-ld} -n32" 5524 ;; 5525 *64-bit*) 5526 LD="${LD-ld} -64" 5527 ;; 5528 esac 5529 fi 5530 fi 5531 rm -rf conftest* 5532 ;; 5533 5534 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 5535 s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 5536 # Find out which ABI we are using. 5537 echo 'int i;' > conftest.$ac_ext 5538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5539 (eval $ac_compile) 2>&5 5540 ac_status=$? 5541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5542 (exit $ac_status); }; then 5543 case `/usr/bin/file conftest.o` in 5544 *32-bit*) 5545 case $host in 5546 x86_64-*kfreebsd*-gnu) 5547 LD="${LD-ld} -m elf_i386_fbsd" 5548 ;; 5549 x86_64-*linux*) 5550 LD="${LD-ld} -m elf_i386" 5551 ;; 5552 ppc64-*linux*|powerpc64-*linux*) 5553 LD="${LD-ld} -m elf32ppclinux" 5554 ;; 5555 s390x-*linux*) 5556 LD="${LD-ld} -m elf_s390" 5557 ;; 5558 sparc64-*linux*) 5559 LD="${LD-ld} -m elf32_sparc" 5560 ;; 5561 esac 5562 ;; 5563 *64-bit*) 5564 case $host in 5565 x86_64-*kfreebsd*-gnu) 5566 LD="${LD-ld} -m elf_x86_64_fbsd" 5567 ;; 5568 x86_64-*linux*) 5569 LD="${LD-ld} -m elf_x86_64" 5570 ;; 5571 ppc*-*linux*|powerpc*-*linux*) 5572 LD="${LD-ld} -m elf64ppc" 5573 ;; 5574 s390*-*linux*|s390*-*tpf*) 5575 LD="${LD-ld} -m elf64_s390" 5576 ;; 5577 sparc*-*linux*) 5578 LD="${LD-ld} -m elf64_sparc" 5579 ;; 5580 esac 5581 ;; 5582 esac 5583 fi 5584 rm -rf conftest* 5585 ;; 5586 5587 *-*-sco3.2v5*) 5588 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 5589 SAVE_CFLAGS="$CFLAGS" 5590 CFLAGS="$CFLAGS -belf" 5591 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 5592 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; } 5593 if test "${lt_cv_cc_needs_belf+set}" = set; then 5594 echo $ECHO_N "(cached) $ECHO_C" >&6 5595 else 5596 ac_ext=c 5597 ac_cpp='$CPP $CPPFLAGS' 5598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5600 ac_compiler_gnu=$ac_cv_c_compiler_gnu 5601 5602 cat >conftest.$ac_ext <<_ACEOF 5603 /* confdefs.h. */ 5604 _ACEOF 5605 cat confdefs.h >>conftest.$ac_ext 5606 cat >>conftest.$ac_ext <<_ACEOF 5607 /* end confdefs.h. */ 5608 5609 int 5610 main () 5611 { 5612 5613 ; 5614 return 0; 5615 } 5616 _ACEOF 5617 rm -f conftest.$ac_objext conftest$ac_exeext 5618 if { (ac_try="$ac_link" 5619 case "(($ac_try" in 5620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5621 *) ac_try_echo=$ac_try;; 5622 esac 5623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5624 (eval "$ac_link") 2>conftest.er1 5625 ac_status=$? 5626 grep -v '^ *+' conftest.er1 >conftest.err 5627 rm -f conftest.er1 5628 cat conftest.err >&5 5629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5630 (exit $ac_status); } && { 5631 test -z "$ac_c_werror_flag" || 5632 test ! -s conftest.err 5633 } && test -s conftest$ac_exeext && 5634 $as_test_x conftest$ac_exeext; then 5635 lt_cv_cc_needs_belf=yes 5636 else 5637 echo "$as_me: failed program was:" >&5 5638 sed 's/^/| /' conftest.$ac_ext >&5 5639 5640 lt_cv_cc_needs_belf=no 5641 fi 5642 5643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5644 conftest$ac_exeext conftest.$ac_ext 5645 ac_ext=c 5646 ac_cpp='$CPP $CPPFLAGS' 5647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5649 ac_compiler_gnu=$ac_cv_c_compiler_gnu 5650 5651 fi 5652 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 5653 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; } 5654 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 5655 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 5656 CFLAGS="$SAVE_CFLAGS" 5657 fi 5658 ;; 5659 sparc*-*solaris*) 5660 # Find out which ABI we are using. 5661 echo 'int i;' > conftest.$ac_ext 5662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5663 (eval $ac_compile) 2>&5 5664 ac_status=$? 5665 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5666 (exit $ac_status); }; then 5667 case `/usr/bin/file conftest.o` in 5668 *64-bit*) 5669 case $lt_cv_prog_gnu_ld in 5670 yes*) LD="${LD-ld} -m elf64_sparc" ;; 5671 *) 5672 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 5673 LD="${LD-ld} -64" 5674 fi 5675 ;; 5676 esac 5677 ;; 5678 esac 5679 fi 5680 rm -rf conftest* 5681 ;; 5682 esac 5683 5684 need_locks="$enable_libtool_lock" 5685 5686 5687 case $host_os in 5688 rhapsody* | darwin*) 5689 if test -n "$ac_tool_prefix"; then 5690 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 5691 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 5692 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5694 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then 5695 echo $ECHO_N "(cached) $ECHO_C" >&6 5696 else 5697 if test -n "$DSYMUTIL"; then 5698 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 5699 else 5700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5701 for as_dir in $PATH 5702 do 5703 IFS=$as_save_IFS 5704 test -z "$as_dir" && as_dir=. 5705 for ac_exec_ext in '' $ac_executable_extensions; do 5706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5707 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 5708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5709 break 2 5710 fi 5711 done 5712 done 5713 IFS=$as_save_IFS 5714 5715 fi 5716 fi 5717 DSYMUTIL=$ac_cv_prog_DSYMUTIL 5718 if test -n "$DSYMUTIL"; then 5719 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 5720 echo "${ECHO_T}$DSYMUTIL" >&6; } 5721 else 5722 { echo "$as_me:$LINENO: result: no" >&5 5723 echo "${ECHO_T}no" >&6; } 5724 fi 5725 5726 5727 fi 5728 if test -z "$ac_cv_prog_DSYMUTIL"; then 5729 ac_ct_DSYMUTIL=$DSYMUTIL 5730 # Extract the first word of "dsymutil", so it can be a program name with args. 5731 set dummy dsymutil; ac_word=$2 5732 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5734 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then 5735 echo $ECHO_N "(cached) $ECHO_C" >&6 5736 else 5737 if test -n "$ac_ct_DSYMUTIL"; then 5738 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 5739 else 5740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5741 for as_dir in $PATH 5742 do 5743 IFS=$as_save_IFS 5744 test -z "$as_dir" && as_dir=. 5745 for ac_exec_ext in '' $ac_executable_extensions; do 5746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5747 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 5748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5749 break 2 5750 fi 5751 done 5752 done 5753 IFS=$as_save_IFS 5754 5755 fi 5756 fi 5757 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 5758 if test -n "$ac_ct_DSYMUTIL"; then 5759 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 5760 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; } 5761 else 5762 { echo "$as_me:$LINENO: result: no" >&5 5763 echo "${ECHO_T}no" >&6; } 5764 fi 5765 5766 if test "x$ac_ct_DSYMUTIL" = x; then 5767 DSYMUTIL=":" 5768 else 5769 case $cross_compiling:$ac_tool_warned in 5770 yes:) 5771 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 5772 whose name does not start with the host triplet. If you think this 5773 configuration is useful to you, please write to autoconf (at] gnu.org." >&5 5774 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 5775 whose name does not start with the host triplet. If you think this 5776 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;} 5777 ac_tool_warned=yes ;; 5778 esac 5779 DSYMUTIL=$ac_ct_DSYMUTIL 5780 fi 5781 else 5782 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 5783 fi 5784 5785 if test -n "$ac_tool_prefix"; then 5786 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 5787 set dummy ${ac_tool_prefix}nmedit; ac_word=$2 5788 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5790 if test "${ac_cv_prog_NMEDIT+set}" = set; then 5791 echo $ECHO_N "(cached) $ECHO_C" >&6 5792 else 5793 if test -n "$NMEDIT"; then 5794 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 5795 else 5796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5797 for as_dir in $PATH 5798 do 5799 IFS=$as_save_IFS 5800 test -z "$as_dir" && as_dir=. 5801 for ac_exec_ext in '' $ac_executable_extensions; do 5802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5803 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 5804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5805 break 2 5806 fi 5807 done 5808 done 5809 IFS=$as_save_IFS 5810 5811 fi 5812 fi 5813 NMEDIT=$ac_cv_prog_NMEDIT 5814 if test -n "$NMEDIT"; then 5815 { echo "$as_me:$LINENO: result: $NMEDIT" >&5 5816 echo "${ECHO_T}$NMEDIT" >&6; } 5817 else 5818 { echo "$as_me:$LINENO: result: no" >&5 5819 echo "${ECHO_T}no" >&6; } 5820 fi 5821 5822 5823 fi 5824 if test -z "$ac_cv_prog_NMEDIT"; then 5825 ac_ct_NMEDIT=$NMEDIT 5826 # Extract the first word of "nmedit", so it can be a program name with args. 5827 set dummy nmedit; ac_word=$2 5828 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5830 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then 5831 echo $ECHO_N "(cached) $ECHO_C" >&6 5832 else 5833 if test -n "$ac_ct_NMEDIT"; then 5834 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 5835 else 5836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5837 for as_dir in $PATH 5838 do 5839 IFS=$as_save_IFS 5840 test -z "$as_dir" && as_dir=. 5841 for ac_exec_ext in '' $ac_executable_extensions; do 5842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5843 ac_cv_prog_ac_ct_NMEDIT="nmedit" 5844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5845 break 2 5846 fi 5847 done 5848 done 5849 IFS=$as_save_IFS 5850 5851 fi 5852 fi 5853 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 5854 if test -n "$ac_ct_NMEDIT"; then 5855 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 5856 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; } 5857 else 5858 { echo "$as_me:$LINENO: result: no" >&5 5859 echo "${ECHO_T}no" >&6; } 5860 fi 5861 5862 if test "x$ac_ct_NMEDIT" = x; then 5863 NMEDIT=":" 5864 else 5865 case $cross_compiling:$ac_tool_warned in 5866 yes:) 5867 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 5868 whose name does not start with the host triplet. If you think this 5869 configuration is useful to you, please write to autoconf (at] gnu.org." >&5 5870 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 5871 whose name does not start with the host triplet. If you think this 5872 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;} 5873 ac_tool_warned=yes ;; 5874 esac 5875 NMEDIT=$ac_ct_NMEDIT 5876 fi 5877 else 5878 NMEDIT="$ac_cv_prog_NMEDIT" 5879 fi 5880 5881 if test -n "$ac_tool_prefix"; then 5882 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 5883 set dummy ${ac_tool_prefix}lipo; ac_word=$2 5884 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5886 if test "${ac_cv_prog_LIPO+set}" = set; then 5887 echo $ECHO_N "(cached) $ECHO_C" >&6 5888 else 5889 if test -n "$LIPO"; then 5890 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 5891 else 5892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5893 for as_dir in $PATH 5894 do 5895 IFS=$as_save_IFS 5896 test -z "$as_dir" && as_dir=. 5897 for ac_exec_ext in '' $ac_executable_extensions; do 5898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5899 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 5900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5901 break 2 5902 fi 5903 done 5904 done 5905 IFS=$as_save_IFS 5906 5907 fi 5908 fi 5909 LIPO=$ac_cv_prog_LIPO 5910 if test -n "$LIPO"; then 5911 { echo "$as_me:$LINENO: result: $LIPO" >&5 5912 echo "${ECHO_T}$LIPO" >&6; } 5913 else 5914 { echo "$as_me:$LINENO: result: no" >&5 5915 echo "${ECHO_T}no" >&6; } 5916 fi 5917 5918 5919 fi 5920 if test -z "$ac_cv_prog_LIPO"; then 5921 ac_ct_LIPO=$LIPO 5922 # Extract the first word of "lipo", so it can be a program name with args. 5923 set dummy lipo; ac_word=$2 5924 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5926 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then 5927 echo $ECHO_N "(cached) $ECHO_C" >&6 5928 else 5929 if test -n "$ac_ct_LIPO"; then 5930 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 5931 else 5932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5933 for as_dir in $PATH 5934 do 5935 IFS=$as_save_IFS 5936 test -z "$as_dir" && as_dir=. 5937 for ac_exec_ext in '' $ac_executable_extensions; do 5938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5939 ac_cv_prog_ac_ct_LIPO="lipo" 5940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5941 break 2 5942 fi 5943 done 5944 done 5945 IFS=$as_save_IFS 5946 5947 fi 5948 fi 5949 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 5950 if test -n "$ac_ct_LIPO"; then 5951 { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5 5952 echo "${ECHO_T}$ac_ct_LIPO" >&6; } 5953 else 5954 { echo "$as_me:$LINENO: result: no" >&5 5955 echo "${ECHO_T}no" >&6; } 5956 fi 5957 5958 if test "x$ac_ct_LIPO" = x; then 5959 LIPO=":" 5960 else 5961 case $cross_compiling:$ac_tool_warned in 5962 yes:) 5963 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 5964 whose name does not start with the host triplet. If you think this 5965 configuration is useful to you, please write to autoconf (at] gnu.org." >&5 5966 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 5967 whose name does not start with the host triplet. If you think this 5968 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;} 5969 ac_tool_warned=yes ;; 5970 esac 5971 LIPO=$ac_ct_LIPO 5972 fi 5973 else 5974 LIPO="$ac_cv_prog_LIPO" 5975 fi 5976 5977 if test -n "$ac_tool_prefix"; then 5978 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 5979 set dummy ${ac_tool_prefix}otool; ac_word=$2 5980 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5982 if test "${ac_cv_prog_OTOOL+set}" = set; then 5983 echo $ECHO_N "(cached) $ECHO_C" >&6 5984 else 5985 if test -n "$OTOOL"; then 5986 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 5987 else 5988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5989 for as_dir in $PATH 5990 do 5991 IFS=$as_save_IFS 5992 test -z "$as_dir" && as_dir=. 5993 for ac_exec_ext in '' $ac_executable_extensions; do 5994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5995 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 5996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5997 break 2 5998 fi 5999 done 6000 done 6001 IFS=$as_save_IFS 6002 6003 fi 6004 fi 6005 OTOOL=$ac_cv_prog_OTOOL 6006 if test -n "$OTOOL"; then 6007 { echo "$as_me:$LINENO: result: $OTOOL" >&5 6008 echo "${ECHO_T}$OTOOL" >&6; } 6009 else 6010 { echo "$as_me:$LINENO: result: no" >&5 6011 echo "${ECHO_T}no" >&6; } 6012 fi 6013 6014 6015 fi 6016 if test -z "$ac_cv_prog_OTOOL"; then 6017 ac_ct_OTOOL=$OTOOL 6018 # Extract the first word of "otool", so it can be a program name with args. 6019 set dummy otool; ac_word=$2 6020 { echo "$as_me:$LINENO: checking for $ac_word" >&5 6021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6022 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then 6023 echo $ECHO_N "(cached) $ECHO_C" >&6 6024 else 6025 if test -n "$ac_ct_OTOOL"; then 6026 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 6027 else 6028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6029 for as_dir in $PATH 6030 do 6031 IFS=$as_save_IFS 6032 test -z "$as_dir" && as_dir=. 6033 for ac_exec_ext in '' $ac_executable_extensions; do 6034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6035 ac_cv_prog_ac_ct_OTOOL="otool" 6036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6037 break 2 6038 fi 6039 done 6040 done 6041 IFS=$as_save_IFS 6042 6043 fi 6044 fi 6045 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 6046 if test -n "$ac_ct_OTOOL"; then 6047 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5 6048 echo "${ECHO_T}$ac_ct_OTOOL" >&6; } 6049 else 6050 { echo "$as_me:$LINENO: result: no" >&5 6051 echo "${ECHO_T}no" >&6; } 6052 fi 6053 6054 if test "x$ac_ct_OTOOL" = x; then 6055 OTOOL=":" 6056 else 6057 case $cross_compiling:$ac_tool_warned in 6058 yes:) 6059 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 6060 whose name does not start with the host triplet. If you think this 6061 configuration is useful to you, please write to autoconf (at] gnu.org." >&5 6062 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 6063 whose name does not start with the host triplet. If you think this 6064 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;} 6065 ac_tool_warned=yes ;; 6066 esac 6067 OTOOL=$ac_ct_OTOOL 6068 fi 6069 else 6070 OTOOL="$ac_cv_prog_OTOOL" 6071 fi 6072 6073 if test -n "$ac_tool_prefix"; then 6074 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 6075 set dummy ${ac_tool_prefix}otool64; ac_word=$2 6076 { echo "$as_me:$LINENO: checking for $ac_word" >&5 6077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6078 if test "${ac_cv_prog_OTOOL64+set}" = set; then 6079 echo $ECHO_N "(cached) $ECHO_C" >&6 6080 else 6081 if test -n "$OTOOL64"; then 6082 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 6083 else 6084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6085 for as_dir in $PATH 6086 do 6087 IFS=$as_save_IFS 6088 test -z "$as_dir" && as_dir=. 6089 for ac_exec_ext in '' $ac_executable_extensions; do 6090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6091 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 6092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6093 break 2 6094 fi 6095 done 6096 done 6097 IFS=$as_save_IFS 6098 6099 fi 6100 fi 6101 OTOOL64=$ac_cv_prog_OTOOL64 6102 if test -n "$OTOOL64"; then 6103 { echo "$as_me:$LINENO: result: $OTOOL64" >&5 6104 echo "${ECHO_T}$OTOOL64" >&6; } 6105 else 6106 { echo "$as_me:$LINENO: result: no" >&5 6107 echo "${ECHO_T}no" >&6; } 6108 fi 6109 6110 6111 fi 6112 if test -z "$ac_cv_prog_OTOOL64"; then 6113 ac_ct_OTOOL64=$OTOOL64 6114 # Extract the first word of "otool64", so it can be a program name with args. 6115 set dummy otool64; ac_word=$2 6116 { echo "$as_me:$LINENO: checking for $ac_word" >&5 6117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6118 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then 6119 echo $ECHO_N "(cached) $ECHO_C" >&6 6120 else 6121 if test -n "$ac_ct_OTOOL64"; then 6122 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 6123 else 6124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6125 for as_dir in $PATH 6126 do 6127 IFS=$as_save_IFS 6128 test -z "$as_dir" && as_dir=. 6129 for ac_exec_ext in '' $ac_executable_extensions; do 6130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6131 ac_cv_prog_ac_ct_OTOOL64="otool64" 6132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6133 break 2 6134 fi 6135 done 6136 done 6137 IFS=$as_save_IFS 6138 6139 fi 6140 fi 6141 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 6142 if test -n "$ac_ct_OTOOL64"; then 6143 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5 6144 echo "${ECHO_T}$ac_ct_OTOOL64" >&6; } 6145 else 6146 { echo "$as_me:$LINENO: result: no" >&5 6147 echo "${ECHO_T}no" >&6; } 6148 fi 6149 6150 if test "x$ac_ct_OTOOL64" = x; then 6151 OTOOL64=":" 6152 else 6153 case $cross_compiling:$ac_tool_warned in 6154 yes:) 6155 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 6156 whose name does not start with the host triplet. If you think this 6157 configuration is useful to you, please write to autoconf (at] gnu.org." >&5 6158 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 6159 whose name does not start with the host triplet. If you think this 6160 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;} 6161 ac_tool_warned=yes ;; 6162 esac 6163 OTOOL64=$ac_ct_OTOOL64 6164 fi 6165 else 6166 OTOOL64="$ac_cv_prog_OTOOL64" 6167 fi 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 6196 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; } 6197 if test "${lt_cv_apple_cc_single_mod+set}" = set; then 6198 echo $ECHO_N "(cached) $ECHO_C" >&6 6199 else 6200 lt_cv_apple_cc_single_mod=no 6201 if test -z "${LT_MULTI_MODULE}"; then 6202 # By default we will add the -single_module flag. You can override 6203 # by either setting the environment variable LT_MULTI_MODULE 6204 # non-empty at configure time, or by adding -multi_module to the 6205 # link flags. 6206 rm -rf libconftest.dylib* 6207 echo "int foo(void){return 1;}" > conftest.c 6208 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 6209 -dynamiclib -Wl,-single_module conftest.c" >&5 6210 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 6211 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 6212 _lt_result=$? 6213 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then 6214 lt_cv_apple_cc_single_mod=yes 6215 else 6216 cat conftest.err >&5 6217 fi 6218 rm -rf libconftest.dylib* 6219 rm -f conftest.* 6220 fi 6221 fi 6222 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 6223 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; } 6224 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 6225 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; } 6226 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then 6227 echo $ECHO_N "(cached) $ECHO_C" >&6 6228 else 6229 lt_cv_ld_exported_symbols_list=no 6230 save_LDFLAGS=$LDFLAGS 6231 echo "_main" > conftest.sym 6232 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 6233 cat >conftest.$ac_ext <<_ACEOF 6234 /* confdefs.h. */ 6235 _ACEOF 6236 cat confdefs.h >>conftest.$ac_ext 6237 cat >>conftest.$ac_ext <<_ACEOF 6238 /* end confdefs.h. */ 6239 6240 int 6241 main () 6242 { 6243 6244 ; 6245 return 0; 6246 } 6247 _ACEOF 6248 rm -f conftest.$ac_objext conftest$ac_exeext 6249 if { (ac_try="$ac_link" 6250 case "(($ac_try" in 6251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6252 *) ac_try_echo=$ac_try;; 6253 esac 6254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6255 (eval "$ac_link") 2>conftest.er1 6256 ac_status=$? 6257 grep -v '^ *+' conftest.er1 >conftest.err 6258 rm -f conftest.er1 6259 cat conftest.err >&5 6260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6261 (exit $ac_status); } && { 6262 test -z "$ac_c_werror_flag" || 6263 test ! -s conftest.err 6264 } && test -s conftest$ac_exeext && 6265 $as_test_x conftest$ac_exeext; then 6266 lt_cv_ld_exported_symbols_list=yes 6267 else 6268 echo "$as_me: failed program was:" >&5 6269 sed 's/^/| /' conftest.$ac_ext >&5 6270 6271 lt_cv_ld_exported_symbols_list=no 6272 fi 6273 6274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6275 conftest$ac_exeext conftest.$ac_ext 6276 LDFLAGS="$save_LDFLAGS" 6277 6278 fi 6279 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 6280 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; } 6281 case $host_os in 6282 rhapsody* | darwin1.[012]) 6283 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 6284 darwin1.*) 6285 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 6286 darwin*) # darwin 5.x on 6287 # if running on 10.5 or later, the deployment target defaults 6288 # to the OS version, if on x86, and 10.4, the deployment 6289 # target defaults to 10.4. Don't you love it? 6290 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 6291 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 6292 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 6293 10.[012]*) 6294 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 6295 10.*) 6296 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 6297 esac 6298 ;; 6299 esac 6300 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 6301 _lt_dar_single_mod='$single_module' 6302 fi 6303 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 6304 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 6305 else 6306 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 6307 fi 6308 if test "$DSYMUTIL" != ":"; then 6309 _lt_dsymutil='~$DSYMUTIL $lib || :' 6310 else 6311 _lt_dsymutil= 6312 fi 6313 ;; 6314 esac 6315 6316 ac_ext=c 6317 ac_cpp='$CPP $CPPFLAGS' 6318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6320 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6321 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 6322 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 6323 # On Suns, sometimes $CPP names a directory. 6324 if test -n "$CPP" && test -d "$CPP"; then 6325 CPP= 6326 fi 6327 if test -z "$CPP"; then 6328 if test "${ac_cv_prog_CPP+set}" = set; then 6329 echo $ECHO_N "(cached) $ECHO_C" >&6 6330 else 6331 # Double quotes because CPP needs to be expanded 6332 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 6333 do 6334 ac_preproc_ok=false 6335 for ac_c_preproc_warn_flag in '' yes 6336 do 6337 # Use a header file that comes with gcc, so configuring glibc 6338 # with a fresh cross-compiler works. 6339 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6340 # <limits.h> exists even on freestanding compilers. 6341 # On the NeXT, cc -E runs the code through the compiler's parser, 6342 # not just through cpp. "Syntax error" is here to catch this case. 6343 cat >conftest.$ac_ext <<_ACEOF 6344 /* confdefs.h. */ 6345 _ACEOF 6346 cat confdefs.h >>conftest.$ac_ext 6347 cat >>conftest.$ac_ext <<_ACEOF 6348 /* end confdefs.h. */ 6349 #ifdef __STDC__ 6350 # include <limits.h> 6351 #else 6352 # include <assert.h> 6353 #endif 6354 Syntax error 6355 _ACEOF 6356 if { (ac_try="$ac_cpp conftest.$ac_ext" 6357 case "(($ac_try" in 6358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6359 *) ac_try_echo=$ac_try;; 6360 esac 6361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6362 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6363 ac_status=$? 6364 grep -v '^ *+' conftest.er1 >conftest.err 6365 rm -f conftest.er1 6366 cat conftest.err >&5 6367 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6368 (exit $ac_status); } >/dev/null && { 6369 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6370 test ! -s conftest.err 6371 }; then 6372 : 6373 else 6374 echo "$as_me: failed program was:" >&5 6375 sed 's/^/| /' conftest.$ac_ext >&5 6376 6377 # Broken: fails on valid input. 6378 continue 6379 fi 6380 6381 rm -f conftest.err conftest.$ac_ext 6382 6383 # OK, works on sane cases. Now check whether nonexistent headers 6384 # can be detected and how. 6385 cat >conftest.$ac_ext <<_ACEOF 6386 /* confdefs.h. */ 6387 _ACEOF 6388 cat confdefs.h >>conftest.$ac_ext 6389 cat >>conftest.$ac_ext <<_ACEOF 6390 /* end confdefs.h. */ 6391 #include <ac_nonexistent.h> 6392 _ACEOF 6393 if { (ac_try="$ac_cpp conftest.$ac_ext" 6394 case "(($ac_try" in 6395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6396 *) ac_try_echo=$ac_try;; 6397 esac 6398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6399 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6400 ac_status=$? 6401 grep -v '^ *+' conftest.er1 >conftest.err 6402 rm -f conftest.er1 6403 cat conftest.err >&5 6404 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6405 (exit $ac_status); } >/dev/null && { 6406 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6407 test ! -s conftest.err 6408 }; then 6409 # Broken: success on invalid input. 6410 continue 6411 else 6412 echo "$as_me: failed program was:" >&5 6413 sed 's/^/| /' conftest.$ac_ext >&5 6414 6415 # Passes both tests. 6416 ac_preproc_ok=: 6417 break 6418 fi 6419 6420 rm -f conftest.err conftest.$ac_ext 6421 6422 done 6423 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6424 rm -f conftest.err conftest.$ac_ext 6425 if $ac_preproc_ok; then 6426 break 6427 fi 6428 6429 done 6430 ac_cv_prog_CPP=$CPP 6431 6432 fi 6433 CPP=$ac_cv_prog_CPP 6434 else 6435 ac_cv_prog_CPP=$CPP 6436 fi 6437 { echo "$as_me:$LINENO: result: $CPP" >&5 6438 echo "${ECHO_T}$CPP" >&6; } 6439 ac_preproc_ok=false 6440 for ac_c_preproc_warn_flag in '' yes 6441 do 6442 # Use a header file that comes with gcc, so configuring glibc 6443 # with a fresh cross-compiler works. 6444 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6445 # <limits.h> exists even on freestanding compilers. 6446 # On the NeXT, cc -E runs the code through the compiler's parser, 6447 # not just through cpp. "Syntax error" is here to catch this case. 6448 cat >conftest.$ac_ext <<_ACEOF 6449 /* confdefs.h. */ 6450 _ACEOF 6451 cat confdefs.h >>conftest.$ac_ext 6452 cat >>conftest.$ac_ext <<_ACEOF 6453 /* end confdefs.h. */ 6454 #ifdef __STDC__ 6455 # include <limits.h> 6456 #else 6457 # include <assert.h> 6458 #endif 6459 Syntax error 6460 _ACEOF 6461 if { (ac_try="$ac_cpp conftest.$ac_ext" 6462 case "(($ac_try" in 6463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6464 *) ac_try_echo=$ac_try;; 6465 esac 6466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6467 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6468 ac_status=$? 6469 grep -v '^ *+' conftest.er1 >conftest.err 6470 rm -f conftest.er1 6471 cat conftest.err >&5 6472 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6473 (exit $ac_status); } >/dev/null && { 6474 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6475 test ! -s conftest.err 6476 }; then 6477 : 6478 else 6479 echo "$as_me: failed program was:" >&5 6480 sed 's/^/| /' conftest.$ac_ext >&5 6481 6482 # Broken: fails on valid input. 6483 continue 6484 fi 6485 6486 rm -f conftest.err conftest.$ac_ext 6487 6488 # OK, works on sane cases. Now check whether nonexistent headers 6489 # can be detected and how. 6490 cat >conftest.$ac_ext <<_ACEOF 6491 /* confdefs.h. */ 6492 _ACEOF 6493 cat confdefs.h >>conftest.$ac_ext 6494 cat >>conftest.$ac_ext <<_ACEOF 6495 /* end confdefs.h. */ 6496 #include <ac_nonexistent.h> 6497 _ACEOF 6498 if { (ac_try="$ac_cpp conftest.$ac_ext" 6499 case "(($ac_try" in 6500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6501 *) ac_try_echo=$ac_try;; 6502 esac 6503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6504 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6505 ac_status=$? 6506 grep -v '^ *+' conftest.er1 >conftest.err 6507 rm -f conftest.er1 6508 cat conftest.err >&5 6509 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6510 (exit $ac_status); } >/dev/null && { 6511 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6512 test ! -s conftest.err 6513 }; then 6514 # Broken: success on invalid input. 6515 continue 6516 else 6517 echo "$as_me: failed program was:" >&5 6518 sed 's/^/| /' conftest.$ac_ext >&5 6519 6520 # Passes both tests. 6521 ac_preproc_ok=: 6522 break 6523 fi 6524 6525 rm -f conftest.err conftest.$ac_ext 6526 6527 done 6528 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6529 rm -f conftest.err conftest.$ac_ext 6530 if $ac_preproc_ok; then 6531 : 6532 else 6533 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 6534 See \`config.log' for more details." >&5 6535 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 6536 See \`config.log' for more details." >&2;} 6537 { (exit 1); exit 1; }; } 6538 fi 6539 6540 ac_ext=c 6541 ac_cpp='$CPP $CPPFLAGS' 6542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6544 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6545 6546 6547 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 6548 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 6549 if test "${ac_cv_header_stdc+set}" = set; then 6550 echo $ECHO_N "(cached) $ECHO_C" >&6 6551 else 6552 cat >conftest.$ac_ext <<_ACEOF 6553 /* confdefs.h. */ 6554 _ACEOF 6555 cat confdefs.h >>conftest.$ac_ext 6556 cat >>conftest.$ac_ext <<_ACEOF 6557 /* end confdefs.h. */ 6558 #include <stdlib.h> 6559 #include <stdarg.h> 6560 #include <string.h> 6561 #include <float.h> 6562 6563 int 6564 main () 6565 { 6566 6567 ; 6568 return 0; 6569 } 6570 _ACEOF 6571 rm -f conftest.$ac_objext 6572 if { (ac_try="$ac_compile" 6573 case "(($ac_try" in 6574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6575 *) ac_try_echo=$ac_try;; 6576 esac 6577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6578 (eval "$ac_compile") 2>conftest.er1 6579 ac_status=$? 6580 grep -v '^ *+' conftest.er1 >conftest.err 6581 rm -f conftest.er1 6582 cat conftest.err >&5 6583 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6584 (exit $ac_status); } && { 6585 test -z "$ac_c_werror_flag" || 6586 test ! -s conftest.err 6587 } && test -s conftest.$ac_objext; then 6588 ac_cv_header_stdc=yes 6589 else 6590 echo "$as_me: failed program was:" >&5 6591 sed 's/^/| /' conftest.$ac_ext >&5 6592 6593 ac_cv_header_stdc=no 6594 fi 6595 6596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6597 6598 if test $ac_cv_header_stdc = yes; then 6599 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6600 cat >conftest.$ac_ext <<_ACEOF 6601 /* confdefs.h. */ 6602 _ACEOF 6603 cat confdefs.h >>conftest.$ac_ext 6604 cat >>conftest.$ac_ext <<_ACEOF 6605 /* end confdefs.h. */ 6606 #include <string.h> 6607 6608 _ACEOF 6609 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6610 $EGREP "memchr" >/dev/null 2>&1; then 6611 : 6612 else 6613 ac_cv_header_stdc=no 6614 fi 6615 rm -f conftest* 6616 6617 fi 6618 6619 if test $ac_cv_header_stdc = yes; then 6620 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6621 cat >conftest.$ac_ext <<_ACEOF 6622 /* confdefs.h. */ 6623 _ACEOF 6624 cat confdefs.h >>conftest.$ac_ext 6625 cat >>conftest.$ac_ext <<_ACEOF 6626 /* end confdefs.h. */ 6627 #include <stdlib.h> 6628 6629 _ACEOF 6630 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6631 $EGREP "free" >/dev/null 2>&1; then 6632 : 6633 else 6634 ac_cv_header_stdc=no 6635 fi 6636 rm -f conftest* 6637 6638 fi 6639 6640 if test $ac_cv_header_stdc = yes; then 6641 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 6642 if test "$cross_compiling" = yes; then 6643 : 6644 else 6645 cat >conftest.$ac_ext <<_ACEOF 6646 /* confdefs.h. */ 6647 _ACEOF 6648 cat confdefs.h >>conftest.$ac_ext 6649 cat >>conftest.$ac_ext <<_ACEOF 6650 /* end confdefs.h. */ 6651 #include <ctype.h> 6652 #include <stdlib.h> 6653 #if ((' ' & 0x0FF) == 0x020) 6654 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 6655 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 6656 #else 6657 # define ISLOWER(c) \ 6658 (('a' <= (c) && (c) <= 'i') \ 6659 || ('j' <= (c) && (c) <= 'r') \ 6660 || ('s' <= (c) && (c) <= 'z')) 6661 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 6662 #endif 6663 6664 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 6665 int 6666 main () 6667 { 6668 int i; 6669 for (i = 0; i < 256; i++) 6670 if (XOR (islower (i), ISLOWER (i)) 6671 || toupper (i) != TOUPPER (i)) 6672 return 2; 6673 return 0; 6674 } 6675 _ACEOF 6676 rm -f conftest$ac_exeext 6677 if { (ac_try="$ac_link" 6678 case "(($ac_try" in 6679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6680 *) ac_try_echo=$ac_try;; 6681 esac 6682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6683 (eval "$ac_link") 2>&5 6684 ac_status=$? 6685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6686 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6687 { (case "(($ac_try" in 6688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6689 *) ac_try_echo=$ac_try;; 6690 esac 6691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6692 (eval "$ac_try") 2>&5 6693 ac_status=$? 6694 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6695 (exit $ac_status); }; }; then 6696 : 6697 else 6698 echo "$as_me: program exited with status $ac_status" >&5 6699 echo "$as_me: failed program was:" >&5 6700 sed 's/^/| /' conftest.$ac_ext >&5 6701 6702 ( exit $ac_status ) 6703 ac_cv_header_stdc=no 6704 fi 6705 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6706 fi 6707 6708 6709 fi 6710 fi 6711 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 6712 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 6713 if test $ac_cv_header_stdc = yes; then 6714 6715 cat >>confdefs.h <<\_ACEOF 6716 #define STDC_HEADERS 1 6717 _ACEOF 6718 6719 fi 6720 6721 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 6732 inttypes.h stdint.h unistd.h 6733 do 6734 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6735 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6736 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6737 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6738 echo $ECHO_N "(cached) $ECHO_C" >&6 6739 else 6740 cat >conftest.$ac_ext <<_ACEOF 6741 /* confdefs.h. */ 6742 _ACEOF 6743 cat confdefs.h >>conftest.$ac_ext 6744 cat >>conftest.$ac_ext <<_ACEOF 6745 /* end confdefs.h. */ 6746 $ac_includes_default 6747 6748 #include <$ac_header> 6749 _ACEOF 6750 rm -f conftest.$ac_objext 6751 if { (ac_try="$ac_compile" 6752 case "(($ac_try" in 6753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6754 *) ac_try_echo=$ac_try;; 6755 esac 6756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6757 (eval "$ac_compile") 2>conftest.er1 6758 ac_status=$? 6759 grep -v '^ *+' conftest.er1 >conftest.err 6760 rm -f conftest.er1 6761 cat conftest.err >&5 6762 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6763 (exit $ac_status); } && { 6764 test -z "$ac_c_werror_flag" || 6765 test ! -s conftest.err 6766 } && test -s conftest.$ac_objext; then 6767 eval "$as_ac_Header=yes" 6768 else 6769 echo "$as_me: failed program was:" >&5 6770 sed 's/^/| /' conftest.$ac_ext >&5 6771 6772 eval "$as_ac_Header=no" 6773 fi 6774 6775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6776 fi 6777 ac_res=`eval echo '${'$as_ac_Header'}'` 6778 { echo "$as_me:$LINENO: result: $ac_res" >&5 6779 echo "${ECHO_T}$ac_res" >&6; } 6780 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6781 cat >>confdefs.h <<_ACEOF 6782 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6783 _ACEOF 6784 6785 fi 6786 6787 done 6788 6789 6790 6791 for ac_header in dlfcn.h 6792 do 6793 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6794 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6795 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6796 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6797 echo $ECHO_N "(cached) $ECHO_C" >&6 6798 else 6799 cat >conftest.$ac_ext <<_ACEOF 6800 /* confdefs.h. */ 6801 _ACEOF 6802 cat confdefs.h >>conftest.$ac_ext 6803 cat >>conftest.$ac_ext <<_ACEOF 6804 /* end confdefs.h. */ 6805 $ac_includes_default 6806 6807 #include <$ac_header> 6808 _ACEOF 6809 rm -f conftest.$ac_objext 6810 if { (ac_try="$ac_compile" 6811 case "(($ac_try" in 6812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6813 *) ac_try_echo=$ac_try;; 6814 esac 6815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6816 (eval "$ac_compile") 2>conftest.er1 6817 ac_status=$? 6818 grep -v '^ *+' conftest.er1 >conftest.err 6819 rm -f conftest.er1 6820 cat conftest.err >&5 6821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6822 (exit $ac_status); } && { 6823 test -z "$ac_c_werror_flag" || 6824 test ! -s conftest.err 6825 } && test -s conftest.$ac_objext; then 6826 eval "$as_ac_Header=yes" 6827 else 6828 echo "$as_me: failed program was:" >&5 6829 sed 's/^/| /' conftest.$ac_ext >&5 6830 6831 eval "$as_ac_Header=no" 6832 fi 6833 6834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6835 fi 6836 ac_res=`eval echo '${'$as_ac_Header'}'` 6837 { echo "$as_me:$LINENO: result: $ac_res" >&5 6838 echo "${ECHO_T}$ac_res" >&6; } 6839 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6840 cat >>confdefs.h <<_ACEOF 6841 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6842 _ACEOF 6843 6844 fi 6845 6846 done 6847 6848 6849 6850 # Set options 6851 6852 6853 6854 enable_dlopen=no 6855 6856 6857 enable_win32_dll=no 6858 6859 6860 # Check whether --enable-shared was given. 6861 if test "${enable_shared+set}" = set; then 6862 enableval=$enable_shared; p=${PACKAGE-default} 6863 case $enableval in 6864 yes) enable_shared=yes ;; 6865 no) enable_shared=no ;; 6866 *) 6867 enable_shared=no 6868 # Look at the argument we got. We use all the common list separators. 6869 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 6870 for pkg in $enableval; do 6871 IFS="$lt_save_ifs" 6872 if test "X$pkg" = "X$p"; then 6873 enable_shared=yes 6874 fi 6875 done 6876 IFS="$lt_save_ifs" 6877 ;; 6878 esac 6879 else 6880 enable_shared=yes 6881 fi 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 # Check whether --enable-static was given. 6892 if test "${enable_static+set}" = set; then 6893 enableval=$enable_static; p=${PACKAGE-default} 6894 case $enableval in 6895 yes) enable_static=yes ;; 6896 no) enable_static=no ;; 6897 *) 6898 enable_static=no 6899 # Look at the argument we got. We use all the common list separators. 6900 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 6901 for pkg in $enableval; do 6902 IFS="$lt_save_ifs" 6903 if test "X$pkg" = "X$p"; then 6904 enable_static=yes 6905 fi 6906 done 6907 IFS="$lt_save_ifs" 6908 ;; 6909 esac 6910 else 6911 enable_static=yes 6912 fi 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 # Check whether --with-pic was given. 6924 if test "${with_pic+set}" = set; then 6925 withval=$with_pic; pic_mode="$withval" 6926 else 6927 pic_mode=default 6928 fi 6929 6930 6931 test -z "$pic_mode" && pic_mode=default 6932 6933 6934 6935 6936 6937 6938 6939 # Check whether --enable-fast-install was given. 6940 if test "${enable_fast_install+set}" = set; then 6941 enableval=$enable_fast_install; p=${PACKAGE-default} 6942 case $enableval in 6943 yes) enable_fast_install=yes ;; 6944 no) enable_fast_install=no ;; 6945 *) 6946 enable_fast_install=no 6947 # Look at the argument we got. We use all the common list separators. 6948 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 6949 for pkg in $enableval; do 6950 IFS="$lt_save_ifs" 6951 if test "X$pkg" = "X$p"; then 6952 enable_fast_install=yes 6953 fi 6954 done 6955 IFS="$lt_save_ifs" 6956 ;; 6957 esac 6958 else 6959 enable_fast_install=yes 6960 fi 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 # This can be used to rebuild libtool when needed 6973 LIBTOOL_DEPS="$ltmain" 6974 6975 # Always use our own libtool. 6976 LIBTOOL='$(SHELL) $(top_builddir)/libtool' 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 test -z "$LN_S" && LN_S="ln -s" 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 if test -n "${ZSH_VERSION+set}" ; then 7018 setopt NO_GLOB_SUBST 7019 fi 7020 7021 { echo "$as_me:$LINENO: checking for objdir" >&5 7022 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; } 7023 if test "${lt_cv_objdir+set}" = set; then 7024 echo $ECHO_N "(cached) $ECHO_C" >&6 7025 else 7026 rm -f .libs 2>/dev/null 7027 mkdir .libs 2>/dev/null 7028 if test -d .libs; then 7029 lt_cv_objdir=.libs 7030 else 7031 # MS-DOS does not allow filenames that begin with a dot. 7032 lt_cv_objdir=_libs 7033 fi 7034 rmdir .libs 2>/dev/null 7035 fi 7036 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 7037 echo "${ECHO_T}$lt_cv_objdir" >&6; } 7038 objdir=$lt_cv_objdir 7039 7040 7041 7042 7043 7044 cat >>confdefs.h <<_ACEOF 7045 #define LT_OBJDIR "$lt_cv_objdir/" 7046 _ACEOF 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 case $host_os in 7065 aix3*) 7066 # AIX sometimes has problems with the GCC collect2 program. For some 7067 # reason, if we set the COLLECT_NAMES environment variable, the problems 7068 # vanish in a puff of smoke. 7069 if test "X${COLLECT_NAMES+set}" != Xset; then 7070 COLLECT_NAMES= 7071 export COLLECT_NAMES 7072 fi 7073 ;; 7074 esac 7075 7076 # Sed substitution that helps us do robust quoting. It backslashifies 7077 # metacharacters that are still active within double-quoted strings. 7078 sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 7079 7080 # Same as above, but do not quote variable references. 7081 double_quote_subst='s/\(["`\\]\)/\\\1/g' 7082 7083 # Sed substitution to delay expansion of an escaped shell variable in a 7084 # double_quote_subst'ed string. 7085 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 7086 7087 # Sed substitution to delay expansion of an escaped single quote. 7088 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 7089 7090 # Sed substitution to avoid accidental globbing in evaled expressions 7091 no_glob_subst='s/\*/\\\*/g' 7092 7093 # Global variables: 7094 ofile=libtool 7095 can_build_shared=yes 7096 7097 # All known linkers require a `.a' archive for static linking (except MSVC, 7098 # which needs '.lib'). 7099 libext=a 7100 7101 with_gnu_ld="$lt_cv_prog_gnu_ld" 7102 7103 old_CC="$CC" 7104 old_CFLAGS="$CFLAGS" 7105 7106 # Set sane defaults for various variables 7107 test -z "$CC" && CC=cc 7108 test -z "$LTCC" && LTCC=$CC 7109 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7110 test -z "$LD" && LD=ld 7111 test -z "$ac_objext" && ac_objext=o 7112 7113 for cc_temp in $compiler""; do 7114 case $cc_temp in 7115 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7116 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7117 \-*) ;; 7118 *) break;; 7119 esac 7120 done 7121 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 7122 7123 7124 # Only perform the check for file, if the check method requires it 7125 test -z "$MAGIC_CMD" && MAGIC_CMD=file 7126 case $deplibs_check_method in 7127 file_magic*) 7128 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7129 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 7130 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; } 7131 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 7132 echo $ECHO_N "(cached) $ECHO_C" >&6 7133 else 7134 case $MAGIC_CMD in 7135 [\\/*] | ?:[\\/]*) 7136 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7137 ;; 7138 *) 7139 lt_save_MAGIC_CMD="$MAGIC_CMD" 7140 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7141 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7142 for ac_dir in $ac_dummy; do 7143 IFS="$lt_save_ifs" 7144 test -z "$ac_dir" && ac_dir=. 7145 if test -f $ac_dir/${ac_tool_prefix}file; then 7146 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 7147 if test -n "$file_magic_test_file"; then 7148 case $deplibs_check_method in 7149 "file_magic "*) 7150 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7151 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7152 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7153 $EGREP "$file_magic_regex" > /dev/null; then 7154 : 7155 else 7156 cat <<_LT_EOF 1>&2 7157 7158 *** Warning: the command libtool uses to detect shared libraries, 7159 *** $file_magic_cmd, produces output that libtool cannot recognize. 7160 *** The result is that libtool may fail to recognize shared libraries 7161 *** as such. This will affect the creation of libtool libraries that 7162 *** depend on shared libraries, but programs linked with such libtool 7163 *** libraries will work regardless of this problem. Nevertheless, you 7164 *** may want to report the problem to your system manager and/or to 7165 *** bug-libtool@gnu.org 7166 7167 _LT_EOF 7168 fi ;; 7169 esac 7170 fi 7171 break 7172 fi 7173 done 7174 IFS="$lt_save_ifs" 7175 MAGIC_CMD="$lt_save_MAGIC_CMD" 7176 ;; 7177 esac 7178 fi 7179 7180 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7181 if test -n "$MAGIC_CMD"; then 7182 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 7183 echo "${ECHO_T}$MAGIC_CMD" >&6; } 7184 else 7185 { echo "$as_me:$LINENO: result: no" >&5 7186 echo "${ECHO_T}no" >&6; } 7187 fi 7188 7189 7190 7191 7192 7193 if test -z "$lt_cv_path_MAGIC_CMD"; then 7194 if test -n "$ac_tool_prefix"; then 7195 { echo "$as_me:$LINENO: checking for file" >&5 7196 echo $ECHO_N "checking for file... $ECHO_C" >&6; } 7197 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 7198 echo $ECHO_N "(cached) $ECHO_C" >&6 7199 else 7200 case $MAGIC_CMD in 7201 [\\/*] | ?:[\\/]*) 7202 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7203 ;; 7204 *) 7205 lt_save_MAGIC_CMD="$MAGIC_CMD" 7206 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7207 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7208 for ac_dir in $ac_dummy; do 7209 IFS="$lt_save_ifs" 7210 test -z "$ac_dir" && ac_dir=. 7211 if test -f $ac_dir/file; then 7212 lt_cv_path_MAGIC_CMD="$ac_dir/file" 7213 if test -n "$file_magic_test_file"; then 7214 case $deplibs_check_method in 7215 "file_magic "*) 7216 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7217 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7218 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7219 $EGREP "$file_magic_regex" > /dev/null; then 7220 : 7221 else 7222 cat <<_LT_EOF 1>&2 7223 7224 *** Warning: the command libtool uses to detect shared libraries, 7225 *** $file_magic_cmd, produces output that libtool cannot recognize. 7226 *** The result is that libtool may fail to recognize shared libraries 7227 *** as such. This will affect the creation of libtool libraries that 7228 *** depend on shared libraries, but programs linked with such libtool 7229 *** libraries will work regardless of this problem. Nevertheless, you 7230 *** may want to report the problem to your system manager and/or to 7231 *** bug-libtool@gnu.org 7232 7233 _LT_EOF 7234 fi ;; 7235 esac 7236 fi 7237 break 7238 fi 7239 done 7240 IFS="$lt_save_ifs" 7241 MAGIC_CMD="$lt_save_MAGIC_CMD" 7242 ;; 7243 esac 7244 fi 7245 7246 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7247 if test -n "$MAGIC_CMD"; then 7248 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 7249 echo "${ECHO_T}$MAGIC_CMD" >&6; } 7250 else 7251 { echo "$as_me:$LINENO: result: no" >&5 7252 echo "${ECHO_T}no" >&6; } 7253 fi 7254 7255 7256 else 7257 MAGIC_CMD=: 7258 fi 7259 fi 7260 7261 fi 7262 ;; 7263 esac 7264 7265 # Use C for the default configuration in the libtool script 7266 7267 lt_save_CC="$CC" 7268 ac_ext=c 7269 ac_cpp='$CPP $CPPFLAGS' 7270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7272 ac_compiler_gnu=$ac_cv_c_compiler_gnu 7273 7274 7275 # Source file extension for C test sources. 7276 ac_ext=c 7277 7278 # Object file extension for compiled C test sources. 7279 objext=o 7280 objext=$objext 7281 7282 # Code to be used in simple compile tests 7283 lt_simple_compile_test_code="int some_variable = 0;" 7284 7285 # Code to be used in simple link tests 7286 lt_simple_link_test_code='int main(){return(0);}' 7287 7288 7289 7290 7291 7292 7293 7294 # If no C compiler was specified, use CC. 7295 LTCC=${LTCC-"$CC"} 7296 7297 # If no C compiler flags were specified, use CFLAGS. 7298 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7299 7300 # Allow CC to be a program name with arguments. 7301 compiler=$CC 7302 7303 # Save the default compiler, since it gets overwritten when the other 7304 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 7305 compiler_DEFAULT=$CC 7306 7307 # save warnings/boilerplate of simple test code 7308 ac_outfile=conftest.$ac_objext 7309 echo "$lt_simple_compile_test_code" >conftest.$ac_ext 7310 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7311 _lt_compiler_boilerplate=`cat conftest.err` 7312 $RM conftest* 7313 7314 ac_outfile=conftest.$ac_objext 7315 echo "$lt_simple_link_test_code" >conftest.$ac_ext 7316 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7317 _lt_linker_boilerplate=`cat conftest.err` 7318 $RM -r conftest* 7319 7320 7321 if test -n "$compiler"; then 7322 7323 lt_prog_compiler_no_builtin_flag= 7324 7325 if test "$GCC" = yes; then 7326 lt_prog_compiler_no_builtin_flag=' -fno-builtin' 7327 7328 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 7329 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } 7330 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then 7331 echo $ECHO_N "(cached) $ECHO_C" >&6 7332 else 7333 lt_cv_prog_compiler_rtti_exceptions=no 7334 ac_outfile=conftest.$ac_objext 7335 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7336 lt_compiler_flag="-fno-rtti -fno-exceptions" 7337 # Insert the option either (1) after the last *FLAGS variable, or 7338 # (2) before a word containing "conftest.", or (3) at the end. 7339 # Note that $ac_compile itself does not contain backslashes and begins 7340 # with a dollar sign (not a hyphen), so the echo should work correctly. 7341 # The option is referenced via a variable to avoid confusing sed. 7342 lt_compile=`echo "$ac_compile" | $SED \ 7343 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7344 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7345 -e 's:$: $lt_compiler_flag:'` 7346 (eval echo "\"\$as_me:7346: $lt_compile\"" >&5) 7347 (eval "$lt_compile" 2>conftest.err) 7348 ac_status=$? 7349 cat conftest.err >&5 7350 echo "$as_me:7350: \$? = $ac_status" >&5 7351 if (exit $ac_status) && test -s "$ac_outfile"; then 7352 # The compiler can only warn and ignore the option if not recognized 7353 # So say no if there are warnings other than the usual output. 7354 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 7355 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7356 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 7357 lt_cv_prog_compiler_rtti_exceptions=yes 7358 fi 7359 fi 7360 $RM conftest* 7361 7362 fi 7363 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 7364 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } 7365 7366 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 7367 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 7368 else 7369 : 7370 fi 7371 7372 fi 7373 7374 7375 7376 7377 7378 7379 lt_prog_compiler_wl= 7380 lt_prog_compiler_pic= 7381 lt_prog_compiler_static= 7382 7383 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 7384 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } 7385 7386 if test "$GCC" = yes; then 7387 lt_prog_compiler_wl='-Wl,' 7388 lt_prog_compiler_static='-static' 7389 7390 case $host_os in 7391 aix*) 7392 # All AIX code is PIC. 7393 if test "$host_cpu" = ia64; then 7394 # AIX 5 now supports IA64 processor 7395 lt_prog_compiler_static='-Bstatic' 7396 fi 7397 ;; 7398 7399 amigaos*) 7400 case $host_cpu in 7401 powerpc) 7402 # see comment about AmigaOS4 .so support 7403 lt_prog_compiler_pic='-fPIC' 7404 ;; 7405 m68k) 7406 # FIXME: we need at least 68020 code to build shared libraries, but 7407 # adding the `-m68020' flag to GCC prevents building anything better, 7408 # like `-m68040'. 7409 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 7410 ;; 7411 esac 7412 ;; 7413 7414 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 7415 # PIC is the default for these OSes. 7416 ;; 7417 7418 mingw* | cygwin* | pw32* | os2* | cegcc*) 7419 # This hack is so that the source file can tell whether it is being 7420 # built for inclusion in a dll (and should export symbols for example). 7421 # Although the cygwin gcc ignores -fPIC, still need this for old-style 7422 # (--disable-auto-import) libraries 7423 lt_prog_compiler_pic='-DDLL_EXPORT' 7424 ;; 7425 7426 darwin* | rhapsody*) 7427 # PIC is the default on this platform 7428 # Common symbols not allowed in MH_DYLIB files 7429 lt_prog_compiler_pic='-fno-common' 7430 ;; 7431 7432 hpux*) 7433 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 7434 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 7435 # sets the default TLS model and affects inlining. 7436 case $host_cpu in 7437 hppa*64*) 7438 # +Z the default 7439 ;; 7440 *) 7441 lt_prog_compiler_pic='-fPIC' 7442 ;; 7443 esac 7444 ;; 7445 7446 interix[3-9]*) 7447 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 7448 # Instead, we relocate shared libraries at runtime. 7449 ;; 7450 7451 msdosdjgpp*) 7452 # Just because we use GCC doesn't mean we suddenly get shared libraries 7453 # on systems that don't support them. 7454 lt_prog_compiler_can_build_shared=no 7455 enable_shared=no 7456 ;; 7457 7458 *nto* | *qnx*) 7459 # QNX uses GNU C++, but need to define -shared option too, otherwise 7460 # it will coredump. 7461 lt_prog_compiler_pic='-fPIC -shared' 7462 ;; 7463 7464 sysv4*MP*) 7465 if test -d /usr/nec; then 7466 lt_prog_compiler_pic=-Kconform_pic 7467 fi 7468 ;; 7469 7470 *) 7471 lt_prog_compiler_pic='-fPIC' 7472 ;; 7473 esac 7474 else 7475 # PORTME Check for flag to pass linker flags through the system compiler. 7476 case $host_os in 7477 aix*) 7478 lt_prog_compiler_wl='-Wl,' 7479 if test "$host_cpu" = ia64; then 7480 # AIX 5 now supports IA64 processor 7481 lt_prog_compiler_static='-Bstatic' 7482 else 7483 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 7484 fi 7485 ;; 7486 7487 mingw* | cygwin* | pw32* | os2* | cegcc*) 7488 # This hack is so that the source file can tell whether it is being 7489 # built for inclusion in a dll (and should export symbols for example). 7490 lt_prog_compiler_pic='-DDLL_EXPORT' 7491 ;; 7492 7493 hpux9* | hpux10* | hpux11*) 7494 lt_prog_compiler_wl='-Wl,' 7495 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 7496 # not for PA HP-UX. 7497 case $host_cpu in 7498 hppa*64*|ia64*) 7499 # +Z the default 7500 ;; 7501 *) 7502 lt_prog_compiler_pic='+Z' 7503 ;; 7504 esac 7505 # Is there a better lt_prog_compiler_static that works with the bundled CC? 7506 lt_prog_compiler_static='${wl}-a ${wl}archive' 7507 ;; 7508 7509 irix5* | irix6* | nonstopux*) 7510 lt_prog_compiler_wl='-Wl,' 7511 # PIC (with -KPIC) is the default. 7512 lt_prog_compiler_static='-non_shared' 7513 ;; 7514 7515 linux* | k*bsd*-gnu) 7516 case $cc_basename in 7517 # old Intel for x86_64 which still supported -KPIC. 7518 ecc*) 7519 lt_prog_compiler_wl='-Wl,' 7520 lt_prog_compiler_pic='-KPIC' 7521 lt_prog_compiler_static='-static' 7522 ;; 7523 # icc used to be incompatible with GCC. 7524 # ICC 10 doesn't accept -KPIC any more. 7525 icc* | ifort*) 7526 lt_prog_compiler_wl='-Wl,' 7527 lt_prog_compiler_pic='-fPIC' 7528 lt_prog_compiler_static='-static' 7529 ;; 7530 # Lahey Fortran 8.1. 7531 lf95*) 7532 lt_prog_compiler_wl='-Wl,' 7533 lt_prog_compiler_pic='--shared' 7534 lt_prog_compiler_static='--static' 7535 ;; 7536 pgcc* | pgf77* | pgf90* | pgf95*) 7537 # Portland Group compilers (*not* the Pentium gcc compiler, 7538 # which looks to be a dead project) 7539 lt_prog_compiler_wl='-Wl,' 7540 lt_prog_compiler_pic='-fpic' 7541 lt_prog_compiler_static='-Bstatic' 7542 ;; 7543 ccc*) 7544 lt_prog_compiler_wl='-Wl,' 7545 # All Alpha code is PIC. 7546 lt_prog_compiler_static='-non_shared' 7547 ;; 7548 xl*) 7549 # IBM XL C 8.0/Fortran 10.1 on PPC 7550 lt_prog_compiler_wl='-Wl,' 7551 lt_prog_compiler_pic='-qpic' 7552 lt_prog_compiler_static='-qstaticlink' 7553 ;; 7554 *) 7555 case `$CC -V 2>&1 | sed 5q` in 7556 *Sun\ C*) 7557 # Sun C 5.9 7558 lt_prog_compiler_pic='-KPIC' 7559 lt_prog_compiler_static='-Bstatic' 7560 lt_prog_compiler_wl='-Wl,' 7561 ;; 7562 *Sun\ F*) 7563 # Sun Fortran 8.3 passes all unrecognized flags to the linker 7564 lt_prog_compiler_pic='-KPIC' 7565 lt_prog_compiler_static='-Bstatic' 7566 lt_prog_compiler_wl='' 7567 ;; 7568 esac 7569 ;; 7570 esac 7571 ;; 7572 7573 newsos6) 7574 lt_prog_compiler_pic='-KPIC' 7575 lt_prog_compiler_static='-Bstatic' 7576 ;; 7577 7578 *nto* | *qnx*) 7579 # QNX uses GNU C++, but need to define -shared option too, otherwise 7580 # it will coredump. 7581 lt_prog_compiler_pic='-fPIC -shared' 7582 ;; 7583 7584 osf3* | osf4* | osf5*) 7585 lt_prog_compiler_wl='-Wl,' 7586 # All OSF/1 code is PIC. 7587 lt_prog_compiler_static='-non_shared' 7588 ;; 7589 7590 rdos*) 7591 lt_prog_compiler_static='-non_shared' 7592 ;; 7593 7594 solaris*) 7595 lt_prog_compiler_pic='-KPIC' 7596 lt_prog_compiler_static='-Bstatic' 7597 case $cc_basename in 7598 f77* | f90* | f95*) 7599 lt_prog_compiler_wl='-Qoption ld ';; 7600 *) 7601 lt_prog_compiler_wl='-Wl,';; 7602 esac 7603 ;; 7604 7605 sunos4*) 7606 lt_prog_compiler_wl='-Qoption ld ' 7607 lt_prog_compiler_pic='-PIC' 7608 lt_prog_compiler_static='-Bstatic' 7609 ;; 7610 7611 sysv4 | sysv4.2uw2* | sysv4.3*) 7612 lt_prog_compiler_wl='-Wl,' 7613 lt_prog_compiler_pic='-KPIC' 7614 lt_prog_compiler_static='-Bstatic' 7615 ;; 7616 7617 sysv4*MP*) 7618 if test -d /usr/nec ;then 7619 lt_prog_compiler_pic='-Kconform_pic' 7620 lt_prog_compiler_static='-Bstatic' 7621 fi 7622 ;; 7623 7624 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 7625 lt_prog_compiler_wl='-Wl,' 7626 lt_prog_compiler_pic='-KPIC' 7627 lt_prog_compiler_static='-Bstatic' 7628 ;; 7629 7630 unicos*) 7631 lt_prog_compiler_wl='-Wl,' 7632 lt_prog_compiler_can_build_shared=no 7633 ;; 7634 7635 uts4*) 7636 lt_prog_compiler_pic='-pic' 7637 lt_prog_compiler_static='-Bstatic' 7638 ;; 7639 7640 *) 7641 lt_prog_compiler_can_build_shared=no 7642 ;; 7643 esac 7644 fi 7645 7646 case $host_os in 7647 # For platforms which do not support PIC, -DPIC is meaningless: 7648 *djgpp*) 7649 lt_prog_compiler_pic= 7650 ;; 7651 *) 7652 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 7653 ;; 7654 esac 7655 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 7656 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; } 7657 7658 7659 7660 7661 7662 7663 # 7664 # Check to make sure the PIC flag actually works. 7665 # 7666 if test -n "$lt_prog_compiler_pic"; then 7667 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 7668 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; } 7669 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then 7670 echo $ECHO_N "(cached) $ECHO_C" >&6 7671 else 7672 lt_cv_prog_compiler_pic_works=no 7673 ac_outfile=conftest.$ac_objext 7674 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7675 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 7676 # Insert the option either (1) after the last *FLAGS variable, or 7677 # (2) before a word containing "conftest.", or (3) at the end. 7678 # Note that $ac_compile itself does not contain backslashes and begins 7679 # with a dollar sign (not a hyphen), so the echo should work correctly. 7680 # The option is referenced via a variable to avoid confusing sed. 7681 lt_compile=`echo "$ac_compile" | $SED \ 7682 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7683 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7684 -e 's:$: $lt_compiler_flag:'` 7685 (eval echo "\"\$as_me:7685: $lt_compile\"" >&5) 7686 (eval "$lt_compile" 2>conftest.err) 7687 ac_status=$? 7688 cat conftest.err >&5 7689 echo "$as_me:7689: \$? = $ac_status" >&5 7690 if (exit $ac_status) && test -s "$ac_outfile"; then 7691 # The compiler can only warn and ignore the option if not recognized 7692 # So say no if there are warnings other than the usual output. 7693 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 7694 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7695 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 7696 lt_cv_prog_compiler_pic_works=yes 7697 fi 7698 fi 7699 $RM conftest* 7700 7701 fi 7702 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 7703 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; } 7704 7705 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 7706 case $lt_prog_compiler_pic in 7707 "" | " "*) ;; 7708 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 7709 esac 7710 else 7711 lt_prog_compiler_pic= 7712 lt_prog_compiler_can_build_shared=no 7713 fi 7714 7715 fi 7716 7717 7718 7719 7720 7721 7722 # 7723 # Check to make sure the static flag actually works. 7724 # 7725 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 7726 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 7727 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } 7728 if test "${lt_cv_prog_compiler_static_works+set}" = set; then 7729 echo $ECHO_N "(cached) $ECHO_C" >&6 7730 else 7731 lt_cv_prog_compiler_static_works=no 7732 save_LDFLAGS="$LDFLAGS" 7733 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 7734 echo "$lt_simple_link_test_code" > conftest.$ac_ext 7735 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 7736 # The linker can only warn and ignore the option if not recognized 7737 # So say no if there are warnings 7738 if test -s conftest.err; then 7739 # Append any errors to the config.log. 7740 cat conftest.err 1>&5 7741 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 7742 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7743 if diff conftest.exp conftest.er2 >/dev/null; then 7744 lt_cv_prog_compiler_static_works=yes 7745 fi 7746 else 7747 lt_cv_prog_compiler_static_works=yes 7748 fi 7749 fi 7750 $RM -r conftest* 7751 LDFLAGS="$save_LDFLAGS" 7752 7753 fi 7754 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 7755 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; } 7756 7757 if test x"$lt_cv_prog_compiler_static_works" = xyes; then 7758 : 7759 else 7760 lt_prog_compiler_static= 7761 fi 7762 7763 7764 7765 7766 7767 7768 7769 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 7770 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } 7771 if test "${lt_cv_prog_compiler_c_o+set}" = set; then 7772 echo $ECHO_N "(cached) $ECHO_C" >&6 7773 else 7774 lt_cv_prog_compiler_c_o=no 7775 $RM -r conftest 2>/dev/null 7776 mkdir conftest 7777 cd conftest 7778 mkdir out 7779 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7780 7781 lt_compiler_flag="-o out/conftest2.$ac_objext" 7782 # Insert the option either (1) after the last *FLAGS variable, or 7783 # (2) before a word containing "conftest.", or (3) at the end. 7784 # Note that $ac_compile itself does not contain backslashes and begins 7785 # with a dollar sign (not a hyphen), so the echo should work correctly. 7786 lt_compile=`echo "$ac_compile" | $SED \ 7787 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7788 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7789 -e 's:$: $lt_compiler_flag:'` 7790 (eval echo "\"\$as_me:7790: $lt_compile\"" >&5) 7791 (eval "$lt_compile" 2>out/conftest.err) 7792 ac_status=$? 7793 cat out/conftest.err >&5 7794 echo "$as_me:7794: \$? = $ac_status" >&5 7795 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7796 then 7797 # The compiler can only warn and ignore the option if not recognized 7798 # So say no if there are warnings 7799 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 7800 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 7801 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 7802 lt_cv_prog_compiler_c_o=yes 7803 fi 7804 fi 7805 chmod u+w . 2>&5 7806 $RM conftest* 7807 # SGI C++ compiler will create directory out/ii_files/ for 7808 # template instantiation 7809 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 7810 $RM out/* && rmdir out 7811 cd .. 7812 $RM -r conftest 7813 $RM conftest* 7814 7815 fi 7816 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 7817 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; } 7818 7819 7820 7821 7822 7823 7824 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 7825 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } 7826 if test "${lt_cv_prog_compiler_c_o+set}" = set; then 7827 echo $ECHO_N "(cached) $ECHO_C" >&6 7828 else 7829 lt_cv_prog_compiler_c_o=no 7830 $RM -r conftest 2>/dev/null 7831 mkdir conftest 7832 cd conftest 7833 mkdir out 7834 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7835 7836 lt_compiler_flag="-o out/conftest2.$ac_objext" 7837 # Insert the option either (1) after the last *FLAGS variable, or 7838 # (2) before a word containing "conftest.", or (3) at the end. 7839 # Note that $ac_compile itself does not contain backslashes and begins 7840 # with a dollar sign (not a hyphen), so the echo should work correctly. 7841 lt_compile=`echo "$ac_compile" | $SED \ 7842 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7843 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7844 -e 's:$: $lt_compiler_flag:'` 7845 (eval echo "\"\$as_me:7845: $lt_compile\"" >&5) 7846 (eval "$lt_compile" 2>out/conftest.err) 7847 ac_status=$? 7848 cat out/conftest.err >&5 7849 echo "$as_me:7849: \$? = $ac_status" >&5 7850 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7851 then 7852 # The compiler can only warn and ignore the option if not recognized 7853 # So say no if there are warnings 7854 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 7855 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 7856 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 7857 lt_cv_prog_compiler_c_o=yes 7858 fi 7859 fi 7860 chmod u+w . 2>&5 7861 $RM conftest* 7862 # SGI C++ compiler will create directory out/ii_files/ for 7863 # template instantiation 7864 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 7865 $RM out/* && rmdir out 7866 cd .. 7867 $RM -r conftest 7868 $RM conftest* 7869 7870 fi 7871 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 7872 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; } 7873 7874 7875 7876 7877 hard_links="nottested" 7878 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 7879 # do not overwrite the value of need_locks provided by the user 7880 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 7881 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } 7882 hard_links=yes 7883 $RM conftest* 7884 ln conftest.a conftest.b 2>/dev/null && hard_links=no 7885 touch conftest.a 7886 ln conftest.a conftest.b 2>&5 || hard_links=no 7887 ln conftest.a conftest.b 2>/dev/null && hard_links=no 7888 { echo "$as_me:$LINENO: result: $hard_links" >&5 7889 echo "${ECHO_T}$hard_links" >&6; } 7890 if test "$hard_links" = no; then 7891 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 7892 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 7893 need_locks=warn 7894 fi 7895 else 7896 need_locks=no 7897 fi 7898 7899 7900 7901 7902 7903 7904 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 7905 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } 7906 7907 runpath_var= 7908 allow_undefined_flag= 7909 always_export_symbols=no 7910 archive_cmds= 7911 archive_expsym_cmds= 7912 compiler_needs_object=no 7913 enable_shared_with_static_runtimes=no 7914 export_dynamic_flag_spec= 7915 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 7916 hardcode_automatic=no 7917 hardcode_direct=no 7918 hardcode_direct_absolute=no 7919 hardcode_libdir_flag_spec= 7920 hardcode_libdir_flag_spec_ld= 7921 hardcode_libdir_separator= 7922 hardcode_minus_L=no 7923 hardcode_shlibpath_var=unsupported 7924 inherit_rpath=no 7925 link_all_deplibs=unknown 7926 module_cmds= 7927 module_expsym_cmds= 7928 old_archive_from_new_cmds= 7929 old_archive_from_expsyms_cmds= 7930 thread_safe_flag_spec= 7931 whole_archive_flag_spec= 7932 # include_expsyms should be a list of space-separated symbols to be *always* 7933 # included in the symbol list 7934 include_expsyms= 7935 # exclude_expsyms can be an extended regexp of symbols to exclude 7936 # it will be wrapped by ` (' and `)$', so one must not match beginning or 7937 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 7938 # as well as any symbol that contains `d'. 7939 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 7940 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 7941 # platforms (ab)use it in PIC code, but their linkers get confused if 7942 # the symbol is explicitly referenced. Since portable code cannot 7943 # rely on this symbol name, it's probably fine to never include it in 7944 # preloaded symbol tables. 7945 # Exclude shared library initialization/finalization symbols. 7946 extract_expsyms_cmds= 7947 7948 case $host_os in 7949 cygwin* | mingw* | pw32* | cegcc*) 7950 # FIXME: the MSVC++ port hasn't been tested in a loooong time 7951 # When not using gcc, we currently assume that we are using 7952 # Microsoft Visual C++. 7953 if test "$GCC" != yes; then 7954 with_gnu_ld=no 7955 fi 7956 ;; 7957 interix*) 7958 # we just hope/assume this is gcc and not c89 (= MSVC++) 7959 with_gnu_ld=yes 7960 ;; 7961 openbsd*) 7962 with_gnu_ld=no 7963 ;; 7964 linux* | k*bsd*-gnu) 7965 link_all_deplibs=no 7966 ;; 7967 esac 7968 7969 ld_shlibs=yes 7970 if test "$with_gnu_ld" = yes; then 7971 # If archive_cmds runs LD, not CC, wlarc should be empty 7972 wlarc='${wl}' 7973 7974 # Set some defaults for GNU ld with shared library support. These 7975 # are reset later if shared libraries are not supported. Putting them 7976 # here allows them to be overridden if necessary. 7977 runpath_var=LD_RUN_PATH 7978 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 7979 export_dynamic_flag_spec='${wl}--export-dynamic' 7980 # ancient GNU ld didn't support --whole-archive et. al. 7981 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 7982 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 7983 else 7984 whole_archive_flag_spec= 7985 fi 7986 supports_anon_versioning=no 7987 case `$LD -v 2>&1` in 7988 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 7989 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 7990 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 7991 *\ 2.11.*) ;; # other 2.11 versions 7992 *) supports_anon_versioning=yes ;; 7993 esac 7994 7995 # See if GNU ld supports shared libraries. 7996 case $host_os in 7997 aix[3-9]*) 7998 # On AIX/PPC, the GNU linker is very broken 7999 if test "$host_cpu" != ia64; then 8000 ld_shlibs=no 8001 cat <<_LT_EOF 1>&2 8002 8003 *** Warning: the GNU linker, at least up to release 2.9.1, is reported 8004 *** to be unable to reliably create shared libraries on AIX. 8005 *** Therefore, libtool is disabling shared libraries support. If you 8006 *** really care for shared libraries, you may want to modify your PATH 8007 *** so that a non-GNU linker is found, and then restart. 8008 8009 _LT_EOF 8010 fi 8011 ;; 8012 8013 amigaos*) 8014 case $host_cpu in 8015 powerpc) 8016 # see comment about AmigaOS4 .so support 8017 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8018 archive_expsym_cmds='' 8019 ;; 8020 m68k) 8021 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 8022 hardcode_libdir_flag_spec='-L$libdir' 8023 hardcode_minus_L=yes 8024 ;; 8025 esac 8026 ;; 8027 8028 beos*) 8029 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8030 allow_undefined_flag=unsupported 8031 # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc 8032 # support --undefined. This deserves some investigation. FIXME 8033 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8034 else 8035 ld_shlibs=no 8036 fi 8037 ;; 8038 8039 cygwin* | mingw* | pw32* | cegcc*) 8040 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8041 # as there is no search path for DLLs. 8042 hardcode_libdir_flag_spec='-L$libdir' 8043 allow_undefined_flag=unsupported 8044 always_export_symbols=no 8045 enable_shared_with_static_runtimes=yes 8046 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 8047 8048 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 8049 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8050 # If the export-symbols file already is a .def file (1st line 8051 # is EXPORTS), use it as is; otherwise, prepend... 8052 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 8053 cp $export_symbols $output_objdir/$soname.def; 8054 else 8055 echo EXPORTS > $output_objdir/$soname.def; 8056 cat $export_symbols >> $output_objdir/$soname.def; 8057 fi~ 8058 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8059 else 8060 ld_shlibs=no 8061 fi 8062 ;; 8063 8064 interix[3-9]*) 8065 hardcode_direct=no 8066 hardcode_shlibpath_var=no 8067 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8068 export_dynamic_flag_spec='${wl}-E' 8069 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 8070 # Instead, shared libraries are loaded at an image base (0x10000000 by 8071 # default) and relocated if they conflict, which is a slow very memory 8072 # consuming and fragmenting process. To avoid this, we pick a random, 8073 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 8074 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8075 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8076 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8077 ;; 8078 8079 gnu* | linux* | tpf* | k*bsd*-gnu) 8080 tmp_diet=no 8081 if test "$host_os" = linux-dietlibc; then 8082 case $cc_basename in 8083 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 8084 esac 8085 fi 8086 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 8087 && test "$tmp_diet" = no 8088 then 8089 tmp_addflag= 8090 tmp_sharedflag='-shared' 8091 case $cc_basename,$host_cpu in 8092 pgcc*) # Portland Group C compiler 8093 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' 8094 tmp_addflag=' $pic_flag' 8095 ;; 8096 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 8097 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' 8098 tmp_addflag=' $pic_flag -Mnomain' ;; 8099 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 8100 tmp_addflag=' -i_dynamic' ;; 8101 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 8102 tmp_addflag=' -i_dynamic -nofor_main' ;; 8103 ifc* | ifort*) # Intel Fortran compiler 8104 tmp_addflag=' -nofor_main' ;; 8105 lf95*) # Lahey Fortran 8.1 8106 whole_archive_flag_spec= 8107 tmp_sharedflag='--shared' ;; 8108 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 8109 tmp_sharedflag='-qmkshrobj' 8110 tmp_addflag= ;; 8111 esac 8112 case `$CC -V 2>&1 | sed 5q` in 8113 *Sun\ C*) # Sun C 5.9 8114 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' 8115 compiler_needs_object=yes 8116 tmp_sharedflag='-G' ;; 8117 *Sun\ F*) # Sun Fortran 8.3 8118 tmp_sharedflag='-G' ;; 8119 esac 8120 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8121 8122 if test "x$supports_anon_versioning" = xyes; then 8123 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8124 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8125 echo "local: *; };" >> $output_objdir/$libname.ver~ 8126 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 8127 fi 8128 8129 case $cc_basename in 8130 xlf*) 8131 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 8132 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 8133 hardcode_libdir_flag_spec= 8134 hardcode_libdir_flag_spec_ld='-rpath $libdir' 8135 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' 8136 if test "x$supports_anon_versioning" = xyes; then 8137 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8138 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8139 echo "local: *; };" >> $output_objdir/$libname.ver~ 8140 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 8141 fi 8142 ;; 8143 esac 8144 else 8145 ld_shlibs=no 8146 fi 8147 ;; 8148 8149 netbsd* | netbsdelf*-gnu) 8150 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 8151 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 8152 wlarc= 8153 else 8154 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8155 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8156 fi 8157 ;; 8158 8159 solaris*) 8160 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 8161 ld_shlibs=no 8162 cat <<_LT_EOF 1>&2 8163 8164 *** Warning: The releases 2.8.* of the GNU linker cannot reliably 8165 *** create shared libraries on Solaris systems. Therefore, libtool 8166 *** is disabling shared libraries support. We urge you to upgrade GNU 8167 *** binutils to release 2.9.1 or newer. Another option is to modify 8168 *** your PATH or compiler configuration so that the native linker is 8169 *** used, and then restart. 8170 8171 _LT_EOF 8172 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8173 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8174 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8175 else 8176 ld_shlibs=no 8177 fi 8178 ;; 8179 8180 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 8181 case `$LD -v 2>&1` in 8182 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 8183 ld_shlibs=no 8184 cat <<_LT_EOF 1>&2 8185 8186 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 8187 *** reliably create shared libraries on SCO systems. Therefore, libtool 8188 *** is disabling shared libraries support. We urge you to upgrade GNU 8189 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify 8190 *** your PATH or compiler configuration so that the native linker is 8191 *** used, and then restart. 8192 8193 _LT_EOF 8194 ;; 8195 *) 8196 # For security reasons, it is highly recommended that you always 8197 # use absolute paths for naming shared libraries, and exclude the 8198 # DT_RUNPATH tag from executables and libraries. But doing so 8199 # requires that you compile everything twice, which is a pain. 8200 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8201 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8202 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8203 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8204 else 8205 ld_shlibs=no 8206 fi 8207 ;; 8208 esac 8209 ;; 8210 8211 sunos4*) 8212 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8213 wlarc= 8214 hardcode_direct=yes 8215 hardcode_shlibpath_var=no 8216 ;; 8217 8218 *) 8219 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8220 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8221 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8222 else 8223 ld_shlibs=no 8224 fi 8225 ;; 8226 esac 8227 8228 if test "$ld_shlibs" = no; then 8229 runpath_var= 8230 hardcode_libdir_flag_spec= 8231 export_dynamic_flag_spec= 8232 whole_archive_flag_spec= 8233 fi 8234 else 8235 # PORTME fill in a description of your system's linker (not GNU ld) 8236 case $host_os in 8237 aix3*) 8238 allow_undefined_flag=unsupported 8239 always_export_symbols=yes 8240 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' 8241 # Note: this linker hardcodes the directories in LIBPATH if there 8242 # are no directories specified by -L. 8243 hardcode_minus_L=yes 8244 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 8245 # Neither direct hardcoding nor static linking is supported with a 8246 # broken collect2. 8247 hardcode_direct=unsupported 8248 fi 8249 ;; 8250 8251 aix[4-9]*) 8252 if test "$host_cpu" = ia64; then 8253 # On IA64, the linker does run time linking by default, so we don't 8254 # have to do anything special. 8255 aix_use_runtimelinking=no 8256 exp_sym_flag='-Bexport' 8257 no_entry_flag="" 8258 else 8259 # If we're using GNU nm, then we don't want the "-C" option. 8260 # -C means demangle to AIX nm, but means don't demangle with GNU nm 8261 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 8262 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 8263 else 8264 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 8265 fi 8266 aix_use_runtimelinking=no 8267 8268 # Test if we are trying to use run time linking or normal 8269 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 8270 # need to do runtime linking. 8271 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 8272 for ld_flag in $LDFLAGS; do 8273 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 8274 aix_use_runtimelinking=yes 8275 break 8276 fi 8277 done 8278 ;; 8279 esac 8280 8281 exp_sym_flag='-bexport' 8282 no_entry_flag='-bnoentry' 8283 fi 8284 8285 # When large executables or shared objects are built, AIX ld can 8286 # have problems creating the table of contents. If linking a library 8287 # or program results in "error TOC overflow" add -mminimal-toc to 8288 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 8289 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 8290 8291 archive_cmds='' 8292 hardcode_direct=yes 8293 hardcode_direct_absolute=yes 8294 hardcode_libdir_separator=':' 8295 link_all_deplibs=yes 8296 file_list_spec='${wl}-f,' 8297 8298 if test "$GCC" = yes; then 8299 case $host_os in aix4.[012]|aix4.[012].*) 8300 # We only want to do this on AIX 4.2 and lower, the check 8301 # below for broken collect2 doesn't work under 4.3+ 8302 collect2name=`${CC} -print-prog-name=collect2` 8303 if test -f "$collect2name" && 8304 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 8305 then 8306 # We have reworked collect2 8307 : 8308 else 8309 # We have old collect2 8310 hardcode_direct=unsupported 8311 # It fails to find uninstalled libraries when the uninstalled 8312 # path is not listed in the libpath. Setting hardcode_minus_L 8313 # to unsupported forces relinking 8314 hardcode_minus_L=yes 8315 hardcode_libdir_flag_spec='-L$libdir' 8316 hardcode_libdir_separator= 8317 fi 8318 ;; 8319 esac 8320 shared_flag='-shared' 8321 if test "$aix_use_runtimelinking" = yes; then 8322 shared_flag="$shared_flag "'${wl}-G' 8323 fi 8324 link_all_deplibs=no 8325 else 8326 # not using gcc 8327 if test "$host_cpu" = ia64; then 8328 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 8329 # chokes on -Wl,-G. The following line is correct: 8330 shared_flag='-G' 8331 else 8332 if test "$aix_use_runtimelinking" = yes; then 8333 shared_flag='${wl}-G' 8334 else 8335 shared_flag='${wl}-bM:SRE' 8336 fi 8337 fi 8338 fi 8339 8340 export_dynamic_flag_spec='${wl}-bexpall' 8341 # It seems that -bexpall does not export symbols beginning with 8342 # underscore (_), so it is better to generate a list of symbols to export. 8343 always_export_symbols=yes 8344 if test "$aix_use_runtimelinking" = yes; then 8345 # Warning - without using the other runtime loading flags (-brtl), 8346 # -berok will link without error, but may produce a broken library. 8347 allow_undefined_flag='-berok' 8348 # Determine the default libpath from the value encoded in an 8349 # empty executable. 8350 cat >conftest.$ac_ext <<_ACEOF 8351 /* confdefs.h. */ 8352 _ACEOF 8353 cat confdefs.h >>conftest.$ac_ext 8354 cat >>conftest.$ac_ext <<_ACEOF 8355 /* end confdefs.h. */ 8356 8357 int 8358 main () 8359 { 8360 8361 ; 8362 return 0; 8363 } 8364 _ACEOF 8365 rm -f conftest.$ac_objext conftest$ac_exeext 8366 if { (ac_try="$ac_link" 8367 case "(($ac_try" in 8368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8369 *) ac_try_echo=$ac_try;; 8370 esac 8371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8372 (eval "$ac_link") 2>conftest.er1 8373 ac_status=$? 8374 grep -v '^ *+' conftest.er1 >conftest.err 8375 rm -f conftest.er1 8376 cat conftest.err >&5 8377 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8378 (exit $ac_status); } && { 8379 test -z "$ac_c_werror_flag" || 8380 test ! -s conftest.err 8381 } && test -s conftest$ac_exeext && 8382 $as_test_x conftest$ac_exeext; then 8383 8384 lt_aix_libpath_sed=' 8385 /Import File Strings/,/^$/ { 8386 /^0/ { 8387 s/^0 *\(.*\)$/\1/ 8388 p 8389 } 8390 }' 8391 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8392 # Check for a 64-bit object if we didn't find anything. 8393 if test -z "$aix_libpath"; then 8394 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8395 fi 8396 else 8397 echo "$as_me: failed program was:" >&5 8398 sed 's/^/| /' conftest.$ac_ext >&5 8399 8400 8401 fi 8402 8403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8404 conftest$ac_exeext conftest.$ac_ext 8405 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8406 8407 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8408 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 8409 else 8410 if test "$host_cpu" = ia64; then 8411 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 8412 allow_undefined_flag="-z nodefs" 8413 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" 8414 else 8415 # Determine the default libpath from the value encoded in an 8416 # empty executable. 8417 cat >conftest.$ac_ext <<_ACEOF 8418 /* confdefs.h. */ 8419 _ACEOF 8420 cat confdefs.h >>conftest.$ac_ext 8421 cat >>conftest.$ac_ext <<_ACEOF 8422 /* end confdefs.h. */ 8423 8424 int 8425 main () 8426 { 8427 8428 ; 8429 return 0; 8430 } 8431 _ACEOF 8432 rm -f conftest.$ac_objext conftest$ac_exeext 8433 if { (ac_try="$ac_link" 8434 case "(($ac_try" in 8435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8436 *) ac_try_echo=$ac_try;; 8437 esac 8438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8439 (eval "$ac_link") 2>conftest.er1 8440 ac_status=$? 8441 grep -v '^ *+' conftest.er1 >conftest.err 8442 rm -f conftest.er1 8443 cat conftest.err >&5 8444 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8445 (exit $ac_status); } && { 8446 test -z "$ac_c_werror_flag" || 8447 test ! -s conftest.err 8448 } && test -s conftest$ac_exeext && 8449 $as_test_x conftest$ac_exeext; then 8450 8451 lt_aix_libpath_sed=' 8452 /Import File Strings/,/^$/ { 8453 /^0/ { 8454 s/^0 *\(.*\)$/\1/ 8455 p 8456 } 8457 }' 8458 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8459 # Check for a 64-bit object if we didn't find anything. 8460 if test -z "$aix_libpath"; then 8461 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8462 fi 8463 else 8464 echo "$as_me: failed program was:" >&5 8465 sed 's/^/| /' conftest.$ac_ext >&5 8466 8467 8468 fi 8469 8470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8471 conftest$ac_exeext conftest.$ac_ext 8472 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8473 8474 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8475 # Warning - without using the other run time loading flags, 8476 # -berok will link without error, but may produce a broken library. 8477 no_undefined_flag=' ${wl}-bernotok' 8478 allow_undefined_flag=' ${wl}-berok' 8479 # Exported symbols can be pulled into shared objects from archives 8480 whole_archive_flag_spec='$convenience' 8481 archive_cmds_need_lc=yes 8482 # This is similar to how AIX traditionally builds its shared libraries. 8483 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 8484 fi 8485 fi 8486 ;; 8487 8488 amigaos*) 8489 case $host_cpu in 8490 powerpc) 8491 # see comment about AmigaOS4 .so support 8492 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8493 archive_expsym_cmds='' 8494 ;; 8495 m68k) 8496 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 8497 hardcode_libdir_flag_spec='-L$libdir' 8498 hardcode_minus_L=yes 8499 ;; 8500 esac 8501 ;; 8502 8503 bsdi[45]*) 8504 export_dynamic_flag_spec=-rdynamic 8505 ;; 8506 8507 cygwin* | mingw* | pw32* | cegcc*) 8508 # When not using gcc, we currently assume that we are using 8509 # Microsoft Visual C++. 8510 # hardcode_libdir_flag_spec is actually meaningless, as there is 8511 # no search path for DLLs. 8512 hardcode_libdir_flag_spec=' ' 8513 allow_undefined_flag=unsupported 8514 # Tell ltmain to make .lib files, not .a files. 8515 libext=lib 8516 # Tell ltmain to make .dll files, not .so files. 8517 shrext_cmds=".dll" 8518 # FIXME: Setting linknames here is a bad hack. 8519 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' 8520 # The linker will automatically build a .lib file if we build a DLL. 8521 old_archive_from_new_cmds='true' 8522 # FIXME: Should let the user specify the lib program. 8523 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 8524 fix_srcfile_path='`cygpath -w "$srcfile"`' 8525 enable_shared_with_static_runtimes=yes 8526 ;; 8527 8528 darwin* | rhapsody*) 8529 8530 8531 archive_cmds_need_lc=no 8532 hardcode_direct=no 8533 hardcode_automatic=yes 8534 hardcode_shlibpath_var=unsupported 8535 whole_archive_flag_spec='' 8536 link_all_deplibs=yes 8537 allow_undefined_flag="$_lt_dar_allow_undefined" 8538 case $cc_basename in 8539 ifort*) _lt_dar_can_shared=yes ;; 8540 *) _lt_dar_can_shared=$GCC ;; 8541 esac 8542 if test "$_lt_dar_can_shared" = "yes"; then 8543 output_verbose_link_cmd=echo 8544 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 8545 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 8546 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" 8547 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" 8548 8549 else 8550 ld_shlibs=no 8551 fi 8552 8553 ;; 8554 8555 dgux*) 8556 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8557 hardcode_libdir_flag_spec='-L$libdir' 8558 hardcode_shlibpath_var=no 8559 ;; 8560 8561 freebsd1*) 8562 ld_shlibs=no 8563 ;; 8564 8565 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 8566 # support. Future versions do this automatically, but an explicit c++rt0.o 8567 # does not break anything, and helps significantly (at the cost of a little 8568 # extra space). 8569 freebsd2.2*) 8570 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 8571 hardcode_libdir_flag_spec='-R$libdir' 8572 hardcode_direct=yes 8573 hardcode_shlibpath_var=no 8574 ;; 8575 8576 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 8577 freebsd2*) 8578 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8579 hardcode_direct=yes 8580 hardcode_minus_L=yes 8581 hardcode_shlibpath_var=no 8582 ;; 8583 8584 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 8585 freebsd* | dragonfly*) 8586 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 8587 hardcode_libdir_flag_spec='-R$libdir' 8588 hardcode_direct=yes 8589 hardcode_shlibpath_var=no 8590 ;; 8591 8592 hpux9*) 8593 if test "$GCC" = yes; then 8594 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 8595 else 8596 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 8597 fi 8598 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 8599 hardcode_libdir_separator=: 8600 hardcode_direct=yes 8601 8602 # hardcode_minus_L: Not really in the search PATH, 8603 # but as the default location of the library. 8604 hardcode_minus_L=yes 8605 export_dynamic_flag_spec='${wl}-E' 8606 ;; 8607 8608 hpux10*) 8609 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 8610 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 8611 else 8612 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 8613 fi 8614 if test "$with_gnu_ld" = no; then 8615 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 8616 hardcode_libdir_flag_spec_ld='+b $libdir' 8617 hardcode_libdir_separator=: 8618 hardcode_direct=yes 8619 hardcode_direct_absolute=yes 8620 export_dynamic_flag_spec='${wl}-E' 8621 # hardcode_minus_L: Not really in the search PATH, 8622 # but as the default location of the library. 8623 hardcode_minus_L=yes 8624 fi 8625 ;; 8626 8627 hpux11*) 8628 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 8629 case $host_cpu in 8630 hppa*64*) 8631 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8632 ;; 8633 ia64*) 8634 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 8635 ;; 8636 *) 8637 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 8638 ;; 8639 esac 8640 else 8641 case $host_cpu in 8642 hppa*64*) 8643 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8644 ;; 8645 ia64*) 8646 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 8647 ;; 8648 *) 8649 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 8650 ;; 8651 esac 8652 fi 8653 if test "$with_gnu_ld" = no; then 8654 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 8655 hardcode_libdir_separator=: 8656 8657 case $host_cpu in 8658 hppa*64*|ia64*) 8659 hardcode_direct=no 8660 hardcode_shlibpath_var=no 8661 ;; 8662 *) 8663 hardcode_direct=yes 8664 hardcode_direct_absolute=yes 8665 export_dynamic_flag_spec='${wl}-E' 8666 8667 # hardcode_minus_L: Not really in the search PATH, 8668 # but as the default location of the library. 8669 hardcode_minus_L=yes 8670 ;; 8671 esac 8672 fi 8673 ;; 8674 8675 irix5* | irix6* | nonstopux*) 8676 if test "$GCC" = yes; then 8677 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 8678 # Try to use the -exported_symbol ld option, if it does not 8679 # work, assume that -exports_file does not work either and 8680 # implicitly export all symbols. 8681 save_LDFLAGS="$LDFLAGS" 8682 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 8683 cat >conftest.$ac_ext <<_ACEOF 8684 int foo(void) {} 8685 _ACEOF 8686 rm -f conftest.$ac_objext conftest$ac_exeext 8687 if { (ac_try="$ac_link" 8688 case "(($ac_try" in 8689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8690 *) ac_try_echo=$ac_try;; 8691 esac 8692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8693 (eval "$ac_link") 2>conftest.er1 8694 ac_status=$? 8695 grep -v '^ *+' conftest.er1 >conftest.err 8696 rm -f conftest.er1 8697 cat conftest.err >&5 8698 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8699 (exit $ac_status); } && { 8700 test -z "$ac_c_werror_flag" || 8701 test ! -s conftest.err 8702 } && test -s conftest$ac_exeext && 8703 $as_test_x conftest$ac_exeext; then 8704 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' 8705 8706 else 8707 echo "$as_me: failed program was:" >&5 8708 sed 's/^/| /' conftest.$ac_ext >&5 8709 8710 8711 fi 8712 8713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8714 conftest$ac_exeext conftest.$ac_ext 8715 LDFLAGS="$save_LDFLAGS" 8716 else 8717 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 8718 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' 8719 fi 8720 archive_cmds_need_lc='no' 8721 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8722 hardcode_libdir_separator=: 8723 inherit_rpath=yes 8724 link_all_deplibs=yes 8725 ;; 8726 8727 netbsd* | netbsdelf*-gnu) 8728 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 8729 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 8730 else 8731 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 8732 fi 8733 hardcode_libdir_flag_spec='-R$libdir' 8734 hardcode_direct=yes 8735 hardcode_shlibpath_var=no 8736 ;; 8737 8738 newsos6) 8739 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8740 hardcode_direct=yes 8741 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8742 hardcode_libdir_separator=: 8743 hardcode_shlibpath_var=no 8744 ;; 8745 8746 *nto* | *qnx*) 8747 ;; 8748 8749 openbsd*) 8750 if test -f /usr/libexec/ld.so; then 8751 hardcode_direct=yes 8752 hardcode_shlibpath_var=no 8753 hardcode_direct_absolute=yes 8754 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 8755 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 8756 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 8757 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8758 export_dynamic_flag_spec='${wl}-E' 8759 else 8760 case $host_os in 8761 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 8762 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8763 hardcode_libdir_flag_spec='-R$libdir' 8764 ;; 8765 *) 8766 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 8767 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8768 ;; 8769 esac 8770 fi 8771 else 8772 ld_shlibs=no 8773 fi 8774 ;; 8775 8776 os2*) 8777 hardcode_libdir_flag_spec='-L$libdir' 8778 hardcode_minus_L=yes 8779 allow_undefined_flag=unsupported 8780 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' 8781 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 8782 ;; 8783 8784 osf3*) 8785 if test "$GCC" = yes; then 8786 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 8787 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 8788 else 8789 allow_undefined_flag=' -expect_unresolved \*' 8790 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 8791 fi 8792 archive_cmds_need_lc='no' 8793 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8794 hardcode_libdir_separator=: 8795 ;; 8796 8797 osf4* | osf5*) # as osf3* with the addition of -msym flag 8798 if test "$GCC" = yes; then 8799 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 8800 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 8801 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8802 else 8803 allow_undefined_flag=' -expect_unresolved \*' 8804 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 8805 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ 8806 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' 8807 8808 # Both c and cxx compiler support -rpath directly 8809 hardcode_libdir_flag_spec='-rpath $libdir' 8810 fi 8811 archive_cmds_need_lc='no' 8812 hardcode_libdir_separator=: 8813 ;; 8814 8815 solaris*) 8816 no_undefined_flag=' -z defs' 8817 if test "$GCC" = yes; then 8818 wlarc='${wl}' 8819 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8820 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 8821 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 8822 else 8823 case `$CC -V 2>&1` in 8824 *"Compilers 5.0"*) 8825 wlarc='' 8826 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 8827 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 8828 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 8829 ;; 8830 *) 8831 wlarc='${wl}' 8832 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 8833 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 8834 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 8835 ;; 8836 esac 8837 fi 8838 hardcode_libdir_flag_spec='-R$libdir' 8839 hardcode_shlibpath_var=no 8840 case $host_os in 8841 solaris2.[0-5] | solaris2.[0-5].*) ;; 8842 *) 8843 # The compiler driver will combine and reorder linker options, 8844 # but understands `-z linker_flag'. GCC discards it without `$wl', 8845 # but is careful enough not to reorder. 8846 # Supported since Solaris 2.6 (maybe 2.5.1?) 8847 if test "$GCC" = yes; then 8848 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 8849 else 8850 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 8851 fi 8852 ;; 8853 esac 8854 link_all_deplibs=yes 8855 ;; 8856 8857 sunos4*) 8858 if test "x$host_vendor" = xsequent; then 8859 # Use $CC to link under sequent, because it throws in some extra .o 8860 # files that make .init and .fini sections work. 8861 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 8862 else 8863 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 8864 fi 8865 hardcode_libdir_flag_spec='-L$libdir' 8866 hardcode_direct=yes 8867 hardcode_minus_L=yes 8868 hardcode_shlibpath_var=no 8869 ;; 8870 8871 sysv4) 8872 case $host_vendor in 8873 sni) 8874 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8875 hardcode_direct=yes # is this really true??? 8876 ;; 8877 siemens) 8878 ## LD is ld it makes a PLAMLIB 8879 ## CC just makes a GrossModule. 8880 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 8881 reload_cmds='$CC -r -o $output$reload_objs' 8882 hardcode_direct=no 8883 ;; 8884 motorola) 8885 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8886 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 8887 ;; 8888 esac 8889 runpath_var='LD_RUN_PATH' 8890 hardcode_shlibpath_var=no 8891 ;; 8892 8893 sysv4.3*) 8894 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8895 hardcode_shlibpath_var=no 8896 export_dynamic_flag_spec='-Bexport' 8897 ;; 8898 8899 sysv4*MP*) 8900 if test -d /usr/nec; then 8901 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8902 hardcode_shlibpath_var=no 8903 runpath_var=LD_RUN_PATH 8904 hardcode_runpath_var=yes 8905 ld_shlibs=yes 8906 fi 8907 ;; 8908 8909 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 8910 no_undefined_flag='${wl}-z,text' 8911 archive_cmds_need_lc=no 8912 hardcode_shlibpath_var=no 8913 runpath_var='LD_RUN_PATH' 8914 8915 if test "$GCC" = yes; then 8916 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8917 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8918 else 8919 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8920 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8921 fi 8922 ;; 8923 8924 sysv5* | sco3.2v5* | sco5v6*) 8925 # Note: We can NOT use -z defs as we might desire, because we do not 8926 # link with -lc, and that would cause any symbols used from libc to 8927 # always be unresolved, which means just about no library would 8928 # ever link correctly. If we're not using GNU ld we use -z text 8929 # though, which does catch some bad symbols but isn't as heavy-handed 8930 # as -z defs. 8931 no_undefined_flag='${wl}-z,text' 8932 allow_undefined_flag='${wl}-z,nodefs' 8933 archive_cmds_need_lc=no 8934 hardcode_shlibpath_var=no 8935 hardcode_libdir_flag_spec='${wl}-R,$libdir' 8936 hardcode_libdir_separator=':' 8937 link_all_deplibs=yes 8938 export_dynamic_flag_spec='${wl}-Bexport' 8939 runpath_var='LD_RUN_PATH' 8940 8941 if test "$GCC" = yes; then 8942 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8943 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8944 else 8945 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8946 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8947 fi 8948 ;; 8949 8950 uts4*) 8951 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8952 hardcode_libdir_flag_spec='-L$libdir' 8953 hardcode_shlibpath_var=no 8954 ;; 8955 8956 *) 8957 ld_shlibs=no 8958 ;; 8959 esac 8960 8961 if test x$host_vendor = xsni; then 8962 case $host in 8963 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 8964 export_dynamic_flag_spec='${wl}-Blargedynsym' 8965 ;; 8966 esac 8967 fi 8968 fi 8969 8970 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5 8971 echo "${ECHO_T}$ld_shlibs" >&6; } 8972 test "$ld_shlibs" = no && can_build_shared=no 8973 8974 with_gnu_ld=$with_gnu_ld 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 # 8991 # Do we need to explicitly link libc? 8992 # 8993 case "x$archive_cmds_need_lc" in 8994 x|xyes) 8995 # Assume -lc should be added 8996 archive_cmds_need_lc=yes 8997 8998 if test "$enable_shared" = yes && test "$GCC" = yes; then 8999 case $archive_cmds in 9000 *'~'*) 9001 # FIXME: we may have to deal with multi-command sequences. 9002 ;; 9003 '$CC '*) 9004 # Test whether the compiler implicitly links with -lc since on some 9005 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9006 # to ld, don't add -lc before -lgcc. 9007 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 9008 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } 9009 $RM conftest* 9010 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9011 9012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9013 (eval $ac_compile) 2>&5 9014 ac_status=$? 9015 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9016 (exit $ac_status); } 2>conftest.err; then 9017 soname=conftest 9018 lib=conftest 9019 libobjs=conftest.$ac_objext 9020 deplibs= 9021 wl=$lt_prog_compiler_wl 9022 pic_flag=$lt_prog_compiler_pic 9023 compiler_flags=-v 9024 linker_flags=-v 9025 verstring= 9026 output_objdir=. 9027 libname=conftest 9028 lt_save_allow_undefined_flag=$allow_undefined_flag 9029 allow_undefined_flag= 9030 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 9031 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 9032 ac_status=$? 9033 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9034 (exit $ac_status); } 9035 then 9036 archive_cmds_need_lc=no 9037 else 9038 archive_cmds_need_lc=yes 9039 fi 9040 allow_undefined_flag=$lt_save_allow_undefined_flag 9041 else 9042 cat conftest.err 1>&5 9043 fi 9044 $RM conftest* 9045 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 9046 echo "${ECHO_T}$archive_cmds_need_lc" >&6; } 9047 ;; 9048 esac 9049 fi 9050 ;; 9051 esac 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 9210 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } 9211 9212 if test "$GCC" = yes; then 9213 case $host_os in 9214 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 9215 *) lt_awk_arg="/^libraries:/" ;; 9216 esac 9217 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` 9218 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then 9219 # if the path contains ";" then we assume it to be the separator 9220 # otherwise default to the standard path separator (i.e. ":") - it is 9221 # assumed that no part of a normal pathname contains ";" but that should 9222 # okay in the real world where ";" in dirpaths is itself problematic. 9223 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` 9224 else 9225 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 9226 fi 9227 # Ok, now we have the path, separated by spaces, we can step through it 9228 # and add multilib dir if necessary. 9229 lt_tmp_lt_search_path_spec= 9230 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 9231 for lt_sys_path in $lt_search_path_spec; do 9232 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 9233 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 9234 else 9235 test -d "$lt_sys_path" && \ 9236 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 9237 fi 9238 done 9239 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' 9240 BEGIN {RS=" "; FS="/|\n";} { 9241 lt_foo=""; 9242 lt_count=0; 9243 for (lt_i = NF; lt_i > 0; lt_i--) { 9244 if ($lt_i != "" && $lt_i != ".") { 9245 if ($lt_i == "..") { 9246 lt_count++; 9247 } else { 9248 if (lt_count == 0) { 9249 lt_foo="/" $lt_i lt_foo; 9250 } else { 9251 lt_count--; 9252 } 9253 } 9254 } 9255 } 9256 if (lt_foo != "") { lt_freq[lt_foo]++; } 9257 if (lt_freq[lt_foo] == 1) { print lt_foo; } 9258 }'` 9259 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` 9260 else 9261 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 9262 fi 9263 library_names_spec= 9264 libname_spec='lib$name' 9265 soname_spec= 9266 shrext_cmds=".so" 9267 postinstall_cmds= 9268 postuninstall_cmds= 9269 finish_cmds= 9270 finish_eval= 9271 shlibpath_var= 9272 shlibpath_overrides_runpath=unknown 9273 version_type=none 9274 dynamic_linker="$host_os ld.so" 9275 sys_lib_dlsearch_path_spec="/lib /usr/lib" 9276 need_lib_prefix=unknown 9277 hardcode_into_libs=no 9278 9279 # when you set need_version to no, make sure it does not cause -set_version 9280 # flags to be left without arguments 9281 need_version=unknown 9282 9283 case $host_os in 9284 aix3*) 9285 version_type=linux 9286 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 9287 shlibpath_var=LIBPATH 9288 9289 # AIX 3 has no versioning support, so we append a major version to the name. 9290 soname_spec='${libname}${release}${shared_ext}$major' 9291 ;; 9292 9293 aix[4-9]*) 9294 version_type=linux 9295 need_lib_prefix=no 9296 need_version=no 9297 hardcode_into_libs=yes 9298 if test "$host_cpu" = ia64; then 9299 # AIX 5 supports IA64 9300 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 9301 shlibpath_var=LD_LIBRARY_PATH 9302 else 9303 # With GCC up to 2.95.x, collect2 would create an import file 9304 # for dependence libraries. The import file would start with 9305 # the line `#! .'. This would cause the generated library to 9306 # depend on `.', always an invalid library. This was fixed in 9307 # development snapshots of GCC prior to 3.0. 9308 case $host_os in 9309 aix4 | aix4.[01] | aix4.[01].*) 9310 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 9311 echo ' yes ' 9312 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 9313 : 9314 else 9315 can_build_shared=no 9316 fi 9317 ;; 9318 esac 9319 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 9320 # soname into executable. Probably we can add versioning support to 9321 # collect2, so additional links can be useful in future. 9322 if test "$aix_use_runtimelinking" = yes; then 9323 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 9324 # instead of lib<name>.a to let people know that these are not 9325 # typical AIX shared libraries. 9326 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9327 else 9328 # We preserve .a as extension for shared libraries through AIX4.2 9329 # and later when we are not doing run time linking. 9330 library_names_spec='${libname}${release}.a $libname.a' 9331 soname_spec='${libname}${release}${shared_ext}$major' 9332 fi 9333 shlibpath_var=LIBPATH 9334 fi 9335 ;; 9336 9337 amigaos*) 9338 case $host_cpu in 9339 powerpc) 9340 # Since July 2007 AmigaOS4 officially supports .so libraries. 9341 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 9342 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9343 ;; 9344 m68k) 9345 library_names_spec='$libname.ixlibrary $libname.a' 9346 # Create ${libname}_ixlibrary.a entries in /sys/libs. 9347 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 9348 ;; 9349 esac 9350 ;; 9351 9352 beos*) 9353 library_names_spec='${libname}${shared_ext}' 9354 dynamic_linker="$host_os ld.so" 9355 shlibpath_var=LIBRARY_PATH 9356 ;; 9357 9358 bsdi[45]*) 9359 version_type=linux 9360 need_version=no 9361 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9362 soname_spec='${libname}${release}${shared_ext}$major' 9363 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 9364 shlibpath_var=LD_LIBRARY_PATH 9365 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 9366 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 9367 # the default ld.so.conf also contains /usr/contrib/lib and 9368 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 9369 # libtool to hard-code these into programs 9370 ;; 9371 9372 cygwin* | mingw* | pw32* | cegcc*) 9373 version_type=windows 9374 shrext_cmds=".dll" 9375 need_version=no 9376 need_lib_prefix=no 9377 9378 case $GCC,$host_os in 9379 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) 9380 library_names_spec='$libname.dll.a' 9381 # DLL is installed to $(libdir)/../bin by postinstall_cmds 9382 postinstall_cmds='base_file=`basename \${file}`~ 9383 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 9384 dldir=$destdir/`dirname \$dlpath`~ 9385 test -d \$dldir || mkdir -p \$dldir~ 9386 $install_prog $dir/$dlname \$dldir/$dlname~ 9387 chmod a+x \$dldir/$dlname~ 9388 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 9389 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 9390 fi' 9391 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 9392 dlpath=$dir/\$dldll~ 9393 $RM \$dlpath' 9394 shlibpath_overrides_runpath=yes 9395 9396 case $host_os in 9397 cygwin*) 9398 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 9399 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9400 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 9401 ;; 9402 mingw* | cegcc*) 9403 # MinGW DLLs use traditional 'lib' prefix 9404 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9405 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 9406 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 9407 # It is most probably a Windows format PATH printed by 9408 # mingw gcc, but we are running on Cygwin. Gcc prints its search 9409 # path with ; separators, and with drive letters. We can handle the 9410 # drive letters (cygwin fileutils understands them), so leave them, 9411 # especially as we might pass files found there to a mingw objdump, 9412 # which wouldn't understand a cygwinified path. Ahh. 9413 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 9414 else 9415 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 9416 fi 9417 ;; 9418 pw32*) 9419 # pw32 DLLs use 'pw' prefix rather than 'lib' 9420 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9421 ;; 9422 esac 9423 ;; 9424 9425 *) 9426 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 9427 ;; 9428 esac 9429 dynamic_linker='Win32 ld.exe' 9430 # FIXME: first we should search . and the directory the executable is in 9431 shlibpath_var=PATH 9432 ;; 9433 9434 darwin* | rhapsody*) 9435 dynamic_linker="$host_os dyld" 9436 version_type=darwin 9437 need_lib_prefix=no 9438 need_version=no 9439 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 9440 soname_spec='${libname}${release}${major}$shared_ext' 9441 shlibpath_overrides_runpath=yes 9442 shlibpath_var=DYLD_LIBRARY_PATH 9443 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 9444 9445 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 9446 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 9447 ;; 9448 9449 dgux*) 9450 version_type=linux 9451 need_lib_prefix=no 9452 need_version=no 9453 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 9454 soname_spec='${libname}${release}${shared_ext}$major' 9455 shlibpath_var=LD_LIBRARY_PATH 9456 ;; 9457 9458 freebsd1*) 9459 dynamic_linker=no 9460 ;; 9461 9462 freebsd* | dragonfly*) 9463 # DragonFly does not have aout. When/if they implement a new 9464 # versioning mechanism, adjust this. 9465 if test -x /usr/bin/objformat; then 9466 objformat=`/usr/bin/objformat` 9467 else 9468 case $host_os in 9469 freebsd[123]*) objformat=aout ;; 9470 *) objformat=elf ;; 9471 esac 9472 fi 9473 version_type=freebsd-$objformat 9474 case $version_type in 9475 freebsd-elf*) 9476 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 9477 need_version=no 9478 need_lib_prefix=no 9479 ;; 9480 freebsd-*) 9481 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 9482 need_version=yes 9483 ;; 9484 esac 9485 shlibpath_var=LD_LIBRARY_PATH 9486 case $host_os in 9487 freebsd2*) 9488 shlibpath_overrides_runpath=yes 9489 ;; 9490 freebsd3.[01]* | freebsdelf3.[01]*) 9491 shlibpath_overrides_runpath=yes 9492 hardcode_into_libs=yes 9493 ;; 9494 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 9495 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 9496 shlibpath_overrides_runpath=no 9497 hardcode_into_libs=yes 9498 ;; 9499 *) # from 4.6 on, and DragonFly 9500 shlibpath_overrides_runpath=yes 9501 hardcode_into_libs=yes 9502 ;; 9503 esac 9504 ;; 9505 9506 gnu*) 9507 version_type=linux 9508 need_lib_prefix=no 9509 need_version=no 9510 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 9511 soname_spec='${libname}${release}${shared_ext}$major' 9512 shlibpath_var=LD_LIBRARY_PATH 9513 hardcode_into_libs=yes 9514 ;; 9515 9516 hpux9* | hpux10* | hpux11*) 9517 # Give a soname corresponding to the major version so that dld.sl refuses to 9518 # link against other versions. 9519 version_type=sunos 9520 need_lib_prefix=no 9521 need_version=no 9522 case $host_cpu in 9523 ia64*) 9524 shrext_cmds='.so' 9525 hardcode_into_libs=yes 9526 dynamic_linker="$host_os dld.so" 9527 shlibpath_var=LD_LIBRARY_PATH 9528 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 9529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9530 soname_spec='${libname}${release}${shared_ext}$major' 9531 if test "X$HPUX_IA64_MODE" = X32; then 9532 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 9533 else 9534 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 9535 fi 9536 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 9537 ;; 9538 hppa*64*) 9539 shrext_cmds='.sl' 9540 hardcode_into_libs=yes 9541 dynamic_linker="$host_os dld.sl" 9542 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 9543 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 9544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9545 soname_spec='${libname}${release}${shared_ext}$major' 9546 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 9547 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 9548 ;; 9549 *) 9550 shrext_cmds='.sl' 9551 dynamic_linker="$host_os dld.sl" 9552 shlibpath_var=SHLIB_PATH 9553 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 9554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9555 soname_spec='${libname}${release}${shared_ext}$major' 9556 ;; 9557 esac 9558 # HP-UX runs *really* slowly unless shared libraries are mode 555. 9559 postinstall_cmds='chmod 555 $lib' 9560 ;; 9561 9562 interix[3-9]*) 9563 version_type=linux 9564 need_lib_prefix=no 9565 need_version=no 9566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 9567 soname_spec='${libname}${release}${shared_ext}$major' 9568 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 9569 shlibpath_var=LD_LIBRARY_PATH 9570 shlibpath_overrides_runpath=no 9571 hardcode_into_libs=yes 9572 ;; 9573 9574 irix5* | irix6* | nonstopux*) 9575 case $host_os in 9576 nonstopux*) version_type=nonstopux ;; 9577 *) 9578 if test "$lt_cv_prog_gnu_ld" = yes; then 9579 version_type=linux 9580 else 9581 version_type=irix 9582 fi ;; 9583 esac 9584 need_lib_prefix=no 9585 need_version=no 9586 soname_spec='${libname}${release}${shared_ext}$major' 9587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 9588 case $host_os in 9589 irix5* | nonstopux*) 9590 libsuff= shlibsuff= 9591 ;; 9592 *) 9593 case $LD in # libtool.m4 will add one of these switches to LD 9594 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 9595 libsuff= shlibsuff= libmagic=32-bit;; 9596 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 9597 libsuff=32 shlibsuff=N32 libmagic=N32;; 9598 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 9599 libsuff=64 shlibsuff=64 libmagic=64-bit;; 9600 *) libsuff= shlibsuff= libmagic=never-match;; 9601 esac 9602 ;; 9603 esac 9604 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 9605 shlibpath_overrides_runpath=no 9606 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 9607 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 9608 hardcode_into_libs=yes 9609 ;; 9610 9611 # No shared lib support for Linux oldld, aout, or coff. 9612 linux*oldld* | linux*aout* | linux*coff*) 9613 dynamic_linker=no 9614 ;; 9615 9616 # This must be Linux ELF. 9617 linux* | k*bsd*-gnu) 9618 version_type=linux 9619 need_lib_prefix=no 9620 need_version=no 9621 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9622 soname_spec='${libname}${release}${shared_ext}$major' 9623 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 9624 shlibpath_var=LD_LIBRARY_PATH 9625 shlibpath_overrides_runpath=no 9626 # Some binutils ld are patched to set DT_RUNPATH 9627 save_LDFLAGS=$LDFLAGS 9628 save_libdir=$libdir 9629 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 9630 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 9631 cat >conftest.$ac_ext <<_ACEOF 9632 /* confdefs.h. */ 9633 _ACEOF 9634 cat confdefs.h >>conftest.$ac_ext 9635 cat >>conftest.$ac_ext <<_ACEOF 9636 /* end confdefs.h. */ 9637 9638 int 9639 main () 9640 { 9641 9642 ; 9643 return 0; 9644 } 9645 _ACEOF 9646 rm -f conftest.$ac_objext conftest$ac_exeext 9647 if { (ac_try="$ac_link" 9648 case "(($ac_try" in 9649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9650 *) ac_try_echo=$ac_try;; 9651 esac 9652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9653 (eval "$ac_link") 2>conftest.er1 9654 ac_status=$? 9655 grep -v '^ *+' conftest.er1 >conftest.err 9656 rm -f conftest.er1 9657 cat conftest.err >&5 9658 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9659 (exit $ac_status); } && { 9660 test -z "$ac_c_werror_flag" || 9661 test ! -s conftest.err 9662 } && test -s conftest$ac_exeext && 9663 $as_test_x conftest$ac_exeext; then 9664 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then 9665 shlibpath_overrides_runpath=yes 9666 fi 9667 9668 else 9669 echo "$as_me: failed program was:" >&5 9670 sed 's/^/| /' conftest.$ac_ext >&5 9671 9672 9673 fi 9674 9675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9676 conftest$ac_exeext conftest.$ac_ext 9677 LDFLAGS=$save_LDFLAGS 9678 libdir=$save_libdir 9679 9680 # This implies no fast_install, which is unacceptable. 9681 # Some rework will be needed to allow for fast_install 9682 # before this can be enabled. 9683 hardcode_into_libs=yes 9684 9685 # Append ld.so.conf contents to the search path 9686 if test -f /etc/ld.so.conf; then 9687 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` 9688 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 9689 fi 9690 9691 # We used to test for /lib/ld.so.1 and disable shared libraries on 9692 # powerpc, because MkLinux only supported shared libraries with the 9693 # GNU dynamic linker. Since this was broken with cross compilers, 9694 # most powerpc-linux boxes support dynamic linking these days and 9695 # people can always --disable-shared, the test was removed, and we 9696 # assume the GNU/Linux dynamic linker is in use. 9697 dynamic_linker='GNU/Linux ld.so' 9698 ;; 9699 9700 netbsdelf*-gnu) 9701 version_type=linux 9702 need_lib_prefix=no 9703 need_version=no 9704 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 9705 soname_spec='${libname}${release}${shared_ext}$major' 9706 shlibpath_var=LD_LIBRARY_PATH 9707 shlibpath_overrides_runpath=no 9708 hardcode_into_libs=yes 9709 dynamic_linker='NetBSD ld.elf_so' 9710 ;; 9711 9712 netbsd*) 9713 version_type=sunos 9714 need_lib_prefix=no 9715 need_version=no 9716 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9717 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 9718 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 9719 dynamic_linker='NetBSD (a.out) ld.so' 9720 else 9721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 9722 soname_spec='${libname}${release}${shared_ext}$major' 9723 dynamic_linker='NetBSD ld.elf_so' 9724 fi 9725 shlibpath_var=LD_LIBRARY_PATH 9726 shlibpath_overrides_runpath=yes 9727 hardcode_into_libs=yes 9728 ;; 9729 9730 newsos6) 9731 version_type=linux 9732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9733 shlibpath_var=LD_LIBRARY_PATH 9734 shlibpath_overrides_runpath=yes 9735 ;; 9736 9737 *nto* | *qnx*) 9738 version_type=qnx 9739 need_lib_prefix=no 9740 need_version=no 9741 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9742 soname_spec='${libname}${release}${shared_ext}$major' 9743 shlibpath_var=LD_LIBRARY_PATH 9744 shlibpath_overrides_runpath=no 9745 hardcode_into_libs=yes 9746 dynamic_linker='ldqnx.so' 9747 ;; 9748 9749 openbsd*) 9750 version_type=sunos 9751 sys_lib_dlsearch_path_spec="/usr/lib" 9752 need_lib_prefix=no 9753 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 9754 case $host_os in 9755 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 9756 *) need_version=no ;; 9757 esac 9758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 9759 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 9760 shlibpath_var=LD_LIBRARY_PATH 9761 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9762 case $host_os in 9763 openbsd2.[89] | openbsd2.[89].*) 9764 shlibpath_overrides_runpath=no 9765 ;; 9766 *) 9767 shlibpath_overrides_runpath=yes 9768 ;; 9769 esac 9770 else 9771 shlibpath_overrides_runpath=yes 9772 fi 9773 ;; 9774 9775 os2*) 9776 libname_spec='$name' 9777 shrext_cmds=".dll" 9778 need_lib_prefix=no 9779 library_names_spec='$libname${shared_ext} $libname.a' 9780 dynamic_linker='OS/2 ld.exe' 9781 shlibpath_var=LIBPATH 9782 ;; 9783 9784 osf3* | osf4* | osf5*) 9785 version_type=osf 9786 need_lib_prefix=no 9787 need_version=no 9788 soname_spec='${libname}${release}${shared_ext}$major' 9789 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9790 shlibpath_var=LD_LIBRARY_PATH 9791 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 9792 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 9793 ;; 9794 9795 rdos*) 9796 dynamic_linker=no 9797 ;; 9798 9799 solaris*) 9800 version_type=linux 9801 need_lib_prefix=no 9802 need_version=no 9803 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9804 soname_spec='${libname}${release}${shared_ext}$major' 9805 shlibpath_var=LD_LIBRARY_PATH 9806 shlibpath_overrides_runpath=yes 9807 hardcode_into_libs=yes 9808 # ldd complains unless libraries are executable 9809 postinstall_cmds='chmod +x $lib' 9810 ;; 9811 9812 sunos4*) 9813 version_type=sunos 9814 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 9815 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 9816 shlibpath_var=LD_LIBRARY_PATH 9817 shlibpath_overrides_runpath=yes 9818 if test "$with_gnu_ld" = yes; then 9819 need_lib_prefix=no 9820 fi 9821 need_version=yes 9822 ;; 9823 9824 sysv4 | sysv4.3*) 9825 version_type=linux 9826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9827 soname_spec='${libname}${release}${shared_ext}$major' 9828 shlibpath_var=LD_LIBRARY_PATH 9829 case $host_vendor in 9830 sni) 9831 shlibpath_overrides_runpath=no 9832 need_lib_prefix=no 9833 runpath_var=LD_RUN_PATH 9834 ;; 9835 siemens) 9836 need_lib_prefix=no 9837 ;; 9838 motorola) 9839 need_lib_prefix=no 9840 need_version=no 9841 shlibpath_overrides_runpath=no 9842 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 9843 ;; 9844 esac 9845 ;; 9846 9847 sysv4*MP*) 9848 if test -d /usr/nec ;then 9849 version_type=linux 9850 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 9851 soname_spec='$libname${shared_ext}.$major' 9852 shlibpath_var=LD_LIBRARY_PATH 9853 fi 9854 ;; 9855 9856 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 9857 version_type=freebsd-elf 9858 need_lib_prefix=no 9859 need_version=no 9860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 9861 soname_spec='${libname}${release}${shared_ext}$major' 9862 shlibpath_var=LD_LIBRARY_PATH 9863 shlibpath_overrides_runpath=yes 9864 hardcode_into_libs=yes 9865 if test "$with_gnu_ld" = yes; then 9866 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 9867 else 9868 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 9869 case $host_os in 9870 sco3.2v5*) 9871 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 9872 ;; 9873 esac 9874 fi 9875 sys_lib_dlsearch_path_spec='/usr/lib' 9876 ;; 9877 9878 tpf*) 9879 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 9880 version_type=linux 9881 need_lib_prefix=no 9882 need_version=no 9883 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9884 shlibpath_var=LD_LIBRARY_PATH 9885 shlibpath_overrides_runpath=no 9886 hardcode_into_libs=yes 9887 ;; 9888 9889 uts4*) 9890 version_type=linux 9891 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9892 soname_spec='${libname}${release}${shared_ext}$major' 9893 shlibpath_var=LD_LIBRARY_PATH 9894 ;; 9895 9896 *) 9897 dynamic_linker=no 9898 ;; 9899 esac 9900 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 9901 echo "${ECHO_T}$dynamic_linker" >&6; } 9902 test "$dynamic_linker" = no && can_build_shared=no 9903 9904 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 9905 if test "$GCC" = yes; then 9906 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 9907 fi 9908 9909 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 9910 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 9911 fi 9912 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 9913 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 9914 fi 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 10003 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } 10004 hardcode_action= 10005 if test -n "$hardcode_libdir_flag_spec" || 10006 test -n "$runpath_var" || 10007 test "X$hardcode_automatic" = "Xyes" ; then 10008 10009 # We can hardcode non-existent directories. 10010 if test "$hardcode_direct" != no && 10011 # If the only mechanism to avoid hardcoding is shlibpath_var, we 10012 # have to relink, otherwise we might link with an installed library 10013 # when we should be linking with a yet-to-be-installed one 10014 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 10015 test "$hardcode_minus_L" != no; then 10016 # Linking always hardcodes the temporary library directory. 10017 hardcode_action=relink 10018 else 10019 # We can link without hardcoding, and we can hardcode nonexisting dirs. 10020 hardcode_action=immediate 10021 fi 10022 else 10023 # We cannot hardcode anything, or else we can only hardcode existing 10024 # directories. 10025 hardcode_action=unsupported 10026 fi 10027 { echo "$as_me:$LINENO: result: $hardcode_action" >&5 10028 echo "${ECHO_T}$hardcode_action" >&6; } 10029 10030 if test "$hardcode_action" = relink || 10031 test "$inherit_rpath" = yes; then 10032 # Fast installation is not supported 10033 enable_fast_install=no 10034 elif test "$shlibpath_overrides_runpath" = yes || 10035 test "$enable_shared" = no; then 10036 # Fast installation is not necessary 10037 enable_fast_install=needless 10038 fi 10039 10040 10041 10042 10043 10044 10045 if test "x$enable_dlopen" != xyes; then 10046 enable_dlopen=unknown 10047 enable_dlopen_self=unknown 10048 enable_dlopen_self_static=unknown 10049 else 10050 lt_cv_dlopen=no 10051 lt_cv_dlopen_libs= 10052 10053 case $host_os in 10054 beos*) 10055 lt_cv_dlopen="load_add_on" 10056 lt_cv_dlopen_libs= 10057 lt_cv_dlopen_self=yes 10058 ;; 10059 10060 mingw* | pw32* | cegcc*) 10061 lt_cv_dlopen="LoadLibrary" 10062 lt_cv_dlopen_libs= 10063 ;; 10064 10065 cygwin*) 10066 lt_cv_dlopen="dlopen" 10067 lt_cv_dlopen_libs= 10068 ;; 10069 10070 darwin*) 10071 # if libdl is installed we need to link against it 10072 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 10073 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } 10074 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 10075 echo $ECHO_N "(cached) $ECHO_C" >&6 10076 else 10077 ac_check_lib_save_LIBS=$LIBS 10078 LIBS="-ldl $LIBS" 10079 cat >conftest.$ac_ext <<_ACEOF 10080 /* confdefs.h. */ 10081 _ACEOF 10082 cat confdefs.h >>conftest.$ac_ext 10083 cat >>conftest.$ac_ext <<_ACEOF 10084 /* end confdefs.h. */ 10085 10086 /* Override any GCC internal prototype to avoid an error. 10087 Use char because int might match the return type of a GCC 10088 builtin and then its argument prototype would still apply. */ 10089 #ifdef __cplusplus 10090 extern "C" 10091 #endif 10092 char dlopen (); 10093 int 10094 main () 10095 { 10096 return dlopen (); 10097 ; 10098 return 0; 10099 } 10100 _ACEOF 10101 rm -f conftest.$ac_objext conftest$ac_exeext 10102 if { (ac_try="$ac_link" 10103 case "(($ac_try" in 10104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10105 *) ac_try_echo=$ac_try;; 10106 esac 10107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10108 (eval "$ac_link") 2>conftest.er1 10109 ac_status=$? 10110 grep -v '^ *+' conftest.er1 >conftest.err 10111 rm -f conftest.er1 10112 cat conftest.err >&5 10113 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10114 (exit $ac_status); } && { 10115 test -z "$ac_c_werror_flag" || 10116 test ! -s conftest.err 10117 } && test -s conftest$ac_exeext && 10118 $as_test_x conftest$ac_exeext; then 10119 ac_cv_lib_dl_dlopen=yes 10120 else 10121 echo "$as_me: failed program was:" >&5 10122 sed 's/^/| /' conftest.$ac_ext >&5 10123 10124 ac_cv_lib_dl_dlopen=no 10125 fi 10126 10127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10128 conftest$ac_exeext conftest.$ac_ext 10129 LIBS=$ac_check_lib_save_LIBS 10130 fi 10131 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 10132 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } 10133 if test $ac_cv_lib_dl_dlopen = yes; then 10134 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10135 else 10136 10137 lt_cv_dlopen="dyld" 10138 lt_cv_dlopen_libs= 10139 lt_cv_dlopen_self=yes 10140 10141 fi 10142 10143 ;; 10144 10145 *) 10146 { echo "$as_me:$LINENO: checking for shl_load" >&5 10147 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; } 10148 if test "${ac_cv_func_shl_load+set}" = set; then 10149 echo $ECHO_N "(cached) $ECHO_C" >&6 10150 else 10151 cat >conftest.$ac_ext <<_ACEOF 10152 /* confdefs.h. */ 10153 _ACEOF 10154 cat confdefs.h >>conftest.$ac_ext 10155 cat >>conftest.$ac_ext <<_ACEOF 10156 /* end confdefs.h. */ 10157 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. 10158 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 10159 #define shl_load innocuous_shl_load 10160 10161 /* System header to define __stub macros and hopefully few prototypes, 10162 which can conflict with char shl_load (); below. 10163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 10164 <limits.h> exists even on freestanding compilers. */ 10165 10166 #ifdef __STDC__ 10167 # include <limits.h> 10168 #else 10169 # include <assert.h> 10170 #endif 10171 10172 #undef shl_load 10173 10174 /* Override any GCC internal prototype to avoid an error. 10175 Use char because int might match the return type of a GCC 10176 builtin and then its argument prototype would still apply. */ 10177 #ifdef __cplusplus 10178 extern "C" 10179 #endif 10180 char shl_load (); 10181 /* The GNU C library defines this for functions which it implements 10182 to always fail with ENOSYS. Some functions are actually named 10183 something starting with __ and the normal name is an alias. */ 10184 #if defined __stub_shl_load || defined __stub___shl_load 10185 choke me 10186 #endif 10187 10188 int 10189 main () 10190 { 10191 return shl_load (); 10192 ; 10193 return 0; 10194 } 10195 _ACEOF 10196 rm -f conftest.$ac_objext conftest$ac_exeext 10197 if { (ac_try="$ac_link" 10198 case "(($ac_try" in 10199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10200 *) ac_try_echo=$ac_try;; 10201 esac 10202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10203 (eval "$ac_link") 2>conftest.er1 10204 ac_status=$? 10205 grep -v '^ *+' conftest.er1 >conftest.err 10206 rm -f conftest.er1 10207 cat conftest.err >&5 10208 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10209 (exit $ac_status); } && { 10210 test -z "$ac_c_werror_flag" || 10211 test ! -s conftest.err 10212 } && test -s conftest$ac_exeext && 10213 $as_test_x conftest$ac_exeext; then 10214 ac_cv_func_shl_load=yes 10215 else 10216 echo "$as_me: failed program was:" >&5 10217 sed 's/^/| /' conftest.$ac_ext >&5 10218 10219 ac_cv_func_shl_load=no 10220 fi 10221 10222 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10223 conftest$ac_exeext conftest.$ac_ext 10224 fi 10225 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 10226 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; } 10227 if test $ac_cv_func_shl_load = yes; then 10228 lt_cv_dlopen="shl_load" 10229 else 10230 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 10231 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; } 10232 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 10233 echo $ECHO_N "(cached) $ECHO_C" >&6 10234 else 10235 ac_check_lib_save_LIBS=$LIBS 10236 LIBS="-ldld $LIBS" 10237 cat >conftest.$ac_ext <<_ACEOF 10238 /* confdefs.h. */ 10239 _ACEOF 10240 cat confdefs.h >>conftest.$ac_ext 10241 cat >>conftest.$ac_ext <<_ACEOF 10242 /* end confdefs.h. */ 10243 10244 /* Override any GCC internal prototype to avoid an error. 10245 Use char because int might match the return type of a GCC 10246 builtin and then its argument prototype would still apply. */ 10247 #ifdef __cplusplus 10248 extern "C" 10249 #endif 10250 char shl_load (); 10251 int 10252 main () 10253 { 10254 return shl_load (); 10255 ; 10256 return 0; 10257 } 10258 _ACEOF 10259 rm -f conftest.$ac_objext conftest$ac_exeext 10260 if { (ac_try="$ac_link" 10261 case "(($ac_try" in 10262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10263 *) ac_try_echo=$ac_try;; 10264 esac 10265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10266 (eval "$ac_link") 2>conftest.er1 10267 ac_status=$? 10268 grep -v '^ *+' conftest.er1 >conftest.err 10269 rm -f conftest.er1 10270 cat conftest.err >&5 10271 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10272 (exit $ac_status); } && { 10273 test -z "$ac_c_werror_flag" || 10274 test ! -s conftest.err 10275 } && test -s conftest$ac_exeext && 10276 $as_test_x conftest$ac_exeext; then 10277 ac_cv_lib_dld_shl_load=yes 10278 else 10279 echo "$as_me: failed program was:" >&5 10280 sed 's/^/| /' conftest.$ac_ext >&5 10281 10282 ac_cv_lib_dld_shl_load=no 10283 fi 10284 10285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10286 conftest$ac_exeext conftest.$ac_ext 10287 LIBS=$ac_check_lib_save_LIBS 10288 fi 10289 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 10290 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } 10291 if test $ac_cv_lib_dld_shl_load = yes; then 10292 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 10293 else 10294 { echo "$as_me:$LINENO: checking for dlopen" >&5 10295 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; } 10296 if test "${ac_cv_func_dlopen+set}" = set; then 10297 echo $ECHO_N "(cached) $ECHO_C" >&6 10298 else 10299 cat >conftest.$ac_ext <<_ACEOF 10300 /* confdefs.h. */ 10301 _ACEOF 10302 cat confdefs.h >>conftest.$ac_ext 10303 cat >>conftest.$ac_ext <<_ACEOF 10304 /* end confdefs.h. */ 10305 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. 10306 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 10307 #define dlopen innocuous_dlopen 10308 10309 /* System header to define __stub macros and hopefully few prototypes, 10310 which can conflict with char dlopen (); below. 10311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 10312 <limits.h> exists even on freestanding compilers. */ 10313 10314 #ifdef __STDC__ 10315 # include <limits.h> 10316 #else 10317 # include <assert.h> 10318 #endif 10319 10320 #undef dlopen 10321 10322 /* Override any GCC internal prototype to avoid an error. 10323 Use char because int might match the return type of a GCC 10324 builtin and then its argument prototype would still apply. */ 10325 #ifdef __cplusplus 10326 extern "C" 10327 #endif 10328 char dlopen (); 10329 /* The GNU C library defines this for functions which it implements 10330 to always fail with ENOSYS. Some functions are actually named 10331 something starting with __ and the normal name is an alias. */ 10332 #if defined __stub_dlopen || defined __stub___dlopen 10333 choke me 10334 #endif 10335 10336 int 10337 main () 10338 { 10339 return dlopen (); 10340 ; 10341 return 0; 10342 } 10343 _ACEOF 10344 rm -f conftest.$ac_objext conftest$ac_exeext 10345 if { (ac_try="$ac_link" 10346 case "(($ac_try" in 10347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10348 *) ac_try_echo=$ac_try;; 10349 esac 10350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10351 (eval "$ac_link") 2>conftest.er1 10352 ac_status=$? 10353 grep -v '^ *+' conftest.er1 >conftest.err 10354 rm -f conftest.er1 10355 cat conftest.err >&5 10356 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10357 (exit $ac_status); } && { 10358 test -z "$ac_c_werror_flag" || 10359 test ! -s conftest.err 10360 } && test -s conftest$ac_exeext && 10361 $as_test_x conftest$ac_exeext; then 10362 ac_cv_func_dlopen=yes 10363 else 10364 echo "$as_me: failed program was:" >&5 10365 sed 's/^/| /' conftest.$ac_ext >&5 10366 10367 ac_cv_func_dlopen=no 10368 fi 10369 10370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10371 conftest$ac_exeext conftest.$ac_ext 10372 fi 10373 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 10374 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; } 10375 if test $ac_cv_func_dlopen = yes; then 10376 lt_cv_dlopen="dlopen" 10377 else 10378 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 10379 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } 10380 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 10381 echo $ECHO_N "(cached) $ECHO_C" >&6 10382 else 10383 ac_check_lib_save_LIBS=$LIBS 10384 LIBS="-ldl $LIBS" 10385 cat >conftest.$ac_ext <<_ACEOF 10386 /* confdefs.h. */ 10387 _ACEOF 10388 cat confdefs.h >>conftest.$ac_ext 10389 cat >>conftest.$ac_ext <<_ACEOF 10390 /* end confdefs.h. */ 10391 10392 /* Override any GCC internal prototype to avoid an error. 10393 Use char because int might match the return type of a GCC 10394 builtin and then its argument prototype would still apply. */ 10395 #ifdef __cplusplus 10396 extern "C" 10397 #endif 10398 char dlopen (); 10399 int 10400 main () 10401 { 10402 return dlopen (); 10403 ; 10404 return 0; 10405 } 10406 _ACEOF 10407 rm -f conftest.$ac_objext conftest$ac_exeext 10408 if { (ac_try="$ac_link" 10409 case "(($ac_try" in 10410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10411 *) ac_try_echo=$ac_try;; 10412 esac 10413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10414 (eval "$ac_link") 2>conftest.er1 10415 ac_status=$? 10416 grep -v '^ *+' conftest.er1 >conftest.err 10417 rm -f conftest.er1 10418 cat conftest.err >&5 10419 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10420 (exit $ac_status); } && { 10421 test -z "$ac_c_werror_flag" || 10422 test ! -s conftest.err 10423 } && test -s conftest$ac_exeext && 10424 $as_test_x conftest$ac_exeext; then 10425 ac_cv_lib_dl_dlopen=yes 10426 else 10427 echo "$as_me: failed program was:" >&5 10428 sed 's/^/| /' conftest.$ac_ext >&5 10429 10430 ac_cv_lib_dl_dlopen=no 10431 fi 10432 10433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10434 conftest$ac_exeext conftest.$ac_ext 10435 LIBS=$ac_check_lib_save_LIBS 10436 fi 10437 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 10438 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } 10439 if test $ac_cv_lib_dl_dlopen = yes; then 10440 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10441 else 10442 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 10443 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; } 10444 if test "${ac_cv_lib_svld_dlopen+set}" = set; then 10445 echo $ECHO_N "(cached) $ECHO_C" >&6 10446 else 10447 ac_check_lib_save_LIBS=$LIBS 10448 LIBS="-lsvld $LIBS" 10449 cat >conftest.$ac_ext <<_ACEOF 10450 /* confdefs.h. */ 10451 _ACEOF 10452 cat confdefs.h >>conftest.$ac_ext 10453 cat >>conftest.$ac_ext <<_ACEOF 10454 /* end confdefs.h. */ 10455 10456 /* Override any GCC internal prototype to avoid an error. 10457 Use char because int might match the return type of a GCC 10458 builtin and then its argument prototype would still apply. */ 10459 #ifdef __cplusplus 10460 extern "C" 10461 #endif 10462 char dlopen (); 10463 int 10464 main () 10465 { 10466 return dlopen (); 10467 ; 10468 return 0; 10469 } 10470 _ACEOF 10471 rm -f conftest.$ac_objext conftest$ac_exeext 10472 if { (ac_try="$ac_link" 10473 case "(($ac_try" in 10474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10475 *) ac_try_echo=$ac_try;; 10476 esac 10477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10478 (eval "$ac_link") 2>conftest.er1 10479 ac_status=$? 10480 grep -v '^ *+' conftest.er1 >conftest.err 10481 rm -f conftest.er1 10482 cat conftest.err >&5 10483 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10484 (exit $ac_status); } && { 10485 test -z "$ac_c_werror_flag" || 10486 test ! -s conftest.err 10487 } && test -s conftest$ac_exeext && 10488 $as_test_x conftest$ac_exeext; then 10489 ac_cv_lib_svld_dlopen=yes 10490 else 10491 echo "$as_me: failed program was:" >&5 10492 sed 's/^/| /' conftest.$ac_ext >&5 10493 10494 ac_cv_lib_svld_dlopen=no 10495 fi 10496 10497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10498 conftest$ac_exeext conftest.$ac_ext 10499 LIBS=$ac_check_lib_save_LIBS 10500 fi 10501 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 10502 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; } 10503 if test $ac_cv_lib_svld_dlopen = yes; then 10504 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 10505 else 10506 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 10507 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; } 10508 if test "${ac_cv_lib_dld_dld_link+set}" = set; then 10509 echo $ECHO_N "(cached) $ECHO_C" >&6 10510 else 10511 ac_check_lib_save_LIBS=$LIBS 10512 LIBS="-ldld $LIBS" 10513 cat >conftest.$ac_ext <<_ACEOF 10514 /* confdefs.h. */ 10515 _ACEOF 10516 cat confdefs.h >>conftest.$ac_ext 10517 cat >>conftest.$ac_ext <<_ACEOF 10518 /* end confdefs.h. */ 10519 10520 /* Override any GCC internal prototype to avoid an error. 10521 Use char because int might match the return type of a GCC 10522 builtin and then its argument prototype would still apply. */ 10523 #ifdef __cplusplus 10524 extern "C" 10525 #endif 10526 char dld_link (); 10527 int 10528 main () 10529 { 10530 return dld_link (); 10531 ; 10532 return 0; 10533 } 10534 _ACEOF 10535 rm -f conftest.$ac_objext conftest$ac_exeext 10536 if { (ac_try="$ac_link" 10537 case "(($ac_try" in 10538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10539 *) ac_try_echo=$ac_try;; 10540 esac 10541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10542 (eval "$ac_link") 2>conftest.er1 10543 ac_status=$? 10544 grep -v '^ *+' conftest.er1 >conftest.err 10545 rm -f conftest.er1 10546 cat conftest.err >&5 10547 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10548 (exit $ac_status); } && { 10549 test -z "$ac_c_werror_flag" || 10550 test ! -s conftest.err 10551 } && test -s conftest$ac_exeext && 10552 $as_test_x conftest$ac_exeext; then 10553 ac_cv_lib_dld_dld_link=yes 10554 else 10555 echo "$as_me: failed program was:" >&5 10556 sed 's/^/| /' conftest.$ac_ext >&5 10557 10558 ac_cv_lib_dld_dld_link=no 10559 fi 10560 10561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10562 conftest$ac_exeext conftest.$ac_ext 10563 LIBS=$ac_check_lib_save_LIBS 10564 fi 10565 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 10566 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; } 10567 if test $ac_cv_lib_dld_dld_link = yes; then 10568 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 10569 fi 10570 10571 10572 fi 10573 10574 10575 fi 10576 10577 10578 fi 10579 10580 10581 fi 10582 10583 10584 fi 10585 10586 ;; 10587 esac 10588 10589 if test "x$lt_cv_dlopen" != xno; then 10590 enable_dlopen=yes 10591 else 10592 enable_dlopen=no 10593 fi 10594 10595 case $lt_cv_dlopen in 10596 dlopen) 10597 save_CPPFLAGS="$CPPFLAGS" 10598 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 10599 10600 save_LDFLAGS="$LDFLAGS" 10601 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 10602 10603 save_LIBS="$LIBS" 10604 LIBS="$lt_cv_dlopen_libs $LIBS" 10605 10606 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 10607 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; } 10608 if test "${lt_cv_dlopen_self+set}" = set; then 10609 echo $ECHO_N "(cached) $ECHO_C" >&6 10610 else 10611 if test "$cross_compiling" = yes; then : 10612 lt_cv_dlopen_self=cross 10613 else 10614 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10615 lt_status=$lt_dlunknown 10616 cat > conftest.$ac_ext <<_LT_EOF 10617 #line 10617 "configure" 10618 #include "confdefs.h" 10619 10620 #if HAVE_DLFCN_H 10621 #include <dlfcn.h> 10622 #endif 10623 10624 #include <stdio.h> 10625 10626 #ifdef RTLD_GLOBAL 10627 # define LT_DLGLOBAL RTLD_GLOBAL 10628 #else 10629 # ifdef DL_GLOBAL 10630 # define LT_DLGLOBAL DL_GLOBAL 10631 # else 10632 # define LT_DLGLOBAL 0 10633 # endif 10634 #endif 10635 10636 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we 10637 find out it does not work in some platform. */ 10638 #ifndef LT_DLLAZY_OR_NOW 10639 # ifdef RTLD_LAZY 10640 # define LT_DLLAZY_OR_NOW RTLD_LAZY 10641 # else 10642 # ifdef DL_LAZY 10643 # define LT_DLLAZY_OR_NOW DL_LAZY 10644 # else 10645 # ifdef RTLD_NOW 10646 # define LT_DLLAZY_OR_NOW RTLD_NOW 10647 # else 10648 # ifdef DL_NOW 10649 # define LT_DLLAZY_OR_NOW DL_NOW 10650 # else 10651 # define LT_DLLAZY_OR_NOW 0 10652 # endif 10653 # endif 10654 # endif 10655 # endif 10656 #endif 10657 10658 void fnord() { int i=42;} 10659 int main () 10660 { 10661 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 10662 int status = $lt_dlunknown; 10663 10664 if (self) 10665 { 10666 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 10667 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 10668 /* dlclose (self); */ 10669 } 10670 else 10671 puts (dlerror ()); 10672 10673 return status; 10674 } 10675 _LT_EOF 10676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10677 (eval $ac_link) 2>&5 10678 ac_status=$? 10679 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10680 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 10681 (./conftest; exit; ) >&5 2>/dev/null 10682 lt_status=$? 10683 case x$lt_status in 10684 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 10685 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 10686 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 10687 esac 10688 else : 10689 # compilation failed 10690 lt_cv_dlopen_self=no 10691 fi 10692 fi 10693 rm -fr conftest* 10694 10695 10696 fi 10697 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 10698 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; } 10699 10700 if test "x$lt_cv_dlopen_self" = xyes; then 10701 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 10702 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 10703 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; } 10704 if test "${lt_cv_dlopen_self_static+set}" = set; then 10705 echo $ECHO_N "(cached) $ECHO_C" >&6 10706 else 10707 if test "$cross_compiling" = yes; then : 10708 lt_cv_dlopen_self_static=cross 10709 else 10710 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10711 lt_status=$lt_dlunknown 10712 cat > conftest.$ac_ext <<_LT_EOF 10713 #line 10713 "configure" 10714 #include "confdefs.h" 10715 10716 #if HAVE_DLFCN_H 10717 #include <dlfcn.h> 10718 #endif 10719 10720 #include <stdio.h> 10721 10722 #ifdef RTLD_GLOBAL 10723 # define LT_DLGLOBAL RTLD_GLOBAL 10724 #else 10725 # ifdef DL_GLOBAL 10726 # define LT_DLGLOBAL DL_GLOBAL 10727 # else 10728 # define LT_DLGLOBAL 0 10729 # endif 10730 #endif 10731 10732 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we 10733 find out it does not work in some platform. */ 10734 #ifndef LT_DLLAZY_OR_NOW 10735 # ifdef RTLD_LAZY 10736 # define LT_DLLAZY_OR_NOW RTLD_LAZY 10737 # else 10738 # ifdef DL_LAZY 10739 # define LT_DLLAZY_OR_NOW DL_LAZY 10740 # else 10741 # ifdef RTLD_NOW 10742 # define LT_DLLAZY_OR_NOW RTLD_NOW 10743 # else 10744 # ifdef DL_NOW 10745 # define LT_DLLAZY_OR_NOW DL_NOW 10746 # else 10747 # define LT_DLLAZY_OR_NOW 0 10748 # endif 10749 # endif 10750 # endif 10751 # endif 10752 #endif 10753 10754 void fnord() { int i=42;} 10755 int main () 10756 { 10757 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 10758 int status = $lt_dlunknown; 10759 10760 if (self) 10761 { 10762 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 10763 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 10764 /* dlclose (self); */ 10765 } 10766 else 10767 puts (dlerror ()); 10768 10769 return status; 10770 } 10771 _LT_EOF 10772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10773 (eval $ac_link) 2>&5 10774 ac_status=$? 10775 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10776 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 10777 (./conftest; exit; ) >&5 2>/dev/null 10778 lt_status=$? 10779 case x$lt_status in 10780 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 10781 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 10782 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 10783 esac 10784 else : 10785 # compilation failed 10786 lt_cv_dlopen_self_static=no 10787 fi 10788 fi 10789 rm -fr conftest* 10790 10791 10792 fi 10793 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 10794 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; } 10795 fi 10796 10797 CPPFLAGS="$save_CPPFLAGS" 10798 LDFLAGS="$save_LDFLAGS" 10799 LIBS="$save_LIBS" 10800 ;; 10801 esac 10802 10803 case $lt_cv_dlopen_self in 10804 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 10805 *) enable_dlopen_self=unknown ;; 10806 esac 10807 10808 case $lt_cv_dlopen_self_static in 10809 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 10810 *) enable_dlopen_self_static=unknown ;; 10811 esac 10812 fi 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 striplib= 10831 old_striplib= 10832 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 10833 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; } 10834 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 10835 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 10836 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 10837 { echo "$as_me:$LINENO: result: yes" >&5 10838 echo "${ECHO_T}yes" >&6; } 10839 else 10840 # FIXME - insert some real tests, host_os isn't really good enough 10841 case $host_os in 10842 darwin*) 10843 if test -n "$STRIP" ; then 10844 striplib="$STRIP -x" 10845 old_striplib="$STRIP -S" 10846 { echo "$as_me:$LINENO: result: yes" >&5 10847 echo "${ECHO_T}yes" >&6; } 10848 else 10849 { echo "$as_me:$LINENO: result: no" >&5 10850 echo "${ECHO_T}no" >&6; } 10851 fi 10852 ;; 10853 *) 10854 { echo "$as_me:$LINENO: result: no" >&5 10855 echo "${ECHO_T}no" >&6; } 10856 ;; 10857 esac 10858 fi 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 # Report which library types will actually be built 10872 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 10873 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } 10874 { echo "$as_me:$LINENO: result: $can_build_shared" >&5 10875 echo "${ECHO_T}$can_build_shared" >&6; } 10876 10877 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 10878 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } 10879 test "$can_build_shared" = "no" && enable_shared=no 10880 10881 # On AIX, shared libraries and static libraries use the same namespace, and 10882 # are all built from PIC. 10883 case $host_os in 10884 aix3*) 10885 test "$enable_shared" = yes && enable_static=no 10886 if test -n "$RANLIB"; then 10887 archive_cmds="$archive_cmds~\$RANLIB \$lib" 10888 postinstall_cmds='$RANLIB $lib' 10889 fi 10890 ;; 10891 10892 aix[4-9]*) 10893 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 10894 test "$enable_shared" = yes && enable_static=no 10895 fi 10896 ;; 10897 esac 10898 { echo "$as_me:$LINENO: result: $enable_shared" >&5 10899 echo "${ECHO_T}$enable_shared" >&6; } 10900 10901 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5 10902 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } 10903 # Make sure either enable_shared or enable_static is yes. 10904 test "$enable_shared" = yes || enable_static=yes 10905 { echo "$as_me:$LINENO: result: $enable_static" >&5 10906 echo "${ECHO_T}$enable_static" >&6; } 10907 10908 10909 10910 10911 fi 10912 ac_ext=c 10913 ac_cpp='$CPP $CPPFLAGS' 10914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 10915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 10916 ac_compiler_gnu=$ac_cv_c_compiler_gnu 10917 10918 CC="$lt_save_CC" 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 ac_config_commands="$ac_config_commands libtool" 10933 10934 10935 10936 10937 # Only expand once: 10938 10939 10940 if test "x$CC" != xcc; then 10941 { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5 10942 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; } 10943 else 10944 { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5 10945 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; } 10946 fi 10947 set dummy $CC; ac_cc=`echo $2 | 10948 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 10949 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then 10950 echo $ECHO_N "(cached) $ECHO_C" >&6 10951 else 10952 cat >conftest.$ac_ext <<_ACEOF 10953 /* confdefs.h. */ 10954 _ACEOF 10955 cat confdefs.h >>conftest.$ac_ext 10956 cat >>conftest.$ac_ext <<_ACEOF 10957 /* end confdefs.h. */ 10958 10959 int 10960 main () 10961 { 10962 10963 ; 10964 return 0; 10965 } 10966 _ACEOF 10967 # Make sure it works both with $CC and with simple cc. 10968 # We do the test twice because some compilers refuse to overwrite an 10969 # existing .o file with -o, though they will create one. 10970 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' 10971 rm -f conftest2.* 10972 if { (case "(($ac_try" in 10973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10974 *) ac_try_echo=$ac_try;; 10975 esac 10976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10977 (eval "$ac_try") 2>&5 10978 ac_status=$? 10979 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10980 (exit $ac_status); } && 10981 test -f conftest2.$ac_objext && { (case "(($ac_try" in 10982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10983 *) ac_try_echo=$ac_try;; 10984 esac 10985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10986 (eval "$ac_try") 2>&5 10987 ac_status=$? 10988 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10989 (exit $ac_status); }; 10990 then 10991 eval ac_cv_prog_cc_${ac_cc}_c_o=yes 10992 if test "x$CC" != xcc; then 10993 # Test first that cc exists at all. 10994 if { ac_try='cc -c conftest.$ac_ext >&5' 10995 { (case "(($ac_try" in 10996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10997 *) ac_try_echo=$ac_try;; 10998 esac 10999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11000 (eval "$ac_try") 2>&5 11001 ac_status=$? 11002 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11003 (exit $ac_status); }; }; then 11004 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' 11005 rm -f conftest2.* 11006 if { (case "(($ac_try" in 11007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11008 *) ac_try_echo=$ac_try;; 11009 esac 11010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11011 (eval "$ac_try") 2>&5 11012 ac_status=$? 11013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11014 (exit $ac_status); } && 11015 test -f conftest2.$ac_objext && { (case "(($ac_try" in 11016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11017 *) ac_try_echo=$ac_try;; 11018 esac 11019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11020 (eval "$ac_try") 2>&5 11021 ac_status=$? 11022 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11023 (exit $ac_status); }; 11024 then 11025 # cc works too. 11026 : 11027 else 11028 # cc exists but doesn't like -o. 11029 eval ac_cv_prog_cc_${ac_cc}_c_o=no 11030 fi 11031 fi 11032 fi 11033 else 11034 eval ac_cv_prog_cc_${ac_cc}_c_o=no 11035 fi 11036 rm -f core conftest* 11037 11038 fi 11039 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then 11040 { echo "$as_me:$LINENO: result: yes" >&5 11041 echo "${ECHO_T}yes" >&6; } 11042 else 11043 { echo "$as_me:$LINENO: result: no" >&5 11044 echo "${ECHO_T}no" >&6; } 11045 11046 cat >>confdefs.h <<\_ACEOF 11047 #define NO_MINUS_C_MINUS_O 1 11048 _ACEOF 11049 11050 fi 11051 11052 # FIXME: we rely on the cache variable name because 11053 # there is no other way. 11054 set dummy $CC 11055 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 11056 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then 11057 # Losing compiler, so override with the script. 11058 # FIXME: It is wrong to rewrite CC. 11059 # But if we don't then we get into trouble of one sort or another. 11060 # A longer-term fix would be to have automake use am__CC in this case, 11061 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 11062 CC="$am_aux_dir/compile $CC" 11063 fi 11064 11065 11066 ac_config_headers="$ac_config_headers config.h" 11067 11068 11069 11070 cflags_save="$CFLAGS" 11071 if test -z "$GCC"; then 11072 case $host in 11073 *-*-irix*) 11074 DEBUG="-g -signed" 11075 CFLAGS="-O2 -w -signed" 11076 PROFILE="-p -g3 -O2 -signed" 11077 ;; 11078 sparc-sun-solaris*) 11079 DEBUG="-v -g" 11080 CFLAGS="-xO4 -fast -w -fsimple -native -xcg92" 11081 PROFILE="-v -xpg -g -xO4 -fast -native -fsimple -xcg92 -Dsuncc" 11082 ;; 11083 *) 11084 DEBUG="-g" 11085 CFLAGS="-O" 11086 PROFILE="-g -p" 11087 ;; 11088 esac 11089 else 11090 case $host in 11091 *-*-linux*) 11092 DEBUG="-g -Wall -fsigned-char" 11093 CFLAGS="-O20 -ffast-math -fsigned-char" 11094 PROFILE="-Wall -W -pg -g -O20 -ffast-math -fsigned-char" 11095 ;; 11096 sparc-sun-*) 11097 sparc_cpu="" 11098 { echo "$as_me:$LINENO: checking if gcc supports -mv8" >&5 11099 echo $ECHO_N "checking if gcc supports -mv8... $ECHO_C" >&6; } 11100 old_cflags="$CFLAGS" 11101 CFLAGS="$CFLAGS -mv8" 11102 cat >conftest.$ac_ext <<_ACEOF 11103 /* confdefs.h. */ 11104 _ACEOF 11105 cat confdefs.h >>conftest.$ac_ext 11106 cat >>conftest.$ac_ext <<_ACEOF 11107 /* end confdefs.h. */ 11108 11109 int 11110 main () 11111 { 11112 return 0; 11113 ; 11114 return 0; 11115 } 11116 _ACEOF 11117 rm -f conftest.$ac_objext 11118 if { (ac_try="$ac_compile" 11119 case "(($ac_try" in 11120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11121 *) ac_try_echo=$ac_try;; 11122 esac 11123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11124 (eval "$ac_compile") 2>conftest.er1 11125 ac_status=$? 11126 grep -v '^ *+' conftest.er1 >conftest.err 11127 rm -f conftest.er1 11128 cat conftest.err >&5 11129 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11130 (exit $ac_status); } && { 11131 test -z "$ac_c_werror_flag" || 11132 test ! -s conftest.err 11133 } && test -s conftest.$ac_objext; then 11134 11135 { echo "$as_me:$LINENO: result: yes" >&5 11136 echo "${ECHO_T}yes" >&6; } 11137 sparc_cpu="-mv8" 11138 11139 else 11140 echo "$as_me: failed program was:" >&5 11141 sed 's/^/| /' conftest.$ac_ext >&5 11142 11143 11144 fi 11145 11146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11147 CFLAGS="$old_cflags" 11148 DEBUG="-g -Wall -fsigned-char $sparc_cpu" 11149 CFLAGS="-O20 -ffast-math -fsigned-char $sparc_cpu" 11150 PROFILE="-pg -g -O20 -fsigned-char $sparc_cpu" 11151 ;; 11152 *-*-darwin*) 11153 DEBUG="-fno-common -g -Wall -fsigned-char" 11154 CFLAGS="-fno-common -O4 -Wall -fsigned-char -ffast-math" 11155 PROFILE="-fno-common -O4 -Wall -pg -g -fsigned-char -ffast-math" 11156 ;; 11157 *) 11158 DEBUG="-g -Wall -fsigned-char" 11159 CFLAGS="-O20 -fsigned-char" 11160 PROFILE="-O20 -g -pg -fsigned-char" 11161 ;; 11162 esac 11163 fi 11164 CFLAGS="$CFLAGS $cflags_save" 11165 DEBUG="$DEBUG $cflags_save" 11166 PROFILE="$PROFILE $cflags_save" 11167 11168 11169 11170 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 11171 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 11172 if test "${ac_cv_header_stdc+set}" = set; then 11173 echo $ECHO_N "(cached) $ECHO_C" >&6 11174 else 11175 cat >conftest.$ac_ext <<_ACEOF 11176 /* confdefs.h. */ 11177 _ACEOF 11178 cat confdefs.h >>conftest.$ac_ext 11179 cat >>conftest.$ac_ext <<_ACEOF 11180 /* end confdefs.h. */ 11181 #include <stdlib.h> 11182 #include <stdarg.h> 11183 #include <string.h> 11184 #include <float.h> 11185 11186 int 11187 main () 11188 { 11189 11190 ; 11191 return 0; 11192 } 11193 _ACEOF 11194 rm -f conftest.$ac_objext 11195 if { (ac_try="$ac_compile" 11196 case "(($ac_try" in 11197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11198 *) ac_try_echo=$ac_try;; 11199 esac 11200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11201 (eval "$ac_compile") 2>conftest.er1 11202 ac_status=$? 11203 grep -v '^ *+' conftest.er1 >conftest.err 11204 rm -f conftest.er1 11205 cat conftest.err >&5 11206 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11207 (exit $ac_status); } && { 11208 test -z "$ac_c_werror_flag" || 11209 test ! -s conftest.err 11210 } && test -s conftest.$ac_objext; then 11211 ac_cv_header_stdc=yes 11212 else 11213 echo "$as_me: failed program was:" >&5 11214 sed 's/^/| /' conftest.$ac_ext >&5 11215 11216 ac_cv_header_stdc=no 11217 fi 11218 11219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11220 11221 if test $ac_cv_header_stdc = yes; then 11222 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 11223 cat >conftest.$ac_ext <<_ACEOF 11224 /* confdefs.h. */ 11225 _ACEOF 11226 cat confdefs.h >>conftest.$ac_ext 11227 cat >>conftest.$ac_ext <<_ACEOF 11228 /* end confdefs.h. */ 11229 #include <string.h> 11230 11231 _ACEOF 11232 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 11233 $EGREP "memchr" >/dev/null 2>&1; then 11234 : 11235 else 11236 ac_cv_header_stdc=no 11237 fi 11238 rm -f conftest* 11239 11240 fi 11241 11242 if test $ac_cv_header_stdc = yes; then 11243 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 11244 cat >conftest.$ac_ext <<_ACEOF 11245 /* confdefs.h. */ 11246 _ACEOF 11247 cat confdefs.h >>conftest.$ac_ext 11248 cat >>conftest.$ac_ext <<_ACEOF 11249 /* end confdefs.h. */ 11250 #include <stdlib.h> 11251 11252 _ACEOF 11253 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 11254 $EGREP "free" >/dev/null 2>&1; then 11255 : 11256 else 11257 ac_cv_header_stdc=no 11258 fi 11259 rm -f conftest* 11260 11261 fi 11262 11263 if test $ac_cv_header_stdc = yes; then 11264 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 11265 if test "$cross_compiling" = yes; then 11266 : 11267 else 11268 cat >conftest.$ac_ext <<_ACEOF 11269 /* confdefs.h. */ 11270 _ACEOF 11271 cat confdefs.h >>conftest.$ac_ext 11272 cat >>conftest.$ac_ext <<_ACEOF 11273 /* end confdefs.h. */ 11274 #include <ctype.h> 11275 #include <stdlib.h> 11276 #if ((' ' & 0x0FF) == 0x020) 11277 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 11278 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 11279 #else 11280 # define ISLOWER(c) \ 11281 (('a' <= (c) && (c) <= 'i') \ 11282 || ('j' <= (c) && (c) <= 'r') \ 11283 || ('s' <= (c) && (c) <= 'z')) 11284 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 11285 #endif 11286 11287 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 11288 int 11289 main () 11290 { 11291 int i; 11292 for (i = 0; i < 256; i++) 11293 if (XOR (islower (i), ISLOWER (i)) 11294 || toupper (i) != TOUPPER (i)) 11295 return 2; 11296 return 0; 11297 } 11298 _ACEOF 11299 rm -f conftest$ac_exeext 11300 if { (ac_try="$ac_link" 11301 case "(($ac_try" in 11302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11303 *) ac_try_echo=$ac_try;; 11304 esac 11305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11306 (eval "$ac_link") 2>&5 11307 ac_status=$? 11308 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11309 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11310 { (case "(($ac_try" in 11311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11312 *) ac_try_echo=$ac_try;; 11313 esac 11314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11315 (eval "$ac_try") 2>&5 11316 ac_status=$? 11317 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11318 (exit $ac_status); }; }; then 11319 : 11320 else 11321 echo "$as_me: program exited with status $ac_status" >&5 11322 echo "$as_me: failed program was:" >&5 11323 sed 's/^/| /' conftest.$ac_ext >&5 11324 11325 ( exit $ac_status ) 11326 ac_cv_header_stdc=no 11327 fi 11328 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11329 fi 11330 11331 11332 fi 11333 fi 11334 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 11335 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 11336 if test $ac_cv_header_stdc = yes; then 11337 11338 cat >>confdefs.h <<\_ACEOF 11339 #define STDC_HEADERS 1 11340 _ACEOF 11341 11342 fi 11343 11344 11345 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 11346 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } 11347 if test "${ac_cv_c_const+set}" = set; then 11348 echo $ECHO_N "(cached) $ECHO_C" >&6 11349 else 11350 cat >conftest.$ac_ext <<_ACEOF 11351 /* confdefs.h. */ 11352 _ACEOF 11353 cat confdefs.h >>conftest.$ac_ext 11354 cat >>conftest.$ac_ext <<_ACEOF 11355 /* end confdefs.h. */ 11356 11357 int 11358 main () 11359 { 11360 /* FIXME: Include the comments suggested by Paul. */ 11361 #ifndef __cplusplus 11362 /* Ultrix mips cc rejects this. */ 11363 typedef int charset[2]; 11364 const charset cs; 11365 /* SunOS 4.1.1 cc rejects this. */ 11366 char const *const *pcpcc; 11367 char **ppc; 11368 /* NEC SVR4.0.2 mips cc rejects this. */ 11369 struct point {int x, y;}; 11370 static struct point const zero = {0,0}; 11371 /* AIX XL C 1.02.0.0 rejects this. 11372 It does not let you subtract one const X* pointer from another in 11373 an arm of an if-expression whose if-part is not a constant 11374 expression */ 11375 const char *g = "string"; 11376 pcpcc = &g + (g ? g-g : 0); 11377 /* HPUX 7.0 cc rejects these. */ 11378 ++pcpcc; 11379 ppc = (char**) pcpcc; 11380 pcpcc = (char const *const *) ppc; 11381 { /* SCO 3.2v4 cc rejects this. */ 11382 char *t; 11383 char const *s = 0 ? (char *) 0 : (char const *) 0; 11384 11385 *t++ = 0; 11386 if (s) return 0; 11387 } 11388 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 11389 int x[] = {25, 17}; 11390 const int *foo = &x[0]; 11391 ++foo; 11392 } 11393 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 11394 typedef const int *iptr; 11395 iptr p = 0; 11396 ++p; 11397 } 11398 { /* AIX XL C 1.02.0.0 rejects this saying 11399 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 11400 struct s { int j; const int *ap[3]; }; 11401 struct s *b; b->j = 5; 11402 } 11403 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 11404 const int foo = 10; 11405 if (!foo) return 0; 11406 } 11407 return !cs[0] && !zero.x; 11408 #endif 11409 11410 ; 11411 return 0; 11412 } 11413 _ACEOF 11414 rm -f conftest.$ac_objext 11415 if { (ac_try="$ac_compile" 11416 case "(($ac_try" in 11417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11418 *) ac_try_echo=$ac_try;; 11419 esac 11420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11421 (eval "$ac_compile") 2>conftest.er1 11422 ac_status=$? 11423 grep -v '^ *+' conftest.er1 >conftest.err 11424 rm -f conftest.er1 11425 cat conftest.err >&5 11426 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11427 (exit $ac_status); } && { 11428 test -z "$ac_c_werror_flag" || 11429 test ! -s conftest.err 11430 } && test -s conftest.$ac_objext; then 11431 ac_cv_c_const=yes 11432 else 11433 echo "$as_me: failed program was:" >&5 11434 sed 's/^/| /' conftest.$ac_ext >&5 11435 11436 ac_cv_c_const=no 11437 fi 11438 11439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11440 fi 11441 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 11442 echo "${ECHO_T}$ac_cv_c_const" >&6; } 11443 if test $ac_cv_c_const = no; then 11444 11445 cat >>confdefs.h <<\_ACEOF 11446 #define const 11447 _ACEOF 11448 11449 fi 11450 11451 11452 11453 { echo "$as_me:$LINENO: checking for int16_t" >&5 11454 echo $ECHO_N "checking for int16_t... $ECHO_C" >&6; } 11455 if test "${has_cv_int16_t+set}" = set; then 11456 echo $ECHO_N "(cached) $ECHO_C" >&6 11457 else 11458 if test "$cross_compiling" = yes; then 11459 has_cv_int16_t=no 11460 11461 else 11462 cat >conftest.$ac_ext <<_ACEOF 11463 /* confdefs.h. */ 11464 _ACEOF 11465 cat confdefs.h >>conftest.$ac_ext 11466 cat >>conftest.$ac_ext <<_ACEOF 11467 /* end confdefs.h. */ 11468 11469 #if defined __BEOS__ && !defined __HAIKU__ 11470 #include <inttypes.h> 11471 #endif 11472 #include <sys/types.h> 11473 int16_t foo; 11474 int main() {return 0;} 11475 11476 _ACEOF 11477 rm -f conftest$ac_exeext 11478 if { (ac_try="$ac_link" 11479 case "(($ac_try" in 11480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11481 *) ac_try_echo=$ac_try;; 11482 esac 11483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11484 (eval "$ac_link") 2>&5 11485 ac_status=$? 11486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11487 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11488 { (case "(($ac_try" in 11489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11490 *) ac_try_echo=$ac_try;; 11491 esac 11492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11493 (eval "$ac_try") 2>&5 11494 ac_status=$? 11495 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11496 (exit $ac_status); }; }; then 11497 has_cv_int16_t=yes 11498 else 11499 echo "$as_me: program exited with status $ac_status" >&5 11500 echo "$as_me: failed program was:" >&5 11501 sed 's/^/| /' conftest.$ac_ext >&5 11502 11503 ( exit $ac_status ) 11504 has_cv_int16_t=no 11505 fi 11506 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11507 fi 11508 11509 11510 fi 11511 11512 { echo "$as_me:$LINENO: result: $has_cv_int16_t" >&5 11513 echo "${ECHO_T}$has_cv_int16_t" >&6; } 11514 11515 { echo "$as_me:$LINENO: checking for int32_t" >&5 11516 echo $ECHO_N "checking for int32_t... $ECHO_C" >&6; } 11517 if test "${has_cv_int32_t+set}" = set; then 11518 echo $ECHO_N "(cached) $ECHO_C" >&6 11519 else 11520 if test "$cross_compiling" = yes; then 11521 has_cv_int32_t=no 11522 11523 else 11524 cat >conftest.$ac_ext <<_ACEOF 11525 /* confdefs.h. */ 11526 _ACEOF 11527 cat confdefs.h >>conftest.$ac_ext 11528 cat >>conftest.$ac_ext <<_ACEOF 11529 /* end confdefs.h. */ 11530 11531 #if defined __BEOS__ && !defined __HAIKU__ 11532 #include <inttypes.h> 11533 #endif 11534 #include <sys/types.h> 11535 int32_t foo; 11536 int main() {return 0;} 11537 11538 _ACEOF 11539 rm -f conftest$ac_exeext 11540 if { (ac_try="$ac_link" 11541 case "(($ac_try" in 11542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11543 *) ac_try_echo=$ac_try;; 11544 esac 11545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11546 (eval "$ac_link") 2>&5 11547 ac_status=$? 11548 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11549 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11550 { (case "(($ac_try" in 11551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11552 *) ac_try_echo=$ac_try;; 11553 esac 11554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11555 (eval "$ac_try") 2>&5 11556 ac_status=$? 11557 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11558 (exit $ac_status); }; }; then 11559 has_cv_int32_t=yes 11560 else 11561 echo "$as_me: program exited with status $ac_status" >&5 11562 echo "$as_me: failed program was:" >&5 11563 sed 's/^/| /' conftest.$ac_ext >&5 11564 11565 ( exit $ac_status ) 11566 has_cv_int32_t=no 11567 fi 11568 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11569 fi 11570 11571 11572 fi 11573 11574 { echo "$as_me:$LINENO: result: $has_cv_int32_t" >&5 11575 echo "${ECHO_T}$has_cv_int32_t" >&6; } 11576 11577 { echo "$as_me:$LINENO: checking for uint32_t" >&5 11578 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; } 11579 if test "${has_cv_uint32_t+set}" = set; then 11580 echo $ECHO_N "(cached) $ECHO_C" >&6 11581 else 11582 if test "$cross_compiling" = yes; then 11583 has_cv_uint32_t=no 11584 11585 else 11586 cat >conftest.$ac_ext <<_ACEOF 11587 /* confdefs.h. */ 11588 _ACEOF 11589 cat confdefs.h >>conftest.$ac_ext 11590 cat >>conftest.$ac_ext <<_ACEOF 11591 /* end confdefs.h. */ 11592 11593 #if defined __BEOS__ && !defined __HAIKU__ 11594 #include <inttypes.h> 11595 #endif 11596 #include <sys/types.h> 11597 uint32_t foo; 11598 int main() {return 0;} 11599 11600 _ACEOF 11601 rm -f conftest$ac_exeext 11602 if { (ac_try="$ac_link" 11603 case "(($ac_try" in 11604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11605 *) ac_try_echo=$ac_try;; 11606 esac 11607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11608 (eval "$ac_link") 2>&5 11609 ac_status=$? 11610 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11611 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11612 { (case "(($ac_try" in 11613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11614 *) ac_try_echo=$ac_try;; 11615 esac 11616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11617 (eval "$ac_try") 2>&5 11618 ac_status=$? 11619 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11620 (exit $ac_status); }; }; then 11621 has_cv_uint32_t=yes 11622 else 11623 echo "$as_me: program exited with status $ac_status" >&5 11624 echo "$as_me: failed program was:" >&5 11625 sed 's/^/| /' conftest.$ac_ext >&5 11626 11627 ( exit $ac_status ) 11628 has_cv_uint32_t=no 11629 fi 11630 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11631 fi 11632 11633 11634 fi 11635 11636 { echo "$as_me:$LINENO: result: $has_cv_uint32_t" >&5 11637 echo "${ECHO_T}$has_cv_uint32_t" >&6; } 11638 11639 { echo "$as_me:$LINENO: checking for uint16_t" >&5 11640 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; } 11641 if test "${has_cv_uint16_t+set}" = set; then 11642 echo $ECHO_N "(cached) $ECHO_C" >&6 11643 else 11644 if test "$cross_compiling" = yes; then 11645 has_cv_uint16_t=no 11646 11647 else 11648 cat >conftest.$ac_ext <<_ACEOF 11649 /* confdefs.h. */ 11650 _ACEOF 11651 cat confdefs.h >>conftest.$ac_ext 11652 cat >>conftest.$ac_ext <<_ACEOF 11653 /* end confdefs.h. */ 11654 11655 #if defined __BEOS__ && !defined __HAIKU__ 11656 #include <inttypes.h> 11657 #endif 11658 #include <sys/types.h> 11659 uint16_t foo; 11660 int main() {return 0;} 11661 11662 _ACEOF 11663 rm -f conftest$ac_exeext 11664 if { (ac_try="$ac_link" 11665 case "(($ac_try" in 11666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11667 *) ac_try_echo=$ac_try;; 11668 esac 11669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11670 (eval "$ac_link") 2>&5 11671 ac_status=$? 11672 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11673 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11674 { (case "(($ac_try" in 11675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11676 *) ac_try_echo=$ac_try;; 11677 esac 11678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11679 (eval "$ac_try") 2>&5 11680 ac_status=$? 11681 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11682 (exit $ac_status); }; }; then 11683 has_cv_uint16_t=yes 11684 else 11685 echo "$as_me: program exited with status $ac_status" >&5 11686 echo "$as_me: failed program was:" >&5 11687 sed 's/^/| /' conftest.$ac_ext >&5 11688 11689 ( exit $ac_status ) 11690 has_cv_uint16_t=no 11691 fi 11692 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11693 fi 11694 11695 11696 fi 11697 11698 { echo "$as_me:$LINENO: result: $has_cv_uint16_t" >&5 11699 echo "${ECHO_T}$has_cv_uint16_t" >&6; } 11700 11701 { echo "$as_me:$LINENO: checking for u_int32_t" >&5 11702 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6; } 11703 if test "${has_cv_u_int32_t+set}" = set; then 11704 echo $ECHO_N "(cached) $ECHO_C" >&6 11705 else 11706 if test "$cross_compiling" = yes; then 11707 has_cv_u_int32_t=no 11708 11709 else 11710 cat >conftest.$ac_ext <<_ACEOF 11711 /* confdefs.h. */ 11712 _ACEOF 11713 cat confdefs.h >>conftest.$ac_ext 11714 cat >>conftest.$ac_ext <<_ACEOF 11715 /* end confdefs.h. */ 11716 11717 #if defined __BEOS__ && !defined __HAIKU__ 11718 #include <inttypes.h> 11719 #endif 11720 #include <sys/types.h> 11721 u_int32_t foo; 11722 int main() {return 0;} 11723 11724 _ACEOF 11725 rm -f conftest$ac_exeext 11726 if { (ac_try="$ac_link" 11727 case "(($ac_try" in 11728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11729 *) ac_try_echo=$ac_try;; 11730 esac 11731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11732 (eval "$ac_link") 2>&5 11733 ac_status=$? 11734 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11735 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11736 { (case "(($ac_try" in 11737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11738 *) ac_try_echo=$ac_try;; 11739 esac 11740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11741 (eval "$ac_try") 2>&5 11742 ac_status=$? 11743 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11744 (exit $ac_status); }; }; then 11745 has_cv_u_int32_t=yes 11746 else 11747 echo "$as_me: program exited with status $ac_status" >&5 11748 echo "$as_me: failed program was:" >&5 11749 sed 's/^/| /' conftest.$ac_ext >&5 11750 11751 ( exit $ac_status ) 11752 has_cv_u_int32_t=no 11753 fi 11754 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11755 fi 11756 11757 11758 fi 11759 11760 { echo "$as_me:$LINENO: result: $has_cv_u_int32_t" >&5 11761 echo "${ECHO_T}$has_cv_u_int32_t" >&6; } 11762 11763 { echo "$as_me:$LINENO: checking for u_int16_t" >&5 11764 echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6; } 11765 if test "${has_cv_u_int16_t+set}" = set; then 11766 echo $ECHO_N "(cached) $ECHO_C" >&6 11767 else 11768 if test "$cross_compiling" = yes; then 11769 has_cv_u_int16_t=no 11770 11771 else 11772 cat >conftest.$ac_ext <<_ACEOF 11773 /* confdefs.h. */ 11774 _ACEOF 11775 cat confdefs.h >>conftest.$ac_ext 11776 cat >>conftest.$ac_ext <<_ACEOF 11777 /* end confdefs.h. */ 11778 11779 #if defined __BEOS__ && !defined __HAIKU__ 11780 #include <inttypes.h> 11781 #endif 11782 #include <sys/types.h> 11783 u_int16_t foo; 11784 int main() {return 0;} 11785 11786 _ACEOF 11787 rm -f conftest$ac_exeext 11788 if { (ac_try="$ac_link" 11789 case "(($ac_try" in 11790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11791 *) ac_try_echo=$ac_try;; 11792 esac 11793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11794 (eval "$ac_link") 2>&5 11795 ac_status=$? 11796 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11797 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11798 { (case "(($ac_try" in 11799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11800 *) ac_try_echo=$ac_try;; 11801 esac 11802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11803 (eval "$ac_try") 2>&5 11804 ac_status=$? 11805 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11806 (exit $ac_status); }; }; then 11807 has_cv_u_int16_t=yes 11808 else 11809 echo "$as_me: program exited with status $ac_status" >&5 11810 echo "$as_me: failed program was:" >&5 11811 sed 's/^/| /' conftest.$ac_ext >&5 11812 11813 ( exit $ac_status ) 11814 has_cv_u_int16_t=no 11815 fi 11816 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11817 fi 11818 11819 11820 fi 11821 11822 { echo "$as_me:$LINENO: result: $has_cv_u_int16_t" >&5 11823 echo "${ECHO_T}$has_cv_u_int16_t" >&6; } 11824 11825 { echo "$as_me:$LINENO: checking for int64_t" >&5 11826 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; } 11827 if test "${has_cv_int64_t+set}" = set; then 11828 echo $ECHO_N "(cached) $ECHO_C" >&6 11829 else 11830 if test "$cross_compiling" = yes; then 11831 has_cv_int64_t=no 11832 11833 else 11834 cat >conftest.$ac_ext <<_ACEOF 11835 /* confdefs.h. */ 11836 _ACEOF 11837 cat confdefs.h >>conftest.$ac_ext 11838 cat >>conftest.$ac_ext <<_ACEOF 11839 /* end confdefs.h. */ 11840 11841 #if defined __BEOS__ && !defined __HAIKU__ 11842 #include <inttypes.h> 11843 #endif 11844 #include <sys/types.h> 11845 int64_t foo; 11846 int main() {return 0;} 11847 11848 _ACEOF 11849 rm -f conftest$ac_exeext 11850 if { (ac_try="$ac_link" 11851 case "(($ac_try" in 11852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11853 *) ac_try_echo=$ac_try;; 11854 esac 11855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11856 (eval "$ac_link") 2>&5 11857 ac_status=$? 11858 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11859 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11860 { (case "(($ac_try" in 11861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11862 *) ac_try_echo=$ac_try;; 11863 esac 11864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11865 (eval "$ac_try") 2>&5 11866 ac_status=$? 11867 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11868 (exit $ac_status); }; }; then 11869 has_cv_int64_t=yes 11870 else 11871 echo "$as_me: program exited with status $ac_status" >&5 11872 echo "$as_me: failed program was:" >&5 11873 sed 's/^/| /' conftest.$ac_ext >&5 11874 11875 ( exit $ac_status ) 11876 has_cv_int64_t=no 11877 fi 11878 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11879 fi 11880 11881 11882 fi 11883 11884 { echo "$as_me:$LINENO: result: $has_cv_int64_t" >&5 11885 echo "${ECHO_T}$has_cv_int64_t" >&6; } 11886 11887 { echo "$as_me:$LINENO: checking for short" >&5 11888 echo $ECHO_N "checking for short... $ECHO_C" >&6; } 11889 if test "${ac_cv_type_short+set}" = set; then 11890 echo $ECHO_N "(cached) $ECHO_C" >&6 11891 else 11892 cat >conftest.$ac_ext <<_ACEOF 11893 /* confdefs.h. */ 11894 _ACEOF 11895 cat confdefs.h >>conftest.$ac_ext 11896 cat >>conftest.$ac_ext <<_ACEOF 11897 /* end confdefs.h. */ 11898 $ac_includes_default 11899 typedef short ac__type_new_; 11900 int 11901 main () 11902 { 11903 if ((ac__type_new_ *) 0) 11904 return 0; 11905 if (sizeof (ac__type_new_)) 11906 return 0; 11907 ; 11908 return 0; 11909 } 11910 _ACEOF 11911 rm -f conftest.$ac_objext 11912 if { (ac_try="$ac_compile" 11913 case "(($ac_try" in 11914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11915 *) ac_try_echo=$ac_try;; 11916 esac 11917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11918 (eval "$ac_compile") 2>conftest.er1 11919 ac_status=$? 11920 grep -v '^ *+' conftest.er1 >conftest.err 11921 rm -f conftest.er1 11922 cat conftest.err >&5 11923 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11924 (exit $ac_status); } && { 11925 test -z "$ac_c_werror_flag" || 11926 test ! -s conftest.err 11927 } && test -s conftest.$ac_objext; then 11928 ac_cv_type_short=yes 11929 else 11930 echo "$as_me: failed program was:" >&5 11931 sed 's/^/| /' conftest.$ac_ext >&5 11932 11933 ac_cv_type_short=no 11934 fi 11935 11936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11937 fi 11938 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5 11939 echo "${ECHO_T}$ac_cv_type_short" >&6; } 11940 11941 # The cast to long int works around a bug in the HP C Compiler 11942 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 11943 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 11944 # This bug is HP SR number 8606223364. 11945 { echo "$as_me:$LINENO: checking size of short" >&5 11946 echo $ECHO_N "checking size of short... $ECHO_C" >&6; } 11947 if test "${ac_cv_sizeof_short+set}" = set; then 11948 echo $ECHO_N "(cached) $ECHO_C" >&6 11949 else 11950 if test "$cross_compiling" = yes; then 11951 # Depending upon the size, compute the lo and hi bounds. 11952 cat >conftest.$ac_ext <<_ACEOF 11953 /* confdefs.h. */ 11954 _ACEOF 11955 cat confdefs.h >>conftest.$ac_ext 11956 cat >>conftest.$ac_ext <<_ACEOF 11957 /* end confdefs.h. */ 11958 $ac_includes_default 11959 typedef short ac__type_sizeof_; 11960 int 11961 main () 11962 { 11963 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 11964 test_array [0] = 0 11965 11966 ; 11967 return 0; 11968 } 11969 _ACEOF 11970 rm -f conftest.$ac_objext 11971 if { (ac_try="$ac_compile" 11972 case "(($ac_try" in 11973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11974 *) ac_try_echo=$ac_try;; 11975 esac 11976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11977 (eval "$ac_compile") 2>conftest.er1 11978 ac_status=$? 11979 grep -v '^ *+' conftest.er1 >conftest.err 11980 rm -f conftest.er1 11981 cat conftest.err >&5 11982 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11983 (exit $ac_status); } && { 11984 test -z "$ac_c_werror_flag" || 11985 test ! -s conftest.err 11986 } && test -s conftest.$ac_objext; then 11987 ac_lo=0 ac_mid=0 11988 while :; do 11989 cat >conftest.$ac_ext <<_ACEOF 11990 /* confdefs.h. */ 11991 _ACEOF 11992 cat confdefs.h >>conftest.$ac_ext 11993 cat >>conftest.$ac_ext <<_ACEOF 11994 /* end confdefs.h. */ 11995 $ac_includes_default 11996 typedef short ac__type_sizeof_; 11997 int 11998 main () 11999 { 12000 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 12001 test_array [0] = 0 12002 12003 ; 12004 return 0; 12005 } 12006 _ACEOF 12007 rm -f conftest.$ac_objext 12008 if { (ac_try="$ac_compile" 12009 case "(($ac_try" in 12010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12011 *) ac_try_echo=$ac_try;; 12012 esac 12013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12014 (eval "$ac_compile") 2>conftest.er1 12015 ac_status=$? 12016 grep -v '^ *+' conftest.er1 >conftest.err 12017 rm -f conftest.er1 12018 cat conftest.err >&5 12019 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12020 (exit $ac_status); } && { 12021 test -z "$ac_c_werror_flag" || 12022 test ! -s conftest.err 12023 } && test -s conftest.$ac_objext; then 12024 ac_hi=$ac_mid; break 12025 else 12026 echo "$as_me: failed program was:" >&5 12027 sed 's/^/| /' conftest.$ac_ext >&5 12028 12029 ac_lo=`expr $ac_mid + 1` 12030 if test $ac_lo -le $ac_mid; then 12031 ac_lo= ac_hi= 12032 break 12033 fi 12034 ac_mid=`expr 2 '*' $ac_mid + 1` 12035 fi 12036 12037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12038 done 12039 else 12040 echo "$as_me: failed program was:" >&5 12041 sed 's/^/| /' conftest.$ac_ext >&5 12042 12043 cat >conftest.$ac_ext <<_ACEOF 12044 /* confdefs.h. */ 12045 _ACEOF 12046 cat confdefs.h >>conftest.$ac_ext 12047 cat >>conftest.$ac_ext <<_ACEOF 12048 /* end confdefs.h. */ 12049 $ac_includes_default 12050 typedef short ac__type_sizeof_; 12051 int 12052 main () 12053 { 12054 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 12055 test_array [0] = 0 12056 12057 ; 12058 return 0; 12059 } 12060 _ACEOF 12061 rm -f conftest.$ac_objext 12062 if { (ac_try="$ac_compile" 12063 case "(($ac_try" in 12064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12065 *) ac_try_echo=$ac_try;; 12066 esac 12067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12068 (eval "$ac_compile") 2>conftest.er1 12069 ac_status=$? 12070 grep -v '^ *+' conftest.er1 >conftest.err 12071 rm -f conftest.er1 12072 cat conftest.err >&5 12073 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12074 (exit $ac_status); } && { 12075 test -z "$ac_c_werror_flag" || 12076 test ! -s conftest.err 12077 } && test -s conftest.$ac_objext; then 12078 ac_hi=-1 ac_mid=-1 12079 while :; do 12080 cat >conftest.$ac_ext <<_ACEOF 12081 /* confdefs.h. */ 12082 _ACEOF 12083 cat confdefs.h >>conftest.$ac_ext 12084 cat >>conftest.$ac_ext <<_ACEOF 12085 /* end confdefs.h. */ 12086 $ac_includes_default 12087 typedef short ac__type_sizeof_; 12088 int 12089 main () 12090 { 12091 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 12092 test_array [0] = 0 12093 12094 ; 12095 return 0; 12096 } 12097 _ACEOF 12098 rm -f conftest.$ac_objext 12099 if { (ac_try="$ac_compile" 12100 case "(($ac_try" in 12101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12102 *) ac_try_echo=$ac_try;; 12103 esac 12104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12105 (eval "$ac_compile") 2>conftest.er1 12106 ac_status=$? 12107 grep -v '^ *+' conftest.er1 >conftest.err 12108 rm -f conftest.er1 12109 cat conftest.err >&5 12110 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12111 (exit $ac_status); } && { 12112 test -z "$ac_c_werror_flag" || 12113 test ! -s conftest.err 12114 } && test -s conftest.$ac_objext; then 12115 ac_lo=$ac_mid; break 12116 else 12117 echo "$as_me: failed program was:" >&5 12118 sed 's/^/| /' conftest.$ac_ext >&5 12119 12120 ac_hi=`expr '(' $ac_mid ')' - 1` 12121 if test $ac_mid -le $ac_hi; then 12122 ac_lo= ac_hi= 12123 break 12124 fi 12125 ac_mid=`expr 2 '*' $ac_mid` 12126 fi 12127 12128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12129 done 12130 else 12131 echo "$as_me: failed program was:" >&5 12132 sed 's/^/| /' conftest.$ac_ext >&5 12133 12134 ac_lo= ac_hi= 12135 fi 12136 12137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12138 fi 12139 12140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12141 # Binary search between lo and hi bounds. 12142 while test "x$ac_lo" != "x$ac_hi"; do 12143 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 12144 cat >conftest.$ac_ext <<_ACEOF 12145 /* confdefs.h. */ 12146 _ACEOF 12147 cat confdefs.h >>conftest.$ac_ext 12148 cat >>conftest.$ac_ext <<_ACEOF 12149 /* end confdefs.h. */ 12150 $ac_includes_default 12151 typedef short ac__type_sizeof_; 12152 int 12153 main () 12154 { 12155 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 12156 test_array [0] = 0 12157 12158 ; 12159 return 0; 12160 } 12161 _ACEOF 12162 rm -f conftest.$ac_objext 12163 if { (ac_try="$ac_compile" 12164 case "(($ac_try" in 12165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12166 *) ac_try_echo=$ac_try;; 12167 esac 12168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12169 (eval "$ac_compile") 2>conftest.er1 12170 ac_status=$? 12171 grep -v '^ *+' conftest.er1 >conftest.err 12172 rm -f conftest.er1 12173 cat conftest.err >&5 12174 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12175 (exit $ac_status); } && { 12176 test -z "$ac_c_werror_flag" || 12177 test ! -s conftest.err 12178 } && test -s conftest.$ac_objext; then 12179 ac_hi=$ac_mid 12180 else 12181 echo "$as_me: failed program was:" >&5 12182 sed 's/^/| /' conftest.$ac_ext >&5 12183 12184 ac_lo=`expr '(' $ac_mid ')' + 1` 12185 fi 12186 12187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12188 done 12189 case $ac_lo in 12190 ?*) ac_cv_sizeof_short=$ac_lo;; 12191 '') if test "$ac_cv_type_short" = yes; then 12192 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short) 12193 See \`config.log' for more details." >&5 12194 echo "$as_me: error: cannot compute sizeof (short) 12195 See \`config.log' for more details." >&2;} 12196 { (exit 77); exit 77; }; } 12197 else 12198 ac_cv_sizeof_short=0 12199 fi ;; 12200 esac 12201 else 12202 cat >conftest.$ac_ext <<_ACEOF 12203 /* confdefs.h. */ 12204 _ACEOF 12205 cat confdefs.h >>conftest.$ac_ext 12206 cat >>conftest.$ac_ext <<_ACEOF 12207 /* end confdefs.h. */ 12208 $ac_includes_default 12209 typedef short ac__type_sizeof_; 12210 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 12211 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 12212 #include <stdio.h> 12213 #include <stdlib.h> 12214 int 12215 main () 12216 { 12217 12218 FILE *f = fopen ("conftest.val", "w"); 12219 if (! f) 12220 return 1; 12221 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 12222 { 12223 long int i = longval (); 12224 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 12225 return 1; 12226 fprintf (f, "%ld\n", i); 12227 } 12228 else 12229 { 12230 unsigned long int i = ulongval (); 12231 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 12232 return 1; 12233 fprintf (f, "%lu\n", i); 12234 } 12235 return ferror (f) || fclose (f) != 0; 12236 12237 ; 12238 return 0; 12239 } 12240 _ACEOF 12241 rm -f conftest$ac_exeext 12242 if { (ac_try="$ac_link" 12243 case "(($ac_try" in 12244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12245 *) ac_try_echo=$ac_try;; 12246 esac 12247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12248 (eval "$ac_link") 2>&5 12249 ac_status=$? 12250 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12251 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12252 { (case "(($ac_try" in 12253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12254 *) ac_try_echo=$ac_try;; 12255 esac 12256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12257 (eval "$ac_try") 2>&5 12258 ac_status=$? 12259 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12260 (exit $ac_status); }; }; then 12261 ac_cv_sizeof_short=`cat conftest.val` 12262 else 12263 echo "$as_me: program exited with status $ac_status" >&5 12264 echo "$as_me: failed program was:" >&5 12265 sed 's/^/| /' conftest.$ac_ext >&5 12266 12267 ( exit $ac_status ) 12268 if test "$ac_cv_type_short" = yes; then 12269 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short) 12270 See \`config.log' for more details." >&5 12271 echo "$as_me: error: cannot compute sizeof (short) 12272 See \`config.log' for more details." >&2;} 12273 { (exit 77); exit 77; }; } 12274 else 12275 ac_cv_sizeof_short=0 12276 fi 12277 fi 12278 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12279 fi 12280 rm -f conftest.val 12281 fi 12282 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5 12283 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; } 12284 12285 12286 12287 cat >>confdefs.h <<_ACEOF 12288 #define SIZEOF_SHORT $ac_cv_sizeof_short 12289 _ACEOF 12290 12291 12292 { echo "$as_me:$LINENO: checking for int" >&5 12293 echo $ECHO_N "checking for int... $ECHO_C" >&6; } 12294 if test "${ac_cv_type_int+set}" = set; then 12295 echo $ECHO_N "(cached) $ECHO_C" >&6 12296 else 12297 cat >conftest.$ac_ext <<_ACEOF 12298 /* confdefs.h. */ 12299 _ACEOF 12300 cat confdefs.h >>conftest.$ac_ext 12301 cat >>conftest.$ac_ext <<_ACEOF 12302 /* end confdefs.h. */ 12303 $ac_includes_default 12304 typedef int ac__type_new_; 12305 int 12306 main () 12307 { 12308 if ((ac__type_new_ *) 0) 12309 return 0; 12310 if (sizeof (ac__type_new_)) 12311 return 0; 12312 ; 12313 return 0; 12314 } 12315 _ACEOF 12316 rm -f conftest.$ac_objext 12317 if { (ac_try="$ac_compile" 12318 case "(($ac_try" in 12319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12320 *) ac_try_echo=$ac_try;; 12321 esac 12322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12323 (eval "$ac_compile") 2>conftest.er1 12324 ac_status=$? 12325 grep -v '^ *+' conftest.er1 >conftest.err 12326 rm -f conftest.er1 12327 cat conftest.err >&5 12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12329 (exit $ac_status); } && { 12330 test -z "$ac_c_werror_flag" || 12331 test ! -s conftest.err 12332 } && test -s conftest.$ac_objext; then 12333 ac_cv_type_int=yes 12334 else 12335 echo "$as_me: failed program was:" >&5 12336 sed 's/^/| /' conftest.$ac_ext >&5 12337 12338 ac_cv_type_int=no 12339 fi 12340 12341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12342 fi 12343 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 12344 echo "${ECHO_T}$ac_cv_type_int" >&6; } 12345 12346 # The cast to long int works around a bug in the HP C Compiler 12347 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 12348 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 12349 # This bug is HP SR number 8606223364. 12350 { echo "$as_me:$LINENO: checking size of int" >&5 12351 echo $ECHO_N "checking size of int... $ECHO_C" >&6; } 12352 if test "${ac_cv_sizeof_int+set}" = set; then 12353 echo $ECHO_N "(cached) $ECHO_C" >&6 12354 else 12355 if test "$cross_compiling" = yes; then 12356 # Depending upon the size, compute the lo and hi bounds. 12357 cat >conftest.$ac_ext <<_ACEOF 12358 /* confdefs.h. */ 12359 _ACEOF 12360 cat confdefs.h >>conftest.$ac_ext 12361 cat >>conftest.$ac_ext <<_ACEOF 12362 /* end confdefs.h. */ 12363 $ac_includes_default 12364 typedef int ac__type_sizeof_; 12365 int 12366 main () 12367 { 12368 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 12369 test_array [0] = 0 12370 12371 ; 12372 return 0; 12373 } 12374 _ACEOF 12375 rm -f conftest.$ac_objext 12376 if { (ac_try="$ac_compile" 12377 case "(($ac_try" in 12378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12379 *) ac_try_echo=$ac_try;; 12380 esac 12381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12382 (eval "$ac_compile") 2>conftest.er1 12383 ac_status=$? 12384 grep -v '^ *+' conftest.er1 >conftest.err 12385 rm -f conftest.er1 12386 cat conftest.err >&5 12387 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12388 (exit $ac_status); } && { 12389 test -z "$ac_c_werror_flag" || 12390 test ! -s conftest.err 12391 } && test -s conftest.$ac_objext; then 12392 ac_lo=0 ac_mid=0 12393 while :; do 12394 cat >conftest.$ac_ext <<_ACEOF 12395 /* confdefs.h. */ 12396 _ACEOF 12397 cat confdefs.h >>conftest.$ac_ext 12398 cat >>conftest.$ac_ext <<_ACEOF 12399 /* end confdefs.h. */ 12400 $ac_includes_default 12401 typedef int ac__type_sizeof_; 12402 int 12403 main () 12404 { 12405 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 12406 test_array [0] = 0 12407 12408 ; 12409 return 0; 12410 } 12411 _ACEOF 12412 rm -f conftest.$ac_objext 12413 if { (ac_try="$ac_compile" 12414 case "(($ac_try" in 12415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12416 *) ac_try_echo=$ac_try;; 12417 esac 12418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12419 (eval "$ac_compile") 2>conftest.er1 12420 ac_status=$? 12421 grep -v '^ *+' conftest.er1 >conftest.err 12422 rm -f conftest.er1 12423 cat conftest.err >&5 12424 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12425 (exit $ac_status); } && { 12426 test -z "$ac_c_werror_flag" || 12427 test ! -s conftest.err 12428 } && test -s conftest.$ac_objext; then 12429 ac_hi=$ac_mid; break 12430 else 12431 echo "$as_me: failed program was:" >&5 12432 sed 's/^/| /' conftest.$ac_ext >&5 12433 12434 ac_lo=`expr $ac_mid + 1` 12435 if test $ac_lo -le $ac_mid; then 12436 ac_lo= ac_hi= 12437 break 12438 fi 12439 ac_mid=`expr 2 '*' $ac_mid + 1` 12440 fi 12441 12442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12443 done 12444 else 12445 echo "$as_me: failed program was:" >&5 12446 sed 's/^/| /' conftest.$ac_ext >&5 12447 12448 cat >conftest.$ac_ext <<_ACEOF 12449 /* confdefs.h. */ 12450 _ACEOF 12451 cat confdefs.h >>conftest.$ac_ext 12452 cat >>conftest.$ac_ext <<_ACEOF 12453 /* end confdefs.h. */ 12454 $ac_includes_default 12455 typedef int ac__type_sizeof_; 12456 int 12457 main () 12458 { 12459 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 12460 test_array [0] = 0 12461 12462 ; 12463 return 0; 12464 } 12465 _ACEOF 12466 rm -f conftest.$ac_objext 12467 if { (ac_try="$ac_compile" 12468 case "(($ac_try" in 12469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12470 *) ac_try_echo=$ac_try;; 12471 esac 12472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12473 (eval "$ac_compile") 2>conftest.er1 12474 ac_status=$? 12475 grep -v '^ *+' conftest.er1 >conftest.err 12476 rm -f conftest.er1 12477 cat conftest.err >&5 12478 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12479 (exit $ac_status); } && { 12480 test -z "$ac_c_werror_flag" || 12481 test ! -s conftest.err 12482 } && test -s conftest.$ac_objext; then 12483 ac_hi=-1 ac_mid=-1 12484 while :; do 12485 cat >conftest.$ac_ext <<_ACEOF 12486 /* confdefs.h. */ 12487 _ACEOF 12488 cat confdefs.h >>conftest.$ac_ext 12489 cat >>conftest.$ac_ext <<_ACEOF 12490 /* end confdefs.h. */ 12491 $ac_includes_default 12492 typedef int ac__type_sizeof_; 12493 int 12494 main () 12495 { 12496 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 12497 test_array [0] = 0 12498 12499 ; 12500 return 0; 12501 } 12502 _ACEOF 12503 rm -f conftest.$ac_objext 12504 if { (ac_try="$ac_compile" 12505 case "(($ac_try" in 12506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12507 *) ac_try_echo=$ac_try;; 12508 esac 12509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12510 (eval "$ac_compile") 2>conftest.er1 12511 ac_status=$? 12512 grep -v '^ *+' conftest.er1 >conftest.err 12513 rm -f conftest.er1 12514 cat conftest.err >&5 12515 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12516 (exit $ac_status); } && { 12517 test -z "$ac_c_werror_flag" || 12518 test ! -s conftest.err 12519 } && test -s conftest.$ac_objext; then 12520 ac_lo=$ac_mid; break 12521 else 12522 echo "$as_me: failed program was:" >&5 12523 sed 's/^/| /' conftest.$ac_ext >&5 12524 12525 ac_hi=`expr '(' $ac_mid ')' - 1` 12526 if test $ac_mid -le $ac_hi; then 12527 ac_lo= ac_hi= 12528 break 12529 fi 12530 ac_mid=`expr 2 '*' $ac_mid` 12531 fi 12532 12533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12534 done 12535 else 12536 echo "$as_me: failed program was:" >&5 12537 sed 's/^/| /' conftest.$ac_ext >&5 12538 12539 ac_lo= ac_hi= 12540 fi 12541 12542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12543 fi 12544 12545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12546 # Binary search between lo and hi bounds. 12547 while test "x$ac_lo" != "x$ac_hi"; do 12548 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 12549 cat >conftest.$ac_ext <<_ACEOF 12550 /* confdefs.h. */ 12551 _ACEOF 12552 cat confdefs.h >>conftest.$ac_ext 12553 cat >>conftest.$ac_ext <<_ACEOF 12554 /* end confdefs.h. */ 12555 $ac_includes_default 12556 typedef int ac__type_sizeof_; 12557 int 12558 main () 12559 { 12560 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 12561 test_array [0] = 0 12562 12563 ; 12564 return 0; 12565 } 12566 _ACEOF 12567 rm -f conftest.$ac_objext 12568 if { (ac_try="$ac_compile" 12569 case "(($ac_try" in 12570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12571 *) ac_try_echo=$ac_try;; 12572 esac 12573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12574 (eval "$ac_compile") 2>conftest.er1 12575 ac_status=$? 12576 grep -v '^ *+' conftest.er1 >conftest.err 12577 rm -f conftest.er1 12578 cat conftest.err >&5 12579 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12580 (exit $ac_status); } && { 12581 test -z "$ac_c_werror_flag" || 12582 test ! -s conftest.err 12583 } && test -s conftest.$ac_objext; then 12584 ac_hi=$ac_mid 12585 else 12586 echo "$as_me: failed program was:" >&5 12587 sed 's/^/| /' conftest.$ac_ext >&5 12588 12589 ac_lo=`expr '(' $ac_mid ')' + 1` 12590 fi 12591 12592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12593 done 12594 case $ac_lo in 12595 ?*) ac_cv_sizeof_int=$ac_lo;; 12596 '') if test "$ac_cv_type_int" = yes; then 12597 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) 12598 See \`config.log' for more details." >&5 12599 echo "$as_me: error: cannot compute sizeof (int) 12600 See \`config.log' for more details." >&2;} 12601 { (exit 77); exit 77; }; } 12602 else 12603 ac_cv_sizeof_int=0 12604 fi ;; 12605 esac 12606 else 12607 cat >conftest.$ac_ext <<_ACEOF 12608 /* confdefs.h. */ 12609 _ACEOF 12610 cat confdefs.h >>conftest.$ac_ext 12611 cat >>conftest.$ac_ext <<_ACEOF 12612 /* end confdefs.h. */ 12613 $ac_includes_default 12614 typedef int ac__type_sizeof_; 12615 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 12616 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 12617 #include <stdio.h> 12618 #include <stdlib.h> 12619 int 12620 main () 12621 { 12622 12623 FILE *f = fopen ("conftest.val", "w"); 12624 if (! f) 12625 return 1; 12626 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 12627 { 12628 long int i = longval (); 12629 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 12630 return 1; 12631 fprintf (f, "%ld\n", i); 12632 } 12633 else 12634 { 12635 unsigned long int i = ulongval (); 12636 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 12637 return 1; 12638 fprintf (f, "%lu\n", i); 12639 } 12640 return ferror (f) || fclose (f) != 0; 12641 12642 ; 12643 return 0; 12644 } 12645 _ACEOF 12646 rm -f conftest$ac_exeext 12647 if { (ac_try="$ac_link" 12648 case "(($ac_try" in 12649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12650 *) ac_try_echo=$ac_try;; 12651 esac 12652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12653 (eval "$ac_link") 2>&5 12654 ac_status=$? 12655 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12656 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12657 { (case "(($ac_try" in 12658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12659 *) ac_try_echo=$ac_try;; 12660 esac 12661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12662 (eval "$ac_try") 2>&5 12663 ac_status=$? 12664 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12665 (exit $ac_status); }; }; then 12666 ac_cv_sizeof_int=`cat conftest.val` 12667 else 12668 echo "$as_me: program exited with status $ac_status" >&5 12669 echo "$as_me: failed program was:" >&5 12670 sed 's/^/| /' conftest.$ac_ext >&5 12671 12672 ( exit $ac_status ) 12673 if test "$ac_cv_type_int" = yes; then 12674 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) 12675 See \`config.log' for more details." >&5 12676 echo "$as_me: error: cannot compute sizeof (int) 12677 See \`config.log' for more details." >&2;} 12678 { (exit 77); exit 77; }; } 12679 else 12680 ac_cv_sizeof_int=0 12681 fi 12682 fi 12683 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12684 fi 12685 rm -f conftest.val 12686 fi 12687 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 12688 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; } 12689 12690 12691 12692 cat >>confdefs.h <<_ACEOF 12693 #define SIZEOF_INT $ac_cv_sizeof_int 12694 _ACEOF 12695 12696 12697 { echo "$as_me:$LINENO: checking for long" >&5 12698 echo $ECHO_N "checking for long... $ECHO_C" >&6; } 12699 if test "${ac_cv_type_long+set}" = set; then 12700 echo $ECHO_N "(cached) $ECHO_C" >&6 12701 else 12702 cat >conftest.$ac_ext <<_ACEOF 12703 /* confdefs.h. */ 12704 _ACEOF 12705 cat confdefs.h >>conftest.$ac_ext 12706 cat >>conftest.$ac_ext <<_ACEOF 12707 /* end confdefs.h. */ 12708 $ac_includes_default 12709 typedef long ac__type_new_; 12710 int 12711 main () 12712 { 12713 if ((ac__type_new_ *) 0) 12714 return 0; 12715 if (sizeof (ac__type_new_)) 12716 return 0; 12717 ; 12718 return 0; 12719 } 12720 _ACEOF 12721 rm -f conftest.$ac_objext 12722 if { (ac_try="$ac_compile" 12723 case "(($ac_try" in 12724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12725 *) ac_try_echo=$ac_try;; 12726 esac 12727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12728 (eval "$ac_compile") 2>conftest.er1 12729 ac_status=$? 12730 grep -v '^ *+' conftest.er1 >conftest.err 12731 rm -f conftest.er1 12732 cat conftest.err >&5 12733 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12734 (exit $ac_status); } && { 12735 test -z "$ac_c_werror_flag" || 12736 test ! -s conftest.err 12737 } && test -s conftest.$ac_objext; then 12738 ac_cv_type_long=yes 12739 else 12740 echo "$as_me: failed program was:" >&5 12741 sed 's/^/| /' conftest.$ac_ext >&5 12742 12743 ac_cv_type_long=no 12744 fi 12745 12746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12747 fi 12748 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5 12749 echo "${ECHO_T}$ac_cv_type_long" >&6; } 12750 12751 # The cast to long int works around a bug in the HP C Compiler 12752 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 12753 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 12754 # This bug is HP SR number 8606223364. 12755 { echo "$as_me:$LINENO: checking size of long" >&5 12756 echo $ECHO_N "checking size of long... $ECHO_C" >&6; } 12757 if test "${ac_cv_sizeof_long+set}" = set; then 12758 echo $ECHO_N "(cached) $ECHO_C" >&6 12759 else 12760 if test "$cross_compiling" = yes; then 12761 # Depending upon the size, compute the lo and hi bounds. 12762 cat >conftest.$ac_ext <<_ACEOF 12763 /* confdefs.h. */ 12764 _ACEOF 12765 cat confdefs.h >>conftest.$ac_ext 12766 cat >>conftest.$ac_ext <<_ACEOF 12767 /* end confdefs.h. */ 12768 $ac_includes_default 12769 typedef long ac__type_sizeof_; 12770 int 12771 main () 12772 { 12773 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 12774 test_array [0] = 0 12775 12776 ; 12777 return 0; 12778 } 12779 _ACEOF 12780 rm -f conftest.$ac_objext 12781 if { (ac_try="$ac_compile" 12782 case "(($ac_try" in 12783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12784 *) ac_try_echo=$ac_try;; 12785 esac 12786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12787 (eval "$ac_compile") 2>conftest.er1 12788 ac_status=$? 12789 grep -v '^ *+' conftest.er1 >conftest.err 12790 rm -f conftest.er1 12791 cat conftest.err >&5 12792 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12793 (exit $ac_status); } && { 12794 test -z "$ac_c_werror_flag" || 12795 test ! -s conftest.err 12796 } && test -s conftest.$ac_objext; then 12797 ac_lo=0 ac_mid=0 12798 while :; do 12799 cat >conftest.$ac_ext <<_ACEOF 12800 /* confdefs.h. */ 12801 _ACEOF 12802 cat confdefs.h >>conftest.$ac_ext 12803 cat >>conftest.$ac_ext <<_ACEOF 12804 /* end confdefs.h. */ 12805 $ac_includes_default 12806 typedef long ac__type_sizeof_; 12807 int 12808 main () 12809 { 12810 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 12811 test_array [0] = 0 12812 12813 ; 12814 return 0; 12815 } 12816 _ACEOF 12817 rm -f conftest.$ac_objext 12818 if { (ac_try="$ac_compile" 12819 case "(($ac_try" in 12820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12821 *) ac_try_echo=$ac_try;; 12822 esac 12823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12824 (eval "$ac_compile") 2>conftest.er1 12825 ac_status=$? 12826 grep -v '^ *+' conftest.er1 >conftest.err 12827 rm -f conftest.er1 12828 cat conftest.err >&5 12829 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12830 (exit $ac_status); } && { 12831 test -z "$ac_c_werror_flag" || 12832 test ! -s conftest.err 12833 } && test -s conftest.$ac_objext; then 12834 ac_hi=$ac_mid; break 12835 else 12836 echo "$as_me: failed program was:" >&5 12837 sed 's/^/| /' conftest.$ac_ext >&5 12838 12839 ac_lo=`expr $ac_mid + 1` 12840 if test $ac_lo -le $ac_mid; then 12841 ac_lo= ac_hi= 12842 break 12843 fi 12844 ac_mid=`expr 2 '*' $ac_mid + 1` 12845 fi 12846 12847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12848 done 12849 else 12850 echo "$as_me: failed program was:" >&5 12851 sed 's/^/| /' conftest.$ac_ext >&5 12852 12853 cat >conftest.$ac_ext <<_ACEOF 12854 /* confdefs.h. */ 12855 _ACEOF 12856 cat confdefs.h >>conftest.$ac_ext 12857 cat >>conftest.$ac_ext <<_ACEOF 12858 /* end confdefs.h. */ 12859 $ac_includes_default 12860 typedef long ac__type_sizeof_; 12861 int 12862 main () 12863 { 12864 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 12865 test_array [0] = 0 12866 12867 ; 12868 return 0; 12869 } 12870 _ACEOF 12871 rm -f conftest.$ac_objext 12872 if { (ac_try="$ac_compile" 12873 case "(($ac_try" in 12874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12875 *) ac_try_echo=$ac_try;; 12876 esac 12877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12878 (eval "$ac_compile") 2>conftest.er1 12879 ac_status=$? 12880 grep -v '^ *+' conftest.er1 >conftest.err 12881 rm -f conftest.er1 12882 cat conftest.err >&5 12883 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12884 (exit $ac_status); } && { 12885 test -z "$ac_c_werror_flag" || 12886 test ! -s conftest.err 12887 } && test -s conftest.$ac_objext; then 12888 ac_hi=-1 ac_mid=-1 12889 while :; do 12890 cat >conftest.$ac_ext <<_ACEOF 12891 /* confdefs.h. */ 12892 _ACEOF 12893 cat confdefs.h >>conftest.$ac_ext 12894 cat >>conftest.$ac_ext <<_ACEOF 12895 /* end confdefs.h. */ 12896 $ac_includes_default 12897 typedef long ac__type_sizeof_; 12898 int 12899 main () 12900 { 12901 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 12902 test_array [0] = 0 12903 12904 ; 12905 return 0; 12906 } 12907 _ACEOF 12908 rm -f conftest.$ac_objext 12909 if { (ac_try="$ac_compile" 12910 case "(($ac_try" in 12911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12912 *) ac_try_echo=$ac_try;; 12913 esac 12914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12915 (eval "$ac_compile") 2>conftest.er1 12916 ac_status=$? 12917 grep -v '^ *+' conftest.er1 >conftest.err 12918 rm -f conftest.er1 12919 cat conftest.err >&5 12920 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12921 (exit $ac_status); } && { 12922 test -z "$ac_c_werror_flag" || 12923 test ! -s conftest.err 12924 } && test -s conftest.$ac_objext; then 12925 ac_lo=$ac_mid; break 12926 else 12927 echo "$as_me: failed program was:" >&5 12928 sed 's/^/| /' conftest.$ac_ext >&5 12929 12930 ac_hi=`expr '(' $ac_mid ')' - 1` 12931 if test $ac_mid -le $ac_hi; then 12932 ac_lo= ac_hi= 12933 break 12934 fi 12935 ac_mid=`expr 2 '*' $ac_mid` 12936 fi 12937 12938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12939 done 12940 else 12941 echo "$as_me: failed program was:" >&5 12942 sed 's/^/| /' conftest.$ac_ext >&5 12943 12944 ac_lo= ac_hi= 12945 fi 12946 12947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12948 fi 12949 12950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12951 # Binary search between lo and hi bounds. 12952 while test "x$ac_lo" != "x$ac_hi"; do 12953 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 12954 cat >conftest.$ac_ext <<_ACEOF 12955 /* confdefs.h. */ 12956 _ACEOF 12957 cat confdefs.h >>conftest.$ac_ext 12958 cat >>conftest.$ac_ext <<_ACEOF 12959 /* end confdefs.h. */ 12960 $ac_includes_default 12961 typedef long ac__type_sizeof_; 12962 int 12963 main () 12964 { 12965 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 12966 test_array [0] = 0 12967 12968 ; 12969 return 0; 12970 } 12971 _ACEOF 12972 rm -f conftest.$ac_objext 12973 if { (ac_try="$ac_compile" 12974 case "(($ac_try" in 12975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12976 *) ac_try_echo=$ac_try;; 12977 esac 12978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12979 (eval "$ac_compile") 2>conftest.er1 12980 ac_status=$? 12981 grep -v '^ *+' conftest.er1 >conftest.err 12982 rm -f conftest.er1 12983 cat conftest.err >&5 12984 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12985 (exit $ac_status); } && { 12986 test -z "$ac_c_werror_flag" || 12987 test ! -s conftest.err 12988 } && test -s conftest.$ac_objext; then 12989 ac_hi=$ac_mid 12990 else 12991 echo "$as_me: failed program was:" >&5 12992 sed 's/^/| /' conftest.$ac_ext >&5 12993 12994 ac_lo=`expr '(' $ac_mid ')' + 1` 12995 fi 12996 12997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12998 done 12999 case $ac_lo in 13000 ?*) ac_cv_sizeof_long=$ac_lo;; 13001 '') if test "$ac_cv_type_long" = yes; then 13002 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) 13003 See \`config.log' for more details." >&5 13004 echo "$as_me: error: cannot compute sizeof (long) 13005 See \`config.log' for more details." >&2;} 13006 { (exit 77); exit 77; }; } 13007 else 13008 ac_cv_sizeof_long=0 13009 fi ;; 13010 esac 13011 else 13012 cat >conftest.$ac_ext <<_ACEOF 13013 /* confdefs.h. */ 13014 _ACEOF 13015 cat confdefs.h >>conftest.$ac_ext 13016 cat >>conftest.$ac_ext <<_ACEOF 13017 /* end confdefs.h. */ 13018 $ac_includes_default 13019 typedef long ac__type_sizeof_; 13020 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 13021 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 13022 #include <stdio.h> 13023 #include <stdlib.h> 13024 int 13025 main () 13026 { 13027 13028 FILE *f = fopen ("conftest.val", "w"); 13029 if (! f) 13030 return 1; 13031 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 13032 { 13033 long int i = longval (); 13034 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 13035 return 1; 13036 fprintf (f, "%ld\n", i); 13037 } 13038 else 13039 { 13040 unsigned long int i = ulongval (); 13041 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 13042 return 1; 13043 fprintf (f, "%lu\n", i); 13044 } 13045 return ferror (f) || fclose (f) != 0; 13046 13047 ; 13048 return 0; 13049 } 13050 _ACEOF 13051 rm -f conftest$ac_exeext 13052 if { (ac_try="$ac_link" 13053 case "(($ac_try" in 13054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13055 *) ac_try_echo=$ac_try;; 13056 esac 13057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13058 (eval "$ac_link") 2>&5 13059 ac_status=$? 13060 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13061 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 13062 { (case "(($ac_try" in 13063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13064 *) ac_try_echo=$ac_try;; 13065 esac 13066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13067 (eval "$ac_try") 2>&5 13068 ac_status=$? 13069 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13070 (exit $ac_status); }; }; then 13071 ac_cv_sizeof_long=`cat conftest.val` 13072 else 13073 echo "$as_me: program exited with status $ac_status" >&5 13074 echo "$as_me: failed program was:" >&5 13075 sed 's/^/| /' conftest.$ac_ext >&5 13076 13077 ( exit $ac_status ) 13078 if test "$ac_cv_type_long" = yes; then 13079 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) 13080 See \`config.log' for more details." >&5 13081 echo "$as_me: error: cannot compute sizeof (long) 13082 See \`config.log' for more details." >&2;} 13083 { (exit 77); exit 77; }; } 13084 else 13085 ac_cv_sizeof_long=0 13086 fi 13087 fi 13088 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 13089 fi 13090 rm -f conftest.val 13091 fi 13092 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 13093 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; } 13094 13095 13096 13097 cat >>confdefs.h <<_ACEOF 13098 #define SIZEOF_LONG $ac_cv_sizeof_long 13099 _ACEOF 13100 13101 13102 { echo "$as_me:$LINENO: checking for long long" >&5 13103 echo $ECHO_N "checking for long long... $ECHO_C" >&6; } 13104 if test "${ac_cv_type_long_long+set}" = set; then 13105 echo $ECHO_N "(cached) $ECHO_C" >&6 13106 else 13107 cat >conftest.$ac_ext <<_ACEOF 13108 /* confdefs.h. */ 13109 _ACEOF 13110 cat confdefs.h >>conftest.$ac_ext 13111 cat >>conftest.$ac_ext <<_ACEOF 13112 /* end confdefs.h. */ 13113 $ac_includes_default 13114 typedef long long ac__type_new_; 13115 int 13116 main () 13117 { 13118 if ((ac__type_new_ *) 0) 13119 return 0; 13120 if (sizeof (ac__type_new_)) 13121 return 0; 13122 ; 13123 return 0; 13124 } 13125 _ACEOF 13126 rm -f conftest.$ac_objext 13127 if { (ac_try="$ac_compile" 13128 case "(($ac_try" in 13129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13130 *) ac_try_echo=$ac_try;; 13131 esac 13132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13133 (eval "$ac_compile") 2>conftest.er1 13134 ac_status=$? 13135 grep -v '^ *+' conftest.er1 >conftest.err 13136 rm -f conftest.er1 13137 cat conftest.err >&5 13138 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13139 (exit $ac_status); } && { 13140 test -z "$ac_c_werror_flag" || 13141 test ! -s conftest.err 13142 } && test -s conftest.$ac_objext; then 13143 ac_cv_type_long_long=yes 13144 else 13145 echo "$as_me: failed program was:" >&5 13146 sed 's/^/| /' conftest.$ac_ext >&5 13147 13148 ac_cv_type_long_long=no 13149 fi 13150 13151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13152 fi 13153 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 13154 echo "${ECHO_T}$ac_cv_type_long_long" >&6; } 13155 13156 # The cast to long int works around a bug in the HP C Compiler 13157 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 13158 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 13159 # This bug is HP SR number 8606223364. 13160 { echo "$as_me:$LINENO: checking size of long long" >&5 13161 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; } 13162 if test "${ac_cv_sizeof_long_long+set}" = set; then 13163 echo $ECHO_N "(cached) $ECHO_C" >&6 13164 else 13165 if test "$cross_compiling" = yes; then 13166 # Depending upon the size, compute the lo and hi bounds. 13167 cat >conftest.$ac_ext <<_ACEOF 13168 /* confdefs.h. */ 13169 _ACEOF 13170 cat confdefs.h >>conftest.$ac_ext 13171 cat >>conftest.$ac_ext <<_ACEOF 13172 /* end confdefs.h. */ 13173 $ac_includes_default 13174 typedef long long ac__type_sizeof_; 13175 int 13176 main () 13177 { 13178 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 13179 test_array [0] = 0 13180 13181 ; 13182 return 0; 13183 } 13184 _ACEOF 13185 rm -f conftest.$ac_objext 13186 if { (ac_try="$ac_compile" 13187 case "(($ac_try" in 13188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13189 *) ac_try_echo=$ac_try;; 13190 esac 13191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13192 (eval "$ac_compile") 2>conftest.er1 13193 ac_status=$? 13194 grep -v '^ *+' conftest.er1 >conftest.err 13195 rm -f conftest.er1 13196 cat conftest.err >&5 13197 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13198 (exit $ac_status); } && { 13199 test -z "$ac_c_werror_flag" || 13200 test ! -s conftest.err 13201 } && test -s conftest.$ac_objext; then 13202 ac_lo=0 ac_mid=0 13203 while :; do 13204 cat >conftest.$ac_ext <<_ACEOF 13205 /* confdefs.h. */ 13206 _ACEOF 13207 cat confdefs.h >>conftest.$ac_ext 13208 cat >>conftest.$ac_ext <<_ACEOF 13209 /* end confdefs.h. */ 13210 $ac_includes_default 13211 typedef long long ac__type_sizeof_; 13212 int 13213 main () 13214 { 13215 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 13216 test_array [0] = 0 13217 13218 ; 13219 return 0; 13220 } 13221 _ACEOF 13222 rm -f conftest.$ac_objext 13223 if { (ac_try="$ac_compile" 13224 case "(($ac_try" in 13225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13226 *) ac_try_echo=$ac_try;; 13227 esac 13228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13229 (eval "$ac_compile") 2>conftest.er1 13230 ac_status=$? 13231 grep -v '^ *+' conftest.er1 >conftest.err 13232 rm -f conftest.er1 13233 cat conftest.err >&5 13234 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13235 (exit $ac_status); } && { 13236 test -z "$ac_c_werror_flag" || 13237 test ! -s conftest.err 13238 } && test -s conftest.$ac_objext; then 13239 ac_hi=$ac_mid; break 13240 else 13241 echo "$as_me: failed program was:" >&5 13242 sed 's/^/| /' conftest.$ac_ext >&5 13243 13244 ac_lo=`expr $ac_mid + 1` 13245 if test $ac_lo -le $ac_mid; then 13246 ac_lo= ac_hi= 13247 break 13248 fi 13249 ac_mid=`expr 2 '*' $ac_mid + 1` 13250 fi 13251 13252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13253 done 13254 else 13255 echo "$as_me: failed program was:" >&5 13256 sed 's/^/| /' conftest.$ac_ext >&5 13257 13258 cat >conftest.$ac_ext <<_ACEOF 13259 /* confdefs.h. */ 13260 _ACEOF 13261 cat confdefs.h >>conftest.$ac_ext 13262 cat >>conftest.$ac_ext <<_ACEOF 13263 /* end confdefs.h. */ 13264 $ac_includes_default 13265 typedef long long ac__type_sizeof_; 13266 int 13267 main () 13268 { 13269 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 13270 test_array [0] = 0 13271 13272 ; 13273 return 0; 13274 } 13275 _ACEOF 13276 rm -f conftest.$ac_objext 13277 if { (ac_try="$ac_compile" 13278 case "(($ac_try" in 13279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13280 *) ac_try_echo=$ac_try;; 13281 esac 13282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13283 (eval "$ac_compile") 2>conftest.er1 13284 ac_status=$? 13285 grep -v '^ *+' conftest.er1 >conftest.err 13286 rm -f conftest.er1 13287 cat conftest.err >&5 13288 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13289 (exit $ac_status); } && { 13290 test -z "$ac_c_werror_flag" || 13291 test ! -s conftest.err 13292 } && test -s conftest.$ac_objext; then 13293 ac_hi=-1 ac_mid=-1 13294 while :; do 13295 cat >conftest.$ac_ext <<_ACEOF 13296 /* confdefs.h. */ 13297 _ACEOF 13298 cat confdefs.h >>conftest.$ac_ext 13299 cat >>conftest.$ac_ext <<_ACEOF 13300 /* end confdefs.h. */ 13301 $ac_includes_default 13302 typedef long long ac__type_sizeof_; 13303 int 13304 main () 13305 { 13306 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 13307 test_array [0] = 0 13308 13309 ; 13310 return 0; 13311 } 13312 _ACEOF 13313 rm -f conftest.$ac_objext 13314 if { (ac_try="$ac_compile" 13315 case "(($ac_try" in 13316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13317 *) ac_try_echo=$ac_try;; 13318 esac 13319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13320 (eval "$ac_compile") 2>conftest.er1 13321 ac_status=$? 13322 grep -v '^ *+' conftest.er1 >conftest.err 13323 rm -f conftest.er1 13324 cat conftest.err >&5 13325 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13326 (exit $ac_status); } && { 13327 test -z "$ac_c_werror_flag" || 13328 test ! -s conftest.err 13329 } && test -s conftest.$ac_objext; then 13330 ac_lo=$ac_mid; break 13331 else 13332 echo "$as_me: failed program was:" >&5 13333 sed 's/^/| /' conftest.$ac_ext >&5 13334 13335 ac_hi=`expr '(' $ac_mid ')' - 1` 13336 if test $ac_mid -le $ac_hi; then 13337 ac_lo= ac_hi= 13338 break 13339 fi 13340 ac_mid=`expr 2 '*' $ac_mid` 13341 fi 13342 13343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13344 done 13345 else 13346 echo "$as_me: failed program was:" >&5 13347 sed 's/^/| /' conftest.$ac_ext >&5 13348 13349 ac_lo= ac_hi= 13350 fi 13351 13352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13353 fi 13354 13355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13356 # Binary search between lo and hi bounds. 13357 while test "x$ac_lo" != "x$ac_hi"; do 13358 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 13359 cat >conftest.$ac_ext <<_ACEOF 13360 /* confdefs.h. */ 13361 _ACEOF 13362 cat confdefs.h >>conftest.$ac_ext 13363 cat >>conftest.$ac_ext <<_ACEOF 13364 /* end confdefs.h. */ 13365 $ac_includes_default 13366 typedef long long ac__type_sizeof_; 13367 int 13368 main () 13369 { 13370 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 13371 test_array [0] = 0 13372 13373 ; 13374 return 0; 13375 } 13376 _ACEOF 13377 rm -f conftest.$ac_objext 13378 if { (ac_try="$ac_compile" 13379 case "(($ac_try" in 13380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13381 *) ac_try_echo=$ac_try;; 13382 esac 13383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13384 (eval "$ac_compile") 2>conftest.er1 13385 ac_status=$? 13386 grep -v '^ *+' conftest.er1 >conftest.err 13387 rm -f conftest.er1 13388 cat conftest.err >&5 13389 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13390 (exit $ac_status); } && { 13391 test -z "$ac_c_werror_flag" || 13392 test ! -s conftest.err 13393 } && test -s conftest.$ac_objext; then 13394 ac_hi=$ac_mid 13395 else 13396 echo "$as_me: failed program was:" >&5 13397 sed 's/^/| /' conftest.$ac_ext >&5 13398 13399 ac_lo=`expr '(' $ac_mid ')' + 1` 13400 fi 13401 13402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13403 done 13404 case $ac_lo in 13405 ?*) ac_cv_sizeof_long_long=$ac_lo;; 13406 '') if test "$ac_cv_type_long_long" = yes; then 13407 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 13408 See \`config.log' for more details." >&5 13409 echo "$as_me: error: cannot compute sizeof (long long) 13410 See \`config.log' for more details." >&2;} 13411 { (exit 77); exit 77; }; } 13412 else 13413 ac_cv_sizeof_long_long=0 13414 fi ;; 13415 esac 13416 else 13417 cat >conftest.$ac_ext <<_ACEOF 13418 /* confdefs.h. */ 13419 _ACEOF 13420 cat confdefs.h >>conftest.$ac_ext 13421 cat >>conftest.$ac_ext <<_ACEOF 13422 /* end confdefs.h. */ 13423 $ac_includes_default 13424 typedef long long ac__type_sizeof_; 13425 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 13426 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 13427 #include <stdio.h> 13428 #include <stdlib.h> 13429 int 13430 main () 13431 { 13432 13433 FILE *f = fopen ("conftest.val", "w"); 13434 if (! f) 13435 return 1; 13436 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 13437 { 13438 long int i = longval (); 13439 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 13440 return 1; 13441 fprintf (f, "%ld\n", i); 13442 } 13443 else 13444 { 13445 unsigned long int i = ulongval (); 13446 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 13447 return 1; 13448 fprintf (f, "%lu\n", i); 13449 } 13450 return ferror (f) || fclose (f) != 0; 13451 13452 ; 13453 return 0; 13454 } 13455 _ACEOF 13456 rm -f conftest$ac_exeext 13457 if { (ac_try="$ac_link" 13458 case "(($ac_try" in 13459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13460 *) ac_try_echo=$ac_try;; 13461 esac 13462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13463 (eval "$ac_link") 2>&5 13464 ac_status=$? 13465 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13466 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 13467 { (case "(($ac_try" in 13468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13469 *) ac_try_echo=$ac_try;; 13470 esac 13471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13472 (eval "$ac_try") 2>&5 13473 ac_status=$? 13474 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13475 (exit $ac_status); }; }; then 13476 ac_cv_sizeof_long_long=`cat conftest.val` 13477 else 13478 echo "$as_me: program exited with status $ac_status" >&5 13479 echo "$as_me: failed program was:" >&5 13480 sed 's/^/| /' conftest.$ac_ext >&5 13481 13482 ( exit $ac_status ) 13483 if test "$ac_cv_type_long_long" = yes; then 13484 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 13485 See \`config.log' for more details." >&5 13486 echo "$as_me: error: cannot compute sizeof (long long) 13487 See \`config.log' for more details." >&2;} 13488 { (exit 77); exit 77; }; } 13489 else 13490 ac_cv_sizeof_long_long=0 13491 fi 13492 fi 13493 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 13494 fi 13495 rm -f conftest.val 13496 fi 13497 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 13498 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; } 13499 13500 13501 13502 cat >>confdefs.h <<_ACEOF 13503 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long 13504 _ACEOF 13505 13506 13507 13508 13509 if test x$has_cv_int16_t = "xyes" ; then 13510 SIZE16="int16_t" 13511 else 13512 case 2 in 13513 $ac_cv_sizeof_short) SIZE16="short";; 13514 $ac_cv_sizeof_int) SIZE16="int";; 13515 esac 13516 fi 13517 13518 if test x$has_cv_int32_t = "xyes" ; then 13519 SIZE32="int32_t" 13520 else 13521 case 4 in 13522 $ac_cv_sizeof_short) SIZE32="short";; 13523 $ac_cv_sizeof_int) SIZE32="int";; 13524 $ac_cv_sizeof_long) SIZE32="long";; 13525 esac 13526 fi 13527 13528 if test x$has_cv_uint32_t = "xyes" ; then 13529 USIZE32="uint32_t" 13530 else 13531 if test x$has_cv_u_int32_t = "xyes" ; then 13532 USIZE32="u_int32_t" 13533 else 13534 case 4 in 13535 $ac_cv_sizeof_short) USIZE32="unsigned short";; 13536 $ac_cv_sizeof_int) USIZE32="unsigned int";; 13537 $ac_cv_sizeof_long) USIZE32="unsigned long";; 13538 esac 13539 fi 13540 fi 13541 13542 if test x$has_cv_uint16_t = "xyes" ; then 13543 USIZE16="uint16_t" 13544 else 13545 if test x$has_cv_u_int16_t = "xyes" ; then 13546 USIZE16="u_int16_t" 13547 else 13548 case 2 in 13549 $ac_cv_sizeof_short) USIZE16="unsigned short";; 13550 $ac_cv_sizeof_int) USIZE16="unsigned int";; 13551 $ac_cv_sizeof_long) USIZE16="unsigned long";; 13552 esac 13553 fi 13554 fi 13555 13556 if test x$has_cv_int64_t = "xyes" ; then 13557 SIZE64="int64_t" 13558 else 13559 case 8 in 13560 $ac_cv_sizeof_int) SIZE64="int";; 13561 $ac_cv_sizeof_long) SIZE64="long";; 13562 $ac_cv_sizeof_long_long) SIZE64="long long";; 13563 esac 13564 fi 13565 13566 if test -z "$SIZE16"; then 13567 { { echo "$as_me:$LINENO: error: No 16 bit type found on this platform!" >&5 13568 echo "$as_me: error: No 16 bit type found on this platform!" >&2;} 13569 { (exit 1); exit 1; }; } 13570 fi 13571 if test -z "$USIZE16"; then 13572 { { echo "$as_me:$LINENO: error: No unsigned 16 bit type found on this platform!" >&5 13573 echo "$as_me: error: No unsigned 16 bit type found on this platform!" >&2;} 13574 { (exit 1); exit 1; }; } 13575 fi 13576 if test -z "$SIZE32"; then 13577 { { echo "$as_me:$LINENO: error: No 32 bit type found on this platform!" >&5 13578 echo "$as_me: error: No 32 bit type found on this platform!" >&2;} 13579 { (exit 1); exit 1; }; } 13580 fi 13581 if test -z "$USIZE32"; then 13582 { { echo "$as_me:$LINENO: error: No unsigned 32 bit type found on this platform!" >&5 13583 echo "$as_me: error: No unsigned 32 bit type found on this platform!" >&2;} 13584 { (exit 1); exit 1; }; } 13585 fi 13586 if test -z "$SIZE64"; then 13587 { echo "$as_me:$LINENO: WARNING: No 64 bit type found on this platform!" >&5 13588 echo "$as_me: WARNING: No 64 bit type found on this platform!" >&2;} 13589 fi 13590 13591 { echo "$as_me:$LINENO: checking for working memcmp" >&5 13592 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; } 13593 if test "${ac_cv_func_memcmp_working+set}" = set; then 13594 echo $ECHO_N "(cached) $ECHO_C" >&6 13595 else 13596 if test "$cross_compiling" = yes; then 13597 ac_cv_func_memcmp_working=no 13598 else 13599 cat >conftest.$ac_ext <<_ACEOF 13600 /* confdefs.h. */ 13601 _ACEOF 13602 cat confdefs.h >>conftest.$ac_ext 13603 cat >>conftest.$ac_ext <<_ACEOF 13604 /* end confdefs.h. */ 13605 $ac_includes_default 13606 int 13607 main () 13608 { 13609 13610 /* Some versions of memcmp are not 8-bit clean. */ 13611 char c0 = '\100', c1 = '\200', c2 = '\201'; 13612 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0) 13613 return 1; 13614 13615 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes 13616 or more and with at least one buffer not starting on a 4-byte boundary. 13617 William Lewis provided this test program. */ 13618 { 13619 char foo[21]; 13620 char bar[21]; 13621 int i; 13622 for (i = 0; i < 4; i++) 13623 { 13624 char *a = foo + i; 13625 char *b = bar + i; 13626 strcpy (a, "--------01111111"); 13627 strcpy (b, "--------10000000"); 13628 if (memcmp (a, b, 16) >= 0) 13629 return 1; 13630 } 13631 return 0; 13632 } 13633 13634 ; 13635 return 0; 13636 } 13637 _ACEOF 13638 rm -f conftest$ac_exeext 13639 if { (ac_try="$ac_link" 13640 case "(($ac_try" in 13641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13642 *) ac_try_echo=$ac_try;; 13643 esac 13644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13645 (eval "$ac_link") 2>&5 13646 ac_status=$? 13647 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13648 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 13649 { (case "(($ac_try" in 13650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13651 *) ac_try_echo=$ac_try;; 13652 esac 13653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13654 (eval "$ac_try") 2>&5 13655 ac_status=$? 13656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13657 (exit $ac_status); }; }; then 13658 ac_cv_func_memcmp_working=yes 13659 else 13660 echo "$as_me: program exited with status $ac_status" >&5 13661 echo "$as_me: failed program was:" >&5 13662 sed 's/^/| /' conftest.$ac_ext >&5 13663 13664 ( exit $ac_status ) 13665 ac_cv_func_memcmp_working=no 13666 fi 13667 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 13668 fi 13669 13670 13671 fi 13672 { echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5 13673 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; } 13674 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in 13675 *" memcmp.$ac_objext "* ) ;; 13676 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" 13677 ;; 13678 esac 13679 13680 13681 13682 13683 13684 13685 13686 13687 13688 13689 13690 13691 13692 13693 13694 13695 ac_config_files="$ac_config_files Makefile src/Makefile doc/Makefile doc/libogg/Makefile include/Makefile include/ogg/Makefile include/ogg/config_types.h libogg.spec ogg.pc ogg-uninstalled.pc" 13696 13697 cat >confcache <<\_ACEOF 13698 # This file is a shell script that caches the results of configure 13699 # tests run on this system so they can be shared between configure 13700 # scripts and configure runs, see configure's option --config-cache. 13701 # It is not useful on other systems. If it contains results you don't 13702 # want to keep, you may remove or edit it. 13703 # 13704 # config.status only pays attention to the cache file if you give it 13705 # the --recheck option to rerun configure. 13706 # 13707 # `ac_cv_env_foo' variables (set or unset) will be overridden when 13708 # loading this file, other *unset* `ac_cv_foo' will be assigned the 13709 # following values. 13710 13711 _ACEOF 13712 13713 # The following way of writing the cache mishandles newlines in values, 13714 # but we know of no workaround that is simple, portable, and efficient. 13715 # So, we kill variables containing newlines. 13716 # Ultrix sh set writes to stderr and can't be redirected directly, 13717 # and sets the high bit in the cache file unless we assign to the vars. 13718 ( 13719 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 13720 eval ac_val=\$$ac_var 13721 case $ac_val in #( 13722 *${as_nl}*) 13723 case $ac_var in #( 13724 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 13725 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 13726 esac 13727 case $ac_var in #( 13728 _ | IFS | as_nl) ;; #( 13729 *) $as_unset $ac_var ;; 13730 esac ;; 13731 esac 13732 done 13733 13734 (set) 2>&1 | 13735 case $as_nl`(ac_space=' '; set) 2>&1` in #( 13736 *${as_nl}ac_space=\ *) 13737 # `set' does not quote correctly, so add quotes (double-quote 13738 # substitution turns \\\\ into \\, and sed turns \\ into \). 13739 sed -n \ 13740 "s/'/'\\\\''/g; 13741 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 13742 ;; #( 13743 *) 13744 # `set' quotes correctly as required by POSIX, so do not add quotes. 13745 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 13746 ;; 13747 esac | 13748 sort 13749 ) | 13750 sed ' 13751 /^ac_cv_env_/b end 13752 t clear 13753 :clear 13754 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 13755 t end 13756 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 13757 :end' >>confcache 13758 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 13759 if test -w "$cache_file"; then 13760 test "x$cache_file" != "x/dev/null" && 13761 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 13762 echo "$as_me: updating cache $cache_file" >&6;} 13763 cat confcache >$cache_file 13764 else 13765 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 13766 echo "$as_me: not updating unwritable cache $cache_file" >&6;} 13767 fi 13768 fi 13769 rm -f confcache 13770 13771 test "x$prefix" = xNONE && prefix=$ac_default_prefix 13772 # Let make expand exec_prefix. 13773 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 13774 13775 DEFS=-DHAVE_CONFIG_H 13776 13777 ac_libobjs= 13778 ac_ltlibobjs= 13779 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 13780 # 1. Remove the extension, and $U if already installed. 13781 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 13782 ac_i=`echo "$ac_i" | sed "$ac_script"` 13783 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 13784 # will be set to the directory where LIBOBJS objects are built. 13785 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 13786 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 13787 done 13788 LIBOBJS=$ac_libobjs 13789 13790 LTLIBOBJS=$ac_ltlibobjs 13791 13792 13793 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 13794 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 13795 Usually this means the macro was only invoked conditionally." >&5 13796 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 13797 Usually this means the macro was only invoked conditionally." >&2;} 13798 { (exit 1); exit 1; }; } 13799 fi 13800 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 13801 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 13802 Usually this means the macro was only invoked conditionally." >&5 13803 echo "$as_me: error: conditional \"AMDEP\" was never defined. 13804 Usually this means the macro was only invoked conditionally." >&2;} 13805 { (exit 1); exit 1; }; } 13806 fi 13807 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 13808 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 13809 Usually this means the macro was only invoked conditionally." >&5 13810 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 13811 Usually this means the macro was only invoked conditionally." >&2;} 13812 { (exit 1); exit 1; }; } 13813 fi 13814 13815 : ${CONFIG_STATUS=./config.status} 13816 ac_clean_files_save=$ac_clean_files 13817 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 13818 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 13819 echo "$as_me: creating $CONFIG_STATUS" >&6;} 13820 cat >$CONFIG_STATUS <<_ACEOF 13821 #! $SHELL 13822 # Generated by $as_me. 13823 # Run this file to recreate the current configuration. 13824 # Compiler output produced by configure, useful for debugging 13825 # configure, is in config.log if it exists. 13826 13827 debug=false 13828 ac_cs_recheck=false 13829 ac_cs_silent=false 13830 SHELL=\${CONFIG_SHELL-$SHELL} 13831 _ACEOF 13832 13833 cat >>$CONFIG_STATUS <<\_ACEOF 13834 ## --------------------- ## 13835 ## M4sh Initialization. ## 13836 ## --------------------- ## 13837 13838 # Be more Bourne compatible 13839 DUALCASE=1; export DUALCASE # for MKS sh 13840 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 13841 emulate sh 13842 NULLCMD=: 13843 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 13844 # is contrary to our usage. Disable this feature. 13845 alias -g '${1+"$@"}'='"$@"' 13846 setopt NO_GLOB_SUBST 13847 else 13848 case `(set -o) 2>/dev/null` in 13849 *posix*) set -o posix ;; 13850 esac 13851 13852 fi 13853 13854 13855 13856 13857 # PATH needs CR 13858 # Avoid depending upon Character Ranges. 13859 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 13860 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 13861 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 13862 as_cr_digits='0123456789' 13863 as_cr_alnum=$as_cr_Letters$as_cr_digits 13864 13865 # The user is always right. 13866 if test "${PATH_SEPARATOR+set}" != set; then 13867 echo "#! /bin/sh" >conf$$.sh 13868 echo "exit 0" >>conf$$.sh 13869 chmod +x conf$$.sh 13870 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 13871 PATH_SEPARATOR=';' 13872 else 13873 PATH_SEPARATOR=: 13874 fi 13875 rm -f conf$$.sh 13876 fi 13877 13878 # Support unset when possible. 13879 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 13880 as_unset=unset 13881 else 13882 as_unset=false 13883 fi 13884 13885 13886 # IFS 13887 # We need space, tab and new line, in precisely that order. Quoting is 13888 # there to prevent editors from complaining about space-tab. 13889 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 13890 # splitting by setting IFS to empty value.) 13891 as_nl=' 13892 ' 13893 IFS=" "" $as_nl" 13894 13895 # Find who we are. Look in the path if we contain no directory separator. 13896 case $0 in 13897 *[\\/]* ) as_myself=$0 ;; 13898 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13899 for as_dir in $PATH 13900 do 13901 IFS=$as_save_IFS 13902 test -z "$as_dir" && as_dir=. 13903 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 13904 done 13905 IFS=$as_save_IFS 13906 13907 ;; 13908 esac 13909 # We did not find ourselves, most probably we were run as `sh COMMAND' 13910 # in which case we are not to be found in the path. 13911 if test "x$as_myself" = x; then 13912 as_myself=$0 13913 fi 13914 if test ! -f "$as_myself"; then 13915 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 13916 { (exit 1); exit 1; } 13917 fi 13918 13919 # Work around bugs in pre-3.0 UWIN ksh. 13920 for as_var in ENV MAIL MAILPATH 13921 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 13922 done 13923 PS1='$ ' 13924 PS2='> ' 13925 PS4='+ ' 13926 13927 # NLS nuisances. 13928 for as_var in \ 13929 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 13930 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 13931 LC_TELEPHONE LC_TIME 13932 do 13933 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 13934 eval $as_var=C; export $as_var 13935 else 13936 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 13937 fi 13938 done 13939 13940 # Required to use basename. 13941 if expr a : '\(a\)' >/dev/null 2>&1 && 13942 test "X`expr 00001 : '.*\(...\)'`" = X001; then 13943 as_expr=expr 13944 else 13945 as_expr=false 13946 fi 13947 13948 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 13949 as_basename=basename 13950 else 13951 as_basename=false 13952 fi 13953 13954 13955 # Name of the executable. 13956 as_me=`$as_basename -- "$0" || 13957 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 13958 X"$0" : 'X\(//\)$' \| \ 13959 X"$0" : 'X\(/\)' \| . 2>/dev/null || 13960 echo X/"$0" | 13961 sed '/^.*\/\([^/][^/]*\)\/*$/{ 13962 s//\1/ 13963 q 13964 } 13965 /^X\/\(\/\/\)$/{ 13966 s//\1/ 13967 q 13968 } 13969 /^X\/\(\/\).*/{ 13970 s//\1/ 13971 q 13972 } 13973 s/.*/./; q'` 13974 13975 # CDPATH. 13976 $as_unset CDPATH 13977 13978 13979 13980 as_lineno_1=$LINENO 13981 as_lineno_2=$LINENO 13982 test "x$as_lineno_1" != "x$as_lineno_2" && 13983 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 13984 13985 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 13986 # uniformly replaced by the line number. The first 'sed' inserts a 13987 # line-number line after each line using $LINENO; the second 'sed' 13988 # does the real work. The second script uses 'N' to pair each 13989 # line-number line with the line containing $LINENO, and appends 13990 # trailing '-' during substitution so that $LINENO is not a special 13991 # case at line end. 13992 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 13993 # scripts with optimization help from Paolo Bonzini. Blame Lee 13994 # E. McMahon (1931-1989) for sed's syntax. :-) 13995 sed -n ' 13996 p 13997 /[$]LINENO/= 13998 ' <$as_myself | 13999 sed ' 14000 s/[$]LINENO.*/&-/ 14001 t lineno 14002 b 14003 :lineno 14004 N 14005 :loop 14006 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 14007 t loop 14008 s/-\n.*// 14009 ' >$as_me.lineno && 14010 chmod +x "$as_me.lineno" || 14011 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 14012 { (exit 1); exit 1; }; } 14013 14014 # Don't try to exec as it changes $[0], causing all sort of problems 14015 # (the dirname of $[0] is not the place where we might find the 14016 # original and so on. Autoconf is especially sensitive to this). 14017 . "./$as_me.lineno" 14018 # Exit status is that of the last command. 14019 exit 14020 } 14021 14022 14023 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 14024 as_dirname=dirname 14025 else 14026 as_dirname=false 14027 fi 14028 14029 ECHO_C= ECHO_N= ECHO_T= 14030 case `echo -n x` in 14031 -n*) 14032 case `echo 'x\c'` in 14033 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 14034 *) ECHO_C='\c';; 14035 esac;; 14036 *) 14037 ECHO_N='-n';; 14038 esac 14039 14040 if expr a : '\(a\)' >/dev/null 2>&1 && 14041 test "X`expr 00001 : '.*\(...\)'`" = X001; then 14042 as_expr=expr 14043 else 14044 as_expr=false 14045 fi 14046 14047 rm -f conf$$ conf$$.exe conf$$.file 14048 if test -d conf$$.dir; then 14049 rm -f conf$$.dir/conf$$.file 14050 else 14051 rm -f conf$$.dir 14052 mkdir conf$$.dir 14053 fi 14054 echo >conf$$.file 14055 if ln -s conf$$.file conf$$ 2>/dev/null; then 14056 as_ln_s='ln -s' 14057 # ... but there are two gotchas: 14058 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 14059 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 14060 # In both cases, we have to default to `cp -p'. 14061 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 14062 as_ln_s='cp -p' 14063 elif ln conf$$.file conf$$ 2>/dev/null; then 14064 as_ln_s=ln 14065 else 14066 as_ln_s='cp -p' 14067 fi 14068 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 14069 rmdir conf$$.dir 2>/dev/null 14070 14071 if mkdir -p . 2>/dev/null; then 14072 as_mkdir_p=: 14073 else 14074 test -d ./-p && rmdir ./-p 14075 as_mkdir_p=false 14076 fi 14077 14078 if test -x / >/dev/null 2>&1; then 14079 as_test_x='test -x' 14080 else 14081 if ls -dL / >/dev/null 2>&1; then 14082 as_ls_L_option=L 14083 else 14084 as_ls_L_option= 14085 fi 14086 as_test_x=' 14087 eval sh -c '\'' 14088 if test -d "$1"; then 14089 test -d "$1/."; 14090 else 14091 case $1 in 14092 -*)set "./$1";; 14093 esac; 14094 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 14095 ???[sx]*):;;*)false;;esac;fi 14096 '\'' sh 14097 ' 14098 fi 14099 as_executable_p=$as_test_x 14100 14101 # Sed expression to map a string onto a valid CPP name. 14102 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 14103 14104 # Sed expression to map a string onto a valid variable name. 14105 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 14106 14107 14108 exec 6>&1 14109 14110 # Save the log message, to keep $[0] and so on meaningful, and to 14111 # report actual input values of CONFIG_FILES etc. instead of their 14112 # values after options handling. 14113 ac_log=" 14114 This file was extended by $as_me, which was 14115 generated by GNU Autoconf 2.61. Invocation command line was 14116 14117 CONFIG_FILES = $CONFIG_FILES 14118 CONFIG_HEADERS = $CONFIG_HEADERS 14119 CONFIG_LINKS = $CONFIG_LINKS 14120 CONFIG_COMMANDS = $CONFIG_COMMANDS 14121 $ $0 $@ 14122 14123 on `(hostname || uname -n) 2>/dev/null | sed 1q` 14124 " 14125 14126 _ACEOF 14127 14128 cat >>$CONFIG_STATUS <<_ACEOF 14129 # Files that config.status was made for. 14130 config_files="$ac_config_files" 14131 config_headers="$ac_config_headers" 14132 config_commands="$ac_config_commands" 14133 14134 _ACEOF 14135 14136 cat >>$CONFIG_STATUS <<\_ACEOF 14137 ac_cs_usage="\ 14138 \`$as_me' instantiates files from templates according to the 14139 current configuration. 14140 14141 Usage: $0 [OPTIONS] [FILE]... 14142 14143 -h, --help print this help, then exit 14144 -V, --version print version number and configuration settings, then exit 14145 -q, --quiet do not print progress messages 14146 -d, --debug don't remove temporary files 14147 --recheck update $as_me by reconfiguring in the same conditions 14148 --file=FILE[:TEMPLATE] 14149 instantiate the configuration file FILE 14150 --header=FILE[:TEMPLATE] 14151 instantiate the configuration header FILE 14152 14153 Configuration files: 14154 $config_files 14155 14156 Configuration headers: 14157 $config_headers 14158 14159 Configuration commands: 14160 $config_commands 14161 14162 Report bugs to <bug-autoconf (at] gnu.org>." 14163 14164 _ACEOF 14165 cat >>$CONFIG_STATUS <<_ACEOF 14166 ac_cs_version="\\ 14167 config.status 14168 configured by $0, generated by GNU Autoconf 2.61, 14169 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 14170 14171 Copyright (C) 2006 Free Software Foundation, Inc. 14172 This config.status script is free software; the Free Software Foundation 14173 gives unlimited permission to copy, distribute and modify it." 14174 14175 ac_pwd='$ac_pwd' 14176 srcdir='$srcdir' 14177 INSTALL='$INSTALL' 14178 _ACEOF 14179 14180 cat >>$CONFIG_STATUS <<\_ACEOF 14181 # If no file are specified by the user, then we need to provide default 14182 # value. By we need to know if files were specified by the user. 14183 ac_need_defaults=: 14184 while test $# != 0 14185 do 14186 case $1 in 14187 --*=*) 14188 ac_option=`expr "X$1" : 'X\([^=]*\)='` 14189 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 14190 ac_shift=: 14191 ;; 14192 *) 14193 ac_option=$1 14194 ac_optarg=$2 14195 ac_shift=shift 14196 ;; 14197 esac 14198 14199 case $ac_option in 14200 # Handling of the options. 14201 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 14202 ac_cs_recheck=: ;; 14203 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 14204 echo "$ac_cs_version"; exit ;; 14205 --debug | --debu | --deb | --de | --d | -d ) 14206 debug=: ;; 14207 --file | --fil | --fi | --f ) 14208 $ac_shift 14209 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 14210 ac_need_defaults=false;; 14211 --header | --heade | --head | --hea ) 14212 $ac_shift 14213 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 14214 ac_need_defaults=false;; 14215 --he | --h) 14216 # Conflict between --help and --header 14217 { echo "$as_me: error: ambiguous option: $1 14218 Try \`$0 --help' for more information." >&2 14219 { (exit 1); exit 1; }; };; 14220 --help | --hel | -h ) 14221 echo "$ac_cs_usage"; exit ;; 14222 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 14223 | -silent | --silent | --silen | --sile | --sil | --si | --s) 14224 ac_cs_silent=: ;; 14225 14226 # This is an error. 14227 -*) { echo "$as_me: error: unrecognized option: $1 14228 Try \`$0 --help' for more information." >&2 14229 { (exit 1); exit 1; }; } ;; 14230 14231 *) ac_config_targets="$ac_config_targets $1" 14232 ac_need_defaults=false ;; 14233 14234 esac 14235 shift 14236 done 14237 14238 ac_configure_extra_args= 14239 14240 if $ac_cs_silent; then 14241 exec 6>/dev/null 14242 ac_configure_extra_args="$ac_configure_extra_args --silent" 14243 fi 14244 14245 _ACEOF 14246 cat >>$CONFIG_STATUS <<_ACEOF 14247 if \$ac_cs_recheck; then 14248 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 14249 CONFIG_SHELL=$SHELL 14250 export CONFIG_SHELL 14251 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 14252 fi 14253 14254 _ACEOF 14255 cat >>$CONFIG_STATUS <<\_ACEOF 14256 exec 5>>config.log 14257 { 14258 echo 14259 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 14260 ## Running $as_me. ## 14261 _ASBOX 14262 echo "$ac_log" 14263 } >&5 14264 14265 _ACEOF 14266 cat >>$CONFIG_STATUS <<_ACEOF 14267 # 14268 # INIT-COMMANDS 14269 # 14270 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 14271 14272 14273 # The HP-UX ksh and POSIX shell print the target directory to stdout 14274 # if CDPATH is set. 14275 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 14276 14277 sed_quote_subst='$sed_quote_subst' 14278 double_quote_subst='$double_quote_subst' 14279 delay_variable_subst='$delay_variable_subst' 14280 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' 14281 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' 14282 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' 14283 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' 14284 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' 14285 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' 14286 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' 14287 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' 14288 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' 14289 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' 14290 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' 14291 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' 14292 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' 14293 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' 14294 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' 14295 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' 14296 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' 14297 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' 14298 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' 14299 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' 14300 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' 14301 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' 14302 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' 14303 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' 14304 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' 14305 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' 14306 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' 14307 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14308 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' 14309 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' 14310 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' 14311 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' 14312 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' 14313 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' 14314 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' 14315 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14316 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14317 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14318 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' 14319 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' 14320 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' 14321 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' 14322 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' 14323 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' 14324 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`' 14325 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' 14326 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' 14327 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' 14328 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' 14329 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' 14330 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' 14331 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' 14332 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' 14333 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' 14334 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' 14335 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' 14336 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' 14337 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' 14338 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' 14339 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' 14340 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' 14341 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' 14342 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14343 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14344 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' 14345 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' 14346 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 14347 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 14348 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' 14349 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14350 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14351 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14352 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14353 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14354 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14355 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' 14356 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 14357 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 14358 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 14359 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' 14360 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' 14361 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' 14362 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' 14363 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' 14364 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 14365 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' 14366 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' 14367 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' 14368 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' 14369 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' 14370 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14371 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 14372 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 14373 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14374 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' 14375 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' 14376 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' 14377 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' 14378 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' 14379 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' 14380 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 14381 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' 14382 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' 14383 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' 14384 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' 14385 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14386 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14387 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14388 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' 14389 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' 14390 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 14391 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 14392 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' 14393 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' 14394 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' 14395 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' 14396 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' 14397 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' 14398 14399 LTCC='$LTCC' 14400 LTCFLAGS='$LTCFLAGS' 14401 compiler='$compiler_DEFAULT' 14402 14403 # Quote evaled strings. 14404 for var in SED \ 14405 GREP \ 14406 EGREP \ 14407 FGREP \ 14408 LD \ 14409 NM \ 14410 LN_S \ 14411 lt_SP2NL \ 14412 lt_NL2SP \ 14413 reload_flag \ 14414 OBJDUMP \ 14415 deplibs_check_method \ 14416 file_magic_cmd \ 14417 AR \ 14418 AR_FLAGS \ 14419 STRIP \ 14420 RANLIB \ 14421 CC \ 14422 CFLAGS \ 14423 compiler \ 14424 lt_cv_sys_global_symbol_pipe \ 14425 lt_cv_sys_global_symbol_to_cdecl \ 14426 lt_cv_sys_global_symbol_to_c_name_address \ 14427 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 14428 SHELL \ 14429 ECHO \ 14430 lt_prog_compiler_no_builtin_flag \ 14431 lt_prog_compiler_wl \ 14432 lt_prog_compiler_pic \ 14433 lt_prog_compiler_static \ 14434 lt_cv_prog_compiler_c_o \ 14435 need_locks \ 14436 DSYMUTIL \ 14437 NMEDIT \ 14438 LIPO \ 14439 OTOOL \ 14440 OTOOL64 \ 14441 shrext_cmds \ 14442 export_dynamic_flag_spec \ 14443 whole_archive_flag_spec \ 14444 compiler_needs_object \ 14445 with_gnu_ld \ 14446 allow_undefined_flag \ 14447 no_undefined_flag \ 14448 hardcode_libdir_flag_spec \ 14449 hardcode_libdir_flag_spec_ld \ 14450 hardcode_libdir_separator \ 14451 fix_srcfile_path \ 14452 exclude_expsyms \ 14453 include_expsyms \ 14454 file_list_spec \ 14455 variables_saved_for_relink \ 14456 libname_spec \ 14457 library_names_spec \ 14458 soname_spec \ 14459 finish_eval \ 14460 old_striplib \ 14461 striplib; do 14462 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 14463 *[\\\\\\\`\\"\\\$]*) 14464 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 14465 ;; 14466 *) 14467 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14468 ;; 14469 esac 14470 done 14471 14472 # Double-quote double-evaled strings. 14473 for var in reload_cmds \ 14474 old_postinstall_cmds \ 14475 old_postuninstall_cmds \ 14476 old_archive_cmds \ 14477 extract_expsyms_cmds \ 14478 old_archive_from_new_cmds \ 14479 old_archive_from_expsyms_cmds \ 14480 archive_cmds \ 14481 archive_expsym_cmds \ 14482 module_cmds \ 14483 module_expsym_cmds \ 14484 export_symbols_cmds \ 14485 prelink_cmds \ 14486 postinstall_cmds \ 14487 postuninstall_cmds \ 14488 finish_cmds \ 14489 sys_lib_search_path_spec \ 14490 sys_lib_dlsearch_path_spec; do 14491 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 14492 *[\\\\\\\`\\"\\\$]*) 14493 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 14494 ;; 14495 *) 14496 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14497 ;; 14498 esac 14499 done 14500 14501 # Fix-up fallback echo if it was mangled by the above quoting rules. 14502 case \$lt_ECHO in 14503 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` 14504 ;; 14505 esac 14506 14507 ac_aux_dir='$ac_aux_dir' 14508 xsi_shell='$xsi_shell' 14509 lt_shell_append='$lt_shell_append' 14510 14511 # See if we are running on zsh, and set the options which allow our 14512 # commands through without removal of \ escapes INIT. 14513 if test -n "\${ZSH_VERSION+set}" ; then 14514 setopt NO_GLOB_SUBST 14515 fi 14516 14517 14518 PACKAGE='$PACKAGE' 14519 VERSION='$VERSION' 14520 TIMESTAMP='$TIMESTAMP' 14521 RM='$RM' 14522 ofile='$ofile' 14523 14524 14525 14526 14527 _ACEOF 14528 14529 cat >>$CONFIG_STATUS <<\_ACEOF 14530 14531 # Handling of arguments. 14532 for ac_config_target in $ac_config_targets 14533 do 14534 case $ac_config_target in 14535 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 14536 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 14537 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 14538 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 14539 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 14540 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 14541 "doc/libogg/Makefile") CONFIG_FILES="$CONFIG_FILES doc/libogg/Makefile" ;; 14542 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; 14543 "include/ogg/Makefile") CONFIG_FILES="$CONFIG_FILES include/ogg/Makefile" ;; 14544 "include/ogg/config_types.h") CONFIG_FILES="$CONFIG_FILES include/ogg/config_types.h" ;; 14545 "libogg.spec") CONFIG_FILES="$CONFIG_FILES libogg.spec" ;; 14546 "ogg.pc") CONFIG_FILES="$CONFIG_FILES ogg.pc" ;; 14547 "ogg-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ogg-uninstalled.pc" ;; 14548 14549 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 14550 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 14551 { (exit 1); exit 1; }; };; 14552 esac 14553 done 14554 14555 14556 # If the user did not use the arguments to specify the items to instantiate, 14557 # then the envvar interface is used. Set only those that are not. 14558 # We use the long form for the default assignment because of an extremely 14559 # bizarre bug on SunOS 4.1.3. 14560 if $ac_need_defaults; then 14561 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 14562 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 14563 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 14564 fi 14565 14566 # Have a temporary directory for convenience. Make it in the build tree 14567 # simply because there is no reason against having it here, and in addition, 14568 # creating and moving files from /tmp can sometimes cause problems. 14569 # Hook for its removal unless debugging. 14570 # Note that there is a small window in which the directory will not be cleaned: 14571 # after its creation but before its name has been assigned to `$tmp'. 14572 $debug || 14573 { 14574 tmp= 14575 trap 'exit_status=$? 14576 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 14577 ' 0 14578 trap '{ (exit 1); exit 1; }' 1 2 13 15 14579 } 14580 # Create a (secure) tmp directory for tmp files. 14581 14582 { 14583 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 14584 test -n "$tmp" && test -d "$tmp" 14585 } || 14586 { 14587 tmp=./conf$$-$RANDOM 14588 (umask 077 && mkdir "$tmp") 14589 } || 14590 { 14591 echo "$me: cannot create a temporary directory in ." >&2 14592 { (exit 1); exit 1; } 14593 } 14594 14595 # 14596 # Set up the sed scripts for CONFIG_FILES section. 14597 # 14598 14599 # No need to generate the scripts if there are no CONFIG_FILES. 14600 # This happens for instance when ./config.status config.h 14601 if test -n "$CONFIG_FILES"; then 14602 14603 _ACEOF 14604 14605 14606 14607 ac_delim='%!_!# ' 14608 for ac_last_try in false false false false false :; do 14609 cat >conf$$subs.sed <<_ACEOF 14610 SHELL!$SHELL$ac_delim 14611 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 14612 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 14613 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 14614 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 14615 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 14616 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 14617 exec_prefix!$exec_prefix$ac_delim 14618 prefix!$prefix$ac_delim 14619 program_transform_name!$program_transform_name$ac_delim 14620 bindir!$bindir$ac_delim 14621 sbindir!$sbindir$ac_delim 14622 libexecdir!$libexecdir$ac_delim 14623 datarootdir!$datarootdir$ac_delim 14624 datadir!$datadir$ac_delim 14625 sysconfdir!$sysconfdir$ac_delim 14626 sharedstatedir!$sharedstatedir$ac_delim 14627 localstatedir!$localstatedir$ac_delim 14628 includedir!$includedir$ac_delim 14629 oldincludedir!$oldincludedir$ac_delim 14630 docdir!$docdir$ac_delim 14631 infodir!$infodir$ac_delim 14632 htmldir!$htmldir$ac_delim 14633 dvidir!$dvidir$ac_delim 14634 pdfdir!$pdfdir$ac_delim 14635 psdir!$psdir$ac_delim 14636 libdir!$libdir$ac_delim 14637 localedir!$localedir$ac_delim 14638 mandir!$mandir$ac_delim 14639 DEFS!$DEFS$ac_delim 14640 ECHO_C!$ECHO_C$ac_delim 14641 ECHO_N!$ECHO_N$ac_delim 14642 ECHO_T!$ECHO_T$ac_delim 14643 LIBS!$LIBS$ac_delim 14644 build_alias!$build_alias$ac_delim 14645 host_alias!$host_alias$ac_delim 14646 target_alias!$target_alias$ac_delim 14647 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 14648 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 14649 INSTALL_DATA!$INSTALL_DATA$ac_delim 14650 CYGPATH_W!$CYGPATH_W$ac_delim 14651 PACKAGE!$PACKAGE$ac_delim 14652 VERSION!$VERSION$ac_delim 14653 ACLOCAL!$ACLOCAL$ac_delim 14654 AUTOCONF!$AUTOCONF$ac_delim 14655 AUTOMAKE!$AUTOMAKE$ac_delim 14656 AUTOHEADER!$AUTOHEADER$ac_delim 14657 MAKEINFO!$MAKEINFO$ac_delim 14658 install_sh!$install_sh$ac_delim 14659 STRIP!$STRIP$ac_delim 14660 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim 14661 mkdir_p!$mkdir_p$ac_delim 14662 AWK!$AWK$ac_delim 14663 SET_MAKE!$SET_MAKE$ac_delim 14664 am__leading_dot!$am__leading_dot$ac_delim 14665 AMTAR!$AMTAR$ac_delim 14666 am__tar!$am__tar$ac_delim 14667 am__untar!$am__untar$ac_delim 14668 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim 14669 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim 14670 MAINT!$MAINT$ac_delim 14671 LIB_CURRENT!$LIB_CURRENT$ac_delim 14672 LIB_REVISION!$LIB_REVISION$ac_delim 14673 LIB_AGE!$LIB_AGE$ac_delim 14674 CC!$CC$ac_delim 14675 CFLAGS!$CFLAGS$ac_delim 14676 LDFLAGS!$LDFLAGS$ac_delim 14677 CPPFLAGS!$CPPFLAGS$ac_delim 14678 ac_ct_CC!$ac_ct_CC$ac_delim 14679 EXEEXT!$EXEEXT$ac_delim 14680 OBJEXT!$OBJEXT$ac_delim 14681 DEPDIR!$DEPDIR$ac_delim 14682 am__include!$am__include$ac_delim 14683 am__quote!$am__quote$ac_delim 14684 AMDEP_TRUE!$AMDEP_TRUE$ac_delim 14685 AMDEP_FALSE!$AMDEP_FALSE$ac_delim 14686 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim 14687 CCDEPMODE!$CCDEPMODE$ac_delim 14688 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim 14689 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim 14690 LIBTOOL!$LIBTOOL$ac_delim 14691 build!$build$ac_delim 14692 build_cpu!$build_cpu$ac_delim 14693 build_vendor!$build_vendor$ac_delim 14694 build_os!$build_os$ac_delim 14695 host!$host$ac_delim 14696 host_cpu!$host_cpu$ac_delim 14697 host_vendor!$host_vendor$ac_delim 14698 host_os!$host_os$ac_delim 14699 SED!$SED$ac_delim 14700 GREP!$GREP$ac_delim 14701 EGREP!$EGREP$ac_delim 14702 FGREP!$FGREP$ac_delim 14703 LD!$LD$ac_delim 14704 DUMPBIN!$DUMPBIN$ac_delim 14705 ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim 14706 NM!$NM$ac_delim 14707 _ACEOF 14708 14709 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 14710 break 14711 elif $ac_last_try; then 14712 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 14713 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 14714 { (exit 1); exit 1; }; } 14715 else 14716 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14717 fi 14718 done 14719 14720 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 14721 if test -n "$ac_eof"; then 14722 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 14723 ac_eof=`expr $ac_eof + 1` 14724 fi 14725 14726 cat >>$CONFIG_STATUS <<_ACEOF 14727 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 14728 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 14729 _ACEOF 14730 sed ' 14731 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 14732 s/^/s,@/; s/!/@,|#_!!_#|/ 14733 :n 14734 t n 14735 s/'"$ac_delim"'$/,g/; t 14736 s/$/\\/; p 14737 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 14738 ' >>$CONFIG_STATUS <conf$$subs.sed 14739 rm -f conf$$subs.sed 14740 cat >>$CONFIG_STATUS <<_ACEOF 14741 CEOF$ac_eof 14742 _ACEOF 14743 14744 14745 ac_delim='%!_!# ' 14746 for ac_last_try in false false false false false :; do 14747 cat >conf$$subs.sed <<_ACEOF 14748 LN_S!$LN_S$ac_delim 14749 OBJDUMP!$OBJDUMP$ac_delim 14750 AR!$AR$ac_delim 14751 RANLIB!$RANLIB$ac_delim 14752 lt_ECHO!$lt_ECHO$ac_delim 14753 DSYMUTIL!$DSYMUTIL$ac_delim 14754 NMEDIT!$NMEDIT$ac_delim 14755 LIPO!$LIPO$ac_delim 14756 OTOOL!$OTOOL$ac_delim 14757 OTOOL64!$OTOOL64$ac_delim 14758 CPP!$CPP$ac_delim 14759 LIBOBJS!$LIBOBJS$ac_delim 14760 LIBTOOL_DEPS!$LIBTOOL_DEPS$ac_delim 14761 SIZE16!$SIZE16$ac_delim 14762 USIZE16!$USIZE16$ac_delim 14763 SIZE32!$SIZE32$ac_delim 14764 USIZE32!$USIZE32$ac_delim 14765 SIZE64!$SIZE64$ac_delim 14766 OPT!$OPT$ac_delim 14767 DEBUG!$DEBUG$ac_delim 14768 PROFILE!$PROFILE$ac_delim 14769 LTLIBOBJS!$LTLIBOBJS$ac_delim 14770 _ACEOF 14771 14772 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 22; then 14773 break 14774 elif $ac_last_try; then 14775 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 14776 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 14777 { (exit 1); exit 1; }; } 14778 else 14779 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14780 fi 14781 done 14782 14783 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 14784 if test -n "$ac_eof"; then 14785 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 14786 ac_eof=`expr $ac_eof + 1` 14787 fi 14788 14789 cat >>$CONFIG_STATUS <<_ACEOF 14790 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 14791 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 14792 _ACEOF 14793 sed ' 14794 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 14795 s/^/s,@/; s/!/@,|#_!!_#|/ 14796 :n 14797 t n 14798 s/'"$ac_delim"'$/,g/; t 14799 s/$/\\/; p 14800 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 14801 ' >>$CONFIG_STATUS <conf$$subs.sed 14802 rm -f conf$$subs.sed 14803 cat >>$CONFIG_STATUS <<_ACEOF 14804 :end 14805 s/|#_!!_#|//g 14806 CEOF$ac_eof 14807 _ACEOF 14808 14809 14810 # VPATH may cause trouble with some makes, so we remove $(srcdir), 14811 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 14812 # trailing colons and then remove the whole line if VPATH becomes empty 14813 # (actually we leave an empty line to preserve line numbers). 14814 if test "x$srcdir" = x.; then 14815 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 14816 s/:*\$(srcdir):*/:/ 14817 s/:*\${srcdir}:*/:/ 14818 s/:*@srcdir@:*/:/ 14819 s/^\([^=]*=[ ]*\):*/\1/ 14820 s/:*$// 14821 s/^[^=]*=[ ]*$// 14822 }' 14823 fi 14824 14825 cat >>$CONFIG_STATUS <<\_ACEOF 14826 fi # test -n "$CONFIG_FILES" 14827 14828 14829 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS 14830 do 14831 case $ac_tag in 14832 :[FHLC]) ac_mode=$ac_tag; continue;; 14833 esac 14834 case $ac_mode$ac_tag in 14835 :[FHL]*:*);; 14836 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 14837 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 14838 { (exit 1); exit 1; }; };; 14839 :[FH]-) ac_tag=-:-;; 14840 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 14841 esac 14842 ac_save_IFS=$IFS 14843 IFS=: 14844 set x $ac_tag 14845 IFS=$ac_save_IFS 14846 shift 14847 ac_file=$1 14848 shift 14849 14850 case $ac_mode in 14851 :L) ac_source=$1;; 14852 :[FH]) 14853 ac_file_inputs= 14854 for ac_f 14855 do 14856 case $ac_f in 14857 -) ac_f="$tmp/stdin";; 14858 *) # Look for the file first in the build tree, then in the source tree 14859 # (if the path is not absolute). The absolute path cannot be DOS-style, 14860 # because $ac_f cannot contain `:'. 14861 test -f "$ac_f" || 14862 case $ac_f in 14863 [\\/$]*) false;; 14864 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 14865 esac || 14866 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 14867 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 14868 { (exit 1); exit 1; }; };; 14869 esac 14870 ac_file_inputs="$ac_file_inputs $ac_f" 14871 done 14872 14873 # Let's still pretend it is `configure' which instantiates (i.e., don't 14874 # use $as_me), people would be surprised to read: 14875 # /* config.h. Generated by config.status. */ 14876 configure_input="Generated from "`IFS=: 14877 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 14878 if test x"$ac_file" != x-; then 14879 configure_input="$ac_file. $configure_input" 14880 { echo "$as_me:$LINENO: creating $ac_file" >&5 14881 echo "$as_me: creating $ac_file" >&6;} 14882 fi 14883 14884 case $ac_tag in 14885 *:-:* | *:-) cat >"$tmp/stdin";; 14886 esac 14887 ;; 14888 esac 14889 14890 ac_dir=`$as_dirname -- "$ac_file" || 14891 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14892 X"$ac_file" : 'X\(//\)[^/]' \| \ 14893 X"$ac_file" : 'X\(//\)$' \| \ 14894 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 14895 echo X"$ac_file" | 14896 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14897 s//\1/ 14898 q 14899 } 14900 /^X\(\/\/\)[^/].*/{ 14901 s//\1/ 14902 q 14903 } 14904 /^X\(\/\/\)$/{ 14905 s//\1/ 14906 q 14907 } 14908 /^X\(\/\).*/{ 14909 s//\1/ 14910 q 14911 } 14912 s/.*/./; q'` 14913 { as_dir="$ac_dir" 14914 case $as_dir in #( 14915 -*) as_dir=./$as_dir;; 14916 esac 14917 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 14918 as_dirs= 14919 while :; do 14920 case $as_dir in #( 14921 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 14922 *) as_qdir=$as_dir;; 14923 esac 14924 as_dirs="'$as_qdir' $as_dirs" 14925 as_dir=`$as_dirname -- "$as_dir" || 14926 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14927 X"$as_dir" : 'X\(//\)[^/]' \| \ 14928 X"$as_dir" : 'X\(//\)$' \| \ 14929 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 14930 echo X"$as_dir" | 14931 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14932 s//\1/ 14933 q 14934 } 14935 /^X\(\/\/\)[^/].*/{ 14936 s//\1/ 14937 q 14938 } 14939 /^X\(\/\/\)$/{ 14940 s//\1/ 14941 q 14942 } 14943 /^X\(\/\).*/{ 14944 s//\1/ 14945 q 14946 } 14947 s/.*/./; q'` 14948 test -d "$as_dir" && break 14949 done 14950 test -z "$as_dirs" || eval "mkdir $as_dirs" 14951 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 14952 echo "$as_me: error: cannot create directory $as_dir" >&2;} 14953 { (exit 1); exit 1; }; }; } 14954 ac_builddir=. 14955 14956 case "$ac_dir" in 14957 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14958 *) 14959 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 14960 # A ".." for each directory in $ac_dir_suffix. 14961 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 14962 case $ac_top_builddir_sub in 14963 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14964 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14965 esac ;; 14966 esac 14967 ac_abs_top_builddir=$ac_pwd 14968 ac_abs_builddir=$ac_pwd$ac_dir_suffix 14969 # for backward compatibility: 14970 ac_top_builddir=$ac_top_build_prefix 14971 14972 case $srcdir in 14973 .) # We are building in place. 14974 ac_srcdir=. 14975 ac_top_srcdir=$ac_top_builddir_sub 14976 ac_abs_top_srcdir=$ac_pwd ;; 14977 [\\/]* | ?:[\\/]* ) # Absolute name. 14978 ac_srcdir=$srcdir$ac_dir_suffix; 14979 ac_top_srcdir=$srcdir 14980 ac_abs_top_srcdir=$srcdir ;; 14981 *) # Relative name. 14982 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14983 ac_top_srcdir=$ac_top_build_prefix$srcdir 14984 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 14985 esac 14986 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14987 14988 14989 case $ac_mode in 14990 :F) 14991 # 14992 # CONFIG_FILE 14993 # 14994 14995 case $INSTALL in 14996 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 14997 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 14998 esac 14999 _ACEOF 15000 15001 cat >>$CONFIG_STATUS <<\_ACEOF 15002 # If the template does not know about datarootdir, expand it. 15003 # FIXME: This hack should be removed a few years after 2.60. 15004 ac_datarootdir_hack=; ac_datarootdir_seen= 15005 15006 case `sed -n '/datarootdir/ { 15007 p 15008 q 15009 } 15010 /@datadir@/p 15011 /@docdir@/p 15012 /@infodir@/p 15013 /@localedir@/p 15014 /@mandir@/p 15015 ' $ac_file_inputs` in 15016 *datarootdir*) ac_datarootdir_seen=yes;; 15017 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 15018 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 15019 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 15020 _ACEOF 15021 cat >>$CONFIG_STATUS <<_ACEOF 15022 ac_datarootdir_hack=' 15023 s&@datadir@&$datadir&g 15024 s&@docdir@&$docdir&g 15025 s&@infodir@&$infodir&g 15026 s&@localedir@&$localedir&g 15027 s&@mandir@&$mandir&g 15028 s&\\\${datarootdir}&$datarootdir&g' ;; 15029 esac 15030 _ACEOF 15031 15032 # Neutralize VPATH when `$srcdir' = `.'. 15033 # Shell code in configure.ac might set extrasub. 15034 # FIXME: do we really want to maintain this feature? 15035 cat >>$CONFIG_STATUS <<_ACEOF 15036 sed "$ac_vpsub 15037 $extrasub 15038 _ACEOF 15039 cat >>$CONFIG_STATUS <<\_ACEOF 15040 :t 15041 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 15042 s&@configure_input@&$configure_input&;t t 15043 s&@top_builddir@&$ac_top_builddir_sub&;t t 15044 s&@srcdir@&$ac_srcdir&;t t 15045 s&@abs_srcdir@&$ac_abs_srcdir&;t t 15046 s&@top_srcdir@&$ac_top_srcdir&;t t 15047 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 15048 s&@builddir@&$ac_builddir&;t t 15049 s&@abs_builddir@&$ac_abs_builddir&;t t 15050 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 15051 s&@INSTALL@&$ac_INSTALL&;t t 15052 $ac_datarootdir_hack 15053 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 15054 15055 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 15056 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 15057 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 15058 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 15059 which seems to be undefined. Please make sure it is defined." >&5 15060 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 15061 which seems to be undefined. Please make sure it is defined." >&2;} 15062 15063 rm -f "$tmp/stdin" 15064 case $ac_file in 15065 -) cat "$tmp/out"; rm -f "$tmp/out";; 15066 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 15067 esac 15068 ;; 15069 :H) 15070 # 15071 # CONFIG_HEADER 15072 # 15073 _ACEOF 15074 15075 # Transform confdefs.h into a sed script `conftest.defines', that 15076 # substitutes the proper values into config.h.in to produce config.h. 15077 rm -f conftest.defines conftest.tail 15078 # First, append a space to every undef/define line, to ease matching. 15079 echo 's/$/ /' >conftest.defines 15080 # Then, protect against being on the right side of a sed subst, or in 15081 # an unquoted here document, in config.status. If some macros were 15082 # called several times there might be several #defines for the same 15083 # symbol, which is useless. But do not sort them, since the last 15084 # AC_DEFINE must be honored. 15085 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 15086 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 15087 # NAME is the cpp macro being defined, VALUE is the value it is being given. 15088 # PARAMS is the parameter list in the macro definition--in most cases, it's 15089 # just an empty string. 15090 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 15091 ac_dB='\\)[ (].*,\\1define\\2' 15092 ac_dC=' ' 15093 ac_dD=' ,' 15094 15095 uniq confdefs.h | 15096 sed -n ' 15097 t rset 15098 :rset 15099 s/^[ ]*#[ ]*define[ ][ ]*// 15100 t ok 15101 d 15102 :ok 15103 s/[\\&,]/\\&/g 15104 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 15105 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 15106 ' >>conftest.defines 15107 15108 # Remove the space that was appended to ease matching. 15109 # Then replace #undef with comments. This is necessary, for 15110 # example, in the case of _POSIX_SOURCE, which is predefined and required 15111 # on some systems where configure will not decide to define it. 15112 # (The regexp can be short, since the line contains either #define or #undef.) 15113 echo 's/ $// 15114 s,^[ #]*u.*,/* & */,' >>conftest.defines 15115 15116 # Break up conftest.defines: 15117 ac_max_sed_lines=50 15118 15119 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" 15120 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" 15121 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" 15122 # et cetera. 15123 ac_in='$ac_file_inputs' 15124 ac_out='"$tmp/out1"' 15125 ac_nxt='"$tmp/out2"' 15126 15127 while : 15128 do 15129 # Write a here document: 15130 cat >>$CONFIG_STATUS <<_ACEOF 15131 # First, check the format of the line: 15132 cat >"\$tmp/defines.sed" <<\\CEOF 15133 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def 15134 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 15135 b 15136 :def 15137 _ACEOF 15138 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 15139 echo 'CEOF 15140 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 15141 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 15142 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 15143 grep . conftest.tail >/dev/null || break 15144 rm -f conftest.defines 15145 mv conftest.tail conftest.defines 15146 done 15147 rm -f conftest.defines conftest.tail 15148 15149 echo "ac_result=$ac_in" >>$CONFIG_STATUS 15150 cat >>$CONFIG_STATUS <<\_ACEOF 15151 if test x"$ac_file" != x-; then 15152 echo "/* $configure_input */" >"$tmp/config.h" 15153 cat "$ac_result" >>"$tmp/config.h" 15154 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 15155 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 15156 echo "$as_me: $ac_file is unchanged" >&6;} 15157 else 15158 rm -f $ac_file 15159 mv "$tmp/config.h" $ac_file 15160 fi 15161 else 15162 echo "/* $configure_input */" 15163 cat "$ac_result" 15164 fi 15165 rm -f "$tmp/out12" 15166 # Compute $ac_file's index in $config_headers. 15167 _am_stamp_count=1 15168 for _am_header in $config_headers :; do 15169 case $_am_header in 15170 $ac_file | $ac_file:* ) 15171 break ;; 15172 * ) 15173 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 15174 esac 15175 done 15176 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file || 15177 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15178 X$ac_file : 'X\(//\)[^/]' \| \ 15179 X$ac_file : 'X\(//\)$' \| \ 15180 X$ac_file : 'X\(/\)' \| . 2>/dev/null || 15181 echo X$ac_file | 15182 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15183 s//\1/ 15184 q 15185 } 15186 /^X\(\/\/\)[^/].*/{ 15187 s//\1/ 15188 q 15189 } 15190 /^X\(\/\/\)$/{ 15191 s//\1/ 15192 q 15193 } 15194 /^X\(\/\).*/{ 15195 s//\1/ 15196 q 15197 } 15198 s/.*/./; q'`/stamp-h$_am_stamp_count 15199 ;; 15200 15201 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 15202 echo "$as_me: executing $ac_file commands" >&6;} 15203 ;; 15204 esac 15205 15206 15207 case $ac_file$ac_mode in 15208 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 15209 # Strip MF so we end up with the name of the file. 15210 mf=`echo "$mf" | sed -e 's/:.*$//'` 15211 # Check whether this is an Automake generated Makefile or not. 15212 # We used to match only the files named `Makefile.in', but 15213 # some people rename them; so instead we look at the file content. 15214 # Grep'ing the first line is not enough: some people post-process 15215 # each Makefile.in and add a new line on top of each file to say so. 15216 # So let's grep whole file. 15217 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 15218 dirpart=`$as_dirname -- "$mf" || 15219 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15220 X"$mf" : 'X\(//\)[^/]' \| \ 15221 X"$mf" : 'X\(//\)$' \| \ 15222 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 15223 echo X"$mf" | 15224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15225 s//\1/ 15226 q 15227 } 15228 /^X\(\/\/\)[^/].*/{ 15229 s//\1/ 15230 q 15231 } 15232 /^X\(\/\/\)$/{ 15233 s//\1/ 15234 q 15235 } 15236 /^X\(\/\).*/{ 15237 s//\1/ 15238 q 15239 } 15240 s/.*/./; q'` 15241 else 15242 continue 15243 fi 15244 # Extract the definition of DEPDIR, am__include, and am__quote 15245 # from the Makefile without running `make'. 15246 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 15247 test -z "$DEPDIR" && continue 15248 am__include=`sed -n 's/^am__include = //p' < "$mf"` 15249 test -z "am__include" && continue 15250 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 15251 # When using ansi2knr, U may be empty or an underscore; expand it 15252 U=`sed -n 's/^U = //p' < "$mf"` 15253 # Find all dependency output files, they are included files with 15254 # $(DEPDIR) in their names. We invoke sed twice because it is the 15255 # simplest approach to changing $(DEPDIR) to its actual value in the 15256 # expansion. 15257 for file in `sed -n " 15258 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 15259 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 15260 # Make sure the directory exists. 15261 test -f "$dirpart/$file" && continue 15262 fdir=`$as_dirname -- "$file" || 15263 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15264 X"$file" : 'X\(//\)[^/]' \| \ 15265 X"$file" : 'X\(//\)$' \| \ 15266 X"$file" : 'X\(/\)' \| . 2>/dev/null || 15267 echo X"$file" | 15268 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15269 s//\1/ 15270 q 15271 } 15272 /^X\(\/\/\)[^/].*/{ 15273 s//\1/ 15274 q 15275 } 15276 /^X\(\/\/\)$/{ 15277 s//\1/ 15278 q 15279 } 15280 /^X\(\/\).*/{ 15281 s//\1/ 15282 q 15283 } 15284 s/.*/./; q'` 15285 { as_dir=$dirpart/$fdir 15286 case $as_dir in #( 15287 -*) as_dir=./$as_dir;; 15288 esac 15289 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 15290 as_dirs= 15291 while :; do 15292 case $as_dir in #( 15293 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 15294 *) as_qdir=$as_dir;; 15295 esac 15296 as_dirs="'$as_qdir' $as_dirs" 15297 as_dir=`$as_dirname -- "$as_dir" || 15298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15299 X"$as_dir" : 'X\(//\)[^/]' \| \ 15300 X"$as_dir" : 'X\(//\)$' \| \ 15301 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 15302 echo X"$as_dir" | 15303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15304 s//\1/ 15305 q 15306 } 15307 /^X\(\/\/\)[^/].*/{ 15308 s//\1/ 15309 q 15310 } 15311 /^X\(\/\/\)$/{ 15312 s//\1/ 15313 q 15314 } 15315 /^X\(\/\).*/{ 15316 s//\1/ 15317 q 15318 } 15319 s/.*/./; q'` 15320 test -d "$as_dir" && break 15321 done 15322 test -z "$as_dirs" || eval "mkdir $as_dirs" 15323 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 15324 echo "$as_me: error: cannot create directory $as_dir" >&2;} 15325 { (exit 1); exit 1; }; }; } 15326 # echo "creating $dirpart/$file" 15327 echo '# dummy' > "$dirpart/$file" 15328 done 15329 done 15330 ;; 15331 "libtool":C) 15332 15333 # See if we are running on zsh, and set the options which allow our 15334 # commands through without removal of \ escapes. 15335 if test -n "${ZSH_VERSION+set}" ; then 15336 setopt NO_GLOB_SUBST 15337 fi 15338 15339 cfgfile="${ofile}T" 15340 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 15341 $RM "$cfgfile" 15342 15343 cat <<_LT_EOF >> "$cfgfile" 15344 #! $SHELL 15345 15346 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 15347 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 15348 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 15349 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 15350 # 15351 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 15352 # 2006, 2007, 2008 Free Software Foundation, Inc. 15353 # Written by Gordon Matzigkeit, 1996 15354 # 15355 # This file is part of GNU Libtool. 15356 # 15357 # GNU Libtool is free software; you can redistribute it and/or 15358 # modify it under the terms of the GNU General Public License as 15359 # published by the Free Software Foundation; either version 2 of 15360 # the License, or (at your option) any later version. 15361 # 15362 # As a special exception to the GNU General Public License, 15363 # if you distribute this file as part of a program or library that 15364 # is built using GNU Libtool, you may include this file under the 15365 # same distribution terms that you use for the rest of that program. 15366 # 15367 # GNU Libtool is distributed in the hope that it will be useful, 15368 # but WITHOUT ANY WARRANTY; without even the implied warranty of 15369 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15370 # GNU General Public License for more details. 15371 # 15372 # You should have received a copy of the GNU General Public License 15373 # along with GNU Libtool; see the file COPYING. If not, a copy 15374 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or 15375 # obtained by writing to the Free Software Foundation, Inc., 15376 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 15377 15378 15379 # The names of the tagged configurations supported by this script. 15380 available_tags="" 15381 15382 # ### BEGIN LIBTOOL CONFIG 15383 15384 # Which release of libtool.m4 was used? 15385 macro_version=$macro_version 15386 macro_revision=$macro_revision 15387 15388 # Whether or not to build shared libraries. 15389 build_libtool_libs=$enable_shared 15390 15391 # Whether or not to build static libraries. 15392 build_old_libs=$enable_static 15393 15394 # What type of objects to build. 15395 pic_mode=$pic_mode 15396 15397 # Whether or not to optimize for fast installation. 15398 fast_install=$enable_fast_install 15399 15400 # The host system. 15401 host_alias=$host_alias 15402 host=$host 15403 host_os=$host_os 15404 15405 # The build system. 15406 build_alias=$build_alias 15407 build=$build 15408 build_os=$build_os 15409 15410 # A sed program that does not truncate output. 15411 SED=$lt_SED 15412 15413 # Sed that helps us avoid accidentally triggering echo(1) options like -n. 15414 Xsed="\$SED -e 1s/^X//" 15415 15416 # A grep program that handles long lines. 15417 GREP=$lt_GREP 15418 15419 # An ERE matcher. 15420 EGREP=$lt_EGREP 15421 15422 # A literal string matcher. 15423 FGREP=$lt_FGREP 15424 15425 # A BSD- or MS-compatible name lister. 15426 NM=$lt_NM 15427 15428 # Whether we need soft or hard links. 15429 LN_S=$lt_LN_S 15430 15431 # What is the maximum length of a command? 15432 max_cmd_len=$max_cmd_len 15433 15434 # Object file suffix (normally "o"). 15435 objext=$ac_objext 15436 15437 # Executable file suffix (normally ""). 15438 exeext=$exeext 15439 15440 # whether the shell understands "unset". 15441 lt_unset=$lt_unset 15442 15443 # turn spaces into newlines. 15444 SP2NL=$lt_lt_SP2NL 15445 15446 # turn newlines into spaces. 15447 NL2SP=$lt_lt_NL2SP 15448 15449 # How to create reloadable object files. 15450 reload_flag=$lt_reload_flag 15451 reload_cmds=$lt_reload_cmds 15452 15453 # An object symbol dumper. 15454 OBJDUMP=$lt_OBJDUMP 15455 15456 # Method to check whether dependent libraries are shared objects. 15457 deplibs_check_method=$lt_deplibs_check_method 15458 15459 # Command to use when deplibs_check_method == "file_magic". 15460 file_magic_cmd=$lt_file_magic_cmd 15461 15462 # The archiver. 15463 AR=$lt_AR 15464 AR_FLAGS=$lt_AR_FLAGS 15465 15466 # A symbol stripping program. 15467 STRIP=$lt_STRIP 15468 15469 # Commands used to install an old-style archive. 15470 RANLIB=$lt_RANLIB 15471 old_postinstall_cmds=$lt_old_postinstall_cmds 15472 old_postuninstall_cmds=$lt_old_postuninstall_cmds 15473 15474 # A C compiler. 15475 LTCC=$lt_CC 15476 15477 # LTCC compiler flags. 15478 LTCFLAGS=$lt_CFLAGS 15479 15480 # Take the output of nm and produce a listing of raw symbols and C names. 15481 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 15482 15483 # Transform the output of nm in a proper C declaration. 15484 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 15485 15486 # Transform the output of nm in a C name address pair. 15487 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 15488 15489 # Transform the output of nm in a C name address pair when lib prefix is needed. 15490 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 15491 15492 # The name of the directory that contains temporary libtool files. 15493 objdir=$objdir 15494 15495 # Shell to use when invoking shell scripts. 15496 SHELL=$lt_SHELL 15497 15498 # An echo program that does not interpret backslashes. 15499 ECHO=$lt_ECHO 15500 15501 # Used to examine libraries when file_magic_cmd begins with "file". 15502 MAGIC_CMD=$MAGIC_CMD 15503 15504 # Must we lock files when doing compilation? 15505 need_locks=$lt_need_locks 15506 15507 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 15508 DSYMUTIL=$lt_DSYMUTIL 15509 15510 # Tool to change global to local symbols on Mac OS X. 15511 NMEDIT=$lt_NMEDIT 15512 15513 # Tool to manipulate fat objects and archives on Mac OS X. 15514 LIPO=$lt_LIPO 15515 15516 # ldd/readelf like tool for Mach-O binaries on Mac OS X. 15517 OTOOL=$lt_OTOOL 15518 15519 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 15520 OTOOL64=$lt_OTOOL64 15521 15522 # Old archive suffix (normally "a"). 15523 libext=$libext 15524 15525 # Shared library suffix (normally ".so"). 15526 shrext_cmds=$lt_shrext_cmds 15527 15528 # The commands to extract the exported symbol list from a shared archive. 15529 extract_expsyms_cmds=$lt_extract_expsyms_cmds 15530 15531 # Variables whose values should be saved in libtool wrapper scripts and 15532 # restored at link time. 15533 variables_saved_for_relink=$lt_variables_saved_for_relink 15534 15535 # Do we need the "lib" prefix for modules? 15536 need_lib_prefix=$need_lib_prefix 15537 15538 # Do we need a version for libraries? 15539 need_version=$need_version 15540 15541 # Library versioning type. 15542 version_type=$version_type 15543 15544 # Shared library runtime path variable. 15545 runpath_var=$runpath_var 15546 15547 # Shared library path variable. 15548 shlibpath_var=$shlibpath_var 15549 15550 # Is shlibpath searched before the hard-coded library search path? 15551 shlibpath_overrides_runpath=$shlibpath_overrides_runpath 15552 15553 # Format of library name prefix. 15554 libname_spec=$lt_libname_spec 15555 15556 # List of archive names. First name is the real one, the rest are links. 15557 # The last name is the one that the linker finds with -lNAME 15558 library_names_spec=$lt_library_names_spec 15559 15560 # The coded name of the library, if different from the real name. 15561 soname_spec=$lt_soname_spec 15562 15563 # Command to use after installation of a shared archive. 15564 postinstall_cmds=$lt_postinstall_cmds 15565 15566 # Command to use after uninstallation of a shared archive. 15567 postuninstall_cmds=$lt_postuninstall_cmds 15568 15569 # Commands used to finish a libtool library installation in a directory. 15570 finish_cmds=$lt_finish_cmds 15571 15572 # As "finish_cmds", except a single script fragment to be evaled but 15573 # not shown. 15574 finish_eval=$lt_finish_eval 15575 15576 # Whether we should hardcode library paths into libraries. 15577 hardcode_into_libs=$hardcode_into_libs 15578 15579 # Compile-time system search path for libraries. 15580 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 15581 15582 # Run-time system search path for libraries. 15583 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 15584 15585 # Whether dlopen is supported. 15586 dlopen_support=$enable_dlopen 15587 15588 # Whether dlopen of programs is supported. 15589 dlopen_self=$enable_dlopen_self 15590 15591 # Whether dlopen of statically linked programs is supported. 15592 dlopen_self_static=$enable_dlopen_self_static 15593 15594 # Commands to strip libraries. 15595 old_striplib=$lt_old_striplib 15596 striplib=$lt_striplib 15597 15598 15599 # The linker used to build libraries. 15600 LD=$lt_LD 15601 15602 # Commands used to build an old-style archive. 15603 old_archive_cmds=$lt_old_archive_cmds 15604 15605 # A language specific compiler. 15606 CC=$lt_compiler 15607 15608 # Is the compiler the GNU compiler? 15609 with_gcc=$GCC 15610 15611 # Compiler flag to turn off builtin functions. 15612 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 15613 15614 # How to pass a linker flag through the compiler. 15615 wl=$lt_lt_prog_compiler_wl 15616 15617 # Additional compiler flags for building library objects. 15618 pic_flag=$lt_lt_prog_compiler_pic 15619 15620 # Compiler flag to prevent dynamic linking. 15621 link_static_flag=$lt_lt_prog_compiler_static 15622 15623 # Does compiler simultaneously support -c and -o options? 15624 compiler_c_o=$lt_lt_cv_prog_compiler_c_o 15625 15626 # Whether or not to add -lc for building shared libraries. 15627 build_libtool_need_lc=$archive_cmds_need_lc 15628 15629 # Whether or not to disallow shared libs when runtime libs are static. 15630 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 15631 15632 # Compiler flag to allow reflexive dlopens. 15633 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 15634 15635 # Compiler flag to generate shared objects directly from archives. 15636 whole_archive_flag_spec=$lt_whole_archive_flag_spec 15637 15638 # Whether the compiler copes with passing no objects directly. 15639 compiler_needs_object=$lt_compiler_needs_object 15640 15641 # Create an old-style archive from a shared archive. 15642 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 15643 15644 # Create a temporary old-style archive to link instead of a shared archive. 15645 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 15646 15647 # Commands used to build a shared archive. 15648 archive_cmds=$lt_archive_cmds 15649 archive_expsym_cmds=$lt_archive_expsym_cmds 15650 15651 # Commands used to build a loadable module if different from building 15652 # a shared archive. 15653 module_cmds=$lt_module_cmds 15654 module_expsym_cmds=$lt_module_expsym_cmds 15655 15656 # Whether we are building with GNU ld or not. 15657 with_gnu_ld=$lt_with_gnu_ld 15658 15659 # Flag that allows shared libraries with undefined symbols to be built. 15660 allow_undefined_flag=$lt_allow_undefined_flag 15661 15662 # Flag that enforces no undefined symbols. 15663 no_undefined_flag=$lt_no_undefined_flag 15664 15665 # Flag to hardcode \$libdir into a binary during linking. 15666 # This must work even if \$libdir does not exist 15667 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 15668 15669 # If ld is used when linking, flag to hardcode \$libdir into a binary 15670 # during linking. This must work even if \$libdir does not exist. 15671 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 15672 15673 # Whether we need a single "-rpath" flag with a separated argument. 15674 hardcode_libdir_separator=$lt_hardcode_libdir_separator 15675 15676 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 15677 # DIR into the resulting binary. 15678 hardcode_direct=$hardcode_direct 15679 15680 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 15681 # DIR into the resulting binary and the resulting library dependency is 15682 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the 15683 # library is relocated. 15684 hardcode_direct_absolute=$hardcode_direct_absolute 15685 15686 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR 15687 # into the resulting binary. 15688 hardcode_minus_L=$hardcode_minus_L 15689 15690 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 15691 # into the resulting binary. 15692 hardcode_shlibpath_var=$hardcode_shlibpath_var 15693 15694 # Set to "yes" if building a shared library automatically hardcodes DIR 15695 # into the library and all subsequent libraries and executables linked 15696 # against it. 15697 hardcode_automatic=$hardcode_automatic 15698 15699 # Set to yes if linker adds runtime paths of dependent libraries 15700 # to runtime path list. 15701 inherit_rpath=$inherit_rpath 15702 15703 # Whether libtool must link a program against all its dependency libraries. 15704 link_all_deplibs=$link_all_deplibs 15705 15706 # Fix the shell variable \$srcfile for the compiler. 15707 fix_srcfile_path=$lt_fix_srcfile_path 15708 15709 # Set to "yes" if exported symbols are required. 15710 always_export_symbols=$always_export_symbols 15711 15712 # The commands to list exported symbols. 15713 export_symbols_cmds=$lt_export_symbols_cmds 15714 15715 # Symbols that should not be listed in the preloaded symbols. 15716 exclude_expsyms=$lt_exclude_expsyms 15717 15718 # Symbols that must always be exported. 15719 include_expsyms=$lt_include_expsyms 15720 15721 # Commands necessary for linking programs (against libraries) with templates. 15722 prelink_cmds=$lt_prelink_cmds 15723 15724 # Specify filename containing input files. 15725 file_list_spec=$lt_file_list_spec 15726 15727 # How to hardcode a shared library path into an executable. 15728 hardcode_action=$hardcode_action 15729 15730 # ### END LIBTOOL CONFIG 15731 15732 _LT_EOF 15733 15734 case $host_os in 15735 aix3*) 15736 cat <<\_LT_EOF >> "$cfgfile" 15737 # AIX sometimes has problems with the GCC collect2 program. For some 15738 # reason, if we set the COLLECT_NAMES environment variable, the problems 15739 # vanish in a puff of smoke. 15740 if test "X${COLLECT_NAMES+set}" != Xset; then 15741 COLLECT_NAMES= 15742 export COLLECT_NAMES 15743 fi 15744 _LT_EOF 15745 ;; 15746 esac 15747 15748 15749 ltmain="$ac_aux_dir/ltmain.sh" 15750 15751 15752 # We use sed instead of cat because bash on DJGPP gets confused if 15753 # if finds mixed CR/LF and LF-only lines. Since sed operates in 15754 # text mode, it properly converts lines to CR/LF. This bash problem 15755 # is reportedly fixed, but why not run on old versions too? 15756 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ 15757 || (rm -f "$cfgfile"; exit 1) 15758 15759 case $xsi_shell in 15760 yes) 15761 cat << \_LT_EOF >> "$cfgfile" 15762 15763 # func_dirname file append nondir_replacement 15764 # Compute the dirname of FILE. If nonempty, add APPEND to the result, 15765 # otherwise set result to NONDIR_REPLACEMENT. 15766 func_dirname () 15767 { 15768 case ${1} in 15769 */*) func_dirname_result="${1%/*}${2}" ;; 15770 * ) func_dirname_result="${3}" ;; 15771 esac 15772 } 15773 15774 # func_basename file 15775 func_basename () 15776 { 15777 func_basename_result="${1##*/}" 15778 } 15779 15780 # func_dirname_and_basename file append nondir_replacement 15781 # perform func_basename and func_dirname in a single function 15782 # call: 15783 # dirname: Compute the dirname of FILE. If nonempty, 15784 # add APPEND to the result, otherwise set result 15785 # to NONDIR_REPLACEMENT. 15786 # value returned in "$func_dirname_result" 15787 # basename: Compute filename of FILE. 15788 # value retuned in "$func_basename_result" 15789 # Implementation must be kept synchronized with func_dirname 15790 # and func_basename. For efficiency, we do not delegate to 15791 # those functions but instead duplicate the functionality here. 15792 func_dirname_and_basename () 15793 { 15794 case ${1} in 15795 */*) func_dirname_result="${1%/*}${2}" ;; 15796 * ) func_dirname_result="${3}" ;; 15797 esac 15798 func_basename_result="${1##*/}" 15799 } 15800 15801 # func_stripname prefix suffix name 15802 # strip PREFIX and SUFFIX off of NAME. 15803 # PREFIX and SUFFIX must not contain globbing or regex special 15804 # characters, hashes, percent signs, but SUFFIX may contain a leading 15805 # dot (in which case that matches only a dot). 15806 func_stripname () 15807 { 15808 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are 15809 # positional parameters, so assign one to ordinary parameter first. 15810 func_stripname_result=${3} 15811 func_stripname_result=${func_stripname_result#"${1}"} 15812 func_stripname_result=${func_stripname_result%"${2}"} 15813 } 15814 15815 # func_opt_split 15816 func_opt_split () 15817 { 15818 func_opt_split_opt=${1%%=*} 15819 func_opt_split_arg=${1#*=} 15820 } 15821 15822 # func_lo2o object 15823 func_lo2o () 15824 { 15825 case ${1} in 15826 *.lo) func_lo2o_result=${1%.lo}.${objext} ;; 15827 *) func_lo2o_result=${1} ;; 15828 esac 15829 } 15830 15831 # func_xform libobj-or-source 15832 func_xform () 15833 { 15834 func_xform_result=${1%.*}.lo 15835 } 15836 15837 # func_arith arithmetic-term... 15838 func_arith () 15839 { 15840 func_arith_result=$(( $* )) 15841 } 15842 15843 # func_len string 15844 # STRING may not start with a hyphen. 15845 func_len () 15846 { 15847 func_len_result=${#1} 15848 } 15849 15850 _LT_EOF 15851 ;; 15852 *) # Bourne compatible functions. 15853 cat << \_LT_EOF >> "$cfgfile" 15854 15855 # func_dirname file append nondir_replacement 15856 # Compute the dirname of FILE. If nonempty, add APPEND to the result, 15857 # otherwise set result to NONDIR_REPLACEMENT. 15858 func_dirname () 15859 { 15860 # Extract subdirectory from the argument. 15861 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` 15862 if test "X$func_dirname_result" = "X${1}"; then 15863 func_dirname_result="${3}" 15864 else 15865 func_dirname_result="$func_dirname_result${2}" 15866 fi 15867 } 15868 15869 # func_basename file 15870 func_basename () 15871 { 15872 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` 15873 } 15874 15875 15876 # func_stripname prefix suffix name 15877 # strip PREFIX and SUFFIX off of NAME. 15878 # PREFIX and SUFFIX must not contain globbing or regex special 15879 # characters, hashes, percent signs, but SUFFIX may contain a leading 15880 # dot (in which case that matches only a dot). 15881 # func_strip_suffix prefix name 15882 func_stripname () 15883 { 15884 case ${2} in 15885 .*) func_stripname_result=`$ECHO "X${3}" \ 15886 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; 15887 *) func_stripname_result=`$ECHO "X${3}" \ 15888 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; 15889 esac 15890 } 15891 15892 # sed scripts: 15893 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' 15894 my_sed_long_arg='1s/^-[^=]*=//' 15895 15896 # func_opt_split 15897 func_opt_split () 15898 { 15899 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` 15900 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` 15901 } 15902 15903 # func_lo2o object 15904 func_lo2o () 15905 { 15906 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` 15907 } 15908 15909 # func_xform libobj-or-source 15910 func_xform () 15911 { 15912 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` 15913 } 15914 15915 # func_arith arithmetic-term... 15916 func_arith () 15917 { 15918 func_arith_result=`expr "$@"` 15919 } 15920 15921 # func_len string 15922 # STRING may not start with a hyphen. 15923 func_len () 15924 { 15925 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` 15926 } 15927 15928 _LT_EOF 15929 esac 15930 15931 case $lt_shell_append in 15932 yes) 15933 cat << \_LT_EOF >> "$cfgfile" 15934 15935 # func_append var value 15936 # Append VALUE to the end of shell variable VAR. 15937 func_append () 15938 { 15939 eval "$1+=\$2" 15940 } 15941 _LT_EOF 15942 ;; 15943 *) 15944 cat << \_LT_EOF >> "$cfgfile" 15945 15946 # func_append var value 15947 # Append VALUE to the end of shell variable VAR. 15948 func_append () 15949 { 15950 eval "$1=\$$1\$2" 15951 } 15952 15953 _LT_EOF 15954 ;; 15955 esac 15956 15957 15958 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ 15959 || (rm -f "$cfgfile"; exit 1) 15960 15961 mv -f "$cfgfile" "$ofile" || 15962 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 15963 chmod +x "$ofile" 15964 15965 ;; 15966 15967 esac 15968 done # for ac_tag 15969 15970 15971 { (exit 0); exit 0; } 15972 _ACEOF 15973 chmod +x $CONFIG_STATUS 15974 ac_clean_files=$ac_clean_files_save 15975 15976 15977 # configure is writing to config.log, and then calls config.status. 15978 # config.status does its own redirection, appending to config.log. 15979 # Unfortunately, on DOS this fails, as config.log is still kept open 15980 # by configure, so config.status won't be able to write to it; its 15981 # output is simply discarded. So we exec the FD to /dev/null, 15982 # effectively closing config.log, so it can be properly (re)opened and 15983 # appended to by config.status. When coming back to configure, we 15984 # need to make the FD available again. 15985 if test "$no_create" != yes; then 15986 ac_cs_success=: 15987 ac_config_status_args= 15988 test "$silent" = yes && 15989 ac_config_status_args="$ac_config_status_args --quiet" 15990 exec 5>/dev/null 15991 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 15992 exec 5>>config.log 15993 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 15994 # would make configure fail if this is the last instruction. 15995 $ac_cs_success || { (exit 1); exit 1; } 15996 fi 15997 15998