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$ECHO in 557 X*--fallback-echo) 558 # Remove one level of quotation (which was required for Make). 559 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` 560 ;; 561 esac 562 563 echo=${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 <<EOF 582 $* 583 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 "$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 echo_test_string=`eval $cmd` && 598 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null 599 then 600 break 601 fi 602 done 603 fi 604 605 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && 606 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && 607 test "X$echo_testing_string" = "X$echo_test_string"; then 608 : 609 else 610 # The Solaris, AIX, and Digital Unix default echo programs unquote 611 # backslashes. This makes it impossible to quote backslashes using 612 # echo "$something" | sed 's/\\/\\\\/g' 613 # 614 # So, first we look for a working echo in the user's PATH. 615 616 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 617 for dir in $PATH /usr/ucb; do 618 IFS="$lt_save_ifs" 619 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && 620 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && 621 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && 622 test "X$echo_testing_string" = "X$echo_test_string"; then 623 echo="$dir/echo" 624 break 625 fi 626 done 627 IFS="$lt_save_ifs" 628 629 if test "X$echo" = Xecho; then 630 # We didn't find a better echo, so look for alternatives. 631 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && 632 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && 633 test "X$echo_testing_string" = "X$echo_test_string"; then 634 # This shell has a builtin print -r that does the trick. 635 echo='print -r' 636 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && 637 test "X$CONFIG_SHELL" != X/bin/ksh; then 638 # If we have ksh, try running configure again with it. 639 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 640 export ORIGINAL_CONFIG_SHELL 641 CONFIG_SHELL=/bin/ksh 642 export CONFIG_SHELL 643 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} 644 else 645 # Try using printf. 646 echo='printf %s\n' 647 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && 648 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && 649 test "X$echo_testing_string" = "X$echo_test_string"; then 650 # Cool, printf works 651 : 652 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 653 test "X$echo_testing_string" = 'X\t' && 654 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 655 test "X$echo_testing_string" = "X$echo_test_string"; then 656 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL 657 export CONFIG_SHELL 658 SHELL="$CONFIG_SHELL" 659 export SHELL 660 echo="$CONFIG_SHELL $0 --fallback-echo" 661 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 662 test "X$echo_testing_string" = 'X\t' && 663 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 664 test "X$echo_testing_string" = "X$echo_test_string"; then 665 echo="$CONFIG_SHELL $0 --fallback-echo" 666 else 667 # maybe with a smaller string... 668 prev=: 669 670 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do 671 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null 672 then 673 break 674 fi 675 prev="$cmd" 676 done 677 678 if test "$prev" != 'sed 50q "$0"'; then 679 echo_test_string=`eval $prev` 680 export echo_test_string 681 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} 682 else 683 # Oops. We lost completely, so just stick with echo. 684 echo=echo 685 fi 686 fi 687 fi 688 fi 689 fi 690 fi 691 692 # Copy echo and quote the copy suitably for passing to libtool from 693 # the Makefile, instead of quoting the original, which is used later. 694 ECHO=$echo 695 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then 696 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" 697 fi 698 699 700 701 702 tagnames=${tagnames+${tagnames},}CXX 703 704 tagnames=${tagnames+${tagnames},}F77 705 706 exec 7<&0 </dev/null 6>&1 707 708 # Name of the host. 709 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 710 # so uname gets run too. 711 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 712 713 # 714 # Initializations. 715 # 716 ac_default_prefix=/usr/local 717 ac_clean_files= 718 ac_config_libobj_dir=. 719 LIBOBJS= 720 cross_compiling=no 721 subdirs= 722 MFLAGS= 723 MAKEFLAGS= 724 SHELL=${CONFIG_SHELL-/bin/sh} 725 726 # Identity of this package. 727 PACKAGE_NAME= 728 PACKAGE_TARNAME= 729 PACKAGE_VERSION= 730 PACKAGE_STRING= 731 PACKAGE_BUGREPORT= 732 733 ac_unique_file="entities.c" 734 # Factoring default headers for most tests. 735 ac_includes_default="\ 736 #include <stdio.h> 737 #ifdef HAVE_SYS_TYPES_H 738 # include <sys/types.h> 739 #endif 740 #ifdef HAVE_SYS_STAT_H 741 # include <sys/stat.h> 742 #endif 743 #ifdef STDC_HEADERS 744 # include <stdlib.h> 745 # include <stddef.h> 746 #else 747 # ifdef HAVE_STDLIB_H 748 # include <stdlib.h> 749 # endif 750 #endif 751 #ifdef HAVE_STRING_H 752 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 753 # include <memory.h> 754 # endif 755 # include <string.h> 756 #endif 757 #ifdef HAVE_STRINGS_H 758 # include <strings.h> 759 #endif 760 #ifdef HAVE_INTTYPES_H 761 # include <inttypes.h> 762 #endif 763 #ifdef HAVE_STDINT_H 764 # include <stdint.h> 765 #endif 766 #ifdef HAVE_UNISTD_H 767 # include <unistd.h> 768 #endif" 769 770 ac_subst_vars='SHELL 771 PATH_SEPARATOR 772 PACKAGE_NAME 773 PACKAGE_TARNAME 774 PACKAGE_VERSION 775 PACKAGE_STRING 776 PACKAGE_BUGREPORT 777 exec_prefix 778 prefix 779 program_transform_name 780 bindir 781 sbindir 782 libexecdir 783 datarootdir 784 datadir 785 sysconfdir 786 sharedstatedir 787 localstatedir 788 includedir 789 oldincludedir 790 docdir 791 infodir 792 htmldir 793 dvidir 794 pdfdir 795 psdir 796 libdir 797 localedir 798 mandir 799 DEFS 800 ECHO_C 801 ECHO_N 802 ECHO_T 803 LIBS 804 build_alias 805 host_alias 806 target_alias 807 build 808 build_cpu 809 build_vendor 810 build_os 811 host 812 host_cpu 813 host_vendor 814 host_os 815 LIBXML_MAJOR_VERSION 816 LIBXML_MINOR_VERSION 817 LIBXML_MICRO_VERSION 818 LIBXML_VERSION 819 LIBXML_VERSION_INFO 820 LIBXML_VERSION_NUMBER 821 LIBXML_VERSION_EXTRA 822 INSTALL_PROGRAM 823 INSTALL_SCRIPT 824 INSTALL_DATA 825 am__isrc 826 CYGPATH_W 827 PACKAGE 828 VERSION 829 ACLOCAL 830 AUTOCONF 831 AUTOMAKE 832 AUTOHEADER 833 MAKEINFO 834 install_sh 835 STRIP 836 INSTALL_STRIP_PROGRAM 837 mkdir_p 838 AWK 839 SET_MAKE 840 am__leading_dot 841 AMTAR 842 am__tar 843 am__untar 844 CC 845 CFLAGS 846 LDFLAGS 847 CPPFLAGS 848 ac_ct_CC 849 EXEEXT 850 OBJEXT 851 DEPDIR 852 am__include 853 am__quote 854 AMDEP_TRUE 855 AMDEP_FALSE 856 AMDEPBACKSLASH 857 CCDEPMODE 858 am__fastdepCC_TRUE 859 am__fastdepCC_FALSE 860 CPP 861 RM 862 MV 863 TAR 864 PERL 865 WGET 866 XMLLINT 867 XSLTPROC 868 GREP 869 EGREP 870 U 871 ANSI2KNR 872 SED 873 LN_S 874 ECHO 875 AR 876 RANLIB 877 DLLTOOL 878 AS 879 OBJDUMP 880 CXX 881 CXXFLAGS 882 ac_ct_CXX 883 CXXDEPMODE 884 am__fastdepCXX_TRUE 885 am__fastdepCXX_FALSE 886 CXXCPP 887 F77 888 FFLAGS 889 ac_ct_F77 890 LIBTOOL 891 HTML_DIR 892 Z_CFLAGS 893 Z_LIBS 894 WITH_ZLIB 895 PYTHON 896 WITH_PYTHON_TRUE 897 WITH_PYTHON_FALSE 898 pythondir 899 PYTHON_SUBDIR 900 WITH_MODULES 901 MODULE_PLATFORM_LIBS 902 MODULE_EXTENSION 903 TEST_MODULES 904 STATIC_BINARIES 905 WITH_TRIO_SOURCES_TRUE 906 WITH_TRIO_SOURCES_FALSE 907 WITH_TRIO 908 THREAD_LIBS 909 BASE_THREAD_LIBS 910 WITH_THREADS 911 THREAD_CFLAGS 912 TEST_THREADS 913 THREADS_W32 914 WITH_TREE 915 WITH_FTP 916 FTP_OBJ 917 WITH_HTTP 918 HTTP_OBJ 919 WITH_LEGACY 920 WITH_READER 921 READER_TEST 922 WITH_WRITER 923 WITH_PATTERN 924 TEST_PATTERN 925 WITH_SAX1 926 TEST_SAX 927 WITH_PUSH 928 TEST_PUSH 929 WITH_HTML 930 HTML_OBJ 931 TEST_HTML 932 TEST_PHTML 933 WITH_VALID 934 TEST_VALID 935 TEST_VTIME 936 WITH_CATALOG 937 CATALOG_OBJ 938 TEST_CATALOG 939 WITH_DOCB 940 DOCB_OBJ 941 WITH_XPTR 942 XPTR_OBJ 943 TEST_XPTR 944 WITH_C14N 945 C14N_OBJ 946 TEST_C14N 947 WITH_XINCLUDE 948 XINCLUDE_OBJ 949 TEST_XINCLUDE 950 WITH_XPATH 951 XPATH_OBJ 952 TEST_XPATH 953 WITH_OUTPUT 954 WITH_ICONV 955 WITH_ISO8859X 956 WITH_SCHEMATRON 957 TEST_SCHEMATRON 958 WITH_SCHEMAS 959 TEST_SCHEMAS 960 WITH_REGEXPS 961 TEST_REGEXPS 962 WITH_DEBUG 963 DEBUG_OBJ 964 TEST_DEBUG 965 WITH_MEM_DEBUG 966 WITH_RUN_DEBUG 967 WIN32_EXTRA_LIBADD 968 WIN32_EXTRA_LDFLAGS 969 CYGWIN_EXTRA_LDFLAGS 970 CYGWIN_EXTRA_PYTHON_LIBADD 971 XML_CFLAGS 972 XML_LIBDIR 973 XML_LIBS 974 XML_LIBTOOLLIBS 975 ICONV_LIBS 976 XML_INCLUDEDIR 977 HAVE_ISNAN 978 HAVE_ISINF 979 PYTHON_VERSION 980 PYTHON_INCLUDES 981 PYTHON_SITE_PACKAGES 982 M_LIBS 983 RDL_LIBS 984 RELDATE 985 PYTHON_TESTS 986 LIBOBJS 987 LTLIBOBJS' 988 ac_subst_files='' 989 ac_precious_vars='build_alias 990 host_alias 991 target_alias 992 CC 993 CFLAGS 994 LDFLAGS 995 LIBS 996 CPPFLAGS 997 CPP 998 CXX 999 CXXFLAGS 1000 CCC 1001 CXXCPP 1002 F77 1003 FFLAGS' 1004 1005 1006 # Initialize some variables set by options. 1007 ac_init_help= 1008 ac_init_version=false 1009 # The variables have the same names as the options, with 1010 # dashes changed to underlines. 1011 cache_file=/dev/null 1012 exec_prefix=NONE 1013 no_create= 1014 no_recursion= 1015 prefix=NONE 1016 program_prefix=NONE 1017 program_suffix=NONE 1018 program_transform_name=s,x,x, 1019 silent= 1020 site= 1021 srcdir= 1022 verbose= 1023 x_includes=NONE 1024 x_libraries=NONE 1025 1026 # Installation directory options. 1027 # These are left unexpanded so users can "make install exec_prefix=/foo" 1028 # and all the variables that are supposed to be based on exec_prefix 1029 # by default will actually change. 1030 # Use braces instead of parens because sh, perl, etc. also accept them. 1031 # (The list follows the same order as the GNU Coding Standards.) 1032 bindir='${exec_prefix}/bin' 1033 sbindir='${exec_prefix}/sbin' 1034 libexecdir='${exec_prefix}/libexec' 1035 datarootdir='${prefix}/share' 1036 datadir='${datarootdir}' 1037 sysconfdir='${prefix}/etc' 1038 sharedstatedir='${prefix}/com' 1039 localstatedir='${prefix}/var' 1040 includedir='${prefix}/include' 1041 oldincludedir='/usr/include' 1042 docdir='${datarootdir}/doc/${PACKAGE}' 1043 infodir='${datarootdir}/info' 1044 htmldir='${docdir}' 1045 dvidir='${docdir}' 1046 pdfdir='${docdir}' 1047 psdir='${docdir}' 1048 libdir='${exec_prefix}/lib' 1049 localedir='${datarootdir}/locale' 1050 mandir='${datarootdir}/man' 1051 1052 ac_prev= 1053 ac_dashdash= 1054 for ac_option 1055 do 1056 # If the previous option needs an argument, assign it. 1057 if test -n "$ac_prev"; then 1058 eval $ac_prev=\$ac_option 1059 ac_prev= 1060 continue 1061 fi 1062 1063 case $ac_option in 1064 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1065 *) ac_optarg=yes ;; 1066 esac 1067 1068 # Accept the important Cygnus configure options, so we can diagnose typos. 1069 1070 case $ac_dashdash$ac_option in 1071 --) 1072 ac_dashdash=yes ;; 1073 1074 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1075 ac_prev=bindir ;; 1076 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1077 bindir=$ac_optarg ;; 1078 1079 -build | --build | --buil | --bui | --bu) 1080 ac_prev=build_alias ;; 1081 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1082 build_alias=$ac_optarg ;; 1083 1084 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1085 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1086 ac_prev=cache_file ;; 1087 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1088 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1089 cache_file=$ac_optarg ;; 1090 1091 --config-cache | -C) 1092 cache_file=config.cache ;; 1093 1094 -datadir | --datadir | --datadi | --datad) 1095 ac_prev=datadir ;; 1096 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1097 datadir=$ac_optarg ;; 1098 1099 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1100 | --dataroo | --dataro | --datar) 1101 ac_prev=datarootdir ;; 1102 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1103 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1104 datarootdir=$ac_optarg ;; 1105 1106 -disable-* | --disable-*) 1107 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1108 # Reject names that are not valid shell variable names. 1109 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 1110 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 1111 { (exit 1); exit 1; }; } 1112 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 1113 eval enable_$ac_feature=no ;; 1114 1115 -docdir | --docdir | --docdi | --doc | --do) 1116 ac_prev=docdir ;; 1117 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1118 docdir=$ac_optarg ;; 1119 1120 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1121 ac_prev=dvidir ;; 1122 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1123 dvidir=$ac_optarg ;; 1124 1125 -enable-* | --enable-*) 1126 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1127 # Reject names that are not valid shell variable names. 1128 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 1129 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 1130 { (exit 1); exit 1; }; } 1131 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 1132 eval enable_$ac_feature=\$ac_optarg ;; 1133 1134 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1135 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1136 | --exec | --exe | --ex) 1137 ac_prev=exec_prefix ;; 1138 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1139 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1140 | --exec=* | --exe=* | --ex=*) 1141 exec_prefix=$ac_optarg ;; 1142 1143 -gas | --gas | --ga | --g) 1144 # Obsolete; use --with-gas. 1145 with_gas=yes ;; 1146 1147 -help | --help | --hel | --he | -h) 1148 ac_init_help=long ;; 1149 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1150 ac_init_help=recursive ;; 1151 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1152 ac_init_help=short ;; 1153 1154 -host | --host | --hos | --ho) 1155 ac_prev=host_alias ;; 1156 -host=* | --host=* | --hos=* | --ho=*) 1157 host_alias=$ac_optarg ;; 1158 1159 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1160 ac_prev=htmldir ;; 1161 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1162 | --ht=*) 1163 htmldir=$ac_optarg ;; 1164 1165 -includedir | --includedir | --includedi | --included | --include \ 1166 | --includ | --inclu | --incl | --inc) 1167 ac_prev=includedir ;; 1168 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1169 | --includ=* | --inclu=* | --incl=* | --inc=*) 1170 includedir=$ac_optarg ;; 1171 1172 -infodir | --infodir | --infodi | --infod | --info | --inf) 1173 ac_prev=infodir ;; 1174 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1175 infodir=$ac_optarg ;; 1176 1177 -libdir | --libdir | --libdi | --libd) 1178 ac_prev=libdir ;; 1179 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1180 libdir=$ac_optarg ;; 1181 1182 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1183 | --libexe | --libex | --libe) 1184 ac_prev=libexecdir ;; 1185 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1186 | --libexe=* | --libex=* | --libe=*) 1187 libexecdir=$ac_optarg ;; 1188 1189 -localedir | --localedir | --localedi | --localed | --locale) 1190 ac_prev=localedir ;; 1191 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1192 localedir=$ac_optarg ;; 1193 1194 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1195 | --localstate | --localstat | --localsta | --localst | --locals) 1196 ac_prev=localstatedir ;; 1197 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1198 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1199 localstatedir=$ac_optarg ;; 1200 1201 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1202 ac_prev=mandir ;; 1203 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1204 mandir=$ac_optarg ;; 1205 1206 -nfp | --nfp | --nf) 1207 # Obsolete; use --without-fp. 1208 with_fp=no ;; 1209 1210 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1211 | --no-cr | --no-c | -n) 1212 no_create=yes ;; 1213 1214 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1215 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1216 no_recursion=yes ;; 1217 1218 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1219 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1220 | --oldin | --oldi | --old | --ol | --o) 1221 ac_prev=oldincludedir ;; 1222 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1223 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1224 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1225 oldincludedir=$ac_optarg ;; 1226 1227 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1228 ac_prev=prefix ;; 1229 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1230 prefix=$ac_optarg ;; 1231 1232 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1233 | --program-pre | --program-pr | --program-p) 1234 ac_prev=program_prefix ;; 1235 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1236 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1237 program_prefix=$ac_optarg ;; 1238 1239 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1240 | --program-suf | --program-su | --program-s) 1241 ac_prev=program_suffix ;; 1242 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1243 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1244 program_suffix=$ac_optarg ;; 1245 1246 -program-transform-name | --program-transform-name \ 1247 | --program-transform-nam | --program-transform-na \ 1248 | --program-transform-n | --program-transform- \ 1249 | --program-transform | --program-transfor \ 1250 | --program-transfo | --program-transf \ 1251 | --program-trans | --program-tran \ 1252 | --progr-tra | --program-tr | --program-t) 1253 ac_prev=program_transform_name ;; 1254 -program-transform-name=* | --program-transform-name=* \ 1255 | --program-transform-nam=* | --program-transform-na=* \ 1256 | --program-transform-n=* | --program-transform-=* \ 1257 | --program-transform=* | --program-transfor=* \ 1258 | --program-transfo=* | --program-transf=* \ 1259 | --program-trans=* | --program-tran=* \ 1260 | --progr-tra=* | --program-tr=* | --program-t=*) 1261 program_transform_name=$ac_optarg ;; 1262 1263 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1264 ac_prev=pdfdir ;; 1265 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1266 pdfdir=$ac_optarg ;; 1267 1268 -psdir | --psdir | --psdi | --psd | --ps) 1269 ac_prev=psdir ;; 1270 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1271 psdir=$ac_optarg ;; 1272 1273 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1274 | -silent | --silent | --silen | --sile | --sil) 1275 silent=yes ;; 1276 1277 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1278 ac_prev=sbindir ;; 1279 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1280 | --sbi=* | --sb=*) 1281 sbindir=$ac_optarg ;; 1282 1283 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1284 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1285 | --sharedst | --shareds | --shared | --share | --shar \ 1286 | --sha | --sh) 1287 ac_prev=sharedstatedir ;; 1288 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1289 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1290 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1291 | --sha=* | --sh=*) 1292 sharedstatedir=$ac_optarg ;; 1293 1294 -site | --site | --sit) 1295 ac_prev=site ;; 1296 -site=* | --site=* | --sit=*) 1297 site=$ac_optarg ;; 1298 1299 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1300 ac_prev=srcdir ;; 1301 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1302 srcdir=$ac_optarg ;; 1303 1304 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1305 | --syscon | --sysco | --sysc | --sys | --sy) 1306 ac_prev=sysconfdir ;; 1307 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1308 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1309 sysconfdir=$ac_optarg ;; 1310 1311 -target | --target | --targe | --targ | --tar | --ta | --t) 1312 ac_prev=target_alias ;; 1313 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1314 target_alias=$ac_optarg ;; 1315 1316 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1317 verbose=yes ;; 1318 1319 -version | --version | --versio | --versi | --vers | -V) 1320 ac_init_version=: ;; 1321 1322 -with-* | --with-*) 1323 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1324 # Reject names that are not valid shell variable names. 1325 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1326 { echo "$as_me: error: invalid package name: $ac_package" >&2 1327 { (exit 1); exit 1; }; } 1328 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1329 eval with_$ac_package=\$ac_optarg ;; 1330 1331 -without-* | --without-*) 1332 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1333 # Reject names that are not valid shell variable names. 1334 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1335 { echo "$as_me: error: invalid package name: $ac_package" >&2 1336 { (exit 1); exit 1; }; } 1337 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1338 eval with_$ac_package=no ;; 1339 1340 --x) 1341 # Obsolete; use --with-x. 1342 with_x=yes ;; 1343 1344 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1345 | --x-incl | --x-inc | --x-in | --x-i) 1346 ac_prev=x_includes ;; 1347 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1348 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1349 x_includes=$ac_optarg ;; 1350 1351 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1352 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1353 ac_prev=x_libraries ;; 1354 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1355 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1356 x_libraries=$ac_optarg ;; 1357 1358 -*) { echo "$as_me: error: unrecognized option: $ac_option 1359 Try \`$0 --help' for more information." >&2 1360 { (exit 1); exit 1; }; } 1361 ;; 1362 1363 *=*) 1364 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1365 # Reject names that are not valid shell variable names. 1366 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1367 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1368 { (exit 1); exit 1; }; } 1369 eval $ac_envvar=\$ac_optarg 1370 export $ac_envvar ;; 1371 1372 *) 1373 # FIXME: should be removed in autoconf 3.0. 1374 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1375 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1376 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1377 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1378 ;; 1379 1380 esac 1381 done 1382 1383 if test -n "$ac_prev"; then 1384 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1385 { echo "$as_me: error: missing argument to $ac_option" >&2 1386 { (exit 1); exit 1; }; } 1387 fi 1388 1389 # Be sure to have absolute directory names. 1390 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1391 datadir sysconfdir sharedstatedir localstatedir includedir \ 1392 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1393 libdir localedir mandir 1394 do 1395 eval ac_val=\$$ac_var 1396 case $ac_val in 1397 [\\/$]* | ?:[\\/]* ) continue;; 1398 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1399 esac 1400 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1401 { (exit 1); exit 1; }; } 1402 done 1403 1404 # There might be people who depend on the old broken behavior: `$host' 1405 # used to hold the argument of --host etc. 1406 # FIXME: To remove some day. 1407 build=$build_alias 1408 host=$host_alias 1409 target=$target_alias 1410 1411 # FIXME: To remove some day. 1412 if test "x$host_alias" != x; then 1413 if test "x$build_alias" = x; then 1414 cross_compiling=maybe 1415 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1416 If a cross compiler is detected then cross compile mode will be used." >&2 1417 elif test "x$build_alias" != "x$host_alias"; then 1418 cross_compiling=yes 1419 fi 1420 fi 1421 1422 ac_tool_prefix= 1423 test -n "$host_alias" && ac_tool_prefix=$host_alias- 1424 1425 test "$silent" = yes && exec 6>/dev/null 1426 1427 1428 ac_pwd=`pwd` && test -n "$ac_pwd" && 1429 ac_ls_di=`ls -di .` && 1430 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1431 { echo "$as_me: error: Working directory cannot be determined" >&2 1432 { (exit 1); exit 1; }; } 1433 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1434 { echo "$as_me: error: pwd does not report name of working directory" >&2 1435 { (exit 1); exit 1; }; } 1436 1437 1438 # Find the source files, if location was not specified. 1439 if test -z "$srcdir"; then 1440 ac_srcdir_defaulted=yes 1441 # Try the directory containing this script, then the parent directory. 1442 ac_confdir=`$as_dirname -- "$0" || 1443 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1444 X"$0" : 'X\(//\)[^/]' \| \ 1445 X"$0" : 'X\(//\)$' \| \ 1446 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1447 echo X"$0" | 1448 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1449 s//\1/ 1450 q 1451 } 1452 /^X\(\/\/\)[^/].*/{ 1453 s//\1/ 1454 q 1455 } 1456 /^X\(\/\/\)$/{ 1457 s//\1/ 1458 q 1459 } 1460 /^X\(\/\).*/{ 1461 s//\1/ 1462 q 1463 } 1464 s/.*/./; q'` 1465 srcdir=$ac_confdir 1466 if test ! -r "$srcdir/$ac_unique_file"; then 1467 srcdir=.. 1468 fi 1469 else 1470 ac_srcdir_defaulted=no 1471 fi 1472 if test ! -r "$srcdir/$ac_unique_file"; then 1473 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1474 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1475 { (exit 1); exit 1; }; } 1476 fi 1477 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1478 ac_abs_confdir=`( 1479 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1480 { (exit 1); exit 1; }; } 1481 pwd)` 1482 # When building in place, set srcdir=. 1483 if test "$ac_abs_confdir" = "$ac_pwd"; then 1484 srcdir=. 1485 fi 1486 # Remove unnecessary trailing slashes from srcdir. 1487 # Double slashes in file names in object file debugging info 1488 # mess up M-x gdb in Emacs. 1489 case $srcdir in 1490 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1491 esac 1492 for ac_var in $ac_precious_vars; do 1493 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1494 eval ac_env_${ac_var}_value=\$${ac_var} 1495 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1496 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1497 done 1498 1499 # 1500 # Report the --help message. 1501 # 1502 if test "$ac_init_help" = "long"; then 1503 # Omit some internal or obsolete options to make the list less imposing. 1504 # This message is too long to be a string in the A/UX 3.1 sh. 1505 cat <<_ACEOF 1506 \`configure' configures this package to adapt to many kinds of systems. 1507 1508 Usage: $0 [OPTION]... [VAR=VALUE]... 1509 1510 To assign environment variables (e.g., CC, CFLAGS...), specify them as 1511 VAR=VALUE. See below for descriptions of some of the useful variables. 1512 1513 Defaults for the options are specified in brackets. 1514 1515 Configuration: 1516 -h, --help display this help and exit 1517 --help=short display options specific to this package 1518 --help=recursive display the short help of all the included packages 1519 -V, --version display version information and exit 1520 -q, --quiet, --silent do not print \`checking...' messages 1521 --cache-file=FILE cache test results in FILE [disabled] 1522 -C, --config-cache alias for \`--cache-file=config.cache' 1523 -n, --no-create do not create output files 1524 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1525 1526 Installation directories: 1527 --prefix=PREFIX install architecture-independent files in PREFIX 1528 [$ac_default_prefix] 1529 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1530 [PREFIX] 1531 1532 By default, \`make install' will install all the files in 1533 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1534 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1535 for instance \`--prefix=\$HOME'. 1536 1537 For better control, use the options below. 1538 1539 Fine tuning of the installation directories: 1540 --bindir=DIR user executables [EPREFIX/bin] 1541 --sbindir=DIR system admin executables [EPREFIX/sbin] 1542 --libexecdir=DIR program executables [EPREFIX/libexec] 1543 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1544 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1545 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1546 --libdir=DIR object code libraries [EPREFIX/lib] 1547 --includedir=DIR C header files [PREFIX/include] 1548 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1549 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1550 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1551 --infodir=DIR info documentation [DATAROOTDIR/info] 1552 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1553 --mandir=DIR man documentation [DATAROOTDIR/man] 1554 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1555 --htmldir=DIR html documentation [DOCDIR] 1556 --dvidir=DIR dvi documentation [DOCDIR] 1557 --pdfdir=DIR pdf documentation [DOCDIR] 1558 --psdir=DIR ps documentation [DOCDIR] 1559 _ACEOF 1560 1561 cat <<\_ACEOF 1562 1563 Program names: 1564 --program-prefix=PREFIX prepend PREFIX to installed program names 1565 --program-suffix=SUFFIX append SUFFIX to installed program names 1566 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1567 1568 System types: 1569 --build=BUILD configure for building on BUILD [guessed] 1570 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1571 _ACEOF 1572 fi 1573 1574 if test -n "$ac_init_help"; then 1575 1576 cat <<\_ACEOF 1577 1578 Optional Features: 1579 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1580 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1581 --disable-dependency-tracking speeds up one-time build 1582 --enable-dependency-tracking do not reject slow dependency extractors 1583 --enable-shared[=PKGS] build shared libraries [default=yes] 1584 --enable-static[=PKGS] build static libraries [default=yes] 1585 --enable-fast-install[=PKGS] 1586 optimize for fast installation [default=yes] 1587 --disable-libtool-lock avoid locking (might break parallel builds) 1588 --enable-ipv6[=yes/no] enables compilation of IPv6 code [default=yes] 1589 1590 Optional Packages: 1591 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1592 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1593 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1594 --with-pic try to use only PIC/non-PIC objects [default=use 1595 both] 1596 --with-tags[=TAGS] include additional configurations [automatic] 1597 --with-c14n add the Canonicalization support (on) 1598 --with-catalog add the Catalog support (on) 1599 --with-debug add the debugging module (on) 1600 --with-docbook add Docbook SGML support (on) 1601 --with-fexceptions add GCC flag -fexceptions for C++ exceptions (off) 1602 --with-ftp add the FTP support (on) 1603 --with-history add history support to xmllint shell(off) 1604 --with-html add the HTML support (on) 1605 --with-html-dir=path path to base html directory, default 1606 $datadir/doc/html 1607 --with-html-subdir=path directory used under html-dir, default 1608 $PACKAGE-$VERSION/html 1609 --with-http add the HTTP support (on) 1610 --with-iconv[=DIR] add ICONV support (on) 1611 --with-iso8859x add ISO8859X support if no iconv (on) 1612 --with-legacy add deprecated APIs for compatibility (on) 1613 --with-mem-debug add the memory debugging module (off) 1614 --with-minimum build a minimally sized library (off) 1615 --with-output add the serialization support (on) 1616 --with-pattern add the xmlPattern selection interface (on) 1617 --with-push add the PUSH parser interfaces (on) 1618 --with-python[=DIR] build Python bindings if found 1619 --with-reader add the xmlReader parsing interface (on) 1620 --with-readline=DIR use readline in DIR 1621 --with-regexps add Regular Expressions support (on) 1622 --with-run-debug add the runtime debugging module (off) 1623 --with-sax1 add the older SAX1 interface (on) 1624 --with-schemas add Relax-NG and Schemas support (on) 1625 --with-schematron add Schematron support (on) 1626 --with-threads add multithread support(on) 1627 --with-thread-alloc add per-thread memory(off) 1628 --with-tree add the DOM like tree manipulation APIs (on) 1629 --with-valid add the DTD validation support (on) 1630 --with-writer add the xmlWriter saving interface (on) 1631 --with-xinclude add the XInclude support (on) 1632 --with-xpath add the XPATH support (on) 1633 --with-xptr add the XPointer support (on) 1634 --with-modules add the dynamic modules support (on) 1635 --with-zlib[=DIR] use libz in DIR 1636 --with-coverage build for code coverage with GCC (off) 1637 1638 Some influential environment variables: 1639 CC C compiler command 1640 CFLAGS C compiler flags 1641 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1642 nonstandard directory <lib dir> 1643 LIBS libraries to pass to the linker, e.g. -l<library> 1644 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1645 you have headers in a nonstandard directory <include dir> 1646 CPP C preprocessor 1647 CXX C++ compiler command 1648 CXXFLAGS C++ compiler flags 1649 CXXCPP C++ preprocessor 1650 F77 Fortran 77 compiler command 1651 FFLAGS Fortran 77 compiler flags 1652 1653 Use these variables to override the choices made by `configure' or to help 1654 it to find libraries and programs with nonstandard names/locations. 1655 1656 _ACEOF 1657 ac_status=$? 1658 fi 1659 1660 if test "$ac_init_help" = "recursive"; then 1661 # If there are subdirs, report their specific --help. 1662 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1663 test -d "$ac_dir" || continue 1664 ac_builddir=. 1665 1666 case "$ac_dir" in 1667 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1668 *) 1669 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1670 # A ".." for each directory in $ac_dir_suffix. 1671 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1672 case $ac_top_builddir_sub in 1673 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1674 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1675 esac ;; 1676 esac 1677 ac_abs_top_builddir=$ac_pwd 1678 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1679 # for backward compatibility: 1680 ac_top_builddir=$ac_top_build_prefix 1681 1682 case $srcdir in 1683 .) # We are building in place. 1684 ac_srcdir=. 1685 ac_top_srcdir=$ac_top_builddir_sub 1686 ac_abs_top_srcdir=$ac_pwd ;; 1687 [\\/]* | ?:[\\/]* ) # Absolute name. 1688 ac_srcdir=$srcdir$ac_dir_suffix; 1689 ac_top_srcdir=$srcdir 1690 ac_abs_top_srcdir=$srcdir ;; 1691 *) # Relative name. 1692 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1693 ac_top_srcdir=$ac_top_build_prefix$srcdir 1694 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1695 esac 1696 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1697 1698 cd "$ac_dir" || { ac_status=$?; continue; } 1699 # Check for guested configure. 1700 if test -f "$ac_srcdir/configure.gnu"; then 1701 echo && 1702 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1703 elif test -f "$ac_srcdir/configure"; then 1704 echo && 1705 $SHELL "$ac_srcdir/configure" --help=recursive 1706 else 1707 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1708 fi || ac_status=$? 1709 cd "$ac_pwd" || { ac_status=$?; break; } 1710 done 1711 fi 1712 1713 test -n "$ac_init_help" && exit $ac_status 1714 if $ac_init_version; then 1715 cat <<\_ACEOF 1716 configure 1717 generated by GNU Autoconf 2.61 1718 1719 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1720 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1721 This configure script is free software; the Free Software Foundation 1722 gives unlimited permission to copy, distribute and modify it. 1723 _ACEOF 1724 exit 1725 fi 1726 cat >config.log <<_ACEOF 1727 This file contains any messages produced by compilers while 1728 running configure, to aid debugging if configure makes a mistake. 1729 1730 It was created by $as_me, which was 1731 generated by GNU Autoconf 2.61. Invocation command line was 1732 1733 $ $0 $@ 1734 1735 _ACEOF 1736 exec 5>>config.log 1737 { 1738 cat <<_ASUNAME 1739 ## --------- ## 1740 ## Platform. ## 1741 ## --------- ## 1742 1743 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1744 uname -m = `(uname -m) 2>/dev/null || echo unknown` 1745 uname -r = `(uname -r) 2>/dev/null || echo unknown` 1746 uname -s = `(uname -s) 2>/dev/null || echo unknown` 1747 uname -v = `(uname -v) 2>/dev/null || echo unknown` 1748 1749 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1750 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1751 1752 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1753 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1754 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1755 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1756 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1757 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1758 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1759 1760 _ASUNAME 1761 1762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1763 for as_dir in $PATH 1764 do 1765 IFS=$as_save_IFS 1766 test -z "$as_dir" && as_dir=. 1767 echo "PATH: $as_dir" 1768 done 1769 IFS=$as_save_IFS 1770 1771 } >&5 1772 1773 cat >&5 <<_ACEOF 1774 1775 1776 ## ----------- ## 1777 ## Core tests. ## 1778 ## ----------- ## 1779 1780 _ACEOF 1781 1782 1783 # Keep a trace of the command line. 1784 # Strip out --no-create and --no-recursion so they do not pile up. 1785 # Strip out --silent because we don't want to record it for future runs. 1786 # Also quote any args containing shell meta-characters. 1787 # Make two passes to allow for proper duplicate-argument suppression. 1788 ac_configure_args= 1789 ac_configure_args0= 1790 ac_configure_args1= 1791 ac_must_keep_next=false 1792 for ac_pass in 1 2 1793 do 1794 for ac_arg 1795 do 1796 case $ac_arg in 1797 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1798 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1799 | -silent | --silent | --silen | --sile | --sil) 1800 continue ;; 1801 *\'*) 1802 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1803 esac 1804 case $ac_pass in 1805 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1806 2) 1807 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1808 if test $ac_must_keep_next = true; then 1809 ac_must_keep_next=false # Got value, back to normal. 1810 else 1811 case $ac_arg in 1812 *=* | --config-cache | -C | -disable-* | --disable-* \ 1813 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1814 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1815 | -with-* | --with-* | -without-* | --without-* | --x) 1816 case "$ac_configure_args0 " in 1817 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1818 esac 1819 ;; 1820 -* ) ac_must_keep_next=true ;; 1821 esac 1822 fi 1823 ac_configure_args="$ac_configure_args '$ac_arg'" 1824 ;; 1825 esac 1826 done 1827 done 1828 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1829 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1830 1831 # When interrupted or exit'd, cleanup temporary files, and complete 1832 # config.log. We remove comments because anyway the quotes in there 1833 # would cause problems or look ugly. 1834 # WARNING: Use '\'' to represent an apostrophe within the trap. 1835 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1836 trap 'exit_status=$? 1837 # Save into config.log some information that might help in debugging. 1838 { 1839 echo 1840 1841 cat <<\_ASBOX 1842 ## ---------------- ## 1843 ## Cache variables. ## 1844 ## ---------------- ## 1845 _ASBOX 1846 echo 1847 # The following way of writing the cache mishandles newlines in values, 1848 ( 1849 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1850 eval ac_val=\$$ac_var 1851 case $ac_val in #( 1852 *${as_nl}*) 1853 case $ac_var in #( 1854 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1855 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1856 esac 1857 case $ac_var in #( 1858 _ | IFS | as_nl) ;; #( 1859 *) $as_unset $ac_var ;; 1860 esac ;; 1861 esac 1862 done 1863 (set) 2>&1 | 1864 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1865 *${as_nl}ac_space=\ *) 1866 sed -n \ 1867 "s/'\''/'\''\\\\'\'''\''/g; 1868 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1869 ;; #( 1870 *) 1871 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1872 ;; 1873 esac | 1874 sort 1875 ) 1876 echo 1877 1878 cat <<\_ASBOX 1879 ## ----------------- ## 1880 ## Output variables. ## 1881 ## ----------------- ## 1882 _ASBOX 1883 echo 1884 for ac_var in $ac_subst_vars 1885 do 1886 eval ac_val=\$$ac_var 1887 case $ac_val in 1888 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1889 esac 1890 echo "$ac_var='\''$ac_val'\''" 1891 done | sort 1892 echo 1893 1894 if test -n "$ac_subst_files"; then 1895 cat <<\_ASBOX 1896 ## ------------------- ## 1897 ## File substitutions. ## 1898 ## ------------------- ## 1899 _ASBOX 1900 echo 1901 for ac_var in $ac_subst_files 1902 do 1903 eval ac_val=\$$ac_var 1904 case $ac_val in 1905 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1906 esac 1907 echo "$ac_var='\''$ac_val'\''" 1908 done | sort 1909 echo 1910 fi 1911 1912 if test -s confdefs.h; then 1913 cat <<\_ASBOX 1914 ## ----------- ## 1915 ## confdefs.h. ## 1916 ## ----------- ## 1917 _ASBOX 1918 echo 1919 cat confdefs.h 1920 echo 1921 fi 1922 test "$ac_signal" != 0 && 1923 echo "$as_me: caught signal $ac_signal" 1924 echo "$as_me: exit $exit_status" 1925 } >&5 1926 rm -f core *.core core.conftest.* && 1927 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1928 exit $exit_status 1929 ' 0 1930 for ac_signal in 1 2 13 15; do 1931 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1932 done 1933 ac_signal=0 1934 1935 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1936 rm -f -r conftest* confdefs.h 1937 1938 # Predefined preprocessor variables. 1939 1940 cat >>confdefs.h <<_ACEOF 1941 #define PACKAGE_NAME "$PACKAGE_NAME" 1942 _ACEOF 1943 1944 1945 cat >>confdefs.h <<_ACEOF 1946 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1947 _ACEOF 1948 1949 1950 cat >>confdefs.h <<_ACEOF 1951 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1952 _ACEOF 1953 1954 1955 cat >>confdefs.h <<_ACEOF 1956 #define PACKAGE_STRING "$PACKAGE_STRING" 1957 _ACEOF 1958 1959 1960 cat >>confdefs.h <<_ACEOF 1961 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1962 _ACEOF 1963 1964 1965 # Let the site file select an alternate cache file if it wants to. 1966 # Prefer explicitly selected file to automatically selected ones. 1967 if test -n "$CONFIG_SITE"; then 1968 set x "$CONFIG_SITE" 1969 elif test "x$prefix" != xNONE; then 1970 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1971 else 1972 set x "$ac_default_prefix/share/config.site" \ 1973 "$ac_default_prefix/etc/config.site" 1974 fi 1975 shift 1976 for ac_site_file 1977 do 1978 if test -r "$ac_site_file"; then 1979 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1980 echo "$as_me: loading site script $ac_site_file" >&6;} 1981 sed 's/^/| /' "$ac_site_file" >&5 1982 . "$ac_site_file" 1983 fi 1984 done 1985 1986 if test -r "$cache_file"; then 1987 # Some versions of bash will fail to source /dev/null (special 1988 # files actually), so we avoid doing that. 1989 if test -f "$cache_file"; then 1990 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1991 echo "$as_me: loading cache $cache_file" >&6;} 1992 case $cache_file in 1993 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1994 *) . "./$cache_file";; 1995 esac 1996 fi 1997 else 1998 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1999 echo "$as_me: creating cache $cache_file" >&6;} 2000 >$cache_file 2001 fi 2002 2003 # Check that the precious variables saved in the cache have kept the same 2004 # value. 2005 ac_cache_corrupted=false 2006 for ac_var in $ac_precious_vars; do 2007 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2008 eval ac_new_set=\$ac_env_${ac_var}_set 2009 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2010 eval ac_new_val=\$ac_env_${ac_var}_value 2011 case $ac_old_set,$ac_new_set in 2012 set,) 2013 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2014 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2015 ac_cache_corrupted=: ;; 2016 ,set) 2017 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 2018 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2019 ac_cache_corrupted=: ;; 2020 ,);; 2021 *) 2022 if test "x$ac_old_val" != "x$ac_new_val"; then 2023 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 2024 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2025 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 2026 echo "$as_me: former value: $ac_old_val" >&2;} 2027 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 2028 echo "$as_me: current value: $ac_new_val" >&2;} 2029 ac_cache_corrupted=: 2030 fi;; 2031 esac 2032 # Pass precious variables to config.status. 2033 if test "$ac_new_set" = set; then 2034 case $ac_new_val in 2035 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2036 *) ac_arg=$ac_var=$ac_new_val ;; 2037 esac 2038 case " $ac_configure_args " in 2039 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2040 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2041 esac 2042 fi 2043 done 2044 if $ac_cache_corrupted; then 2045 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 2046 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2047 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 2048 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 2049 { (exit 1); exit 1; }; } 2050 fi 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 ac_ext=c 2069 ac_cpp='$CPP $CPPFLAGS' 2070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2072 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2073 2074 2075 ac_config_headers="$ac_config_headers config.h" 2076 2077 ac_aux_dir= 2078 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2079 if test -f "$ac_dir/install-sh"; then 2080 ac_aux_dir=$ac_dir 2081 ac_install_sh="$ac_aux_dir/install-sh -c" 2082 break 2083 elif test -f "$ac_dir/install.sh"; then 2084 ac_aux_dir=$ac_dir 2085 ac_install_sh="$ac_aux_dir/install.sh -c" 2086 break 2087 elif test -f "$ac_dir/shtool"; then 2088 ac_aux_dir=$ac_dir 2089 ac_install_sh="$ac_aux_dir/shtool install -c" 2090 break 2091 fi 2092 done 2093 if test -z "$ac_aux_dir"; then 2094 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 2095 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 2096 { (exit 1); exit 1; }; } 2097 fi 2098 2099 # These three variables are undocumented and unsupported, 2100 # and are intended to be withdrawn in a future Autoconf release. 2101 # They can cause serious problems if a builder's source tree is in a directory 2102 # whose full name contains unusual characters. 2103 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2104 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2105 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2106 2107 2108 # Make sure we can run config.sub. 2109 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2110 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 2111 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 2112 { (exit 1); exit 1; }; } 2113 2114 { echo "$as_me:$LINENO: checking build system type" >&5 2115 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 2116 if test "${ac_cv_build+set}" = set; then 2117 echo $ECHO_N "(cached) $ECHO_C" >&6 2118 else 2119 ac_build_alias=$build_alias 2120 test "x$ac_build_alias" = x && 2121 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2122 test "x$ac_build_alias" = x && 2123 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 2124 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 2125 { (exit 1); exit 1; }; } 2126 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2127 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 2128 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 2129 { (exit 1); exit 1; }; } 2130 2131 fi 2132 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 2133 echo "${ECHO_T}$ac_cv_build" >&6; } 2134 case $ac_cv_build in 2135 *-*-*) ;; 2136 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 2137 echo "$as_me: error: invalid value of canonical build" >&2;} 2138 { (exit 1); exit 1; }; };; 2139 esac 2140 build=$ac_cv_build 2141 ac_save_IFS=$IFS; IFS='-' 2142 set x $ac_cv_build 2143 shift 2144 build_cpu=$1 2145 build_vendor=$2 2146 shift; shift 2147 # Remember, the first character of IFS is used to create $*, 2148 # except with old shells: 2149 build_os=$* 2150 IFS=$ac_save_IFS 2151 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2152 2153 2154 { echo "$as_me:$LINENO: checking host system type" >&5 2155 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 2156 if test "${ac_cv_host+set}" = set; then 2157 echo $ECHO_N "(cached) $ECHO_C" >&6 2158 else 2159 if test "x$host_alias" = x; then 2160 ac_cv_host=$ac_cv_build 2161 else 2162 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2163 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 2164 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 2165 { (exit 1); exit 1; }; } 2166 fi 2167 2168 fi 2169 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 2170 echo "${ECHO_T}$ac_cv_host" >&6; } 2171 case $ac_cv_host in 2172 *-*-*) ;; 2173 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 2174 echo "$as_me: error: invalid value of canonical host" >&2;} 2175 { (exit 1); exit 1; }; };; 2176 esac 2177 host=$ac_cv_host 2178 ac_save_IFS=$IFS; IFS='-' 2179 set x $ac_cv_host 2180 shift 2181 host_cpu=$1 2182 host_vendor=$2 2183 shift; shift 2184 # Remember, the first character of IFS is used to create $*, 2185 # except with old shells: 2186 host_os=$* 2187 IFS=$ac_save_IFS 2188 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2189 2190 2191 2192 LIBXML_MAJOR_VERSION=2 2193 LIBXML_MINOR_VERSION=7 2194 LIBXML_MICRO_VERSION=2 2195 LIBXML_MICRO_VERSION_SUFFIX= 2196 LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION$LIBXML_MICRO_VERSION_SUFFIX 2197 LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML_MICRO_VERSION:$LIBXML_MINOR_VERSION 2198 2199 LIBXML_VERSION_NUMBER=`expr $LIBXML_MAJOR_VERSION \* 10000 + $LIBXML_MINOR_VERSION \* 100 + $LIBXML_MICRO_VERSION` 2200 2201 if test -f CVS/Entries ; then 2202 extra=`grep ChangeLog CVS/Entries | grep -v LIBXML | sed -e s\%/ChangeLog/1\.%% -e s\%/.*$%%` 2203 echo extra=$extra 2204 if test "$extra" != "" 2205 then 2206 LIBXML_VERSION_EXTRA="-CVS$extra" 2207 fi 2208 else if test -d .svn ; then 2209 extra=`svn info | grep Revision | sed 's+Revision: ++'` 2210 echo extra=$extra 2211 if test "$extra" != "" 2212 then 2213 LIBXML_VERSION_EXTRA="-SVN$extra" 2214 fi 2215 fi 2216 fi 2217 2218 2219 2220 2221 2222 2223 2224 2225 VERSION=${LIBXML_VERSION} 2226 2227 am__api_version='1.10' 2228 2229 # Find a good install program. We prefer a C program (faster), 2230 # so one script is as good as another. But avoid the broken or 2231 # incompatible versions: 2232 # SysV /etc/install, /usr/sbin/install 2233 # SunOS /usr/etc/install 2234 # IRIX /sbin/install 2235 # AIX /bin/install 2236 # AmigaOS /C/install, which installs bootblocks on floppy discs 2237 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2238 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2239 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2240 # OS/2's system install, which has a completely different semantic 2241 # ./install, which can be erroneously created by make from ./install.sh. 2242 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2243 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 2244 if test -z "$INSTALL"; then 2245 if test "${ac_cv_path_install+set}" = set; then 2246 echo $ECHO_N "(cached) $ECHO_C" >&6 2247 else 2248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2249 for as_dir in $PATH 2250 do 2251 IFS=$as_save_IFS 2252 test -z "$as_dir" && as_dir=. 2253 # Account for people who put trailing slashes in PATH elements. 2254 case $as_dir/ in 2255 ./ | .// | /cC/* | \ 2256 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2257 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2258 /usr/ucb/* ) ;; 2259 *) 2260 # OSF1 and SCO ODT 3.0 have their own names for install. 2261 # Don't use installbsd from OSF since it installs stuff as root 2262 # by default. 2263 for ac_prog in ginstall scoinst install; do 2264 for ac_exec_ext in '' $ac_executable_extensions; do 2265 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2266 if test $ac_prog = install && 2267 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2268 # AIX install. It has an incompatible calling convention. 2269 : 2270 elif test $ac_prog = install && 2271 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2272 # program-specific install script used by HP pwplus--don't use. 2273 : 2274 else 2275 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2276 break 3 2277 fi 2278 fi 2279 done 2280 done 2281 ;; 2282 esac 2283 done 2284 IFS=$as_save_IFS 2285 2286 2287 fi 2288 if test "${ac_cv_path_install+set}" = set; then 2289 INSTALL=$ac_cv_path_install 2290 else 2291 # As a last resort, use the slow shell script. Don't cache a 2292 # value for INSTALL within a source directory, because that will 2293 # break other packages using the cache if that directory is 2294 # removed, or if the value is a relative name. 2295 INSTALL=$ac_install_sh 2296 fi 2297 fi 2298 { echo "$as_me:$LINENO: result: $INSTALL" >&5 2299 echo "${ECHO_T}$INSTALL" >&6; } 2300 2301 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2302 # It thinks the first close brace ends the variable substitution. 2303 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2304 2305 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2306 2307 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2308 2309 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5 2310 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } 2311 # Just in case 2312 sleep 1 2313 echo timestamp > conftest.file 2314 # Do `set' in a subshell so we don't clobber the current shell's 2315 # arguments. Must try -L first in case configure is actually a 2316 # symlink; some systems play weird games with the mod time of symlinks 2317 # (eg FreeBSD returns the mod time of the symlink's containing 2318 # directory). 2319 if ( 2320 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 2321 if test "$*" = "X"; then 2322 # -L didn't work. 2323 set X `ls -t $srcdir/configure conftest.file` 2324 fi 2325 rm -f conftest.file 2326 if test "$*" != "X $srcdir/configure conftest.file" \ 2327 && test "$*" != "X conftest.file $srcdir/configure"; then 2328 2329 # If neither matched, then we have a broken ls. This can happen 2330 # if, for instance, CONFIG_SHELL is bash and it inherits a 2331 # broken ls alias from the environment. This has actually 2332 # happened. Such a system could not be considered "sane". 2333 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 2334 alias in your environment" >&5 2335 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 2336 alias in your environment" >&2;} 2337 { (exit 1); exit 1; }; } 2338 fi 2339 2340 test "$2" = conftest.file 2341 ) 2342 then 2343 # Ok. 2344 : 2345 else 2346 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 2347 Check your system clock" >&5 2348 echo "$as_me: error: newly created file is older than distributed files! 2349 Check your system clock" >&2;} 2350 { (exit 1); exit 1; }; } 2351 fi 2352 { echo "$as_me:$LINENO: result: yes" >&5 2353 echo "${ECHO_T}yes" >&6; } 2354 test "$program_prefix" != NONE && 2355 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2356 # Use a double $ so make ignores it. 2357 test "$program_suffix" != NONE && 2358 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2359 # Double any \ or $. echo might interpret backslashes. 2360 # By default was `s,x,x', remove it if useless. 2361 cat <<\_ACEOF >conftest.sed 2362 s/[\\$]/&&/g;s/;s,x,x,$// 2363 _ACEOF 2364 program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 2365 rm -f conftest.sed 2366 2367 # expand $ac_aux_dir to an absolute path 2368 am_aux_dir=`cd $ac_aux_dir && pwd` 2369 2370 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 2371 # Use eval to expand $SHELL 2372 if eval "$MISSING --run true"; then 2373 am_missing_run="$MISSING --run " 2374 else 2375 am_missing_run= 2376 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 2377 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2378 fi 2379 2380 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 2381 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } 2382 if test -z "$MKDIR_P"; then 2383 if test "${ac_cv_path_mkdir+set}" = set; then 2384 echo $ECHO_N "(cached) $ECHO_C" >&6 2385 else 2386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2387 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2388 do 2389 IFS=$as_save_IFS 2390 test -z "$as_dir" && as_dir=. 2391 for ac_prog in mkdir gmkdir; do 2392 for ac_exec_ext in '' $ac_executable_extensions; do 2393 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2394 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2395 'mkdir (GNU coreutils) '* | \ 2396 'mkdir (coreutils) '* | \ 2397 'mkdir (fileutils) '4.1*) 2398 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2399 break 3;; 2400 esac 2401 done 2402 done 2403 done 2404 IFS=$as_save_IFS 2405 2406 fi 2407 2408 if test "${ac_cv_path_mkdir+set}" = set; then 2409 MKDIR_P="$ac_cv_path_mkdir -p" 2410 else 2411 # As a last resort, use the slow shell script. Don't cache a 2412 # value for MKDIR_P within a source directory, because that will 2413 # break other packages using the cache if that directory is 2414 # removed, or if the value is a relative name. 2415 test -d ./--version && rmdir ./--version 2416 MKDIR_P="$ac_install_sh -d" 2417 fi 2418 fi 2419 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5 2420 echo "${ECHO_T}$MKDIR_P" >&6; } 2421 2422 mkdir_p="$MKDIR_P" 2423 case $mkdir_p in 2424 [\\/$]* | ?:[\\/]*) ;; 2425 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2426 esac 2427 2428 for ac_prog in gawk mawk nawk awk 2429 do 2430 # Extract the first word of "$ac_prog", so it can be a program name with args. 2431 set dummy $ac_prog; ac_word=$2 2432 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2434 if test "${ac_cv_prog_AWK+set}" = set; then 2435 echo $ECHO_N "(cached) $ECHO_C" >&6 2436 else 2437 if test -n "$AWK"; then 2438 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2439 else 2440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2441 for as_dir in $PATH 2442 do 2443 IFS=$as_save_IFS 2444 test -z "$as_dir" && as_dir=. 2445 for ac_exec_ext in '' $ac_executable_extensions; do 2446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2447 ac_cv_prog_AWK="$ac_prog" 2448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2449 break 2 2450 fi 2451 done 2452 done 2453 IFS=$as_save_IFS 2454 2455 fi 2456 fi 2457 AWK=$ac_cv_prog_AWK 2458 if test -n "$AWK"; then 2459 { echo "$as_me:$LINENO: result: $AWK" >&5 2460 echo "${ECHO_T}$AWK" >&6; } 2461 else 2462 { echo "$as_me:$LINENO: result: no" >&5 2463 echo "${ECHO_T}no" >&6; } 2464 fi 2465 2466 2467 test -n "$AWK" && break 2468 done 2469 2470 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2471 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 2472 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2473 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2474 echo $ECHO_N "(cached) $ECHO_C" >&6 2475 else 2476 cat >conftest.make <<\_ACEOF 2477 SHELL = /bin/sh 2478 all: 2479 @echo '@@@%%%=$(MAKE)=@@@%%%' 2480 _ACEOF 2481 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2482 case `${MAKE-make} -f conftest.make 2>/dev/null` in 2483 *@@@%%%=?*=@@@%%%*) 2484 eval ac_cv_prog_make_${ac_make}_set=yes;; 2485 *) 2486 eval ac_cv_prog_make_${ac_make}_set=no;; 2487 esac 2488 rm -f conftest.make 2489 fi 2490 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2491 { echo "$as_me:$LINENO: result: yes" >&5 2492 echo "${ECHO_T}yes" >&6; } 2493 SET_MAKE= 2494 else 2495 { echo "$as_me:$LINENO: result: no" >&5 2496 echo "${ECHO_T}no" >&6; } 2497 SET_MAKE="MAKE=${MAKE-make}" 2498 fi 2499 2500 rm -rf .tst 2>/dev/null 2501 mkdir .tst 2>/dev/null 2502 if test -d .tst; then 2503 am__leading_dot=. 2504 else 2505 am__leading_dot=_ 2506 fi 2507 rmdir .tst 2>/dev/null 2508 2509 if test "`cd $srcdir && pwd`" != "`pwd`"; then 2510 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2511 # is not polluted with repeated "-I." 2512 am__isrc=' -I$(srcdir)' 2513 # test to see if srcdir already configured 2514 if test -f $srcdir/config.status; then 2515 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2516 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2517 { (exit 1); exit 1; }; } 2518 fi 2519 fi 2520 2521 # test whether we have cygpath 2522 if test -z "$CYGPATH_W"; then 2523 if (cygpath --version) >/dev/null 2>/dev/null; then 2524 CYGPATH_W='cygpath -w' 2525 else 2526 CYGPATH_W=echo 2527 fi 2528 fi 2529 2530 2531 # Define the identity of the package. 2532 PACKAGE=libxml2 2533 VERSION=$VERSION 2534 2535 2536 cat >>confdefs.h <<_ACEOF 2537 #define PACKAGE "$PACKAGE" 2538 _ACEOF 2539 2540 2541 cat >>confdefs.h <<_ACEOF 2542 #define VERSION "$VERSION" 2543 _ACEOF 2544 2545 # Some tools Automake needs. 2546 2547 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2548 2549 2550 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2551 2552 2553 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2554 2555 2556 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2557 2558 2559 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2560 2561 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} 2562 2563 # Installed binaries are usually stripped using `strip' when the user 2564 # run `make install-strip'. However `strip' might not be the right 2565 # tool to use in cross-compilation environments, therefore Automake 2566 # will honor the `STRIP' environment variable to overrule this program. 2567 if test "$cross_compiling" != no; then 2568 if test -n "$ac_tool_prefix"; then 2569 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2570 set dummy ${ac_tool_prefix}strip; ac_word=$2 2571 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2573 if test "${ac_cv_prog_STRIP+set}" = set; then 2574 echo $ECHO_N "(cached) $ECHO_C" >&6 2575 else 2576 if test -n "$STRIP"; then 2577 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2578 else 2579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2580 for as_dir in $PATH 2581 do 2582 IFS=$as_save_IFS 2583 test -z "$as_dir" && as_dir=. 2584 for ac_exec_ext in '' $ac_executable_extensions; do 2585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2586 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2588 break 2 2589 fi 2590 done 2591 done 2592 IFS=$as_save_IFS 2593 2594 fi 2595 fi 2596 STRIP=$ac_cv_prog_STRIP 2597 if test -n "$STRIP"; then 2598 { echo "$as_me:$LINENO: result: $STRIP" >&5 2599 echo "${ECHO_T}$STRIP" >&6; } 2600 else 2601 { echo "$as_me:$LINENO: result: no" >&5 2602 echo "${ECHO_T}no" >&6; } 2603 fi 2604 2605 2606 fi 2607 if test -z "$ac_cv_prog_STRIP"; then 2608 ac_ct_STRIP=$STRIP 2609 # Extract the first word of "strip", so it can be a program name with args. 2610 set dummy strip; ac_word=$2 2611 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2613 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2614 echo $ECHO_N "(cached) $ECHO_C" >&6 2615 else 2616 if test -n "$ac_ct_STRIP"; then 2617 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2618 else 2619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2620 for as_dir in $PATH 2621 do 2622 IFS=$as_save_IFS 2623 test -z "$as_dir" && as_dir=. 2624 for ac_exec_ext in '' $ac_executable_extensions; do 2625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2626 ac_cv_prog_ac_ct_STRIP="strip" 2627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2628 break 2 2629 fi 2630 done 2631 done 2632 IFS=$as_save_IFS 2633 2634 fi 2635 fi 2636 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2637 if test -n "$ac_ct_STRIP"; then 2638 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2639 echo "${ECHO_T}$ac_ct_STRIP" >&6; } 2640 else 2641 { echo "$as_me:$LINENO: result: no" >&5 2642 echo "${ECHO_T}no" >&6; } 2643 fi 2644 2645 if test "x$ac_ct_STRIP" = x; then 2646 STRIP=":" 2647 else 2648 case $cross_compiling:$ac_tool_warned in 2649 yes:) 2650 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2651 whose name does not start with the host triplet. If you think this 2652 configuration is useful to you, please write to autoconf@gnu.org." >&5 2653 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2654 whose name does not start with the host triplet. If you think this 2655 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2656 ac_tool_warned=yes ;; 2657 esac 2658 STRIP=$ac_ct_STRIP 2659 fi 2660 else 2661 STRIP="$ac_cv_prog_STRIP" 2662 fi 2663 2664 fi 2665 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2666 2667 # We need awk for the "check" target. The system "awk" is bad on 2668 # some platforms. 2669 # Always define AMTAR for backward compatibility. 2670 2671 AMTAR=${AMTAR-"${am_missing_run}tar"} 2672 2673 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2674 2675 2676 2677 2678 2679 2680 ac_ext=c 2681 ac_cpp='$CPP $CPPFLAGS' 2682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2684 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2685 if test -n "$ac_tool_prefix"; then 2686 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2687 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2688 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2690 if test "${ac_cv_prog_CC+set}" = set; then 2691 echo $ECHO_N "(cached) $ECHO_C" >&6 2692 else 2693 if test -n "$CC"; then 2694 ac_cv_prog_CC="$CC" # Let the user override the test. 2695 else 2696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2697 for as_dir in $PATH 2698 do 2699 IFS=$as_save_IFS 2700 test -z "$as_dir" && as_dir=. 2701 for ac_exec_ext in '' $ac_executable_extensions; do 2702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2703 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2705 break 2 2706 fi 2707 done 2708 done 2709 IFS=$as_save_IFS 2710 2711 fi 2712 fi 2713 CC=$ac_cv_prog_CC 2714 if test -n "$CC"; then 2715 { echo "$as_me:$LINENO: result: $CC" >&5 2716 echo "${ECHO_T}$CC" >&6; } 2717 else 2718 { echo "$as_me:$LINENO: result: no" >&5 2719 echo "${ECHO_T}no" >&6; } 2720 fi 2721 2722 2723 fi 2724 if test -z "$ac_cv_prog_CC"; then 2725 ac_ct_CC=$CC 2726 # Extract the first word of "gcc", so it can be a program name with args. 2727 set dummy gcc; ac_word=$2 2728 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2730 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2731 echo $ECHO_N "(cached) $ECHO_C" >&6 2732 else 2733 if test -n "$ac_ct_CC"; then 2734 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2735 else 2736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2737 for as_dir in $PATH 2738 do 2739 IFS=$as_save_IFS 2740 test -z "$as_dir" && as_dir=. 2741 for ac_exec_ext in '' $ac_executable_extensions; do 2742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2743 ac_cv_prog_ac_ct_CC="gcc" 2744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2745 break 2 2746 fi 2747 done 2748 done 2749 IFS=$as_save_IFS 2750 2751 fi 2752 fi 2753 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2754 if test -n "$ac_ct_CC"; then 2755 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2756 echo "${ECHO_T}$ac_ct_CC" >&6; } 2757 else 2758 { echo "$as_me:$LINENO: result: no" >&5 2759 echo "${ECHO_T}no" >&6; } 2760 fi 2761 2762 if test "x$ac_ct_CC" = x; then 2763 CC="" 2764 else 2765 case $cross_compiling:$ac_tool_warned in 2766 yes:) 2767 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2768 whose name does not start with the host triplet. If you think this 2769 configuration is useful to you, please write to autoconf@gnu.org." >&5 2770 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2771 whose name does not start with the host triplet. If you think this 2772 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2773 ac_tool_warned=yes ;; 2774 esac 2775 CC=$ac_ct_CC 2776 fi 2777 else 2778 CC="$ac_cv_prog_CC" 2779 fi 2780 2781 if test -z "$CC"; then 2782 if test -n "$ac_tool_prefix"; then 2783 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2784 set dummy ${ac_tool_prefix}cc; ac_word=$2 2785 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2787 if test "${ac_cv_prog_CC+set}" = set; then 2788 echo $ECHO_N "(cached) $ECHO_C" >&6 2789 else 2790 if test -n "$CC"; then 2791 ac_cv_prog_CC="$CC" # Let the user override the test. 2792 else 2793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2794 for as_dir in $PATH 2795 do 2796 IFS=$as_save_IFS 2797 test -z "$as_dir" && as_dir=. 2798 for ac_exec_ext in '' $ac_executable_extensions; do 2799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2800 ac_cv_prog_CC="${ac_tool_prefix}cc" 2801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2802 break 2 2803 fi 2804 done 2805 done 2806 IFS=$as_save_IFS 2807 2808 fi 2809 fi 2810 CC=$ac_cv_prog_CC 2811 if test -n "$CC"; then 2812 { echo "$as_me:$LINENO: result: $CC" >&5 2813 echo "${ECHO_T}$CC" >&6; } 2814 else 2815 { echo "$as_me:$LINENO: result: no" >&5 2816 echo "${ECHO_T}no" >&6; } 2817 fi 2818 2819 2820 fi 2821 fi 2822 if test -z "$CC"; then 2823 # Extract the first word of "cc", so it can be a program name with args. 2824 set dummy cc; ac_word=$2 2825 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2827 if test "${ac_cv_prog_CC+set}" = set; then 2828 echo $ECHO_N "(cached) $ECHO_C" >&6 2829 else 2830 if test -n "$CC"; then 2831 ac_cv_prog_CC="$CC" # Let the user override the test. 2832 else 2833 ac_prog_rejected=no 2834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2835 for as_dir in $PATH 2836 do 2837 IFS=$as_save_IFS 2838 test -z "$as_dir" && as_dir=. 2839 for ac_exec_ext in '' $ac_executable_extensions; do 2840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2841 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2842 ac_prog_rejected=yes 2843 continue 2844 fi 2845 ac_cv_prog_CC="cc" 2846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2847 break 2 2848 fi 2849 done 2850 done 2851 IFS=$as_save_IFS 2852 2853 if test $ac_prog_rejected = yes; then 2854 # We found a bogon in the path, so make sure we never use it. 2855 set dummy $ac_cv_prog_CC 2856 shift 2857 if test $# != 0; then 2858 # We chose a different compiler from the bogus one. 2859 # However, it has the same basename, so the bogon will be chosen 2860 # first if we set CC to just the basename; use the full file name. 2861 shift 2862 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2863 fi 2864 fi 2865 fi 2866 fi 2867 CC=$ac_cv_prog_CC 2868 if test -n "$CC"; then 2869 { echo "$as_me:$LINENO: result: $CC" >&5 2870 echo "${ECHO_T}$CC" >&6; } 2871 else 2872 { echo "$as_me:$LINENO: result: no" >&5 2873 echo "${ECHO_T}no" >&6; } 2874 fi 2875 2876 2877 fi 2878 if test -z "$CC"; then 2879 if test -n "$ac_tool_prefix"; then 2880 for ac_prog in cl.exe 2881 do 2882 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2883 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2884 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2886 if test "${ac_cv_prog_CC+set}" = set; then 2887 echo $ECHO_N "(cached) $ECHO_C" >&6 2888 else 2889 if test -n "$CC"; then 2890 ac_cv_prog_CC="$CC" # Let the user override the test. 2891 else 2892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2893 for as_dir in $PATH 2894 do 2895 IFS=$as_save_IFS 2896 test -z "$as_dir" && as_dir=. 2897 for ac_exec_ext in '' $ac_executable_extensions; do 2898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2899 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2901 break 2 2902 fi 2903 done 2904 done 2905 IFS=$as_save_IFS 2906 2907 fi 2908 fi 2909 CC=$ac_cv_prog_CC 2910 if test -n "$CC"; then 2911 { echo "$as_me:$LINENO: result: $CC" >&5 2912 echo "${ECHO_T}$CC" >&6; } 2913 else 2914 { echo "$as_me:$LINENO: result: no" >&5 2915 echo "${ECHO_T}no" >&6; } 2916 fi 2917 2918 2919 test -n "$CC" && break 2920 done 2921 fi 2922 if test -z "$CC"; then 2923 ac_ct_CC=$CC 2924 for ac_prog in cl.exe 2925 do 2926 # Extract the first word of "$ac_prog", so it can be a program name with args. 2927 set dummy $ac_prog; ac_word=$2 2928 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2930 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2931 echo $ECHO_N "(cached) $ECHO_C" >&6 2932 else 2933 if test -n "$ac_ct_CC"; then 2934 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2935 else 2936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2937 for as_dir in $PATH 2938 do 2939 IFS=$as_save_IFS 2940 test -z "$as_dir" && as_dir=. 2941 for ac_exec_ext in '' $ac_executable_extensions; do 2942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2943 ac_cv_prog_ac_ct_CC="$ac_prog" 2944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2945 break 2 2946 fi 2947 done 2948 done 2949 IFS=$as_save_IFS 2950 2951 fi 2952 fi 2953 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2954 if test -n "$ac_ct_CC"; then 2955 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2956 echo "${ECHO_T}$ac_ct_CC" >&6; } 2957 else 2958 { echo "$as_me:$LINENO: result: no" >&5 2959 echo "${ECHO_T}no" >&6; } 2960 fi 2961 2962 2963 test -n "$ac_ct_CC" && break 2964 done 2965 2966 if test "x$ac_ct_CC" = x; then 2967 CC="" 2968 else 2969 case $cross_compiling:$ac_tool_warned in 2970 yes:) 2971 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2972 whose name does not start with the host triplet. If you think this 2973 configuration is useful to you, please write to autoconf@gnu.org." >&5 2974 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2975 whose name does not start with the host triplet. If you think this 2976 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2977 ac_tool_warned=yes ;; 2978 esac 2979 CC=$ac_ct_CC 2980 fi 2981 fi 2982 2983 fi 2984 2985 2986 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2987 See \`config.log' for more details." >&5 2988 echo "$as_me: error: no acceptable C compiler found in \$PATH 2989 See \`config.log' for more details." >&2;} 2990 { (exit 1); exit 1; }; } 2991 2992 # Provide some information about the compiler. 2993 echo "$as_me:$LINENO: checking for C compiler version" >&5 2994 ac_compiler=`set X $ac_compile; echo $2` 2995 { (ac_try="$ac_compiler --version >&5" 2996 case "(($ac_try" in 2997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2998 *) ac_try_echo=$ac_try;; 2999 esac 3000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3001 (eval "$ac_compiler --version >&5") 2>&5 3002 ac_status=$? 3003 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3004 (exit $ac_status); } 3005 { (ac_try="$ac_compiler -v >&5" 3006 case "(($ac_try" in 3007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3008 *) ac_try_echo=$ac_try;; 3009 esac 3010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3011 (eval "$ac_compiler -v >&5") 2>&5 3012 ac_status=$? 3013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3014 (exit $ac_status); } 3015 { (ac_try="$ac_compiler -V >&5" 3016 case "(($ac_try" in 3017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3018 *) ac_try_echo=$ac_try;; 3019 esac 3020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3021 (eval "$ac_compiler -V >&5") 2>&5 3022 ac_status=$? 3023 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3024 (exit $ac_status); } 3025 3026 cat >conftest.$ac_ext <<_ACEOF 3027 /* confdefs.h. */ 3028 _ACEOF 3029 cat confdefs.h >>conftest.$ac_ext 3030 cat >>conftest.$ac_ext <<_ACEOF 3031 /* end confdefs.h. */ 3032 3033 int 3034 main () 3035 { 3036 3037 ; 3038 return 0; 3039 } 3040 _ACEOF 3041 ac_clean_files_save=$ac_clean_files 3042 ac_clean_files="$ac_clean_files a.out a.exe b.out" 3043 # Try to create an executable without -o first, disregard a.out. 3044 # It will help us diagnose broken compilers, and finding out an intuition 3045 # of exeext. 3046 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 3047 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 3048 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3049 # 3050 # List of possible output files, starting from the most likely. 3051 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 3052 # only as a last resort. b.out is created by i960 compilers. 3053 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 3054 # 3055 # The IRIX 6 linker writes into existing files which may not be 3056 # executable, retaining their permissions. Remove them first so a 3057 # subsequent execution test works. 3058 ac_rmfiles= 3059 for ac_file in $ac_files 3060 do 3061 case $ac_file in 3062 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 3063 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3064 esac 3065 done 3066 rm -f $ac_rmfiles 3067 3068 if { (ac_try="$ac_link_default" 3069 case "(($ac_try" in 3070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3071 *) ac_try_echo=$ac_try;; 3072 esac 3073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3074 (eval "$ac_link_default") 2>&5 3075 ac_status=$? 3076 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3077 (exit $ac_status); }; then 3078 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3079 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3080 # in a Makefile. We should not override ac_cv_exeext if it was cached, 3081 # so that the user can short-circuit this test for compilers unknown to 3082 # Autoconf. 3083 for ac_file in $ac_files '' 3084 do 3085 test -f "$ac_file" || continue 3086 case $ac_file in 3087 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 3088 ;; 3089 [ab].out ) 3090 # We found the default executable, but exeext='' is most 3091 # certainly right. 3092 break;; 3093 *.* ) 3094 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3095 then :; else 3096 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3097 fi 3098 # We set ac_cv_exeext here because the later test for it is not 3099 # safe: cross compilers may not add the suffix if given an `-o' 3100 # argument, so we may need to know it at that point already. 3101 # Even if this section looks crufty: it has the advantage of 3102 # actually working. 3103 break;; 3104 * ) 3105 break;; 3106 esac 3107 done 3108 test "$ac_cv_exeext" = no && ac_cv_exeext= 3109 3110 else 3111 ac_file='' 3112 fi 3113 3114 { echo "$as_me:$LINENO: result: $ac_file" >&5 3115 echo "${ECHO_T}$ac_file" >&6; } 3116 if test -z "$ac_file"; then 3117 echo "$as_me: failed program was:" >&5 3118 sed 's/^/| /' conftest.$ac_ext >&5 3119 3120 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 3121 See \`config.log' for more details." >&5 3122 echo "$as_me: error: C compiler cannot create executables 3123 See \`config.log' for more details." >&2;} 3124 { (exit 77); exit 77; }; } 3125 fi 3126 3127 ac_exeext=$ac_cv_exeext 3128 3129 # Check that the compiler produces executables we can run. If not, either 3130 # the compiler is broken, or we cross compile. 3131 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 3132 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 3133 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 3134 # If not cross compiling, check that we can run a simple program. 3135 if test "$cross_compiling" != yes; then 3136 if { ac_try='./$ac_file' 3137 { (case "(($ac_try" in 3138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3139 *) ac_try_echo=$ac_try;; 3140 esac 3141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3142 (eval "$ac_try") 2>&5 3143 ac_status=$? 3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3145 (exit $ac_status); }; }; then 3146 cross_compiling=no 3147 else 3148 if test "$cross_compiling" = maybe; then 3149 cross_compiling=yes 3150 else 3151 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 3152 If you meant to cross compile, use \`--host'. 3153 See \`config.log' for more details." >&5 3154 echo "$as_me: error: cannot run C compiled programs. 3155 If you meant to cross compile, use \`--host'. 3156 See \`config.log' for more details." >&2;} 3157 { (exit 1); exit 1; }; } 3158 fi 3159 fi 3160 fi 3161 { echo "$as_me:$LINENO: result: yes" >&5 3162 echo "${ECHO_T}yes" >&6; } 3163 3164 rm -f a.out a.exe conftest$ac_cv_exeext b.out 3165 ac_clean_files=$ac_clean_files_save 3166 # Check that the compiler produces executables we can run. If not, either 3167 # the compiler is broken, or we cross compile. 3168 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 3169 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 3170 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 3171 echo "${ECHO_T}$cross_compiling" >&6; } 3172 3173 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 3174 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 3175 if { (ac_try="$ac_link" 3176 case "(($ac_try" in 3177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3178 *) ac_try_echo=$ac_try;; 3179 esac 3180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3181 (eval "$ac_link") 2>&5 3182 ac_status=$? 3183 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3184 (exit $ac_status); }; then 3185 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3186 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3187 # work properly (i.e., refer to `conftest.exe'), while it won't with 3188 # `rm'. 3189 for ac_file in conftest.exe conftest conftest.*; do 3190 test -f "$ac_file" || continue 3191 case $ac_file in 3192 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 3193 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3194 break;; 3195 * ) break;; 3196 esac 3197 done 3198 else 3199 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 3200 See \`config.log' for more details." >&5 3201 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 3202 See \`config.log' for more details." >&2;} 3203 { (exit 1); exit 1; }; } 3204 fi 3205 3206 rm -f conftest$ac_cv_exeext 3207 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3208 echo "${ECHO_T}$ac_cv_exeext" >&6; } 3209 3210 rm -f conftest.$ac_ext 3211 EXEEXT=$ac_cv_exeext 3212 ac_exeext=$EXEEXT 3213 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 3214 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 3215 if test "${ac_cv_objext+set}" = set; then 3216 echo $ECHO_N "(cached) $ECHO_C" >&6 3217 else 3218 cat >conftest.$ac_ext <<_ACEOF 3219 /* confdefs.h. */ 3220 _ACEOF 3221 cat confdefs.h >>conftest.$ac_ext 3222 cat >>conftest.$ac_ext <<_ACEOF 3223 /* end confdefs.h. */ 3224 3225 int 3226 main () 3227 { 3228 3229 ; 3230 return 0; 3231 } 3232 _ACEOF 3233 rm -f conftest.o conftest.obj 3234 if { (ac_try="$ac_compile" 3235 case "(($ac_try" in 3236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3237 *) ac_try_echo=$ac_try;; 3238 esac 3239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3240 (eval "$ac_compile") 2>&5 3241 ac_status=$? 3242 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3243 (exit $ac_status); }; then 3244 for ac_file in conftest.o conftest.obj conftest.*; do 3245 test -f "$ac_file" || continue; 3246 case $ac_file in 3247 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 3248 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3249 break;; 3250 esac 3251 done 3252 else 3253 echo "$as_me: failed program was:" >&5 3254 sed 's/^/| /' conftest.$ac_ext >&5 3255 3256 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 3257 See \`config.log' for more details." >&5 3258 echo "$as_me: error: cannot compute suffix of object files: cannot compile 3259 See \`config.log' for more details." >&2;} 3260 { (exit 1); exit 1; }; } 3261 fi 3262 3263 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3264 fi 3265 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3266 echo "${ECHO_T}$ac_cv_objext" >&6; } 3267 OBJEXT=$ac_cv_objext 3268 ac_objext=$OBJEXT 3269 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3270 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 3271 if test "${ac_cv_c_compiler_gnu+set}" = set; then 3272 echo $ECHO_N "(cached) $ECHO_C" >&6 3273 else 3274 cat >conftest.$ac_ext <<_ACEOF 3275 /* confdefs.h. */ 3276 _ACEOF 3277 cat confdefs.h >>conftest.$ac_ext 3278 cat >>conftest.$ac_ext <<_ACEOF 3279 /* end confdefs.h. */ 3280 3281 int 3282 main () 3283 { 3284 #ifndef __GNUC__ 3285 choke me 3286 #endif 3287 3288 ; 3289 return 0; 3290 } 3291 _ACEOF 3292 rm -f conftest.$ac_objext 3293 if { (ac_try="$ac_compile" 3294 case "(($ac_try" in 3295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3296 *) ac_try_echo=$ac_try;; 3297 esac 3298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3299 (eval "$ac_compile") 2>conftest.er1 3300 ac_status=$? 3301 grep -v '^ *+' conftest.er1 >conftest.err 3302 rm -f conftest.er1 3303 cat conftest.err >&5 3304 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3305 (exit $ac_status); } && { 3306 test -z "$ac_c_werror_flag" || 3307 test ! -s conftest.err 3308 } && test -s conftest.$ac_objext; then 3309 ac_compiler_gnu=yes 3310 else 3311 echo "$as_me: failed program was:" >&5 3312 sed 's/^/| /' conftest.$ac_ext >&5 3313 3314 ac_compiler_gnu=no 3315 fi 3316 3317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3318 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3319 3320 fi 3321 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3322 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 3323 GCC=`test $ac_compiler_gnu = yes && echo yes` 3324 ac_test_CFLAGS=${CFLAGS+set} 3325 ac_save_CFLAGS=$CFLAGS 3326 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3327 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 3328 if test "${ac_cv_prog_cc_g+set}" = set; then 3329 echo $ECHO_N "(cached) $ECHO_C" >&6 3330 else 3331 ac_save_c_werror_flag=$ac_c_werror_flag 3332 ac_c_werror_flag=yes 3333 ac_cv_prog_cc_g=no 3334 CFLAGS="-g" 3335 cat >conftest.$ac_ext <<_ACEOF 3336 /* confdefs.h. */ 3337 _ACEOF 3338 cat confdefs.h >>conftest.$ac_ext 3339 cat >>conftest.$ac_ext <<_ACEOF 3340 /* end confdefs.h. */ 3341 3342 int 3343 main () 3344 { 3345 3346 ; 3347 return 0; 3348 } 3349 _ACEOF 3350 rm -f conftest.$ac_objext 3351 if { (ac_try="$ac_compile" 3352 case "(($ac_try" in 3353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3354 *) ac_try_echo=$ac_try;; 3355 esac 3356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3357 (eval "$ac_compile") 2>conftest.er1 3358 ac_status=$? 3359 grep -v '^ *+' conftest.er1 >conftest.err 3360 rm -f conftest.er1 3361 cat conftest.err >&5 3362 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3363 (exit $ac_status); } && { 3364 test -z "$ac_c_werror_flag" || 3365 test ! -s conftest.err 3366 } && test -s conftest.$ac_objext; then 3367 ac_cv_prog_cc_g=yes 3368 else 3369 echo "$as_me: failed program was:" >&5 3370 sed 's/^/| /' conftest.$ac_ext >&5 3371 3372 CFLAGS="" 3373 cat >conftest.$ac_ext <<_ACEOF 3374 /* confdefs.h. */ 3375 _ACEOF 3376 cat confdefs.h >>conftest.$ac_ext 3377 cat >>conftest.$ac_ext <<_ACEOF 3378 /* end confdefs.h. */ 3379 3380 int 3381 main () 3382 { 3383 3384 ; 3385 return 0; 3386 } 3387 _ACEOF 3388 rm -f conftest.$ac_objext 3389 if { (ac_try="$ac_compile" 3390 case "(($ac_try" in 3391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3392 *) ac_try_echo=$ac_try;; 3393 esac 3394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3395 (eval "$ac_compile") 2>conftest.er1 3396 ac_status=$? 3397 grep -v '^ *+' conftest.er1 >conftest.err 3398 rm -f conftest.er1 3399 cat conftest.err >&5 3400 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3401 (exit $ac_status); } && { 3402 test -z "$ac_c_werror_flag" || 3403 test ! -s conftest.err 3404 } && test -s conftest.$ac_objext; then 3405 : 3406 else 3407 echo "$as_me: failed program was:" >&5 3408 sed 's/^/| /' conftest.$ac_ext >&5 3409 3410 ac_c_werror_flag=$ac_save_c_werror_flag 3411 CFLAGS="-g" 3412 cat >conftest.$ac_ext <<_ACEOF 3413 /* confdefs.h. */ 3414 _ACEOF 3415 cat confdefs.h >>conftest.$ac_ext 3416 cat >>conftest.$ac_ext <<_ACEOF 3417 /* end confdefs.h. */ 3418 3419 int 3420 main () 3421 { 3422 3423 ; 3424 return 0; 3425 } 3426 _ACEOF 3427 rm -f conftest.$ac_objext 3428 if { (ac_try="$ac_compile" 3429 case "(($ac_try" in 3430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3431 *) ac_try_echo=$ac_try;; 3432 esac 3433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3434 (eval "$ac_compile") 2>conftest.er1 3435 ac_status=$? 3436 grep -v '^ *+' conftest.er1 >conftest.err 3437 rm -f conftest.er1 3438 cat conftest.err >&5 3439 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3440 (exit $ac_status); } && { 3441 test -z "$ac_c_werror_flag" || 3442 test ! -s conftest.err 3443 } && test -s conftest.$ac_objext; then 3444 ac_cv_prog_cc_g=yes 3445 else 3446 echo "$as_me: failed program was:" >&5 3447 sed 's/^/| /' conftest.$ac_ext >&5 3448 3449 3450 fi 3451 3452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3453 fi 3454 3455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3456 fi 3457 3458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3459 ac_c_werror_flag=$ac_save_c_werror_flag 3460 fi 3461 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3462 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 3463 if test "$ac_test_CFLAGS" = set; then 3464 CFLAGS=$ac_save_CFLAGS 3465 elif test $ac_cv_prog_cc_g = yes; then 3466 if test "$GCC" = yes; then 3467 CFLAGS="-g -O2" 3468 else 3469 CFLAGS="-g" 3470 fi 3471 else 3472 if test "$GCC" = yes; then 3473 CFLAGS="-O2" 3474 else 3475 CFLAGS= 3476 fi 3477 fi 3478 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3479 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 3480 if test "${ac_cv_prog_cc_c89+set}" = set; then 3481 echo $ECHO_N "(cached) $ECHO_C" >&6 3482 else 3483 ac_cv_prog_cc_c89=no 3484 ac_save_CC=$CC 3485 cat >conftest.$ac_ext <<_ACEOF 3486 /* confdefs.h. */ 3487 _ACEOF 3488 cat confdefs.h >>conftest.$ac_ext 3489 cat >>conftest.$ac_ext <<_ACEOF 3490 /* end confdefs.h. */ 3491 #include <stdarg.h> 3492 #include <stdio.h> 3493 #include <sys/types.h> 3494 #include <sys/stat.h> 3495 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3496 struct buf { int x; }; 3497 FILE * (*rcsopen) (struct buf *, struct stat *, int); 3498 static char *e (p, i) 3499 char **p; 3500 int i; 3501 { 3502 return p[i]; 3503 } 3504 static char *f (char * (*g) (char **, int), char **p, ...) 3505 { 3506 char *s; 3507 va_list v; 3508 va_start (v,p); 3509 s = g (p, va_arg (v,int)); 3510 va_end (v); 3511 return s; 3512 } 3513 3514 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3515 function prototypes and stuff, but not '\xHH' hex character constants. 3516 These don't provoke an error unfortunately, instead are silently treated 3517 as 'x'. The following induces an error, until -std is added to get 3518 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3519 array size at least. It's necessary to write '\x00'==0 to get something 3520 that's true only with -std. */ 3521 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3522 3523 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3524 inside strings and character constants. */ 3525 #define FOO(x) 'x' 3526 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3527 3528 int test (int i, double x); 3529 struct s1 {int (*f) (int a);}; 3530 struct s2 {int (*f) (double a);}; 3531 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3532 int argc; 3533 char **argv; 3534 int 3535 main () 3536 { 3537 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3538 ; 3539 return 0; 3540 } 3541 _ACEOF 3542 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3543 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3544 do 3545 CC="$ac_save_CC $ac_arg" 3546 rm -f conftest.$ac_objext 3547 if { (ac_try="$ac_compile" 3548 case "(($ac_try" in 3549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3550 *) ac_try_echo=$ac_try;; 3551 esac 3552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3553 (eval "$ac_compile") 2>conftest.er1 3554 ac_status=$? 3555 grep -v '^ *+' conftest.er1 >conftest.err 3556 rm -f conftest.er1 3557 cat conftest.err >&5 3558 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3559 (exit $ac_status); } && { 3560 test -z "$ac_c_werror_flag" || 3561 test ! -s conftest.err 3562 } && test -s conftest.$ac_objext; then 3563 ac_cv_prog_cc_c89=$ac_arg 3564 else 3565 echo "$as_me: failed program was:" >&5 3566 sed 's/^/| /' conftest.$ac_ext >&5 3567 3568 3569 fi 3570 3571 rm -f core conftest.err conftest.$ac_objext 3572 test "x$ac_cv_prog_cc_c89" != "xno" && break 3573 done 3574 rm -f conftest.$ac_ext 3575 CC=$ac_save_CC 3576 3577 fi 3578 # AC_CACHE_VAL 3579 case "x$ac_cv_prog_cc_c89" in 3580 x) 3581 { echo "$as_me:$LINENO: result: none needed" >&5 3582 echo "${ECHO_T}none needed" >&6; } ;; 3583 xno) 3584 { echo "$as_me:$LINENO: result: unsupported" >&5 3585 echo "${ECHO_T}unsupported" >&6; } ;; 3586 *) 3587 CC="$CC $ac_cv_prog_cc_c89" 3588 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3589 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 3590 esac 3591 3592 3593 ac_ext=c 3594 ac_cpp='$CPP $CPPFLAGS' 3595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3597 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3598 DEPDIR="${am__leading_dot}deps" 3599 3600 ac_config_commands="$ac_config_commands depfiles" 3601 3602 3603 am_make=${MAKE-make} 3604 cat > confinc << 'END' 3605 am__doit: 3606 @echo done 3607 .PHONY: am__doit 3608 END 3609 # If we don't find an include directive, just comment out the code. 3610 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 3611 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } 3612 am__include="#" 3613 am__quote= 3614 _am_result=none 3615 # First try GNU make style include. 3616 echo "include confinc" > confmf 3617 # We grep out `Entering directory' and `Leaving directory' 3618 # messages which can occur if `w' ends up in MAKEFLAGS. 3619 # In particular we don't look at `^make:' because GNU make might 3620 # be invoked under some other name (usually "gmake"), in which 3621 # case it prints its new name instead of `make'. 3622 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 3623 am__include=include 3624 am__quote= 3625 _am_result=GNU 3626 fi 3627 # Now try BSD make style include. 3628 if test "$am__include" = "#"; then 3629 echo '.include "confinc"' > confmf 3630 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 3631 am__include=.include 3632 am__quote="\"" 3633 _am_result=BSD 3634 fi 3635 fi 3636 3637 3638 { echo "$as_me:$LINENO: result: $_am_result" >&5 3639 echo "${ECHO_T}$_am_result" >&6; } 3640 rm -f confinc confmf 3641 3642 # Check whether --enable-dependency-tracking was given. 3643 if test "${enable_dependency_tracking+set}" = set; then 3644 enableval=$enable_dependency_tracking; 3645 fi 3646 3647 if test "x$enable_dependency_tracking" != xno; then 3648 am_depcomp="$ac_aux_dir/depcomp" 3649 AMDEPBACKSLASH='\' 3650 fi 3651 if test "x$enable_dependency_tracking" != xno; then 3652 AMDEP_TRUE= 3653 AMDEP_FALSE='#' 3654 else 3655 AMDEP_TRUE='#' 3656 AMDEP_FALSE= 3657 fi 3658 3659 3660 3661 depcc="$CC" am_compiler_list= 3662 3663 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3664 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 3665 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3666 echo $ECHO_N "(cached) $ECHO_C" >&6 3667 else 3668 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3669 # We make a subdir and do the tests there. Otherwise we can end up 3670 # making bogus files that we don't know about and never remove. For 3671 # instance it was reported that on HP-UX the gcc test will end up 3672 # making a dummy file named `D' -- because `-MD' means `put the output 3673 # in D'. 3674 mkdir conftest.dir 3675 # Copy depcomp to subdir because otherwise we won't find it if we're 3676 # using a relative directory. 3677 cp "$am_depcomp" conftest.dir 3678 cd conftest.dir 3679 # We will build objects and dependencies in a subdirectory because 3680 # it helps to detect inapplicable dependency modes. For instance 3681 # both Tru64's cc and ICC support -MD to output dependencies as a 3682 # side effect of compilation, but ICC will put the dependencies in 3683 # the current directory while Tru64 will put them in the object 3684 # directory. 3685 mkdir sub 3686 3687 am_cv_CC_dependencies_compiler_type=none 3688 if test "$am_compiler_list" = ""; then 3689 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3690 fi 3691 for depmode in $am_compiler_list; do 3692 # Setup a source with many dependencies, because some compilers 3693 # like to wrap large dependency lists on column 80 (with \), and 3694 # we should not choose a depcomp mode which is confused by this. 3695 # 3696 # We need to recreate these files for each test, as the compiler may 3697 # overwrite some of them when testing with obscure command lines. 3698 # This happens at least with the AIX C compiler. 3699 : > sub/conftest.c 3700 for i in 1 2 3 4 5 6; do 3701 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3702 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3703 # Solaris 8's {/usr,}/bin/sh. 3704 touch sub/conftst$i.h 3705 done 3706 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3707 3708 case $depmode in 3709 nosideeffect) 3710 # after this tag, mechanisms are not by side-effect, so they'll 3711 # only be used when explicitly requested 3712 if test "x$enable_dependency_tracking" = xyes; then 3713 continue 3714 else 3715 break 3716 fi 3717 ;; 3718 none) break ;; 3719 esac 3720 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3721 # mode. It turns out that the SunPro C++ compiler does not properly 3722 # handle `-M -o', and we need to detect this. 3723 if depmode=$depmode \ 3724 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3725 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3726 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3727 >/dev/null 2>conftest.err && 3728 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3729 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3730 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3731 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3732 # icc doesn't choke on unknown options, it will just issue warnings 3733 # or remarks (even with -Werror). So we grep stderr for any message 3734 # that says an option was ignored or not supported. 3735 # When given -MP, icc 7.0 and 7.1 complain thusly: 3736 # icc: Command line warning: ignoring option '-M'; no argument required 3737 # The diagnosis changed in icc 8.0: 3738 # icc: Command line remark: option '-MP' not supported 3739 if (grep 'ignoring option' conftest.err || 3740 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3741 am_cv_CC_dependencies_compiler_type=$depmode 3742 break 3743 fi 3744 fi 3745 done 3746 3747 cd .. 3748 rm -rf conftest.dir 3749 else 3750 am_cv_CC_dependencies_compiler_type=none 3751 fi 3752 3753 fi 3754 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3755 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } 3756 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3757 3758 if 3759 test "x$enable_dependency_tracking" != xno \ 3760 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3761 am__fastdepCC_TRUE= 3762 am__fastdepCC_FALSE='#' 3763 else 3764 am__fastdepCC_TRUE='#' 3765 am__fastdepCC_FALSE= 3766 fi 3767 3768 3769 # Find a good install program. We prefer a C program (faster), 3770 # so one script is as good as another. But avoid the broken or 3771 # incompatible versions: 3772 # SysV /etc/install, /usr/sbin/install 3773 # SunOS /usr/etc/install 3774 # IRIX /sbin/install 3775 # AIX /bin/install 3776 # AmigaOS /C/install, which installs bootblocks on floppy discs 3777 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3778 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 3779 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3780 # OS/2's system install, which has a completely different semantic 3781 # ./install, which can be erroneously created by make from ./install.sh. 3782 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3783 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 3784 if test -z "$INSTALL"; then 3785 if test "${ac_cv_path_install+set}" = set; then 3786 echo $ECHO_N "(cached) $ECHO_C" >&6 3787 else 3788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3789 for as_dir in $PATH 3790 do 3791 IFS=$as_save_IFS 3792 test -z "$as_dir" && as_dir=. 3793 # Account for people who put trailing slashes in PATH elements. 3794 case $as_dir/ in 3795 ./ | .// | /cC/* | \ 3796 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3797 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 3798 /usr/ucb/* ) ;; 3799 *) 3800 # OSF1 and SCO ODT 3.0 have their own names for install. 3801 # Don't use installbsd from OSF since it installs stuff as root 3802 # by default. 3803 for ac_prog in ginstall scoinst install; do 3804 for ac_exec_ext in '' $ac_executable_extensions; do 3805 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 3806 if test $ac_prog = install && 3807 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3808 # AIX install. It has an incompatible calling convention. 3809 : 3810 elif test $ac_prog = install && 3811 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3812 # program-specific install script used by HP pwplus--don't use. 3813 : 3814 else 3815 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3816 break 3 3817 fi 3818 fi 3819 done 3820 done 3821 ;; 3822 esac 3823 done 3824 IFS=$as_save_IFS 3825 3826 3827 fi 3828 if test "${ac_cv_path_install+set}" = set; then 3829 INSTALL=$ac_cv_path_install 3830 else 3831 # As a last resort, use the slow shell script. Don't cache a 3832 # value for INSTALL within a source directory, because that will 3833 # break other packages using the cache if that directory is 3834 # removed, or if the value is a relative name. 3835 INSTALL=$ac_install_sh 3836 fi 3837 fi 3838 { echo "$as_me:$LINENO: result: $INSTALL" >&5 3839 echo "${ECHO_T}$INSTALL" >&6; } 3840 3841 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3842 # It thinks the first close brace ends the variable substitution. 3843 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3844 3845 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3846 3847 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3848 3849 ac_ext=c 3850 ac_cpp='$CPP $CPPFLAGS' 3851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3853 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3854 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3855 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3856 # On Suns, sometimes $CPP names a directory. 3857 if test -n "$CPP" && test -d "$CPP"; then 3858 CPP= 3859 fi 3860 if test -z "$CPP"; then 3861 if test "${ac_cv_prog_CPP+set}" = set; then 3862 echo $ECHO_N "(cached) $ECHO_C" >&6 3863 else 3864 # Double quotes because CPP needs to be expanded 3865 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3866 do 3867 ac_preproc_ok=false 3868 for ac_c_preproc_warn_flag in '' yes 3869 do 3870 # Use a header file that comes with gcc, so configuring glibc 3871 # with a fresh cross-compiler works. 3872 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3873 # <limits.h> exists even on freestanding compilers. 3874 # On the NeXT, cc -E runs the code through the compiler's parser, 3875 # not just through cpp. "Syntax error" is here to catch this case. 3876 cat >conftest.$ac_ext <<_ACEOF 3877 /* confdefs.h. */ 3878 _ACEOF 3879 cat confdefs.h >>conftest.$ac_ext 3880 cat >>conftest.$ac_ext <<_ACEOF 3881 /* end confdefs.h. */ 3882 #ifdef __STDC__ 3883 # include <limits.h> 3884 #else 3885 # include <assert.h> 3886 #endif 3887 Syntax error 3888 _ACEOF 3889 if { (ac_try="$ac_cpp conftest.$ac_ext" 3890 case "(($ac_try" in 3891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3892 *) ac_try_echo=$ac_try;; 3893 esac 3894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3895 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3896 ac_status=$? 3897 grep -v '^ *+' conftest.er1 >conftest.err 3898 rm -f conftest.er1 3899 cat conftest.err >&5 3900 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3901 (exit $ac_status); } >/dev/null && { 3902 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3903 test ! -s conftest.err 3904 }; then 3905 : 3906 else 3907 echo "$as_me: failed program was:" >&5 3908 sed 's/^/| /' conftest.$ac_ext >&5 3909 3910 # Broken: fails on valid input. 3911 continue 3912 fi 3913 3914 rm -f conftest.err conftest.$ac_ext 3915 3916 # OK, works on sane cases. Now check whether nonexistent headers 3917 # can be detected and how. 3918 cat >conftest.$ac_ext <<_ACEOF 3919 /* confdefs.h. */ 3920 _ACEOF 3921 cat confdefs.h >>conftest.$ac_ext 3922 cat >>conftest.$ac_ext <<_ACEOF 3923 /* end confdefs.h. */ 3924 #include <ac_nonexistent.h> 3925 _ACEOF 3926 if { (ac_try="$ac_cpp conftest.$ac_ext" 3927 case "(($ac_try" in 3928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3929 *) ac_try_echo=$ac_try;; 3930 esac 3931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3932 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3933 ac_status=$? 3934 grep -v '^ *+' conftest.er1 >conftest.err 3935 rm -f conftest.er1 3936 cat conftest.err >&5 3937 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3938 (exit $ac_status); } >/dev/null && { 3939 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3940 test ! -s conftest.err 3941 }; then 3942 # Broken: success on invalid input. 3943 continue 3944 else 3945 echo "$as_me: failed program was:" >&5 3946 sed 's/^/| /' conftest.$ac_ext >&5 3947 3948 # Passes both tests. 3949 ac_preproc_ok=: 3950 break 3951 fi 3952 3953 rm -f conftest.err conftest.$ac_ext 3954 3955 done 3956 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3957 rm -f conftest.err conftest.$ac_ext 3958 if $ac_preproc_ok; then 3959 break 3960 fi 3961 3962 done 3963 ac_cv_prog_CPP=$CPP 3964 3965 fi 3966 CPP=$ac_cv_prog_CPP 3967 else 3968 ac_cv_prog_CPP=$CPP 3969 fi 3970 { echo "$as_me:$LINENO: result: $CPP" >&5 3971 echo "${ECHO_T}$CPP" >&6; } 3972 ac_preproc_ok=false 3973 for ac_c_preproc_warn_flag in '' yes 3974 do 3975 # Use a header file that comes with gcc, so configuring glibc 3976 # with a fresh cross-compiler works. 3977 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3978 # <limits.h> exists even on freestanding compilers. 3979 # On the NeXT, cc -E runs the code through the compiler's parser, 3980 # not just through cpp. "Syntax error" is here to catch this case. 3981 cat >conftest.$ac_ext <<_ACEOF 3982 /* confdefs.h. */ 3983 _ACEOF 3984 cat confdefs.h >>conftest.$ac_ext 3985 cat >>conftest.$ac_ext <<_ACEOF 3986 /* end confdefs.h. */ 3987 #ifdef __STDC__ 3988 # include <limits.h> 3989 #else 3990 # include <assert.h> 3991 #endif 3992 Syntax error 3993 _ACEOF 3994 if { (ac_try="$ac_cpp conftest.$ac_ext" 3995 case "(($ac_try" in 3996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3997 *) ac_try_echo=$ac_try;; 3998 esac 3999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4000 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4001 ac_status=$? 4002 grep -v '^ *+' conftest.er1 >conftest.err 4003 rm -f conftest.er1 4004 cat conftest.err >&5 4005 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4006 (exit $ac_status); } >/dev/null && { 4007 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4008 test ! -s conftest.err 4009 }; then 4010 : 4011 else 4012 echo "$as_me: failed program was:" >&5 4013 sed 's/^/| /' conftest.$ac_ext >&5 4014 4015 # Broken: fails on valid input. 4016 continue 4017 fi 4018 4019 rm -f conftest.err conftest.$ac_ext 4020 4021 # OK, works on sane cases. Now check whether nonexistent headers 4022 # can be detected and how. 4023 cat >conftest.$ac_ext <<_ACEOF 4024 /* confdefs.h. */ 4025 _ACEOF 4026 cat confdefs.h >>conftest.$ac_ext 4027 cat >>conftest.$ac_ext <<_ACEOF 4028 /* end confdefs.h. */ 4029 #include <ac_nonexistent.h> 4030 _ACEOF 4031 if { (ac_try="$ac_cpp conftest.$ac_ext" 4032 case "(($ac_try" in 4033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4034 *) ac_try_echo=$ac_try;; 4035 esac 4036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4037 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4038 ac_status=$? 4039 grep -v '^ *+' conftest.er1 >conftest.err 4040 rm -f conftest.er1 4041 cat conftest.err >&5 4042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4043 (exit $ac_status); } >/dev/null && { 4044 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4045 test ! -s conftest.err 4046 }; then 4047 # Broken: success on invalid input. 4048 continue 4049 else 4050 echo "$as_me: failed program was:" >&5 4051 sed 's/^/| /' conftest.$ac_ext >&5 4052 4053 # Passes both tests. 4054 ac_preproc_ok=: 4055 break 4056 fi 4057 4058 rm -f conftest.err conftest.$ac_ext 4059 4060 done 4061 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4062 rm -f conftest.err conftest.$ac_ext 4063 if $ac_preproc_ok; then 4064 : 4065 else 4066 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4067 See \`config.log' for more details." >&5 4068 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4069 See \`config.log' for more details." >&2;} 4070 { (exit 1); exit 1; }; } 4071 fi 4072 4073 ac_ext=c 4074 ac_cpp='$CPP $CPPFLAGS' 4075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4077 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4078 4079 # Extract the first word of "rm", so it can be a program name with args. 4080 set dummy rm; ac_word=$2 4081 { echo "$as_me:$LINENO: checking for $ac_word" >&5 4082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4083 if test "${ac_cv_path_RM+set}" = set; then 4084 echo $ECHO_N "(cached) $ECHO_C" >&6 4085 else 4086 case $RM in 4087 [\\/]* | ?:[\\/]*) 4088 ac_cv_path_RM="$RM" # Let the user override the test with a path. 4089 ;; 4090 *) 4091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4092 for as_dir in $PATH 4093 do 4094 IFS=$as_save_IFS 4095 test -z "$as_dir" && as_dir=. 4096 for ac_exec_ext in '' $ac_executable_extensions; do 4097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4098 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext" 4099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4100 break 2 4101 fi 4102 done 4103 done 4104 IFS=$as_save_IFS 4105 4106 test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm" 4107 ;; 4108 esac 4109 fi 4110 RM=$ac_cv_path_RM 4111 if test -n "$RM"; then 4112 { echo "$as_me:$LINENO: result: $RM" >&5 4113 echo "${ECHO_T}$RM" >&6; } 4114 else 4115 { echo "$as_me:$LINENO: result: no" >&5 4116 echo "${ECHO_T}no" >&6; } 4117 fi 4118 4119 4120 # Extract the first word of "mv", so it can be a program name with args. 4121 set dummy mv; ac_word=$2 4122 { echo "$as_me:$LINENO: checking for $ac_word" >&5 4123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4124 if test "${ac_cv_path_MV+set}" = set; then 4125 echo $ECHO_N "(cached) $ECHO_C" >&6 4126 else 4127 case $MV in 4128 [\\/]* | ?:[\\/]*) 4129 ac_cv_path_MV="$MV" # Let the user override the test with a path. 4130 ;; 4131 *) 4132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4133 for as_dir in $PATH 4134 do 4135 IFS=$as_save_IFS 4136 test -z "$as_dir" && as_dir=. 4137 for ac_exec_ext in '' $ac_executable_extensions; do 4138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4139 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext" 4140 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4141 break 2 4142 fi 4143 done 4144 done 4145 IFS=$as_save_IFS 4146 4147 test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv" 4148 ;; 4149 esac 4150 fi 4151 MV=$ac_cv_path_MV 4152 if test -n "$MV"; then 4153 { echo "$as_me:$LINENO: result: $MV" >&5 4154 echo "${ECHO_T}$MV" >&6; } 4155 else 4156 { echo "$as_me:$LINENO: result: no" >&5 4157 echo "${ECHO_T}no" >&6; } 4158 fi 4159 4160 4161 # Extract the first word of "tar", so it can be a program name with args. 4162 set dummy tar; ac_word=$2 4163 { echo "$as_me:$LINENO: checking for $ac_word" >&5 4164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4165 if test "${ac_cv_path_TAR+set}" = set; then 4166 echo $ECHO_N "(cached) $ECHO_C" >&6 4167 else 4168 case $TAR in 4169 [\\/]* | ?:[\\/]*) 4170 ac_cv_path_TAR="$TAR" # Let the user override the test with a path. 4171 ;; 4172 *) 4173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4174 for as_dir in $PATH 4175 do 4176 IFS=$as_save_IFS 4177 test -z "$as_dir" && as_dir=. 4178 for ac_exec_ext in '' $ac_executable_extensions; do 4179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4180 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext" 4181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4182 break 2 4183 fi 4184 done 4185 done 4186 IFS=$as_save_IFS 4187 4188 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar" 4189 ;; 4190 esac 4191 fi 4192 TAR=$ac_cv_path_TAR 4193 if test -n "$TAR"; then 4194 { echo "$as_me:$LINENO: result: $TAR" >&5 4195 echo "${ECHO_T}$TAR" >&6; } 4196 else 4197 { echo "$as_me:$LINENO: result: no" >&5 4198 echo "${ECHO_T}no" >&6; } 4199 fi 4200 4201 4202 # Extract the first word of "perl", so it can be a program name with args. 4203 set dummy perl; ac_word=$2 4204 { echo "$as_me:$LINENO: checking for $ac_word" >&5 4205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4206 if test "${ac_cv_path_PERL+set}" = set; then 4207 echo $ECHO_N "(cached) $ECHO_C" >&6 4208 else 4209 case $PERL in 4210 [\\/]* | ?:[\\/]*) 4211 ac_cv_path_PERL="$PERL" # Let the user override the test with a path. 4212 ;; 4213 *) 4214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4215 for as_dir in $PATH 4216 do 4217 IFS=$as_save_IFS 4218 test -z "$as_dir" && as_dir=. 4219 for ac_exec_ext in '' $ac_executable_extensions; do 4220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4221 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 4222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4223 break 2 4224 fi 4225 done 4226 done 4227 IFS=$as_save_IFS 4228 4229 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="/usr/bin/perl" 4230 ;; 4231 esac 4232 fi 4233 PERL=$ac_cv_path_PERL 4234 if test -n "$PERL"; then 4235 { echo "$as_me:$LINENO: result: $PERL" >&5 4236 echo "${ECHO_T}$PERL" >&6; } 4237 else 4238 { echo "$as_me:$LINENO: result: no" >&5 4239 echo "${ECHO_T}no" >&6; } 4240 fi 4241 4242 4243 # Extract the first word of "wget", so it can be a program name with args. 4244 set dummy wget; ac_word=$2 4245 { echo "$as_me:$LINENO: checking for $ac_word" >&5 4246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4247 if test "${ac_cv_path_WGET+set}" = set; then 4248 echo $ECHO_N "(cached) $ECHO_C" >&6 4249 else 4250 case $WGET in 4251 [\\/]* | ?:[\\/]*) 4252 ac_cv_path_WGET="$WGET" # Let the user override the test with a path. 4253 ;; 4254 *) 4255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4256 for as_dir in $PATH 4257 do 4258 IFS=$as_save_IFS 4259 test -z "$as_dir" && as_dir=. 4260 for ac_exec_ext in '' $ac_executable_extensions; do 4261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4262 ac_cv_path_WGET="$as_dir/$ac_word$ac_exec_ext" 4263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4264 break 2 4265 fi 4266 done 4267 done 4268 IFS=$as_save_IFS 4269 4270 test -z "$ac_cv_path_WGET" && ac_cv_path_WGET="/usr/bin/wget" 4271 ;; 4272 esac 4273 fi 4274 WGET=$ac_cv_path_WGET 4275 if test -n "$WGET"; then 4276 { echo "$as_me:$LINENO: result: $WGET" >&5 4277 echo "${ECHO_T}$WGET" >&6; } 4278 else 4279 { echo "$as_me:$LINENO: result: no" >&5 4280 echo "${ECHO_T}no" >&6; } 4281 fi 4282 4283 4284 # Extract the first word of "xmllint", so it can be a program name with args. 4285 set dummy xmllint; ac_word=$2 4286 { echo "$as_me:$LINENO: checking for $ac_word" >&5 4287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4288 if test "${ac_cv_path_XMLLINT+set}" = set; then 4289 echo $ECHO_N "(cached) $ECHO_C" >&6 4290 else 4291 case $XMLLINT in 4292 [\\/]* | ?:[\\/]*) 4293 ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path. 4294 ;; 4295 *) 4296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4297 for as_dir in $PATH 4298 do 4299 IFS=$as_save_IFS 4300 test -z "$as_dir" && as_dir=. 4301 for ac_exec_ext in '' $ac_executable_extensions; do 4302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4303 ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext" 4304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4305 break 2 4306 fi 4307 done 4308 done 4309 IFS=$as_save_IFS 4310 4311 test -z "$ac_cv_path_XMLLINT" && ac_cv_path_XMLLINT="/usr/bin/xmllint" 4312 ;; 4313 esac 4314 fi 4315 XMLLINT=$ac_cv_path_XMLLINT 4316 if test -n "$XMLLINT"; then 4317 { echo "$as_me:$LINENO: result: $XMLLINT" >&5 4318 echo "${ECHO_T}$XMLLINT" >&6; } 4319 else 4320 { echo "$as_me:$LINENO: result: no" >&5 4321 echo "${ECHO_T}no" >&6; } 4322 fi 4323 4324 4325 # Extract the first word of "xsltproc", so it can be a program name with args. 4326 set dummy xsltproc; ac_word=$2 4327 { echo "$as_me:$LINENO: checking for $ac_word" >&5 4328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4329 if test "${ac_cv_path_XSLTPROC+set}" = set; then 4330 echo $ECHO_N "(cached) $ECHO_C" >&6 4331 else 4332 case $XSLTPROC in 4333 [\\/]* | ?:[\\/]*) 4334 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path. 4335 ;; 4336 *) 4337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4338 for as_dir in $PATH 4339 do 4340 IFS=$as_save_IFS 4341 test -z "$as_dir" && as_dir=. 4342 for ac_exec_ext in '' $ac_executable_extensions; do 4343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4344 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext" 4345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4346 break 2 4347 fi 4348 done 4349 done 4350 IFS=$as_save_IFS 4351 4352 test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="/usr/bin/xsltproc" 4353 ;; 4354 esac 4355 fi 4356 XSLTPROC=$ac_cv_path_XSLTPROC 4357 if test -n "$XSLTPROC"; then 4358 { echo "$as_me:$LINENO: result: $XSLTPROC" >&5 4359 echo "${ECHO_T}$XSLTPROC" >&6; } 4360 else 4361 { echo "$as_me:$LINENO: result: no" >&5 4362 echo "${ECHO_T}no" >&6; } 4363 fi 4364 4365 4366 4367 { echo "$as_me:$LINENO: checking for function prototypes" >&5 4368 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; } 4369 if test "$ac_cv_prog_cc_c89" != no; then 4370 { echo "$as_me:$LINENO: result: yes" >&5 4371 echo "${ECHO_T}yes" >&6; } 4372 4373 cat >>confdefs.h <<\_ACEOF 4374 #define PROTOTYPES 1 4375 _ACEOF 4376 4377 4378 cat >>confdefs.h <<\_ACEOF 4379 #define __PROTOTYPES 1 4380 _ACEOF 4381 4382 else 4383 { echo "$as_me:$LINENO: result: no" >&5 4384 echo "${ECHO_T}no" >&6; } 4385 fi 4386 4387 4388 4389 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4390 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4391 if test "${ac_cv_path_GREP+set}" = set; then 4392 echo $ECHO_N "(cached) $ECHO_C" >&6 4393 else 4394 # Extract the first word of "grep ggrep" to use in msg output 4395 if test -z "$GREP"; then 4396 set dummy grep ggrep; ac_prog_name=$2 4397 if test "${ac_cv_path_GREP+set}" = set; then 4398 echo $ECHO_N "(cached) $ECHO_C" >&6 4399 else 4400 ac_path_GREP_found=false 4401 # Loop through the user's path and test for each of PROGNAME-LIST 4402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4403 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4404 do 4405 IFS=$as_save_IFS 4406 test -z "$as_dir" && as_dir=. 4407 for ac_prog in grep ggrep; do 4408 for ac_exec_ext in '' $ac_executable_extensions; do 4409 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4410 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4411 # Check for GNU ac_path_GREP and select it if it is found. 4412 # Check for GNU $ac_path_GREP 4413 case `"$ac_path_GREP" --version 2>&1` in 4414 *GNU*) 4415 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4416 *) 4417 ac_count=0 4418 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4419 while : 4420 do 4421 cat "conftest.in" "conftest.in" >"conftest.tmp" 4422 mv "conftest.tmp" "conftest.in" 4423 cp "conftest.in" "conftest.nl" 4424 echo 'GREP' >> "conftest.nl" 4425 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4426 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4427 ac_count=`expr $ac_count + 1` 4428 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4429 # Best one so far, save it but keep looking for a better one 4430 ac_cv_path_GREP="$ac_path_GREP" 4431 ac_path_GREP_max=$ac_count 4432 fi 4433 # 10*(2^10) chars as input seems more than enough 4434 test $ac_count -gt 10 && break 4435 done 4436 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4437 esac 4438 4439 4440 $ac_path_GREP_found && break 3 4441 done 4442 done 4443 4444 done 4445 IFS=$as_save_IFS 4446 4447 4448 fi 4449 4450 GREP="$ac_cv_path_GREP" 4451 if test -z "$GREP"; then 4452 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4453 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4454 { (exit 1); exit 1; }; } 4455 fi 4456 4457 else 4458 ac_cv_path_GREP=$GREP 4459 fi 4460 4461 4462 fi 4463 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4464 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4465 GREP="$ac_cv_path_GREP" 4466 4467 4468 { echo "$as_me:$LINENO: checking for egrep" >&5 4469 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 4470 if test "${ac_cv_path_EGREP+set}" = set; then 4471 echo $ECHO_N "(cached) $ECHO_C" >&6 4472 else 4473 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4474 then ac_cv_path_EGREP="$GREP -E" 4475 else 4476 # Extract the first word of "egrep" to use in msg output 4477 if test -z "$EGREP"; then 4478 set dummy egrep; ac_prog_name=$2 4479 if test "${ac_cv_path_EGREP+set}" = set; then 4480 echo $ECHO_N "(cached) $ECHO_C" >&6 4481 else 4482 ac_path_EGREP_found=false 4483 # Loop through the user's path and test for each of PROGNAME-LIST 4484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4485 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4486 do 4487 IFS=$as_save_IFS 4488 test -z "$as_dir" && as_dir=. 4489 for ac_prog in egrep; do 4490 for ac_exec_ext in '' $ac_executable_extensions; do 4491 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4492 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4493 # Check for GNU ac_path_EGREP and select it if it is found. 4494 # Check for GNU $ac_path_EGREP 4495 case `"$ac_path_EGREP" --version 2>&1` in 4496 *GNU*) 4497 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4498 *) 4499 ac_count=0 4500 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4501 while : 4502 do 4503 cat "conftest.in" "conftest.in" >"conftest.tmp" 4504 mv "conftest.tmp" "conftest.in" 4505 cp "conftest.in" "conftest.nl" 4506 echo 'EGREP' >> "conftest.nl" 4507 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4508 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4509 ac_count=`expr $ac_count + 1` 4510 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4511 # Best one so far, save it but keep looking for a better one 4512 ac_cv_path_EGREP="$ac_path_EGREP" 4513 ac_path_EGREP_max=$ac_count 4514 fi 4515 # 10*(2^10) chars as input seems more than enough 4516 test $ac_count -gt 10 && break 4517 done 4518 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4519 esac 4520 4521 4522 $ac_path_EGREP_found && break 3 4523 done 4524 done 4525 4526 done 4527 IFS=$as_save_IFS 4528 4529 4530 fi 4531 4532 EGREP="$ac_cv_path_EGREP" 4533 if test -z "$EGREP"; then 4534 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4535 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4536 { (exit 1); exit 1; }; } 4537 fi 4538 4539 else 4540 ac_cv_path_EGREP=$EGREP 4541 fi 4542 4543 4544 fi 4545 fi 4546 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4547 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 4548 EGREP="$ac_cv_path_EGREP" 4549 4550 4551 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4552 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4553 if test "${ac_cv_header_stdc+set}" = set; then 4554 echo $ECHO_N "(cached) $ECHO_C" >&6 4555 else 4556 cat >conftest.$ac_ext <<_ACEOF 4557 /* confdefs.h. */ 4558 _ACEOF 4559 cat confdefs.h >>conftest.$ac_ext 4560 cat >>conftest.$ac_ext <<_ACEOF 4561 /* end confdefs.h. */ 4562 #include <stdlib.h> 4563 #include <stdarg.h> 4564 #include <string.h> 4565 #include <float.h> 4566 4567 int 4568 main () 4569 { 4570 4571 ; 4572 return 0; 4573 } 4574 _ACEOF 4575 rm -f conftest.$ac_objext 4576 if { (ac_try="$ac_compile" 4577 case "(($ac_try" in 4578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4579 *) ac_try_echo=$ac_try;; 4580 esac 4581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4582 (eval "$ac_compile") 2>conftest.er1 4583 ac_status=$? 4584 grep -v '^ *+' conftest.er1 >conftest.err 4585 rm -f conftest.er1 4586 cat conftest.err >&5 4587 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4588 (exit $ac_status); } && { 4589 test -z "$ac_c_werror_flag" || 4590 test ! -s conftest.err 4591 } && test -s conftest.$ac_objext; then 4592 ac_cv_header_stdc=yes 4593 else 4594 echo "$as_me: failed program was:" >&5 4595 sed 's/^/| /' conftest.$ac_ext >&5 4596 4597 ac_cv_header_stdc=no 4598 fi 4599 4600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4601 4602 if test $ac_cv_header_stdc = yes; then 4603 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4604 cat >conftest.$ac_ext <<_ACEOF 4605 /* confdefs.h. */ 4606 _ACEOF 4607 cat confdefs.h >>conftest.$ac_ext 4608 cat >>conftest.$ac_ext <<_ACEOF 4609 /* end confdefs.h. */ 4610 #include <string.h> 4611 4612 _ACEOF 4613 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4614 $EGREP "memchr" >/dev/null 2>&1; then 4615 : 4616 else 4617 ac_cv_header_stdc=no 4618 fi 4619 rm -f conftest* 4620 4621 fi 4622 4623 if test $ac_cv_header_stdc = yes; then 4624 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4625 cat >conftest.$ac_ext <<_ACEOF 4626 /* confdefs.h. */ 4627 _ACEOF 4628 cat confdefs.h >>conftest.$ac_ext 4629 cat >>conftest.$ac_ext <<_ACEOF 4630 /* end confdefs.h. */ 4631 #include <stdlib.h> 4632 4633 _ACEOF 4634 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4635 $EGREP "free" >/dev/null 2>&1; then 4636 : 4637 else 4638 ac_cv_header_stdc=no 4639 fi 4640 rm -f conftest* 4641 4642 fi 4643 4644 if test $ac_cv_header_stdc = yes; then 4645 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4646 if test "$cross_compiling" = yes; then 4647 : 4648 else 4649 cat >conftest.$ac_ext <<_ACEOF 4650 /* confdefs.h. */ 4651 _ACEOF 4652 cat confdefs.h >>conftest.$ac_ext 4653 cat >>conftest.$ac_ext <<_ACEOF 4654 /* end confdefs.h. */ 4655 #include <ctype.h> 4656 #include <stdlib.h> 4657 #if ((' ' & 0x0FF) == 0x020) 4658 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4659 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4660 #else 4661 # define ISLOWER(c) \ 4662 (('a' <= (c) && (c) <= 'i') \ 4663 || ('j' <= (c) && (c) <= 'r') \ 4664 || ('s' <= (c) && (c) <= 'z')) 4665 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4666 #endif 4667 4668 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4669 int 4670 main () 4671 { 4672 int i; 4673 for (i = 0; i < 256; i++) 4674 if (XOR (islower (i), ISLOWER (i)) 4675 || toupper (i) != TOUPPER (i)) 4676 return 2; 4677 return 0; 4678 } 4679 _ACEOF 4680 rm -f conftest$ac_exeext 4681 if { (ac_try="$ac_link" 4682 case "(($ac_try" in 4683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4684 *) ac_try_echo=$ac_try;; 4685 esac 4686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4687 (eval "$ac_link") 2>&5 4688 ac_status=$? 4689 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4690 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4691 { (case "(($ac_try" in 4692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4693 *) ac_try_echo=$ac_try;; 4694 esac 4695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4696 (eval "$ac_try") 2>&5 4697 ac_status=$? 4698 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4699 (exit $ac_status); }; }; then 4700 : 4701 else 4702 echo "$as_me: program exited with status $ac_status" >&5 4703 echo "$as_me: failed program was:" >&5 4704 sed 's/^/| /' conftest.$ac_ext >&5 4705 4706 ( exit $ac_status ) 4707 ac_cv_header_stdc=no 4708 fi 4709 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4710 fi 4711 4712 4713 fi 4714 fi 4715 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4716 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4717 if test $ac_cv_header_stdc = yes; then 4718 4719 cat >>confdefs.h <<\_ACEOF 4720 #define STDC_HEADERS 1 4721 _ACEOF 4722 4723 fi 4724 4725 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4736 inttypes.h stdint.h unistd.h 4737 do 4738 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4739 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4740 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4741 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4742 echo $ECHO_N "(cached) $ECHO_C" >&6 4743 else 4744 cat >conftest.$ac_ext <<_ACEOF 4745 /* confdefs.h. */ 4746 _ACEOF 4747 cat confdefs.h >>conftest.$ac_ext 4748 cat >>conftest.$ac_ext <<_ACEOF 4749 /* end confdefs.h. */ 4750 $ac_includes_default 4751 4752 #include <$ac_header> 4753 _ACEOF 4754 rm -f conftest.$ac_objext 4755 if { (ac_try="$ac_compile" 4756 case "(($ac_try" in 4757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4758 *) ac_try_echo=$ac_try;; 4759 esac 4760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4761 (eval "$ac_compile") 2>conftest.er1 4762 ac_status=$? 4763 grep -v '^ *+' conftest.er1 >conftest.err 4764 rm -f conftest.er1 4765 cat conftest.err >&5 4766 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4767 (exit $ac_status); } && { 4768 test -z "$ac_c_werror_flag" || 4769 test ! -s conftest.err 4770 } && test -s conftest.$ac_objext; then 4771 eval "$as_ac_Header=yes" 4772 else 4773 echo "$as_me: failed program was:" >&5 4774 sed 's/^/| /' conftest.$ac_ext >&5 4775 4776 eval "$as_ac_Header=no" 4777 fi 4778 4779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4780 fi 4781 ac_res=`eval echo '${'$as_ac_Header'}'` 4782 { echo "$as_me:$LINENO: result: $ac_res" >&5 4783 echo "${ECHO_T}$ac_res" >&6; } 4784 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4785 cat >>confdefs.h <<_ACEOF 4786 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4787 _ACEOF 4788 4789 fi 4790 4791 done 4792 4793 4794 4795 if test "$ac_cv_prog_cc_stdc" != no; then 4796 U= ANSI2KNR= 4797 else 4798 U=_ ANSI2KNR=./ansi2knr 4799 fi 4800 # Ensure some checks needed by ansi2knr itself. 4801 4802 4803 for ac_header in string.h 4804 do 4805 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4806 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4807 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4809 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4810 echo $ECHO_N "(cached) $ECHO_C" >&6 4811 fi 4812 ac_res=`eval echo '${'$as_ac_Header'}'` 4813 { echo "$as_me:$LINENO: result: $ac_res" >&5 4814 echo "${ECHO_T}$ac_res" >&6; } 4815 else 4816 # Is the header compilable? 4817 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 4818 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 4819 cat >conftest.$ac_ext <<_ACEOF 4820 /* confdefs.h. */ 4821 _ACEOF 4822 cat confdefs.h >>conftest.$ac_ext 4823 cat >>conftest.$ac_ext <<_ACEOF 4824 /* end confdefs.h. */ 4825 $ac_includes_default 4826 #include <$ac_header> 4827 _ACEOF 4828 rm -f conftest.$ac_objext 4829 if { (ac_try="$ac_compile" 4830 case "(($ac_try" in 4831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4832 *) ac_try_echo=$ac_try;; 4833 esac 4834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4835 (eval "$ac_compile") 2>conftest.er1 4836 ac_status=$? 4837 grep -v '^ *+' conftest.er1 >conftest.err 4838 rm -f conftest.er1 4839 cat conftest.err >&5 4840 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4841 (exit $ac_status); } && { 4842 test -z "$ac_c_werror_flag" || 4843 test ! -s conftest.err 4844 } && test -s conftest.$ac_objext; then 4845 ac_header_compiler=yes 4846 else 4847 echo "$as_me: failed program was:" >&5 4848 sed 's/^/| /' conftest.$ac_ext >&5 4849 4850 ac_header_compiler=no 4851 fi 4852 4853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4854 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4855 echo "${ECHO_T}$ac_header_compiler" >&6; } 4856 4857 # Is the header present? 4858 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 4859 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 4860 cat >conftest.$ac_ext <<_ACEOF 4861 /* confdefs.h. */ 4862 _ACEOF 4863 cat confdefs.h >>conftest.$ac_ext 4864 cat >>conftest.$ac_ext <<_ACEOF 4865 /* end confdefs.h. */ 4866 #include <$ac_header> 4867 _ACEOF 4868 if { (ac_try="$ac_cpp conftest.$ac_ext" 4869 case "(($ac_try" in 4870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4871 *) ac_try_echo=$ac_try;; 4872 esac 4873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4874 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4875 ac_status=$? 4876 grep -v '^ *+' conftest.er1 >conftest.err 4877 rm -f conftest.er1 4878 cat conftest.err >&5 4879 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4880 (exit $ac_status); } >/dev/null && { 4881 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4882 test ! -s conftest.err 4883 }; then 4884 ac_header_preproc=yes 4885 else 4886 echo "$as_me: failed program was:" >&5 4887 sed 's/^/| /' conftest.$ac_ext >&5 4888 4889 ac_header_preproc=no 4890 fi 4891 4892 rm -f conftest.err conftest.$ac_ext 4893 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4894 echo "${ECHO_T}$ac_header_preproc" >&6; } 4895 4896 # So? What about this header? 4897 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4898 yes:no: ) 4899 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4900 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4901 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4902 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4903 ac_header_preproc=yes 4904 ;; 4905 no:yes:* ) 4906 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4907 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4908 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4909 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4910 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4911 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4912 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4913 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4914 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4915 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4916 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4917 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4918 4919 ;; 4920 esac 4921 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4922 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4923 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4924 echo $ECHO_N "(cached) $ECHO_C" >&6 4925 else 4926 eval "$as_ac_Header=\$ac_header_preproc" 4927 fi 4928 ac_res=`eval echo '${'$as_ac_Header'}'` 4929 { echo "$as_me:$LINENO: result: $ac_res" >&5 4930 echo "${ECHO_T}$ac_res" >&6; } 4931 4932 fi 4933 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4934 cat >>confdefs.h <<_ACEOF 4935 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4936 _ACEOF 4937 4938 fi 4939 4940 done 4941 4942 4943 test "x$U" != "x" && { { echo "$as_me:$LINENO: error: Compiler not ANSI compliant" >&5 4944 echo "$as_me: error: Compiler not ANSI compliant" >&2;} 4945 { (exit 1); exit 1; }; } 4946 4947 4948 4949 # Check whether --enable-shared was given. 4950 if test "${enable_shared+set}" = set; then 4951 enableval=$enable_shared; p=${PACKAGE-default} 4952 case $enableval in 4953 yes) enable_shared=yes ;; 4954 no) enable_shared=no ;; 4955 *) 4956 enable_shared=no 4957 # Look at the argument we got. We use all the common list separators. 4958 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 4959 for pkg in $enableval; do 4960 IFS="$lt_save_ifs" 4961 if test "X$pkg" = "X$p"; then 4962 enable_shared=yes 4963 fi 4964 done 4965 IFS="$lt_save_ifs" 4966 ;; 4967 esac 4968 else 4969 enable_shared=yes 4970 fi 4971 4972 4973 # Check whether --enable-static was given. 4974 if test "${enable_static+set}" = set; then 4975 enableval=$enable_static; p=${PACKAGE-default} 4976 case $enableval in 4977 yes) enable_static=yes ;; 4978 no) enable_static=no ;; 4979 *) 4980 enable_static=no 4981 # Look at the argument we got. We use all the common list separators. 4982 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 4983 for pkg in $enableval; do 4984 IFS="$lt_save_ifs" 4985 if test "X$pkg" = "X$p"; then 4986 enable_static=yes 4987 fi 4988 done 4989 IFS="$lt_save_ifs" 4990 ;; 4991 esac 4992 else 4993 enable_static=yes 4994 fi 4995 4996 4997 # Check whether --enable-fast-install was given. 4998 if test "${enable_fast_install+set}" = set; then 4999 enableval=$enable_fast_install; p=${PACKAGE-default} 5000 case $enableval in 5001 yes) enable_fast_install=yes ;; 5002 no) enable_fast_install=no ;; 5003 *) 5004 enable_fast_install=no 5005 # Look at the argument we got. We use all the common list separators. 5006 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 5007 for pkg in $enableval; do 5008 IFS="$lt_save_ifs" 5009 if test "X$pkg" = "X$p"; then 5010 enable_fast_install=yes 5011 fi 5012 done 5013 IFS="$lt_save_ifs" 5014 ;; 5015 esac 5016 else 5017 enable_fast_install=yes 5018 fi 5019 5020 5021 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 5022 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; } 5023 if test "${lt_cv_path_SED+set}" = set; then 5024 echo $ECHO_N "(cached) $ECHO_C" >&6 5025 else 5026 # Loop through the user's path and test for sed and gsed. 5027 # Then use that list of sed's as ones to test for truncation. 5028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5029 for as_dir in $PATH 5030 do 5031 IFS=$as_save_IFS 5032 test -z "$as_dir" && as_dir=. 5033 for lt_ac_prog in sed gsed; do 5034 for ac_exec_ext in '' $ac_executable_extensions; do 5035 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then 5036 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" 5037 fi 5038 done 5039 done 5040 done 5041 IFS=$as_save_IFS 5042 lt_ac_max=0 5043 lt_ac_count=0 5044 # Add /usr/xpg4/bin/sed as it is typically found on Solaris 5045 # along with /bin/sed that truncates output. 5046 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do 5047 test ! -f $lt_ac_sed && continue 5048 cat /dev/null > conftest.in 5049 lt_ac_count=0 5050 echo $ECHO_N "0123456789$ECHO_C" >conftest.in 5051 # Check for GNU sed and select it if it is found. 5052 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then 5053 lt_cv_path_SED=$lt_ac_sed 5054 break 5055 fi 5056 while true; do 5057 cat conftest.in conftest.in >conftest.tmp 5058 mv conftest.tmp conftest.in 5059 cp conftest.in conftest.nl 5060 echo >>conftest.nl 5061 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break 5062 cmp -s conftest.out conftest.nl || break 5063 # 10000 chars as input seems more than enough 5064 test $lt_ac_count -gt 10 && break 5065 lt_ac_count=`expr $lt_ac_count + 1` 5066 if test $lt_ac_count -gt $lt_ac_max; then 5067 lt_ac_max=$lt_ac_count 5068 lt_cv_path_SED=$lt_ac_sed 5069 fi 5070 done 5071 done 5072 5073 fi 5074 5075 SED=$lt_cv_path_SED 5076 5077 { echo "$as_me:$LINENO: result: $SED" >&5 5078 echo "${ECHO_T}$SED" >&6; } 5079 5080 5081 # Check whether --with-gnu-ld was given. 5082 if test "${with_gnu_ld+set}" = set; then 5083 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 5084 else 5085 with_gnu_ld=no 5086 fi 5087 5088 ac_prog=ld 5089 if test "$GCC" = yes; then 5090 # Check if gcc -print-prog-name=ld gives a path. 5091 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 5092 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } 5093 case $host in 5094 *-*-mingw*) 5095 # gcc leaves a trailing carriage return which upsets mingw 5096 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5097 *) 5098 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5099 esac 5100 case $ac_prog in 5101 # Accept absolute paths. 5102 [\\/]* | ?:[\\/]*) 5103 re_direlt='/[^/][^/]*/\.\./' 5104 # Canonicalize the pathname of ld 5105 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` 5106 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do 5107 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` 5108 done 5109 test -z "$LD" && LD="$ac_prog" 5110 ;; 5111 "") 5112 # If it fails, then pretend we aren't using GCC. 5113 ac_prog=ld 5114 ;; 5115 *) 5116 # If it is relative, then search for the first ld in PATH. 5117 with_gnu_ld=unknown 5118 ;; 5119 esac 5120 elif test "$with_gnu_ld" = yes; then 5121 { echo "$as_me:$LINENO: checking for GNU ld" >&5 5122 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } 5123 else 5124 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 5125 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } 5126 fi 5127 if test "${lt_cv_path_LD+set}" = set; then 5128 echo $ECHO_N "(cached) $ECHO_C" >&6 5129 else 5130 if test -z "$LD"; then 5131 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5132 for ac_dir in $PATH; do 5133 IFS="$lt_save_ifs" 5134 test -z "$ac_dir" && ac_dir=. 5135 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5136 lt_cv_path_LD="$ac_dir/$ac_prog" 5137 # Check to see if the program is GNU ld. I'd rather use --version, 5138 # but apparently some variants of GNU ld only accept -v. 5139 # Break only if it was the GNU/non-GNU ld that we prefer. 5140 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5141 *GNU* | *'with BFD'*) 5142 test "$with_gnu_ld" != no && break 5143 ;; 5144 *) 5145 test "$with_gnu_ld" != yes && break 5146 ;; 5147 esac 5148 fi 5149 done 5150 IFS="$lt_save_ifs" 5151 else 5152 lt_cv_path_LD="$LD" # Let the user override the test with a path. 5153 fi 5154 fi 5155 5156 LD="$lt_cv_path_LD" 5157 if test -n "$LD"; then 5158 { echo "$as_me:$LINENO: result: $LD" >&5 5159 echo "${ECHO_T}$LD" >&6; } 5160 else 5161 { echo "$as_me:$LINENO: result: no" >&5 5162 echo "${ECHO_T}no" >&6; } 5163 fi 5164 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 5165 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 5166 { (exit 1); exit 1; }; } 5167 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 5168 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } 5169 if test "${lt_cv_prog_gnu_ld+set}" = set; then 5170 echo $ECHO_N "(cached) $ECHO_C" >&6 5171 else 5172 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5173 case `$LD -v 2>&1 </dev/null` in 5174 *GNU* | *'with BFD'*) 5175 lt_cv_prog_gnu_ld=yes 5176 ;; 5177 *) 5178 lt_cv_prog_gnu_ld=no 5179 ;; 5180 esac 5181 fi 5182 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 5183 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } 5184 with_gnu_ld=$lt_cv_prog_gnu_ld 5185 5186 5187 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 5188 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; } 5189 if test "${lt_cv_ld_reload_flag+set}" = set; then 5190 echo $ECHO_N "(cached) $ECHO_C" >&6 5191 else 5192 lt_cv_ld_reload_flag='-r' 5193 fi 5194 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 5195 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; } 5196 reload_flag=$lt_cv_ld_reload_flag 5197 case $reload_flag in 5198 "" | " "*) ;; 5199 *) reload_flag=" $reload_flag" ;; 5200 esac 5201 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5202 case $host_os in 5203 darwin*) 5204 if test "$GCC" = yes; then 5205 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5206 else 5207 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5208 fi 5209 ;; 5210 esac 5211 5212 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 5213 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; } 5214 if test "${lt_cv_path_NM+set}" = set; then 5215 echo $ECHO_N "(cached) $ECHO_C" >&6 5216 else 5217 if test -n "$NM"; then 5218 # Let the user override the test. 5219 lt_cv_path_NM="$NM" 5220 else 5221 lt_nm_to_check="${ac_tool_prefix}nm" 5222 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5223 lt_nm_to_check="$lt_nm_to_check nm" 5224 fi 5225 for lt_tmp_nm in $lt_nm_to_check; do 5226 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5227 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5228 IFS="$lt_save_ifs" 5229 test -z "$ac_dir" && ac_dir=. 5230 tmp_nm="$ac_dir/$lt_tmp_nm" 5231 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 5232 # Check to see if the nm accepts a BSD-compat flag. 5233 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 5234 # nm: unknown option "B" ignored 5235 # Tru64's nm complains that /dev/null is an invalid object file 5236 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 5237 */dev/null* | *'Invalid file or object type'*) 5238 lt_cv_path_NM="$tmp_nm -B" 5239 break 5240 ;; 5241 *) 5242 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5243 */dev/null*) 5244 lt_cv_path_NM="$tmp_nm -p" 5245 break 5246 ;; 5247 *) 5248 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5249 continue # so that we can try to find one that supports BSD flags 5250 ;; 5251 esac 5252 ;; 5253 esac 5254 fi 5255 done 5256 IFS="$lt_save_ifs" 5257 done 5258 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm 5259 fi 5260 fi 5261 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 5262 echo "${ECHO_T}$lt_cv_path_NM" >&6; } 5263 NM="$lt_cv_path_NM" 5264 5265 { echo "$as_me:$LINENO: checking whether ln -s works" >&5 5266 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } 5267 LN_S=$as_ln_s 5268 if test "$LN_S" = "ln -s"; then 5269 { echo "$as_me:$LINENO: result: yes" >&5 5270 echo "${ECHO_T}yes" >&6; } 5271 else 5272 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 5273 echo "${ECHO_T}no, using $LN_S" >&6; } 5274 fi 5275 5276 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 5277 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; } 5278 if test "${lt_cv_deplibs_check_method+set}" = set; then 5279 echo $ECHO_N "(cached) $ECHO_C" >&6 5280 else 5281 lt_cv_file_magic_cmd='$MAGIC_CMD' 5282 lt_cv_file_magic_test_file= 5283 lt_cv_deplibs_check_method='unknown' 5284 # Need to set the preceding variable on all platforms that support 5285 # interlibrary dependencies. 5286 # 'none' -- dependencies not supported. 5287 # `unknown' -- same as none, but documents that we really don't know. 5288 # 'pass_all' -- all dependencies passed with no checks. 5289 # 'test_compile' -- check by making test program. 5290 # 'file_magic [[regex]]' -- check by looking for files in library path 5291 # which responds to the $file_magic_cmd with a given extended regex. 5292 # If you have `file' or equivalent on your system and you're not sure 5293 # whether `pass_all' will *always* work, you probably want this one. 5294 5295 case $host_os in 5296 aix4* | aix5*) 5297 lt_cv_deplibs_check_method=pass_all 5298 ;; 5299 5300 beos*) 5301 lt_cv_deplibs_check_method=pass_all 5302 ;; 5303 5304 bsdi[45]*) 5305 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5306 lt_cv_file_magic_cmd='/usr/bin/file -L' 5307 lt_cv_file_magic_test_file=/shlib/libc.so 5308 ;; 5309 5310 cygwin*) 5311 # func_win32_libid is a shell function defined in ltmain.sh 5312 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5313 lt_cv_file_magic_cmd='func_win32_libid' 5314 ;; 5315 5316 mingw* | pw32*) 5317 # Base MSYS/MinGW do not provide the 'file' command needed by 5318 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5319 # unless we find 'file', for example because we are cross-compiling. 5320 if ( file / ) >/dev/null 2>&1; then 5321 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5322 lt_cv_file_magic_cmd='func_win32_libid' 5323 else 5324 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 5325 lt_cv_file_magic_cmd='$OBJDUMP -f' 5326 fi 5327 ;; 5328 5329 darwin* | rhapsody*) 5330 lt_cv_deplibs_check_method=pass_all 5331 ;; 5332 5333 freebsd* | dragonfly*) 5334 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 5335 case $host_cpu in 5336 i*86 ) 5337 # Not sure whether the presence of OpenBSD here was a mistake. 5338 # Let's accept both of them until this is cleared up. 5339 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5340 lt_cv_file_magic_cmd=/usr/bin/file 5341 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5342 ;; 5343 esac 5344 else 5345 lt_cv_deplibs_check_method=pass_all 5346 fi 5347 ;; 5348 5349 gnu*) 5350 lt_cv_deplibs_check_method=pass_all 5351 ;; 5352 5353 hpux10.20* | hpux11*) 5354 lt_cv_file_magic_cmd=/usr/bin/file 5355 case $host_cpu in 5356 ia64*) 5357 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5358 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5359 ;; 5360 hppa*64*) 5361 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]' 5362 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5363 ;; 5364 *) 5365 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 5366 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5367 ;; 5368 esac 5369 ;; 5370 5371 interix[3-9]*) 5372 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5373 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5374 ;; 5375 5376 irix5* | irix6* | nonstopux*) 5377 case $LD in 5378 *-32|*"-32 ") libmagic=32-bit;; 5379 *-n32|*"-n32 ") libmagic=N32;; 5380 *-64|*"-64 ") libmagic=64-bit;; 5381 *) libmagic=never-match;; 5382 esac 5383 lt_cv_deplibs_check_method=pass_all 5384 ;; 5385 5386 # This must be Linux ELF. 5387 linux* | k*bsd*-gnu) 5388 lt_cv_deplibs_check_method=pass_all 5389 ;; 5390 5391 netbsd*) 5392 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 5393 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5394 else 5395 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5396 fi 5397 ;; 5398 5399 newos6*) 5400 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5401 lt_cv_file_magic_cmd=/usr/bin/file 5402 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5403 ;; 5404 5405 nto-qnx*) 5406 lt_cv_deplibs_check_method=unknown 5407 ;; 5408 5409 openbsd*) 5410 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 5411 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5412 else 5413 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5414 fi 5415 ;; 5416 5417 osf3* | osf4* | osf5*) 5418 lt_cv_deplibs_check_method=pass_all 5419 ;; 5420 5421 rdos*) 5422 lt_cv_deplibs_check_method=pass_all 5423 ;; 5424 5425 solaris*) 5426 lt_cv_deplibs_check_method=pass_all 5427 ;; 5428 5429 sysv4 | sysv4.3*) 5430 case $host_vendor in 5431 motorola) 5432 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]' 5433 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5434 ;; 5435 ncr) 5436 lt_cv_deplibs_check_method=pass_all 5437 ;; 5438 sequent) 5439 lt_cv_file_magic_cmd='/bin/file' 5440 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5441 ;; 5442 sni) 5443 lt_cv_file_magic_cmd='/bin/file' 5444 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5445 lt_cv_file_magic_test_file=/lib/libc.so 5446 ;; 5447 siemens) 5448 lt_cv_deplibs_check_method=pass_all 5449 ;; 5450 pc) 5451 lt_cv_deplibs_check_method=pass_all 5452 ;; 5453 esac 5454 ;; 5455 5456 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5457 lt_cv_deplibs_check_method=pass_all 5458 ;; 5459 esac 5460 5461 fi 5462 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 5463 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; } 5464 file_magic_cmd=$lt_cv_file_magic_cmd 5465 deplibs_check_method=$lt_cv_deplibs_check_method 5466 test -z "$deplibs_check_method" && deplibs_check_method=unknown 5467 5468 5469 5470 5471 # If no C compiler was specified, use CC. 5472 LTCC=${LTCC-"$CC"} 5473 5474 # If no C compiler flags were specified, use CFLAGS. 5475 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 5476 5477 # Allow CC to be a program name with arguments. 5478 compiler=$CC 5479 5480 # Check whether --enable-libtool-lock was given. 5481 if test "${enable_libtool_lock+set}" = set; then 5482 enableval=$enable_libtool_lock; 5483 fi 5484 5485 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 5486 5487 # Some flags need to be propagated to the compiler or linker for good 5488 # libtool support. 5489 case $host in 5490 ia64-*-hpux*) 5491 # Find out which ABI we are using. 5492 echo 'int i;' > conftest.$ac_ext 5493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5494 (eval $ac_compile) 2>&5 5495 ac_status=$? 5496 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5497 (exit $ac_status); }; then 5498 case `/usr/bin/file conftest.$ac_objext` in 5499 *ELF-32*) 5500 HPUX_IA64_MODE="32" 5501 ;; 5502 *ELF-64*) 5503 HPUX_IA64_MODE="64" 5504 ;; 5505 esac 5506 fi 5507 rm -rf conftest* 5508 ;; 5509 *-*-irix6*) 5510 # Find out which ABI we are using. 5511 echo '#line 5511 "configure"' > conftest.$ac_ext 5512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5513 (eval $ac_compile) 2>&5 5514 ac_status=$? 5515 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5516 (exit $ac_status); }; then 5517 if test "$lt_cv_prog_gnu_ld" = yes; then 5518 case `/usr/bin/file conftest.$ac_objext` in 5519 *32-bit*) 5520 LD="${LD-ld} -melf32bsmip" 5521 ;; 5522 *N32*) 5523 LD="${LD-ld} -melf32bmipn32" 5524 ;; 5525 *64-bit*) 5526 LD="${LD-ld} -melf64bmip" 5527 ;; 5528 esac 5529 else 5530 case `/usr/bin/file conftest.$ac_objext` in 5531 *32-bit*) 5532 LD="${LD-ld} -32" 5533 ;; 5534 *N32*) 5535 LD="${LD-ld} -n32" 5536 ;; 5537 *64-bit*) 5538 LD="${LD-ld} -64" 5539 ;; 5540 esac 5541 fi 5542 fi 5543 rm -rf conftest* 5544 ;; 5545 5546 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 5547 s390*-*linux*|sparc*-*linux*) 5548 # Find out which ABI we are using. 5549 echo 'int i;' > conftest.$ac_ext 5550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5551 (eval $ac_compile) 2>&5 5552 ac_status=$? 5553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5554 (exit $ac_status); }; then 5555 case `/usr/bin/file conftest.o` in 5556 *32-bit*) 5557 case $host in 5558 x86_64-*kfreebsd*-gnu) 5559 LD="${LD-ld} -m elf_i386_fbsd" 5560 ;; 5561 x86_64-*linux*) 5562 LD="${LD-ld} -m elf_i386" 5563 ;; 5564 ppc64-*linux*|powerpc64-*linux*) 5565 LD="${LD-ld} -m elf32ppclinux" 5566 ;; 5567 s390x-*linux*) 5568 LD="${LD-ld} -m elf_s390" 5569 ;; 5570 sparc64-*linux*) 5571 LD="${LD-ld} -m elf32_sparc" 5572 ;; 5573 esac 5574 ;; 5575 *64-bit*) 5576 libsuff=64 5577 case $host in 5578 x86_64-*kfreebsd*-gnu) 5579 LD="${LD-ld} -m elf_x86_64_fbsd" 5580 ;; 5581 x86_64-*linux*) 5582 LD="${LD-ld} -m elf_x86_64" 5583 ;; 5584 ppc*-*linux*|powerpc*-*linux*) 5585 LD="${LD-ld} -m elf64ppc" 5586 ;; 5587 s390*-*linux*) 5588 LD="${LD-ld} -m elf64_s390" 5589 ;; 5590 sparc*-*linux*) 5591 LD="${LD-ld} -m elf64_sparc" 5592 ;; 5593 esac 5594 ;; 5595 esac 5596 fi 5597 rm -rf conftest* 5598 ;; 5599 5600 *-*-sco3.2v5*) 5601 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 5602 SAVE_CFLAGS="$CFLAGS" 5603 CFLAGS="$CFLAGS -belf" 5604 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 5605 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; } 5606 if test "${lt_cv_cc_needs_belf+set}" = set; then 5607 echo $ECHO_N "(cached) $ECHO_C" >&6 5608 else 5609 ac_ext=c 5610 ac_cpp='$CPP $CPPFLAGS' 5611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5613 ac_compiler_gnu=$ac_cv_c_compiler_gnu 5614 5615 cat >conftest.$ac_ext <<_ACEOF 5616 /* confdefs.h. */ 5617 _ACEOF 5618 cat confdefs.h >>conftest.$ac_ext 5619 cat >>conftest.$ac_ext <<_ACEOF 5620 /* end confdefs.h. */ 5621 5622 int 5623 main () 5624 { 5625 5626 ; 5627 return 0; 5628 } 5629 _ACEOF 5630 rm -f conftest.$ac_objext conftest$ac_exeext 5631 if { (ac_try="$ac_link" 5632 case "(($ac_try" in 5633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5634 *) ac_try_echo=$ac_try;; 5635 esac 5636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5637 (eval "$ac_link") 2>conftest.er1 5638 ac_status=$? 5639 grep -v '^ *+' conftest.er1 >conftest.err 5640 rm -f conftest.er1 5641 cat conftest.err >&5 5642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5643 (exit $ac_status); } && { 5644 test -z "$ac_c_werror_flag" || 5645 test ! -s conftest.err 5646 } && test -s conftest$ac_exeext && 5647 $as_test_x conftest$ac_exeext; then 5648 lt_cv_cc_needs_belf=yes 5649 else 5650 echo "$as_me: failed program was:" >&5 5651 sed 's/^/| /' conftest.$ac_ext >&5 5652 5653 lt_cv_cc_needs_belf=no 5654 fi 5655 5656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5657 conftest$ac_exeext conftest.$ac_ext 5658 ac_ext=c 5659 ac_cpp='$CPP $CPPFLAGS' 5660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5662 ac_compiler_gnu=$ac_cv_c_compiler_gnu 5663 5664 fi 5665 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 5666 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; } 5667 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 5668 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 5669 CFLAGS="$SAVE_CFLAGS" 5670 fi 5671 ;; 5672 sparc*-*solaris*) 5673 # Find out which ABI we are using. 5674 echo 'int i;' > conftest.$ac_ext 5675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5676 (eval $ac_compile) 2>&5 5677 ac_status=$? 5678 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5679 (exit $ac_status); }; then 5680 case `/usr/bin/file conftest.o` in 5681 *64-bit*) 5682 case $lt_cv_prog_gnu_ld in 5683 yes*) LD="${LD-ld} -m elf64_sparc" ;; 5684 *) LD="${LD-ld} -64" ;; 5685 esac 5686 ;; 5687 esac 5688 fi 5689 rm -rf conftest* 5690 ;; 5691 5692 *-*-cygwin* | *-*-mingw* | *-*-pw32*) 5693 if test -n "$ac_tool_prefix"; then 5694 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5695 set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5696 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5698 if test "${ac_cv_prog_DLLTOOL+set}" = set; then 5699 echo $ECHO_N "(cached) $ECHO_C" >&6 5700 else 5701 if test -n "$DLLTOOL"; then 5702 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5703 else 5704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5705 for as_dir in $PATH 5706 do 5707 IFS=$as_save_IFS 5708 test -z "$as_dir" && as_dir=. 5709 for ac_exec_ext in '' $ac_executable_extensions; do 5710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5711 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5713 break 2 5714 fi 5715 done 5716 done 5717 IFS=$as_save_IFS 5718 5719 fi 5720 fi 5721 DLLTOOL=$ac_cv_prog_DLLTOOL 5722 if test -n "$DLLTOOL"; then 5723 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5 5724 echo "${ECHO_T}$DLLTOOL" >&6; } 5725 else 5726 { echo "$as_me:$LINENO: result: no" >&5 5727 echo "${ECHO_T}no" >&6; } 5728 fi 5729 5730 5731 fi 5732 if test -z "$ac_cv_prog_DLLTOOL"; then 5733 ac_ct_DLLTOOL=$DLLTOOL 5734 # Extract the first word of "dlltool", so it can be a program name with args. 5735 set dummy dlltool; ac_word=$2 5736 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5738 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then 5739 echo $ECHO_N "(cached) $ECHO_C" >&6 5740 else 5741 if test -n "$ac_ct_DLLTOOL"; then 5742 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5743 else 5744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5745 for as_dir in $PATH 5746 do 5747 IFS=$as_save_IFS 5748 test -z "$as_dir" && as_dir=. 5749 for ac_exec_ext in '' $ac_executable_extensions; do 5750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5751 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5753 break 2 5754 fi 5755 done 5756 done 5757 IFS=$as_save_IFS 5758 5759 fi 5760 fi 5761 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5762 if test -n "$ac_ct_DLLTOOL"; then 5763 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5 5764 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; } 5765 else 5766 { echo "$as_me:$LINENO: result: no" >&5 5767 echo "${ECHO_T}no" >&6; } 5768 fi 5769 5770 if test "x$ac_ct_DLLTOOL" = x; then 5771 DLLTOOL="false" 5772 else 5773 case $cross_compiling:$ac_tool_warned in 5774 yes:) 5775 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 5776 whose name does not start with the host triplet. If you think this 5777 configuration is useful to you, please write to autoconf@gnu.org." >&5 5778 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 5779 whose name does not start with the host triplet. If you think this 5780 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 5781 ac_tool_warned=yes ;; 5782 esac 5783 DLLTOOL=$ac_ct_DLLTOOL 5784 fi 5785 else 5786 DLLTOOL="$ac_cv_prog_DLLTOOL" 5787 fi 5788 5789 if test -n "$ac_tool_prefix"; then 5790 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 5791 set dummy ${ac_tool_prefix}as; ac_word=$2 5792 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5794 if test "${ac_cv_prog_AS+set}" = set; then 5795 echo $ECHO_N "(cached) $ECHO_C" >&6 5796 else 5797 if test -n "$AS"; then 5798 ac_cv_prog_AS="$AS" # Let the user override the test. 5799 else 5800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5801 for as_dir in $PATH 5802 do 5803 IFS=$as_save_IFS 5804 test -z "$as_dir" && as_dir=. 5805 for ac_exec_ext in '' $ac_executable_extensions; do 5806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5807 ac_cv_prog_AS="${ac_tool_prefix}as" 5808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5809 break 2 5810 fi 5811 done 5812 done 5813 IFS=$as_save_IFS 5814 5815 fi 5816 fi 5817 AS=$ac_cv_prog_AS 5818 if test -n "$AS"; then 5819 { echo "$as_me:$LINENO: result: $AS" >&5 5820 echo "${ECHO_T}$AS" >&6; } 5821 else 5822 { echo "$as_me:$LINENO: result: no" >&5 5823 echo "${ECHO_T}no" >&6; } 5824 fi 5825 5826 5827 fi 5828 if test -z "$ac_cv_prog_AS"; then 5829 ac_ct_AS=$AS 5830 # Extract the first word of "as", so it can be a program name with args. 5831 set dummy as; ac_word=$2 5832 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5834 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then 5835 echo $ECHO_N "(cached) $ECHO_C" >&6 5836 else 5837 if test -n "$ac_ct_AS"; then 5838 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 5839 else 5840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5841 for as_dir in $PATH 5842 do 5843 IFS=$as_save_IFS 5844 test -z "$as_dir" && as_dir=. 5845 for ac_exec_ext in '' $ac_executable_extensions; do 5846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5847 ac_cv_prog_ac_ct_AS="as" 5848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5849 break 2 5850 fi 5851 done 5852 done 5853 IFS=$as_save_IFS 5854 5855 fi 5856 fi 5857 ac_ct_AS=$ac_cv_prog_ac_ct_AS 5858 if test -n "$ac_ct_AS"; then 5859 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5 5860 echo "${ECHO_T}$ac_ct_AS" >&6; } 5861 else 5862 { echo "$as_me:$LINENO: result: no" >&5 5863 echo "${ECHO_T}no" >&6; } 5864 fi 5865 5866 if test "x$ac_ct_AS" = x; then 5867 AS="false" 5868 else 5869 case $cross_compiling:$ac_tool_warned in 5870 yes:) 5871 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 5872 whose name does not start with the host triplet. If you think this 5873 configuration is useful to you, please write to autoconf@gnu.org." >&5 5874 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 5875 whose name does not start with the host triplet. If you think this 5876 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 5877 ac_tool_warned=yes ;; 5878 esac 5879 AS=$ac_ct_AS 5880 fi 5881 else 5882 AS="$ac_cv_prog_AS" 5883 fi 5884 5885 if test -n "$ac_tool_prefix"; then 5886 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5887 set dummy ${ac_tool_prefix}objdump; ac_word=$2 5888 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5890 if test "${ac_cv_prog_OBJDUMP+set}" = set; then 5891 echo $ECHO_N "(cached) $ECHO_C" >&6 5892 else 5893 if test -n "$OBJDUMP"; then 5894 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5895 else 5896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5897 for as_dir in $PATH 5898 do 5899 IFS=$as_save_IFS 5900 test -z "$as_dir" && as_dir=. 5901 for ac_exec_ext in '' $ac_executable_extensions; do 5902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5903 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5905 break 2 5906 fi 5907 done 5908 done 5909 IFS=$as_save_IFS 5910 5911 fi 5912 fi 5913 OBJDUMP=$ac_cv_prog_OBJDUMP 5914 if test -n "$OBJDUMP"; then 5915 { echo "$as_me:$LINENO: result: $OBJDUMP" >&5 5916 echo "${ECHO_T}$OBJDUMP" >&6; } 5917 else 5918 { echo "$as_me:$LINENO: result: no" >&5 5919 echo "${ECHO_T}no" >&6; } 5920 fi 5921 5922 5923 fi 5924 if test -z "$ac_cv_prog_OBJDUMP"; then 5925 ac_ct_OBJDUMP=$OBJDUMP 5926 # Extract the first word of "objdump", so it can be a program name with args. 5927 set dummy objdump; ac_word=$2 5928 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5930 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then 5931 echo $ECHO_N "(cached) $ECHO_C" >&6 5932 else 5933 if test -n "$ac_ct_OBJDUMP"; then 5934 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5935 else 5936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5937 for as_dir in $PATH 5938 do 5939 IFS=$as_save_IFS 5940 test -z "$as_dir" && as_dir=. 5941 for ac_exec_ext in '' $ac_executable_extensions; do 5942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5943 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5945 break 2 5946 fi 5947 done 5948 done 5949 IFS=$as_save_IFS 5950 5951 fi 5952 fi 5953 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5954 if test -n "$ac_ct_OBJDUMP"; then 5955 { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 5956 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; } 5957 else 5958 { echo "$as_me:$LINENO: result: no" >&5 5959 echo "${ECHO_T}no" >&6; } 5960 fi 5961 5962 if test "x$ac_ct_OBJDUMP" = x; then 5963 OBJDUMP="false" 5964 else 5965 case $cross_compiling:$ac_tool_warned in 5966 yes:) 5967 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 5968 whose name does not start with the host triplet. If you think this 5969 configuration is useful to you, please write to autoconf@gnu.org." >&5 5970 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 5971 whose name does not start with the host triplet. If you think this 5972 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 5973 ac_tool_warned=yes ;; 5974 esac 5975 OBJDUMP=$ac_ct_OBJDUMP 5976 fi 5977 else 5978 OBJDUMP="$ac_cv_prog_OBJDUMP" 5979 fi 5980 5981 ;; 5982 5983 esac 5984 5985 need_locks="$enable_libtool_lock" 5986 5987 5988 5989 for ac_header in dlfcn.h 5990 do 5991 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5992 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5993 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5995 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5996 echo $ECHO_N "(cached) $ECHO_C" >&6 5997 fi 5998 ac_res=`eval echo '${'$as_ac_Header'}'` 5999 { echo "$as_me:$LINENO: result: $ac_res" >&5 6000 echo "${ECHO_T}$ac_res" >&6; } 6001 else 6002 # Is the header compilable? 6003 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6004 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6005 cat >conftest.$ac_ext <<_ACEOF 6006 /* confdefs.h. */ 6007 _ACEOF 6008 cat confdefs.h >>conftest.$ac_ext 6009 cat >>conftest.$ac_ext <<_ACEOF 6010 /* end confdefs.h. */ 6011 $ac_includes_default 6012 #include <$ac_header> 6013 _ACEOF 6014 rm -f conftest.$ac_objext 6015 if { (ac_try="$ac_compile" 6016 case "(($ac_try" in 6017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6018 *) ac_try_echo=$ac_try;; 6019 esac 6020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6021 (eval "$ac_compile") 2>conftest.er1 6022 ac_status=$? 6023 grep -v '^ *+' conftest.er1 >conftest.err 6024 rm -f conftest.er1 6025 cat conftest.err >&5 6026 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6027 (exit $ac_status); } && { 6028 test -z "$ac_c_werror_flag" || 6029 test ! -s conftest.err 6030 } && test -s conftest.$ac_objext; then 6031 ac_header_compiler=yes 6032 else 6033 echo "$as_me: failed program was:" >&5 6034 sed 's/^/| /' conftest.$ac_ext >&5 6035 6036 ac_header_compiler=no 6037 fi 6038 6039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6040 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6041 echo "${ECHO_T}$ac_header_compiler" >&6; } 6042 6043 # Is the header present? 6044 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6045 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6046 cat >conftest.$ac_ext <<_ACEOF 6047 /* confdefs.h. */ 6048 _ACEOF 6049 cat confdefs.h >>conftest.$ac_ext 6050 cat >>conftest.$ac_ext <<_ACEOF 6051 /* end confdefs.h. */ 6052 #include <$ac_header> 6053 _ACEOF 6054 if { (ac_try="$ac_cpp conftest.$ac_ext" 6055 case "(($ac_try" in 6056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6057 *) ac_try_echo=$ac_try;; 6058 esac 6059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6060 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6061 ac_status=$? 6062 grep -v '^ *+' conftest.er1 >conftest.err 6063 rm -f conftest.er1 6064 cat conftest.err >&5 6065 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6066 (exit $ac_status); } >/dev/null && { 6067 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6068 test ! -s conftest.err 6069 }; then 6070 ac_header_preproc=yes 6071 else 6072 echo "$as_me: failed program was:" >&5 6073 sed 's/^/| /' conftest.$ac_ext >&5 6074 6075 ac_header_preproc=no 6076 fi 6077 6078 rm -f conftest.err conftest.$ac_ext 6079 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6080 echo "${ECHO_T}$ac_header_preproc" >&6; } 6081 6082 # So? What about this header? 6083 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6084 yes:no: ) 6085 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6086 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6088 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6089 ac_header_preproc=yes 6090 ;; 6091 no:yes:* ) 6092 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6093 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6094 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6095 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6096 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6097 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6098 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6099 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6100 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6101 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6102 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6103 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6104 6105 ;; 6106 esac 6107 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6109 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6110 echo $ECHO_N "(cached) $ECHO_C" >&6 6111 else 6112 eval "$as_ac_Header=\$ac_header_preproc" 6113 fi 6114 ac_res=`eval echo '${'$as_ac_Header'}'` 6115 { echo "$as_me:$LINENO: result: $ac_res" >&5 6116 echo "${ECHO_T}$ac_res" >&6; } 6117 6118 fi 6119 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6120 cat >>confdefs.h <<_ACEOF 6121 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6122 _ACEOF 6123 6124 fi 6125 6126 done 6127 6128 ac_ext=cpp 6129 ac_cpp='$CXXCPP $CPPFLAGS' 6130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 6133 if test -z "$CXX"; then 6134 if test -n "$CCC"; then 6135 CXX=$CCC 6136 else 6137 if test -n "$ac_tool_prefix"; then 6138 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 6139 do 6140 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6141 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6142 { echo "$as_me:$LINENO: checking for $ac_word" >&5 6143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6144 if test "${ac_cv_prog_CXX+set}" = set; then 6145 echo $ECHO_N "(cached) $ECHO_C" >&6 6146 else 6147 if test -n "$CXX"; then 6148 ac_cv_prog_CXX="$CXX" # Let the user override the test. 6149 else 6150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6151 for as_dir in $PATH 6152 do 6153 IFS=$as_save_IFS 6154 test -z "$as_dir" && as_dir=. 6155 for ac_exec_ext in '' $ac_executable_extensions; do 6156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6157 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 6158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6159 break 2 6160 fi 6161 done 6162 done 6163 IFS=$as_save_IFS 6164 6165 fi 6166 fi 6167 CXX=$ac_cv_prog_CXX 6168 if test -n "$CXX"; then 6169 { echo "$as_me:$LINENO: result: $CXX" >&5 6170 echo "${ECHO_T}$CXX" >&6; } 6171 else 6172 { echo "$as_me:$LINENO: result: no" >&5 6173 echo "${ECHO_T}no" >&6; } 6174 fi 6175 6176 6177 test -n "$CXX" && break 6178 done 6179 fi 6180 if test -z "$CXX"; then 6181 ac_ct_CXX=$CXX 6182 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 6183 do 6184 # Extract the first word of "$ac_prog", so it can be a program name with args. 6185 set dummy $ac_prog; ac_word=$2 6186 { echo "$as_me:$LINENO: checking for $ac_word" >&5 6187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6188 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 6189 echo $ECHO_N "(cached) $ECHO_C" >&6 6190 else 6191 if test -n "$ac_ct_CXX"; then 6192 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 6193 else 6194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6195 for as_dir in $PATH 6196 do 6197 IFS=$as_save_IFS 6198 test -z "$as_dir" && as_dir=. 6199 for ac_exec_ext in '' $ac_executable_extensions; do 6200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6201 ac_cv_prog_ac_ct_CXX="$ac_prog" 6202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6203 break 2 6204 fi 6205 done 6206 done 6207 IFS=$as_save_IFS 6208 6209 fi 6210 fi 6211 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 6212 if test -n "$ac_ct_CXX"; then 6213 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 6214 echo "${ECHO_T}$ac_ct_CXX" >&6; } 6215 else 6216 { echo "$as_me:$LINENO: result: no" >&5 6217 echo "${ECHO_T}no" >&6; } 6218 fi 6219 6220 6221 test -n "$ac_ct_CXX" && break 6222 done 6223 6224 if test "x$ac_ct_CXX" = x; then 6225 CXX="g++" 6226 else 6227 case $cross_compiling:$ac_tool_warned in 6228 yes:) 6229 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 6230 whose name does not start with the host triplet. If you think this 6231 configuration is useful to you, please write to autoconf@gnu.org." >&5 6232 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 6233 whose name does not start with the host triplet. If you think this 6234 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 6235 ac_tool_warned=yes ;; 6236 esac 6237 CXX=$ac_ct_CXX 6238 fi 6239 fi 6240 6241 fi 6242 fi 6243 # Provide some information about the compiler. 6244 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 6245 ac_compiler=`set X $ac_compile; echo $2` 6246 { (ac_try="$ac_compiler --version >&5" 6247 case "(($ac_try" in 6248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6249 *) ac_try_echo=$ac_try;; 6250 esac 6251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6252 (eval "$ac_compiler --version >&5") 2>&5 6253 ac_status=$? 6254 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6255 (exit $ac_status); } 6256 { (ac_try="$ac_compiler -v >&5" 6257 case "(($ac_try" in 6258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6259 *) ac_try_echo=$ac_try;; 6260 esac 6261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6262 (eval "$ac_compiler -v >&5") 2>&5 6263 ac_status=$? 6264 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6265 (exit $ac_status); } 6266 { (ac_try="$ac_compiler -V >&5" 6267 case "(($ac_try" in 6268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6269 *) ac_try_echo=$ac_try;; 6270 esac 6271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6272 (eval "$ac_compiler -V >&5") 2>&5 6273 ac_status=$? 6274 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6275 (exit $ac_status); } 6276 6277 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 6278 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 6279 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 6280 echo $ECHO_N "(cached) $ECHO_C" >&6 6281 else 6282 cat >conftest.$ac_ext <<_ACEOF 6283 /* confdefs.h. */ 6284 _ACEOF 6285 cat confdefs.h >>conftest.$ac_ext 6286 cat >>conftest.$ac_ext <<_ACEOF 6287 /* end confdefs.h. */ 6288 6289 int 6290 main () 6291 { 6292 #ifndef __GNUC__ 6293 choke me 6294 #endif 6295 6296 ; 6297 return 0; 6298 } 6299 _ACEOF 6300 rm -f conftest.$ac_objext 6301 if { (ac_try="$ac_compile" 6302 case "(($ac_try" in 6303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6304 *) ac_try_echo=$ac_try;; 6305 esac 6306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6307 (eval "$ac_compile") 2>conftest.er1 6308 ac_status=$? 6309 grep -v '^ *+' conftest.er1 >conftest.err 6310 rm -f conftest.er1 6311 cat conftest.err >&5 6312 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6313 (exit $ac_status); } && { 6314 test -z "$ac_cxx_werror_flag" || 6315 test ! -s conftest.err 6316 } && test -s conftest.$ac_objext; then 6317 ac_compiler_gnu=yes 6318 else 6319 echo "$as_me: failed program was:" >&5 6320 sed 's/^/| /' conftest.$ac_ext >&5 6321 6322 ac_compiler_gnu=no 6323 fi 6324 6325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6326 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 6327 6328 fi 6329 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 6330 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 6331 GXX=`test $ac_compiler_gnu = yes && echo yes` 6332 ac_test_CXXFLAGS=${CXXFLAGS+set} 6333 ac_save_CXXFLAGS=$CXXFLAGS 6334 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 6335 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 6336 if test "${ac_cv_prog_cxx_g+set}" = set; then 6337 echo $ECHO_N "(cached) $ECHO_C" >&6 6338 else 6339 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 6340 ac_cxx_werror_flag=yes 6341 ac_cv_prog_cxx_g=no 6342 CXXFLAGS="-g" 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 6350 int 6351 main () 6352 { 6353 6354 ; 6355 return 0; 6356 } 6357 _ACEOF 6358 rm -f conftest.$ac_objext 6359 if { (ac_try="$ac_compile" 6360 case "(($ac_try" in 6361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6362 *) ac_try_echo=$ac_try;; 6363 esac 6364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6365 (eval "$ac_compile") 2>conftest.er1 6366 ac_status=$? 6367 grep -v '^ *+' conftest.er1 >conftest.err 6368 rm -f conftest.er1 6369 cat conftest.err >&5 6370 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6371 (exit $ac_status); } && { 6372 test -z "$ac_cxx_werror_flag" || 6373 test ! -s conftest.err 6374 } && test -s conftest.$ac_objext; then 6375 ac_cv_prog_cxx_g=yes 6376 else 6377 echo "$as_me: failed program was:" >&5 6378 sed 's/^/| /' conftest.$ac_ext >&5 6379 6380 CXXFLAGS="" 6381 cat >conftest.$ac_ext <<_ACEOF 6382 /* confdefs.h. */ 6383 _ACEOF 6384 cat confdefs.h >>conftest.$ac_ext 6385 cat >>conftest.$ac_ext <<_ACEOF 6386 /* end confdefs.h. */ 6387 6388 int 6389 main () 6390 { 6391 6392 ; 6393 return 0; 6394 } 6395 _ACEOF 6396 rm -f conftest.$ac_objext 6397 if { (ac_try="$ac_compile" 6398 case "(($ac_try" in 6399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6400 *) ac_try_echo=$ac_try;; 6401 esac 6402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6403 (eval "$ac_compile") 2>conftest.er1 6404 ac_status=$? 6405 grep -v '^ *+' conftest.er1 >conftest.err 6406 rm -f conftest.er1 6407 cat conftest.err >&5 6408 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6409 (exit $ac_status); } && { 6410 test -z "$ac_cxx_werror_flag" || 6411 test ! -s conftest.err 6412 } && test -s conftest.$ac_objext; then 6413 : 6414 else 6415 echo "$as_me: failed program was:" >&5 6416 sed 's/^/| /' conftest.$ac_ext >&5 6417 6418 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 6419 CXXFLAGS="-g" 6420 cat >conftest.$ac_ext <<_ACEOF 6421 /* confdefs.h. */ 6422 _ACEOF 6423 cat confdefs.h >>conftest.$ac_ext 6424 cat >>conftest.$ac_ext <<_ACEOF 6425 /* end confdefs.h. */ 6426 6427 int 6428 main () 6429 { 6430 6431 ; 6432 return 0; 6433 } 6434 _ACEOF 6435 rm -f conftest.$ac_objext 6436 if { (ac_try="$ac_compile" 6437 case "(($ac_try" in 6438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6439 *) ac_try_echo=$ac_try;; 6440 esac 6441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6442 (eval "$ac_compile") 2>conftest.er1 6443 ac_status=$? 6444 grep -v '^ *+' conftest.er1 >conftest.err 6445 rm -f conftest.er1 6446 cat conftest.err >&5 6447 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6448 (exit $ac_status); } && { 6449 test -z "$ac_cxx_werror_flag" || 6450 test ! -s conftest.err 6451 } && test -s conftest.$ac_objext; then 6452 ac_cv_prog_cxx_g=yes 6453 else 6454 echo "$as_me: failed program was:" >&5 6455 sed 's/^/| /' conftest.$ac_ext >&5 6456 6457 6458 fi 6459 6460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6461 fi 6462 6463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6464 fi 6465 6466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6467 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 6468 fi 6469 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 6470 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 6471 if test "$ac_test_CXXFLAGS" = set; then 6472 CXXFLAGS=$ac_save_CXXFLAGS 6473 elif test $ac_cv_prog_cxx_g = yes; then 6474 if test "$GXX" = yes; then 6475 CXXFLAGS="-g -O2" 6476 else 6477 CXXFLAGS="-g" 6478 fi 6479 else 6480 if test "$GXX" = yes; then 6481 CXXFLAGS="-O2" 6482 else 6483 CXXFLAGS= 6484 fi 6485 fi 6486 ac_ext=cpp 6487 ac_cpp='$CXXCPP $CPPFLAGS' 6488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 6491 6492 depcc="$CXX" am_compiler_list= 6493 6494 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 6495 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 6496 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then 6497 echo $ECHO_N "(cached) $ECHO_C" >&6 6498 else 6499 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 6500 # We make a subdir and do the tests there. Otherwise we can end up 6501 # making bogus files that we don't know about and never remove. For 6502 # instance it was reported that on HP-UX the gcc test will end up 6503 # making a dummy file named `D' -- because `-MD' means `put the output 6504 # in D'. 6505 mkdir conftest.dir 6506 # Copy depcomp to subdir because otherwise we won't find it if we're 6507 # using a relative directory. 6508 cp "$am_depcomp" conftest.dir 6509 cd conftest.dir 6510 # We will build objects and dependencies in a subdirectory because 6511 # it helps to detect inapplicable dependency modes. For instance 6512 # both Tru64's cc and ICC support -MD to output dependencies as a 6513 # side effect of compilation, but ICC will put the dependencies in 6514 # the current directory while Tru64 will put them in the object 6515 # directory. 6516 mkdir sub 6517 6518 am_cv_CXX_dependencies_compiler_type=none 6519 if test "$am_compiler_list" = ""; then 6520 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 6521 fi 6522 for depmode in $am_compiler_list; do 6523 # Setup a source with many dependencies, because some compilers 6524 # like to wrap large dependency lists on column 80 (with \), and 6525 # we should not choose a depcomp mode which is confused by this. 6526 # 6527 # We need to recreate these files for each test, as the compiler may 6528 # overwrite some of them when testing with obscure command lines. 6529 # This happens at least with the AIX C compiler. 6530 : > sub/conftest.c 6531 for i in 1 2 3 4 5 6; do 6532 echo '#include "conftst'$i'.h"' >> sub/conftest.c 6533 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 6534 # Solaris 8's {/usr,}/bin/sh. 6535 touch sub/conftst$i.h 6536 done 6537 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 6538 6539 case $depmode in 6540 nosideeffect) 6541 # after this tag, mechanisms are not by side-effect, so they'll 6542 # only be used when explicitly requested 6543 if test "x$enable_dependency_tracking" = xyes; then 6544 continue 6545 else 6546 break 6547 fi 6548 ;; 6549 none) break ;; 6550 esac 6551 # We check with `-c' and `-o' for the sake of the "dashmstdout" 6552 # mode. It turns out that the SunPro C++ compiler does not properly 6553 # handle `-M -o', and we need to detect this. 6554 if depmode=$depmode \ 6555 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 6556 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 6557 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 6558 >/dev/null 2>conftest.err && 6559 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 6560 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 6561 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 6562 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 6563 # icc doesn't choke on unknown options, it will just issue warnings 6564 # or remarks (even with -Werror). So we grep stderr for any message 6565 # that says an option was ignored or not supported. 6566 # When given -MP, icc 7.0 and 7.1 complain thusly: 6567 # icc: Command line warning: ignoring option '-M'; no argument required 6568 # The diagnosis changed in icc 8.0: 6569 # icc: Command line remark: option '-MP' not supported 6570 if (grep 'ignoring option' conftest.err || 6571 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 6572 am_cv_CXX_dependencies_compiler_type=$depmode 6573 break 6574 fi 6575 fi 6576 done 6577 6578 cd .. 6579 rm -rf conftest.dir 6580 else 6581 am_cv_CXX_dependencies_compiler_type=none 6582 fi 6583 6584 fi 6585 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 6586 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; } 6587 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 6588 6589 if 6590 test "x$enable_dependency_tracking" != xno \ 6591 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 6592 am__fastdepCXX_TRUE= 6593 am__fastdepCXX_FALSE='#' 6594 else 6595 am__fastdepCXX_TRUE='#' 6596 am__fastdepCXX_FALSE= 6597 fi 6598 6599 6600 6601 6602 if test -n "$CXX" && ( test "X$CXX" != "Xno" && 6603 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 6604 (test "X$CXX" != "Xg++"))) ; then 6605 ac_ext=cpp 6606 ac_cpp='$CXXCPP $CPPFLAGS' 6607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 6610 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 6611 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } 6612 if test -z "$CXXCPP"; then 6613 if test "${ac_cv_prog_CXXCPP+set}" = set; then 6614 echo $ECHO_N "(cached) $ECHO_C" >&6 6615 else 6616 # Double quotes because CXXCPP needs to be expanded 6617 for CXXCPP in "$CXX -E" "/lib/cpp" 6618 do 6619 ac_preproc_ok=false 6620 for ac_cxx_preproc_warn_flag in '' yes 6621 do 6622 # Use a header file that comes with gcc, so configuring glibc 6623 # with a fresh cross-compiler works. 6624 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6625 # <limits.h> exists even on freestanding compilers. 6626 # On the NeXT, cc -E runs the code through the compiler's parser, 6627 # not just through cpp. "Syntax error" is here to catch this case. 6628 cat >conftest.$ac_ext <<_ACEOF 6629 /* confdefs.h. */ 6630 _ACEOF 6631 cat confdefs.h >>conftest.$ac_ext 6632 cat >>conftest.$ac_ext <<_ACEOF 6633 /* end confdefs.h. */ 6634 #ifdef __STDC__ 6635 # include <limits.h> 6636 #else 6637 # include <assert.h> 6638 #endif 6639 Syntax error 6640 _ACEOF 6641 if { (ac_try="$ac_cpp conftest.$ac_ext" 6642 case "(($ac_try" in 6643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6644 *) ac_try_echo=$ac_try;; 6645 esac 6646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6647 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6648 ac_status=$? 6649 grep -v '^ *+' conftest.er1 >conftest.err 6650 rm -f conftest.er1 6651 cat conftest.err >&5 6652 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6653 (exit $ac_status); } >/dev/null && { 6654 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6655 test ! -s conftest.err 6656 }; then 6657 : 6658 else 6659 echo "$as_me: failed program was:" >&5 6660 sed 's/^/| /' conftest.$ac_ext >&5 6661 6662 # Broken: fails on valid input. 6663 continue 6664 fi 6665 6666 rm -f conftest.err conftest.$ac_ext 6667 6668 # OK, works on sane cases. Now check whether nonexistent headers 6669 # can be detected and how. 6670 cat >conftest.$ac_ext <<_ACEOF 6671 /* confdefs.h. */ 6672 _ACEOF 6673 cat confdefs.h >>conftest.$ac_ext 6674 cat >>conftest.$ac_ext <<_ACEOF 6675 /* end confdefs.h. */ 6676 #include <ac_nonexistent.h> 6677 _ACEOF 6678 if { (ac_try="$ac_cpp conftest.$ac_ext" 6679 case "(($ac_try" in 6680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6681 *) ac_try_echo=$ac_try;; 6682 esac 6683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6684 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6685 ac_status=$? 6686 grep -v '^ *+' conftest.er1 >conftest.err 6687 rm -f conftest.er1 6688 cat conftest.err >&5 6689 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6690 (exit $ac_status); } >/dev/null && { 6691 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6692 test ! -s conftest.err 6693 }; then 6694 # Broken: success on invalid input. 6695 continue 6696 else 6697 echo "$as_me: failed program was:" >&5 6698 sed 's/^/| /' conftest.$ac_ext >&5 6699 6700 # Passes both tests. 6701 ac_preproc_ok=: 6702 break 6703 fi 6704 6705 rm -f conftest.err conftest.$ac_ext 6706 6707 done 6708 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6709 rm -f conftest.err conftest.$ac_ext 6710 if $ac_preproc_ok; then 6711 break 6712 fi 6713 6714 done 6715 ac_cv_prog_CXXCPP=$CXXCPP 6716 6717 fi 6718 CXXCPP=$ac_cv_prog_CXXCPP 6719 else 6720 ac_cv_prog_CXXCPP=$CXXCPP 6721 fi 6722 { echo "$as_me:$LINENO: result: $CXXCPP" >&5 6723 echo "${ECHO_T}$CXXCPP" >&6; } 6724 ac_preproc_ok=false 6725 for ac_cxx_preproc_warn_flag in '' yes 6726 do 6727 # Use a header file that comes with gcc, so configuring glibc 6728 # with a fresh cross-compiler works. 6729 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6730 # <limits.h> exists even on freestanding compilers. 6731 # On the NeXT, cc -E runs the code through the compiler's parser, 6732 # not just through cpp. "Syntax error" is here to catch this case. 6733 cat >conftest.$ac_ext <<_ACEOF 6734 /* confdefs.h. */ 6735 _ACEOF 6736 cat confdefs.h >>conftest.$ac_ext 6737 cat >>conftest.$ac_ext <<_ACEOF 6738 /* end confdefs.h. */ 6739 #ifdef __STDC__ 6740 # include <limits.h> 6741 #else 6742 # include <assert.h> 6743 #endif 6744 Syntax error 6745 _ACEOF 6746 if { (ac_try="$ac_cpp conftest.$ac_ext" 6747 case "(($ac_try" in 6748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6749 *) ac_try_echo=$ac_try;; 6750 esac 6751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6752 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6753 ac_status=$? 6754 grep -v '^ *+' conftest.er1 >conftest.err 6755 rm -f conftest.er1 6756 cat conftest.err >&5 6757 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6758 (exit $ac_status); } >/dev/null && { 6759 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6760 test ! -s conftest.err 6761 }; then 6762 : 6763 else 6764 echo "$as_me: failed program was:" >&5 6765 sed 's/^/| /' conftest.$ac_ext >&5 6766 6767 # Broken: fails on valid input. 6768 continue 6769 fi 6770 6771 rm -f conftest.err conftest.$ac_ext 6772 6773 # OK, works on sane cases. Now check whether nonexistent headers 6774 # can be detected and how. 6775 cat >conftest.$ac_ext <<_ACEOF 6776 /* confdefs.h. */ 6777 _ACEOF 6778 cat confdefs.h >>conftest.$ac_ext 6779 cat >>conftest.$ac_ext <<_ACEOF 6780 /* end confdefs.h. */ 6781 #include <ac_nonexistent.h> 6782 _ACEOF 6783 if { (ac_try="$ac_cpp conftest.$ac_ext" 6784 case "(($ac_try" in 6785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6786 *) ac_try_echo=$ac_try;; 6787 esac 6788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6789 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6790 ac_status=$? 6791 grep -v '^ *+' conftest.er1 >conftest.err 6792 rm -f conftest.er1 6793 cat conftest.err >&5 6794 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6795 (exit $ac_status); } >/dev/null && { 6796 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6797 test ! -s conftest.err 6798 }; then 6799 # Broken: success on invalid input. 6800 continue 6801 else 6802 echo "$as_me: failed program was:" >&5 6803 sed 's/^/| /' conftest.$ac_ext >&5 6804 6805 # Passes both tests. 6806 ac_preproc_ok=: 6807 break 6808 fi 6809 6810 rm -f conftest.err conftest.$ac_ext 6811 6812 done 6813 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6814 rm -f conftest.err conftest.$ac_ext 6815 if $ac_preproc_ok; then 6816 : 6817 else 6818 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 6819 See \`config.log' for more details." >&5 6820 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 6821 See \`config.log' for more details." >&2;} 6822 { (exit 1); exit 1; }; } 6823 fi 6824 6825 ac_ext=cpp 6826 ac_cpp='$CXXCPP $CPPFLAGS' 6827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 6830 6831 fi 6832 6833 6834 ac_ext=f 6835 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 6836 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6837 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 6838 if test -n "$ac_tool_prefix"; then 6839 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn 6840 do 6841 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6842 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6843 { echo "$as_me:$LINENO: checking for $ac_word" >&5 6844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6845 if test "${ac_cv_prog_F77+set}" = set; then 6846 echo $ECHO_N "(cached) $ECHO_C" >&6 6847 else 6848 if test -n "$F77"; then 6849 ac_cv_prog_F77="$F77" # Let the user override the test. 6850 else 6851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6852 for as_dir in $PATH 6853 do 6854 IFS=$as_save_IFS 6855 test -z "$as_dir" && as_dir=. 6856 for ac_exec_ext in '' $ac_executable_extensions; do 6857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6858 ac_cv_prog_F77="$ac_tool_prefix$ac_prog" 6859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6860 break 2 6861 fi 6862 done 6863 done 6864 IFS=$as_save_IFS 6865 6866 fi 6867 fi 6868 F77=$ac_cv_prog_F77 6869 if test -n "$F77"; then 6870 { echo "$as_me:$LINENO: result: $F77" >&5 6871 echo "${ECHO_T}$F77" >&6; } 6872 else 6873 { echo "$as_me:$LINENO: result: no" >&5 6874 echo "${ECHO_T}no" >&6; } 6875 fi 6876 6877 6878 test -n "$F77" && break 6879 done 6880 fi 6881 if test -z "$F77"; then 6882 ac_ct_F77=$F77 6883 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn 6884 do 6885 # Extract the first word of "$ac_prog", so it can be a program name with args. 6886 set dummy $ac_prog; ac_word=$2 6887 { echo "$as_me:$LINENO: checking for $ac_word" >&5 6888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6889 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then 6890 echo $ECHO_N "(cached) $ECHO_C" >&6 6891 else 6892 if test -n "$ac_ct_F77"; then 6893 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test. 6894 else 6895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6896 for as_dir in $PATH 6897 do 6898 IFS=$as_save_IFS 6899 test -z "$as_dir" && as_dir=. 6900 for ac_exec_ext in '' $ac_executable_extensions; do 6901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6902 ac_cv_prog_ac_ct_F77="$ac_prog" 6903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6904 break 2 6905 fi 6906 done 6907 done 6908 IFS=$as_save_IFS 6909 6910 fi 6911 fi 6912 ac_ct_F77=$ac_cv_prog_ac_ct_F77 6913 if test -n "$ac_ct_F77"; then 6914 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 6915 echo "${ECHO_T}$ac_ct_F77" >&6; } 6916 else 6917 { echo "$as_me:$LINENO: result: no" >&5 6918 echo "${ECHO_T}no" >&6; } 6919 fi 6920 6921 6922 test -n "$ac_ct_F77" && break 6923 done 6924 6925 if test "x$ac_ct_F77" = x; then 6926 F77="" 6927 else 6928 case $cross_compiling:$ac_tool_warned in 6929 yes:) 6930 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 6931 whose name does not start with the host triplet. If you think this 6932 configuration is useful to you, please write to autoconf@gnu.org." >&5 6933 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 6934 whose name does not start with the host triplet. If you think this 6935 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 6936 ac_tool_warned=yes ;; 6937 esac 6938 F77=$ac_ct_F77 6939 fi 6940 fi 6941 6942 6943 # Provide some information about the compiler. 6944 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5 6945 ac_compiler=`set X $ac_compile; echo $2` 6946 { (ac_try="$ac_compiler --version >&5" 6947 case "(($ac_try" in 6948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6949 *) ac_try_echo=$ac_try;; 6950 esac 6951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6952 (eval "$ac_compiler --version >&5") 2>&5 6953 ac_status=$? 6954 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6955 (exit $ac_status); } 6956 { (ac_try="$ac_compiler -v >&5" 6957 case "(($ac_try" in 6958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6959 *) ac_try_echo=$ac_try;; 6960 esac 6961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6962 (eval "$ac_compiler -v >&5") 2>&5 6963 ac_status=$? 6964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6965 (exit $ac_status); } 6966 { (ac_try="$ac_compiler -V >&5" 6967 case "(($ac_try" in 6968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6969 *) ac_try_echo=$ac_try;; 6970 esac 6971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6972 (eval "$ac_compiler -V >&5") 2>&5 6973 ac_status=$? 6974 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6975 (exit $ac_status); } 6976 rm -f a.out 6977 6978 # If we don't use `.F' as extension, the preprocessor is not run on the 6979 # input file. (Note that this only needs to work for GNU compilers.) 6980 ac_save_ext=$ac_ext 6981 ac_ext=F 6982 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 6983 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; } 6984 if test "${ac_cv_f77_compiler_gnu+set}" = set; then 6985 echo $ECHO_N "(cached) $ECHO_C" >&6 6986 else 6987 cat >conftest.$ac_ext <<_ACEOF 6988 program main 6989 #ifndef __GNUC__ 6990 choke me 6991 #endif 6992 6993 end 6994 _ACEOF 6995 rm -f conftest.$ac_objext 6996 if { (ac_try="$ac_compile" 6997 case "(($ac_try" in 6998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6999 *) ac_try_echo=$ac_try;; 7000 esac 7001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7002 (eval "$ac_compile") 2>conftest.er1 7003 ac_status=$? 7004 grep -v '^ *+' conftest.er1 >conftest.err 7005 rm -f conftest.er1 7006 cat conftest.err >&5 7007 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7008 (exit $ac_status); } && { 7009 test -z "$ac_f77_werror_flag" || 7010 test ! -s conftest.err 7011 } && test -s conftest.$ac_objext; then 7012 ac_compiler_gnu=yes 7013 else 7014 echo "$as_me: failed program was:" >&5 7015 sed 's/^/| /' conftest.$ac_ext >&5 7016 7017 ac_compiler_gnu=no 7018 fi 7019 7020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7021 ac_cv_f77_compiler_gnu=$ac_compiler_gnu 7022 7023 fi 7024 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 7025 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; } 7026 ac_ext=$ac_save_ext 7027 ac_test_FFLAGS=${FFLAGS+set} 7028 ac_save_FFLAGS=$FFLAGS 7029 FFLAGS= 7030 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 7031 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; } 7032 if test "${ac_cv_prog_f77_g+set}" = set; then 7033 echo $ECHO_N "(cached) $ECHO_C" >&6 7034 else 7035 FFLAGS=-g 7036 cat >conftest.$ac_ext <<_ACEOF 7037 program main 7038 7039 end 7040 _ACEOF 7041 rm -f conftest.$ac_objext 7042 if { (ac_try="$ac_compile" 7043 case "(($ac_try" in 7044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7045 *) ac_try_echo=$ac_try;; 7046 esac 7047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7048 (eval "$ac_compile") 2>conftest.er1 7049 ac_status=$? 7050 grep -v '^ *+' conftest.er1 >conftest.err 7051 rm -f conftest.er1 7052 cat conftest.err >&5 7053 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7054 (exit $ac_status); } && { 7055 test -z "$ac_f77_werror_flag" || 7056 test ! -s conftest.err 7057 } && test -s conftest.$ac_objext; then 7058 ac_cv_prog_f77_g=yes 7059 else 7060 echo "$as_me: failed program was:" >&5 7061 sed 's/^/| /' conftest.$ac_ext >&5 7062 7063 ac_cv_prog_f77_g=no 7064 fi 7065 7066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7067 7068 fi 7069 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 7070 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; } 7071 if test "$ac_test_FFLAGS" = set; then 7072 FFLAGS=$ac_save_FFLAGS 7073 elif test $ac_cv_prog_f77_g = yes; then 7074 if test "x$ac_cv_f77_compiler_gnu" = xyes; then 7075 FFLAGS="-g -O2" 7076 else 7077 FFLAGS="-g" 7078 fi 7079 else 7080 if test "x$ac_cv_f77_compiler_gnu" = xyes; then 7081 FFLAGS="-O2" 7082 else 7083 FFLAGS= 7084 fi 7085 fi 7086 7087 G77=`test $ac_compiler_gnu = yes && echo yes` 7088 ac_ext=c 7089 ac_cpp='$CPP $CPPFLAGS' 7090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7092 ac_compiler_gnu=$ac_cv_c_compiler_gnu 7093 7094 7095 7096 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! 7097 7098 # find the maximum length of command line arguments 7099 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 7100 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; } 7101 if test "${lt_cv_sys_max_cmd_len+set}" = set; then 7102 echo $ECHO_N "(cached) $ECHO_C" >&6 7103 else 7104 i=0 7105 teststring="ABCD" 7106 7107 case $build_os in 7108 msdosdjgpp*) 7109 # On DJGPP, this test can blow up pretty badly due to problems in libc 7110 # (any single argument exceeding 2000 bytes causes a buffer overrun 7111 # during glob expansion). Even if it were fixed, the result of this 7112 # check would be larger than it should be. 7113 lt_cv_sys_max_cmd_len=12288; # 12K is about right 7114 ;; 7115 7116 gnu*) 7117 # Under GNU Hurd, this test is not required because there is 7118 # no limit to the length of command line arguments. 7119 # Libtool will interpret -1 as no limit whatsoever 7120 lt_cv_sys_max_cmd_len=-1; 7121 ;; 7122 7123 cygwin* | mingw*) 7124 # On Win9x/ME, this test blows up -- it succeeds, but takes 7125 # about 5 minutes as the teststring grows exponentially. 7126 # Worse, since 9x/ME are not pre-emptively multitasking, 7127 # you end up with a "frozen" computer, even though with patience 7128 # the test eventually succeeds (with a max line length of 256k). 7129 # Instead, let's just punt: use the minimum linelength reported by 7130 # all of the supported platforms: 8192 (on NT/2K/XP). 7131 lt_cv_sys_max_cmd_len=8192; 7132 ;; 7133 7134 amigaos*) 7135 # On AmigaOS with pdksh, this test takes hours, literally. 7136 # So we just punt and use a minimum line length of 8192. 7137 lt_cv_sys_max_cmd_len=8192; 7138 ;; 7139 7140 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 7141 # This has been around since 386BSD, at least. Likely further. 7142 if test -x /sbin/sysctl; then 7143 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 7144 elif test -x /usr/sbin/sysctl; then 7145 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 7146 else 7147 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 7148 fi 7149 # And add a safety zone 7150 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 7151 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 7152 ;; 7153 7154 interix*) 7155 # We know the value 262144 and hardcode it with a safety zone (like BSD) 7156 lt_cv_sys_max_cmd_len=196608 7157 ;; 7158 7159 osf*) 7160 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 7161 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 7162 # nice to cause kernel panics so lets avoid the loop below. 7163 # First set a reasonable default. 7164 lt_cv_sys_max_cmd_len=16384 7165 # 7166 if test -x /sbin/sysconfig; then 7167 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 7168 *1*) lt_cv_sys_max_cmd_len=-1 ;; 7169 esac 7170 fi 7171 ;; 7172 sco3.2v5*) 7173 lt_cv_sys_max_cmd_len=102400 7174 ;; 7175 sysv5* | sco5v6* | sysv4.2uw2*) 7176 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 7177 if test -n "$kargmax"; then 7178 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 7179 else 7180 lt_cv_sys_max_cmd_len=32768 7181 fi 7182 ;; 7183 *) 7184 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 7185 if test -n "$lt_cv_sys_max_cmd_len"; then 7186 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 7187 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 7188 else 7189 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 7190 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ 7191 = "XX$teststring") >/dev/null 2>&1 && 7192 new_result=`expr "X$teststring" : ".*" 2>&1` && 7193 lt_cv_sys_max_cmd_len=$new_result && 7194 test $i != 17 # 1/2 MB should be enough 7195 do 7196 i=`expr $i + 1` 7197 teststring=$teststring$teststring 7198 done 7199 teststring= 7200 # Add a significant safety factor because C++ compilers can tack on massive 7201 # amounts of additional arguments before passing them to the linker. 7202 # It appears as though 1/2 is a usable value. 7203 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 7204 fi 7205 ;; 7206 esac 7207 7208 fi 7209 7210 if test -n $lt_cv_sys_max_cmd_len ; then 7211 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 7212 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; } 7213 else 7214 { echo "$as_me:$LINENO: result: none" >&5 7215 echo "${ECHO_T}none" >&6; } 7216 fi 7217 7218 7219 7220 7221 7222 # Check for command to grab the raw symbol name followed by C symbol from nm. 7223 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 7224 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; } 7225 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then 7226 echo $ECHO_N "(cached) $ECHO_C" >&6 7227 else 7228 7229 # These are sane defaults that work on at least a few old systems. 7230 # [They come from Ultrix. What could be older than Ultrix?!! ;)] 7231 7232 # Character class describing NM global symbol codes. 7233 symcode='[BCDEGRST]' 7234 7235 # Regexp to match symbols that can be accessed directly from C. 7236 sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 7237 7238 # Transform an extracted symbol line into a proper C declaration 7239 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" 7240 7241 # Transform an extracted symbol line into symbol name and symbol address 7242 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" 7243 7244 # Define system-specific variables. 7245 case $host_os in 7246 aix*) 7247 symcode='[BCDT]' 7248 ;; 7249 cygwin* | mingw* | pw32*) 7250 symcode='[ABCDGISTW]' 7251 ;; 7252 hpux*) # Its linker distinguishes data from code symbols 7253 if test "$host_cpu" = ia64; then 7254 symcode='[ABCDEGRST]' 7255 fi 7256 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 7257 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" 7258 ;; 7259 linux* | k*bsd*-gnu) 7260 if test "$host_cpu" = ia64; then 7261 symcode='[ABCDGIRSTW]' 7262 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 7263 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" 7264 fi 7265 ;; 7266 irix* | nonstopux*) 7267 symcode='[BCDEGRST]' 7268 ;; 7269 osf*) 7270 symcode='[BCDEGQRST]' 7271 ;; 7272 solaris*) 7273 symcode='[BDRT]' 7274 ;; 7275 sco3.2v5*) 7276 symcode='[DT]' 7277 ;; 7278 sysv4.2uw2*) 7279 symcode='[DT]' 7280 ;; 7281 sysv5* | sco5v6* | unixware* | OpenUNIX*) 7282 symcode='[ABDT]' 7283 ;; 7284 sysv4) 7285 symcode='[DFNSTU]' 7286 ;; 7287 esac 7288 7289 # Handle CRLF in mingw tool chain 7290 opt_cr= 7291 case $build_os in 7292 mingw*) 7293 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp 7294 ;; 7295 esac 7296 7297 # If we're using GNU nm, then use its standard symbol codes. 7298 case `$NM -V 2>&1` in 7299 *GNU* | *'with BFD'*) 7300 symcode='[ABCDGIRSTW]' ;; 7301 esac 7302 7303 # Try without a prefix undercore, then with it. 7304 for ac_symprfx in "" "_"; do 7305 7306 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 7307 symxfrm="\\1 $ac_symprfx\\2 \\2" 7308 7309 # Write the raw and C identifiers. 7310 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 7311 7312 # Check to see that the pipe works correctly. 7313 pipe_works=no 7314 7315 rm -f conftest* 7316 cat > conftest.$ac_ext <<EOF 7317 #ifdef __cplusplus 7318 extern "C" { 7319 #endif 7320 char nm_test_var; 7321 void nm_test_func(){} 7322 #ifdef __cplusplus 7323 } 7324 #endif 7325 int main(){nm_test_var='a';nm_test_func();return(0);} 7326 EOF 7327 7328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7329 (eval $ac_compile) 2>&5 7330 ac_status=$? 7331 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7332 (exit $ac_status); }; then 7333 # Now try to grab the symbols. 7334 nlist=conftest.nm 7335 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 7336 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 7337 ac_status=$? 7338 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7339 (exit $ac_status); } && test -s "$nlist"; then 7340 # Try sorting and uniquifying the output. 7341 if sort "$nlist" | uniq > "$nlist"T; then 7342 mv -f "$nlist"T "$nlist" 7343 else 7344 rm -f "$nlist"T 7345 fi 7346 7347 # Make sure that we snagged all the symbols we need. 7348 if grep ' nm_test_var$' "$nlist" >/dev/null; then 7349 if grep ' nm_test_func$' "$nlist" >/dev/null; then 7350 cat <<EOF > conftest.$ac_ext 7351 #ifdef __cplusplus 7352 extern "C" { 7353 #endif 7354 7355 EOF 7356 # Now generate the symbol file. 7357 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' 7358 7359 cat <<EOF >> conftest.$ac_ext 7360 #if defined (__STDC__) && __STDC__ 7361 # define lt_ptr_t void * 7362 #else 7363 # define lt_ptr_t char * 7364 # define const 7365 #endif 7366 7367 /* The mapping between symbol names and symbols. */ 7368 const struct { 7369 const char *name; 7370 lt_ptr_t address; 7371 } 7372 lt_preloaded_symbols[] = 7373 { 7374 EOF 7375 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext 7376 cat <<\EOF >> conftest.$ac_ext 7377 {0, (lt_ptr_t) 0} 7378 }; 7379 7380 #ifdef __cplusplus 7381 } 7382 #endif 7383 EOF 7384 # Now try linking the two files. 7385 mv conftest.$ac_objext conftstm.$ac_objext 7386 lt_save_LIBS="$LIBS" 7387 lt_save_CFLAGS="$CFLAGS" 7388 LIBS="conftstm.$ac_objext" 7389 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 7390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7391 (eval $ac_link) 2>&5 7392 ac_status=$? 7393 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7394 (exit $ac_status); } && test -s conftest${ac_exeext}; then 7395 pipe_works=yes 7396 fi 7397 LIBS="$lt_save_LIBS" 7398 CFLAGS="$lt_save_CFLAGS" 7399 else 7400 echo "cannot find nm_test_func in $nlist" >&5 7401 fi 7402 else 7403 echo "cannot find nm_test_var in $nlist" >&5 7404 fi 7405 else 7406 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 7407 fi 7408 else 7409 echo "$progname: failed program was:" >&5 7410 cat conftest.$ac_ext >&5 7411 fi 7412 rm -f conftest* conftst* 7413 7414 # Do not use the global_symbol_pipe unless it works. 7415 if test "$pipe_works" = yes; then 7416 break 7417 else 7418 lt_cv_sys_global_symbol_pipe= 7419 fi 7420 done 7421 7422 fi 7423 7424 if test -z "$lt_cv_sys_global_symbol_pipe"; then 7425 lt_cv_sys_global_symbol_to_cdecl= 7426 fi 7427 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 7428 { echo "$as_me:$LINENO: result: failed" >&5 7429 echo "${ECHO_T}failed" >&6; } 7430 else 7431 { echo "$as_me:$LINENO: result: ok" >&5 7432 echo "${ECHO_T}ok" >&6; } 7433 fi 7434 7435 { echo "$as_me:$LINENO: checking for objdir" >&5 7436 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; } 7437 if test "${lt_cv_objdir+set}" = set; then 7438 echo $ECHO_N "(cached) $ECHO_C" >&6 7439 else 7440 rm -f .libs 2>/dev/null 7441 mkdir .libs 2>/dev/null 7442 if test -d .libs; then 7443 lt_cv_objdir=.libs 7444 else 7445 # MS-DOS does not allow filenames that begin with a dot. 7446 lt_cv_objdir=_libs 7447 fi 7448 rmdir .libs 2>/dev/null 7449 fi 7450 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 7451 echo "${ECHO_T}$lt_cv_objdir" >&6; } 7452 objdir=$lt_cv_objdir 7453 7454 7455 7456 7457 7458 case $host_os in 7459 aix3*) 7460 # AIX sometimes has problems with the GCC collect2 program. For some 7461 # reason, if we set the COLLECT_NAMES environment variable, the problems 7462 # vanish in a puff of smoke. 7463 if test "X${COLLECT_NAMES+set}" != Xset; then 7464 COLLECT_NAMES= 7465 export COLLECT_NAMES 7466 fi 7467 ;; 7468 esac 7469 7470 # Sed substitution that helps us do robust quoting. It backslashifies 7471 # metacharacters that are still active within double-quoted strings. 7472 Xsed='sed -e 1s/^X//' 7473 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' 7474 7475 # Same as above, but do not quote variable references. 7476 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' 7477 7478 # Sed substitution to delay expansion of an escaped shell variable in a 7479 # double_quote_subst'ed string. 7480 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 7481 7482 # Sed substitution to avoid accidental globbing in evaled expressions 7483 no_glob_subst='s/\*/\\\*/g' 7484 7485 # Constants: 7486 rm="rm -f" 7487 7488 # Global variables: 7489 default_ofile=libtool 7490 can_build_shared=yes 7491 7492 # All known linkers require a `.a' archive for static linking (except MSVC, 7493 # which needs '.lib'). 7494 libext=a 7495 ltmain="$ac_aux_dir/ltmain.sh" 7496 ofile="$default_ofile" 7497 with_gnu_ld="$lt_cv_prog_gnu_ld" 7498 7499 if test -n "$ac_tool_prefix"; then 7500 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 7501 set dummy ${ac_tool_prefix}ar; ac_word=$2 7502 { echo "$as_me:$LINENO: checking for $ac_word" >&5 7503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 7504 if test "${ac_cv_prog_AR+set}" = set; then 7505 echo $ECHO_N "(cached) $ECHO_C" >&6 7506 else 7507 if test -n "$AR"; then 7508 ac_cv_prog_AR="$AR" # Let the user override the test. 7509 else 7510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7511 for as_dir in $PATH 7512 do 7513 IFS=$as_save_IFS 7514 test -z "$as_dir" && as_dir=. 7515 for ac_exec_ext in '' $ac_executable_extensions; do 7516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7517 ac_cv_prog_AR="${ac_tool_prefix}ar" 7518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7519 break 2 7520 fi 7521 done 7522 done 7523 IFS=$as_save_IFS 7524 7525 fi 7526 fi 7527 AR=$ac_cv_prog_AR 7528 if test -n "$AR"; then 7529 { echo "$as_me:$LINENO: result: $AR" >&5 7530 echo "${ECHO_T}$AR" >&6; } 7531 else 7532 { echo "$as_me:$LINENO: result: no" >&5 7533 echo "${ECHO_T}no" >&6; } 7534 fi 7535 7536 7537 fi 7538 if test -z "$ac_cv_prog_AR"; then 7539 ac_ct_AR=$AR 7540 # Extract the first word of "ar", so it can be a program name with args. 7541 set dummy ar; ac_word=$2 7542 { echo "$as_me:$LINENO: checking for $ac_word" >&5 7543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 7544 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then 7545 echo $ECHO_N "(cached) $ECHO_C" >&6 7546 else 7547 if test -n "$ac_ct_AR"; then 7548 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 7549 else 7550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7551 for as_dir in $PATH 7552 do 7553 IFS=$as_save_IFS 7554 test -z "$as_dir" && as_dir=. 7555 for ac_exec_ext in '' $ac_executable_extensions; do 7556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7557 ac_cv_prog_ac_ct_AR="ar" 7558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7559 break 2 7560 fi 7561 done 7562 done 7563 IFS=$as_save_IFS 7564 7565 fi 7566 fi 7567 ac_ct_AR=$ac_cv_prog_ac_ct_AR 7568 if test -n "$ac_ct_AR"; then 7569 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 7570 echo "${ECHO_T}$ac_ct_AR" >&6; } 7571 else 7572 { echo "$as_me:$LINENO: result: no" >&5 7573 echo "${ECHO_T}no" >&6; } 7574 fi 7575 7576 if test "x$ac_ct_AR" = x; then 7577 AR="false" 7578 else 7579 case $cross_compiling:$ac_tool_warned in 7580 yes:) 7581 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 7582 whose name does not start with the host triplet. If you think this 7583 configuration is useful to you, please write to autoconf@gnu.org." >&5 7584 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 7585 whose name does not start with the host triplet. If you think this 7586 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 7587 ac_tool_warned=yes ;; 7588 esac 7589 AR=$ac_ct_AR 7590 fi 7591 else 7592 AR="$ac_cv_prog_AR" 7593 fi 7594 7595 if test -n "$ac_tool_prefix"; then 7596 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 7597 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 7598 { echo "$as_me:$LINENO: checking for $ac_word" >&5 7599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 7600 if test "${ac_cv_prog_RANLIB+set}" = set; then 7601 echo $ECHO_N "(cached) $ECHO_C" >&6 7602 else 7603 if test -n "$RANLIB"; then 7604 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 7605 else 7606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7607 for as_dir in $PATH 7608 do 7609 IFS=$as_save_IFS 7610 test -z "$as_dir" && as_dir=. 7611 for ac_exec_ext in '' $ac_executable_extensions; do 7612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7613 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 7614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7615 break 2 7616 fi 7617 done 7618 done 7619 IFS=$as_save_IFS 7620 7621 fi 7622 fi 7623 RANLIB=$ac_cv_prog_RANLIB 7624 if test -n "$RANLIB"; then 7625 { echo "$as_me:$LINENO: result: $RANLIB" >&5 7626 echo "${ECHO_T}$RANLIB" >&6; } 7627 else 7628 { echo "$as_me:$LINENO: result: no" >&5 7629 echo "${ECHO_T}no" >&6; } 7630 fi 7631 7632 7633 fi 7634 if test -z "$ac_cv_prog_RANLIB"; then 7635 ac_ct_RANLIB=$RANLIB 7636 # Extract the first word of "ranlib", so it can be a program name with args. 7637 set dummy ranlib; ac_word=$2 7638 { echo "$as_me:$LINENO: checking for $ac_word" >&5 7639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 7640 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 7641 echo $ECHO_N "(cached) $ECHO_C" >&6 7642 else 7643 if test -n "$ac_ct_RANLIB"; then 7644 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 7645 else 7646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7647 for as_dir in $PATH 7648 do 7649 IFS=$as_save_IFS 7650 test -z "$as_dir" && as_dir=. 7651 for ac_exec_ext in '' $ac_executable_extensions; do 7652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7653 ac_cv_prog_ac_ct_RANLIB="ranlib" 7654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7655 break 2 7656 fi 7657 done 7658 done 7659 IFS=$as_save_IFS 7660 7661 fi 7662 fi 7663 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 7664 if test -n "$ac_ct_RANLIB"; then 7665 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 7666 echo "${ECHO_T}$ac_ct_RANLIB" >&6; } 7667 else 7668 { echo "$as_me:$LINENO: result: no" >&5 7669 echo "${ECHO_T}no" >&6; } 7670 fi 7671 7672 if test "x$ac_ct_RANLIB" = x; then 7673 RANLIB=":" 7674 else 7675 case $cross_compiling:$ac_tool_warned in 7676 yes:) 7677 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 7678 whose name does not start with the host triplet. If you think this 7679 configuration is useful to you, please write to autoconf@gnu.org." >&5 7680 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 7681 whose name does not start with the host triplet. If you think this 7682 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 7683 ac_tool_warned=yes ;; 7684 esac 7685 RANLIB=$ac_ct_RANLIB 7686 fi 7687 else 7688 RANLIB="$ac_cv_prog_RANLIB" 7689 fi 7690 7691 if test -n "$ac_tool_prefix"; then 7692 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 7693 set dummy ${ac_tool_prefix}strip; ac_word=$2 7694 { echo "$as_me:$LINENO: checking for $ac_word" >&5 7695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 7696 if test "${ac_cv_prog_STRIP+set}" = set; then 7697 echo $ECHO_N "(cached) $ECHO_C" >&6 7698 else 7699 if test -n "$STRIP"; then 7700 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 7701 else 7702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7703 for as_dir in $PATH 7704 do 7705 IFS=$as_save_IFS 7706 test -z "$as_dir" && as_dir=. 7707 for ac_exec_ext in '' $ac_executable_extensions; do 7708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7709 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 7710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7711 break 2 7712 fi 7713 done 7714 done 7715 IFS=$as_save_IFS 7716 7717 fi 7718 fi 7719 STRIP=$ac_cv_prog_STRIP 7720 if test -n "$STRIP"; then 7721 { echo "$as_me:$LINENO: result: $STRIP" >&5 7722 echo "${ECHO_T}$STRIP" >&6; } 7723 else 7724 { echo "$as_me:$LINENO: result: no" >&5 7725 echo "${ECHO_T}no" >&6; } 7726 fi 7727 7728 7729 fi 7730 if test -z "$ac_cv_prog_STRIP"; then 7731 ac_ct_STRIP=$STRIP 7732 # Extract the first word of "strip", so it can be a program name with args. 7733 set dummy strip; ac_word=$2 7734 { echo "$as_me:$LINENO: checking for $ac_word" >&5 7735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 7736 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 7737 echo $ECHO_N "(cached) $ECHO_C" >&6 7738 else 7739 if test -n "$ac_ct_STRIP"; then 7740 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 7741 else 7742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7743 for as_dir in $PATH 7744 do 7745 IFS=$as_save_IFS 7746 test -z "$as_dir" && as_dir=. 7747 for ac_exec_ext in '' $ac_executable_extensions; do 7748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7749 ac_cv_prog_ac_ct_STRIP="strip" 7750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7751 break 2 7752 fi 7753 done 7754 done 7755 IFS=$as_save_IFS 7756 7757 fi 7758 fi 7759 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 7760 if test -n "$ac_ct_STRIP"; then 7761 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 7762 echo "${ECHO_T}$ac_ct_STRIP" >&6; } 7763 else 7764 { echo "$as_me:$LINENO: result: no" >&5 7765 echo "${ECHO_T}no" >&6; } 7766 fi 7767 7768 if test "x$ac_ct_STRIP" = x; then 7769 STRIP=":" 7770 else 7771 case $cross_compiling:$ac_tool_warned in 7772 yes:) 7773 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 7774 whose name does not start with the host triplet. If you think this 7775 configuration is useful to you, please write to autoconf@gnu.org." >&5 7776 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 7777 whose name does not start with the host triplet. If you think this 7778 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 7779 ac_tool_warned=yes ;; 7780 esac 7781 STRIP=$ac_ct_STRIP 7782 fi 7783 else 7784 STRIP="$ac_cv_prog_STRIP" 7785 fi 7786 7787 7788 old_CC="$CC" 7789 old_CFLAGS="$CFLAGS" 7790 7791 # Set sane defaults for various variables 7792 test -z "$AR" && AR=ar 7793 test -z "$AR_FLAGS" && AR_FLAGS=cru 7794 test -z "$AS" && AS=as 7795 test -z "$CC" && CC=cc 7796 test -z "$LTCC" && LTCC=$CC 7797 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7798 test -z "$DLLTOOL" && DLLTOOL=dlltool 7799 test -z "$LD" && LD=ld 7800 test -z "$LN_S" && LN_S="ln -s" 7801 test -z "$MAGIC_CMD" && MAGIC_CMD=file 7802 test -z "$NM" && NM=nm 7803 test -z "$SED" && SED=sed 7804 test -z "$OBJDUMP" && OBJDUMP=objdump 7805 test -z "$RANLIB" && RANLIB=: 7806 test -z "$STRIP" && STRIP=: 7807 test -z "$ac_objext" && ac_objext=o 7808 7809 # Determine commands to create old-style static archives. 7810 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 7811 old_postinstall_cmds='chmod 644 $oldlib' 7812 old_postuninstall_cmds= 7813 7814 if test -n "$RANLIB"; then 7815 case $host_os in 7816 openbsd*) 7817 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 7818 ;; 7819 *) 7820 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 7821 ;; 7822 esac 7823 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 7824 fi 7825 7826 for cc_temp in $compiler""; do 7827 case $cc_temp in 7828 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7829 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7830 \-*) ;; 7831 *) break;; 7832 esac 7833 done 7834 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 7835 7836 7837 # Only perform the check for file, if the check method requires it 7838 case $deplibs_check_method in 7839 file_magic*) 7840 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7841 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 7842 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; } 7843 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 7844 echo $ECHO_N "(cached) $ECHO_C" >&6 7845 else 7846 case $MAGIC_CMD in 7847 [\\/*] | ?:[\\/]*) 7848 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7849 ;; 7850 *) 7851 lt_save_MAGIC_CMD="$MAGIC_CMD" 7852 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7853 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7854 for ac_dir in $ac_dummy; do 7855 IFS="$lt_save_ifs" 7856 test -z "$ac_dir" && ac_dir=. 7857 if test -f $ac_dir/${ac_tool_prefix}file; then 7858 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 7859 if test -n "$file_magic_test_file"; then 7860 case $deplibs_check_method in 7861 "file_magic "*) 7862 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7863 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7864 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7865 $EGREP "$file_magic_regex" > /dev/null; then 7866 : 7867 else 7868 cat <<EOF 1>&2 7869 7870 *** Warning: the command libtool uses to detect shared libraries, 7871 *** $file_magic_cmd, produces output that libtool cannot recognize. 7872 *** The result is that libtool may fail to recognize shared libraries 7873 *** as such. This will affect the creation of libtool libraries that 7874 *** depend on shared libraries, but programs linked with such libtool 7875 *** libraries will work regardless of this problem. Nevertheless, you 7876 *** may want to report the problem to your system manager and/or to 7877 *** bug-libtool@gnu.org 7878 7879 EOF 7880 fi ;; 7881 esac 7882 fi 7883 break 7884 fi 7885 done 7886 IFS="$lt_save_ifs" 7887 MAGIC_CMD="$lt_save_MAGIC_CMD" 7888 ;; 7889 esac 7890 fi 7891 7892 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7893 if test -n "$MAGIC_CMD"; then 7894 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 7895 echo "${ECHO_T}$MAGIC_CMD" >&6; } 7896 else 7897 { echo "$as_me:$LINENO: result: no" >&5 7898 echo "${ECHO_T}no" >&6; } 7899 fi 7900 7901 if test -z "$lt_cv_path_MAGIC_CMD"; then 7902 if test -n "$ac_tool_prefix"; then 7903 { echo "$as_me:$LINENO: checking for file" >&5 7904 echo $ECHO_N "checking for file... $ECHO_C" >&6; } 7905 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 7906 echo $ECHO_N "(cached) $ECHO_C" >&6 7907 else 7908 case $MAGIC_CMD in 7909 [\\/*] | ?:[\\/]*) 7910 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7911 ;; 7912 *) 7913 lt_save_MAGIC_CMD="$MAGIC_CMD" 7914 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7915 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7916 for ac_dir in $ac_dummy; do 7917 IFS="$lt_save_ifs" 7918 test -z "$ac_dir" && ac_dir=. 7919 if test -f $ac_dir/file; then 7920 lt_cv_path_MAGIC_CMD="$ac_dir/file" 7921 if test -n "$file_magic_test_file"; then 7922 case $deplibs_check_method in 7923 "file_magic "*) 7924 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7925 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7926 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7927 $EGREP "$file_magic_regex" > /dev/null; then 7928 : 7929 else 7930 cat <<EOF 1>&2 7931 7932 *** Warning: the command libtool uses to detect shared libraries, 7933 *** $file_magic_cmd, produces output that libtool cannot recognize. 7934 *** The result is that libtool may fail to recognize shared libraries 7935 *** as such. This will affect the creation of libtool libraries that 7936 *** depend on shared libraries, but programs linked with such libtool 7937 *** libraries will work regardless of this problem. Nevertheless, you 7938 *** may want to report the problem to your system manager and/or to 7939 *** bug-libtool@gnu.org 7940 7941 EOF 7942 fi ;; 7943 esac 7944 fi 7945 break 7946 fi 7947 done 7948 IFS="$lt_save_ifs" 7949 MAGIC_CMD="$lt_save_MAGIC_CMD" 7950 ;; 7951 esac 7952 fi 7953 7954 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7955 if test -n "$MAGIC_CMD"; then 7956 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 7957 echo "${ECHO_T}$MAGIC_CMD" >&6; } 7958 else 7959 { echo "$as_me:$LINENO: result: no" >&5 7960 echo "${ECHO_T}no" >&6; } 7961 fi 7962 7963 else 7964 MAGIC_CMD=: 7965 fi 7966 fi 7967 7968 fi 7969 ;; 7970 esac 7971 7972 enable_dlopen=no 7973 enable_win32_dll=yes 7974 7975 # Check whether --enable-libtool-lock was given. 7976 if test "${enable_libtool_lock+set}" = set; then 7977 enableval=$enable_libtool_lock; 7978 fi 7979 7980 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 7981 7982 7983 # Check whether --with-pic was given. 7984 if test "${with_pic+set}" = set; then 7985 withval=$with_pic; pic_mode="$withval" 7986 else 7987 pic_mode=default 7988 fi 7989 7990 test -z "$pic_mode" && pic_mode=default 7991 7992 # Use C for the default configuration in the libtool script 7993 tagname= 7994 lt_save_CC="$CC" 7995 ac_ext=c 7996 ac_cpp='$CPP $CPPFLAGS' 7997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7999 ac_compiler_gnu=$ac_cv_c_compiler_gnu 8000 8001 8002 # Source file extension for C test sources. 8003 ac_ext=c 8004 8005 # Object file extension for compiled C test sources. 8006 objext=o 8007 objext=$objext 8008 8009 # Code to be used in simple compile tests 8010 lt_simple_compile_test_code="int some_variable = 0;" 8011 8012 # Code to be used in simple link tests 8013 lt_simple_link_test_code='int main(){return(0);}' 8014 8015 8016 # If no C compiler was specified, use CC. 8017 LTCC=${LTCC-"$CC"} 8018 8019 # If no C compiler flags were specified, use CFLAGS. 8020 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8021 8022 # Allow CC to be a program name with arguments. 8023 compiler=$CC 8024 8025 8026 # save warnings/boilerplate of simple test code 8027 ac_outfile=conftest.$ac_objext 8028 echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8029 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8030 _lt_compiler_boilerplate=`cat conftest.err` 8031 $rm conftest* 8032 8033 ac_outfile=conftest.$ac_objext 8034 echo "$lt_simple_link_test_code" >conftest.$ac_ext 8035 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8036 _lt_linker_boilerplate=`cat conftest.err` 8037 $rm conftest* 8038 8039 8040 8041 lt_prog_compiler_no_builtin_flag= 8042 8043 if test "$GCC" = yes; then 8044 lt_prog_compiler_no_builtin_flag=' -fno-builtin' 8045 8046 8047 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8048 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } 8049 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then 8050 echo $ECHO_N "(cached) $ECHO_C" >&6 8051 else 8052 lt_cv_prog_compiler_rtti_exceptions=no 8053 ac_outfile=conftest.$ac_objext 8054 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8055 lt_compiler_flag="-fno-rtti -fno-exceptions" 8056 # Insert the option either (1) after the last *FLAGS variable, or 8057 # (2) before a word containing "conftest.", or (3) at the end. 8058 # Note that $ac_compile itself does not contain backslashes and begins 8059 # with a dollar sign (not a hyphen), so the echo should work correctly. 8060 # The option is referenced via a variable to avoid confusing sed. 8061 lt_compile=`echo "$ac_compile" | $SED \ 8062 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8063 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8064 -e 's:$: $lt_compiler_flag:'` 8065 (eval echo "\"\$as_me:8065: $lt_compile\"" >&5) 8066 (eval "$lt_compile" 2>conftest.err) 8067 ac_status=$? 8068 cat conftest.err >&5 8069 echo "$as_me:8069: \$? = $ac_status" >&5 8070 if (exit $ac_status) && test -s "$ac_outfile"; then 8071 # The compiler can only warn and ignore the option if not recognized 8072 # So say no if there are warnings other than the usual output. 8073 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 8074 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8075 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8076 lt_cv_prog_compiler_rtti_exceptions=yes 8077 fi 8078 fi 8079 $rm conftest* 8080 8081 fi 8082 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8083 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8084 8085 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 8086 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8087 else 8088 : 8089 fi 8090 8091 fi 8092 8093 lt_prog_compiler_wl= 8094 lt_prog_compiler_pic= 8095 lt_prog_compiler_static= 8096 8097 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 8098 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } 8099 8100 if test "$GCC" = yes; then 8101 lt_prog_compiler_wl='-Wl,' 8102 lt_prog_compiler_static='-static' 8103 8104 case $host_os in 8105 aix*) 8106 # All AIX code is PIC. 8107 if test "$host_cpu" = ia64; then 8108 # AIX 5 now supports IA64 processor 8109 lt_prog_compiler_static='-Bstatic' 8110 fi 8111 ;; 8112 8113 amigaos*) 8114 # FIXME: we need at least 68020 code to build shared libraries, but 8115 # adding the `-m68020' flag to GCC prevents building anything better, 8116 # like `-m68040'. 8117 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8118 ;; 8119 8120 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8121 # PIC is the default for these OSes. 8122 ;; 8123 8124 mingw* | cygwin* | pw32* | os2*) 8125 # This hack is so that the source file can tell whether it is being 8126 # built for inclusion in a dll (and should export symbols for example). 8127 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8128 # (--disable-auto-import) libraries 8129 lt_prog_compiler_pic='-DDLL_EXPORT' 8130 ;; 8131 8132 darwin* | rhapsody*) 8133 # PIC is the default on this platform 8134 # Common symbols not allowed in MH_DYLIB files 8135 lt_prog_compiler_pic='-fno-common' 8136 ;; 8137 8138 interix[3-9]*) 8139 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8140 # Instead, we relocate shared libraries at runtime. 8141 ;; 8142 8143 msdosdjgpp*) 8144 # Just because we use GCC doesn't mean we suddenly get shared libraries 8145 # on systems that don't support them. 8146 lt_prog_compiler_can_build_shared=no 8147 enable_shared=no 8148 ;; 8149 8150 sysv4*MP*) 8151 if test -d /usr/nec; then 8152 lt_prog_compiler_pic=-Kconform_pic 8153 fi 8154 ;; 8155 8156 hpux*) 8157 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8158 # not for PA HP-UX. 8159 case $host_cpu in 8160 hppa*64*|ia64*) 8161 # +Z the default 8162 ;; 8163 *) 8164 lt_prog_compiler_pic='-fPIC' 8165 ;; 8166 esac 8167 ;; 8168 8169 *) 8170 lt_prog_compiler_pic='-fPIC' 8171 ;; 8172 esac 8173 else 8174 # PORTME Check for flag to pass linker flags through the system compiler. 8175 case $host_os in 8176 aix*) 8177 lt_prog_compiler_wl='-Wl,' 8178 if test "$host_cpu" = ia64; then 8179 # AIX 5 now supports IA64 processor 8180 lt_prog_compiler_static='-Bstatic' 8181 else 8182 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8183 fi 8184 ;; 8185 darwin*) 8186 # PIC is the default on this platform 8187 # Common symbols not allowed in MH_DYLIB files 8188 case $cc_basename in 8189 xlc*) 8190 lt_prog_compiler_pic='-qnocommon' 8191 lt_prog_compiler_wl='-Wl,' 8192 ;; 8193 esac 8194 ;; 8195 8196 mingw* | cygwin* | pw32* | os2*) 8197 # This hack is so that the source file can tell whether it is being 8198 # built for inclusion in a dll (and should export symbols for example). 8199 lt_prog_compiler_pic='-DDLL_EXPORT' 8200 ;; 8201 8202 hpux9* | hpux10* | hpux11*) 8203 lt_prog_compiler_wl='-Wl,' 8204 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8205 # not for PA HP-UX. 8206 case $host_cpu in 8207 hppa*64*|ia64*) 8208 # +Z the default 8209 ;; 8210 *) 8211 lt_prog_compiler_pic='+Z' 8212 ;; 8213 esac 8214 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8215 lt_prog_compiler_static='${wl}-a ${wl}archive' 8216 ;; 8217 8218 irix5* | irix6* | nonstopux*) 8219 lt_prog_compiler_wl='-Wl,' 8220 # PIC (with -KPIC) is the default. 8221 lt_prog_compiler_static='-non_shared' 8222 ;; 8223 8224 newsos6) 8225 lt_prog_compiler_pic='-KPIC' 8226 lt_prog_compiler_static='-Bstatic' 8227 ;; 8228 8229 linux* | k*bsd*-gnu) 8230 case $cc_basename in 8231 icc* | ecc*) 8232 lt_prog_compiler_wl='-Wl,' 8233 lt_prog_compiler_pic='-KPIC' 8234 lt_prog_compiler_static='-static' 8235 ;; 8236 pgcc* | pgf77* | pgf90* | pgf95*) 8237 # Portland Group compilers (*not* the Pentium gcc compiler, 8238 # which looks to be a dead project) 8239 lt_prog_compiler_wl='-Wl,' 8240 lt_prog_compiler_pic='-fpic' 8241 lt_prog_compiler_static='-Bstatic' 8242 ;; 8243 ccc*) 8244 lt_prog_compiler_wl='-Wl,' 8245 # All Alpha code is PIC. 8246 lt_prog_compiler_static='-non_shared' 8247 ;; 8248 *) 8249 case `$CC -V 2>&1 | sed 5q` in 8250 *Sun\ C*) 8251 # Sun C 5.9 8252 lt_prog_compiler_pic='-KPIC' 8253 lt_prog_compiler_static='-Bstatic' 8254 lt_prog_compiler_wl='-Wl,' 8255 ;; 8256 *Sun\ F*) 8257 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8258 lt_prog_compiler_pic='-KPIC' 8259 lt_prog_compiler_static='-Bstatic' 8260 lt_prog_compiler_wl='' 8261 ;; 8262 esac 8263 ;; 8264 esac 8265 ;; 8266 8267 osf3* | osf4* | osf5*) 8268 lt_prog_compiler_wl='-Wl,' 8269 # All OSF/1 code is PIC. 8270 lt_prog_compiler_static='-non_shared' 8271 ;; 8272 8273 rdos*) 8274 lt_prog_compiler_static='-non_shared' 8275 ;; 8276 8277 solaris*) 8278 lt_prog_compiler_pic='-KPIC' 8279 lt_prog_compiler_static='-Bstatic' 8280 case $cc_basename in 8281 f77* | f90* | f95*) 8282 lt_prog_compiler_wl='-Qoption ld ';; 8283 *) 8284 lt_prog_compiler_wl='-Wl,';; 8285 esac 8286 ;; 8287 8288 sunos4*) 8289 lt_prog_compiler_wl='-Qoption ld ' 8290 lt_prog_compiler_pic='-PIC' 8291 lt_prog_compiler_static='-Bstatic' 8292 ;; 8293 8294 sysv4 | sysv4.2uw2* | sysv4.3*) 8295 lt_prog_compiler_wl='-Wl,' 8296 lt_prog_compiler_pic='-KPIC' 8297 lt_prog_compiler_static='-Bstatic' 8298 ;; 8299 8300 sysv4*MP*) 8301 if test -d /usr/nec ;then 8302 lt_prog_compiler_pic='-Kconform_pic' 8303 lt_prog_compiler_static='-Bstatic' 8304 fi 8305 ;; 8306 8307 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8308 lt_prog_compiler_wl='-Wl,' 8309 lt_prog_compiler_pic='-KPIC' 8310 lt_prog_compiler_static='-Bstatic' 8311 ;; 8312 8313 unicos*) 8314 lt_prog_compiler_wl='-Wl,' 8315 lt_prog_compiler_can_build_shared=no 8316 ;; 8317 8318 uts4*) 8319 lt_prog_compiler_pic='-pic' 8320 lt_prog_compiler_static='-Bstatic' 8321 ;; 8322 8323 *) 8324 lt_prog_compiler_can_build_shared=no 8325 ;; 8326 esac 8327 fi 8328 8329 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 8330 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; } 8331 8332 # 8333 # Check to make sure the PIC flag actually works. 8334 # 8335 if test -n "$lt_prog_compiler_pic"; then 8336 8337 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8338 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; } 8339 if test "${lt_prog_compiler_pic_works+set}" = set; then 8340 echo $ECHO_N "(cached) $ECHO_C" >&6 8341 else 8342 lt_prog_compiler_pic_works=no 8343 ac_outfile=conftest.$ac_objext 8344 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8345 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 8346 # Insert the option either (1) after the last *FLAGS variable, or 8347 # (2) before a word containing "conftest.", or (3) at the end. 8348 # Note that $ac_compile itself does not contain backslashes and begins 8349 # with a dollar sign (not a hyphen), so the echo should work correctly. 8350 # The option is referenced via a variable to avoid confusing sed. 8351 lt_compile=`echo "$ac_compile" | $SED \ 8352 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8353 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8354 -e 's:$: $lt_compiler_flag:'` 8355 (eval echo "\"\$as_me:8355: $lt_compile\"" >&5) 8356 (eval "$lt_compile" 2>conftest.err) 8357 ac_status=$? 8358 cat conftest.err >&5 8359 echo "$as_me:8359: \$? = $ac_status" >&5 8360 if (exit $ac_status) && test -s "$ac_outfile"; then 8361 # The compiler can only warn and ignore the option if not recognized 8362 # So say no if there are warnings other than the usual output. 8363 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 8364 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8365 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8366 lt_prog_compiler_pic_works=yes 8367 fi 8368 fi 8369 $rm conftest* 8370 8371 fi 8372 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5 8373 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; } 8374 8375 if test x"$lt_prog_compiler_pic_works" = xyes; then 8376 case $lt_prog_compiler_pic in 8377 "" | " "*) ;; 8378 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8379 esac 8380 else 8381 lt_prog_compiler_pic= 8382 lt_prog_compiler_can_build_shared=no 8383 fi 8384 8385 fi 8386 case $host_os in 8387 # For platforms which do not support PIC, -DPIC is meaningless: 8388 *djgpp*) 8389 lt_prog_compiler_pic= 8390 ;; 8391 *) 8392 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8393 ;; 8394 esac 8395 8396 # 8397 # Check to make sure the static flag actually works. 8398 # 8399 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8400 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8401 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } 8402 if test "${lt_prog_compiler_static_works+set}" = set; then 8403 echo $ECHO_N "(cached) $ECHO_C" >&6 8404 else 8405 lt_prog_compiler_static_works=no 8406 save_LDFLAGS="$LDFLAGS" 8407 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8408 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8409 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8410 # The linker can only warn and ignore the option if not recognized 8411 # So say no if there are warnings 8412 if test -s conftest.err; then 8413 # Append any errors to the config.log. 8414 cat conftest.err 1>&5 8415 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 8416 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8417 if diff conftest.exp conftest.er2 >/dev/null; then 8418 lt_prog_compiler_static_works=yes 8419 fi 8420 else 8421 lt_prog_compiler_static_works=yes 8422 fi 8423 fi 8424 $rm conftest* 8425 LDFLAGS="$save_LDFLAGS" 8426 8427 fi 8428 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 8429 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; } 8430 8431 if test x"$lt_prog_compiler_static_works" = xyes; then 8432 : 8433 else 8434 lt_prog_compiler_static= 8435 fi 8436 8437 8438 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 8439 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } 8440 if test "${lt_cv_prog_compiler_c_o+set}" = set; then 8441 echo $ECHO_N "(cached) $ECHO_C" >&6 8442 else 8443 lt_cv_prog_compiler_c_o=no 8444 $rm -r conftest 2>/dev/null 8445 mkdir conftest 8446 cd conftest 8447 mkdir out 8448 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8449 8450 lt_compiler_flag="-o out/conftest2.$ac_objext" 8451 # Insert the option either (1) after the last *FLAGS variable, or 8452 # (2) before a word containing "conftest.", or (3) at the end. 8453 # Note that $ac_compile itself does not contain backslashes and begins 8454 # with a dollar sign (not a hyphen), so the echo should work correctly. 8455 lt_compile=`echo "$ac_compile" | $SED \ 8456 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8457 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8458 -e 's:$: $lt_compiler_flag:'` 8459 (eval echo "\"\$as_me:8459: $lt_compile\"" >&5) 8460 (eval "$lt_compile" 2>out/conftest.err) 8461 ac_status=$? 8462 cat out/conftest.err >&5 8463 echo "$as_me:8463: \$? = $ac_status" >&5 8464 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8465 then 8466 # The compiler can only warn and ignore the option if not recognized 8467 # So say no if there are warnings 8468 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 8469 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8470 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8471 lt_cv_prog_compiler_c_o=yes 8472 fi 8473 fi 8474 chmod u+w . 2>&5 8475 $rm conftest* 8476 # SGI C++ compiler will create directory out/ii_files/ for 8477 # template instantiation 8478 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 8479 $rm out/* && rmdir out 8480 cd .. 8481 rmdir conftest 8482 $rm conftest* 8483 8484 fi 8485 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 8486 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; } 8487 8488 8489 hard_links="nottested" 8490 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 8491 # do not overwrite the value of need_locks provided by the user 8492 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 8493 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } 8494 hard_links=yes 8495 $rm conftest* 8496 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8497 touch conftest.a 8498 ln conftest.a conftest.b 2>&5 || hard_links=no 8499 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8500 { echo "$as_me:$LINENO: result: $hard_links" >&5 8501 echo "${ECHO_T}$hard_links" >&6; } 8502 if test "$hard_links" = no; then 8503 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8504 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8505 need_locks=warn 8506 fi 8507 else 8508 need_locks=no 8509 fi 8510 8511 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8512 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } 8513 8514 runpath_var= 8515 allow_undefined_flag= 8516 enable_shared_with_static_runtimes=no 8517 archive_cmds= 8518 archive_expsym_cmds= 8519 old_archive_From_new_cmds= 8520 old_archive_from_expsyms_cmds= 8521 export_dynamic_flag_spec= 8522 whole_archive_flag_spec= 8523 thread_safe_flag_spec= 8524 hardcode_libdir_flag_spec= 8525 hardcode_libdir_flag_spec_ld= 8526 hardcode_libdir_separator= 8527 hardcode_direct=no 8528 hardcode_minus_L=no 8529 hardcode_shlibpath_var=unsupported 8530 link_all_deplibs=unknown 8531 hardcode_automatic=no 8532 module_cmds= 8533 module_expsym_cmds= 8534 always_export_symbols=no 8535 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8536 # include_expsyms should be a list of space-separated symbols to be *always* 8537 # included in the symbol list 8538 include_expsyms= 8539 # exclude_expsyms can be an extended regexp of symbols to exclude 8540 # it will be wrapped by ` (' and `)$', so one must not match beginning or 8541 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 8542 # as well as any symbol that contains `d'. 8543 exclude_expsyms="_GLOBAL_OFFSET_TABLE_" 8544 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8545 # platforms (ab)use it in PIC code, but their linkers get confused if 8546 # the symbol is explicitly referenced. Since portable code cannot 8547 # rely on this symbol name, it's probably fine to never include it in 8548 # preloaded symbol tables. 8549 extract_expsyms_cmds= 8550 # Just being paranoid about ensuring that cc_basename is set. 8551 for cc_temp in $compiler""; do 8552 case $cc_temp in 8553 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8554 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8555 \-*) ;; 8556 *) break;; 8557 esac 8558 done 8559 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 8560 8561 case $host_os in 8562 cygwin* | mingw* | pw32*) 8563 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8564 # When not using gcc, we currently assume that we are using 8565 # Microsoft Visual C++. 8566 if test "$GCC" != yes; then 8567 with_gnu_ld=no 8568 fi 8569 ;; 8570 interix*) 8571 # we just hope/assume this is gcc and not c89 (= MSVC++) 8572 with_gnu_ld=yes 8573 ;; 8574 openbsd*) 8575 with_gnu_ld=no 8576 ;; 8577 esac 8578 8579 ld_shlibs=yes 8580 if test "$with_gnu_ld" = yes; then 8581 # If archive_cmds runs LD, not CC, wlarc should be empty 8582 wlarc='${wl}' 8583 8584 # Set some defaults for GNU ld with shared library support. These 8585 # are reset later if shared libraries are not supported. Putting them 8586 # here allows them to be overridden if necessary. 8587 runpath_var=LD_RUN_PATH 8588 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' 8589 export_dynamic_flag_spec='${wl}--export-dynamic' 8590 # ancient GNU ld didn't support --whole-archive et. al. 8591 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then 8592 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 8593 else 8594 whole_archive_flag_spec= 8595 fi 8596 supports_anon_versioning=no 8597 case `$LD -v 2>/dev/null` in 8598 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8599 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8600 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8601 *\ 2.11.*) ;; # other 2.11 versions 8602 *) supports_anon_versioning=yes ;; 8603 esac 8604 8605 # See if GNU ld supports shared libraries. 8606 case $host_os in 8607 aix3* | aix4* | aix5*) 8608 # On AIX/PPC, the GNU linker is very broken 8609 if test "$host_cpu" != ia64; then 8610 ld_shlibs=no 8611 cat <<EOF 1>&2 8612 8613 *** Warning: the GNU linker, at least up to release 2.9.1, is reported 8614 *** to be unable to reliably create shared libraries on AIX. 8615 *** Therefore, libtool is disabling shared libraries support. If you 8616 *** really care for shared libraries, you may want to modify your PATH 8617 *** so that a non-GNU linker is found, and then restart. 8618 8619 EOF 8620 fi 8621 ;; 8622 8623 amigaos*) 8624 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)' 8625 hardcode_libdir_flag_spec='-L$libdir' 8626 hardcode_minus_L=yes 8627 8628 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports 8629 # that the semantics of dynamic libraries on AmigaOS, at least up 8630 # to version 4, is to share data among multiple programs linked 8631 # with the same dynamic library. Since this doesn't match the 8632 # behavior of shared libraries on other platforms, we can't use 8633 # them. 8634 ld_shlibs=no 8635 ;; 8636 8637 beos*) 8638 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 8639 allow_undefined_flag=unsupported 8640 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 8641 # support --undefined. This deserves some investigation. FIXME 8642 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8643 else 8644 ld_shlibs=no 8645 fi 8646 ;; 8647 8648 cygwin* | mingw* | pw32*) 8649 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8650 # as there is no search path for DLLs. 8651 hardcode_libdir_flag_spec='-L$libdir' 8652 allow_undefined_flag=unsupported 8653 always_export_symbols=no 8654 enable_shared_with_static_runtimes=yes 8655 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 8656 8657 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then 8658 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8659 # If the export-symbols file already is a .def file (1st line 8660 # is EXPORTS), use it as is; otherwise, prepend... 8661 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 8662 cp $export_symbols $output_objdir/$soname.def; 8663 else 8664 echo EXPORTS > $output_objdir/$soname.def; 8665 cat $export_symbols >> $output_objdir/$soname.def; 8666 fi~ 8667 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8668 else 8669 ld_shlibs=no 8670 fi 8671 ;; 8672 8673 interix[3-9]*) 8674 hardcode_direct=no 8675 hardcode_shlibpath_var=no 8676 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8677 export_dynamic_flag_spec='${wl}-E' 8678 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 8679 # Instead, shared libraries are loaded at an image base (0x10000000 by 8680 # default) and relocated if they conflict, which is a slow very memory 8681 # consuming and fragmenting process. To avoid this, we pick a random, 8682 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 8683 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8684 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8685 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' 8686 ;; 8687 8688 gnu* | linux* | k*bsd*-gnu) 8689 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 8690 tmp_addflag= 8691 case $cc_basename,$host_cpu in 8692 pgcc*) # Portland Group C compiler 8693 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' 8694 tmp_addflag=' $pic_flag' 8695 ;; 8696 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 8697 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' 8698 tmp_addflag=' $pic_flag -Mnomain' ;; 8699 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 8700 tmp_addflag=' -i_dynamic' ;; 8701 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 8702 tmp_addflag=' -i_dynamic -nofor_main' ;; 8703 ifc* | ifort*) # Intel Fortran compiler 8704 tmp_addflag=' -nofor_main' ;; 8705 esac 8706 case `$CC -V 2>&1 | sed 5q` in 8707 *Sun\ C*) # Sun C 5.9 8708 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' 8709 tmp_sharedflag='-G' ;; 8710 *Sun\ F*) # Sun Fortran 8.3 8711 tmp_sharedflag='-G' ;; 8712 *) 8713 tmp_sharedflag='-shared' ;; 8714 esac 8715 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8716 8717 if test $supports_anon_versioning = yes; then 8718 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ 8719 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8720 $echo "local: *; };" >> $output_objdir/$libname.ver~ 8721 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 8722 fi 8723 else 8724 ld_shlibs=no 8725 fi 8726 ;; 8727 8728 netbsd*) 8729 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 8730 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 8731 wlarc= 8732 else 8733 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8734 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8735 fi 8736 ;; 8737 8738 solaris*) 8739 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then 8740 ld_shlibs=no 8741 cat <<EOF 1>&2 8742 8743 *** Warning: The releases 2.8.* of the GNU linker cannot reliably 8744 *** create shared libraries on Solaris systems. Therefore, libtool 8745 *** is disabling shared libraries support. We urge you to upgrade GNU 8746 *** binutils to release 2.9.1 or newer. Another option is to modify 8747 *** your PATH or compiler configuration so that the native linker is 8748 *** used, and then restart. 8749 8750 EOF 8751 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 8752 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8753 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8754 else 8755 ld_shlibs=no 8756 fi 8757 ;; 8758 8759 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 8760 case `$LD -v 2>&1` in 8761 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 8762 ld_shlibs=no 8763 cat <<_LT_EOF 1>&2 8764 8765 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 8766 *** reliably create shared libraries on SCO systems. Therefore, libtool 8767 *** is disabling shared libraries support. We urge you to upgrade GNU 8768 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify 8769 *** your PATH or compiler configuration so that the native linker is 8770 *** used, and then restart. 8771 8772 _LT_EOF 8773 ;; 8774 *) 8775 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 8776 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' 8777 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' 8778 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' 8779 else 8780 ld_shlibs=no 8781 fi 8782 ;; 8783 esac 8784 ;; 8785 8786 sunos4*) 8787 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8788 wlarc= 8789 hardcode_direct=yes 8790 hardcode_shlibpath_var=no 8791 ;; 8792 8793 *) 8794 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 8795 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8796 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8797 else 8798 ld_shlibs=no 8799 fi 8800 ;; 8801 esac 8802 8803 if test "$ld_shlibs" = no; then 8804 runpath_var= 8805 hardcode_libdir_flag_spec= 8806 export_dynamic_flag_spec= 8807 whole_archive_flag_spec= 8808 fi 8809 else 8810 # PORTME fill in a description of your system's linker (not GNU ld) 8811 case $host_os in 8812 aix3*) 8813 allow_undefined_flag=unsupported 8814 always_export_symbols=yes 8815 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' 8816 # Note: this linker hardcodes the directories in LIBPATH if there 8817 # are no directories specified by -L. 8818 hardcode_minus_L=yes 8819 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 8820 # Neither direct hardcoding nor static linking is supported with a 8821 # broken collect2. 8822 hardcode_direct=unsupported 8823 fi 8824 ;; 8825 8826 aix4* | aix5*) 8827 if test "$host_cpu" = ia64; then 8828 # On IA64, the linker does run time linking by default, so we don't 8829 # have to do anything special. 8830 aix_use_runtimelinking=no 8831 exp_sym_flag='-Bexport' 8832 no_entry_flag="" 8833 else 8834 # If we're using GNU nm, then we don't want the "-C" option. 8835 # -C means demangle to AIX nm, but means don't demangle with GNU nm 8836 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then 8837 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' 8838 else 8839 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' 8840 fi 8841 aix_use_runtimelinking=no 8842 8843 # Test if we are trying to use run time linking or normal 8844 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 8845 # need to do runtime linking. 8846 case $host_os in aix4.[23]|aix4.[23].*|aix5*) 8847 for ld_flag in $LDFLAGS; do 8848 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 8849 aix_use_runtimelinking=yes 8850 break 8851 fi 8852 done 8853 ;; 8854 esac 8855 8856 exp_sym_flag='-bexport' 8857 no_entry_flag='-bnoentry' 8858 fi 8859 8860 # When large executables or shared objects are built, AIX ld can 8861 # have problems creating the table of contents. If linking a library 8862 # or program results in "error TOC overflow" add -mminimal-toc to 8863 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 8864 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 8865 8866 archive_cmds='' 8867 hardcode_direct=yes 8868 hardcode_libdir_separator=':' 8869 link_all_deplibs=yes 8870 8871 if test "$GCC" = yes; then 8872 case $host_os in aix4.[012]|aix4.[012].*) 8873 # We only want to do this on AIX 4.2 and lower, the check 8874 # below for broken collect2 doesn't work under 4.3+ 8875 collect2name=`${CC} -print-prog-name=collect2` 8876 if test -f "$collect2name" && \ 8877 strings "$collect2name" | grep resolve_lib_name >/dev/null 8878 then 8879 # We have reworked collect2 8880 : 8881 else 8882 # We have old collect2 8883 hardcode_direct=unsupported 8884 # It fails to find uninstalled libraries when the uninstalled 8885 # path is not listed in the libpath. Setting hardcode_minus_L 8886 # to unsupported forces relinking 8887 hardcode_minus_L=yes 8888 hardcode_libdir_flag_spec='-L$libdir' 8889 hardcode_libdir_separator= 8890 fi 8891 ;; 8892 esac 8893 shared_flag='-shared' 8894 if test "$aix_use_runtimelinking" = yes; then 8895 shared_flag="$shared_flag "'${wl}-G' 8896 fi 8897 else 8898 # not using gcc 8899 if test "$host_cpu" = ia64; then 8900 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 8901 # chokes on -Wl,-G. The following line is correct: 8902 shared_flag='-G' 8903 else 8904 if test "$aix_use_runtimelinking" = yes; then 8905 shared_flag='${wl}-G' 8906 else 8907 shared_flag='${wl}-bM:SRE' 8908 fi 8909 fi 8910 fi 8911 8912 # It seems that -bexpall does not export symbols beginning with 8913 # underscore (_), so it is better to generate a list of symbols to export. 8914 always_export_symbols=yes 8915 if test "$aix_use_runtimelinking" = yes; then 8916 # Warning - without using the other runtime loading flags (-brtl), 8917 # -berok will link without error, but may produce a broken library. 8918 allow_undefined_flag='-berok' 8919 # Determine the default libpath from the value encoded in an empty executable. 8920 cat >conftest.$ac_ext <<_ACEOF 8921 /* confdefs.h. */ 8922 _ACEOF 8923 cat confdefs.h >>conftest.$ac_ext 8924 cat >>conftest.$ac_ext <<_ACEOF 8925 /* end confdefs.h. */ 8926 8927 int 8928 main () 8929 { 8930 8931 ; 8932 return 0; 8933 } 8934 _ACEOF 8935 rm -f conftest.$ac_objext conftest$ac_exeext 8936 if { (ac_try="$ac_link" 8937 case "(($ac_try" in 8938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8939 *) ac_try_echo=$ac_try;; 8940 esac 8941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8942 (eval "$ac_link") 2>conftest.er1 8943 ac_status=$? 8944 grep -v '^ *+' conftest.er1 >conftest.err 8945 rm -f conftest.er1 8946 cat conftest.err >&5 8947 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8948 (exit $ac_status); } && { 8949 test -z "$ac_c_werror_flag" || 8950 test ! -s conftest.err 8951 } && test -s conftest$ac_exeext && 8952 $as_test_x conftest$ac_exeext; then 8953 8954 lt_aix_libpath_sed=' 8955 /Import File Strings/,/^$/ { 8956 /^0/ { 8957 s/^0 *\(.*\)$/\1/ 8958 p 8959 } 8960 }' 8961 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8962 # Check for a 64-bit object if we didn't find anything. 8963 if test -z "$aix_libpath"; then 8964 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8965 fi 8966 else 8967 echo "$as_me: failed program was:" >&5 8968 sed 's/^/| /' conftest.$ac_ext >&5 8969 8970 8971 fi 8972 8973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8974 conftest$ac_exeext conftest.$ac_ext 8975 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8976 8977 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8978 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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 8979 else 8980 if test "$host_cpu" = ia64; then 8981 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 8982 allow_undefined_flag="-z nodefs" 8983 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" 8984 else 8985 # Determine the default libpath from the value encoded in an empty executable. 8986 cat >conftest.$ac_ext <<_ACEOF 8987 /* confdefs.h. */ 8988 _ACEOF 8989 cat confdefs.h >>conftest.$ac_ext 8990 cat >>conftest.$ac_ext <<_ACEOF 8991 /* end confdefs.h. */ 8992 8993 int 8994 main () 8995 { 8996 8997 ; 8998 return 0; 8999 } 9000 _ACEOF 9001 rm -f conftest.$ac_objext conftest$ac_exeext 9002 if { (ac_try="$ac_link" 9003 case "(($ac_try" in 9004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9005 *) ac_try_echo=$ac_try;; 9006 esac 9007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9008 (eval "$ac_link") 2>conftest.er1 9009 ac_status=$? 9010 grep -v '^ *+' conftest.er1 >conftest.err 9011 rm -f conftest.er1 9012 cat conftest.err >&5 9013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9014 (exit $ac_status); } && { 9015 test -z "$ac_c_werror_flag" || 9016 test ! -s conftest.err 9017 } && test -s conftest$ac_exeext && 9018 $as_test_x conftest$ac_exeext; then 9019 9020 lt_aix_libpath_sed=' 9021 /Import File Strings/,/^$/ { 9022 /^0/ { 9023 s/^0 *\(.*\)$/\1/ 9024 p 9025 } 9026 }' 9027 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9028 # Check for a 64-bit object if we didn't find anything. 9029 if test -z "$aix_libpath"; then 9030 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9031 fi 9032 else 9033 echo "$as_me: failed program was:" >&5 9034 sed 's/^/| /' conftest.$ac_ext >&5 9035 9036 9037 fi 9038 9039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9040 conftest$ac_exeext conftest.$ac_ext 9041 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 9042 9043 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9044 # Warning - without using the other run time loading flags, 9045 # -berok will link without error, but may produce a broken library. 9046 no_undefined_flag=' ${wl}-bernotok' 9047 allow_undefined_flag=' ${wl}-berok' 9048 # Exported symbols can be pulled into shared objects from archives 9049 whole_archive_flag_spec='$convenience' 9050 archive_cmds_need_lc=yes 9051 # This is similar to how AIX traditionally builds its shared libraries. 9052 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' 9053 fi 9054 fi 9055 ;; 9056 9057 amigaos*) 9058 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)' 9059 hardcode_libdir_flag_spec='-L$libdir' 9060 hardcode_minus_L=yes 9061 # see comment about different semantics on the GNU ld section 9062 ld_shlibs=no 9063 ;; 9064 9065 bsdi[45]*) 9066 export_dynamic_flag_spec=-rdynamic 9067 ;; 9068 9069 cygwin* | mingw* | pw32*) 9070 # When not using gcc, we currently assume that we are using 9071 # Microsoft Visual C++. 9072 # hardcode_libdir_flag_spec is actually meaningless, as there is 9073 # no search path for DLLs. 9074 hardcode_libdir_flag_spec=' ' 9075 allow_undefined_flag=unsupported 9076 # Tell ltmain to make .lib files, not .a files. 9077 libext=lib 9078 # Tell ltmain to make .dll files, not .so files. 9079 shrext_cmds=".dll" 9080 # FIXME: Setting linknames here is a bad hack. 9081 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' 9082 # The linker will automatically build a .lib file if we build a DLL. 9083 old_archive_From_new_cmds='true' 9084 # FIXME: Should let the user specify the lib program. 9085 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9086 fix_srcfile_path='`cygpath -w "$srcfile"`' 9087 enable_shared_with_static_runtimes=yes 9088 ;; 9089 9090 darwin* | rhapsody*) 9091 case $host_os in 9092 rhapsody* | darwin1.[012]) 9093 allow_undefined_flag='${wl}-undefined ${wl}suppress' 9094 ;; 9095 *) # Darwin 1.3 on 9096 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 9097 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 9098 else 9099 case ${MACOSX_DEPLOYMENT_TARGET} in 9100 10.[012]) 9101 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 9102 ;; 9103 10.*) 9104 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup' 9105 ;; 9106 esac 9107 fi 9108 ;; 9109 esac 9110 archive_cmds_need_lc=no 9111 hardcode_direct=no 9112 hardcode_automatic=yes 9113 hardcode_shlibpath_var=unsupported 9114 whole_archive_flag_spec='' 9115 link_all_deplibs=yes 9116 if test "$GCC" = yes ; then 9117 output_verbose_link_cmd='echo' 9118 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 9119 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 9120 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 9121 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 9122 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 9123 else 9124 case $cc_basename in 9125 xlc*) 9126 output_verbose_link_cmd='echo' 9127 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' 9128 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 9129 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 9130 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 9131 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 9132 ;; 9133 *) 9134 ld_shlibs=no 9135 ;; 9136 esac 9137 fi 9138 ;; 9139 9140 dgux*) 9141 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9142 hardcode_libdir_flag_spec='-L$libdir' 9143 hardcode_shlibpath_var=no 9144 ;; 9145 9146 freebsd1*) 9147 ld_shlibs=no 9148 ;; 9149 9150 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9151 # support. Future versions do this automatically, but an explicit c++rt0.o 9152 # does not break anything, and helps significantly (at the cost of a little 9153 # extra space). 9154 freebsd2.2*) 9155 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9156 hardcode_libdir_flag_spec='-R$libdir' 9157 hardcode_direct=yes 9158 hardcode_shlibpath_var=no 9159 ;; 9160 9161 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9162 freebsd2*) 9163 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9164 hardcode_direct=yes 9165 hardcode_minus_L=yes 9166 hardcode_shlibpath_var=no 9167 ;; 9168 9169 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9170 freebsd* | dragonfly*) 9171 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 9172 hardcode_libdir_flag_spec='-R$libdir' 9173 hardcode_direct=yes 9174 hardcode_shlibpath_var=no 9175 ;; 9176 9177 hpux9*) 9178 if test "$GCC" = yes; then 9179 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' 9180 else 9181 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' 9182 fi 9183 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9184 hardcode_libdir_separator=: 9185 hardcode_direct=yes 9186 9187 # hardcode_minus_L: Not really in the search PATH, 9188 # but as the default location of the library. 9189 hardcode_minus_L=yes 9190 export_dynamic_flag_spec='${wl}-E' 9191 ;; 9192 9193 hpux10*) 9194 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 9195 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9196 else 9197 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9198 fi 9199 if test "$with_gnu_ld" = no; then 9200 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9201 hardcode_libdir_separator=: 9202 9203 hardcode_direct=yes 9204 export_dynamic_flag_spec='${wl}-E' 9205 9206 # hardcode_minus_L: Not really in the search PATH, 9207 # but as the default location of the library. 9208 hardcode_minus_L=yes 9209 fi 9210 ;; 9211 9212 hpux11*) 9213 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 9214 case $host_cpu in 9215 hppa*64*) 9216 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9217 ;; 9218 ia64*) 9219 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9220 ;; 9221 *) 9222 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9223 ;; 9224 esac 9225 else 9226 case $host_cpu in 9227 hppa*64*) 9228 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9229 ;; 9230 ia64*) 9231 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9232 ;; 9233 *) 9234 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9235 ;; 9236 esac 9237 fi 9238 if test "$with_gnu_ld" = no; then 9239 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9240 hardcode_libdir_separator=: 9241 9242 case $host_cpu in 9243 hppa*64*|ia64*) 9244 hardcode_libdir_flag_spec_ld='+b $libdir' 9245 hardcode_direct=no 9246 hardcode_shlibpath_var=no 9247 ;; 9248 *) 9249 hardcode_direct=yes 9250 export_dynamic_flag_spec='${wl}-E' 9251 9252 # hardcode_minus_L: Not really in the search PATH, 9253 # but as the default location of the library. 9254 hardcode_minus_L=yes 9255 ;; 9256 esac 9257 fi 9258 ;; 9259 9260 irix5* | irix6* | nonstopux*) 9261 if test "$GCC" = yes; then 9262 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 9263 else 9264 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 9265 hardcode_libdir_flag_spec_ld='-rpath $libdir' 9266 fi 9267 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9268 hardcode_libdir_separator=: 9269 link_all_deplibs=yes 9270 ;; 9271 9272 netbsd*) 9273 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 9274 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9275 else 9276 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9277 fi 9278 hardcode_libdir_flag_spec='-R$libdir' 9279 hardcode_direct=yes 9280 hardcode_shlibpath_var=no 9281 ;; 9282 9283 newsos6) 9284 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9285 hardcode_direct=yes 9286 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9287 hardcode_libdir_separator=: 9288 hardcode_shlibpath_var=no 9289 ;; 9290 9291 openbsd*) 9292 if test -f /usr/libexec/ld.so; then 9293 hardcode_direct=yes 9294 hardcode_shlibpath_var=no 9295 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9296 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9297 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 9298 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9299 export_dynamic_flag_spec='${wl}-E' 9300 else 9301 case $host_os in 9302 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 9303 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9304 hardcode_libdir_flag_spec='-R$libdir' 9305 ;; 9306 *) 9307 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9308 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9309 ;; 9310 esac 9311 fi 9312 else 9313 ld_shlibs=no 9314 fi 9315 ;; 9316 9317 os2*) 9318 hardcode_libdir_flag_spec='-L$libdir' 9319 hardcode_minus_L=yes 9320 allow_undefined_flag=unsupported 9321 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' 9322 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 9323 ;; 9324 9325 osf3*) 9326 if test "$GCC" = yes; then 9327 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9328 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 9329 else 9330 allow_undefined_flag=' -expect_unresolved \*' 9331 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 9332 fi 9333 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9334 hardcode_libdir_separator=: 9335 ;; 9336 9337 osf4* | osf5*) # as osf3* with the addition of -msym flag 9338 if test "$GCC" = yes; then 9339 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9340 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 9341 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9342 else 9343 allow_undefined_flag=' -expect_unresolved \*' 9344 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 9345 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ 9346 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' 9347 9348 # Both c and cxx compiler support -rpath directly 9349 hardcode_libdir_flag_spec='-rpath $libdir' 9350 fi 9351 hardcode_libdir_separator=: 9352 ;; 9353 9354 solaris*) 9355 no_undefined_flag=' -z text' 9356 if test "$GCC" = yes; then 9357 wlarc='${wl}' 9358 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9359 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 9360 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' 9361 else 9362 wlarc='' 9363 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 9364 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 9365 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' 9366 fi 9367 hardcode_libdir_flag_spec='-R$libdir' 9368 hardcode_shlibpath_var=no 9369 case $host_os in 9370 solaris2.[0-5] | solaris2.[0-5].*) ;; 9371 *) 9372 # The compiler driver will combine and reorder linker options, 9373 # but understands `-z linker_flag'. GCC discards it without `$wl', 9374 # but is careful enough not to reorder. 9375 # Supported since Solaris 2.6 (maybe 2.5.1?) 9376 if test "$GCC" = yes; then 9377 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 9378 else 9379 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 9380 fi 9381 ;; 9382 esac 9383 link_all_deplibs=yes 9384 ;; 9385 9386 sunos4*) 9387 if test "x$host_vendor" = xsequent; then 9388 # Use $CC to link under sequent, because it throws in some extra .o 9389 # files that make .init and .fini sections work. 9390 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 9391 else 9392 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 9393 fi 9394 hardcode_libdir_flag_spec='-L$libdir' 9395 hardcode_direct=yes 9396 hardcode_minus_L=yes 9397 hardcode_shlibpath_var=no 9398 ;; 9399 9400 sysv4) 9401 case $host_vendor in 9402 sni) 9403 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9404 hardcode_direct=yes # is this really true??? 9405 ;; 9406 siemens) 9407 ## LD is ld it makes a PLAMLIB 9408 ## CC just makes a GrossModule. 9409 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 9410 reload_cmds='$CC -r -o $output$reload_objs' 9411 hardcode_direct=no 9412 ;; 9413 motorola) 9414 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9415 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 9416 ;; 9417 esac 9418 runpath_var='LD_RUN_PATH' 9419 hardcode_shlibpath_var=no 9420 ;; 9421 9422 sysv4.3*) 9423 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9424 hardcode_shlibpath_var=no 9425 export_dynamic_flag_spec='-Bexport' 9426 ;; 9427 9428 sysv4*MP*) 9429 if test -d /usr/nec; then 9430 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9431 hardcode_shlibpath_var=no 9432 runpath_var=LD_RUN_PATH 9433 hardcode_runpath_var=yes 9434 ld_shlibs=yes 9435 fi 9436 ;; 9437 9438 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 9439 no_undefined_flag='${wl}-z,text' 9440 archive_cmds_need_lc=no 9441 hardcode_shlibpath_var=no 9442 runpath_var='LD_RUN_PATH' 9443 9444 if test "$GCC" = yes; then 9445 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9446 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9447 else 9448 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9449 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9450 fi 9451 ;; 9452 9453 sysv5* | sco3.2v5* | sco5v6*) 9454 # Note: We can NOT use -z defs as we might desire, because we do not 9455 # link with -lc, and that would cause any symbols used from libc to 9456 # always be unresolved, which means just about no library would 9457 # ever link correctly. If we're not using GNU ld we use -z text 9458 # though, which does catch some bad symbols but isn't as heavy-handed 9459 # as -z defs. 9460 no_undefined_flag='${wl}-z,text' 9461 allow_undefined_flag='${wl}-z,nodefs' 9462 archive_cmds_need_lc=no 9463 hardcode_shlibpath_var=no 9464 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' 9465 hardcode_libdir_separator=':' 9466 link_all_deplibs=yes 9467 export_dynamic_flag_spec='${wl}-Bexport' 9468 runpath_var='LD_RUN_PATH' 9469 9470 if test "$GCC" = yes; then 9471 archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 9472 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 9473 else 9474 archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 9475 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 9476 fi 9477 ;; 9478 9479 uts4*) 9480 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9481 hardcode_libdir_flag_spec='-L$libdir' 9482 hardcode_shlibpath_var=no 9483 ;; 9484 9485 *) 9486 ld_shlibs=no 9487 ;; 9488 esac 9489 fi 9490 9491 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5 9492 echo "${ECHO_T}$ld_shlibs" >&6; } 9493 test "$ld_shlibs" = no && can_build_shared=no 9494 9495 # 9496 # Do we need to explicitly link libc? 9497 # 9498 case "x$archive_cmds_need_lc" in 9499 x|xyes) 9500 # Assume -lc should be added 9501 archive_cmds_need_lc=yes 9502 9503 if test "$enable_shared" = yes && test "$GCC" = yes; then 9504 case $archive_cmds in 9505 *'~'*) 9506 # FIXME: we may have to deal with multi-command sequences. 9507 ;; 9508 '$CC '*) 9509 # Test whether the compiler implicitly links with -lc since on some 9510 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9511 # to ld, don't add -lc before -lgcc. 9512 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 9513 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } 9514 $rm conftest* 9515 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9516 9517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9518 (eval $ac_compile) 2>&5 9519 ac_status=$? 9520 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9521 (exit $ac_status); } 2>conftest.err; then 9522 soname=conftest 9523 lib=conftest 9524 libobjs=conftest.$ac_objext 9525 deplibs= 9526 wl=$lt_prog_compiler_wl 9527 pic_flag=$lt_prog_compiler_pic 9528 compiler_flags=-v 9529 linker_flags=-v 9530 verstring= 9531 output_objdir=. 9532 libname=conftest 9533 lt_save_allow_undefined_flag=$allow_undefined_flag 9534 allow_undefined_flag= 9535 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 9536 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 9537 ac_status=$? 9538 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9539 (exit $ac_status); } 9540 then 9541 archive_cmds_need_lc=no 9542 else 9543 archive_cmds_need_lc=yes 9544 fi 9545 allow_undefined_flag=$lt_save_allow_undefined_flag 9546 else 9547 cat conftest.err 1>&5 9548 fi 9549 $rm conftest* 9550 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 9551 echo "${ECHO_T}$archive_cmds_need_lc" >&6; } 9552 ;; 9553 esac 9554 fi 9555 ;; 9556 esac 9557 9558 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 9559 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } 9560 library_names_spec= 9561 libname_spec='lib$name' 9562 soname_spec= 9563 shrext_cmds=".so" 9564 postinstall_cmds= 9565 postuninstall_cmds= 9566 finish_cmds= 9567 finish_eval= 9568 shlibpath_var= 9569 shlibpath_overrides_runpath=unknown 9570 version_type=none 9571 dynamic_linker="$host_os ld.so" 9572 sys_lib_dlsearch_path_spec="/lib /usr/lib" 9573 9574 if test "$GCC" = yes; then 9575 case $host_os in 9576 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 9577 *) lt_awk_arg="/^libraries:/" ;; 9578 esac 9579 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` 9580 if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then 9581 # if the path contains ";" then we assume it to be the separator 9582 # otherwise default to the standard path separator (i.e. ":") - it is 9583 # assumed that no part of a normal pathname contains ";" but that should 9584 # okay in the real world where ";" in dirpaths is itself problematic. 9585 lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'` 9586 else 9587 lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 9588 fi 9589 # Ok, now we have the path, separated by spaces, we can step through it 9590 # and add multilib dir if necessary. 9591 lt_tmp_lt_search_path_spec= 9592 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 9593 for lt_sys_path in $lt_search_path_spec; do 9594 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 9595 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 9596 else 9597 test -d "$lt_sys_path" && \ 9598 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 9599 fi 9600 done 9601 lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk ' 9602 BEGIN {RS=" "; FS="/|\n";} { 9603 lt_foo=""; 9604 lt_count=0; 9605 for (lt_i = NF; lt_i > 0; lt_i--) { 9606 if ($lt_i != "" && $lt_i != ".") { 9607 if ($lt_i == "..") { 9608 lt_count++; 9609 } else { 9610 if (lt_count == 0) { 9611 lt_foo="/" $lt_i lt_foo; 9612 } else { 9613 lt_count--; 9614 } 9615 } 9616 } 9617 } 9618 if (lt_foo != "") { lt_freq[lt_foo]++; } 9619 if (lt_freq[lt_foo] == 1) { print lt_foo; } 9620 }'` 9621 sys_lib_search_path_spec=`echo $lt_search_path_spec` 9622 else 9623 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 9624 fi 9625 need_lib_prefix=unknown 9626 hardcode_into_libs=no 9627 9628 # when you set need_version to no, make sure it does not cause -set_version 9629 # flags to be left without arguments 9630 need_version=unknown 9631 9632 case $host_os in 9633 aix3*) 9634 version_type=linux 9635 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 9636 shlibpath_var=LIBPATH 9637 9638 # AIX 3 has no versioning support, so we append a major version to the name. 9639 soname_spec='${libname}${release}${shared_ext}$major' 9640 ;; 9641 9642 aix4* | aix5*) 9643 version_type=linux 9644 need_lib_prefix=no 9645 need_version=no 9646 hardcode_into_libs=yes 9647 if test "$host_cpu" = ia64; then 9648 # AIX 5 supports IA64 9649 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 9650 shlibpath_var=LD_LIBRARY_PATH 9651 else 9652 # With GCC up to 2.95.x, collect2 would create an import file 9653 # for dependence libraries. The import file would start with 9654 # the line `#! .'. This would cause the generated library to 9655 # depend on `.', always an invalid library. This was fixed in 9656 # development snapshots of GCC prior to 3.0. 9657 case $host_os in 9658 aix4 | aix4.[01] | aix4.[01].*) 9659 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 9660 echo ' yes ' 9661 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then 9662 : 9663 else 9664 can_build_shared=no 9665 fi 9666 ;; 9667 esac 9668 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 9669 # soname into executable. Probably we can add versioning support to 9670 # collect2, so additional links can be useful in future. 9671 if test "$aix_use_runtimelinking" = yes; then 9672 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 9673 # instead of lib<name>.a to let people know that these are not 9674 # typical AIX shared libraries. 9675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9676 else 9677 # We preserve .a as extension for shared libraries through AIX4.2 9678 # and later when we are not doing run time linking. 9679 library_names_spec='${libname}${release}.a $libname.a' 9680 soname_spec='${libname}${release}${shared_ext}$major' 9681 fi 9682 shlibpath_var=LIBPATH 9683 fi 9684 ;; 9685 9686 amigaos*) 9687 library_names_spec='$libname.ixlibrary $libname.a' 9688 # Create ${libname}_ixlibrary.a entries in /sys/libs. 9689 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' 9690 ;; 9691 9692 beos*) 9693 library_names_spec='${libname}${shared_ext}' 9694 dynamic_linker="$host_os ld.so" 9695 shlibpath_var=LIBRARY_PATH 9696 ;; 9697 9698 bsdi[45]*) 9699 version_type=linux 9700 need_version=no 9701 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9702 soname_spec='${libname}${release}${shared_ext}$major' 9703 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 9704 shlibpath_var=LD_LIBRARY_PATH 9705 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 9706 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 9707 # the default ld.so.conf also contains /usr/contrib/lib and 9708 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 9709 # libtool to hard-code these into programs 9710 ;; 9711 9712 cygwin* | mingw* | pw32*) 9713 version_type=windows 9714 shrext_cmds=".dll" 9715 need_version=no 9716 need_lib_prefix=no 9717 9718 case $GCC,$host_os in 9719 yes,cygwin* | yes,mingw* | yes,pw32*) 9720 library_names_spec='$libname.dll.a' 9721 # DLL is installed to $(libdir)/../bin by postinstall_cmds 9722 postinstall_cmds='base_file=`basename \${file}`~ 9723 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ 9724 dldir=$destdir/`dirname \$dlpath`~ 9725 test -d \$dldir || mkdir -p \$dldir~ 9726 $install_prog $dir/$dlname \$dldir/$dlname~ 9727 chmod a+x \$dldir/$dlname' 9728 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 9729 dlpath=$dir/\$dldll~ 9730 $rm \$dlpath' 9731 shlibpath_overrides_runpath=yes 9732 9733 case $host_os in 9734 cygwin*) 9735 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 9736 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9737 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 9738 ;; 9739 mingw*) 9740 # MinGW DLLs use traditional 'lib' prefix 9741 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9742 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 9743 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then 9744 # It is most probably a Windows format PATH printed by 9745 # mingw gcc, but we are running on Cygwin. Gcc prints its search 9746 # path with ; separators, and with drive letters. We can handle the 9747 # drive letters (cygwin fileutils understands them), so leave them, 9748 # especially as we might pass files found there to a mingw objdump, 9749 # which wouldn't understand a cygwinified path. Ahh. 9750 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 9751 else 9752 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 9753 fi 9754 ;; 9755 pw32*) 9756 # pw32 DLLs use 'pw' prefix rather than 'lib' 9757 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9758 ;; 9759 esac 9760 ;; 9761 9762 *) 9763 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 9764 ;; 9765 esac 9766 dynamic_linker='Win32 ld.exe' 9767 # FIXME: first we should search . and the directory the executable is in 9768 shlibpath_var=PATH 9769 ;; 9770 9771 darwin* | rhapsody*) 9772 dynamic_linker="$host_os dyld" 9773 version_type=darwin 9774 need_lib_prefix=no 9775 need_version=no 9776 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 9777 soname_spec='${libname}${release}${major}$shared_ext' 9778 shlibpath_overrides_runpath=yes 9779 shlibpath_var=DYLD_LIBRARY_PATH 9780 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 9781 9782 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 9783 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 9784 ;; 9785 9786 dgux*) 9787 version_type=linux 9788 need_lib_prefix=no 9789 need_version=no 9790 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 9791 soname_spec='${libname}${release}${shared_ext}$major' 9792 shlibpath_var=LD_LIBRARY_PATH 9793 ;; 9794 9795 freebsd1*) 9796 dynamic_linker=no 9797 ;; 9798 9799 freebsd* | dragonfly*) 9800 # DragonFly does not have aout. When/if they implement a new 9801 # versioning mechanism, adjust this. 9802 if test -x /usr/bin/objformat; then 9803 objformat=`/usr/bin/objformat` 9804 else 9805 case $host_os in 9806 freebsd[123]*) objformat=aout ;; 9807 *) objformat=elf ;; 9808 esac 9809 fi 9810 version_type=freebsd-$objformat 9811 case $version_type in 9812 freebsd-elf*) 9813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 9814 need_version=no 9815 need_lib_prefix=no 9816 ;; 9817 freebsd-*) 9818 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 9819 need_version=yes 9820 ;; 9821 esac 9822 shlibpath_var=LD_LIBRARY_PATH 9823 case $host_os in 9824 freebsd2*) 9825 shlibpath_overrides_runpath=yes 9826 ;; 9827 freebsd3.[01]* | freebsdelf3.[01]*) 9828 shlibpath_overrides_runpath=yes 9829 hardcode_into_libs=yes 9830 ;; 9831 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 9832 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 9833 shlibpath_overrides_runpath=no 9834 hardcode_into_libs=yes 9835 ;; 9836 *) # from 4.6 on, and DragonFly 9837 shlibpath_overrides_runpath=yes 9838 hardcode_into_libs=yes 9839 ;; 9840 esac 9841 ;; 9842 9843 gnu*) 9844 version_type=linux 9845 need_lib_prefix=no 9846 need_version=no 9847 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 9848 soname_spec='${libname}${release}${shared_ext}$major' 9849 shlibpath_var=LD_LIBRARY_PATH 9850 hardcode_into_libs=yes 9851 ;; 9852 9853 hpux9* | hpux10* | hpux11*) 9854 # Give a soname corresponding to the major version so that dld.sl refuses to 9855 # link against other versions. 9856 version_type=sunos 9857 need_lib_prefix=no 9858 need_version=no 9859 case $host_cpu in 9860 ia64*) 9861 shrext_cmds='.so' 9862 hardcode_into_libs=yes 9863 dynamic_linker="$host_os dld.so" 9864 shlibpath_var=LD_LIBRARY_PATH 9865 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 9866 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9867 soname_spec='${libname}${release}${shared_ext}$major' 9868 if test "X$HPUX_IA64_MODE" = X32; then 9869 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 9870 else 9871 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 9872 fi 9873 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 9874 ;; 9875 hppa*64*) 9876 shrext_cmds='.sl' 9877 hardcode_into_libs=yes 9878 dynamic_linker="$host_os dld.sl" 9879 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 9880 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 9881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9882 soname_spec='${libname}${release}${shared_ext}$major' 9883 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 9884 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 9885 ;; 9886 *) 9887 shrext_cmds='.sl' 9888 dynamic_linker="$host_os dld.sl" 9889 shlibpath_var=SHLIB_PATH 9890 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 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 ;; 9894 esac 9895 # HP-UX runs *really* slowly unless shared libraries are mode 555. 9896 postinstall_cmds='chmod 555 $lib' 9897 ;; 9898 9899 interix[3-9]*) 9900 version_type=linux 9901 need_lib_prefix=no 9902 need_version=no 9903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 9904 soname_spec='${libname}${release}${shared_ext}$major' 9905 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 9906 shlibpath_var=LD_LIBRARY_PATH 9907 shlibpath_overrides_runpath=no 9908 hardcode_into_libs=yes 9909 ;; 9910 9911 irix5* | irix6* | nonstopux*) 9912 case $host_os in 9913 nonstopux*) version_type=nonstopux ;; 9914 *) 9915 if test "$lt_cv_prog_gnu_ld" = yes; then 9916 version_type=linux 9917 else 9918 version_type=irix 9919 fi ;; 9920 esac 9921 need_lib_prefix=no 9922 need_version=no 9923 soname_spec='${libname}${release}${shared_ext}$major' 9924 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 9925 case $host_os in 9926 irix5* | nonstopux*) 9927 libsuff= shlibsuff= 9928 ;; 9929 *) 9930 case $LD in # libtool.m4 will add one of these switches to LD 9931 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 9932 libsuff= shlibsuff= libmagic=32-bit;; 9933 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 9934 libsuff=32 shlibsuff=N32 libmagic=N32;; 9935 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 9936 libsuff=64 shlibsuff=64 libmagic=64-bit;; 9937 *) libsuff= shlibsuff= libmagic=never-match;; 9938 esac 9939 ;; 9940 esac 9941 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 9942 shlibpath_overrides_runpath=no 9943 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 9944 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 9945 hardcode_into_libs=yes 9946 ;; 9947 9948 # No shared lib support for Linux oldld, aout, or coff. 9949 linux*oldld* | linux*aout* | linux*coff*) 9950 dynamic_linker=no 9951 ;; 9952 9953 # This must be Linux ELF. 9954 linux* | k*bsd*-gnu) 9955 version_type=linux 9956 need_lib_prefix=no 9957 need_version=no 9958 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9959 soname_spec='${libname}${release}${shared_ext}$major' 9960 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 9961 shlibpath_var=LD_LIBRARY_PATH 9962 shlibpath_overrides_runpath=no 9963 # This implies no fast_install, which is unacceptable. 9964 # Some rework will be needed to allow for fast_install 9965 # before this can be enabled. 9966 hardcode_into_libs=yes 9967 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 9968 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 9969 9970 # Append ld.so.conf contents to the search path 9971 if test -f /etc/ld.so.conf; then 9972 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' ' '` 9973 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 9974 fi 9975 9976 # We used to test for /lib/ld.so.1 and disable shared libraries on 9977 # powerpc, because MkLinux only supported shared libraries with the 9978 # GNU dynamic linker. Since this was broken with cross compilers, 9979 # most powerpc-linux boxes support dynamic linking these days and 9980 # people can always --disable-shared, the test was removed, and we 9981 # assume the GNU/Linux dynamic linker is in use. 9982 dynamic_linker='GNU/Linux ld.so' 9983 ;; 9984 9985 netbsd*) 9986 version_type=sunos 9987 need_lib_prefix=no 9988 need_version=no 9989 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 9990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 9991 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 9992 dynamic_linker='NetBSD (a.out) ld.so' 9993 else 9994 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 9995 soname_spec='${libname}${release}${shared_ext}$major' 9996 dynamic_linker='NetBSD ld.elf_so' 9997 fi 9998 shlibpath_var=LD_LIBRARY_PATH 9999 shlibpath_overrides_runpath=yes 10000 hardcode_into_libs=yes 10001 ;; 10002 10003 newsos6) 10004 version_type=linux 10005 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10006 shlibpath_var=LD_LIBRARY_PATH 10007 shlibpath_overrides_runpath=yes 10008 ;; 10009 10010 nto-qnx*) 10011 version_type=linux 10012 need_lib_prefix=no 10013 need_version=no 10014 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10015 soname_spec='${libname}${release}${shared_ext}$major' 10016 shlibpath_var=LD_LIBRARY_PATH 10017 shlibpath_overrides_runpath=yes 10018 ;; 10019 10020 openbsd*) 10021 version_type=sunos 10022 sys_lib_dlsearch_path_spec="/usr/lib" 10023 need_lib_prefix=no 10024 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 10025 case $host_os in 10026 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 10027 *) need_version=no ;; 10028 esac 10029 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10030 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10031 shlibpath_var=LD_LIBRARY_PATH 10032 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10033 case $host_os in 10034 openbsd2.[89] | openbsd2.[89].*) 10035 shlibpath_overrides_runpath=no 10036 ;; 10037 *) 10038 shlibpath_overrides_runpath=yes 10039 ;; 10040 esac 10041 else 10042 shlibpath_overrides_runpath=yes 10043 fi 10044 ;; 10045 10046 os2*) 10047 libname_spec='$name' 10048 shrext_cmds=".dll" 10049 need_lib_prefix=no 10050 library_names_spec='$libname${shared_ext} $libname.a' 10051 dynamic_linker='OS/2 ld.exe' 10052 shlibpath_var=LIBPATH 10053 ;; 10054 10055 osf3* | osf4* | osf5*) 10056 version_type=osf 10057 need_lib_prefix=no 10058 need_version=no 10059 soname_spec='${libname}${release}${shared_ext}$major' 10060 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10061 shlibpath_var=LD_LIBRARY_PATH 10062 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 10063 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 10064 ;; 10065 10066 rdos*) 10067 dynamic_linker=no 10068 ;; 10069 10070 solaris*) 10071 version_type=linux 10072 need_lib_prefix=no 10073 need_version=no 10074 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10075 soname_spec='${libname}${release}${shared_ext}$major' 10076 shlibpath_var=LD_LIBRARY_PATH 10077 shlibpath_overrides_runpath=yes 10078 hardcode_into_libs=yes 10079 # ldd complains unless libraries are executable 10080 postinstall_cmds='chmod +x $lib' 10081 ;; 10082 10083 sunos4*) 10084 version_type=sunos 10085 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10086 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 10087 shlibpath_var=LD_LIBRARY_PATH 10088 shlibpath_overrides_runpath=yes 10089 if test "$with_gnu_ld" = yes; then 10090 need_lib_prefix=no 10091 fi 10092 need_version=yes 10093 ;; 10094 10095 sysv4 | sysv4.3*) 10096 version_type=linux 10097 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10098 soname_spec='${libname}${release}${shared_ext}$major' 10099 shlibpath_var=LD_LIBRARY_PATH 10100 case $host_vendor in 10101 sni) 10102 shlibpath_overrides_runpath=no 10103 need_lib_prefix=no 10104 export_dynamic_flag_spec='${wl}-Blargedynsym' 10105 runpath_var=LD_RUN_PATH 10106 ;; 10107 siemens) 10108 need_lib_prefix=no 10109 ;; 10110 motorola) 10111 need_lib_prefix=no 10112 need_version=no 10113 shlibpath_overrides_runpath=no 10114 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 10115 ;; 10116 esac 10117 ;; 10118 10119 sysv4*MP*) 10120 if test -d /usr/nec ;then 10121 version_type=linux 10122 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 10123 soname_spec='$libname${shared_ext}.$major' 10124 shlibpath_var=LD_LIBRARY_PATH 10125 fi 10126 ;; 10127 10128 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 10129 version_type=freebsd-elf 10130 need_lib_prefix=no 10131 need_version=no 10132 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10133 soname_spec='${libname}${release}${shared_ext}$major' 10134 shlibpath_var=LD_LIBRARY_PATH 10135 hardcode_into_libs=yes 10136 if test "$with_gnu_ld" = yes; then 10137 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 10138 shlibpath_overrides_runpath=no 10139 else 10140 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 10141 shlibpath_overrides_runpath=yes 10142 case $host_os in 10143 sco3.2v5*) 10144 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 10145 ;; 10146 esac 10147 fi 10148 sys_lib_dlsearch_path_spec='/usr/lib' 10149 ;; 10150 10151 uts4*) 10152 version_type=linux 10153 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10154 soname_spec='${libname}${release}${shared_ext}$major' 10155 shlibpath_var=LD_LIBRARY_PATH 10156 ;; 10157 10158 *) 10159 dynamic_linker=no 10160 ;; 10161 esac 10162 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 10163 echo "${ECHO_T}$dynamic_linker" >&6; } 10164 test "$dynamic_linker" = no && can_build_shared=no 10165 10166 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 10167 if test "$GCC" = yes; then 10168 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 10169 fi 10170 10171 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 10172 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } 10173 hardcode_action= 10174 if test -n "$hardcode_libdir_flag_spec" || \ 10175 test -n "$runpath_var" || \ 10176 test "X$hardcode_automatic" = "Xyes" ; then 10177 10178 # We can hardcode non-existant directories. 10179 if test "$hardcode_direct" != no && 10180 # If the only mechanism to avoid hardcoding is shlibpath_var, we 10181 # have to relink, otherwise we might link with an installed library 10182 # when we should be linking with a yet-to-be-installed one 10183 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && 10184 test "$hardcode_minus_L" != no; then 10185 # Linking always hardcodes the temporary library directory. 10186 hardcode_action=relink 10187 else 10188 # We can link without hardcoding, and we can hardcode nonexisting dirs. 10189 hardcode_action=immediate 10190 fi 10191 else 10192 # We cannot hardcode anything, or else we can only hardcode existing 10193 # directories. 10194 hardcode_action=unsupported 10195 fi 10196 { echo "$as_me:$LINENO: result: $hardcode_action" >&5 10197 echo "${ECHO_T}$hardcode_action" >&6; } 10198 10199 if test "$hardcode_action" = relink; then 10200 # Fast installation is not supported 10201 enable_fast_install=no 10202 elif test "$shlibpath_overrides_runpath" = yes || 10203 test "$enable_shared" = no; then 10204 # Fast installation is not necessary 10205 enable_fast_install=needless 10206 fi 10207 10208 striplib= 10209 old_striplib= 10210 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 10211 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; } 10212 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 10213 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 10214 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 10215 { echo "$as_me:$LINENO: result: yes" >&5 10216 echo "${ECHO_T}yes" >&6; } 10217 else 10218 # FIXME - insert some real tests, host_os isn't really good enough 10219 case $host_os in 10220 darwin*) 10221 if test -n "$STRIP" ; then 10222 striplib="$STRIP -x" 10223 old_striplib="$STRIP -S" 10224 { echo "$as_me:$LINENO: result: yes" >&5 10225 echo "${ECHO_T}yes" >&6; } 10226 else 10227 { echo "$as_me:$LINENO: result: no" >&5 10228 echo "${ECHO_T}no" >&6; } 10229 fi 10230 ;; 10231 *) 10232 { echo "$as_me:$LINENO: result: no" >&5 10233 echo "${ECHO_T}no" >&6; } 10234 ;; 10235 esac 10236 fi 10237 10238 if test "x$enable_dlopen" != xyes; then 10239 enable_dlopen=unknown 10240 enable_dlopen_self=unknown 10241 enable_dlopen_self_static=unknown 10242 else 10243 lt_cv_dlopen=no 10244 lt_cv_dlopen_libs= 10245 10246 case $host_os in 10247 beos*) 10248 lt_cv_dlopen="load_add_on" 10249 lt_cv_dlopen_libs= 10250 lt_cv_dlopen_self=yes 10251 ;; 10252 10253 mingw* | pw32*) 10254 lt_cv_dlopen="LoadLibrary" 10255 lt_cv_dlopen_libs= 10256 ;; 10257 10258 cygwin*) 10259 lt_cv_dlopen="dlopen" 10260 lt_cv_dlopen_libs= 10261 ;; 10262 10263 darwin*) 10264 # if libdl is installed we need to link against it 10265 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 10266 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } 10267 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 10268 echo $ECHO_N "(cached) $ECHO_C" >&6 10269 else 10270 ac_check_lib_save_LIBS=$LIBS 10271 LIBS="-ldl $LIBS" 10272 cat >conftest.$ac_ext <<_ACEOF 10273 /* confdefs.h. */ 10274 _ACEOF 10275 cat confdefs.h >>conftest.$ac_ext 10276 cat >>conftest.$ac_ext <<_ACEOF 10277 /* end confdefs.h. */ 10278 10279 /* Override any GCC internal prototype to avoid an error. 10280 Use char because int might match the return type of a GCC 10281 builtin and then its argument prototype would still apply. */ 10282 #ifdef __cplusplus 10283 extern "C" 10284 #endif 10285 char dlopen (); 10286 int 10287 main () 10288 { 10289 return dlopen (); 10290 ; 10291 return 0; 10292 } 10293 _ACEOF 10294 rm -f conftest.$ac_objext conftest$ac_exeext 10295 if { (ac_try="$ac_link" 10296 case "(($ac_try" in 10297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10298 *) ac_try_echo=$ac_try;; 10299 esac 10300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10301 (eval "$ac_link") 2>conftest.er1 10302 ac_status=$? 10303 grep -v '^ *+' conftest.er1 >conftest.err 10304 rm -f conftest.er1 10305 cat conftest.err >&5 10306 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10307 (exit $ac_status); } && { 10308 test -z "$ac_c_werror_flag" || 10309 test ! -s conftest.err 10310 } && test -s conftest$ac_exeext && 10311 $as_test_x conftest$ac_exeext; then 10312 ac_cv_lib_dl_dlopen=yes 10313 else 10314 echo "$as_me: failed program was:" >&5 10315 sed 's/^/| /' conftest.$ac_ext >&5 10316 10317 ac_cv_lib_dl_dlopen=no 10318 fi 10319 10320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10321 conftest$ac_exeext conftest.$ac_ext 10322 LIBS=$ac_check_lib_save_LIBS 10323 fi 10324 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 10325 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } 10326 if test $ac_cv_lib_dl_dlopen = yes; then 10327 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10328 else 10329 10330 lt_cv_dlopen="dyld" 10331 lt_cv_dlopen_libs= 10332 lt_cv_dlopen_self=yes 10333 10334 fi 10335 10336 ;; 10337 10338 *) 10339 { echo "$as_me:$LINENO: checking for shl_load" >&5 10340 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; } 10341 if test "${ac_cv_func_shl_load+set}" = set; then 10342 echo $ECHO_N "(cached) $ECHO_C" >&6 10343 else 10344 cat >conftest.$ac_ext <<_ACEOF 10345 /* confdefs.h. */ 10346 _ACEOF 10347 cat confdefs.h >>conftest.$ac_ext 10348 cat >>conftest.$ac_ext <<_ACEOF 10349 /* end confdefs.h. */ 10350 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. 10351 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 10352 #define shl_load innocuous_shl_load 10353 10354 /* System header to define __stub macros and hopefully few prototypes, 10355 which can conflict with char shl_load (); below. 10356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 10357 <limits.h> exists even on freestanding compilers. */ 10358 10359 #ifdef __STDC__ 10360 # include <limits.h> 10361 #else 10362 # include <assert.h> 10363 #endif 10364 10365 #undef shl_load 10366 10367 /* Override any GCC internal prototype to avoid an error. 10368 Use char because int might match the return type of a GCC 10369 builtin and then its argument prototype would still apply. */ 10370 #ifdef __cplusplus 10371 extern "C" 10372 #endif 10373 char shl_load (); 10374 /* The GNU C library defines this for functions which it implements 10375 to always fail with ENOSYS. Some functions are actually named 10376 something starting with __ and the normal name is an alias. */ 10377 #if defined __stub_shl_load || defined __stub___shl_load 10378 choke me 10379 #endif 10380 10381 int 10382 main () 10383 { 10384 return shl_load (); 10385 ; 10386 return 0; 10387 } 10388 _ACEOF 10389 rm -f conftest.$ac_objext conftest$ac_exeext 10390 if { (ac_try="$ac_link" 10391 case "(($ac_try" in 10392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10393 *) ac_try_echo=$ac_try;; 10394 esac 10395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10396 (eval "$ac_link") 2>conftest.er1 10397 ac_status=$? 10398 grep -v '^ *+' conftest.er1 >conftest.err 10399 rm -f conftest.er1 10400 cat conftest.err >&5 10401 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10402 (exit $ac_status); } && { 10403 test -z "$ac_c_werror_flag" || 10404 test ! -s conftest.err 10405 } && test -s conftest$ac_exeext && 10406 $as_test_x conftest$ac_exeext; then 10407 ac_cv_func_shl_load=yes 10408 else 10409 echo "$as_me: failed program was:" >&5 10410 sed 's/^/| /' conftest.$ac_ext >&5 10411 10412 ac_cv_func_shl_load=no 10413 fi 10414 10415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10416 conftest$ac_exeext conftest.$ac_ext 10417 fi 10418 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 10419 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; } 10420 if test $ac_cv_func_shl_load = yes; then 10421 lt_cv_dlopen="shl_load" 10422 else 10423 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 10424 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; } 10425 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 10426 echo $ECHO_N "(cached) $ECHO_C" >&6 10427 else 10428 ac_check_lib_save_LIBS=$LIBS 10429 LIBS="-ldld $LIBS" 10430 cat >conftest.$ac_ext <<_ACEOF 10431 /* confdefs.h. */ 10432 _ACEOF 10433 cat confdefs.h >>conftest.$ac_ext 10434 cat >>conftest.$ac_ext <<_ACEOF 10435 /* end confdefs.h. */ 10436 10437 /* Override any GCC internal prototype to avoid an error. 10438 Use char because int might match the return type of a GCC 10439 builtin and then its argument prototype would still apply. */ 10440 #ifdef __cplusplus 10441 extern "C" 10442 #endif 10443 char shl_load (); 10444 int 10445 main () 10446 { 10447 return shl_load (); 10448 ; 10449 return 0; 10450 } 10451 _ACEOF 10452 rm -f conftest.$ac_objext conftest$ac_exeext 10453 if { (ac_try="$ac_link" 10454 case "(($ac_try" in 10455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10456 *) ac_try_echo=$ac_try;; 10457 esac 10458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10459 (eval "$ac_link") 2>conftest.er1 10460 ac_status=$? 10461 grep -v '^ *+' conftest.er1 >conftest.err 10462 rm -f conftest.er1 10463 cat conftest.err >&5 10464 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10465 (exit $ac_status); } && { 10466 test -z "$ac_c_werror_flag" || 10467 test ! -s conftest.err 10468 } && test -s conftest$ac_exeext && 10469 $as_test_x conftest$ac_exeext; then 10470 ac_cv_lib_dld_shl_load=yes 10471 else 10472 echo "$as_me: failed program was:" >&5 10473 sed 's/^/| /' conftest.$ac_ext >&5 10474 10475 ac_cv_lib_dld_shl_load=no 10476 fi 10477 10478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10479 conftest$ac_exeext conftest.$ac_ext 10480 LIBS=$ac_check_lib_save_LIBS 10481 fi 10482 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 10483 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } 10484 if test $ac_cv_lib_dld_shl_load = yes; then 10485 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" 10486 else 10487 { echo "$as_me:$LINENO: checking for dlopen" >&5 10488 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; } 10489 if test "${ac_cv_func_dlopen+set}" = set; then 10490 echo $ECHO_N "(cached) $ECHO_C" >&6 10491 else 10492 cat >conftest.$ac_ext <<_ACEOF 10493 /* confdefs.h. */ 10494 _ACEOF 10495 cat confdefs.h >>conftest.$ac_ext 10496 cat >>conftest.$ac_ext <<_ACEOF 10497 /* end confdefs.h. */ 10498 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. 10499 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 10500 #define dlopen innocuous_dlopen 10501 10502 /* System header to define __stub macros and hopefully few prototypes, 10503 which can conflict with char dlopen (); below. 10504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 10505 <limits.h> exists even on freestanding compilers. */ 10506 10507 #ifdef __STDC__ 10508 # include <limits.h> 10509 #else 10510 # include <assert.h> 10511 #endif 10512 10513 #undef dlopen 10514 10515 /* Override any GCC internal prototype to avoid an error. 10516 Use char because int might match the return type of a GCC 10517 builtin and then its argument prototype would still apply. */ 10518 #ifdef __cplusplus 10519 extern "C" 10520 #endif 10521 char dlopen (); 10522 /* The GNU C library defines this for functions which it implements 10523 to always fail with ENOSYS. Some functions are actually named 10524 something starting with __ and the normal name is an alias. */ 10525 #if defined __stub_dlopen || defined __stub___dlopen 10526 choke me 10527 #endif 10528 10529 int 10530 main () 10531 { 10532 return dlopen (); 10533 ; 10534 return 0; 10535 } 10536 _ACEOF 10537 rm -f conftest.$ac_objext conftest$ac_exeext 10538 if { (ac_try="$ac_link" 10539 case "(($ac_try" in 10540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10541 *) ac_try_echo=$ac_try;; 10542 esac 10543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10544 (eval "$ac_link") 2>conftest.er1 10545 ac_status=$? 10546 grep -v '^ *+' conftest.er1 >conftest.err 10547 rm -f conftest.er1 10548 cat conftest.err >&5 10549 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10550 (exit $ac_status); } && { 10551 test -z "$ac_c_werror_flag" || 10552 test ! -s conftest.err 10553 } && test -s conftest$ac_exeext && 10554 $as_test_x conftest$ac_exeext; then 10555 ac_cv_func_dlopen=yes 10556 else 10557 echo "$as_me: failed program was:" >&5 10558 sed 's/^/| /' conftest.$ac_ext >&5 10559 10560 ac_cv_func_dlopen=no 10561 fi 10562 10563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10564 conftest$ac_exeext conftest.$ac_ext 10565 fi 10566 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 10567 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; } 10568 if test $ac_cv_func_dlopen = yes; then 10569 lt_cv_dlopen="dlopen" 10570 else 10571 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 10572 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } 10573 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 10574 echo $ECHO_N "(cached) $ECHO_C" >&6 10575 else 10576 ac_check_lib_save_LIBS=$LIBS 10577 LIBS="-ldl $LIBS" 10578 cat >conftest.$ac_ext <<_ACEOF 10579 /* confdefs.h. */ 10580 _ACEOF 10581 cat confdefs.h >>conftest.$ac_ext 10582 cat >>conftest.$ac_ext <<_ACEOF 10583 /* end confdefs.h. */ 10584 10585 /* Override any GCC internal prototype to avoid an error. 10586 Use char because int might match the return type of a GCC 10587 builtin and then its argument prototype would still apply. */ 10588 #ifdef __cplusplus 10589 extern "C" 10590 #endif 10591 char dlopen (); 10592 int 10593 main () 10594 { 10595 return dlopen (); 10596 ; 10597 return 0; 10598 } 10599 _ACEOF 10600 rm -f conftest.$ac_objext conftest$ac_exeext 10601 if { (ac_try="$ac_link" 10602 case "(($ac_try" in 10603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10604 *) ac_try_echo=$ac_try;; 10605 esac 10606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10607 (eval "$ac_link") 2>conftest.er1 10608 ac_status=$? 10609 grep -v '^ *+' conftest.er1 >conftest.err 10610 rm -f conftest.er1 10611 cat conftest.err >&5 10612 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10613 (exit $ac_status); } && { 10614 test -z "$ac_c_werror_flag" || 10615 test ! -s conftest.err 10616 } && test -s conftest$ac_exeext && 10617 $as_test_x conftest$ac_exeext; then 10618 ac_cv_lib_dl_dlopen=yes 10619 else 10620 echo "$as_me: failed program was:" >&5 10621 sed 's/^/| /' conftest.$ac_ext >&5 10622 10623 ac_cv_lib_dl_dlopen=no 10624 fi 10625 10626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10627 conftest$ac_exeext conftest.$ac_ext 10628 LIBS=$ac_check_lib_save_LIBS 10629 fi 10630 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 10631 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } 10632 if test $ac_cv_lib_dl_dlopen = yes; then 10633 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10634 else 10635 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 10636 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; } 10637 if test "${ac_cv_lib_svld_dlopen+set}" = set; then 10638 echo $ECHO_N "(cached) $ECHO_C" >&6 10639 else 10640 ac_check_lib_save_LIBS=$LIBS 10641 LIBS="-lsvld $LIBS" 10642 cat >conftest.$ac_ext <<_ACEOF 10643 /* confdefs.h. */ 10644 _ACEOF 10645 cat confdefs.h >>conftest.$ac_ext 10646 cat >>conftest.$ac_ext <<_ACEOF 10647 /* end confdefs.h. */ 10648 10649 /* Override any GCC internal prototype to avoid an error. 10650 Use char because int might match the return type of a GCC 10651 builtin and then its argument prototype would still apply. */ 10652 #ifdef __cplusplus 10653 extern "C" 10654 #endif 10655 char dlopen (); 10656 int 10657 main () 10658 { 10659 return dlopen (); 10660 ; 10661 return 0; 10662 } 10663 _ACEOF 10664 rm -f conftest.$ac_objext conftest$ac_exeext 10665 if { (ac_try="$ac_link" 10666 case "(($ac_try" in 10667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10668 *) ac_try_echo=$ac_try;; 10669 esac 10670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10671 (eval "$ac_link") 2>conftest.er1 10672 ac_status=$? 10673 grep -v '^ *+' conftest.er1 >conftest.err 10674 rm -f conftest.er1 10675 cat conftest.err >&5 10676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10677 (exit $ac_status); } && { 10678 test -z "$ac_c_werror_flag" || 10679 test ! -s conftest.err 10680 } && test -s conftest$ac_exeext && 10681 $as_test_x conftest$ac_exeext; then 10682 ac_cv_lib_svld_dlopen=yes 10683 else 10684 echo "$as_me: failed program was:" >&5 10685 sed 's/^/| /' conftest.$ac_ext >&5 10686 10687 ac_cv_lib_svld_dlopen=no 10688 fi 10689 10690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10691 conftest$ac_exeext conftest.$ac_ext 10692 LIBS=$ac_check_lib_save_LIBS 10693 fi 10694 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 10695 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; } 10696 if test $ac_cv_lib_svld_dlopen = yes; then 10697 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 10698 else 10699 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 10700 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; } 10701 if test "${ac_cv_lib_dld_dld_link+set}" = set; then 10702 echo $ECHO_N "(cached) $ECHO_C" >&6 10703 else 10704 ac_check_lib_save_LIBS=$LIBS 10705 LIBS="-ldld $LIBS" 10706 cat >conftest.$ac_ext <<_ACEOF 10707 /* confdefs.h. */ 10708 _ACEOF 10709 cat confdefs.h >>conftest.$ac_ext 10710 cat >>conftest.$ac_ext <<_ACEOF 10711 /* end confdefs.h. */ 10712 10713 /* Override any GCC internal prototype to avoid an error. 10714 Use char because int might match the return type of a GCC 10715 builtin and then its argument prototype would still apply. */ 10716 #ifdef __cplusplus 10717 extern "C" 10718 #endif 10719 char dld_link (); 10720 int 10721 main () 10722 { 10723 return dld_link (); 10724 ; 10725 return 0; 10726 } 10727 _ACEOF 10728 rm -f conftest.$ac_objext conftest$ac_exeext 10729 if { (ac_try="$ac_link" 10730 case "(($ac_try" in 10731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10732 *) ac_try_echo=$ac_try;; 10733 esac 10734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10735 (eval "$ac_link") 2>conftest.er1 10736 ac_status=$? 10737 grep -v '^ *+' conftest.er1 >conftest.err 10738 rm -f conftest.er1 10739 cat conftest.err >&5 10740 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10741 (exit $ac_status); } && { 10742 test -z "$ac_c_werror_flag" || 10743 test ! -s conftest.err 10744 } && test -s conftest$ac_exeext && 10745 $as_test_x conftest$ac_exeext; then 10746 ac_cv_lib_dld_dld_link=yes 10747 else 10748 echo "$as_me: failed program was:" >&5 10749 sed 's/^/| /' conftest.$ac_ext >&5 10750 10751 ac_cv_lib_dld_dld_link=no 10752 fi 10753 10754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10755 conftest$ac_exeext conftest.$ac_ext 10756 LIBS=$ac_check_lib_save_LIBS 10757 fi 10758 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 10759 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; } 10760 if test $ac_cv_lib_dld_dld_link = yes; then 10761 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" 10762 fi 10763 10764 10765 fi 10766 10767 10768 fi 10769 10770 10771 fi 10772 10773 10774 fi 10775 10776 10777 fi 10778 10779 ;; 10780 esac 10781 10782 if test "x$lt_cv_dlopen" != xno; then 10783 enable_dlopen=yes 10784 else 10785 enable_dlopen=no 10786 fi 10787 10788 case $lt_cv_dlopen in 10789 dlopen) 10790 save_CPPFLAGS="$CPPFLAGS" 10791 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 10792 10793 save_LDFLAGS="$LDFLAGS" 10794 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 10795 10796 save_LIBS="$LIBS" 10797 LIBS="$lt_cv_dlopen_libs $LIBS" 10798 10799 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 10800 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; } 10801 if test "${lt_cv_dlopen_self+set}" = set; then 10802 echo $ECHO_N "(cached) $ECHO_C" >&6 10803 else 10804 if test "$cross_compiling" = yes; then : 10805 lt_cv_dlopen_self=cross 10806 else 10807 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10808 lt_status=$lt_dlunknown 10809 cat > conftest.$ac_ext <<EOF 10810 #line 10810 "configure" 10811 #include "confdefs.h" 10812 10813 #if HAVE_DLFCN_H 10814 #include <dlfcn.h> 10815 #endif 10816 10817 #include <stdio.h> 10818 10819 #ifdef RTLD_GLOBAL 10820 # define LT_DLGLOBAL RTLD_GLOBAL 10821 #else 10822 # ifdef DL_GLOBAL 10823 # define LT_DLGLOBAL DL_GLOBAL 10824 # else 10825 # define LT_DLGLOBAL 0 10826 # endif 10827 #endif 10828 10829 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we 10830 find out it does not work in some platform. */ 10831 #ifndef LT_DLLAZY_OR_NOW 10832 # ifdef RTLD_LAZY 10833 # define LT_DLLAZY_OR_NOW RTLD_LAZY 10834 # else 10835 # ifdef DL_LAZY 10836 # define LT_DLLAZY_OR_NOW DL_LAZY 10837 # else 10838 # ifdef RTLD_NOW 10839 # define LT_DLLAZY_OR_NOW RTLD_NOW 10840 # else 10841 # ifdef DL_NOW 10842 # define LT_DLLAZY_OR_NOW DL_NOW 10843 # else 10844 # define LT_DLLAZY_OR_NOW 0 10845 # endif 10846 # endif 10847 # endif 10848 # endif 10849 #endif 10850 10851 #ifdef __cplusplus 10852 extern "C" void exit (int); 10853 #endif 10854 10855 void fnord() { int i=42;} 10856 int main () 10857 { 10858 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 10859 int status = $lt_dlunknown; 10860 10861 if (self) 10862 { 10863 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 10864 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 10865 /* dlclose (self); */ 10866 } 10867 else 10868 puts (dlerror ()); 10869 10870 exit (status); 10871 } 10872 EOF 10873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10874 (eval $ac_link) 2>&5 10875 ac_status=$? 10876 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10877 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 10878 (./conftest; exit; ) >&5 2>/dev/null 10879 lt_status=$? 10880 case x$lt_status in 10881 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 10882 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 10883 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 10884 esac 10885 else : 10886 # compilation failed 10887 lt_cv_dlopen_self=no 10888 fi 10889 fi 10890 rm -fr conftest* 10891 10892 10893 fi 10894 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 10895 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; } 10896 10897 if test "x$lt_cv_dlopen_self" = xyes; then 10898 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 10899 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 10900 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; } 10901 if test "${lt_cv_dlopen_self_static+set}" = set; then 10902 echo $ECHO_N "(cached) $ECHO_C" >&6 10903 else 10904 if test "$cross_compiling" = yes; then : 10905 lt_cv_dlopen_self_static=cross 10906 else 10907 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10908 lt_status=$lt_dlunknown 10909 cat > conftest.$ac_ext <<EOF 10910 #line 10910 "configure" 10911 #include "confdefs.h" 10912 10913 #if HAVE_DLFCN_H 10914 #include <dlfcn.h> 10915 #endif 10916 10917 #include <stdio.h> 10918 10919 #ifdef RTLD_GLOBAL 10920 # define LT_DLGLOBAL RTLD_GLOBAL 10921 #else 10922 # ifdef DL_GLOBAL 10923 # define LT_DLGLOBAL DL_GLOBAL 10924 # else 10925 # define LT_DLGLOBAL 0 10926 # endif 10927 #endif 10928 10929 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we 10930 find out it does not work in some platform. */ 10931 #ifndef LT_DLLAZY_OR_NOW 10932 # ifdef RTLD_LAZY 10933 # define LT_DLLAZY_OR_NOW RTLD_LAZY 10934 # else 10935 # ifdef DL_LAZY 10936 # define LT_DLLAZY_OR_NOW DL_LAZY 10937 # else 10938 # ifdef RTLD_NOW 10939 # define LT_DLLAZY_OR_NOW RTLD_NOW 10940 # else 10941 # ifdef DL_NOW 10942 # define LT_DLLAZY_OR_NOW DL_NOW 10943 # else 10944 # define LT_DLLAZY_OR_NOW 0 10945 # endif 10946 # endif 10947 # endif 10948 # endif 10949 #endif 10950 10951 #ifdef __cplusplus 10952 extern "C" void exit (int); 10953 #endif 10954 10955 void fnord() { int i=42;} 10956 int main () 10957 { 10958 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 10959 int status = $lt_dlunknown; 10960 10961 if (self) 10962 { 10963 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 10964 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 10965 /* dlclose (self); */ 10966 } 10967 else 10968 puts (dlerror ()); 10969 10970 exit (status); 10971 } 10972 EOF 10973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10974 (eval $ac_link) 2>&5 10975 ac_status=$? 10976 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10977 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 10978 (./conftest; exit; ) >&5 2>/dev/null 10979 lt_status=$? 10980 case x$lt_status in 10981 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 10982 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 10983 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 10984 esac 10985 else : 10986 # compilation failed 10987 lt_cv_dlopen_self_static=no 10988 fi 10989 fi 10990 rm -fr conftest* 10991 10992 10993 fi 10994 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 10995 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; } 10996 fi 10997 10998 CPPFLAGS="$save_CPPFLAGS" 10999 LDFLAGS="$save_LDFLAGS" 11000 LIBS="$save_LIBS" 11001 ;; 11002 esac 11003 11004 case $lt_cv_dlopen_self in 11005 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11006 *) enable_dlopen_self=unknown ;; 11007 esac 11008 11009 case $lt_cv_dlopen_self_static in 11010 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11011 *) enable_dlopen_self_static=unknown ;; 11012 esac 11013 fi 11014 11015 11016 # Report which library types will actually be built 11017 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 11018 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } 11019 { echo "$as_me:$LINENO: result: $can_build_shared" >&5 11020 echo "${ECHO_T}$can_build_shared" >&6; } 11021 11022 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 11023 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } 11024 test "$can_build_shared" = "no" && enable_shared=no 11025 11026 # On AIX, shared libraries and static libraries use the same namespace, and 11027 # are all built from PIC. 11028 case $host_os in 11029 aix3*) 11030 test "$enable_shared" = yes && enable_static=no 11031 if test -n "$RANLIB"; then 11032 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11033 postinstall_cmds='$RANLIB $lib' 11034 fi 11035 ;; 11036 11037 aix4* | aix5*) 11038 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 11039 test "$enable_shared" = yes && enable_static=no 11040 fi 11041 ;; 11042 esac 11043 { echo "$as_me:$LINENO: result: $enable_shared" >&5 11044 echo "${ECHO_T}$enable_shared" >&6; } 11045 11046 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5 11047 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } 11048 # Make sure either enable_shared or enable_static is yes. 11049 test "$enable_shared" = yes || enable_static=yes 11050 { echo "$as_me:$LINENO: result: $enable_static" >&5 11051 echo "${ECHO_T}$enable_static" >&6; } 11052 11053 # The else clause should only fire when bootstrapping the 11054 # libtool distribution, otherwise you forgot to ship ltmain.sh 11055 # with your package, and you will get complaints that there are 11056 # no rules to generate ltmain.sh. 11057 if test -f "$ltmain"; then 11058 # See if we are running on zsh, and set the options which allow our commands through 11059 # without removal of \ escapes. 11060 if test -n "${ZSH_VERSION+set}" ; then 11061 setopt NO_GLOB_SUBST 11062 fi 11063 # Now quote all the things that may contain metacharacters while being 11064 # careful not to overquote the AC_SUBSTed values. We take copies of the 11065 # variables and quote the copies for generation of the libtool script. 11066 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ 11067 SED SHELL STRIP \ 11068 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 11069 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ 11070 deplibs_check_method reload_flag reload_cmds need_locks \ 11071 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ 11072 lt_cv_sys_global_symbol_to_c_name_address \ 11073 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ 11074 old_postinstall_cmds old_postuninstall_cmds \ 11075 compiler \ 11076 CC \ 11077 LD \ 11078 lt_prog_compiler_wl \ 11079 lt_prog_compiler_pic \ 11080 lt_prog_compiler_static \ 11081 lt_prog_compiler_no_builtin_flag \ 11082 export_dynamic_flag_spec \ 11083 thread_safe_flag_spec \ 11084 whole_archive_flag_spec \ 11085 enable_shared_with_static_runtimes \ 11086 old_archive_cmds \ 11087 old_archive_from_new_cmds \ 11088 predep_objects \ 11089 postdep_objects \ 11090 predeps \ 11091 postdeps \ 11092 compiler_lib_search_path \ 11093 archive_cmds \ 11094 archive_expsym_cmds \ 11095 postinstall_cmds \ 11096 postuninstall_cmds \ 11097 old_archive_from_expsyms_cmds \ 11098 allow_undefined_flag \ 11099 no_undefined_flag \ 11100 export_symbols_cmds \ 11101 hardcode_libdir_flag_spec \ 11102 hardcode_libdir_flag_spec_ld \ 11103 hardcode_libdir_separator \ 11104 hardcode_automatic \ 11105 module_cmds \ 11106 module_expsym_cmds \ 11107 lt_cv_prog_compiler_c_o \ 11108 fix_srcfile_path \ 11109 exclude_expsyms \ 11110 include_expsyms; do 11111 11112 case $var in 11113 old_archive_cmds | \ 11114 old_archive_from_new_cmds | \ 11115 archive_cmds | \ 11116 archive_expsym_cmds | \ 11117 module_cmds | \ 11118 module_expsym_cmds | \ 11119 old_archive_from_expsyms_cmds | \ 11120 export_symbols_cmds | \ 11121 extract_expsyms_cmds | reload_cmds | finish_cmds | \ 11122 postinstall_cmds | postuninstall_cmds | \ 11123 old_postinstall_cmds | old_postuninstall_cmds | \ 11124 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) 11125 # Double-quote double-evaled strings. 11126 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" 11127 ;; 11128 *) 11129 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" 11130 ;; 11131 esac 11132 done 11133 11134 case $lt_echo in 11135 *'\$0 --fallback-echo"') 11136 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` 11137 ;; 11138 esac 11139 11140 cfgfile="${ofile}T" 11141 trap "$rm \"$cfgfile\"; exit 1" 1 2 15 11142 $rm -f "$cfgfile" 11143 { echo "$as_me:$LINENO: creating $ofile" >&5 11144 echo "$as_me: creating $ofile" >&6;} 11145 11146 cat <<__EOF__ >> "$cfgfile" 11147 #! $SHELL 11148 11149 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 11150 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) 11151 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 11152 # 11153 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 11154 # Free Software Foundation, Inc. 11155 # 11156 # This file is part of GNU Libtool: 11157 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 11158 # 11159 # This program is free software; you can redistribute it and/or modify 11160 # it under the terms of the GNU General Public License as published by 11161 # the Free Software Foundation; either version 2 of the License, or 11162 # (at your option) any later version. 11163 # 11164 # This program is distributed in the hope that it will be useful, but 11165 # WITHOUT ANY WARRANTY; without even the implied warranty of 11166 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 11167 # General Public License for more details. 11168 # 11169 # You should have received a copy of the GNU General Public License 11170 # along with this program; if not, write to the Free Software 11171 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 11172 # 11173 # As a special exception to the GNU General Public License, if you 11174 # distribute this file as part of a program that contains a 11175 # configuration script generated by Autoconf, you may include it under 11176 # the same distribution terms that you use for the rest of that program. 11177 11178 # A sed program that does not truncate output. 11179 SED=$lt_SED 11180 11181 # Sed that helps us avoid accidentally triggering echo(1) options like -n. 11182 Xsed="$SED -e 1s/^X//" 11183 11184 # The HP-UX ksh and POSIX shell print the target directory to stdout 11185 # if CDPATH is set. 11186 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 11187 11188 # The names of the tagged configurations supported by this script. 11189 available_tags= 11190 11191 # ### BEGIN LIBTOOL CONFIG 11192 11193 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 11194 11195 # Shell to use when invoking shell scripts. 11196 SHELL=$lt_SHELL 11197 11198 # Whether or not to build shared libraries. 11199 build_libtool_libs=$enable_shared 11200 11201 # Whether or not to build static libraries. 11202 build_old_libs=$enable_static 11203 11204 # Whether or not to add -lc for building shared libraries. 11205 build_libtool_need_lc=$archive_cmds_need_lc 11206 11207 # Whether or not to disallow shared libs when runtime libs are static 11208 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 11209 11210 # Whether or not to optimize for fast installation. 11211 fast_install=$enable_fast_install 11212 11213 # The host system. 11214 host_alias=$host_alias 11215 host=$host 11216 host_os=$host_os 11217 11218 # The build system. 11219 build_alias=$build_alias 11220 build=$build 11221 build_os=$build_os 11222 11223 # An echo program that does not interpret backslashes. 11224 echo=$lt_echo 11225 11226 # The archiver. 11227 AR=$lt_AR 11228 AR_FLAGS=$lt_AR_FLAGS 11229 11230 # A C compiler. 11231 LTCC=$lt_LTCC 11232 11233 # LTCC compiler flags. 11234 LTCFLAGS=$lt_LTCFLAGS 11235 11236 # A language-specific compiler. 11237 CC=$lt_compiler 11238 11239 # Is the compiler the GNU C compiler? 11240 with_gcc=$GCC 11241 11242 # An ERE matcher. 11243 EGREP=$lt_EGREP 11244 11245 # The linker used to build libraries. 11246 LD=$lt_LD 11247 11248 # Whether we need hard or soft links. 11249 LN_S=$lt_LN_S 11250 11251 # A BSD-compatible nm program. 11252 NM=$lt_NM 11253 11254 # A symbol stripping program 11255 STRIP=$lt_STRIP 11256 11257 # Used to examine libraries when file_magic_cmd begins "file" 11258 MAGIC_CMD=$MAGIC_CMD 11259 11260 # Used on cygwin: DLL creation program. 11261 DLLTOOL="$DLLTOOL" 11262 11263 # Used on cygwin: object dumper. 11264 OBJDUMP="$OBJDUMP" 11265 11266 # Used on cygwin: assembler. 11267 AS="$AS" 11268 11269 # The name of the directory that contains temporary libtool files. 11270 objdir=$objdir 11271 11272 # How to create reloadable object files. 11273 reload_flag=$lt_reload_flag 11274 reload_cmds=$lt_reload_cmds 11275 11276 # How to pass a linker flag through the compiler. 11277 wl=$lt_lt_prog_compiler_wl 11278 11279 # Object file suffix (normally "o"). 11280 objext="$ac_objext" 11281 11282 # Old archive suffix (normally "a"). 11283 libext="$libext" 11284 11285 # Shared library suffix (normally ".so"). 11286 shrext_cmds='$shrext_cmds' 11287 11288 # Executable file suffix (normally ""). 11289 exeext="$exeext" 11290 11291 # Additional compiler flags for building library objects. 11292 pic_flag=$lt_lt_prog_compiler_pic 11293 pic_mode=$pic_mode 11294 11295 # What is the maximum length of a command? 11296 max_cmd_len=$lt_cv_sys_max_cmd_len 11297 11298 # Does compiler simultaneously support -c and -o options? 11299 compiler_c_o=$lt_lt_cv_prog_compiler_c_o 11300 11301 # Must we lock files when doing compilation? 11302 need_locks=$lt_need_locks 11303 11304 # Do we need the lib prefix for modules? 11305 need_lib_prefix=$need_lib_prefix 11306 11307 # Do we need a version for libraries? 11308 need_version=$need_version 11309 11310 # Whether dlopen is supported. 11311 dlopen_support=$enable_dlopen 11312 11313 # Whether dlopen of programs is supported. 11314 dlopen_self=$enable_dlopen_self 11315 11316 # Whether dlopen of statically linked programs is supported. 11317 dlopen_self_static=$enable_dlopen_self_static 11318 11319 # Compiler flag to prevent dynamic linking. 11320 link_static_flag=$lt_lt_prog_compiler_static 11321 11322 # Compiler flag to turn off builtin functions. 11323 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 11324 11325 # Compiler flag to allow reflexive dlopens. 11326 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 11327 11328 # Compiler flag to generate shared objects directly from archives. 11329 whole_archive_flag_spec=$lt_whole_archive_flag_spec 11330 11331 # Compiler flag to generate thread-safe objects. 11332 thread_safe_flag_spec=$lt_thread_safe_flag_spec 11333 11334 # Library versioning type. 11335 version_type=$version_type 11336 11337 # Format of library name prefix. 11338 libname_spec=$lt_libname_spec 11339 11340 # List of archive names. First name is the real one, the rest are links. 11341 # The last name is the one that the linker finds with -lNAME. 11342 library_names_spec=$lt_library_names_spec 11343 11344 # The coded name of the library, if different from the real name. 11345 soname_spec=$lt_soname_spec 11346 11347 # Commands used to build and install an old-style archive. 11348 RANLIB=$lt_RANLIB 11349 old_archive_cmds=$lt_old_archive_cmds 11350 old_postinstall_cmds=$lt_old_postinstall_cmds 11351 old_postuninstall_cmds=$lt_old_postuninstall_cmds 11352 11353 # Create an old-style archive from a shared archive. 11354 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 11355 11356 # Create a temporary old-style archive to link instead of a shared archive. 11357 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 11358 11359 # Commands used to build and install a shared archive. 11360 archive_cmds=$lt_archive_cmds 11361 archive_expsym_cmds=$lt_archive_expsym_cmds 11362 postinstall_cmds=$lt_postinstall_cmds 11363 postuninstall_cmds=$lt_postuninstall_cmds 11364 11365 # Commands used to build a loadable module (assumed same as above if empty) 11366 module_cmds=$lt_module_cmds 11367 module_expsym_cmds=$lt_module_expsym_cmds 11368 11369 # Commands to strip libraries. 11370 old_striplib=$lt_old_striplib 11371 striplib=$lt_striplib 11372 11373 # Dependencies to place before the objects being linked to create a 11374 # shared library. 11375 predep_objects=$lt_predep_objects 11376 11377 # Dependencies to place after the objects being linked to create a 11378 # shared library. 11379 postdep_objects=$lt_postdep_objects 11380 11381 # Dependencies to place before the objects being linked to create a 11382 # shared library. 11383 predeps=$lt_predeps 11384 11385 # Dependencies to place after the objects being linked to create a 11386 # shared library. 11387 postdeps=$lt_postdeps 11388 11389 # The library search path used internally by the compiler when linking 11390 # a shared library. 11391 compiler_lib_search_path=$lt_compiler_lib_search_path 11392 11393 # Method to check whether dependent libraries are shared objects. 11394 deplibs_check_method=$lt_deplibs_check_method 11395 11396 # Command to use when deplibs_check_method == file_magic. 11397 file_magic_cmd=$lt_file_magic_cmd 11398 11399 # Flag that allows shared libraries with undefined symbols to be built. 11400 allow_undefined_flag=$lt_allow_undefined_flag 11401 11402 # Flag that forces no undefined symbols. 11403 no_undefined_flag=$lt_no_undefined_flag 11404 11405 # Commands used to finish a libtool library installation in a directory. 11406 finish_cmds=$lt_finish_cmds 11407 11408 # Same as above, but a single script fragment to be evaled but not shown. 11409 finish_eval=$lt_finish_eval 11410 11411 # Take the output of nm and produce a listing of raw symbols and C names. 11412 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 11413 11414 # Transform the output of nm in a proper C declaration 11415 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 11416 11417 # Transform the output of nm in a C name address pair 11418 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 11419 11420 # This is the shared library runtime path variable. 11421 runpath_var=$runpath_var 11422 11423 # This is the shared library path variable. 11424 shlibpath_var=$shlibpath_var 11425 11426 # Is shlibpath searched before the hard-coded library search path? 11427 shlibpath_overrides_runpath=$shlibpath_overrides_runpath 11428 11429 # How to hardcode a shared library path into an executable. 11430 hardcode_action=$hardcode_action 11431 11432 # Whether we should hardcode library paths into libraries. 11433 hardcode_into_libs=$hardcode_into_libs 11434 11435 # Flag to hardcode \$libdir into a binary during linking. 11436 # This must work even if \$libdir does not exist. 11437 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 11438 11439 # If ld is used when linking, flag to hardcode \$libdir into 11440 # a binary during linking. This must work even if \$libdir does 11441 # not exist. 11442 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 11443 11444 # Whether we need a single -rpath flag with a separated argument. 11445 hardcode_libdir_separator=$lt_hardcode_libdir_separator 11446 11447 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the 11448 # resulting binary. 11449 hardcode_direct=$hardcode_direct 11450 11451 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the 11452 # resulting binary. 11453 hardcode_minus_L=$hardcode_minus_L 11454 11455 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into 11456 # the resulting binary. 11457 hardcode_shlibpath_var=$hardcode_shlibpath_var 11458 11459 # Set to yes if building a shared library automatically hardcodes DIR into the library 11460 # and all subsequent libraries and executables linked against it. 11461 hardcode_automatic=$hardcode_automatic 11462 11463 # Variables whose values should be saved in libtool wrapper scripts and 11464 # restored at relink time. 11465 variables_saved_for_relink="$variables_saved_for_relink" 11466 11467 # Whether libtool must link a program against all its dependency libraries. 11468 link_all_deplibs=$link_all_deplibs 11469 11470 # Compile-time system search path for libraries 11471 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 11472 11473 # Run-time system search path for libraries 11474 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 11475 11476 # Fix the shell variable \$srcfile for the compiler. 11477 fix_srcfile_path=$lt_fix_srcfile_path 11478 11479 # Set to yes if exported symbols are required. 11480 always_export_symbols=$always_export_symbols 11481 11482 # The commands to list exported symbols. 11483 export_symbols_cmds=$lt_export_symbols_cmds 11484 11485 # The commands to extract the exported symbol list from a shared archive. 11486 extract_expsyms_cmds=$lt_extract_expsyms_cmds 11487 11488 # Symbols that should not be listed in the preloaded symbols. 11489 exclude_expsyms=$lt_exclude_expsyms 11490 11491 # Symbols that must always be exported. 11492 include_expsyms=$lt_include_expsyms 11493 11494 # ### END LIBTOOL CONFIG 11495 11496 __EOF__ 11497 11498 11499 case $host_os in 11500 aix3*) 11501 cat <<\EOF >> "$cfgfile" 11502 11503 # AIX sometimes has problems with the GCC collect2 program. For some 11504 # reason, if we set the COLLECT_NAMES environment variable, the problems 11505 # vanish in a puff of smoke. 11506 if test "X${COLLECT_NAMES+set}" != Xset; then 11507 COLLECT_NAMES= 11508 export COLLECT_NAMES 11509 fi 11510 EOF 11511 ;; 11512 esac 11513 11514 # We use sed instead of cat because bash on DJGPP gets confused if 11515 # if finds mixed CR/LF and LF-only lines. Since sed operates in 11516 # text mode, it properly converts lines to CR/LF. This bash problem 11517 # is reportedly fixed, but why not run on old versions too? 11518 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) 11519 11520 mv -f "$cfgfile" "$ofile" || \ 11521 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 11522 chmod +x "$ofile" 11523 11524 else 11525 # If there is no Makefile yet, we rely on a make rule to execute 11526 # `config.status --recheck' to rerun these tests and create the 11527 # libtool script then. 11528 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 11529 if test -f "$ltmain_in"; then 11530 test -f Makefile && make "$ltmain" 11531 fi 11532 fi 11533 11534 11535 ac_ext=c 11536 ac_cpp='$CPP $CPPFLAGS' 11537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11539 ac_compiler_gnu=$ac_cv_c_compiler_gnu 11540 11541 CC="$lt_save_CC" 11542 11543 11544 # Check whether --with-tags was given. 11545 if test "${with_tags+set}" = set; then 11546 withval=$with_tags; tagnames="$withval" 11547 fi 11548 11549 11550 if test -f "$ltmain" && test -n "$tagnames"; then 11551 if test ! -f "${ofile}"; then 11552 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5 11553 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} 11554 fi 11555 11556 if test -z "$LTCC"; then 11557 eval "`$SHELL ${ofile} --config | grep '^LTCC='`" 11558 if test -z "$LTCC"; then 11559 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5 11560 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;} 11561 else 11562 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5 11563 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} 11564 fi 11565 fi 11566 if test -z "$LTCFLAGS"; then 11567 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" 11568 fi 11569 11570 # Extract list of available tagged configurations in $ofile. 11571 # Note that this assumes the entire list is on one line. 11572 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` 11573 11574 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 11575 for tagname in $tagnames; do 11576 IFS="$lt_save_ifs" 11577 # Check whether tagname contains only valid characters 11578 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in 11579 "") ;; 11580 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5 11581 echo "$as_me: error: invalid tag name: $tagname" >&2;} 11582 { (exit 1); exit 1; }; } 11583 ;; 11584 esac 11585 11586 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null 11587 then 11588 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5 11589 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;} 11590 { (exit 1); exit 1; }; } 11591 fi 11592 11593 # Update the list of available tags. 11594 if test -n "$tagname"; then 11595 echo appending configuration tag \"$tagname\" to $ofile 11596 11597 case $tagname in 11598 CXX) 11599 if test -n "$CXX" && ( test "X$CXX" != "Xno" && 11600 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 11601 (test "X$CXX" != "Xg++"))) ; then 11602 ac_ext=cpp 11603 ac_cpp='$CXXCPP $CPPFLAGS' 11604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 11607 11608 11609 11610 11611 archive_cmds_need_lc_CXX=no 11612 allow_undefined_flag_CXX= 11613 always_export_symbols_CXX=no 11614 archive_expsym_cmds_CXX= 11615 export_dynamic_flag_spec_CXX= 11616 hardcode_direct_CXX=no 11617 hardcode_libdir_flag_spec_CXX= 11618 hardcode_libdir_flag_spec_ld_CXX= 11619 hardcode_libdir_separator_CXX= 11620 hardcode_minus_L_CXX=no 11621 hardcode_shlibpath_var_CXX=unsupported 11622 hardcode_automatic_CXX=no 11623 module_cmds_CXX= 11624 module_expsym_cmds_CXX= 11625 link_all_deplibs_CXX=unknown 11626 old_archive_cmds_CXX=$old_archive_cmds 11627 no_undefined_flag_CXX= 11628 whole_archive_flag_spec_CXX= 11629 enable_shared_with_static_runtimes_CXX=no 11630 11631 # Dependencies to place before and after the object being linked: 11632 predep_objects_CXX= 11633 postdep_objects_CXX= 11634 predeps_CXX= 11635 postdeps_CXX= 11636 compiler_lib_search_path_CXX= 11637 11638 # Source file extension for C++ test sources. 11639 ac_ext=cpp 11640 11641 # Object file extension for compiled C++ test sources. 11642 objext=o 11643 objext_CXX=$objext 11644 11645 # Code to be used in simple compile tests 11646 lt_simple_compile_test_code="int some_variable = 0;" 11647 11648 # Code to be used in simple link tests 11649 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 11650 11651 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 11652 11653 # If no C compiler was specified, use CC. 11654 LTCC=${LTCC-"$CC"} 11655 11656 # If no C compiler flags were specified, use CFLAGS. 11657 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 11658 11659 # Allow CC to be a program name with arguments. 11660 compiler=$CC 11661 11662 11663 # save warnings/boilerplate of simple test code 11664 ac_outfile=conftest.$ac_objext 11665 echo "$lt_simple_compile_test_code" >conftest.$ac_ext 11666 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 11667 _lt_compiler_boilerplate=`cat conftest.err` 11668 $rm conftest* 11669 11670 ac_outfile=conftest.$ac_objext 11671 echo "$lt_simple_link_test_code" >conftest.$ac_ext 11672 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 11673 _lt_linker_boilerplate=`cat conftest.err` 11674 $rm conftest* 11675 11676 11677 # Allow CC to be a program name with arguments. 11678 lt_save_CC=$CC 11679 lt_save_LD=$LD 11680 lt_save_GCC=$GCC 11681 GCC=$GXX 11682 lt_save_with_gnu_ld=$with_gnu_ld 11683 lt_save_path_LD=$lt_cv_path_LD 11684 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 11685 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 11686 else 11687 $as_unset lt_cv_prog_gnu_ld 11688 fi 11689 if test -n "${lt_cv_path_LDCXX+set}"; then 11690 lt_cv_path_LD=$lt_cv_path_LDCXX 11691 else 11692 $as_unset lt_cv_path_LD 11693 fi 11694 test -z "${LDCXX+set}" || LD=$LDCXX 11695 CC=${CXX-"c++"} 11696 compiler=$CC 11697 compiler_CXX=$CC 11698 for cc_temp in $compiler""; do 11699 case $cc_temp in 11700 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 11701 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 11702 \-*) ;; 11703 *) break;; 11704 esac 11705 done 11706 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 11707 11708 11709 # We don't want -fno-exception wen compiling C++ code, so set the 11710 # no_builtin_flag separately 11711 if test "$GXX" = yes; then 11712 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 11713 else 11714 lt_prog_compiler_no_builtin_flag_CXX= 11715 fi 11716 11717 if test "$GXX" = yes; then 11718 # Set up default GNU C++ configuration 11719 11720 11721 # Check whether --with-gnu-ld was given. 11722 if test "${with_gnu_ld+set}" = set; then 11723 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 11724 else 11725 with_gnu_ld=no 11726 fi 11727 11728 ac_prog=ld 11729 if test "$GCC" = yes; then 11730 # Check if gcc -print-prog-name=ld gives a path. 11731 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 11732 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } 11733 case $host in 11734 *-*-mingw*) 11735 # gcc leaves a trailing carriage return which upsets mingw 11736 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 11737 *) 11738 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 11739 esac 11740 case $ac_prog in 11741 # Accept absolute paths. 11742 [\\/]* | ?:[\\/]*) 11743 re_direlt='/[^/][^/]*/\.\./' 11744 # Canonicalize the pathname of ld 11745 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` 11746 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do 11747 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` 11748 done 11749 test -z "$LD" && LD="$ac_prog" 11750 ;; 11751 "") 11752 # If it fails, then pretend we aren't using GCC. 11753 ac_prog=ld 11754 ;; 11755 *) 11756 # If it is relative, then search for the first ld in PATH. 11757 with_gnu_ld=unknown 11758 ;; 11759 esac 11760 elif test "$with_gnu_ld" = yes; then 11761 { echo "$as_me:$LINENO: checking for GNU ld" >&5 11762 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } 11763 else 11764 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 11765 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } 11766 fi 11767 if test "${lt_cv_path_LD+set}" = set; then 11768 echo $ECHO_N "(cached) $ECHO_C" >&6 11769 else 11770 if test -z "$LD"; then 11771 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 11772 for ac_dir in $PATH; do 11773 IFS="$lt_save_ifs" 11774 test -z "$ac_dir" && ac_dir=. 11775 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 11776 lt_cv_path_LD="$ac_dir/$ac_prog" 11777 # Check to see if the program is GNU ld. I'd rather use --version, 11778 # but apparently some variants of GNU ld only accept -v. 11779 # Break only if it was the GNU/non-GNU ld that we prefer. 11780 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 11781 *GNU* | *'with BFD'*) 11782 test "$with_gnu_ld" != no && break 11783 ;; 11784 *) 11785 test "$with_gnu_ld" != yes && break 11786 ;; 11787 esac 11788 fi 11789 done 11790 IFS="$lt_save_ifs" 11791 else 11792 lt_cv_path_LD="$LD" # Let the user override the test with a path. 11793 fi 11794 fi 11795 11796 LD="$lt_cv_path_LD" 11797 if test -n "$LD"; then 11798 { echo "$as_me:$LINENO: result: $LD" >&5 11799 echo "${ECHO_T}$LD" >&6; } 11800 else 11801 { echo "$as_me:$LINENO: result: no" >&5 11802 echo "${ECHO_T}no" >&6; } 11803 fi 11804 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 11805 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 11806 { (exit 1); exit 1; }; } 11807 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 11808 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } 11809 if test "${lt_cv_prog_gnu_ld+set}" = set; then 11810 echo $ECHO_N "(cached) $ECHO_C" >&6 11811 else 11812 # I'd rather use --version here, but apparently some GNU lds only accept -v. 11813 case `$LD -v 2>&1 </dev/null` in 11814 *GNU* | *'with BFD'*) 11815 lt_cv_prog_gnu_ld=yes 11816 ;; 11817 *) 11818 lt_cv_prog_gnu_ld=no 11819 ;; 11820 esac 11821 fi 11822 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 11823 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } 11824 with_gnu_ld=$lt_cv_prog_gnu_ld 11825 11826 11827 11828 # Check if GNU C++ uses GNU ld as the underlying linker, since the 11829 # archiving commands below assume that GNU ld is being used. 11830 if test "$with_gnu_ld" = yes; then 11831 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 11832 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 11833 11834 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' 11835 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 11836 11837 # If archive_cmds runs LD, not CC, wlarc should be empty 11838 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 11839 # investigate it a little bit more. (MM) 11840 wlarc='${wl}' 11841 11842 # ancient GNU ld didn't support --whole-archive et. al. 11843 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ 11844 grep 'no-whole-archive' > /dev/null; then 11845 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 11846 else 11847 whole_archive_flag_spec_CXX= 11848 fi 11849 else 11850 with_gnu_ld=no 11851 wlarc= 11852 11853 # A generic and very simple default shared library creation 11854 # command for GNU C++ for the case where it uses the native 11855 # linker, instead of GNU ld. If possible, this setting should 11856 # overridden to take advantage of the native linker features on 11857 # the platform it is being used on. 11858 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 11859 fi 11860 11861 # Commands to make compiler produce verbose output that lists 11862 # what "hidden" libraries, object files and flags are used when 11863 # linking a shared library. 11864 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' 11865 11866 else 11867 GXX=no 11868 with_gnu_ld=no 11869 wlarc= 11870 fi 11871 11872 # PORTME: fill in a description of your system's C++ link characteristics 11873 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 11874 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } 11875 ld_shlibs_CXX=yes 11876 case $host_os in 11877 aix3*) 11878 # FIXME: insert proper C++ library support 11879 ld_shlibs_CXX=no 11880 ;; 11881 aix4* | aix5*) 11882 if test "$host_cpu" = ia64; then 11883 # On IA64, the linker does run time linking by default, so we don't 11884 # have to do anything special. 11885 aix_use_runtimelinking=no 11886 exp_sym_flag='-Bexport' 11887 no_entry_flag="" 11888 else 11889 aix_use_runtimelinking=no 11890 11891 # Test if we are trying to use run time linking or normal 11892 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 11893 # need to do runtime linking. 11894 case $host_os in aix4.[23]|aix4.[23].*|aix5*) 11895 for ld_flag in $LDFLAGS; do 11896 case $ld_flag in 11897 *-brtl*) 11898 aix_use_runtimelinking=yes 11899 break 11900 ;; 11901 esac 11902 done 11903 ;; 11904 esac 11905 11906 exp_sym_flag='-bexport' 11907 no_entry_flag='-bnoentry' 11908 fi 11909 11910 # When large executables or shared objects are built, AIX ld can 11911 # have problems creating the table of contents. If linking a library 11912 # or program results in "error TOC overflow" add -mminimal-toc to 11913 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 11914 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 11915 11916 archive_cmds_CXX='' 11917 hardcode_direct_CXX=yes 11918 hardcode_libdir_separator_CXX=':' 11919 link_all_deplibs_CXX=yes 11920 11921 if test "$GXX" = yes; then 11922 case $host_os in aix4.[012]|aix4.[012].*) 11923 # We only want to do this on AIX 4.2 and lower, the check 11924 # below for broken collect2 doesn't work under 4.3+ 11925 collect2name=`${CC} -print-prog-name=collect2` 11926 if test -f "$collect2name" && \ 11927 strings "$collect2name" | grep resolve_lib_name >/dev/null 11928 then 11929 # We have reworked collect2 11930 : 11931 else 11932 # We have old collect2 11933 hardcode_direct_CXX=unsupported 11934 # It fails to find uninstalled libraries when the uninstalled 11935 # path is not listed in the libpath. Setting hardcode_minus_L 11936 # to unsupported forces relinking 11937 hardcode_minus_L_CXX=yes 11938 hardcode_libdir_flag_spec_CXX='-L$libdir' 11939 hardcode_libdir_separator_CXX= 11940 fi 11941 ;; 11942 esac 11943 shared_flag='-shared' 11944 if test "$aix_use_runtimelinking" = yes; then 11945 shared_flag="$shared_flag "'${wl}-G' 11946 fi 11947 else 11948 # not using gcc 11949 if test "$host_cpu" = ia64; then 11950 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 11951 # chokes on -Wl,-G. The following line is correct: 11952 shared_flag='-G' 11953 else 11954 if test "$aix_use_runtimelinking" = yes; then 11955 shared_flag='${wl}-G' 11956 else 11957 shared_flag='${wl}-bM:SRE' 11958 fi 11959 fi 11960 fi 11961 11962 # It seems that -bexpall does not export symbols beginning with 11963 # underscore (_), so it is better to generate a list of symbols to export. 11964 always_export_symbols_CXX=yes 11965 if test "$aix_use_runtimelinking" = yes; then 11966 # Warning - without using the other runtime loading flags (-brtl), 11967 # -berok will link without error, but may produce a broken library. 11968 allow_undefined_flag_CXX='-berok' 11969 # Determine the default libpath from the value encoded in an empty executable. 11970 cat >conftest.$ac_ext <<_ACEOF 11971 /* confdefs.h. */ 11972 _ACEOF 11973 cat confdefs.h >>conftest.$ac_ext 11974 cat >>conftest.$ac_ext <<_ACEOF 11975 /* end confdefs.h. */ 11976 11977 int 11978 main () 11979 { 11980 11981 ; 11982 return 0; 11983 } 11984 _ACEOF 11985 rm -f conftest.$ac_objext conftest$ac_exeext 11986 if { (ac_try="$ac_link" 11987 case "(($ac_try" in 11988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11989 *) ac_try_echo=$ac_try;; 11990 esac 11991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11992 (eval "$ac_link") 2>conftest.er1 11993 ac_status=$? 11994 grep -v '^ *+' conftest.er1 >conftest.err 11995 rm -f conftest.er1 11996 cat conftest.err >&5 11997 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11998 (exit $ac_status); } && { 11999 test -z "$ac_cxx_werror_flag" || 12000 test ! -s conftest.err 12001 } && test -s conftest$ac_exeext && 12002 $as_test_x conftest$ac_exeext; then 12003 12004 lt_aix_libpath_sed=' 12005 /Import File Strings/,/^$/ { 12006 /^0/ { 12007 s/^0 *\(.*\)$/\1/ 12008 p 12009 } 12010 }' 12011 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12012 # Check for a 64-bit object if we didn't find anything. 12013 if test -z "$aix_libpath"; then 12014 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12015 fi 12016 else 12017 echo "$as_me: failed program was:" >&5 12018 sed 's/^/| /' conftest.$ac_ext >&5 12019 12020 12021 fi 12022 12023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12024 conftest$ac_exeext conftest.$ac_ext 12025 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 12026 12027 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 12028 12029 archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 12030 else 12031 if test "$host_cpu" = ia64; then 12032 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' 12033 allow_undefined_flag_CXX="-z nodefs" 12034 archive_expsym_cmds_CXX="\$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" 12035 else 12036 # Determine the default libpath from the value encoded in an empty executable. 12037 cat >conftest.$ac_ext <<_ACEOF 12038 /* confdefs.h. */ 12039 _ACEOF 12040 cat confdefs.h >>conftest.$ac_ext 12041 cat >>conftest.$ac_ext <<_ACEOF 12042 /* end confdefs.h. */ 12043 12044 int 12045 main () 12046 { 12047 12048 ; 12049 return 0; 12050 } 12051 _ACEOF 12052 rm -f conftest.$ac_objext conftest$ac_exeext 12053 if { (ac_try="$ac_link" 12054 case "(($ac_try" in 12055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12056 *) ac_try_echo=$ac_try;; 12057 esac 12058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12059 (eval "$ac_link") 2>conftest.er1 12060 ac_status=$? 12061 grep -v '^ *+' conftest.er1 >conftest.err 12062 rm -f conftest.er1 12063 cat conftest.err >&5 12064 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12065 (exit $ac_status); } && { 12066 test -z "$ac_cxx_werror_flag" || 12067 test ! -s conftest.err 12068 } && test -s conftest$ac_exeext && 12069 $as_test_x conftest$ac_exeext; then 12070 12071 lt_aix_libpath_sed=' 12072 /Import File Strings/,/^$/ { 12073 /^0/ { 12074 s/^0 *\(.*\)$/\1/ 12075 p 12076 } 12077 }' 12078 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12079 # Check for a 64-bit object if we didn't find anything. 12080 if test -z "$aix_libpath"; then 12081 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12082 fi 12083 else 12084 echo "$as_me: failed program was:" >&5 12085 sed 's/^/| /' conftest.$ac_ext >&5 12086 12087 12088 fi 12089 12090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12091 conftest$ac_exeext conftest.$ac_ext 12092 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 12093 12094 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 12095 # Warning - without using the other run time loading flags, 12096 # -berok will link without error, but may produce a broken library. 12097 no_undefined_flag_CXX=' ${wl}-bernotok' 12098 allow_undefined_flag_CXX=' ${wl}-berok' 12099 # Exported symbols can be pulled into shared objects from archives 12100 whole_archive_flag_spec_CXX='$convenience' 12101 archive_cmds_need_lc_CXX=yes 12102 # This is similar to how AIX traditionally builds its shared libraries. 12103 archive_expsym_cmds_CXX="\$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' 12104 fi 12105 fi 12106 ;; 12107 12108 beos*) 12109 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 12110 allow_undefined_flag_CXX=unsupported 12111 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 12112 # support --undefined. This deserves some investigation. FIXME 12113 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 12114 else 12115 ld_shlibs_CXX=no 12116 fi 12117 ;; 12118 12119 chorus*) 12120 case $cc_basename in 12121 *) 12122 # FIXME: insert proper C++ library support 12123 ld_shlibs_CXX=no 12124 ;; 12125 esac 12126 ;; 12127 12128 cygwin* | mingw* | pw32*) 12129 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 12130 # as there is no search path for DLLs. 12131 hardcode_libdir_flag_spec_CXX='-L$libdir' 12132 allow_undefined_flag_CXX=unsupported 12133 always_export_symbols_CXX=no 12134 enable_shared_with_static_runtimes_CXX=yes 12135 12136 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then 12137 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 12138 # If the export-symbols file already is a .def file (1st line 12139 # is EXPORTS), use it as is; otherwise, prepend... 12140 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 12141 cp $export_symbols $output_objdir/$soname.def; 12142 else 12143 echo EXPORTS > $output_objdir/$soname.def; 12144 cat $export_symbols >> $output_objdir/$soname.def; 12145 fi~ 12146 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 12147 else 12148 ld_shlibs_CXX=no 12149 fi 12150 ;; 12151 darwin* | rhapsody*) 12152 case $host_os in 12153 rhapsody* | darwin1.[012]) 12154 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress' 12155 ;; 12156 *) # Darwin 1.3 on 12157 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 12158 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 12159 else 12160 case ${MACOSX_DEPLOYMENT_TARGET} in 12161 10.[012]) 12162 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 12163 ;; 12164 10.*) 12165 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup' 12166 ;; 12167 esac 12168 fi 12169 ;; 12170 esac 12171 archive_cmds_need_lc_CXX=no 12172 hardcode_direct_CXX=no 12173 hardcode_automatic_CXX=yes 12174 hardcode_shlibpath_var_CXX=unsupported 12175 whole_archive_flag_spec_CXX='' 12176 link_all_deplibs_CXX=yes 12177 12178 if test "$GXX" = yes ; then 12179 lt_int_apple_cc_single_mod=no 12180 output_verbose_link_cmd='echo' 12181 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then 12182 lt_int_apple_cc_single_mod=yes 12183 fi 12184 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 12185 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 12186 else 12187 archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 12188 fi 12189 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 12190 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 12191 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 12192 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 12193 else 12194 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 12195 fi 12196 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 12197 else 12198 case $cc_basename in 12199 xlc*) 12200 output_verbose_link_cmd='echo' 12201 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' 12202 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 12203 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 12204 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 12205 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 12206 ;; 12207 *) 12208 ld_shlibs_CXX=no 12209 ;; 12210 esac 12211 fi 12212 ;; 12213 12214 dgux*) 12215 case $cc_basename in 12216 ec++*) 12217 # FIXME: insert proper C++ library support 12218 ld_shlibs_CXX=no 12219 ;; 12220 ghcx*) 12221 # Green Hills C++ Compiler 12222 # FIXME: insert proper C++ library support 12223 ld_shlibs_CXX=no 12224 ;; 12225 *) 12226 # FIXME: insert proper C++ library support 12227 ld_shlibs_CXX=no 12228 ;; 12229 esac 12230 ;; 12231 freebsd[12]*) 12232 # C++ shared libraries reported to be fairly broken before switch to ELF 12233 ld_shlibs_CXX=no 12234 ;; 12235 freebsd-elf*) 12236 archive_cmds_need_lc_CXX=no 12237 ;; 12238 freebsd* | dragonfly*) 12239 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 12240 # conventions 12241 ld_shlibs_CXX=yes 12242 ;; 12243 gnu*) 12244 ;; 12245 hpux9*) 12246 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 12247 hardcode_libdir_separator_CXX=: 12248 export_dynamic_flag_spec_CXX='${wl}-E' 12249 hardcode_direct_CXX=yes 12250 hardcode_minus_L_CXX=yes # Not in the search PATH, 12251 # but as the default 12252 # location of the library. 12253 12254 case $cc_basename in 12255 CC*) 12256 # FIXME: insert proper C++ library support 12257 ld_shlibs_CXX=no 12258 ;; 12259 aCC*) 12260 archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 12261 # Commands to make compiler produce verbose output that lists 12262 # what "hidden" libraries, object files and flags are used when 12263 # linking a shared library. 12264 # 12265 # There doesn't appear to be a way to prevent this compiler from 12266 # explicitly linking system object files so we need to strip them 12267 # from the output so that they don't get included in the library 12268 # dependencies. 12269 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' 12270 ;; 12271 *) 12272 if test "$GXX" = yes; then 12273 archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 12274 else 12275 # FIXME: insert proper C++ library support 12276 ld_shlibs_CXX=no 12277 fi 12278 ;; 12279 esac 12280 ;; 12281 hpux10*|hpux11*) 12282 if test $with_gnu_ld = no; then 12283 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 12284 hardcode_libdir_separator_CXX=: 12285 12286 case $host_cpu in 12287 hppa*64*|ia64*) ;; 12288 *) 12289 export_dynamic_flag_spec_CXX='${wl}-E' 12290 ;; 12291 esac 12292 fi 12293 case $host_cpu in 12294 hppa*64*|ia64*) 12295 hardcode_direct_CXX=no 12296 hardcode_shlibpath_var_CXX=no 12297 ;; 12298 *) 12299 hardcode_direct_CXX=yes 12300 hardcode_minus_L_CXX=yes # Not in the search PATH, 12301 # but as the default 12302 # location of the library. 12303 ;; 12304 esac 12305 12306 case $cc_basename in 12307 CC*) 12308 # FIXME: insert proper C++ library support 12309 ld_shlibs_CXX=no 12310 ;; 12311 aCC*) 12312 case $host_cpu in 12313 hppa*64*) 12314 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 12315 ;; 12316 ia64*) 12317 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 12318 ;; 12319 *) 12320 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 12321 ;; 12322 esac 12323 # Commands to make compiler produce verbose output that lists 12324 # what "hidden" libraries, object files and flags are used when 12325 # linking a shared library. 12326 # 12327 # There doesn't appear to be a way to prevent this compiler from 12328 # explicitly linking system object files so we need to strip them 12329 # from the output so that they don't get included in the library 12330 # dependencies. 12331 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' 12332 ;; 12333 *) 12334 if test "$GXX" = yes; then 12335 if test $with_gnu_ld = no; then 12336 case $host_cpu in 12337 hppa*64*) 12338 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 12339 ;; 12340 ia64*) 12341 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 12342 ;; 12343 *) 12344 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 12345 ;; 12346 esac 12347 fi 12348 else 12349 # FIXME: insert proper C++ library support 12350 ld_shlibs_CXX=no 12351 fi 12352 ;; 12353 esac 12354 ;; 12355 interix[3-9]*) 12356 hardcode_direct_CXX=no 12357 hardcode_shlibpath_var_CXX=no 12358 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 12359 export_dynamic_flag_spec_CXX='${wl}-E' 12360 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 12361 # Instead, shared libraries are loaded at an image base (0x10000000 by 12362 # default) and relocated if they conflict, which is a slow very memory 12363 # consuming and fragmenting process. To avoid this, we pick a random, 12364 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 12365 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 12366 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 12367 archive_expsym_cmds_CXX='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' 12368 ;; 12369 irix5* | irix6*) 12370 case $cc_basename in 12371 CC*) 12372 # SGI C++ 12373 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 12374 12375 # Archives containing C++ object files must be created using 12376 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 12377 # necessary to make sure instantiated templates are included 12378 # in the archive. 12379 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 12380 ;; 12381 *) 12382 if test "$GXX" = yes; then 12383 if test "$with_gnu_ld" = no; then 12384 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 12385 else 12386 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' 12387 fi 12388 fi 12389 link_all_deplibs_CXX=yes 12390 ;; 12391 esac 12392 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 12393 hardcode_libdir_separator_CXX=: 12394 ;; 12395 linux* | k*bsd*-gnu) 12396 case $cc_basename in 12397 KCC*) 12398 # Kuck and Associates, Inc. (KAI) C++ Compiler 12399 12400 # KCC will only create a shared library if the output file 12401 # ends with ".so" (or ".sl" for HP-UX), so rename the library 12402 # to its proper name (with version) after linking. 12403 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 12404 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' 12405 # Commands to make compiler produce verbose output that lists 12406 # what "hidden" libraries, object files and flags are used when 12407 # linking a shared library. 12408 # 12409 # There doesn't appear to be a way to prevent this compiler from 12410 # explicitly linking system object files so we need to strip them 12411 # from the output so that they don't get included in the library 12412 # dependencies. 12413 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' 12414 12415 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir' 12416 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 12417 12418 # Archives containing C++ object files must be created using 12419 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 12420 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 12421 ;; 12422 icpc*) 12423 # Intel C++ 12424 with_gnu_ld=yes 12425 # version 8.0 and above of icpc choke on multiply defined symbols 12426 # if we add $predep_objects and $postdep_objects, however 7.1 and 12427 # earlier do not add the objects themselves. 12428 case `$CC -V 2>&1` in 12429 *"Version 7."*) 12430 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 12431 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 12432 ;; 12433 *) # Version 8.0 or newer 12434 tmp_idyn= 12435 case $host_cpu in 12436 ia64*) tmp_idyn=' -i_dynamic';; 12437 esac 12438 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 12439 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 12440 ;; 12441 esac 12442 archive_cmds_need_lc_CXX=no 12443 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 12444 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 12445 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 12446 ;; 12447 pgCC*) 12448 # Portland Group C++ compiler 12449 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 12450 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 12451 12452 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' 12453 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 12454 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' 12455 ;; 12456 cxx*) 12457 # Compaq C++ 12458 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 12459 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' 12460 12461 runpath_var=LD_RUN_PATH 12462 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 12463 hardcode_libdir_separator_CXX=: 12464 12465 # Commands to make compiler produce verbose output that lists 12466 # what "hidden" libraries, object files and flags are used when 12467 # linking a shared library. 12468 # 12469 # There doesn't appear to be a way to prevent this compiler from 12470 # explicitly linking system object files so we need to strip them 12471 # from the output so that they don't get included in the library 12472 # dependencies. 12473 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' 12474 ;; 12475 *) 12476 case `$CC -V 2>&1 | sed 5q` in 12477 *Sun\ C*) 12478 # Sun C++ 5.9 12479 no_undefined_flag_CXX=' -zdefs' 12480 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 12481 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' 12482 hardcode_libdir_flag_spec_CXX='-R$libdir' 12483 whole_archive_flag_spec_CXX='${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' 12484 12485 # Not sure whether something based on 12486 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 12487 # would be better. 12488 output_verbose_link_cmd='echo' 12489 12490 # Archives containing C++ object files must be created using 12491 # "CC -xar", where "CC" is the Sun C++ compiler. This is 12492 # necessary to make sure instantiated templates are included 12493 # in the archive. 12494 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 12495 ;; 12496 esac 12497 ;; 12498 esac 12499 ;; 12500 lynxos*) 12501 # FIXME: insert proper C++ library support 12502 ld_shlibs_CXX=no 12503 ;; 12504 m88k*) 12505 # FIXME: insert proper C++ library support 12506 ld_shlibs_CXX=no 12507 ;; 12508 mvs*) 12509 case $cc_basename in 12510 cxx*) 12511 # FIXME: insert proper C++ library support 12512 ld_shlibs_CXX=no 12513 ;; 12514 *) 12515 # FIXME: insert proper C++ library support 12516 ld_shlibs_CXX=no 12517 ;; 12518 esac 12519 ;; 12520 netbsd*) 12521 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 12522 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 12523 wlarc= 12524 hardcode_libdir_flag_spec_CXX='-R$libdir' 12525 hardcode_direct_CXX=yes 12526 hardcode_shlibpath_var_CXX=no 12527 fi 12528 # Workaround some broken pre-1.5 toolchains 12529 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 12530 ;; 12531 openbsd2*) 12532 # C++ shared libraries are fairly broken 12533 ld_shlibs_CXX=no 12534 ;; 12535 openbsd*) 12536 if test -f /usr/libexec/ld.so; then 12537 hardcode_direct_CXX=yes 12538 hardcode_shlibpath_var_CXX=no 12539 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 12540 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 12541 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 12542 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' 12543 export_dynamic_flag_spec_CXX='${wl}-E' 12544 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 12545 fi 12546 output_verbose_link_cmd='echo' 12547 else 12548 ld_shlibs_CXX=no 12549 fi 12550 ;; 12551 osf3*) 12552 case $cc_basename in 12553 KCC*) 12554 # Kuck and Associates, Inc. (KAI) C++ Compiler 12555 12556 # KCC will only create a shared library if the output file 12557 # ends with ".so" (or ".sl" for HP-UX), so rename the library 12558 # to its proper name (with version) after linking. 12559 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 12560 12561 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 12562 hardcode_libdir_separator_CXX=: 12563 12564 # Archives containing C++ object files must be created using 12565 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 12566 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 12567 12568 ;; 12569 RCC*) 12570 # Rational C++ 2.4.1 12571 # FIXME: insert proper C++ library support 12572 ld_shlibs_CXX=no 12573 ;; 12574 cxx*) 12575 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 12576 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 12577 12578 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 12579 hardcode_libdir_separator_CXX=: 12580 12581 # Commands to make compiler produce verbose output that lists 12582 # what "hidden" libraries, object files and flags are used when 12583 # linking a shared library. 12584 # 12585 # There doesn't appear to be a way to prevent this compiler from 12586 # explicitly linking system object files so we need to strip them 12587 # from the output so that they don't get included in the library 12588 # dependencies. 12589 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' 12590 ;; 12591 *) 12592 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 12593 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 12594 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 12595 12596 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 12597 hardcode_libdir_separator_CXX=: 12598 12599 # Commands to make compiler produce verbose output that lists 12600 # what "hidden" libraries, object files and flags are used when 12601 # linking a shared library. 12602 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' 12603 12604 else 12605 # FIXME: insert proper C++ library support 12606 ld_shlibs_CXX=no 12607 fi 12608 ;; 12609 esac 12610 ;; 12611 osf4* | osf5*) 12612 case $cc_basename in 12613 KCC*) 12614 # Kuck and Associates, Inc. (KAI) C++ Compiler 12615 12616 # KCC will only create a shared library if the output file 12617 # ends with ".so" (or ".sl" for HP-UX), so rename the library 12618 # to its proper name (with version) after linking. 12619 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 12620 12621 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 12622 hardcode_libdir_separator_CXX=: 12623 12624 # Archives containing C++ object files must be created using 12625 # the KAI C++ compiler. 12626 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' 12627 ;; 12628 RCC*) 12629 # Rational C++ 2.4.1 12630 # FIXME: insert proper C++ library support 12631 ld_shlibs_CXX=no 12632 ;; 12633 cxx*) 12634 allow_undefined_flag_CXX=' -expect_unresolved \*' 12635 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 12636 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 12637 echo "-hidden">> $lib.exp~ 12638 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~ 12639 $rm $lib.exp' 12640 12641 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 12642 hardcode_libdir_separator_CXX=: 12643 12644 # Commands to make compiler produce verbose output that lists 12645 # what "hidden" libraries, object files and flags are used when 12646 # linking a shared library. 12647 # 12648 # There doesn't appear to be a way to prevent this compiler from 12649 # explicitly linking system object files so we need to strip them 12650 # from the output so that they don't get included in the library 12651 # dependencies. 12652 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' 12653 ;; 12654 *) 12655 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 12656 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 12657 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 12658 12659 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 12660 hardcode_libdir_separator_CXX=: 12661 12662 # Commands to make compiler produce verbose output that lists 12663 # what "hidden" libraries, object files and flags are used when 12664 # linking a shared library. 12665 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' 12666 12667 else 12668 # FIXME: insert proper C++ library support 12669 ld_shlibs_CXX=no 12670 fi 12671 ;; 12672 esac 12673 ;; 12674 psos*) 12675 # FIXME: insert proper C++ library support 12676 ld_shlibs_CXX=no 12677 ;; 12678 sunos4*) 12679 case $cc_basename in 12680 CC*) 12681 # Sun C++ 4.x 12682 # FIXME: insert proper C++ library support 12683 ld_shlibs_CXX=no 12684 ;; 12685 lcc*) 12686 # Lucid 12687 # FIXME: insert proper C++ library support 12688 ld_shlibs_CXX=no 12689 ;; 12690 *) 12691 # FIXME: insert proper C++ library support 12692 ld_shlibs_CXX=no 12693 ;; 12694 esac 12695 ;; 12696 solaris*) 12697 case $cc_basename in 12698 CC*) 12699 # Sun C++ 4.2, 5.x and Centerline C++ 12700 archive_cmds_need_lc_CXX=yes 12701 no_undefined_flag_CXX=' -zdefs' 12702 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 12703 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 12704 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' 12705 12706 hardcode_libdir_flag_spec_CXX='-R$libdir' 12707 hardcode_shlibpath_var_CXX=no 12708 case $host_os in 12709 solaris2.[0-5] | solaris2.[0-5].*) ;; 12710 *) 12711 # The compiler driver will combine and reorder linker options, 12712 # but understands `-z linker_flag'. 12713 # Supported since Solaris 2.6 (maybe 2.5.1?) 12714 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 12715 ;; 12716 esac 12717 link_all_deplibs_CXX=yes 12718 12719 output_verbose_link_cmd='echo' 12720 12721 # Archives containing C++ object files must be created using 12722 # "CC -xar", where "CC" is the Sun C++ compiler. This is 12723 # necessary to make sure instantiated templates are included 12724 # in the archive. 12725 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 12726 ;; 12727 gcx*) 12728 # Green Hills C++ Compiler 12729 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 12730 12731 # The C++ compiler must be used to create the archive. 12732 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 12733 ;; 12734 *) 12735 # GNU C++ compiler with Solaris linker 12736 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 12737 no_undefined_flag_CXX=' ${wl}-z ${wl}defs' 12738 if $CC --version | grep -v '^2\.7' > /dev/null; then 12739 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 12740 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 12741 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' 12742 12743 # Commands to make compiler produce verbose output that lists 12744 # what "hidden" libraries, object files and flags are used when 12745 # linking a shared library. 12746 output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" 12747 else 12748 # g++ 2.7 appears to require `-G' NOT `-shared' on this 12749 # platform. 12750 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 12751 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 12752 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' 12753 12754 # Commands to make compiler produce verbose output that lists 12755 # what "hidden" libraries, object files and flags are used when 12756 # linking a shared library. 12757 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" 12758 fi 12759 12760 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' 12761 case $host_os in 12762 solaris2.[0-5] | solaris2.[0-5].*) ;; 12763 *) 12764 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 12765 ;; 12766 esac 12767 fi 12768 ;; 12769 esac 12770 ;; 12771 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 12772 no_undefined_flag_CXX='${wl}-z,text' 12773 archive_cmds_need_lc_CXX=no 12774 hardcode_shlibpath_var_CXX=no 12775 runpath_var='LD_RUN_PATH' 12776 12777 case $cc_basename in 12778 CC*) 12779 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12780 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12781 ;; 12782 *) 12783 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12784 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12785 ;; 12786 esac 12787 ;; 12788 sysv5* | sco3.2v5* | sco5v6*) 12789 # Note: We can NOT use -z defs as we might desire, because we do not 12790 # link with -lc, and that would cause any symbols used from libc to 12791 # always be unresolved, which means just about no library would 12792 # ever link correctly. If we're not using GNU ld we use -z text 12793 # though, which does catch some bad symbols but isn't as heavy-handed 12794 # as -z defs. 12795 # For security reasons, it is highly recommended that you always 12796 # use absolute paths for naming shared libraries, and exclude the 12797 # DT_RUNPATH tag from executables and libraries. But doing so 12798 # requires that you compile everything twice, which is a pain. 12799 # So that behaviour is only enabled if SCOABSPATH is set to a 12800 # non-empty value in the environment. Most likely only useful for 12801 # creating official distributions of packages. 12802 # This is a hack until libtool officially supports absolute path 12803 # names for shared libraries. 12804 no_undefined_flag_CXX='${wl}-z,text' 12805 allow_undefined_flag_CXX='${wl}-z,nodefs' 12806 archive_cmds_need_lc_CXX=no 12807 hardcode_shlibpath_var_CXX=no 12808 hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' 12809 hardcode_libdir_separator_CXX=':' 12810 link_all_deplibs_CXX=yes 12811 export_dynamic_flag_spec_CXX='${wl}-Bexport' 12812 runpath_var='LD_RUN_PATH' 12813 12814 case $cc_basename in 12815 CC*) 12816 archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 12817 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 12818 ;; 12819 *) 12820 archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 12821 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 12822 ;; 12823 esac 12824 ;; 12825 tandem*) 12826 case $cc_basename in 12827 NCC*) 12828 # NonStop-UX NCC 3.20 12829 # FIXME: insert proper C++ library support 12830 ld_shlibs_CXX=no 12831 ;; 12832 *) 12833 # FIXME: insert proper C++ library support 12834 ld_shlibs_CXX=no 12835 ;; 12836 esac 12837 ;; 12838 vxworks*) 12839 # FIXME: insert proper C++ library support 12840 ld_shlibs_CXX=no 12841 ;; 12842 *) 12843 # FIXME: insert proper C++ library support 12844 ld_shlibs_CXX=no 12845 ;; 12846 esac 12847 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 12848 echo "${ECHO_T}$ld_shlibs_CXX" >&6; } 12849 test "$ld_shlibs_CXX" = no && can_build_shared=no 12850 12851 GCC_CXX="$GXX" 12852 LD_CXX="$LD" 12853 12854 12855 cat > conftest.$ac_ext <<EOF 12856 class Foo 12857 { 12858 public: 12859 Foo (void) { a = 0; } 12860 private: 12861 int a; 12862 }; 12863 EOF 12864 12865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 12866 (eval $ac_compile) 2>&5 12867 ac_status=$? 12868 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12869 (exit $ac_status); }; then 12870 # Parse the compiler output and extract the necessary 12871 # objects, libraries and library flags. 12872 12873 # Sentinel used to keep track of whether or not we are before 12874 # the conftest object file. 12875 pre_test_object_deps_done=no 12876 12877 # The `*' in the case matches for architectures that use `case' in 12878 # $output_verbose_cmd can trigger glob expansion during the loop 12879 # eval without this substitution. 12880 output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"` 12881 12882 for p in `eval $output_verbose_link_cmd`; do 12883 case $p in 12884 12885 -L* | -R* | -l*) 12886 # Some compilers place space between "-{L,R}" and the path. 12887 # Remove the space. 12888 if test $p = "-L" \ 12889 || test $p = "-R"; then 12890 prev=$p 12891 continue 12892 else 12893 prev= 12894 fi 12895 12896 if test "$pre_test_object_deps_done" = no; then 12897 case $p in 12898 -L* | -R*) 12899 # Internal compiler library paths should come after those 12900 # provided the user. The postdeps already come after the 12901 # user supplied libs so there is no need to process them. 12902 if test -z "$compiler_lib_search_path_CXX"; then 12903 compiler_lib_search_path_CXX="${prev}${p}" 12904 else 12905 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" 12906 fi 12907 ;; 12908 # The "-l" case would never come before the object being 12909 # linked, so don't bother handling this case. 12910 esac 12911 else 12912 if test -z "$postdeps_CXX"; then 12913 postdeps_CXX="${prev}${p}" 12914 else 12915 postdeps_CXX="${postdeps_CXX} ${prev}${p}" 12916 fi 12917 fi 12918 ;; 12919 12920 *.$objext) 12921 # This assumes that the test object file only shows up 12922 # once in the compiler output. 12923 if test "$p" = "conftest.$objext"; then 12924 pre_test_object_deps_done=yes 12925 continue 12926 fi 12927 12928 if test "$pre_test_object_deps_done" = no; then 12929 if test -z "$predep_objects_CXX"; then 12930 predep_objects_CXX="$p" 12931 else 12932 predep_objects_CXX="$predep_objects_CXX $p" 12933 fi 12934 else 12935 if test -z "$postdep_objects_CXX"; then 12936 postdep_objects_CXX="$p" 12937 else 12938 postdep_objects_CXX="$postdep_objects_CXX $p" 12939 fi 12940 fi 12941 ;; 12942 12943 *) ;; # Ignore the rest. 12944 12945 esac 12946 done 12947 12948 # Clean up. 12949 rm -f a.out a.exe 12950 else 12951 echo "libtool.m4: error: problem compiling CXX test program" 12952 fi 12953 12954 $rm -f confest.$objext 12955 12956 # PORTME: override above test on systems where it is broken 12957 case $host_os in 12958 interix[3-9]*) 12959 # Interix 3.5 installs completely hosed .la files for C++, so rather than 12960 # hack all around it, let's just trust "g++" to DTRT. 12961 predep_objects_CXX= 12962 postdep_objects_CXX= 12963 postdeps_CXX= 12964 ;; 12965 12966 linux*) 12967 case `$CC -V 2>&1 | sed 5q` in 12968 *Sun\ C*) 12969 # Sun C++ 5.9 12970 # 12971 # The more standards-conforming stlport4 library is 12972 # incompatible with the Cstd library. Avoid specifying 12973 # it if it's in CXXFLAGS. Ignore libCrun as 12974 # -library=stlport4 depends on it. 12975 case " $CXX $CXXFLAGS " in 12976 *" -library=stlport4 "*) 12977 solaris_use_stlport4=yes 12978 ;; 12979 esac 12980 if test "$solaris_use_stlport4" != yes; then 12981 postdeps_CXX='-library=Cstd -library=Crun' 12982 fi 12983 ;; 12984 esac 12985 ;; 12986 12987 solaris*) 12988 case $cc_basename in 12989 CC*) 12990 # The more standards-conforming stlport4 library is 12991 # incompatible with the Cstd library. Avoid specifying 12992 # it if it's in CXXFLAGS. Ignore libCrun as 12993 # -library=stlport4 depends on it. 12994 case " $CXX $CXXFLAGS " in 12995 *" -library=stlport4 "*) 12996 solaris_use_stlport4=yes 12997 ;; 12998 esac 12999 13000 # Adding this requires a known-good setup of shared libraries for 13001 # Sun compiler versions before 5.6, else PIC objects from an old 13002 # archive will be linked into the output, leading to subtle bugs. 13003 if test "$solaris_use_stlport4" != yes; then 13004 postdeps_CXX='-library=Cstd -library=Crun' 13005 fi 13006 ;; 13007 esac 13008 ;; 13009 esac 13010 13011 13012 case " $postdeps_CXX " in 13013 *" -lc "*) archive_cmds_need_lc_CXX=no ;; 13014 esac 13015 13016 lt_prog_compiler_wl_CXX= 13017 lt_prog_compiler_pic_CXX= 13018 lt_prog_compiler_static_CXX= 13019 13020 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 13021 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } 13022 13023 # C++ specific cases for pic, static, wl, etc. 13024 if test "$GXX" = yes; then 13025 lt_prog_compiler_wl_CXX='-Wl,' 13026 lt_prog_compiler_static_CXX='-static' 13027 13028 case $host_os in 13029 aix*) 13030 # All AIX code is PIC. 13031 if test "$host_cpu" = ia64; then 13032 # AIX 5 now supports IA64 processor 13033 lt_prog_compiler_static_CXX='-Bstatic' 13034 fi 13035 ;; 13036 amigaos*) 13037 # FIXME: we need at least 68020 code to build shared libraries, but 13038 # adding the `-m68020' flag to GCC prevents building anything better, 13039 # like `-m68040'. 13040 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 13041 ;; 13042 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 13043 # PIC is the default for these OSes. 13044 ;; 13045 mingw* | cygwin* | os2* | pw32*) 13046 # This hack is so that the source file can tell whether it is being 13047 # built for inclusion in a dll (and should export symbols for example). 13048 # Although the cygwin gcc ignores -fPIC, still need this for old-style 13049 # (--disable-auto-import) libraries 13050 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 13051 ;; 13052 darwin* | rhapsody*) 13053 # PIC is the default on this platform 13054 # Common symbols not allowed in MH_DYLIB files 13055 lt_prog_compiler_pic_CXX='-fno-common' 13056 ;; 13057 *djgpp*) 13058 # DJGPP does not support shared libraries at all 13059 lt_prog_compiler_pic_CXX= 13060 ;; 13061 interix[3-9]*) 13062 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 13063 # Instead, we relocate shared libraries at runtime. 13064 ;; 13065 sysv4*MP*) 13066 if test -d /usr/nec; then 13067 lt_prog_compiler_pic_CXX=-Kconform_pic 13068 fi 13069 ;; 13070 hpux*) 13071 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 13072 # not for PA HP-UX. 13073 case $host_cpu in 13074 hppa*64*|ia64*) 13075 ;; 13076 *) 13077 lt_prog_compiler_pic_CXX='-fPIC' 13078 ;; 13079 esac 13080 ;; 13081 *) 13082 lt_prog_compiler_pic_CXX='-fPIC' 13083 ;; 13084 esac 13085 else 13086 case $host_os in 13087 aix4* | aix5*) 13088 # All AIX code is PIC. 13089 if test "$host_cpu" = ia64; then 13090 # AIX 5 now supports IA64 processor 13091 lt_prog_compiler_static_CXX='-Bstatic' 13092 else 13093 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 13094 fi 13095 ;; 13096 chorus*) 13097 case $cc_basename in 13098 cxch68*) 13099 # Green Hills C++ Compiler 13100 # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" 13101 ;; 13102 esac 13103 ;; 13104 darwin*) 13105 # PIC is the default on this platform 13106 # Common symbols not allowed in MH_DYLIB files 13107 case $cc_basename in 13108 xlc*) 13109 lt_prog_compiler_pic_CXX='-qnocommon' 13110 lt_prog_compiler_wl_CXX='-Wl,' 13111 ;; 13112 esac 13113 ;; 13114 dgux*) 13115 case $cc_basename in 13116 ec++*) 13117 lt_prog_compiler_pic_CXX='-KPIC' 13118 ;; 13119 ghcx*) 13120 # Green Hills C++ Compiler 13121 lt_prog_compiler_pic_CXX='-pic' 13122 ;; 13123 *) 13124 ;; 13125 esac 13126 ;; 13127 freebsd* | dragonfly*) 13128 # FreeBSD uses GNU C++ 13129 ;; 13130 hpux9* | hpux10* | hpux11*) 13131 case $cc_basename in 13132 CC*) 13133 lt_prog_compiler_wl_CXX='-Wl,' 13134 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' 13135 if test "$host_cpu" != ia64; then 13136 lt_prog_compiler_pic_CXX='+Z' 13137 fi 13138 ;; 13139 aCC*) 13140 lt_prog_compiler_wl_CXX='-Wl,' 13141 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' 13142 case $host_cpu in 13143 hppa*64*|ia64*) 13144 # +Z the default 13145 ;; 13146 *) 13147 lt_prog_compiler_pic_CXX='+Z' 13148 ;; 13149 esac 13150 ;; 13151 *) 13152 ;; 13153 esac 13154 ;; 13155 interix*) 13156 # This is c89, which is MS Visual C++ (no shared libs) 13157 # Anyone wants to do a port? 13158 ;; 13159 irix5* | irix6* | nonstopux*) 13160 case $cc_basename in 13161 CC*) 13162 lt_prog_compiler_wl_CXX='-Wl,' 13163 lt_prog_compiler_static_CXX='-non_shared' 13164 # CC pic flag -KPIC is the default. 13165 ;; 13166 *) 13167 ;; 13168 esac 13169 ;; 13170 linux* | k*bsd*-gnu) 13171 case $cc_basename in 13172 KCC*) 13173 # KAI C++ Compiler 13174 lt_prog_compiler_wl_CXX='--backend -Wl,' 13175 lt_prog_compiler_pic_CXX='-fPIC' 13176 ;; 13177 icpc* | ecpc*) 13178 # Intel C++ 13179 lt_prog_compiler_wl_CXX='-Wl,' 13180 lt_prog_compiler_pic_CXX='-KPIC' 13181 lt_prog_compiler_static_CXX='-static' 13182 ;; 13183 pgCC*) 13184 # Portland Group C++ compiler. 13185 lt_prog_compiler_wl_CXX='-Wl,' 13186 lt_prog_compiler_pic_CXX='-fpic' 13187 lt_prog_compiler_static_CXX='-Bstatic' 13188 ;; 13189 cxx*) 13190 # Compaq C++ 13191 # Make sure the PIC flag is empty. It appears that all Alpha 13192 # Linux and Compaq Tru64 Unix objects are PIC. 13193 lt_prog_compiler_pic_CXX= 13194 lt_prog_compiler_static_CXX='-non_shared' 13195 ;; 13196 *) 13197 case `$CC -V 2>&1 | sed 5q` in 13198 *Sun\ C*) 13199 # Sun C++ 5.9 13200 lt_prog_compiler_pic_CXX='-KPIC' 13201 lt_prog_compiler_static_CXX='-Bstatic' 13202 lt_prog_compiler_wl_CXX='-Qoption ld ' 13203 ;; 13204 esac 13205 ;; 13206 esac 13207 ;; 13208 lynxos*) 13209 ;; 13210 m88k*) 13211 ;; 13212 mvs*) 13213 case $cc_basename in 13214 cxx*) 13215 lt_prog_compiler_pic_CXX='-W c,exportall' 13216 ;; 13217 *) 13218 ;; 13219 esac 13220 ;; 13221 netbsd*) 13222 ;; 13223 osf3* | osf4* | osf5*) 13224 case $cc_basename in 13225 KCC*) 13226 lt_prog_compiler_wl_CXX='--backend -Wl,' 13227 ;; 13228 RCC*) 13229 # Rational C++ 2.4.1 13230 lt_prog_compiler_pic_CXX='-pic' 13231 ;; 13232 cxx*) 13233 # Digital/Compaq C++ 13234 lt_prog_compiler_wl_CXX='-Wl,' 13235 # Make sure the PIC flag is empty. It appears that all Alpha 13236 # Linux and Compaq Tru64 Unix objects are PIC. 13237 lt_prog_compiler_pic_CXX= 13238 lt_prog_compiler_static_CXX='-non_shared' 13239 ;; 13240 *) 13241 ;; 13242 esac 13243 ;; 13244 psos*) 13245 ;; 13246 solaris*) 13247 case $cc_basename in 13248 CC*) 13249 # Sun C++ 4.2, 5.x and Centerline C++ 13250 lt_prog_compiler_pic_CXX='-KPIC' 13251 lt_prog_compiler_static_CXX='-Bstatic' 13252 lt_prog_compiler_wl_CXX='-Qoption ld ' 13253 ;; 13254 gcx*) 13255 # Green Hills C++ Compiler 13256 lt_prog_compiler_pic_CXX='-PIC' 13257 ;; 13258 *) 13259 ;; 13260 esac 13261 ;; 13262 sunos4*) 13263 case $cc_basename in 13264 CC*) 13265 # Sun C++ 4.x 13266 lt_prog_compiler_pic_CXX='-pic' 13267 lt_prog_compiler_static_CXX='-Bstatic' 13268 ;; 13269 lcc*) 13270 # Lucid 13271 lt_prog_compiler_pic_CXX='-pic' 13272 ;; 13273 *) 13274 ;; 13275 esac 13276 ;; 13277 tandem*) 13278 case $cc_basename in 13279 NCC*) 13280 # NonStop-UX NCC 3.20 13281 lt_prog_compiler_pic_CXX='-KPIC' 13282 ;; 13283 *) 13284 ;; 13285 esac 13286 ;; 13287 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 13288 case $cc_basename in 13289 CC*) 13290 lt_prog_compiler_wl_CXX='-Wl,' 13291 lt_prog_compiler_pic_CXX='-KPIC' 13292 lt_prog_compiler_static_CXX='-Bstatic' 13293 ;; 13294 esac 13295 ;; 13296 vxworks*) 13297 ;; 13298 *) 13299 lt_prog_compiler_can_build_shared_CXX=no 13300 ;; 13301 esac 13302 fi 13303 13304 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 13305 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; } 13306 13307 # 13308 # Check to make sure the PIC flag actually works. 13309 # 13310 if test -n "$lt_prog_compiler_pic_CXX"; then 13311 13312 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 13313 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; } 13314 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then 13315 echo $ECHO_N "(cached) $ECHO_C" >&6 13316 else 13317 lt_prog_compiler_pic_works_CXX=no 13318 ac_outfile=conftest.$ac_objext 13319 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 13320 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" 13321 # Insert the option either (1) after the last *FLAGS variable, or 13322 # (2) before a word containing "conftest.", or (3) at the end. 13323 # Note that $ac_compile itself does not contain backslashes and begins 13324 # with a dollar sign (not a hyphen), so the echo should work correctly. 13325 # The option is referenced via a variable to avoid confusing sed. 13326 lt_compile=`echo "$ac_compile" | $SED \ 13327 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 13328 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13329 -e 's:$: $lt_compiler_flag:'` 13330 (eval echo "\"\$as_me:13330: $lt_compile\"" >&5) 13331 (eval "$lt_compile" 2>conftest.err) 13332 ac_status=$? 13333 cat conftest.err >&5 13334 echo "$as_me:13334: \$? = $ac_status" >&5 13335 if (exit $ac_status) && test -s "$ac_outfile"; then 13336 # The compiler can only warn and ignore the option if not recognized 13337 # So say no if there are warnings other than the usual output. 13338 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 13339 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 13340 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 13341 lt_prog_compiler_pic_works_CXX=yes 13342 fi 13343 fi 13344 $rm conftest* 13345 13346 fi 13347 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5 13348 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; } 13349 13350 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then 13351 case $lt_prog_compiler_pic_CXX in 13352 "" | " "*) ;; 13353 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 13354 esac 13355 else 13356 lt_prog_compiler_pic_CXX= 13357 lt_prog_compiler_can_build_shared_CXX=no 13358 fi 13359 13360 fi 13361 case $host_os in 13362 # For platforms which do not support PIC, -DPIC is meaningless: 13363 *djgpp*) 13364 lt_prog_compiler_pic_CXX= 13365 ;; 13366 *) 13367 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 13368 ;; 13369 esac 13370 13371 # 13372 # Check to make sure the static flag actually works. 13373 # 13374 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 13375 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 13376 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } 13377 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then 13378 echo $ECHO_N "(cached) $ECHO_C" >&6 13379 else 13380 lt_prog_compiler_static_works_CXX=no 13381 save_LDFLAGS="$LDFLAGS" 13382 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 13383 echo "$lt_simple_link_test_code" > conftest.$ac_ext 13384 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 13385 # The linker can only warn and ignore the option if not recognized 13386 # So say no if there are warnings 13387 if test -s conftest.err; then 13388 # Append any errors to the config.log. 13389 cat conftest.err 1>&5 13390 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 13391 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 13392 if diff conftest.exp conftest.er2 >/dev/null; then 13393 lt_prog_compiler_static_works_CXX=yes 13394 fi 13395 else 13396 lt_prog_compiler_static_works_CXX=yes 13397 fi 13398 fi 13399 $rm conftest* 13400 LDFLAGS="$save_LDFLAGS" 13401 13402 fi 13403 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5 13404 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; } 13405 13406 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then 13407 : 13408 else 13409 lt_prog_compiler_static_CXX= 13410 fi 13411 13412 13413 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 13414 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } 13415 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then 13416 echo $ECHO_N "(cached) $ECHO_C" >&6 13417 else 13418 lt_cv_prog_compiler_c_o_CXX=no 13419 $rm -r conftest 2>/dev/null 13420 mkdir conftest 13421 cd conftest 13422 mkdir out 13423 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 13424 13425 lt_compiler_flag="-o out/conftest2.$ac_objext" 13426 # Insert the option either (1) after the last *FLAGS variable, or 13427 # (2) before a word containing "conftest.", or (3) at the end. 13428 # Note that $ac_compile itself does not contain backslashes and begins 13429 # with a dollar sign (not a hyphen), so the echo should work correctly. 13430 lt_compile=`echo "$ac_compile" | $SED \ 13431 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 13432 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13433 -e 's:$: $lt_compiler_flag:'` 13434 (eval echo "\"\$as_me:13434: $lt_compile\"" >&5) 13435 (eval "$lt_compile" 2>out/conftest.err) 13436 ac_status=$? 13437 cat out/conftest.err >&5 13438 echo "$as_me:13438: \$? = $ac_status" >&5 13439 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13440 then 13441 # The compiler can only warn and ignore the option if not recognized 13442 # So say no if there are warnings 13443 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 13444 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 13445 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 13446 lt_cv_prog_compiler_c_o_CXX=yes 13447 fi 13448 fi 13449 chmod u+w . 2>&5 13450 $rm conftest* 13451 # SGI C++ compiler will create directory out/ii_files/ for 13452 # template instantiation 13453 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 13454 $rm out/* && rmdir out 13455 cd .. 13456 rmdir conftest 13457 $rm conftest* 13458 13459 fi 13460 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 13461 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; } 13462 13463 13464 hard_links="nottested" 13465 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then 13466 # do not overwrite the value of need_locks provided by the user 13467 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 13468 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } 13469 hard_links=yes 13470 $rm conftest* 13471 ln conftest.a conftest.b 2>/dev/null && hard_links=no 13472 touch conftest.a 13473 ln conftest.a conftest.b 2>&5 || hard_links=no 13474 ln conftest.a conftest.b 2>/dev/null && hard_links=no 13475 { echo "$as_me:$LINENO: result: $hard_links" >&5 13476 echo "${ECHO_T}$hard_links" >&6; } 13477 if test "$hard_links" = no; then 13478 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 13479 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 13480 need_locks=warn 13481 fi 13482 else 13483 need_locks=no 13484 fi 13485 13486 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 13487 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } 13488 13489 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 13490 case $host_os in 13491 aix4* | aix5*) 13492 # If we're using GNU nm, then we don't want the "-C" option. 13493 # -C means demangle to AIX nm, but means don't demangle with GNU nm 13494 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then 13495 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' 13496 else 13497 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' 13498 fi 13499 ;; 13500 pw32*) 13501 export_symbols_cmds_CXX="$ltdll_cmds" 13502 ;; 13503 cygwin* | mingw*) 13504 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 13505 ;; 13506 *) 13507 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 13508 ;; 13509 esac 13510 13511 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 13512 echo "${ECHO_T}$ld_shlibs_CXX" >&6; } 13513 test "$ld_shlibs_CXX" = no && can_build_shared=no 13514 13515 # 13516 # Do we need to explicitly link libc? 13517 # 13518 case "x$archive_cmds_need_lc_CXX" in 13519 x|xyes) 13520 # Assume -lc should be added 13521 archive_cmds_need_lc_CXX=yes 13522 13523 if test "$enable_shared" = yes && test "$GCC" = yes; then 13524 case $archive_cmds_CXX in 13525 *'~'*) 13526 # FIXME: we may have to deal with multi-command sequences. 13527 ;; 13528 '$CC '*) 13529 # Test whether the compiler implicitly links with -lc since on some 13530 # systems, -lgcc has to come before -lc. If gcc already passes -lc 13531 # to ld, don't add -lc before -lgcc. 13532 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 13533 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } 13534 $rm conftest* 13535 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 13536 13537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 13538 (eval $ac_compile) 2>&5 13539 ac_status=$? 13540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13541 (exit $ac_status); } 2>conftest.err; then 13542 soname=conftest 13543 lib=conftest 13544 libobjs=conftest.$ac_objext 13545 deplibs= 13546 wl=$lt_prog_compiler_wl_CXX 13547 pic_flag=$lt_prog_compiler_pic_CXX 13548 compiler_flags=-v 13549 linker_flags=-v 13550 verstring= 13551 output_objdir=. 13552 libname=conftest 13553 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 13554 allow_undefined_flag_CXX= 13555 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 13556 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 13557 ac_status=$? 13558 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13559 (exit $ac_status); } 13560 then 13561 archive_cmds_need_lc_CXX=no 13562 else 13563 archive_cmds_need_lc_CXX=yes 13564 fi 13565 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 13566 else 13567 cat conftest.err 1>&5 13568 fi 13569 $rm conftest* 13570 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 13571 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; } 13572 ;; 13573 esac 13574 fi 13575 ;; 13576 esac 13577 13578 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 13579 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } 13580 library_names_spec= 13581 libname_spec='lib$name' 13582 soname_spec= 13583 shrext_cmds=".so" 13584 postinstall_cmds= 13585 postuninstall_cmds= 13586 finish_cmds= 13587 finish_eval= 13588 shlibpath_var= 13589 shlibpath_overrides_runpath=unknown 13590 version_type=none 13591 dynamic_linker="$host_os ld.so" 13592 sys_lib_dlsearch_path_spec="/lib /usr/lib" 13593 13594 need_lib_prefix=unknown 13595 hardcode_into_libs=no 13596 13597 # when you set need_version to no, make sure it does not cause -set_version 13598 # flags to be left without arguments 13599 need_version=unknown 13600 13601 case $host_os in 13602 aix3*) 13603 version_type=linux 13604 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 13605 shlibpath_var=LIBPATH 13606 13607 # AIX 3 has no versioning support, so we append a major version to the name. 13608 soname_spec='${libname}${release}${shared_ext}$major' 13609 ;; 13610 13611 aix4* | aix5*) 13612 version_type=linux 13613 need_lib_prefix=no 13614 need_version=no 13615 hardcode_into_libs=yes 13616 if test "$host_cpu" = ia64; then 13617 # AIX 5 supports IA64 13618 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 13619 shlibpath_var=LD_LIBRARY_PATH 13620 else 13621 # With GCC up to 2.95.x, collect2 would create an import file 13622 # for dependence libraries. The import file would start with 13623 # the line `#! .'. This would cause the generated library to 13624 # depend on `.', always an invalid library. This was fixed in 13625 # development snapshots of GCC prior to 3.0. 13626 case $host_os in 13627 aix4 | aix4.[01] | aix4.[01].*) 13628 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 13629 echo ' yes ' 13630 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then 13631 : 13632 else 13633 can_build_shared=no 13634 fi 13635 ;; 13636 esac 13637 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 13638 # soname into executable. Probably we can add versioning support to 13639 # collect2, so additional links can be useful in future. 13640 if test "$aix_use_runtimelinking" = yes; then 13641 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 13642 # instead of lib<name>.a to let people know that these are not 13643 # typical AIX shared libraries. 13644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13645 else 13646 # We preserve .a as extension for shared libraries through AIX4.2 13647 # and later when we are not doing run time linking. 13648 library_names_spec='${libname}${release}.a $libname.a' 13649 soname_spec='${libname}${release}${shared_ext}$major' 13650 fi 13651 shlibpath_var=LIBPATH 13652 fi 13653 ;; 13654 13655 amigaos*) 13656 library_names_spec='$libname.ixlibrary $libname.a' 13657 # Create ${libname}_ixlibrary.a entries in /sys/libs. 13658 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' 13659 ;; 13660 13661 beos*) 13662 library_names_spec='${libname}${shared_ext}' 13663 dynamic_linker="$host_os ld.so" 13664 shlibpath_var=LIBRARY_PATH 13665 ;; 13666 13667 bsdi[45]*) 13668 version_type=linux 13669 need_version=no 13670 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13671 soname_spec='${libname}${release}${shared_ext}$major' 13672 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 13673 shlibpath_var=LD_LIBRARY_PATH 13674 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 13675 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 13676 # the default ld.so.conf also contains /usr/contrib/lib and 13677 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 13678 # libtool to hard-code these into programs 13679 ;; 13680 13681 cygwin* | mingw* | pw32*) 13682 version_type=windows 13683 shrext_cmds=".dll" 13684 need_version=no 13685 need_lib_prefix=no 13686 13687 case $GCC,$host_os in 13688 yes,cygwin* | yes,mingw* | yes,pw32*) 13689 library_names_spec='$libname.dll.a' 13690 # DLL is installed to $(libdir)/../bin by postinstall_cmds 13691 postinstall_cmds='base_file=`basename \${file}`~ 13692 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ 13693 dldir=$destdir/`dirname \$dlpath`~ 13694 test -d \$dldir || mkdir -p \$dldir~ 13695 $install_prog $dir/$dlname \$dldir/$dlname~ 13696 chmod a+x \$dldir/$dlname' 13697 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 13698 dlpath=$dir/\$dldll~ 13699 $rm \$dlpath' 13700 shlibpath_overrides_runpath=yes 13701 13702 case $host_os in 13703 cygwin*) 13704 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 13705 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 13706 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 13707 ;; 13708 mingw*) 13709 # MinGW DLLs use traditional 'lib' prefix 13710 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 13711 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 13712 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then 13713 # It is most probably a Windows format PATH printed by 13714 # mingw gcc, but we are running on Cygwin. Gcc prints its search 13715 # path with ; separators, and with drive letters. We can handle the 13716 # drive letters (cygwin fileutils understands them), so leave them, 13717 # especially as we might pass files found there to a mingw objdump, 13718 # which wouldn't understand a cygwinified path. Ahh. 13719 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 13720 else 13721 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 13722 fi 13723 ;; 13724 pw32*) 13725 # pw32 DLLs use 'pw' prefix rather than 'lib' 13726 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 13727 ;; 13728 esac 13729 ;; 13730 13731 *) 13732 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 13733 ;; 13734 esac 13735 dynamic_linker='Win32 ld.exe' 13736 # FIXME: first we should search . and the directory the executable is in 13737 shlibpath_var=PATH 13738 ;; 13739 13740 darwin* | rhapsody*) 13741 dynamic_linker="$host_os dyld" 13742 version_type=darwin 13743 need_lib_prefix=no 13744 need_version=no 13745 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 13746 soname_spec='${libname}${release}${major}$shared_ext' 13747 shlibpath_overrides_runpath=yes 13748 shlibpath_var=DYLD_LIBRARY_PATH 13749 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 13750 13751 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 13752 ;; 13753 13754 dgux*) 13755 version_type=linux 13756 need_lib_prefix=no 13757 need_version=no 13758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 13759 soname_spec='${libname}${release}${shared_ext}$major' 13760 shlibpath_var=LD_LIBRARY_PATH 13761 ;; 13762 13763 freebsd1*) 13764 dynamic_linker=no 13765 ;; 13766 13767 freebsd* | dragonfly*) 13768 # DragonFly does not have aout. When/if they implement a new 13769 # versioning mechanism, adjust this. 13770 if test -x /usr/bin/objformat; then 13771 objformat=`/usr/bin/objformat` 13772 else 13773 case $host_os in 13774 freebsd[123]*) objformat=aout ;; 13775 *) objformat=elf ;; 13776 esac 13777 fi 13778 version_type=freebsd-$objformat 13779 case $version_type in 13780 freebsd-elf*) 13781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 13782 need_version=no 13783 need_lib_prefix=no 13784 ;; 13785 freebsd-*) 13786 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 13787 need_version=yes 13788 ;; 13789 esac 13790 shlibpath_var=LD_LIBRARY_PATH 13791 case $host_os in 13792 freebsd2*) 13793 shlibpath_overrides_runpath=yes 13794 ;; 13795 freebsd3.[01]* | freebsdelf3.[01]*) 13796 shlibpath_overrides_runpath=yes 13797 hardcode_into_libs=yes 13798 ;; 13799 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 13800 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 13801 shlibpath_overrides_runpath=no 13802 hardcode_into_libs=yes 13803 ;; 13804 *) # from 4.6 on, and DragonFly 13805 shlibpath_overrides_runpath=yes 13806 hardcode_into_libs=yes 13807 ;; 13808 esac 13809 ;; 13810 13811 gnu*) 13812 version_type=linux 13813 need_lib_prefix=no 13814 need_version=no 13815 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 13816 soname_spec='${libname}${release}${shared_ext}$major' 13817 shlibpath_var=LD_LIBRARY_PATH 13818 hardcode_into_libs=yes 13819 ;; 13820 13821 hpux9* | hpux10* | hpux11*) 13822 # Give a soname corresponding to the major version so that dld.sl refuses to 13823 # link against other versions. 13824 version_type=sunos 13825 need_lib_prefix=no 13826 need_version=no 13827 case $host_cpu in 13828 ia64*) 13829 shrext_cmds='.so' 13830 hardcode_into_libs=yes 13831 dynamic_linker="$host_os dld.so" 13832 shlibpath_var=LD_LIBRARY_PATH 13833 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 13834 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13835 soname_spec='${libname}${release}${shared_ext}$major' 13836 if test "X$HPUX_IA64_MODE" = X32; then 13837 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 13838 else 13839 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 13840 fi 13841 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 13842 ;; 13843 hppa*64*) 13844 shrext_cmds='.sl' 13845 hardcode_into_libs=yes 13846 dynamic_linker="$host_os dld.sl" 13847 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 13848 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 13849 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13850 soname_spec='${libname}${release}${shared_ext}$major' 13851 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 13852 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 13853 ;; 13854 *) 13855 shrext_cmds='.sl' 13856 dynamic_linker="$host_os dld.sl" 13857 shlibpath_var=SHLIB_PATH 13858 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 13859 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13860 soname_spec='${libname}${release}${shared_ext}$major' 13861 ;; 13862 esac 13863 # HP-UX runs *really* slowly unless shared libraries are mode 555. 13864 postinstall_cmds='chmod 555 $lib' 13865 ;; 13866 13867 interix[3-9]*) 13868 version_type=linux 13869 need_lib_prefix=no 13870 need_version=no 13871 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 13872 soname_spec='${libname}${release}${shared_ext}$major' 13873 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 13874 shlibpath_var=LD_LIBRARY_PATH 13875 shlibpath_overrides_runpath=no 13876 hardcode_into_libs=yes 13877 ;; 13878 13879 irix5* | irix6* | nonstopux*) 13880 case $host_os in 13881 nonstopux*) version_type=nonstopux ;; 13882 *) 13883 if test "$lt_cv_prog_gnu_ld" = yes; then 13884 version_type=linux 13885 else 13886 version_type=irix 13887 fi ;; 13888 esac 13889 need_lib_prefix=no 13890 need_version=no 13891 soname_spec='${libname}${release}${shared_ext}$major' 13892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 13893 case $host_os in 13894 irix5* | nonstopux*) 13895 libsuff= shlibsuff= 13896 ;; 13897 *) 13898 case $LD in # libtool.m4 will add one of these switches to LD 13899 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 13900 libsuff= shlibsuff= libmagic=32-bit;; 13901 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 13902 libsuff=32 shlibsuff=N32 libmagic=N32;; 13903 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 13904 libsuff=64 shlibsuff=64 libmagic=64-bit;; 13905 *) libsuff= shlibsuff= libmagic=never-match;; 13906 esac 13907 ;; 13908 esac 13909 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 13910 shlibpath_overrides_runpath=no 13911 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 13912 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 13913 hardcode_into_libs=yes 13914 ;; 13915 13916 # No shared lib support for Linux oldld, aout, or coff. 13917 linux*oldld* | linux*aout* | linux*coff*) 13918 dynamic_linker=no 13919 ;; 13920 13921 # This must be Linux ELF. 13922 linux* | k*bsd*-gnu) 13923 version_type=linux 13924 need_lib_prefix=no 13925 need_version=no 13926 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13927 soname_spec='${libname}${release}${shared_ext}$major' 13928 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 13929 shlibpath_var=LD_LIBRARY_PATH 13930 shlibpath_overrides_runpath=no 13931 # This implies no fast_install, which is unacceptable. 13932 # Some rework will be needed to allow for fast_install 13933 # before this can be enabled. 13934 hardcode_into_libs=yes 13935 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 13936 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 13937 13938 # Append ld.so.conf contents to the search path 13939 if test -f /etc/ld.so.conf; then 13940 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' ' '` 13941 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 13942 fi 13943 13944 # We used to test for /lib/ld.so.1 and disable shared libraries on 13945 # powerpc, because MkLinux only supported shared libraries with the 13946 # GNU dynamic linker. Since this was broken with cross compilers, 13947 # most powerpc-linux boxes support dynamic linking these days and 13948 # people can always --disable-shared, the test was removed, and we 13949 # assume the GNU/Linux dynamic linker is in use. 13950 dynamic_linker='GNU/Linux ld.so' 13951 ;; 13952 13953 netbsd*) 13954 version_type=sunos 13955 need_lib_prefix=no 13956 need_version=no 13957 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 13958 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 13959 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 13960 dynamic_linker='NetBSD (a.out) ld.so' 13961 else 13962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 13963 soname_spec='${libname}${release}${shared_ext}$major' 13964 dynamic_linker='NetBSD ld.elf_so' 13965 fi 13966 shlibpath_var=LD_LIBRARY_PATH 13967 shlibpath_overrides_runpath=yes 13968 hardcode_into_libs=yes 13969 ;; 13970 13971 newsos6) 13972 version_type=linux 13973 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13974 shlibpath_var=LD_LIBRARY_PATH 13975 shlibpath_overrides_runpath=yes 13976 ;; 13977 13978 nto-qnx*) 13979 version_type=linux 13980 need_lib_prefix=no 13981 need_version=no 13982 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13983 soname_spec='${libname}${release}${shared_ext}$major' 13984 shlibpath_var=LD_LIBRARY_PATH 13985 shlibpath_overrides_runpath=yes 13986 ;; 13987 13988 openbsd*) 13989 version_type=sunos 13990 sys_lib_dlsearch_path_spec="/usr/lib" 13991 need_lib_prefix=no 13992 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 13993 case $host_os in 13994 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 13995 *) need_version=no ;; 13996 esac 13997 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 13998 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 13999 shlibpath_var=LD_LIBRARY_PATH 14000 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 14001 case $host_os in 14002 openbsd2.[89] | openbsd2.[89].*) 14003 shlibpath_overrides_runpath=no 14004 ;; 14005 *) 14006 shlibpath_overrides_runpath=yes 14007 ;; 14008 esac 14009 else 14010 shlibpath_overrides_runpath=yes 14011 fi 14012 ;; 14013 14014 os2*) 14015 libname_spec='$name' 14016 shrext_cmds=".dll" 14017 need_lib_prefix=no 14018 library_names_spec='$libname${shared_ext} $libname.a' 14019 dynamic_linker='OS/2 ld.exe' 14020 shlibpath_var=LIBPATH 14021 ;; 14022 14023 osf3* | osf4* | osf5*) 14024 version_type=osf 14025 need_lib_prefix=no 14026 need_version=no 14027 soname_spec='${libname}${release}${shared_ext}$major' 14028 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14029 shlibpath_var=LD_LIBRARY_PATH 14030 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 14031 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 14032 ;; 14033 14034 rdos*) 14035 dynamic_linker=no 14036 ;; 14037 14038 solaris*) 14039 version_type=linux 14040 need_lib_prefix=no 14041 need_version=no 14042 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14043 soname_spec='${libname}${release}${shared_ext}$major' 14044 shlibpath_var=LD_LIBRARY_PATH 14045 shlibpath_overrides_runpath=yes 14046 hardcode_into_libs=yes 14047 # ldd complains unless libraries are executable 14048 postinstall_cmds='chmod +x $lib' 14049 ;; 14050 14051 sunos4*) 14052 version_type=sunos 14053 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 14054 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 14055 shlibpath_var=LD_LIBRARY_PATH 14056 shlibpath_overrides_runpath=yes 14057 if test "$with_gnu_ld" = yes; then 14058 need_lib_prefix=no 14059 fi 14060 need_version=yes 14061 ;; 14062 14063 sysv4 | sysv4.3*) 14064 version_type=linux 14065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14066 soname_spec='${libname}${release}${shared_ext}$major' 14067 shlibpath_var=LD_LIBRARY_PATH 14068 case $host_vendor in 14069 sni) 14070 shlibpath_overrides_runpath=no 14071 need_lib_prefix=no 14072 export_dynamic_flag_spec='${wl}-Blargedynsym' 14073 runpath_var=LD_RUN_PATH 14074 ;; 14075 siemens) 14076 need_lib_prefix=no 14077 ;; 14078 motorola) 14079 need_lib_prefix=no 14080 need_version=no 14081 shlibpath_overrides_runpath=no 14082 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 14083 ;; 14084 esac 14085 ;; 14086 14087 sysv4*MP*) 14088 if test -d /usr/nec ;then 14089 version_type=linux 14090 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 14091 soname_spec='$libname${shared_ext}.$major' 14092 shlibpath_var=LD_LIBRARY_PATH 14093 fi 14094 ;; 14095 14096 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 14097 version_type=freebsd-elf 14098 need_lib_prefix=no 14099 need_version=no 14100 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 14101 soname_spec='${libname}${release}${shared_ext}$major' 14102 shlibpath_var=LD_LIBRARY_PATH 14103 hardcode_into_libs=yes 14104 if test "$with_gnu_ld" = yes; then 14105 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 14106 shlibpath_overrides_runpath=no 14107 else 14108 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 14109 shlibpath_overrides_runpath=yes 14110 case $host_os in 14111 sco3.2v5*) 14112 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 14113 ;; 14114 esac 14115 fi 14116 sys_lib_dlsearch_path_spec='/usr/lib' 14117 ;; 14118 14119 uts4*) 14120 version_type=linux 14121 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14122 soname_spec='${libname}${release}${shared_ext}$major' 14123 shlibpath_var=LD_LIBRARY_PATH 14124 ;; 14125 14126 *) 14127 dynamic_linker=no 14128 ;; 14129 esac 14130 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 14131 echo "${ECHO_T}$dynamic_linker" >&6; } 14132 test "$dynamic_linker" = no && can_build_shared=no 14133 14134 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 14135 if test "$GCC" = yes; then 14136 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 14137 fi 14138 14139 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 14140 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } 14141 hardcode_action_CXX= 14142 if test -n "$hardcode_libdir_flag_spec_CXX" || \ 14143 test -n "$runpath_var_CXX" || \ 14144 test "X$hardcode_automatic_CXX" = "Xyes" ; then 14145 14146 # We can hardcode non-existant directories. 14147 if test "$hardcode_direct_CXX" != no && 14148 # If the only mechanism to avoid hardcoding is shlibpath_var, we 14149 # have to relink, otherwise we might link with an installed library 14150 # when we should be linking with a yet-to-be-installed one 14151 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && 14152 test "$hardcode_minus_L_CXX" != no; then 14153 # Linking always hardcodes the temporary library directory. 14154 hardcode_action_CXX=relink 14155 else 14156 # We can link without hardcoding, and we can hardcode nonexisting dirs. 14157 hardcode_action_CXX=immediate 14158 fi 14159 else 14160 # We cannot hardcode anything, or else we can only hardcode existing 14161 # directories. 14162 hardcode_action_CXX=unsupported 14163 fi 14164 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 14165 echo "${ECHO_T}$hardcode_action_CXX" >&6; } 14166 14167 if test "$hardcode_action_CXX" = relink; then 14168 # Fast installation is not supported 14169 enable_fast_install=no 14170 elif test "$shlibpath_overrides_runpath" = yes || 14171 test "$enable_shared" = no; then 14172 # Fast installation is not necessary 14173 enable_fast_install=needless 14174 fi 14175 14176 14177 # The else clause should only fire when bootstrapping the 14178 # libtool distribution, otherwise you forgot to ship ltmain.sh 14179 # with your package, and you will get complaints that there are 14180 # no rules to generate ltmain.sh. 14181 if test -f "$ltmain"; then 14182 # See if we are running on zsh, and set the options which allow our commands through 14183 # without removal of \ escapes. 14184 if test -n "${ZSH_VERSION+set}" ; then 14185 setopt NO_GLOB_SUBST 14186 fi 14187 # Now quote all the things that may contain metacharacters while being 14188 # careful not to overquote the AC_SUBSTed values. We take copies of the 14189 # variables and quote the copies for generation of the libtool script. 14190 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ 14191 SED SHELL STRIP \ 14192 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 14193 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ 14194 deplibs_check_method reload_flag reload_cmds need_locks \ 14195 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ 14196 lt_cv_sys_global_symbol_to_c_name_address \ 14197 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ 14198 old_postinstall_cmds old_postuninstall_cmds \ 14199 compiler_CXX \ 14200 CC_CXX \ 14201 LD_CXX \ 14202 lt_prog_compiler_wl_CXX \ 14203 lt_prog_compiler_pic_CXX \ 14204 lt_prog_compiler_static_CXX \ 14205 lt_prog_compiler_no_builtin_flag_CXX \ 14206 export_dynamic_flag_spec_CXX \ 14207 thread_safe_flag_spec_CXX \ 14208 whole_archive_flag_spec_CXX \ 14209 enable_shared_with_static_runtimes_CXX \ 14210 old_archive_cmds_CXX \ 14211 old_archive_from_new_cmds_CXX \ 14212 predep_objects_CXX \ 14213 postdep_objects_CXX \ 14214 predeps_CXX \ 14215 postdeps_CXX \ 14216 compiler_lib_search_path_CXX \ 14217 archive_cmds_CXX \ 14218 archive_expsym_cmds_CXX \ 14219 postinstall_cmds_CXX \ 14220 postuninstall_cmds_CXX \ 14221 old_archive_from_expsyms_cmds_CXX \ 14222 allow_undefined_flag_CXX \ 14223 no_undefined_flag_CXX \ 14224 export_symbols_cmds_CXX \ 14225 hardcode_libdir_flag_spec_CXX \ 14226 hardcode_libdir_flag_spec_ld_CXX \ 14227 hardcode_libdir_separator_CXX \ 14228 hardcode_automatic_CXX \ 14229 module_cmds_CXX \ 14230 module_expsym_cmds_CXX \ 14231 lt_cv_prog_compiler_c_o_CXX \ 14232 fix_srcfile_path_CXX \ 14233 exclude_expsyms_CXX \ 14234 include_expsyms_CXX; do 14235 14236 case $var in 14237 old_archive_cmds_CXX | \ 14238 old_archive_from_new_cmds_CXX | \ 14239 archive_cmds_CXX | \ 14240 archive_expsym_cmds_CXX | \ 14241 module_cmds_CXX | \ 14242 module_expsym_cmds_CXX | \ 14243 old_archive_from_expsyms_cmds_CXX | \ 14244 export_symbols_cmds_CXX | \ 14245 extract_expsyms_cmds | reload_cmds | finish_cmds | \ 14246 postinstall_cmds | postuninstall_cmds | \ 14247 old_postinstall_cmds | old_postuninstall_cmds | \ 14248 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) 14249 # Double-quote double-evaled strings. 14250 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" 14251 ;; 14252 *) 14253 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" 14254 ;; 14255 esac 14256 done 14257 14258 case $lt_echo in 14259 *'\$0 --fallback-echo"') 14260 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` 14261 ;; 14262 esac 14263 14264 cfgfile="$ofile" 14265 14266 cat <<__EOF__ >> "$cfgfile" 14267 # ### BEGIN LIBTOOL TAG CONFIG: $tagname 14268 14269 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 14270 14271 # Shell to use when invoking shell scripts. 14272 SHELL=$lt_SHELL 14273 14274 # Whether or not to build shared libraries. 14275 build_libtool_libs=$enable_shared 14276 14277 # Whether or not to build static libraries. 14278 build_old_libs=$enable_static 14279 14280 # Whether or not to add -lc for building shared libraries. 14281 build_libtool_need_lc=$archive_cmds_need_lc_CXX 14282 14283 # Whether or not to disallow shared libs when runtime libs are static 14284 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 14285 14286 # Whether or not to optimize for fast installation. 14287 fast_install=$enable_fast_install 14288 14289 # The host system. 14290 host_alias=$host_alias 14291 host=$host 14292 host_os=$host_os 14293 14294 # The build system. 14295 build_alias=$build_alias 14296 build=$build 14297 build_os=$build_os 14298 14299 # An echo program that does not interpret backslashes. 14300 echo=$lt_echo 14301 14302 # The archiver. 14303 AR=$lt_AR 14304 AR_FLAGS=$lt_AR_FLAGS 14305 14306 # A C compiler. 14307 LTCC=$lt_LTCC 14308 14309 # LTCC compiler flags. 14310 LTCFLAGS=$lt_LTCFLAGS 14311 14312 # A language-specific compiler. 14313 CC=$lt_compiler_CXX 14314 14315 # Is the compiler the GNU C compiler? 14316 with_gcc=$GCC_CXX 14317 14318 # An ERE matcher. 14319 EGREP=$lt_EGREP 14320 14321 # The linker used to build libraries. 14322 LD=$lt_LD_CXX 14323 14324 # Whether we need hard or soft links. 14325 LN_S=$lt_LN_S 14326 14327 # A BSD-compatible nm program. 14328 NM=$lt_NM 14329 14330 # A symbol stripping program 14331 STRIP=$lt_STRIP 14332 14333 # Used to examine libraries when file_magic_cmd begins "file" 14334 MAGIC_CMD=$MAGIC_CMD 14335 14336 # Used on cygwin: DLL creation program. 14337 DLLTOOL="$DLLTOOL" 14338 14339 # Used on cygwin: object dumper. 14340 OBJDUMP="$OBJDUMP" 14341 14342 # Used on cygwin: assembler. 14343 AS="$AS" 14344 14345 # The name of the directory that contains temporary libtool files. 14346 objdir=$objdir 14347 14348 # How to create reloadable object files. 14349 reload_flag=$lt_reload_flag 14350 reload_cmds=$lt_reload_cmds 14351 14352 # How to pass a linker flag through the compiler. 14353 wl=$lt_lt_prog_compiler_wl_CXX 14354 14355 # Object file suffix (normally "o"). 14356 objext="$ac_objext" 14357 14358 # Old archive suffix (normally "a"). 14359 libext="$libext" 14360 14361 # Shared library suffix (normally ".so"). 14362 shrext_cmds='$shrext_cmds' 14363 14364 # Executable file suffix (normally ""). 14365 exeext="$exeext" 14366 14367 # Additional compiler flags for building library objects. 14368 pic_flag=$lt_lt_prog_compiler_pic_CXX 14369 pic_mode=$pic_mode 14370 14371 # What is the maximum length of a command? 14372 max_cmd_len=$lt_cv_sys_max_cmd_len 14373 14374 # Does compiler simultaneously support -c and -o options? 14375 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 14376 14377 # Must we lock files when doing compilation? 14378 need_locks=$lt_need_locks 14379 14380 # Do we need the lib prefix for modules? 14381 need_lib_prefix=$need_lib_prefix 14382 14383 # Do we need a version for libraries? 14384 need_version=$need_version 14385 14386 # Whether dlopen is supported. 14387 dlopen_support=$enable_dlopen 14388 14389 # Whether dlopen of programs is supported. 14390 dlopen_self=$enable_dlopen_self 14391 14392 # Whether dlopen of statically linked programs is supported. 14393 dlopen_self_static=$enable_dlopen_self_static 14394 14395 # Compiler flag to prevent dynamic linking. 14396 link_static_flag=$lt_lt_prog_compiler_static_CXX 14397 14398 # Compiler flag to turn off builtin functions. 14399 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 14400 14401 # Compiler flag to allow reflexive dlopens. 14402 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 14403 14404 # Compiler flag to generate shared objects directly from archives. 14405 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 14406 14407 # Compiler flag to generate thread-safe objects. 14408 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX 14409 14410 # Library versioning type. 14411 version_type=$version_type 14412 14413 # Format of library name prefix. 14414 libname_spec=$lt_libname_spec 14415 14416 # List of archive names. First name is the real one, the rest are links. 14417 # The last name is the one that the linker finds with -lNAME. 14418 library_names_spec=$lt_library_names_spec 14419 14420 # The coded name of the library, if different from the real name. 14421 soname_spec=$lt_soname_spec 14422 14423 # Commands used to build and install an old-style archive. 14424 RANLIB=$lt_RANLIB 14425 old_archive_cmds=$lt_old_archive_cmds_CXX 14426 old_postinstall_cmds=$lt_old_postinstall_cmds 14427 old_postuninstall_cmds=$lt_old_postuninstall_cmds 14428 14429 # Create an old-style archive from a shared archive. 14430 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 14431 14432 # Create a temporary old-style archive to link instead of a shared archive. 14433 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 14434 14435 # Commands used to build and install a shared archive. 14436 archive_cmds=$lt_archive_cmds_CXX 14437 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 14438 postinstall_cmds=$lt_postinstall_cmds 14439 postuninstall_cmds=$lt_postuninstall_cmds 14440 14441 # Commands used to build a loadable module (assumed same as above if empty) 14442 module_cmds=$lt_module_cmds_CXX 14443 module_expsym_cmds=$lt_module_expsym_cmds_CXX 14444 14445 # Commands to strip libraries. 14446 old_striplib=$lt_old_striplib 14447 striplib=$lt_striplib 14448 14449 # Dependencies to place before the objects being linked to create a 14450 # shared library. 14451 predep_objects=$lt_predep_objects_CXX 14452 14453 # Dependencies to place after the objects being linked to create a 14454 # shared library. 14455 postdep_objects=$lt_postdep_objects_CXX 14456 14457 # Dependencies to place before the objects being linked to create a 14458 # shared library. 14459 predeps=$lt_predeps_CXX 14460 14461 # Dependencies to place after the objects being linked to create a 14462 # shared library. 14463 postdeps=$lt_postdeps_CXX 14464 14465 # The library search path used internally by the compiler when linking 14466 # a shared library. 14467 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 14468 14469 # Method to check whether dependent libraries are shared objects. 14470 deplibs_check_method=$lt_deplibs_check_method 14471 14472 # Command to use when deplibs_check_method == file_magic. 14473 file_magic_cmd=$lt_file_magic_cmd 14474 14475 # Flag that allows shared libraries with undefined symbols to be built. 14476 allow_undefined_flag=$lt_allow_undefined_flag_CXX 14477 14478 # Flag that forces no undefined symbols. 14479 no_undefined_flag=$lt_no_undefined_flag_CXX 14480 14481 # Commands used to finish a libtool library installation in a directory. 14482 finish_cmds=$lt_finish_cmds 14483 14484 # Same as above, but a single script fragment to be evaled but not shown. 14485 finish_eval=$lt_finish_eval 14486 14487 # Take the output of nm and produce a listing of raw symbols and C names. 14488 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 14489 14490 # Transform the output of nm in a proper C declaration 14491 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 14492 14493 # Transform the output of nm in a C name address pair 14494 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 14495 14496 # This is the shared library runtime path variable. 14497 runpath_var=$runpath_var 14498 14499 # This is the shared library path variable. 14500 shlibpath_var=$shlibpath_var 14501 14502 # Is shlibpath searched before the hard-coded library search path? 14503 shlibpath_overrides_runpath=$shlibpath_overrides_runpath 14504 14505 # How to hardcode a shared library path into an executable. 14506 hardcode_action=$hardcode_action_CXX 14507 14508 # Whether we should hardcode library paths into libraries. 14509 hardcode_into_libs=$hardcode_into_libs 14510 14511 # Flag to hardcode \$libdir into a binary during linking. 14512 # This must work even if \$libdir does not exist. 14513 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 14514 14515 # If ld is used when linking, flag to hardcode \$libdir into 14516 # a binary during linking. This must work even if \$libdir does 14517 # not exist. 14518 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX 14519 14520 # Whether we need a single -rpath flag with a separated argument. 14521 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 14522 14523 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the 14524 # resulting binary. 14525 hardcode_direct=$hardcode_direct_CXX 14526 14527 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the 14528 # resulting binary. 14529 hardcode_minus_L=$hardcode_minus_L_CXX 14530 14531 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into 14532 # the resulting binary. 14533 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 14534 14535 # Set to yes if building a shared library automatically hardcodes DIR into the library 14536 # and all subsequent libraries and executables linked against it. 14537 hardcode_automatic=$hardcode_automatic_CXX 14538 14539 # Variables whose values should be saved in libtool wrapper scripts and 14540 # restored at relink time. 14541 variables_saved_for_relink="$variables_saved_for_relink" 14542 14543 # Whether libtool must link a program against all its dependency libraries. 14544 link_all_deplibs=$link_all_deplibs_CXX 14545 14546 # Compile-time system search path for libraries 14547 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 14548 14549 # Run-time system search path for libraries 14550 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 14551 14552 # Fix the shell variable \$srcfile for the compiler. 14553 fix_srcfile_path=$lt_fix_srcfile_path 14554 14555 # Set to yes if exported symbols are required. 14556 always_export_symbols=$always_export_symbols_CXX 14557 14558 # The commands to list exported symbols. 14559 export_symbols_cmds=$lt_export_symbols_cmds_CXX 14560 14561 # The commands to extract the exported symbol list from a shared archive. 14562 extract_expsyms_cmds=$lt_extract_expsyms_cmds 14563 14564 # Symbols that should not be listed in the preloaded symbols. 14565 exclude_expsyms=$lt_exclude_expsyms_CXX 14566 14567 # Symbols that must always be exported. 14568 include_expsyms=$lt_include_expsyms_CXX 14569 14570 # ### END LIBTOOL TAG CONFIG: $tagname 14571 14572 __EOF__ 14573 14574 14575 else 14576 # If there is no Makefile yet, we rely on a make rule to execute 14577 # `config.status --recheck' to rerun these tests and create the 14578 # libtool script then. 14579 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 14580 if test -f "$ltmain_in"; then 14581 test -f Makefile && make "$ltmain" 14582 fi 14583 fi 14584 14585 14586 ac_ext=c 14587 ac_cpp='$CPP $CPPFLAGS' 14588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14590 ac_compiler_gnu=$ac_cv_c_compiler_gnu 14591 14592 CC=$lt_save_CC 14593 LDCXX=$LD 14594 LD=$lt_save_LD 14595 GCC=$lt_save_GCC 14596 with_gnu_ldcxx=$with_gnu_ld 14597 with_gnu_ld=$lt_save_with_gnu_ld 14598 lt_cv_path_LDCXX=$lt_cv_path_LD 14599 lt_cv_path_LD=$lt_save_path_LD 14600 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 14601 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 14602 14603 else 14604 tagname="" 14605 fi 14606 ;; 14607 14608 F77) 14609 if test -n "$F77" && test "X$F77" != "Xno"; then 14610 14611 ac_ext=f 14612 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 14613 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14614 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 14615 14616 14617 archive_cmds_need_lc_F77=no 14618 allow_undefined_flag_F77= 14619 always_export_symbols_F77=no 14620 archive_expsym_cmds_F77= 14621 export_dynamic_flag_spec_F77= 14622 hardcode_direct_F77=no 14623 hardcode_libdir_flag_spec_F77= 14624 hardcode_libdir_flag_spec_ld_F77= 14625 hardcode_libdir_separator_F77= 14626 hardcode_minus_L_F77=no 14627 hardcode_automatic_F77=no 14628 module_cmds_F77= 14629 module_expsym_cmds_F77= 14630 link_all_deplibs_F77=unknown 14631 old_archive_cmds_F77=$old_archive_cmds 14632 no_undefined_flag_F77= 14633 whole_archive_flag_spec_F77= 14634 enable_shared_with_static_runtimes_F77=no 14635 14636 # Source file extension for f77 test sources. 14637 ac_ext=f 14638 14639 # Object file extension for compiled f77 test sources. 14640 objext=o 14641 objext_F77=$objext 14642 14643 # Code to be used in simple compile tests 14644 lt_simple_compile_test_code="\ 14645 subroutine t 14646 return 14647 end 14648 " 14649 14650 # Code to be used in simple link tests 14651 lt_simple_link_test_code="\ 14652 program t 14653 end 14654 " 14655 14656 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 14657 14658 # If no C compiler was specified, use CC. 14659 LTCC=${LTCC-"$CC"} 14660 14661 # If no C compiler flags were specified, use CFLAGS. 14662 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 14663 14664 # Allow CC to be a program name with arguments. 14665 compiler=$CC 14666 14667 14668 # save warnings/boilerplate of simple test code 14669 ac_outfile=conftest.$ac_objext 14670 echo "$lt_simple_compile_test_code" >conftest.$ac_ext 14671 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 14672 _lt_compiler_boilerplate=`cat conftest.err` 14673 $rm conftest* 14674 14675 ac_outfile=conftest.$ac_objext 14676 echo "$lt_simple_link_test_code" >conftest.$ac_ext 14677 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 14678 _lt_linker_boilerplate=`cat conftest.err` 14679 $rm conftest* 14680 14681 14682 # Allow CC to be a program name with arguments. 14683 lt_save_CC="$CC" 14684 CC=${F77-"f77"} 14685 compiler=$CC 14686 compiler_F77=$CC 14687 for cc_temp in $compiler""; do 14688 case $cc_temp in 14689 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 14690 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 14691 \-*) ;; 14692 *) break;; 14693 esac 14694 done 14695 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 14696 14697 14698 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 14699 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } 14700 { echo "$as_me:$LINENO: result: $can_build_shared" >&5 14701 echo "${ECHO_T}$can_build_shared" >&6; } 14702 14703 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 14704 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } 14705 test "$can_build_shared" = "no" && enable_shared=no 14706 14707 # On AIX, shared libraries and static libraries use the same namespace, and 14708 # are all built from PIC. 14709 case $host_os in 14710 aix3*) 14711 test "$enable_shared" = yes && enable_static=no 14712 if test -n "$RANLIB"; then 14713 archive_cmds="$archive_cmds~\$RANLIB \$lib" 14714 postinstall_cmds='$RANLIB $lib' 14715 fi 14716 ;; 14717 aix4* | aix5*) 14718 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 14719 test "$enable_shared" = yes && enable_static=no 14720 fi 14721 ;; 14722 esac 14723 { echo "$as_me:$LINENO: result: $enable_shared" >&5 14724 echo "${ECHO_T}$enable_shared" >&6; } 14725 14726 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5 14727 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } 14728 # Make sure either enable_shared or enable_static is yes. 14729 test "$enable_shared" = yes || enable_static=yes 14730 { echo "$as_me:$LINENO: result: $enable_static" >&5 14731 echo "${ECHO_T}$enable_static" >&6; } 14732 14733 GCC_F77="$G77" 14734 LD_F77="$LD" 14735 14736 lt_prog_compiler_wl_F77= 14737 lt_prog_compiler_pic_F77= 14738 lt_prog_compiler_static_F77= 14739 14740 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 14741 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } 14742 14743 if test "$GCC" = yes; then 14744 lt_prog_compiler_wl_F77='-Wl,' 14745 lt_prog_compiler_static_F77='-static' 14746 14747 case $host_os in 14748 aix*) 14749 # All AIX code is PIC. 14750 if test "$host_cpu" = ia64; then 14751 # AIX 5 now supports IA64 processor 14752 lt_prog_compiler_static_F77='-Bstatic' 14753 fi 14754 ;; 14755 14756 amigaos*) 14757 # FIXME: we need at least 68020 code to build shared libraries, but 14758 # adding the `-m68020' flag to GCC prevents building anything better, 14759 # like `-m68040'. 14760 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4' 14761 ;; 14762 14763 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 14764 # PIC is the default for these OSes. 14765 ;; 14766 14767 mingw* | cygwin* | pw32* | os2*) 14768 # This hack is so that the source file can tell whether it is being 14769 # built for inclusion in a dll (and should export symbols for example). 14770 # Although the cygwin gcc ignores -fPIC, still need this for old-style 14771 # (--disable-auto-import) libraries 14772 lt_prog_compiler_pic_F77='-DDLL_EXPORT' 14773 ;; 14774 14775 darwin* | rhapsody*) 14776 # PIC is the default on this platform 14777 # Common symbols not allowed in MH_DYLIB files 14778 lt_prog_compiler_pic_F77='-fno-common' 14779 ;; 14780 14781 interix[3-9]*) 14782 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 14783 # Instead, we relocate shared libraries at runtime. 14784 ;; 14785 14786 msdosdjgpp*) 14787 # Just because we use GCC doesn't mean we suddenly get shared libraries 14788 # on systems that don't support them. 14789 lt_prog_compiler_can_build_shared_F77=no 14790 enable_shared=no 14791 ;; 14792 14793 sysv4*MP*) 14794 if test -d /usr/nec; then 14795 lt_prog_compiler_pic_F77=-Kconform_pic 14796 fi 14797 ;; 14798 14799 hpux*) 14800 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 14801 # not for PA HP-UX. 14802 case $host_cpu in 14803 hppa*64*|ia64*) 14804 # +Z the default 14805 ;; 14806 *) 14807 lt_prog_compiler_pic_F77='-fPIC' 14808 ;; 14809 esac 14810 ;; 14811 14812 *) 14813 lt_prog_compiler_pic_F77='-fPIC' 14814 ;; 14815 esac 14816 else 14817 # PORTME Check for flag to pass linker flags through the system compiler. 14818 case $host_os in 14819 aix*) 14820 lt_prog_compiler_wl_F77='-Wl,' 14821 if test "$host_cpu" = ia64; then 14822 # AIX 5 now supports IA64 processor 14823 lt_prog_compiler_static_F77='-Bstatic' 14824 else 14825 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' 14826 fi 14827 ;; 14828 darwin*) 14829 # PIC is the default on this platform 14830 # Common symbols not allowed in MH_DYLIB files 14831 case $cc_basename in 14832 xlc*) 14833 lt_prog_compiler_pic_F77='-qnocommon' 14834 lt_prog_compiler_wl_F77='-Wl,' 14835 ;; 14836 esac 14837 ;; 14838 14839 mingw* | cygwin* | pw32* | os2*) 14840 # This hack is so that the source file can tell whether it is being 14841 # built for inclusion in a dll (and should export symbols for example). 14842 lt_prog_compiler_pic_F77='-DDLL_EXPORT' 14843 ;; 14844 14845 hpux9* | hpux10* | hpux11*) 14846 lt_prog_compiler_wl_F77='-Wl,' 14847 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 14848 # not for PA HP-UX. 14849 case $host_cpu in 14850 hppa*64*|ia64*) 14851 # +Z the default 14852 ;; 14853 *) 14854 lt_prog_compiler_pic_F77='+Z' 14855 ;; 14856 esac 14857 # Is there a better lt_prog_compiler_static that works with the bundled CC? 14858 lt_prog_compiler_static_F77='${wl}-a ${wl}archive' 14859 ;; 14860 14861 irix5* | irix6* | nonstopux*) 14862 lt_prog_compiler_wl_F77='-Wl,' 14863 # PIC (with -KPIC) is the default. 14864 lt_prog_compiler_static_F77='-non_shared' 14865 ;; 14866 14867 newsos6) 14868 lt_prog_compiler_pic_F77='-KPIC' 14869 lt_prog_compiler_static_F77='-Bstatic' 14870 ;; 14871 14872 linux* | k*bsd*-gnu) 14873 case $cc_basename in 14874 icc* | ecc*) 14875 lt_prog_compiler_wl_F77='-Wl,' 14876 lt_prog_compiler_pic_F77='-KPIC' 14877 lt_prog_compiler_static_F77='-static' 14878 ;; 14879 pgcc* | pgf77* | pgf90* | pgf95*) 14880 # Portland Group compilers (*not* the Pentium gcc compiler, 14881 # which looks to be a dead project) 14882 lt_prog_compiler_wl_F77='-Wl,' 14883 lt_prog_compiler_pic_F77='-fpic' 14884 lt_prog_compiler_static_F77='-Bstatic' 14885 ;; 14886 ccc*) 14887 lt_prog_compiler_wl_F77='-Wl,' 14888 # All Alpha code is PIC. 14889 lt_prog_compiler_static_F77='-non_shared' 14890 ;; 14891 *) 14892 case `$CC -V 2>&1 | sed 5q` in 14893 *Sun\ C*) 14894 # Sun C 5.9 14895 lt_prog_compiler_pic_F77='-KPIC' 14896 lt_prog_compiler_static_F77='-Bstatic' 14897 lt_prog_compiler_wl_F77='-Wl,' 14898 ;; 14899 *Sun\ F*) 14900 # Sun Fortran 8.3 passes all unrecognized flags to the linker 14901 lt_prog_compiler_pic_F77='-KPIC' 14902 lt_prog_compiler_static_F77='-Bstatic' 14903 lt_prog_compiler_wl_F77='' 14904 ;; 14905 esac 14906 ;; 14907 esac 14908 ;; 14909 14910 osf3* | osf4* | osf5*) 14911 lt_prog_compiler_wl_F77='-Wl,' 14912 # All OSF/1 code is PIC. 14913 lt_prog_compiler_static_F77='-non_shared' 14914 ;; 14915 14916 rdos*) 14917 lt_prog_compiler_static_F77='-non_shared' 14918 ;; 14919 14920 solaris*) 14921 lt_prog_compiler_pic_F77='-KPIC' 14922 lt_prog_compiler_static_F77='-Bstatic' 14923 case $cc_basename in 14924 f77* | f90* | f95*) 14925 lt_prog_compiler_wl_F77='-Qoption ld ';; 14926 *) 14927 lt_prog_compiler_wl_F77='-Wl,';; 14928 esac 14929 ;; 14930 14931 sunos4*) 14932 lt_prog_compiler_wl_F77='-Qoption ld ' 14933 lt_prog_compiler_pic_F77='-PIC' 14934 lt_prog_compiler_static_F77='-Bstatic' 14935 ;; 14936 14937 sysv4 | sysv4.2uw2* | sysv4.3*) 14938 lt_prog_compiler_wl_F77='-Wl,' 14939 lt_prog_compiler_pic_F77='-KPIC' 14940 lt_prog_compiler_static_F77='-Bstatic' 14941 ;; 14942 14943 sysv4*MP*) 14944 if test -d /usr/nec ;then 14945 lt_prog_compiler_pic_F77='-Kconform_pic' 14946 lt_prog_compiler_static_F77='-Bstatic' 14947 fi 14948 ;; 14949 14950 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 14951 lt_prog_compiler_wl_F77='-Wl,' 14952 lt_prog_compiler_pic_F77='-KPIC' 14953 lt_prog_compiler_static_F77='-Bstatic' 14954 ;; 14955 14956 unicos*) 14957 lt_prog_compiler_wl_F77='-Wl,' 14958 lt_prog_compiler_can_build_shared_F77=no 14959 ;; 14960 14961 uts4*) 14962 lt_prog_compiler_pic_F77='-pic' 14963 lt_prog_compiler_static_F77='-Bstatic' 14964 ;; 14965 14966 *) 14967 lt_prog_compiler_can_build_shared_F77=no 14968 ;; 14969 esac 14970 fi 14971 14972 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5 14973 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; } 14974 14975 # 14976 # Check to make sure the PIC flag actually works. 14977 # 14978 if test -n "$lt_prog_compiler_pic_F77"; then 14979 14980 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 14981 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; } 14982 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then 14983 echo $ECHO_N "(cached) $ECHO_C" >&6 14984 else 14985 lt_prog_compiler_pic_works_F77=no 14986 ac_outfile=conftest.$ac_objext 14987 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14988 lt_compiler_flag="$lt_prog_compiler_pic_F77" 14989 # Insert the option either (1) after the last *FLAGS variable, or 14990 # (2) before a word containing "conftest.", or (3) at the end. 14991 # Note that $ac_compile itself does not contain backslashes and begins 14992 # with a dollar sign (not a hyphen), so the echo should work correctly. 14993 # The option is referenced via a variable to avoid confusing sed. 14994 lt_compile=`echo "$ac_compile" | $SED \ 14995 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14996 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14997 -e 's:$: $lt_compiler_flag:'` 14998 (eval echo "\"\$as_me:14998: $lt_compile\"" >&5) 14999 (eval "$lt_compile" 2>conftest.err) 15000 ac_status=$? 15001 cat conftest.err >&5 15002 echo "$as_me:15002: \$? = $ac_status" >&5 15003 if (exit $ac_status) && test -s "$ac_outfile"; then 15004 # The compiler can only warn and ignore the option if not recognized 15005 # So say no if there are warnings other than the usual output. 15006 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 15007 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 15008 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 15009 lt_prog_compiler_pic_works_F77=yes 15010 fi 15011 fi 15012 $rm conftest* 15013 15014 fi 15015 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5 15016 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; } 15017 15018 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then 15019 case $lt_prog_compiler_pic_F77 in 15020 "" | " "*) ;; 15021 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; 15022 esac 15023 else 15024 lt_prog_compiler_pic_F77= 15025 lt_prog_compiler_can_build_shared_F77=no 15026 fi 15027 15028 fi 15029 case $host_os in 15030 # For platforms which do not support PIC, -DPIC is meaningless: 15031 *djgpp*) 15032 lt_prog_compiler_pic_F77= 15033 ;; 15034 *) 15035 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" 15036 ;; 15037 esac 15038 15039 # 15040 # Check to make sure the static flag actually works. 15041 # 15042 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\" 15043 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 15044 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } 15045 if test "${lt_prog_compiler_static_works_F77+set}" = set; then 15046 echo $ECHO_N "(cached) $ECHO_C" >&6 15047 else 15048 lt_prog_compiler_static_works_F77=no 15049 save_LDFLAGS="$LDFLAGS" 15050 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 15051 echo "$lt_simple_link_test_code" > conftest.$ac_ext 15052 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 15053 # The linker can only warn and ignore the option if not recognized 15054 # So say no if there are warnings 15055 if test -s conftest.err; then 15056 # Append any errors to the config.log. 15057 cat conftest.err 1>&5 15058 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 15059 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 15060 if diff conftest.exp conftest.er2 >/dev/null; then 15061 lt_prog_compiler_static_works_F77=yes 15062 fi 15063 else 15064 lt_prog_compiler_static_works_F77=yes 15065 fi 15066 fi 15067 $rm conftest* 15068 LDFLAGS="$save_LDFLAGS" 15069 15070 fi 15071 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5 15072 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; } 15073 15074 if test x"$lt_prog_compiler_static_works_F77" = xyes; then 15075 : 15076 else 15077 lt_prog_compiler_static_F77= 15078 fi 15079 15080 15081 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 15082 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } 15083 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then 15084 echo $ECHO_N "(cached) $ECHO_C" >&6 15085 else 15086 lt_cv_prog_compiler_c_o_F77=no 15087 $rm -r conftest 2>/dev/null 15088 mkdir conftest 15089 cd conftest 15090 mkdir out 15091 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15092 15093 lt_compiler_flag="-o out/conftest2.$ac_objext" 15094 # Insert the option either (1) after the last *FLAGS variable, or 15095 # (2) before a word containing "conftest.", or (3) at the end. 15096 # Note that $ac_compile itself does not contain backslashes and begins 15097 # with a dollar sign (not a hyphen), so the echo should work correctly. 15098 lt_compile=`echo "$ac_compile" | $SED \ 15099 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15100 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15101 -e 's:$: $lt_compiler_flag:'` 15102 (eval echo "\"\$as_me:15102: $lt_compile\"" >&5) 15103 (eval "$lt_compile" 2>out/conftest.err) 15104 ac_status=$? 15105 cat out/conftest.err >&5 15106 echo "$as_me:15106: \$? = $ac_status" >&5 15107 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15108 then 15109 # The compiler can only warn and ignore the option if not recognized 15110 # So say no if there are warnings 15111 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 15112 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 15113 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 15114 lt_cv_prog_compiler_c_o_F77=yes 15115 fi 15116 fi 15117 chmod u+w . 2>&5 15118 $rm conftest* 15119 # SGI C++ compiler will create directory out/ii_files/ for 15120 # template instantiation 15121 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 15122 $rm out/* && rmdir out 15123 cd .. 15124 rmdir conftest 15125 $rm conftest* 15126 15127 fi 15128 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5 15129 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; } 15130 15131 15132 hard_links="nottested" 15133 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then 15134 # do not overwrite the value of need_locks provided by the user 15135 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 15136 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } 15137 hard_links=yes 15138 $rm conftest* 15139 ln conftest.a conftest.b 2>/dev/null && hard_links=no 15140 touch conftest.a 15141 ln conftest.a conftest.b 2>&5 || hard_links=no 15142 ln conftest.a conftest.b 2>/dev/null && hard_links=no 15143 { echo "$as_me:$LINENO: result: $hard_links" >&5 15144 echo "${ECHO_T}$hard_links" >&6; } 15145 if test "$hard_links" = no; then 15146 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 15147 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 15148 need_locks=warn 15149 fi 15150 else 15151 need_locks=no 15152 fi 15153 15154 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 15155 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } 15156 15157 runpath_var= 15158 allow_undefined_flag_F77= 15159 enable_shared_with_static_runtimes_F77=no 15160 archive_cmds_F77= 15161 archive_expsym_cmds_F77= 15162 old_archive_From_new_cmds_F77= 15163 old_archive_from_expsyms_cmds_F77= 15164 export_dynamic_flag_spec_F77= 15165 whole_archive_flag_spec_F77= 15166 thread_safe_flag_spec_F77= 15167 hardcode_libdir_flag_spec_F77= 15168 hardcode_libdir_flag_spec_ld_F77= 15169 hardcode_libdir_separator_F77= 15170 hardcode_direct_F77=no 15171 hardcode_minus_L_F77=no 15172 hardcode_shlibpath_var_F77=unsupported 15173 link_all_deplibs_F77=unknown 15174 hardcode_automatic_F77=no 15175 module_cmds_F77= 15176 module_expsym_cmds_F77= 15177 always_export_symbols_F77=no 15178 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15179 # include_expsyms should be a list of space-separated symbols to be *always* 15180 # included in the symbol list 15181 include_expsyms_F77= 15182 # exclude_expsyms can be an extended regexp of symbols to exclude 15183 # it will be wrapped by ` (' and `)$', so one must not match beginning or 15184 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 15185 # as well as any symbol that contains `d'. 15186 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_" 15187 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 15188 # platforms (ab)use it in PIC code, but their linkers get confused if 15189 # the symbol is explicitly referenced. Since portable code cannot 15190 # rely on this symbol name, it's probably fine to never include it in 15191 # preloaded symbol tables. 15192 extract_expsyms_cmds= 15193 # Just being paranoid about ensuring that cc_basename is set. 15194 for cc_temp in $compiler""; do 15195 case $cc_temp in 15196 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 15197 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 15198 \-*) ;; 15199 *) break;; 15200 esac 15201 done 15202 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 15203 15204 case $host_os in 15205 cygwin* | mingw* | pw32*) 15206 # FIXME: the MSVC++ port hasn't been tested in a loooong time 15207 # When not using gcc, we currently assume that we are using 15208 # Microsoft Visual C++. 15209 if test "$GCC" != yes; then 15210 with_gnu_ld=no 15211 fi 15212 ;; 15213 interix*) 15214 # we just hope/assume this is gcc and not c89 (= MSVC++) 15215 with_gnu_ld=yes 15216 ;; 15217 openbsd*) 15218 with_gnu_ld=no 15219 ;; 15220 esac 15221 15222 ld_shlibs_F77=yes 15223 if test "$with_gnu_ld" = yes; then 15224 # If archive_cmds runs LD, not CC, wlarc should be empty 15225 wlarc='${wl}' 15226 15227 # Set some defaults for GNU ld with shared library support. These 15228 # are reset later if shared libraries are not supported. Putting them 15229 # here allows them to be overridden if necessary. 15230 runpath_var=LD_RUN_PATH 15231 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' 15232 export_dynamic_flag_spec_F77='${wl}--export-dynamic' 15233 # ancient GNU ld didn't support --whole-archive et. al. 15234 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then 15235 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 15236 else 15237 whole_archive_flag_spec_F77= 15238 fi 15239 supports_anon_versioning=no 15240 case `$LD -v 2>/dev/null` in 15241 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 15242 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 15243 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 15244 *\ 2.11.*) ;; # other 2.11 versions 15245 *) supports_anon_versioning=yes ;; 15246 esac 15247 15248 # See if GNU ld supports shared libraries. 15249 case $host_os in 15250 aix3* | aix4* | aix5*) 15251 # On AIX/PPC, the GNU linker is very broken 15252 if test "$host_cpu" != ia64; then 15253 ld_shlibs_F77=no 15254 cat <<EOF 1>&2 15255 15256 *** Warning: the GNU linker, at least up to release 2.9.1, is reported 15257 *** to be unable to reliably create shared libraries on AIX. 15258 *** Therefore, libtool is disabling shared libraries support. If you 15259 *** really care for shared libraries, you may want to modify your PATH 15260 *** so that a non-GNU linker is found, and then restart. 15261 15262 EOF 15263 fi 15264 ;; 15265 15266 amigaos*) 15267 archive_cmds_F77='$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)' 15268 hardcode_libdir_flag_spec_F77='-L$libdir' 15269 hardcode_minus_L_F77=yes 15270 15271 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports 15272 # that the semantics of dynamic libraries on AmigaOS, at least up 15273 # to version 4, is to share data among multiple programs linked 15274 # with the same dynamic library. Since this doesn't match the 15275 # behavior of shared libraries on other platforms, we can't use 15276 # them. 15277 ld_shlibs_F77=no 15278 ;; 15279 15280 beos*) 15281 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 15282 allow_undefined_flag_F77=unsupported 15283 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 15284 # support --undefined. This deserves some investigation. FIXME 15285 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 15286 else 15287 ld_shlibs_F77=no 15288 fi 15289 ;; 15290 15291 cygwin* | mingw* | pw32*) 15292 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless, 15293 # as there is no search path for DLLs. 15294 hardcode_libdir_flag_spec_F77='-L$libdir' 15295 allow_undefined_flag_F77=unsupported 15296 always_export_symbols_F77=no 15297 enable_shared_with_static_runtimes_F77=yes 15298 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 15299 15300 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then 15301 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 15302 # If the export-symbols file already is a .def file (1st line 15303 # is EXPORTS), use it as is; otherwise, prepend... 15304 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 15305 cp $export_symbols $output_objdir/$soname.def; 15306 else 15307 echo EXPORTS > $output_objdir/$soname.def; 15308 cat $export_symbols >> $output_objdir/$soname.def; 15309 fi~ 15310 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 15311 else 15312 ld_shlibs_F77=no 15313 fi 15314 ;; 15315 15316 interix[3-9]*) 15317 hardcode_direct_F77=no 15318 hardcode_shlibpath_var_F77=no 15319 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' 15320 export_dynamic_flag_spec_F77='${wl}-E' 15321 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 15322 # Instead, shared libraries are loaded at an image base (0x10000000 by 15323 # default) and relocated if they conflict, which is a slow very memory 15324 # consuming and fragmenting process. To avoid this, we pick a random, 15325 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 15326 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 15327 archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 15328 archive_expsym_cmds_F77='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' 15329 ;; 15330 15331 gnu* | linux* | k*bsd*-gnu) 15332 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 15333 tmp_addflag= 15334 case $cc_basename,$host_cpu in 15335 pgcc*) # Portland Group C compiler 15336 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' 15337 tmp_addflag=' $pic_flag' 15338 ;; 15339 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 15340 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' 15341 tmp_addflag=' $pic_flag -Mnomain' ;; 15342 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 15343 tmp_addflag=' -i_dynamic' ;; 15344 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 15345 tmp_addflag=' -i_dynamic -nofor_main' ;; 15346 ifc* | ifort*) # Intel Fortran compiler 15347 tmp_addflag=' -nofor_main' ;; 15348 esac 15349 case `$CC -V 2>&1 | sed 5q` in 15350 *Sun\ C*) # Sun C 5.9 15351 whole_archive_flag_spec_F77='${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' 15352 tmp_sharedflag='-G' ;; 15353 *Sun\ F*) # Sun Fortran 8.3 15354 tmp_sharedflag='-G' ;; 15355 *) 15356 tmp_sharedflag='-shared' ;; 15357 esac 15358 archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 15359 15360 if test $supports_anon_versioning = yes; then 15361 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~ 15362 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 15363 $echo "local: *; };" >> $output_objdir/$libname.ver~ 15364 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 15365 fi 15366 else 15367 ld_shlibs_F77=no 15368 fi 15369 ;; 15370 15371 netbsd*) 15372 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 15373 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 15374 wlarc= 15375 else 15376 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 15377 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 15378 fi 15379 ;; 15380 15381 solaris*) 15382 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then 15383 ld_shlibs_F77=no 15384 cat <<EOF 1>&2 15385 15386 *** Warning: The releases 2.8.* of the GNU linker cannot reliably 15387 *** create shared libraries on Solaris systems. Therefore, libtool 15388 *** is disabling shared libraries support. We urge you to upgrade GNU 15389 *** binutils to release 2.9.1 or newer. Another option is to modify 15390 *** your PATH or compiler configuration so that the native linker is 15391 *** used, and then restart. 15392 15393 EOF 15394 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 15395 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 15396 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 15397 else 15398 ld_shlibs_F77=no 15399 fi 15400 ;; 15401 15402 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 15403 case `$LD -v 2>&1` in 15404 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 15405 ld_shlibs_F77=no 15406 cat <<_LT_EOF 1>&2 15407 15408 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 15409 *** reliably create shared libraries on SCO systems. Therefore, libtool 15410 *** is disabling shared libraries support. We urge you to upgrade GNU 15411 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify 15412 *** your PATH or compiler configuration so that the native linker is 15413 *** used, and then restart. 15414 15415 _LT_EOF 15416 ;; 15417 *) 15418 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 15419 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' 15420 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' 15421 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' 15422 else 15423 ld_shlibs_F77=no 15424 fi 15425 ;; 15426 esac 15427 ;; 15428 15429 sunos4*) 15430 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 15431 wlarc= 15432 hardcode_direct_F77=yes 15433 hardcode_shlibpath_var_F77=no 15434 ;; 15435 15436 *) 15437 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 15438 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 15439 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 15440 else 15441 ld_shlibs_F77=no 15442 fi 15443 ;; 15444 esac 15445 15446 if test "$ld_shlibs_F77" = no; then 15447 runpath_var= 15448 hardcode_libdir_flag_spec_F77= 15449 export_dynamic_flag_spec_F77= 15450 whole_archive_flag_spec_F77= 15451 fi 15452 else 15453 # PORTME fill in a description of your system's linker (not GNU ld) 15454 case $host_os in 15455 aix3*) 15456 allow_undefined_flag_F77=unsupported 15457 always_export_symbols_F77=yes 15458 archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' 15459 # Note: this linker hardcodes the directories in LIBPATH if there 15460 # are no directories specified by -L. 15461 hardcode_minus_L_F77=yes 15462 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 15463 # Neither direct hardcoding nor static linking is supported with a 15464 # broken collect2. 15465 hardcode_direct_F77=unsupported 15466 fi 15467 ;; 15468 15469 aix4* | aix5*) 15470 if test "$host_cpu" = ia64; then 15471 # On IA64, the linker does run time linking by default, so we don't 15472 # have to do anything special. 15473 aix_use_runtimelinking=no 15474 exp_sym_flag='-Bexport' 15475 no_entry_flag="" 15476 else 15477 # If we're using GNU nm, then we don't want the "-C" option. 15478 # -C means demangle to AIX nm, but means don't demangle with GNU nm 15479 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then 15480 export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' 15481 else 15482 export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' 15483 fi 15484 aix_use_runtimelinking=no 15485 15486 # Test if we are trying to use run time linking or normal 15487 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 15488 # need to do runtime linking. 15489 case $host_os in aix4.[23]|aix4.[23].*|aix5*) 15490 for ld_flag in $LDFLAGS; do 15491 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 15492 aix_use_runtimelinking=yes 15493 break 15494 fi 15495 done 15496 ;; 15497 esac 15498 15499 exp_sym_flag='-bexport' 15500 no_entry_flag='-bnoentry' 15501 fi 15502 15503 # When large executables or shared objects are built, AIX ld can 15504 # have problems creating the table of contents. If linking a library 15505 # or program results in "error TOC overflow" add -mminimal-toc to 15506 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 15507 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 15508 15509 archive_cmds_F77='' 15510 hardcode_direct_F77=yes 15511 hardcode_libdir_separator_F77=':' 15512 link_all_deplibs_F77=yes 15513 15514 if test "$GCC" = yes; then 15515 case $host_os in aix4.[012]|aix4.[012].*) 15516 # We only want to do this on AIX 4.2 and lower, the check 15517 # below for broken collect2 doesn't work under 4.3+ 15518 collect2name=`${CC} -print-prog-name=collect2` 15519 if test -f "$collect2name" && \ 15520 strings "$collect2name" | grep resolve_lib_name >/dev/null 15521 then 15522 # We have reworked collect2 15523 : 15524 else 15525 # We have old collect2 15526 hardcode_direct_F77=unsupported 15527 # It fails to find uninstalled libraries when the uninstalled 15528 # path is not listed in the libpath. Setting hardcode_minus_L 15529 # to unsupported forces relinking 15530 hardcode_minus_L_F77=yes 15531 hardcode_libdir_flag_spec_F77='-L$libdir' 15532 hardcode_libdir_separator_F77= 15533 fi 15534 ;; 15535 esac 15536 shared_flag='-shared' 15537 if test "$aix_use_runtimelinking" = yes; then 15538 shared_flag="$shared_flag "'${wl}-G' 15539 fi 15540 else 15541 # not using gcc 15542 if test "$host_cpu" = ia64; then 15543 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 15544 # chokes on -Wl,-G. The following line is correct: 15545 shared_flag='-G' 15546 else 15547 if test "$aix_use_runtimelinking" = yes; then 15548 shared_flag='${wl}-G' 15549 else 15550 shared_flag='${wl}-bM:SRE' 15551 fi 15552 fi 15553 fi 15554 15555 # It seems that -bexpall does not export symbols beginning with 15556 # underscore (_), so it is better to generate a list of symbols to export. 15557 always_export_symbols_F77=yes 15558 if test "$aix_use_runtimelinking" = yes; then 15559 # Warning - without using the other runtime loading flags (-brtl), 15560 # -berok will link without error, but may produce a broken library. 15561 allow_undefined_flag_F77='-berok' 15562 # Determine the default libpath from the value encoded in an empty executable. 15563 cat >conftest.$ac_ext <<_ACEOF 15564 program main 15565 15566 end 15567 _ACEOF 15568 rm -f conftest.$ac_objext conftest$ac_exeext 15569 if { (ac_try="$ac_link" 15570 case "(($ac_try" in 15571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15572 *) ac_try_echo=$ac_try;; 15573 esac 15574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15575 (eval "$ac_link") 2>conftest.er1 15576 ac_status=$? 15577 grep -v '^ *+' conftest.er1 >conftest.err 15578 rm -f conftest.er1 15579 cat conftest.err >&5 15580 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15581 (exit $ac_status); } && { 15582 test -z "$ac_f77_werror_flag" || 15583 test ! -s conftest.err 15584 } && test -s conftest$ac_exeext && 15585 $as_test_x conftest$ac_exeext; then 15586 15587 lt_aix_libpath_sed=' 15588 /Import File Strings/,/^$/ { 15589 /^0/ { 15590 s/^0 *\(.*\)$/\1/ 15591 p 15592 } 15593 }' 15594 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 15595 # Check for a 64-bit object if we didn't find anything. 15596 if test -z "$aix_libpath"; then 15597 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 15598 fi 15599 else 15600 echo "$as_me: failed program was:" >&5 15601 sed 's/^/| /' conftest.$ac_ext >&5 15602 15603 15604 fi 15605 15606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15607 conftest$ac_exeext conftest.$ac_ext 15608 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 15609 15610 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" 15611 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 15612 else 15613 if test "$host_cpu" = ia64; then 15614 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' 15615 allow_undefined_flag_F77="-z nodefs" 15616 archive_expsym_cmds_F77="\$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" 15617 else 15618 # Determine the default libpath from the value encoded in an empty executable. 15619 cat >conftest.$ac_ext <<_ACEOF 15620 program main 15621 15622 end 15623 _ACEOF 15624 rm -f conftest.$ac_objext conftest$ac_exeext 15625 if { (ac_try="$ac_link" 15626 case "(($ac_try" in 15627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15628 *) ac_try_echo=$ac_try;; 15629 esac 15630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15631 (eval "$ac_link") 2>conftest.er1 15632 ac_status=$? 15633 grep -v '^ *+' conftest.er1 >conftest.err 15634 rm -f conftest.er1 15635 cat conftest.err >&5 15636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15637 (exit $ac_status); } && { 15638 test -z "$ac_f77_werror_flag" || 15639 test ! -s conftest.err 15640 } && test -s conftest$ac_exeext && 15641 $as_test_x conftest$ac_exeext; then 15642 15643 lt_aix_libpath_sed=' 15644 /Import File Strings/,/^$/ { 15645 /^0/ { 15646 s/^0 *\(.*\)$/\1/ 15647 p 15648 } 15649 }' 15650 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 15651 # Check for a 64-bit object if we didn't find anything. 15652 if test -z "$aix_libpath"; then 15653 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 15654 fi 15655 else 15656 echo "$as_me: failed program was:" >&5 15657 sed 's/^/| /' conftest.$ac_ext >&5 15658 15659 15660 fi 15661 15662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15663 conftest$ac_exeext conftest.$ac_ext 15664 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 15665 15666 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" 15667 # Warning - without using the other run time loading flags, 15668 # -berok will link without error, but may produce a broken library. 15669 no_undefined_flag_F77=' ${wl}-bernotok' 15670 allow_undefined_flag_F77=' ${wl}-berok' 15671 # Exported symbols can be pulled into shared objects from archives 15672 whole_archive_flag_spec_F77='$convenience' 15673 archive_cmds_need_lc_F77=yes 15674 # This is similar to how AIX traditionally builds its shared libraries. 15675 archive_expsym_cmds_F77="\$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' 15676 fi 15677 fi 15678 ;; 15679 15680 amigaos*) 15681 archive_cmds_F77='$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)' 15682 hardcode_libdir_flag_spec_F77='-L$libdir' 15683 hardcode_minus_L_F77=yes 15684 # see comment about different semantics on the GNU ld section 15685 ld_shlibs_F77=no 15686 ;; 15687 15688 bsdi[45]*) 15689 export_dynamic_flag_spec_F77=-rdynamic 15690 ;; 15691 15692 cygwin* | mingw* | pw32*) 15693 # When not using gcc, we currently assume that we are using 15694 # Microsoft Visual C++. 15695 # hardcode_libdir_flag_spec is actually meaningless, as there is 15696 # no search path for DLLs. 15697 hardcode_libdir_flag_spec_F77=' ' 15698 allow_undefined_flag_F77=unsupported 15699 # Tell ltmain to make .lib files, not .a files. 15700 libext=lib 15701 # Tell ltmain to make .dll files, not .so files. 15702 shrext_cmds=".dll" 15703 # FIXME: Setting linknames here is a bad hack. 15704 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' 15705 # The linker will automatically build a .lib file if we build a DLL. 15706 old_archive_From_new_cmds_F77='true' 15707 # FIXME: Should let the user specify the lib program. 15708 old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs' 15709 fix_srcfile_path_F77='`cygpath -w "$srcfile"`' 15710 enable_shared_with_static_runtimes_F77=yes 15711 ;; 15712 15713 darwin* | rhapsody*) 15714 case $host_os in 15715 rhapsody* | darwin1.[012]) 15716 allow_undefined_flag_F77='${wl}-undefined ${wl}suppress' 15717 ;; 15718 *) # Darwin 1.3 on 15719 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 15720 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 15721 else 15722 case ${MACOSX_DEPLOYMENT_TARGET} in 15723 10.[012]) 15724 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 15725 ;; 15726 10.*) 15727 allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup' 15728 ;; 15729 esac 15730 fi 15731 ;; 15732 esac 15733 archive_cmds_need_lc_F77=no 15734 hardcode_direct_F77=no 15735 hardcode_automatic_F77=yes 15736 hardcode_shlibpath_var_F77=unsupported 15737 whole_archive_flag_spec_F77='' 15738 link_all_deplibs_F77=yes 15739 if test "$GCC" = yes ; then 15740 output_verbose_link_cmd='echo' 15741 archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 15742 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 15743 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 15744 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 15745 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 15746 else 15747 case $cc_basename in 15748 xlc*) 15749 output_verbose_link_cmd='echo' 15750 archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' 15751 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 15752 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 15753 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 15754 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 15755 ;; 15756 *) 15757 ld_shlibs_F77=no 15758 ;; 15759 esac 15760 fi 15761 ;; 15762 15763 dgux*) 15764 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15765 hardcode_libdir_flag_spec_F77='-L$libdir' 15766 hardcode_shlibpath_var_F77=no 15767 ;; 15768 15769 freebsd1*) 15770 ld_shlibs_F77=no 15771 ;; 15772 15773 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 15774 # support. Future versions do this automatically, but an explicit c++rt0.o 15775 # does not break anything, and helps significantly (at the cost of a little 15776 # extra space). 15777 freebsd2.2*) 15778 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 15779 hardcode_libdir_flag_spec_F77='-R$libdir' 15780 hardcode_direct_F77=yes 15781 hardcode_shlibpath_var_F77=no 15782 ;; 15783 15784 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 15785 freebsd2*) 15786 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 15787 hardcode_direct_F77=yes 15788 hardcode_minus_L_F77=yes 15789 hardcode_shlibpath_var_F77=no 15790 ;; 15791 15792 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 15793 freebsd* | dragonfly*) 15794 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 15795 hardcode_libdir_flag_spec_F77='-R$libdir' 15796 hardcode_direct_F77=yes 15797 hardcode_shlibpath_var_F77=no 15798 ;; 15799 15800 hpux9*) 15801 if test "$GCC" = yes; then 15802 archive_cmds_F77='$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' 15803 else 15804 archive_cmds_F77='$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' 15805 fi 15806 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' 15807 hardcode_libdir_separator_F77=: 15808 hardcode_direct_F77=yes 15809 15810 # hardcode_minus_L: Not really in the search PATH, 15811 # but as the default location of the library. 15812 hardcode_minus_L_F77=yes 15813 export_dynamic_flag_spec_F77='${wl}-E' 15814 ;; 15815 15816 hpux10*) 15817 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 15818 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 15819 else 15820 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 15821 fi 15822 if test "$with_gnu_ld" = no; then 15823 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' 15824 hardcode_libdir_separator_F77=: 15825 15826 hardcode_direct_F77=yes 15827 export_dynamic_flag_spec_F77='${wl}-E' 15828 15829 # hardcode_minus_L: Not really in the search PATH, 15830 # but as the default location of the library. 15831 hardcode_minus_L_F77=yes 15832 fi 15833 ;; 15834 15835 hpux11*) 15836 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 15837 case $host_cpu in 15838 hppa*64*) 15839 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 15840 ;; 15841 ia64*) 15842 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 15843 ;; 15844 *) 15845 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 15846 ;; 15847 esac 15848 else 15849 case $host_cpu in 15850 hppa*64*) 15851 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 15852 ;; 15853 ia64*) 15854 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 15855 ;; 15856 *) 15857 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 15858 ;; 15859 esac 15860 fi 15861 if test "$with_gnu_ld" = no; then 15862 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' 15863 hardcode_libdir_separator_F77=: 15864 15865 case $host_cpu in 15866 hppa*64*|ia64*) 15867 hardcode_libdir_flag_spec_ld_F77='+b $libdir' 15868 hardcode_direct_F77=no 15869 hardcode_shlibpath_var_F77=no 15870 ;; 15871 *) 15872 hardcode_direct_F77=yes 15873 export_dynamic_flag_spec_F77='${wl}-E' 15874 15875 # hardcode_minus_L: Not really in the search PATH, 15876 # but as the default location of the library. 15877 hardcode_minus_L_F77=yes 15878 ;; 15879 esac 15880 fi 15881 ;; 15882 15883 irix5* | irix6* | nonstopux*) 15884 if test "$GCC" = yes; then 15885 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 15886 else 15887 archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 15888 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir' 15889 fi 15890 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' 15891 hardcode_libdir_separator_F77=: 15892 link_all_deplibs_F77=yes 15893 ;; 15894 15895 netbsd*) 15896 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 15897 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 15898 else 15899 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 15900 fi 15901 hardcode_libdir_flag_spec_F77='-R$libdir' 15902 hardcode_direct_F77=yes 15903 hardcode_shlibpath_var_F77=no 15904 ;; 15905 15906 newsos6) 15907 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15908 hardcode_direct_F77=yes 15909 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' 15910 hardcode_libdir_separator_F77=: 15911 hardcode_shlibpath_var_F77=no 15912 ;; 15913 15914 openbsd*) 15915 if test -f /usr/libexec/ld.so; then 15916 hardcode_direct_F77=yes 15917 hardcode_shlibpath_var_F77=no 15918 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 15919 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 15920 archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 15921 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' 15922 export_dynamic_flag_spec_F77='${wl}-E' 15923 else 15924 case $host_os in 15925 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 15926 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 15927 hardcode_libdir_flag_spec_F77='-R$libdir' 15928 ;; 15929 *) 15930 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 15931 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' 15932 ;; 15933 esac 15934 fi 15935 else 15936 ld_shlibs_F77=no 15937 fi 15938 ;; 15939 15940 os2*) 15941 hardcode_libdir_flag_spec_F77='-L$libdir' 15942 hardcode_minus_L_F77=yes 15943 allow_undefined_flag_F77=unsupported 15944 archive_cmds_F77='$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' 15945 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 15946 ;; 15947 15948 osf3*) 15949 if test "$GCC" = yes; then 15950 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' 15951 archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 15952 else 15953 allow_undefined_flag_F77=' -expect_unresolved \*' 15954 archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 15955 fi 15956 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' 15957 hardcode_libdir_separator_F77=: 15958 ;; 15959 15960 osf4* | osf5*) # as osf3* with the addition of -msym flag 15961 if test "$GCC" = yes; then 15962 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' 15963 archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 15964 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' 15965 else 15966 allow_undefined_flag_F77=' -expect_unresolved \*' 15967 archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 15968 archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ 15969 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' 15970 15971 # Both c and cxx compiler support -rpath directly 15972 hardcode_libdir_flag_spec_F77='-rpath $libdir' 15973 fi 15974 hardcode_libdir_separator_F77=: 15975 ;; 15976 15977 solaris*) 15978 no_undefined_flag_F77=' -z text' 15979 if test "$GCC" = yes; then 15980 wlarc='${wl}' 15981 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 15982 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 15983 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' 15984 else 15985 wlarc='' 15986 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 15987 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 15988 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' 15989 fi 15990 hardcode_libdir_flag_spec_F77='-R$libdir' 15991 hardcode_shlibpath_var_F77=no 15992 case $host_os in 15993 solaris2.[0-5] | solaris2.[0-5].*) ;; 15994 *) 15995 # The compiler driver will combine and reorder linker options, 15996 # but understands `-z linker_flag'. GCC discards it without `$wl', 15997 # but is careful enough not to reorder. 15998 # Supported since Solaris 2.6 (maybe 2.5.1?) 15999 if test "$GCC" = yes; then 16000 whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 16001 else 16002 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' 16003 fi 16004 ;; 16005 esac 16006 link_all_deplibs_F77=yes 16007 ;; 16008 16009 sunos4*) 16010 if test "x$host_vendor" = xsequent; then 16011 # Use $CC to link under sequent, because it throws in some extra .o 16012 # files that make .init and .fini sections work. 16013 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 16014 else 16015 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 16016 fi 16017 hardcode_libdir_flag_spec_F77='-L$libdir' 16018 hardcode_direct_F77=yes 16019 hardcode_minus_L_F77=yes 16020 hardcode_shlibpath_var_F77=no 16021 ;; 16022 16023 sysv4) 16024 case $host_vendor in 16025 sni) 16026 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 16027 hardcode_direct_F77=yes # is this really true??? 16028 ;; 16029 siemens) 16030 ## LD is ld it makes a PLAMLIB 16031 ## CC just makes a GrossModule. 16032 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' 16033 reload_cmds_F77='$CC -r -o $output$reload_objs' 16034 hardcode_direct_F77=no 16035 ;; 16036 motorola) 16037 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 16038 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie 16039 ;; 16040 esac 16041 runpath_var='LD_RUN_PATH' 16042 hardcode_shlibpath_var_F77=no 16043 ;; 16044 16045 sysv4.3*) 16046 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 16047 hardcode_shlibpath_var_F77=no 16048 export_dynamic_flag_spec_F77='-Bexport' 16049 ;; 16050 16051 sysv4*MP*) 16052 if test -d /usr/nec; then 16053 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 16054 hardcode_shlibpath_var_F77=no 16055 runpath_var=LD_RUN_PATH 16056 hardcode_runpath_var=yes 16057 ld_shlibs_F77=yes 16058 fi 16059 ;; 16060 16061 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 16062 no_undefined_flag_F77='${wl}-z,text' 16063 archive_cmds_need_lc_F77=no 16064 hardcode_shlibpath_var_F77=no 16065 runpath_var='LD_RUN_PATH' 16066 16067 if test "$GCC" = yes; then 16068 archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16069 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16070 else 16071 archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16072 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 16073 fi 16074 ;; 16075 16076 sysv5* | sco3.2v5* | sco5v6*) 16077 # Note: We can NOT use -z defs as we might desire, because we do not 16078 # link with -lc, and that would cause any symbols used from libc to 16079 # always be unresolved, which means just about no library would 16080 # ever link correctly. If we're not using GNU ld we use -z text 16081 # though, which does catch some bad symbols but isn't as heavy-handed 16082 # as -z defs. 16083 no_undefined_flag_F77='${wl}-z,text' 16084 allow_undefined_flag_F77='${wl}-z,nodefs' 16085 archive_cmds_need_lc_F77=no 16086 hardcode_shlibpath_var_F77=no 16087 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' 16088 hardcode_libdir_separator_F77=':' 16089 link_all_deplibs_F77=yes 16090 export_dynamic_flag_spec_F77='${wl}-Bexport' 16091 runpath_var='LD_RUN_PATH' 16092 16093 if test "$GCC" = yes; then 16094 archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 16095 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 16096 else 16097 archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 16098 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 16099 fi 16100 ;; 16101 16102 uts4*) 16103 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 16104 hardcode_libdir_flag_spec_F77='-L$libdir' 16105 hardcode_shlibpath_var_F77=no 16106 ;; 16107 16108 *) 16109 ld_shlibs_F77=no 16110 ;; 16111 esac 16112 fi 16113 16114 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5 16115 echo "${ECHO_T}$ld_shlibs_F77" >&6; } 16116 test "$ld_shlibs_F77" = no && can_build_shared=no 16117 16118 # 16119 # Do we need to explicitly link libc? 16120 # 16121 case "x$archive_cmds_need_lc_F77" in 16122 x|xyes) 16123 # Assume -lc should be added 16124 archive_cmds_need_lc_F77=yes 16125 16126 if test "$enable_shared" = yes && test "$GCC" = yes; then 16127 case $archive_cmds_F77 in 16128 *'~'*) 16129 # FIXME: we may have to deal with multi-command sequences. 16130 ;; 16131 '$CC '*) 16132 # Test whether the compiler implicitly links with -lc since on some 16133 # systems, -lgcc has to come before -lc. If gcc already passes -lc 16134 # to ld, don't add -lc before -lgcc. 16135 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 16136 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } 16137 $rm conftest* 16138 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 16139 16140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 16141 (eval $ac_compile) 2>&5 16142 ac_status=$? 16143 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16144 (exit $ac_status); } 2>conftest.err; then 16145 soname=conftest 16146 lib=conftest 16147 libobjs=conftest.$ac_objext 16148 deplibs= 16149 wl=$lt_prog_compiler_wl_F77 16150 pic_flag=$lt_prog_compiler_pic_F77 16151 compiler_flags=-v 16152 linker_flags=-v 16153 verstring= 16154 output_objdir=. 16155 libname=conftest 16156 lt_save_allow_undefined_flag=$allow_undefined_flag_F77 16157 allow_undefined_flag_F77= 16158 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 16159 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 16160 ac_status=$? 16161 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16162 (exit $ac_status); } 16163 then 16164 archive_cmds_need_lc_F77=no 16165 else 16166 archive_cmds_need_lc_F77=yes 16167 fi 16168 allow_undefined_flag_F77=$lt_save_allow_undefined_flag 16169 else 16170 cat conftest.err 1>&5 16171 fi 16172 $rm conftest* 16173 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5 16174 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; } 16175 ;; 16176 esac 16177 fi 16178 ;; 16179 esac 16180 16181 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 16182 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } 16183 library_names_spec= 16184 libname_spec='lib$name' 16185 soname_spec= 16186 shrext_cmds=".so" 16187 postinstall_cmds= 16188 postuninstall_cmds= 16189 finish_cmds= 16190 finish_eval= 16191 shlibpath_var= 16192 shlibpath_overrides_runpath=unknown 16193 version_type=none 16194 dynamic_linker="$host_os ld.so" 16195 sys_lib_dlsearch_path_spec="/lib /usr/lib" 16196 16197 need_lib_prefix=unknown 16198 hardcode_into_libs=no 16199 16200 # when you set need_version to no, make sure it does not cause -set_version 16201 # flags to be left without arguments 16202 need_version=unknown 16203 16204 case $host_os in 16205 aix3*) 16206 version_type=linux 16207 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 16208 shlibpath_var=LIBPATH 16209 16210 # AIX 3 has no versioning support, so we append a major version to the name. 16211 soname_spec='${libname}${release}${shared_ext}$major' 16212 ;; 16213 16214 aix4* | aix5*) 16215 version_type=linux 16216 need_lib_prefix=no 16217 need_version=no 16218 hardcode_into_libs=yes 16219 if test "$host_cpu" = ia64; then 16220 # AIX 5 supports IA64 16221 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 16222 shlibpath_var=LD_LIBRARY_PATH 16223 else 16224 # With GCC up to 2.95.x, collect2 would create an import file 16225 # for dependence libraries. The import file would start with 16226 # the line `#! .'. This would cause the generated library to 16227 # depend on `.', always an invalid library. This was fixed in 16228 # development snapshots of GCC prior to 3.0. 16229 case $host_os in 16230 aix4 | aix4.[01] | aix4.[01].*) 16231 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 16232 echo ' yes ' 16233 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then 16234 : 16235 else 16236 can_build_shared=no 16237 fi 16238 ;; 16239 esac 16240 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 16241 # soname into executable. Probably we can add versioning support to 16242 # collect2, so additional links can be useful in future. 16243 if test "$aix_use_runtimelinking" = yes; then 16244 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 16245 # instead of lib<name>.a to let people know that these are not 16246 # typical AIX shared libraries. 16247 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16248 else 16249 # We preserve .a as extension for shared libraries through AIX4.2 16250 # and later when we are not doing run time linking. 16251 library_names_spec='${libname}${release}.a $libname.a' 16252 soname_spec='${libname}${release}${shared_ext}$major' 16253 fi 16254 shlibpath_var=LIBPATH 16255 fi 16256 ;; 16257 16258 amigaos*) 16259 library_names_spec='$libname.ixlibrary $libname.a' 16260 # Create ${libname}_ixlibrary.a entries in /sys/libs. 16261 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' 16262 ;; 16263 16264 beos*) 16265 library_names_spec='${libname}${shared_ext}' 16266 dynamic_linker="$host_os ld.so" 16267 shlibpath_var=LIBRARY_PATH 16268 ;; 16269 16270 bsdi[45]*) 16271 version_type=linux 16272 need_version=no 16273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16274 soname_spec='${libname}${release}${shared_ext}$major' 16275 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 16276 shlibpath_var=LD_LIBRARY_PATH 16277 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 16278 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 16279 # the default ld.so.conf also contains /usr/contrib/lib and 16280 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 16281 # libtool to hard-code these into programs 16282 ;; 16283 16284 cygwin* | mingw* | pw32*) 16285 version_type=windows 16286 shrext_cmds=".dll" 16287 need_version=no 16288 need_lib_prefix=no 16289 16290 case $GCC,$host_os in 16291 yes,cygwin* | yes,mingw* | yes,pw32*) 16292 library_names_spec='$libname.dll.a' 16293 # DLL is installed to $(libdir)/../bin by postinstall_cmds 16294 postinstall_cmds='base_file=`basename \${file}`~ 16295 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ 16296 dldir=$destdir/`dirname \$dlpath`~ 16297 test -d \$dldir || mkdir -p \$dldir~ 16298 $install_prog $dir/$dlname \$dldir/$dlname~ 16299 chmod a+x \$dldir/$dlname' 16300 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 16301 dlpath=$dir/\$dldll~ 16302 $rm \$dlpath' 16303 shlibpath_overrides_runpath=yes 16304 16305 case $host_os in 16306 cygwin*) 16307 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 16308 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 16309 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 16310 ;; 16311 mingw*) 16312 # MinGW DLLs use traditional 'lib' prefix 16313 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 16314 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 16315 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then 16316 # It is most probably a Windows format PATH printed by 16317 # mingw gcc, but we are running on Cygwin. Gcc prints its search 16318 # path with ; separators, and with drive letters. We can handle the 16319 # drive letters (cygwin fileutils understands them), so leave them, 16320 # especially as we might pass files found there to a mingw objdump, 16321 # which wouldn't understand a cygwinified path. Ahh. 16322 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 16323 else 16324 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 16325 fi 16326 ;; 16327 pw32*) 16328 # pw32 DLLs use 'pw' prefix rather than 'lib' 16329 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 16330 ;; 16331 esac 16332 ;; 16333 16334 *) 16335 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 16336 ;; 16337 esac 16338 dynamic_linker='Win32 ld.exe' 16339 # FIXME: first we should search . and the directory the executable is in 16340 shlibpath_var=PATH 16341 ;; 16342 16343 darwin* | rhapsody*) 16344 dynamic_linker="$host_os dyld" 16345 version_type=darwin 16346 need_lib_prefix=no 16347 need_version=no 16348 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 16349 soname_spec='${libname}${release}${major}$shared_ext' 16350 shlibpath_overrides_runpath=yes 16351 shlibpath_var=DYLD_LIBRARY_PATH 16352 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 16353 16354 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 16355 ;; 16356 16357 dgux*) 16358 version_type=linux 16359 need_lib_prefix=no 16360 need_version=no 16361 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 16362 soname_spec='${libname}${release}${shared_ext}$major' 16363 shlibpath_var=LD_LIBRARY_PATH 16364 ;; 16365 16366 freebsd1*) 16367 dynamic_linker=no 16368 ;; 16369 16370 freebsd* | dragonfly*) 16371 # DragonFly does not have aout. When/if they implement a new 16372 # versioning mechanism, adjust this. 16373 if test -x /usr/bin/objformat; then 16374 objformat=`/usr/bin/objformat` 16375 else 16376 case $host_os in 16377 freebsd[123]*) objformat=aout ;; 16378 *) objformat=elf ;; 16379 esac 16380 fi 16381 version_type=freebsd-$objformat 16382 case $version_type in 16383 freebsd-elf*) 16384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 16385 need_version=no 16386 need_lib_prefix=no 16387 ;; 16388 freebsd-*) 16389 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 16390 need_version=yes 16391 ;; 16392 esac 16393 shlibpath_var=LD_LIBRARY_PATH 16394 case $host_os in 16395 freebsd2*) 16396 shlibpath_overrides_runpath=yes 16397 ;; 16398 freebsd3.[01]* | freebsdelf3.[01]*) 16399 shlibpath_overrides_runpath=yes 16400 hardcode_into_libs=yes 16401 ;; 16402 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 16403 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 16404 shlibpath_overrides_runpath=no 16405 hardcode_into_libs=yes 16406 ;; 16407 *) # from 4.6 on, and DragonFly 16408 shlibpath_overrides_runpath=yes 16409 hardcode_into_libs=yes 16410 ;; 16411 esac 16412 ;; 16413 16414 gnu*) 16415 version_type=linux 16416 need_lib_prefix=no 16417 need_version=no 16418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 16419 soname_spec='${libname}${release}${shared_ext}$major' 16420 shlibpath_var=LD_LIBRARY_PATH 16421 hardcode_into_libs=yes 16422 ;; 16423 16424 hpux9* | hpux10* | hpux11*) 16425 # Give a soname corresponding to the major version so that dld.sl refuses to 16426 # link against other versions. 16427 version_type=sunos 16428 need_lib_prefix=no 16429 need_version=no 16430 case $host_cpu in 16431 ia64*) 16432 shrext_cmds='.so' 16433 hardcode_into_libs=yes 16434 dynamic_linker="$host_os dld.so" 16435 shlibpath_var=LD_LIBRARY_PATH 16436 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 16437 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16438 soname_spec='${libname}${release}${shared_ext}$major' 16439 if test "X$HPUX_IA64_MODE" = X32; then 16440 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 16441 else 16442 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 16443 fi 16444 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16445 ;; 16446 hppa*64*) 16447 shrext_cmds='.sl' 16448 hardcode_into_libs=yes 16449 dynamic_linker="$host_os dld.sl" 16450 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 16451 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 16452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16453 soname_spec='${libname}${release}${shared_ext}$major' 16454 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 16455 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16456 ;; 16457 *) 16458 shrext_cmds='.sl' 16459 dynamic_linker="$host_os dld.sl" 16460 shlibpath_var=SHLIB_PATH 16461 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 16462 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16463 soname_spec='${libname}${release}${shared_ext}$major' 16464 ;; 16465 esac 16466 # HP-UX runs *really* slowly unless shared libraries are mode 555. 16467 postinstall_cmds='chmod 555 $lib' 16468 ;; 16469 16470 interix[3-9]*) 16471 version_type=linux 16472 need_lib_prefix=no 16473 need_version=no 16474 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 16475 soname_spec='${libname}${release}${shared_ext}$major' 16476 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 16477 shlibpath_var=LD_LIBRARY_PATH 16478 shlibpath_overrides_runpath=no 16479 hardcode_into_libs=yes 16480 ;; 16481 16482 irix5* | irix6* | nonstopux*) 16483 case $host_os in 16484 nonstopux*) version_type=nonstopux ;; 16485 *) 16486 if test "$lt_cv_prog_gnu_ld" = yes; then 16487 version_type=linux 16488 else 16489 version_type=irix 16490 fi ;; 16491 esac 16492 need_lib_prefix=no 16493 need_version=no 16494 soname_spec='${libname}${release}${shared_ext}$major' 16495 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 16496 case $host_os in 16497 irix5* | nonstopux*) 16498 libsuff= shlibsuff= 16499 ;; 16500 *) 16501 case $LD in # libtool.m4 will add one of these switches to LD 16502 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 16503 libsuff= shlibsuff= libmagic=32-bit;; 16504 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 16505 libsuff=32 shlibsuff=N32 libmagic=N32;; 16506 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 16507 libsuff=64 shlibsuff=64 libmagic=64-bit;; 16508 *) libsuff= shlibsuff= libmagic=never-match;; 16509 esac 16510 ;; 16511 esac 16512 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 16513 shlibpath_overrides_runpath=no 16514 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 16515 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 16516 hardcode_into_libs=yes 16517 ;; 16518 16519 # No shared lib support for Linux oldld, aout, or coff. 16520 linux*oldld* | linux*aout* | linux*coff*) 16521 dynamic_linker=no 16522 ;; 16523 16524 # This must be Linux ELF. 16525 linux* | k*bsd*-gnu) 16526 version_type=linux 16527 need_lib_prefix=no 16528 need_version=no 16529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16530 soname_spec='${libname}${release}${shared_ext}$major' 16531 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 16532 shlibpath_var=LD_LIBRARY_PATH 16533 shlibpath_overrides_runpath=no 16534 # This implies no fast_install, which is unacceptable. 16535 # Some rework will be needed to allow for fast_install 16536 # before this can be enabled. 16537 hardcode_into_libs=yes 16538 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 16539 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 16540 16541 # Append ld.so.conf contents to the search path 16542 if test -f /etc/ld.so.conf; then 16543 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' ' '` 16544 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 16545 fi 16546 16547 # We used to test for /lib/ld.so.1 and disable shared libraries on 16548 # powerpc, because MkLinux only supported shared libraries with the 16549 # GNU dynamic linker. Since this was broken with cross compilers, 16550 # most powerpc-linux boxes support dynamic linking these days and 16551 # people can always --disable-shared, the test was removed, and we 16552 # assume the GNU/Linux dynamic linker is in use. 16553 dynamic_linker='GNU/Linux ld.so' 16554 ;; 16555 16556 netbsd*) 16557 version_type=sunos 16558 need_lib_prefix=no 16559 need_version=no 16560 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 16561 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 16562 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16563 dynamic_linker='NetBSD (a.out) ld.so' 16564 else 16565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 16566 soname_spec='${libname}${release}${shared_ext}$major' 16567 dynamic_linker='NetBSD ld.elf_so' 16568 fi 16569 shlibpath_var=LD_LIBRARY_PATH 16570 shlibpath_overrides_runpath=yes 16571 hardcode_into_libs=yes 16572 ;; 16573 16574 newsos6) 16575 version_type=linux 16576 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16577 shlibpath_var=LD_LIBRARY_PATH 16578 shlibpath_overrides_runpath=yes 16579 ;; 16580 16581 nto-qnx*) 16582 version_type=linux 16583 need_lib_prefix=no 16584 need_version=no 16585 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16586 soname_spec='${libname}${release}${shared_ext}$major' 16587 shlibpath_var=LD_LIBRARY_PATH 16588 shlibpath_overrides_runpath=yes 16589 ;; 16590 16591 openbsd*) 16592 version_type=sunos 16593 sys_lib_dlsearch_path_spec="/usr/lib" 16594 need_lib_prefix=no 16595 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 16596 case $host_os in 16597 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 16598 *) need_version=no ;; 16599 esac 16600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 16601 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16602 shlibpath_var=LD_LIBRARY_PATH 16603 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 16604 case $host_os in 16605 openbsd2.[89] | openbsd2.[89].*) 16606 shlibpath_overrides_runpath=no 16607 ;; 16608 *) 16609 shlibpath_overrides_runpath=yes 16610 ;; 16611 esac 16612 else 16613 shlibpath_overrides_runpath=yes 16614 fi 16615 ;; 16616 16617 os2*) 16618 libname_spec='$name' 16619 shrext_cmds=".dll" 16620 need_lib_prefix=no 16621 library_names_spec='$libname${shared_ext} $libname.a' 16622 dynamic_linker='OS/2 ld.exe' 16623 shlibpath_var=LIBPATH 16624 ;; 16625 16626 osf3* | osf4* | osf5*) 16627 version_type=osf 16628 need_lib_prefix=no 16629 need_version=no 16630 soname_spec='${libname}${release}${shared_ext}$major' 16631 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16632 shlibpath_var=LD_LIBRARY_PATH 16633 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 16634 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 16635 ;; 16636 16637 rdos*) 16638 dynamic_linker=no 16639 ;; 16640 16641 solaris*) 16642 version_type=linux 16643 need_lib_prefix=no 16644 need_version=no 16645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16646 soname_spec='${libname}${release}${shared_ext}$major' 16647 shlibpath_var=LD_LIBRARY_PATH 16648 shlibpath_overrides_runpath=yes 16649 hardcode_into_libs=yes 16650 # ldd complains unless libraries are executable 16651 postinstall_cmds='chmod +x $lib' 16652 ;; 16653 16654 sunos4*) 16655 version_type=sunos 16656 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 16657 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 16658 shlibpath_var=LD_LIBRARY_PATH 16659 shlibpath_overrides_runpath=yes 16660 if test "$with_gnu_ld" = yes; then 16661 need_lib_prefix=no 16662 fi 16663 need_version=yes 16664 ;; 16665 16666 sysv4 | sysv4.3*) 16667 version_type=linux 16668 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16669 soname_spec='${libname}${release}${shared_ext}$major' 16670 shlibpath_var=LD_LIBRARY_PATH 16671 case $host_vendor in 16672 sni) 16673 shlibpath_overrides_runpath=no 16674 need_lib_prefix=no 16675 export_dynamic_flag_spec='${wl}-Blargedynsym' 16676 runpath_var=LD_RUN_PATH 16677 ;; 16678 siemens) 16679 need_lib_prefix=no 16680 ;; 16681 motorola) 16682 need_lib_prefix=no 16683 need_version=no 16684 shlibpath_overrides_runpath=no 16685 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 16686 ;; 16687 esac 16688 ;; 16689 16690 sysv4*MP*) 16691 if test -d /usr/nec ;then 16692 version_type=linux 16693 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 16694 soname_spec='$libname${shared_ext}.$major' 16695 shlibpath_var=LD_LIBRARY_PATH 16696 fi 16697 ;; 16698 16699 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 16700 version_type=freebsd-elf 16701 need_lib_prefix=no 16702 need_version=no 16703 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 16704 soname_spec='${libname}${release}${shared_ext}$major' 16705 shlibpath_var=LD_LIBRARY_PATH 16706 hardcode_into_libs=yes 16707 if test "$with_gnu_ld" = yes; then 16708 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 16709 shlibpath_overrides_runpath=no 16710 else 16711 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 16712 shlibpath_overrides_runpath=yes 16713 case $host_os in 16714 sco3.2v5*) 16715 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 16716 ;; 16717 esac 16718 fi 16719 sys_lib_dlsearch_path_spec='/usr/lib' 16720 ;; 16721 16722 uts4*) 16723 version_type=linux 16724 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16725 soname_spec='${libname}${release}${shared_ext}$major' 16726 shlibpath_var=LD_LIBRARY_PATH 16727 ;; 16728 16729 *) 16730 dynamic_linker=no 16731 ;; 16732 esac 16733 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 16734 echo "${ECHO_T}$dynamic_linker" >&6; } 16735 test "$dynamic_linker" = no && can_build_shared=no 16736 16737 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 16738 if test "$GCC" = yes; then 16739 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 16740 fi 16741 16742 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 16743 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } 16744 hardcode_action_F77= 16745 if test -n "$hardcode_libdir_flag_spec_F77" || \ 16746 test -n "$runpath_var_F77" || \ 16747 test "X$hardcode_automatic_F77" = "Xyes" ; then 16748 16749 # We can hardcode non-existant directories. 16750 if test "$hardcode_direct_F77" != no && 16751 # If the only mechanism to avoid hardcoding is shlibpath_var, we 16752 # have to relink, otherwise we might link with an installed library 16753 # when we should be linking with a yet-to-be-installed one 16754 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && 16755 test "$hardcode_minus_L_F77" != no; then 16756 # Linking always hardcodes the temporary library directory. 16757 hardcode_action_F77=relink 16758 else 16759 # We can link without hardcoding, and we can hardcode nonexisting dirs. 16760 hardcode_action_F77=immediate 16761 fi 16762 else 16763 # We cannot hardcode anything, or else we can only hardcode existing 16764 # directories. 16765 hardcode_action_F77=unsupported 16766 fi 16767 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 16768 echo "${ECHO_T}$hardcode_action_F77" >&6; } 16769 16770 if test "$hardcode_action_F77" = relink; then 16771 # Fast installation is not supported 16772 enable_fast_install=no 16773 elif test "$shlibpath_overrides_runpath" = yes || 16774 test "$enable_shared" = no; then 16775 # Fast installation is not necessary 16776 enable_fast_install=needless 16777 fi 16778 16779 16780 # The else clause should only fire when bootstrapping the 16781 # libtool distribution, otherwise you forgot to ship ltmain.sh 16782 # with your package, and you will get complaints that there are 16783 # no rules to generate ltmain.sh. 16784 if test -f "$ltmain"; then 16785 # See if we are running on zsh, and set the options which allow our commands through 16786 # without removal of \ escapes. 16787 if test -n "${ZSH_VERSION+set}" ; then 16788 setopt NO_GLOB_SUBST 16789 fi 16790 # Now quote all the things that may contain metacharacters while being 16791 # careful not to overquote the AC_SUBSTed values. We take copies of the 16792 # variables and quote the copies for generation of the libtool script. 16793 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ 16794 SED SHELL STRIP \ 16795 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 16796 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ 16797 deplibs_check_method reload_flag reload_cmds need_locks \ 16798 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ 16799 lt_cv_sys_global_symbol_to_c_name_address \ 16800 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ 16801 old_postinstall_cmds old_postuninstall_cmds \ 16802 compiler_F77 \ 16803 CC_F77 \ 16804 LD_F77 \ 16805 lt_prog_compiler_wl_F77 \ 16806 lt_prog_compiler_pic_F77 \ 16807 lt_prog_compiler_static_F77 \ 16808 lt_prog_compiler_no_builtin_flag_F77 \ 16809 export_dynamic_flag_spec_F77 \ 16810 thread_safe_flag_spec_F77 \ 16811 whole_archive_flag_spec_F77 \ 16812 enable_shared_with_static_runtimes_F77 \ 16813 old_archive_cmds_F77 \ 16814 old_archive_from_new_cmds_F77 \ 16815 predep_objects_F77 \ 16816 postdep_objects_F77 \ 16817 predeps_F77 \ 16818 postdeps_F77 \ 16819 compiler_lib_search_path_F77 \ 16820 archive_cmds_F77 \ 16821 archive_expsym_cmds_F77 \ 16822 postinstall_cmds_F77 \ 16823 postuninstall_cmds_F77 \ 16824 old_archive_from_expsyms_cmds_F77 \ 16825 allow_undefined_flag_F77 \ 16826 no_undefined_flag_F77 \ 16827 export_symbols_cmds_F77 \ 16828 hardcode_libdir_flag_spec_F77 \ 16829 hardcode_libdir_flag_spec_ld_F77 \ 16830 hardcode_libdir_separator_F77 \ 16831 hardcode_automatic_F77 \ 16832 module_cmds_F77 \ 16833 module_expsym_cmds_F77 \ 16834 lt_cv_prog_compiler_c_o_F77 \ 16835 fix_srcfile_path_F77 \ 16836 exclude_expsyms_F77 \ 16837 include_expsyms_F77; do 16838 16839 case $var in 16840 old_archive_cmds_F77 | \ 16841 old_archive_from_new_cmds_F77 | \ 16842 archive_cmds_F77 | \ 16843 archive_expsym_cmds_F77 | \ 16844 module_cmds_F77 | \ 16845 module_expsym_cmds_F77 | \ 16846 old_archive_from_expsyms_cmds_F77 | \ 16847 export_symbols_cmds_F77 | \ 16848 extract_expsyms_cmds | reload_cmds | finish_cmds | \ 16849 postinstall_cmds | postuninstall_cmds | \ 16850 old_postinstall_cmds | old_postuninstall_cmds | \ 16851 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) 16852 # Double-quote double-evaled strings. 16853 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" 16854 ;; 16855 *) 16856 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" 16857 ;; 16858 esac 16859 done 16860 16861 case $lt_echo in 16862 *'\$0 --fallback-echo"') 16863 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` 16864 ;; 16865 esac 16866 16867 cfgfile="$ofile" 16868 16869 cat <<__EOF__ >> "$cfgfile" 16870 # ### BEGIN LIBTOOL TAG CONFIG: $tagname 16871 16872 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 16873 16874 # Shell to use when invoking shell scripts. 16875 SHELL=$lt_SHELL 16876 16877 # Whether or not to build shared libraries. 16878 build_libtool_libs=$enable_shared 16879 16880 # Whether or not to build static libraries. 16881 build_old_libs=$enable_static 16882 16883 # Whether or not to add -lc for building shared libraries. 16884 build_libtool_need_lc=$archive_cmds_need_lc_F77 16885 16886 # Whether or not to disallow shared libs when runtime libs are static 16887 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77 16888 16889 # Whether or not to optimize for fast installation. 16890 fast_install=$enable_fast_install 16891 16892 # The host system. 16893 host_alias=$host_alias 16894 host=$host 16895 host_os=$host_os 16896 16897 # The build system. 16898 build_alias=$build_alias 16899 build=$build 16900 build_os=$build_os 16901 16902 # An echo program that does not interpret backslashes. 16903 echo=$lt_echo 16904 16905 # The archiver. 16906 AR=$lt_AR 16907 AR_FLAGS=$lt_AR_FLAGS 16908 16909 # A C compiler. 16910 LTCC=$lt_LTCC 16911 16912 # LTCC compiler flags. 16913 LTCFLAGS=$lt_LTCFLAGS 16914 16915 # A language-specific compiler. 16916 CC=$lt_compiler_F77 16917 16918 # Is the compiler the GNU C compiler? 16919 with_gcc=$GCC_F77 16920 16921 # An ERE matcher. 16922 EGREP=$lt_EGREP 16923 16924 # The linker used to build libraries. 16925 LD=$lt_LD_F77 16926 16927 # Whether we need hard or soft links. 16928 LN_S=$lt_LN_S 16929 16930 # A BSD-compatible nm program. 16931 NM=$lt_NM 16932 16933 # A symbol stripping program 16934 STRIP=$lt_STRIP 16935 16936 # Used to examine libraries when file_magic_cmd begins "file" 16937 MAGIC_CMD=$MAGIC_CMD 16938 16939 # Used on cygwin: DLL creation program. 16940 DLLTOOL="$DLLTOOL" 16941 16942 # Used on cygwin: object dumper. 16943 OBJDUMP="$OBJDUMP" 16944 16945 # Used on cygwin: assembler. 16946 AS="$AS" 16947 16948 # The name of the directory that contains temporary libtool files. 16949 objdir=$objdir 16950 16951 # How to create reloadable object files. 16952 reload_flag=$lt_reload_flag 16953 reload_cmds=$lt_reload_cmds 16954 16955 # How to pass a linker flag through the compiler. 16956 wl=$lt_lt_prog_compiler_wl_F77 16957 16958 # Object file suffix (normally "o"). 16959 objext="$ac_objext" 16960 16961 # Old archive suffix (normally "a"). 16962 libext="$libext" 16963 16964 # Shared library suffix (normally ".so"). 16965 shrext_cmds='$shrext_cmds' 16966 16967 # Executable file suffix (normally ""). 16968 exeext="$exeext" 16969 16970 # Additional compiler flags for building library objects. 16971 pic_flag=$lt_lt_prog_compiler_pic_F77 16972 pic_mode=$pic_mode 16973 16974 # What is the maximum length of a command? 16975 max_cmd_len=$lt_cv_sys_max_cmd_len 16976 16977 # Does compiler simultaneously support -c and -o options? 16978 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 16979 16980 # Must we lock files when doing compilation? 16981 need_locks=$lt_need_locks 16982 16983 # Do we need the lib prefix for modules? 16984 need_lib_prefix=$need_lib_prefix 16985 16986 # Do we need a version for libraries? 16987 need_version=$need_version 16988 16989 # Whether dlopen is supported. 16990 dlopen_support=$enable_dlopen 16991 16992 # Whether dlopen of programs is supported. 16993 dlopen_self=$enable_dlopen_self 16994 16995 # Whether dlopen of statically linked programs is supported. 16996 dlopen_self_static=$enable_dlopen_self_static 16997 16998 # Compiler flag to prevent dynamic linking. 16999 link_static_flag=$lt_lt_prog_compiler_static_F77 17000 17001 # Compiler flag to turn off builtin functions. 17002 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77 17003 17004 # Compiler flag to allow reflexive dlopens. 17005 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77 17006 17007 # Compiler flag to generate shared objects directly from archives. 17008 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77 17009 17010 # Compiler flag to generate thread-safe objects. 17011 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77 17012 17013 # Library versioning type. 17014 version_type=$version_type 17015 17016 # Format of library name prefix. 17017 libname_spec=$lt_libname_spec 17018 17019 # List of archive names. First name is the real one, the rest are links. 17020 # The last name is the one that the linker finds with -lNAME. 17021 library_names_spec=$lt_library_names_spec 17022 17023 # The coded name of the library, if different from the real name. 17024 soname_spec=$lt_soname_spec 17025 17026 # Commands used to build and install an old-style archive. 17027 RANLIB=$lt_RANLIB 17028 old_archive_cmds=$lt_old_archive_cmds_F77 17029 old_postinstall_cmds=$lt_old_postinstall_cmds 17030 old_postuninstall_cmds=$lt_old_postuninstall_cmds 17031 17032 # Create an old-style archive from a shared archive. 17033 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77 17034 17035 # Create a temporary old-style archive to link instead of a shared archive. 17036 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77 17037 17038 # Commands used to build and install a shared archive. 17039 archive_cmds=$lt_archive_cmds_F77 17040 archive_expsym_cmds=$lt_archive_expsym_cmds_F77 17041 postinstall_cmds=$lt_postinstall_cmds 17042 postuninstall_cmds=$lt_postuninstall_cmds 17043 17044 # Commands used to build a loadable module (assumed same as above if empty) 17045 module_cmds=$lt_module_cmds_F77 17046 module_expsym_cmds=$lt_module_expsym_cmds_F77 17047 17048 # Commands to strip libraries. 17049 old_striplib=$lt_old_striplib 17050 striplib=$lt_striplib 17051 17052 # Dependencies to place before the objects being linked to create a 17053 # shared library. 17054 predep_objects=$lt_predep_objects_F77 17055 17056 # Dependencies to place after the objects being linked to create a 17057 # shared library. 17058 postdep_objects=$lt_postdep_objects_F77 17059 17060 # Dependencies to place before the objects being linked to create a 17061 # shared library. 17062 predeps=$lt_predeps_F77 17063 17064 # Dependencies to place after the objects being linked to create a 17065 # shared library. 17066 postdeps=$lt_postdeps_F77 17067 17068 # The library search path used internally by the compiler when linking 17069 # a shared library. 17070 compiler_lib_search_path=$lt_compiler_lib_search_path_F77 17071 17072 # Method to check whether dependent libraries are shared objects. 17073 deplibs_check_method=$lt_deplibs_check_method 17074 17075 # Command to use when deplibs_check_method == file_magic. 17076 file_magic_cmd=$lt_file_magic_cmd 17077 17078 # Flag that allows shared libraries with undefined symbols to be built. 17079 allow_undefined_flag=$lt_allow_undefined_flag_F77 17080 17081 # Flag that forces no undefined symbols. 17082 no_undefined_flag=$lt_no_undefined_flag_F77 17083 17084 # Commands used to finish a libtool library installation in a directory. 17085 finish_cmds=$lt_finish_cmds 17086 17087 # Same as above, but a single script fragment to be evaled but not shown. 17088 finish_eval=$lt_finish_eval 17089 17090 # Take the output of nm and produce a listing of raw symbols and C names. 17091 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 17092 17093 # Transform the output of nm in a proper C declaration 17094 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 17095 17096 # Transform the output of nm in a C name address pair 17097 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 17098 17099 # This is the shared library runtime path variable. 17100 runpath_var=$runpath_var 17101 17102 # This is the shared library path variable. 17103 shlibpath_var=$shlibpath_var 17104 17105 # Is shlibpath searched before the hard-coded library search path? 17106 shlibpath_overrides_runpath=$shlibpath_overrides_runpath 17107 17108 # How to hardcode a shared library path into an executable. 17109 hardcode_action=$hardcode_action_F77 17110 17111 # Whether we should hardcode library paths into libraries. 17112 hardcode_into_libs=$hardcode_into_libs 17113 17114 # Flag to hardcode \$libdir into a binary during linking. 17115 # This must work even if \$libdir does not exist. 17116 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77 17117 17118 # If ld is used when linking, flag to hardcode \$libdir into 17119 # a binary during linking. This must work even if \$libdir does 17120 # not exist. 17121 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77 17122 17123 # Whether we need a single -rpath flag with a separated argument. 17124 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77 17125 17126 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the 17127 # resulting binary. 17128 hardcode_direct=$hardcode_direct_F77 17129 17130 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the 17131 # resulting binary. 17132 hardcode_minus_L=$hardcode_minus_L_F77 17133 17134 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into 17135 # the resulting binary. 17136 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77 17137 17138 # Set to yes if building a shared library automatically hardcodes DIR into the library 17139 # and all subsequent libraries and executables linked against it. 17140 hardcode_automatic=$hardcode_automatic_F77 17141 17142 # Variables whose values should be saved in libtool wrapper scripts and 17143 # restored at relink time. 17144 variables_saved_for_relink="$variables_saved_for_relink" 17145 17146 # Whether libtool must link a program against all its dependency libraries. 17147 link_all_deplibs=$link_all_deplibs_F77 17148 17149 # Compile-time system search path for libraries 17150 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 17151 17152 # Run-time system search path for libraries 17153 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 17154 17155 # Fix the shell variable \$srcfile for the compiler. 17156 fix_srcfile_path=$lt_fix_srcfile_path 17157 17158 # Set to yes if exported symbols are required. 17159 always_export_symbols=$always_export_symbols_F77 17160 17161 # The commands to list exported symbols. 17162 export_symbols_cmds=$lt_export_symbols_cmds_F77 17163 17164 # The commands to extract the exported symbol list from a shared archive. 17165 extract_expsyms_cmds=$lt_extract_expsyms_cmds 17166 17167 # Symbols that should not be listed in the preloaded symbols. 17168 exclude_expsyms=$lt_exclude_expsyms_F77 17169 17170 # Symbols that must always be exported. 17171 include_expsyms=$lt_include_expsyms_F77 17172 17173 # ### END LIBTOOL TAG CONFIG: $tagname 17174 17175 __EOF__ 17176 17177 17178 else 17179 # If there is no Makefile yet, we rely on a make rule to execute 17180 # `config.status --recheck' to rerun these tests and create the 17181 # libtool script then. 17182 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 17183 if test -f "$ltmain_in"; then 17184 test -f Makefile && make "$ltmain" 17185 fi 17186 fi 17187 17188 17189 ac_ext=c 17190 ac_cpp='$CPP $CPPFLAGS' 17191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17193 ac_compiler_gnu=$ac_cv_c_compiler_gnu 17194 17195 CC="$lt_save_CC" 17196 17197 else 17198 tagname="" 17199 fi 17200 ;; 17201 17202 GCJ) 17203 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then 17204 17205 17206 # Source file extension for Java test sources. 17207 ac_ext=java 17208 17209 # Object file extension for compiled Java test sources. 17210 objext=o 17211 objext_GCJ=$objext 17212 17213 # Code to be used in simple compile tests 17214 lt_simple_compile_test_code="class foo {}" 17215 17216 # Code to be used in simple link tests 17217 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }' 17218 17219 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 17220 17221 # If no C compiler was specified, use CC. 17222 LTCC=${LTCC-"$CC"} 17223 17224 # If no C compiler flags were specified, use CFLAGS. 17225 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 17226 17227 # Allow CC to be a program name with arguments. 17228 compiler=$CC 17229 17230 17231 # save warnings/boilerplate of simple test code 17232 ac_outfile=conftest.$ac_objext 17233 echo "$lt_simple_compile_test_code" >conftest.$ac_ext 17234 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 17235 _lt_compiler_boilerplate=`cat conftest.err` 17236 $rm conftest* 17237 17238 ac_outfile=conftest.$ac_objext 17239 echo "$lt_simple_link_test_code" >conftest.$ac_ext 17240 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 17241 _lt_linker_boilerplate=`cat conftest.err` 17242 $rm conftest* 17243 17244 17245 # Allow CC to be a program name with arguments. 17246 lt_save_CC="$CC" 17247 CC=${GCJ-"gcj"} 17248 compiler=$CC 17249 compiler_GCJ=$CC 17250 for cc_temp in $compiler""; do 17251 case $cc_temp in 17252 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 17253 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 17254 \-*) ;; 17255 *) break;; 17256 esac 17257 done 17258 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 17259 17260 17261 # GCJ did not exist at the time GCC didn't implicitly link libc in. 17262 archive_cmds_need_lc_GCJ=no 17263 17264 old_archive_cmds_GCJ=$old_archive_cmds 17265 17266 17267 lt_prog_compiler_no_builtin_flag_GCJ= 17268 17269 if test "$GCC" = yes; then 17270 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' 17271 17272 17273 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 17274 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } 17275 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then 17276 echo $ECHO_N "(cached) $ECHO_C" >&6 17277 else 17278 lt_cv_prog_compiler_rtti_exceptions=no 17279 ac_outfile=conftest.$ac_objext 17280 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 17281 lt_compiler_flag="-fno-rtti -fno-exceptions" 17282 # Insert the option either (1) after the last *FLAGS variable, or 17283 # (2) before a word containing "conftest.", or (3) at the end. 17284 # Note that $ac_compile itself does not contain backslashes and begins 17285 # with a dollar sign (not a hyphen), so the echo should work correctly. 17286 # The option is referenced via a variable to avoid confusing sed. 17287 lt_compile=`echo "$ac_compile" | $SED \ 17288 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 17289 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17290 -e 's:$: $lt_compiler_flag:'` 17291 (eval echo "\"\$as_me:17291: $lt_compile\"" >&5) 17292 (eval "$lt_compile" 2>conftest.err) 17293 ac_status=$? 17294 cat conftest.err >&5 17295 echo "$as_me:17295: \$? = $ac_status" >&5 17296 if (exit $ac_status) && test -s "$ac_outfile"; then 17297 # The compiler can only warn and ignore the option if not recognized 17298 # So say no if there are warnings other than the usual output. 17299 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 17300 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 17301 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 17302 lt_cv_prog_compiler_rtti_exceptions=yes 17303 fi 17304 fi 17305 $rm conftest* 17306 17307 fi 17308 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 17309 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } 17310 17311 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 17312 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" 17313 else 17314 : 17315 fi 17316 17317 fi 17318 17319 lt_prog_compiler_wl_GCJ= 17320 lt_prog_compiler_pic_GCJ= 17321 lt_prog_compiler_static_GCJ= 17322 17323 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 17324 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } 17325 17326 if test "$GCC" = yes; then 17327 lt_prog_compiler_wl_GCJ='-Wl,' 17328 lt_prog_compiler_static_GCJ='-static' 17329 17330 case $host_os in 17331 aix*) 17332 # All AIX code is PIC. 17333 if test "$host_cpu" = ia64; then 17334 # AIX 5 now supports IA64 processor 17335 lt_prog_compiler_static_GCJ='-Bstatic' 17336 fi 17337 ;; 17338 17339 amigaos*) 17340 # FIXME: we need at least 68020 code to build shared libraries, but 17341 # adding the `-m68020' flag to GCC prevents building anything better, 17342 # like `-m68040'. 17343 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4' 17344 ;; 17345 17346 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 17347 # PIC is the default for these OSes. 17348 ;; 17349 17350 mingw* | cygwin* | pw32* | os2*) 17351 # This hack is so that the source file can tell whether it is being 17352 # built for inclusion in a dll (and should export symbols for example). 17353 # Although the cygwin gcc ignores -fPIC, still need this for old-style 17354 # (--disable-auto-import) libraries 17355 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' 17356 ;; 17357 17358 darwin* | rhapsody*) 17359 # PIC is the default on this platform 17360 # Common symbols not allowed in MH_DYLIB files 17361 lt_prog_compiler_pic_GCJ='-fno-common' 17362 ;; 17363 17364 interix[3-9]*) 17365 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 17366 # Instead, we relocate shared libraries at runtime. 17367 ;; 17368 17369 msdosdjgpp*) 17370 # Just because we use GCC doesn't mean we suddenly get shared libraries 17371 # on systems that don't support them. 17372 lt_prog_compiler_can_build_shared_GCJ=no 17373 enable_shared=no 17374 ;; 17375 17376 sysv4*MP*) 17377 if test -d /usr/nec; then 17378 lt_prog_compiler_pic_GCJ=-Kconform_pic 17379 fi 17380 ;; 17381 17382 hpux*) 17383 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 17384 # not for PA HP-UX. 17385 case $host_cpu in 17386 hppa*64*|ia64*) 17387 # +Z the default 17388 ;; 17389 *) 17390 lt_prog_compiler_pic_GCJ='-fPIC' 17391 ;; 17392 esac 17393 ;; 17394 17395 *) 17396 lt_prog_compiler_pic_GCJ='-fPIC' 17397 ;; 17398 esac 17399 else 17400 # PORTME Check for flag to pass linker flags through the system compiler. 17401 case $host_os in 17402 aix*) 17403 lt_prog_compiler_wl_GCJ='-Wl,' 17404 if test "$host_cpu" = ia64; then 17405 # AIX 5 now supports IA64 processor 17406 lt_prog_compiler_static_GCJ='-Bstatic' 17407 else 17408 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' 17409 fi 17410 ;; 17411 darwin*) 17412 # PIC is the default on this platform 17413 # Common symbols not allowed in MH_DYLIB files 17414 case $cc_basename in 17415 xlc*) 17416 lt_prog_compiler_pic_GCJ='-qnocommon' 17417 lt_prog_compiler_wl_GCJ='-Wl,' 17418 ;; 17419 esac 17420 ;; 17421 17422 mingw* | cygwin* | pw32* | os2*) 17423 # This hack is so that the source file can tell whether it is being 17424 # built for inclusion in a dll (and should export symbols for example). 17425 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' 17426 ;; 17427 17428 hpux9* | hpux10* | hpux11*) 17429 lt_prog_compiler_wl_GCJ='-Wl,' 17430 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 17431 # not for PA HP-UX. 17432 case $host_cpu in 17433 hppa*64*|ia64*) 17434 # +Z the default 17435 ;; 17436 *) 17437 lt_prog_compiler_pic_GCJ='+Z' 17438 ;; 17439 esac 17440 # Is there a better lt_prog_compiler_static that works with the bundled CC? 17441 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive' 17442 ;; 17443 17444 irix5* | irix6* | nonstopux*) 17445 lt_prog_compiler_wl_GCJ='-Wl,' 17446 # PIC (with -KPIC) is the default. 17447 lt_prog_compiler_static_GCJ='-non_shared' 17448 ;; 17449 17450 newsos6) 17451 lt_prog_compiler_pic_GCJ='-KPIC' 17452 lt_prog_compiler_static_GCJ='-Bstatic' 17453 ;; 17454 17455 linux* | k*bsd*-gnu) 17456 case $cc_basename in 17457 icc* | ecc*) 17458 lt_prog_compiler_wl_GCJ='-Wl,' 17459 lt_prog_compiler_pic_GCJ='-KPIC' 17460 lt_prog_compiler_static_GCJ='-static' 17461 ;; 17462 pgcc* | pgf77* | pgf90* | pgf95*) 17463 # Portland Group compilers (*not* the Pentium gcc compiler, 17464 # which looks to be a dead project) 17465 lt_prog_compiler_wl_GCJ='-Wl,' 17466 lt_prog_compiler_pic_GCJ='-fpic' 17467 lt_prog_compiler_static_GCJ='-Bstatic' 17468 ;; 17469 ccc*) 17470 lt_prog_compiler_wl_GCJ='-Wl,' 17471 # All Alpha code is PIC. 17472 lt_prog_compiler_static_GCJ='-non_shared' 17473 ;; 17474 *) 17475 case `$CC -V 2>&1 | sed 5q` in 17476 *Sun\ C*) 17477 # Sun C 5.9 17478 lt_prog_compiler_pic_GCJ='-KPIC' 17479 lt_prog_compiler_static_GCJ='-Bstatic' 17480 lt_prog_compiler_wl_GCJ='-Wl,' 17481 ;; 17482 *Sun\ F*) 17483 # Sun Fortran 8.3 passes all unrecognized flags to the linker 17484 lt_prog_compiler_pic_GCJ='-KPIC' 17485 lt_prog_compiler_static_GCJ='-Bstatic' 17486 lt_prog_compiler_wl_GCJ='' 17487 ;; 17488 esac 17489 ;; 17490 esac 17491 ;; 17492 17493 osf3* | osf4* | osf5*) 17494 lt_prog_compiler_wl_GCJ='-Wl,' 17495 # All OSF/1 code is PIC. 17496 lt_prog_compiler_static_GCJ='-non_shared' 17497 ;; 17498 17499 rdos*) 17500 lt_prog_compiler_static_GCJ='-non_shared' 17501 ;; 17502 17503 solaris*) 17504 lt_prog_compiler_pic_GCJ='-KPIC' 17505 lt_prog_compiler_static_GCJ='-Bstatic' 17506 case $cc_basename in 17507 f77* | f90* | f95*) 17508 lt_prog_compiler_wl_GCJ='-Qoption ld ';; 17509 *) 17510 lt_prog_compiler_wl_GCJ='-Wl,';; 17511 esac 17512 ;; 17513 17514 sunos4*) 17515 lt_prog_compiler_wl_GCJ='-Qoption ld ' 17516 lt_prog_compiler_pic_GCJ='-PIC' 17517 lt_prog_compiler_static_GCJ='-Bstatic' 17518 ;; 17519 17520 sysv4 | sysv4.2uw2* | sysv4.3*) 17521 lt_prog_compiler_wl_GCJ='-Wl,' 17522 lt_prog_compiler_pic_GCJ='-KPIC' 17523 lt_prog_compiler_static_GCJ='-Bstatic' 17524 ;; 17525 17526 sysv4*MP*) 17527 if test -d /usr/nec ;then 17528 lt_prog_compiler_pic_GCJ='-Kconform_pic' 17529 lt_prog_compiler_static_GCJ='-Bstatic' 17530 fi 17531 ;; 17532 17533 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 17534 lt_prog_compiler_wl_GCJ='-Wl,' 17535 lt_prog_compiler_pic_GCJ='-KPIC' 17536 lt_prog_compiler_static_GCJ='-Bstatic' 17537 ;; 17538 17539 unicos*) 17540 lt_prog_compiler_wl_GCJ='-Wl,' 17541 lt_prog_compiler_can_build_shared_GCJ=no 17542 ;; 17543 17544 uts4*) 17545 lt_prog_compiler_pic_GCJ='-pic' 17546 lt_prog_compiler_static_GCJ='-Bstatic' 17547 ;; 17548 17549 *) 17550 lt_prog_compiler_can_build_shared_GCJ=no 17551 ;; 17552 esac 17553 fi 17554 17555 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5 17556 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; } 17557 17558 # 17559 # Check to make sure the PIC flag actually works. 17560 # 17561 if test -n "$lt_prog_compiler_pic_GCJ"; then 17562 17563 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 17564 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; } 17565 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then 17566 echo $ECHO_N "(cached) $ECHO_C" >&6 17567 else 17568 lt_prog_compiler_pic_works_GCJ=no 17569 ac_outfile=conftest.$ac_objext 17570 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 17571 lt_compiler_flag="$lt_prog_compiler_pic_GCJ" 17572 # Insert the option either (1) after the last *FLAGS variable, or 17573 # (2) before a word containing "conftest.", or (3) at the end. 17574 # Note that $ac_compile itself does not contain backslashes and begins 17575 # with a dollar sign (not a hyphen), so the echo should work correctly. 17576 # The option is referenced via a variable to avoid confusing sed. 17577 lt_compile=`echo "$ac_compile" | $SED \ 17578 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 17579 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17580 -e 's:$: $lt_compiler_flag:'` 17581 (eval echo "\"\$as_me:17581: $lt_compile\"" >&5) 17582 (eval "$lt_compile" 2>conftest.err) 17583 ac_status=$? 17584 cat conftest.err >&5 17585 echo "$as_me:17585: \$? = $ac_status" >&5 17586 if (exit $ac_status) && test -s "$ac_outfile"; then 17587 # The compiler can only warn and ignore the option if not recognized 17588 # So say no if there are warnings other than the usual output. 17589 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 17590 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 17591 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 17592 lt_prog_compiler_pic_works_GCJ=yes 17593 fi 17594 fi 17595 $rm conftest* 17596 17597 fi 17598 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5 17599 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; } 17600 17601 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then 17602 case $lt_prog_compiler_pic_GCJ in 17603 "" | " "*) ;; 17604 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; 17605 esac 17606 else 17607 lt_prog_compiler_pic_GCJ= 17608 lt_prog_compiler_can_build_shared_GCJ=no 17609 fi 17610 17611 fi 17612 case $host_os in 17613 # For platforms which do not support PIC, -DPIC is meaningless: 17614 *djgpp*) 17615 lt_prog_compiler_pic_GCJ= 17616 ;; 17617 *) 17618 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" 17619 ;; 17620 esac 17621 17622 # 17623 # Check to make sure the static flag actually works. 17624 # 17625 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\" 17626 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 17627 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } 17628 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then 17629 echo $ECHO_N "(cached) $ECHO_C" >&6 17630 else 17631 lt_prog_compiler_static_works_GCJ=no 17632 save_LDFLAGS="$LDFLAGS" 17633 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 17634 echo "$lt_simple_link_test_code" > conftest.$ac_ext 17635 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 17636 # The linker can only warn and ignore the option if not recognized 17637 # So say no if there are warnings 17638 if test -s conftest.err; then 17639 # Append any errors to the config.log. 17640 cat conftest.err 1>&5 17641 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 17642 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 17643 if diff conftest.exp conftest.er2 >/dev/null; then 17644 lt_prog_compiler_static_works_GCJ=yes 17645 fi 17646 else 17647 lt_prog_compiler_static_works_GCJ=yes 17648 fi 17649 fi 17650 $rm conftest* 17651 LDFLAGS="$save_LDFLAGS" 17652 17653 fi 17654 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5 17655 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; } 17656 17657 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then 17658 : 17659 else 17660 lt_prog_compiler_static_GCJ= 17661 fi 17662 17663 17664 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 17665 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } 17666 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then 17667 echo $ECHO_N "(cached) $ECHO_C" >&6 17668 else 17669 lt_cv_prog_compiler_c_o_GCJ=no 17670 $rm -r conftest 2>/dev/null 17671 mkdir conftest 17672 cd conftest 17673 mkdir out 17674 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 17675 17676 lt_compiler_flag="-o out/conftest2.$ac_objext" 17677 # Insert the option either (1) after the last *FLAGS variable, or 17678 # (2) before a word containing "conftest.", or (3) at the end. 17679 # Note that $ac_compile itself does not contain backslashes and begins 17680 # with a dollar sign (not a hyphen), so the echo should work correctly. 17681 lt_compile=`echo "$ac_compile" | $SED \ 17682 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 17683 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17684 -e 's:$: $lt_compiler_flag:'` 17685 (eval echo "\"\$as_me:17685: $lt_compile\"" >&5) 17686 (eval "$lt_compile" 2>out/conftest.err) 17687 ac_status=$? 17688 cat out/conftest.err >&5 17689 echo "$as_me:17689: \$? = $ac_status" >&5 17690 if (exit $ac_status) && test -s out/conftest2.$ac_objext 17691 then 17692 # The compiler can only warn and ignore the option if not recognized 17693 # So say no if there are warnings 17694 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 17695 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 17696 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 17697 lt_cv_prog_compiler_c_o_GCJ=yes 17698 fi 17699 fi 17700 chmod u+w . 2>&5 17701 $rm conftest* 17702 # SGI C++ compiler will create directory out/ii_files/ for 17703 # template instantiation 17704 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 17705 $rm out/* && rmdir out 17706 cd .. 17707 rmdir conftest 17708 $rm conftest* 17709 17710 fi 17711 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 17712 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; } 17713 17714 17715 hard_links="nottested" 17716 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then 17717 # do not overwrite the value of need_locks provided by the user 17718 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 17719 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } 17720 hard_links=yes 17721 $rm conftest* 17722 ln conftest.a conftest.b 2>/dev/null && hard_links=no 17723 touch conftest.a 17724 ln conftest.a conftest.b 2>&5 || hard_links=no 17725 ln conftest.a conftest.b 2>/dev/null && hard_links=no 17726 { echo "$as_me:$LINENO: result: $hard_links" >&5 17727 echo "${ECHO_T}$hard_links" >&6; } 17728 if test "$hard_links" = no; then 17729 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 17730 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 17731 need_locks=warn 17732 fi 17733 else 17734 need_locks=no 17735 fi 17736 17737 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 17738 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } 17739 17740 runpath_var= 17741 allow_undefined_flag_GCJ= 17742 enable_shared_with_static_runtimes_GCJ=no 17743 archive_cmds_GCJ= 17744 archive_expsym_cmds_GCJ= 17745 old_archive_From_new_cmds_GCJ= 17746 old_archive_from_expsyms_cmds_GCJ= 17747 export_dynamic_flag_spec_GCJ= 17748 whole_archive_flag_spec_GCJ= 17749 thread_safe_flag_spec_GCJ= 17750 hardcode_libdir_flag_spec_GCJ= 17751 hardcode_libdir_flag_spec_ld_GCJ= 17752 hardcode_libdir_separator_GCJ= 17753 hardcode_direct_GCJ=no 17754 hardcode_minus_L_GCJ=no 17755 hardcode_shlibpath_var_GCJ=unsupported 17756 link_all_deplibs_GCJ=unknown 17757 hardcode_automatic_GCJ=no 17758 module_cmds_GCJ= 17759 module_expsym_cmds_GCJ= 17760 always_export_symbols_GCJ=no 17761 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 17762 # include_expsyms should be a list of space-separated symbols to be *always* 17763 # included in the symbol list 17764 include_expsyms_GCJ= 17765 # exclude_expsyms can be an extended regexp of symbols to exclude 17766 # it will be wrapped by ` (' and `)$', so one must not match beginning or 17767 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 17768 # as well as any symbol that contains `d'. 17769 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_" 17770 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 17771 # platforms (ab)use it in PIC code, but their linkers get confused if 17772 # the symbol is explicitly referenced. Since portable code cannot 17773 # rely on this symbol name, it's probably fine to never include it in 17774 # preloaded symbol tables. 17775 extract_expsyms_cmds= 17776 # Just being paranoid about ensuring that cc_basename is set. 17777 for cc_temp in $compiler""; do 17778 case $cc_temp in 17779 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 17780 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 17781 \-*) ;; 17782 *) break;; 17783 esac 17784 done 17785 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 17786 17787 case $host_os in 17788 cygwin* | mingw* | pw32*) 17789 # FIXME: the MSVC++ port hasn't been tested in a loooong time 17790 # When not using gcc, we currently assume that we are using 17791 # Microsoft Visual C++. 17792 if test "$GCC" != yes; then 17793 with_gnu_ld=no 17794 fi 17795 ;; 17796 interix*) 17797 # we just hope/assume this is gcc and not c89 (= MSVC++) 17798 with_gnu_ld=yes 17799 ;; 17800 openbsd*) 17801 with_gnu_ld=no 17802 ;; 17803 esac 17804 17805 ld_shlibs_GCJ=yes 17806 if test "$with_gnu_ld" = yes; then 17807 # If archive_cmds runs LD, not CC, wlarc should be empty 17808 wlarc='${wl}' 17809 17810 # Set some defaults for GNU ld with shared library support. These 17811 # are reset later if shared libraries are not supported. Putting them 17812 # here allows them to be overridden if necessary. 17813 runpath_var=LD_RUN_PATH 17814 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' 17815 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' 17816 # ancient GNU ld didn't support --whole-archive et. al. 17817 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then 17818 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 17819 else 17820 whole_archive_flag_spec_GCJ= 17821 fi 17822 supports_anon_versioning=no 17823 case `$LD -v 2>/dev/null` in 17824 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 17825 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 17826 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 17827 *\ 2.11.*) ;; # other 2.11 versions 17828 *) supports_anon_versioning=yes ;; 17829 esac 17830 17831 # See if GNU ld supports shared libraries. 17832 case $host_os in 17833 aix3* | aix4* | aix5*) 17834 # On AIX/PPC, the GNU linker is very broken 17835 if test "$host_cpu" != ia64; then 17836 ld_shlibs_GCJ=no 17837 cat <<EOF 1>&2 17838 17839 *** Warning: the GNU linker, at least up to release 2.9.1, is reported 17840 *** to be unable to reliably create shared libraries on AIX. 17841 *** Therefore, libtool is disabling shared libraries support. If you 17842 *** really care for shared libraries, you may want to modify your PATH 17843 *** so that a non-GNU linker is found, and then restart. 17844 17845 EOF 17846 fi 17847 ;; 17848 17849 amigaos*) 17850 archive_cmds_GCJ='$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)' 17851 hardcode_libdir_flag_spec_GCJ='-L$libdir' 17852 hardcode_minus_L_GCJ=yes 17853 17854 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports 17855 # that the semantics of dynamic libraries on AmigaOS, at least up 17856 # to version 4, is to share data among multiple programs linked 17857 # with the same dynamic library. Since this doesn't match the 17858 # behavior of shared libraries on other platforms, we can't use 17859 # them. 17860 ld_shlibs_GCJ=no 17861 ;; 17862 17863 beos*) 17864 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 17865 allow_undefined_flag_GCJ=unsupported 17866 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 17867 # support --undefined. This deserves some investigation. FIXME 17868 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 17869 else 17870 ld_shlibs_GCJ=no 17871 fi 17872 ;; 17873 17874 cygwin* | mingw* | pw32*) 17875 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless, 17876 # as there is no search path for DLLs. 17877 hardcode_libdir_flag_spec_GCJ='-L$libdir' 17878 allow_undefined_flag_GCJ=unsupported 17879 always_export_symbols_GCJ=no 17880 enable_shared_with_static_runtimes_GCJ=yes 17881 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 17882 17883 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then 17884 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 17885 # If the export-symbols file already is a .def file (1st line 17886 # is EXPORTS), use it as is; otherwise, prepend... 17887 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 17888 cp $export_symbols $output_objdir/$soname.def; 17889 else 17890 echo EXPORTS > $output_objdir/$soname.def; 17891 cat $export_symbols >> $output_objdir/$soname.def; 17892 fi~ 17893 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 17894 else 17895 ld_shlibs_GCJ=no 17896 fi 17897 ;; 17898 17899 interix[3-9]*) 17900 hardcode_direct_GCJ=no 17901 hardcode_shlibpath_var_GCJ=no 17902 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' 17903 export_dynamic_flag_spec_GCJ='${wl}-E' 17904 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 17905 # Instead, shared libraries are loaded at an image base (0x10000000 by 17906 # default) and relocated if they conflict, which is a slow very memory 17907 # consuming and fragmenting process. To avoid this, we pick a random, 17908 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 17909 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 17910 archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 17911 archive_expsym_cmds_GCJ='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' 17912 ;; 17913 17914 gnu* | linux* | k*bsd*-gnu) 17915 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 17916 tmp_addflag= 17917 case $cc_basename,$host_cpu in 17918 pgcc*) # Portland Group C compiler 17919 whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' 17920 tmp_addflag=' $pic_flag' 17921 ;; 17922 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 17923 whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' 17924 tmp_addflag=' $pic_flag -Mnomain' ;; 17925 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 17926 tmp_addflag=' -i_dynamic' ;; 17927 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 17928 tmp_addflag=' -i_dynamic -nofor_main' ;; 17929 ifc* | ifort*) # Intel Fortran compiler 17930 tmp_addflag=' -nofor_main' ;; 17931 esac 17932 case `$CC -V 2>&1 | sed 5q` in 17933 *Sun\ C*) # Sun C 5.9 17934 whole_archive_flag_spec_GCJ='${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' 17935 tmp_sharedflag='-G' ;; 17936 *Sun\ F*) # Sun Fortran 8.3 17937 tmp_sharedflag='-G' ;; 17938 *) 17939 tmp_sharedflag='-shared' ;; 17940 esac 17941 archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 17942 17943 if test $supports_anon_versioning = yes; then 17944 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~ 17945 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 17946 $echo "local: *; };" >> $output_objdir/$libname.ver~ 17947 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 17948 fi 17949 else 17950 ld_shlibs_GCJ=no 17951 fi 17952 ;; 17953 17954 netbsd*) 17955 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 17956 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 17957 wlarc= 17958 else 17959 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 17960 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 17961 fi 17962 ;; 17963 17964 solaris*) 17965 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then 17966 ld_shlibs_GCJ=no 17967 cat <<EOF 1>&2 17968 17969 *** Warning: The releases 2.8.* of the GNU linker cannot reliably 17970 *** create shared libraries on Solaris systems. Therefore, libtool 17971 *** is disabling shared libraries support. We urge you to upgrade GNU 17972 *** binutils to release 2.9.1 or newer. Another option is to modify 17973 *** your PATH or compiler configuration so that the native linker is 17974 *** used, and then restart. 17975 17976 EOF 17977 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 17978 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 17979 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 17980 else 17981 ld_shlibs_GCJ=no 17982 fi 17983 ;; 17984 17985 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 17986 case `$LD -v 2>&1` in 17987 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 17988 ld_shlibs_GCJ=no 17989 cat <<_LT_EOF 1>&2 17990 17991 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 17992 *** reliably create shared libraries on SCO systems. Therefore, libtool 17993 *** is disabling shared libraries support. We urge you to upgrade GNU 17994 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify 17995 *** your PATH or compiler configuration so that the native linker is 17996 *** used, and then restart. 17997 17998 _LT_EOF 17999 ;; 18000 *) 18001 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 18002 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' 18003 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' 18004 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' 18005 else 18006 ld_shlibs_GCJ=no 18007 fi 18008 ;; 18009 esac 18010 ;; 18011 18012 sunos4*) 18013 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 18014 wlarc= 18015 hardcode_direct_GCJ=yes 18016 hardcode_shlibpath_var_GCJ=no 18017 ;; 18018 18019 *) 18020 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 18021 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 18022 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 18023 else 18024 ld_shlibs_GCJ=no 18025 fi 18026 ;; 18027 esac 18028 18029 if test "$ld_shlibs_GCJ" = no; then 18030 runpath_var= 18031 hardcode_libdir_flag_spec_GCJ= 18032 export_dynamic_flag_spec_GCJ= 18033 whole_archive_flag_spec_GCJ= 18034 fi 18035 else 18036 # PORTME fill in a description of your system's linker (not GNU ld) 18037 case $host_os in 18038 aix3*) 18039 allow_undefined_flag_GCJ=unsupported 18040 always_export_symbols_GCJ=yes 18041 archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' 18042 # Note: this linker hardcodes the directories in LIBPATH if there 18043 # are no directories specified by -L. 18044 hardcode_minus_L_GCJ=yes 18045 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 18046 # Neither direct hardcoding nor static linking is supported with a 18047 # broken collect2. 18048 hardcode_direct_GCJ=unsupported 18049 fi 18050 ;; 18051 18052 aix4* | aix5*) 18053 if test "$host_cpu" = ia64; then 18054 # On IA64, the linker does run time linking by default, so we don't 18055 # have to do anything special. 18056 aix_use_runtimelinking=no 18057 exp_sym_flag='-Bexport' 18058 no_entry_flag="" 18059 else 18060 # If we're using GNU nm, then we don't want the "-C" option. 18061 # -C means demangle to AIX nm, but means don't demangle with GNU nm 18062 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then 18063 export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' 18064 else 18065 export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' 18066 fi 18067 aix_use_runtimelinking=no 18068 18069 # Test if we are trying to use run time linking or normal 18070 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 18071 # need to do runtime linking. 18072 case $host_os in aix4.[23]|aix4.[23].*|aix5*) 18073 for ld_flag in $LDFLAGS; do 18074 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 18075 aix_use_runtimelinking=yes 18076 break 18077 fi 18078 done 18079 ;; 18080 esac 18081 18082 exp_sym_flag='-bexport' 18083 no_entry_flag='-bnoentry' 18084 fi 18085 18086 # When large executables or shared objects are built, AIX ld can 18087 # have problems creating the table of contents. If linking a library 18088 # or program results in "error TOC overflow" add -mminimal-toc to 18089 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 18090 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 18091 18092 archive_cmds_GCJ='' 18093 hardcode_direct_GCJ=yes 18094 hardcode_libdir_separator_GCJ=':' 18095 link_all_deplibs_GCJ=yes 18096 18097 if test "$GCC" = yes; then 18098 case $host_os in aix4.[012]|aix4.[012].*) 18099 # We only want to do this on AIX 4.2 and lower, the check 18100 # below for broken collect2 doesn't work under 4.3+ 18101 collect2name=`${CC} -print-prog-name=collect2` 18102 if test -f "$collect2name" && \ 18103 strings "$collect2name" | grep resolve_lib_name >/dev/null 18104 then 18105 # We have reworked collect2 18106 : 18107 else 18108 # We have old collect2 18109 hardcode_direct_GCJ=unsupported 18110 # It fails to find uninstalled libraries when the uninstalled 18111 # path is not listed in the libpath. Setting hardcode_minus_L 18112 # to unsupported forces relinking 18113 hardcode_minus_L_GCJ=yes 18114 hardcode_libdir_flag_spec_GCJ='-L$libdir' 18115 hardcode_libdir_separator_GCJ= 18116 fi 18117 ;; 18118 esac 18119 shared_flag='-shared' 18120 if test "$aix_use_runtimelinking" = yes; then 18121 shared_flag="$shared_flag "'${wl}-G' 18122 fi 18123 else 18124 # not using gcc 18125 if test "$host_cpu" = ia64; then 18126 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 18127 # chokes on -Wl,-G. The following line is correct: 18128 shared_flag='-G' 18129 else 18130 if test "$aix_use_runtimelinking" = yes; then 18131 shared_flag='${wl}-G' 18132 else 18133 shared_flag='${wl}-bM:SRE' 18134 fi 18135 fi 18136 fi 18137 18138 # It seems that -bexpall does not export symbols beginning with 18139 # underscore (_), so it is better to generate a list of symbols to export. 18140 always_export_symbols_GCJ=yes 18141 if test "$aix_use_runtimelinking" = yes; then 18142 # Warning - without using the other runtime loading flags (-brtl), 18143 # -berok will link without error, but may produce a broken library. 18144 allow_undefined_flag_GCJ='-berok' 18145 # Determine the default libpath from the value encoded in an empty executable. 18146 cat >conftest.$ac_ext <<_ACEOF 18147 /* confdefs.h. */ 18148 _ACEOF 18149 cat confdefs.h >>conftest.$ac_ext 18150 cat >>conftest.$ac_ext <<_ACEOF 18151 /* end confdefs.h. */ 18152 18153 int 18154 main () 18155 { 18156 18157 ; 18158 return 0; 18159 } 18160 _ACEOF 18161 rm -f conftest.$ac_objext conftest$ac_exeext 18162 if { (ac_try="$ac_link" 18163 case "(($ac_try" in 18164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18165 *) ac_try_echo=$ac_try;; 18166 esac 18167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18168 (eval "$ac_link") 2>conftest.er1 18169 ac_status=$? 18170 grep -v '^ *+' conftest.er1 >conftest.err 18171 rm -f conftest.er1 18172 cat conftest.err >&5 18173 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18174 (exit $ac_status); } && { 18175 test -z "$ac_c_werror_flag" || 18176 test ! -s conftest.err 18177 } && test -s conftest$ac_exeext && 18178 $as_test_x conftest$ac_exeext; then 18179 18180 lt_aix_libpath_sed=' 18181 /Import File Strings/,/^$/ { 18182 /^0/ { 18183 s/^0 *\(.*\)$/\1/ 18184 p 18185 } 18186 }' 18187 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 18188 # Check for a 64-bit object if we didn't find anything. 18189 if test -z "$aix_libpath"; then 18190 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 18191 fi 18192 else 18193 echo "$as_me: failed program was:" >&5 18194 sed 's/^/| /' conftest.$ac_ext >&5 18195 18196 18197 fi 18198 18199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18200 conftest$ac_exeext conftest.$ac_ext 18201 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 18202 18203 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" 18204 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 18205 else 18206 if test "$host_cpu" = ia64; then 18207 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' 18208 allow_undefined_flag_GCJ="-z nodefs" 18209 archive_expsym_cmds_GCJ="\$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" 18210 else 18211 # Determine the default libpath from the value encoded in an empty executable. 18212 cat >conftest.$ac_ext <<_ACEOF 18213 /* confdefs.h. */ 18214 _ACEOF 18215 cat confdefs.h >>conftest.$ac_ext 18216 cat >>conftest.$ac_ext <<_ACEOF 18217 /* end confdefs.h. */ 18218 18219 int 18220 main () 18221 { 18222 18223 ; 18224 return 0; 18225 } 18226 _ACEOF 18227 rm -f conftest.$ac_objext conftest$ac_exeext 18228 if { (ac_try="$ac_link" 18229 case "(($ac_try" in 18230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18231 *) ac_try_echo=$ac_try;; 18232 esac 18233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18234 (eval "$ac_link") 2>conftest.er1 18235 ac_status=$? 18236 grep -v '^ *+' conftest.er1 >conftest.err 18237 rm -f conftest.er1 18238 cat conftest.err >&5 18239 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18240 (exit $ac_status); } && { 18241 test -z "$ac_c_werror_flag" || 18242 test ! -s conftest.err 18243 } && test -s conftest$ac_exeext && 18244 $as_test_x conftest$ac_exeext; then 18245 18246 lt_aix_libpath_sed=' 18247 /Import File Strings/,/^$/ { 18248 /^0/ { 18249 s/^0 *\(.*\)$/\1/ 18250 p 18251 } 18252 }' 18253 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 18254 # Check for a 64-bit object if we didn't find anything. 18255 if test -z "$aix_libpath"; then 18256 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 18257 fi 18258 else 18259 echo "$as_me: failed program was:" >&5 18260 sed 's/^/| /' conftest.$ac_ext >&5 18261 18262 18263 fi 18264 18265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18266 conftest$ac_exeext conftest.$ac_ext 18267 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 18268 18269 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" 18270 # Warning - without using the other run time loading flags, 18271 # -berok will link without error, but may produce a broken library. 18272 no_undefined_flag_GCJ=' ${wl}-bernotok' 18273 allow_undefined_flag_GCJ=' ${wl}-berok' 18274 # Exported symbols can be pulled into shared objects from archives 18275 whole_archive_flag_spec_GCJ='$convenience' 18276 archive_cmds_need_lc_GCJ=yes 18277 # This is similar to how AIX traditionally builds its shared libraries. 18278 archive_expsym_cmds_GCJ="\$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' 18279 fi 18280 fi 18281 ;; 18282 18283 amigaos*) 18284 archive_cmds_GCJ='$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)' 18285 hardcode_libdir_flag_spec_GCJ='-L$libdir' 18286 hardcode_minus_L_GCJ=yes 18287 # see comment about different semantics on the GNU ld section 18288 ld_shlibs_GCJ=no 18289 ;; 18290 18291 bsdi[45]*) 18292 export_dynamic_flag_spec_GCJ=-rdynamic 18293 ;; 18294 18295 cygwin* | mingw* | pw32*) 18296 # When not using gcc, we currently assume that we are using 18297 # Microsoft Visual C++. 18298 # hardcode_libdir_flag_spec is actually meaningless, as there is 18299 # no search path for DLLs. 18300 hardcode_libdir_flag_spec_GCJ=' ' 18301 allow_undefined_flag_GCJ=unsupported 18302 # Tell ltmain to make .lib files, not .a files. 18303 libext=lib 18304 # Tell ltmain to make .dll files, not .so files. 18305 shrext_cmds=".dll" 18306 # FIXME: Setting linknames here is a bad hack. 18307 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' 18308 # The linker will automatically build a .lib file if we build a DLL. 18309 old_archive_From_new_cmds_GCJ='true' 18310 # FIXME: Should let the user specify the lib program. 18311 old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs' 18312 fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`' 18313 enable_shared_with_static_runtimes_GCJ=yes 18314 ;; 18315 18316 darwin* | rhapsody*) 18317 case $host_os in 18318 rhapsody* | darwin1.[012]) 18319 allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress' 18320 ;; 18321 *) # Darwin 1.3 on 18322 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 18323 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 18324 else 18325 case ${MACOSX_DEPLOYMENT_TARGET} in 18326 10.[012]) 18327 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 18328 ;; 18329 10.*) 18330 allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup' 18331 ;; 18332 esac 18333 fi 18334 ;; 18335 esac 18336 archive_cmds_need_lc_GCJ=no 18337 hardcode_direct_GCJ=no 18338 hardcode_automatic_GCJ=yes 18339 hardcode_shlibpath_var_GCJ=unsupported 18340 whole_archive_flag_spec_GCJ='' 18341 link_all_deplibs_GCJ=yes 18342 if test "$GCC" = yes ; then 18343 output_verbose_link_cmd='echo' 18344 archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 18345 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 18346 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 18347 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 18348 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 18349 else 18350 case $cc_basename in 18351 xlc*) 18352 output_verbose_link_cmd='echo' 18353 archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' 18354 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 18355 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 18356 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 18357 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 18358 ;; 18359 *) 18360 ld_shlibs_GCJ=no 18361 ;; 18362 esac 18363 fi 18364 ;; 18365 18366 dgux*) 18367 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 18368 hardcode_libdir_flag_spec_GCJ='-L$libdir' 18369 hardcode_shlibpath_var_GCJ=no 18370 ;; 18371 18372 freebsd1*) 18373 ld_shlibs_GCJ=no 18374 ;; 18375 18376 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 18377 # support. Future versions do this automatically, but an explicit c++rt0.o 18378 # does not break anything, and helps significantly (at the cost of a little 18379 # extra space). 18380 freebsd2.2*) 18381 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 18382 hardcode_libdir_flag_spec_GCJ='-R$libdir' 18383 hardcode_direct_GCJ=yes 18384 hardcode_shlibpath_var_GCJ=no 18385 ;; 18386 18387 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 18388 freebsd2*) 18389 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 18390 hardcode_direct_GCJ=yes 18391 hardcode_minus_L_GCJ=yes 18392 hardcode_shlibpath_var_GCJ=no 18393 ;; 18394 18395 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 18396 freebsd* | dragonfly*) 18397 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 18398 hardcode_libdir_flag_spec_GCJ='-R$libdir' 18399 hardcode_direct_GCJ=yes 18400 hardcode_shlibpath_var_GCJ=no 18401 ;; 18402 18403 hpux9*) 18404 if test "$GCC" = yes; then 18405 archive_cmds_GCJ='$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' 18406 else 18407 archive_cmds_GCJ='$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' 18408 fi 18409 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' 18410 hardcode_libdir_separator_GCJ=: 18411 hardcode_direct_GCJ=yes 18412 18413 # hardcode_minus_L: Not really in the search PATH, 18414 # but as the default location of the library. 18415 hardcode_minus_L_GCJ=yes 18416 export_dynamic_flag_spec_GCJ='${wl}-E' 18417 ;; 18418 18419 hpux10*) 18420 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 18421 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 18422 else 18423 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 18424 fi 18425 if test "$with_gnu_ld" = no; then 18426 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' 18427 hardcode_libdir_separator_GCJ=: 18428 18429 hardcode_direct_GCJ=yes 18430 export_dynamic_flag_spec_GCJ='${wl}-E' 18431 18432 # hardcode_minus_L: Not really in the search PATH, 18433 # but as the default location of the library. 18434 hardcode_minus_L_GCJ=yes 18435 fi 18436 ;; 18437 18438 hpux11*) 18439 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 18440 case $host_cpu in 18441 hppa*64*) 18442 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 18443 ;; 18444 ia64*) 18445 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 18446 ;; 18447 *) 18448 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 18449 ;; 18450 esac 18451 else 18452 case $host_cpu in 18453 hppa*64*) 18454 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 18455 ;; 18456 ia64*) 18457 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 18458 ;; 18459 *) 18460 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 18461 ;; 18462 esac 18463 fi 18464 if test "$with_gnu_ld" = no; then 18465 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' 18466 hardcode_libdir_separator_GCJ=: 18467 18468 case $host_cpu in 18469 hppa*64*|ia64*) 18470 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' 18471 hardcode_direct_GCJ=no 18472 hardcode_shlibpath_var_GCJ=no 18473 ;; 18474 *) 18475 hardcode_direct_GCJ=yes 18476 export_dynamic_flag_spec_GCJ='${wl}-E' 18477 18478 # hardcode_minus_L: Not really in the search PATH, 18479 # but as the default location of the library. 18480 hardcode_minus_L_GCJ=yes 18481 ;; 18482 esac 18483 fi 18484 ;; 18485 18486 irix5* | irix6* | nonstopux*) 18487 if test "$GCC" = yes; then 18488 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 18489 else 18490 archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 18491 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir' 18492 fi 18493 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' 18494 hardcode_libdir_separator_GCJ=: 18495 link_all_deplibs_GCJ=yes 18496 ;; 18497 18498 netbsd*) 18499 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 18500 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 18501 else 18502 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 18503 fi 18504 hardcode_libdir_flag_spec_GCJ='-R$libdir' 18505 hardcode_direct_GCJ=yes 18506 hardcode_shlibpath_var_GCJ=no 18507 ;; 18508 18509 newsos6) 18510 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 18511 hardcode_direct_GCJ=yes 18512 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' 18513 hardcode_libdir_separator_GCJ=: 18514 hardcode_shlibpath_var_GCJ=no 18515 ;; 18516 18517 openbsd*) 18518 if test -f /usr/libexec/ld.so; then 18519 hardcode_direct_GCJ=yes 18520 hardcode_shlibpath_var_GCJ=no 18521 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 18522 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 18523 archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 18524 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' 18525 export_dynamic_flag_spec_GCJ='${wl}-E' 18526 else 18527 case $host_os in 18528 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 18529 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 18530 hardcode_libdir_flag_spec_GCJ='-R$libdir' 18531 ;; 18532 *) 18533 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 18534 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' 18535 ;; 18536 esac 18537 fi 18538 else 18539 ld_shlibs_GCJ=no 18540 fi 18541 ;; 18542 18543 os2*) 18544 hardcode_libdir_flag_spec_GCJ='-L$libdir' 18545 hardcode_minus_L_GCJ=yes 18546 allow_undefined_flag_GCJ=unsupported 18547 archive_cmds_GCJ='$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' 18548 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 18549 ;; 18550 18551 osf3*) 18552 if test "$GCC" = yes; then 18553 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' 18554 archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 18555 else 18556 allow_undefined_flag_GCJ=' -expect_unresolved \*' 18557 archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 18558 fi 18559 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' 18560 hardcode_libdir_separator_GCJ=: 18561 ;; 18562 18563 osf4* | osf5*) # as osf3* with the addition of -msym flag 18564 if test "$GCC" = yes; then 18565 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' 18566 archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 18567 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' 18568 else 18569 allow_undefined_flag_GCJ=' -expect_unresolved \*' 18570 archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 18571 archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ 18572 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' 18573 18574 # Both c and cxx compiler support -rpath directly 18575 hardcode_libdir_flag_spec_GCJ='-rpath $libdir' 18576 fi 18577 hardcode_libdir_separator_GCJ=: 18578 ;; 18579 18580 solaris*) 18581 no_undefined_flag_GCJ=' -z text' 18582 if test "$GCC" = yes; then 18583 wlarc='${wl}' 18584 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 18585 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 18586 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' 18587 else 18588 wlarc='' 18589 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 18590 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 18591 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' 18592 fi 18593 hardcode_libdir_flag_spec_GCJ='-R$libdir' 18594 hardcode_shlibpath_var_GCJ=no 18595 case $host_os in 18596 solaris2.[0-5] | solaris2.[0-5].*) ;; 18597 *) 18598 # The compiler driver will combine and reorder linker options, 18599 # but understands `-z linker_flag'. GCC discards it without `$wl', 18600 # but is careful enough not to reorder. 18601 # Supported since Solaris 2.6 (maybe 2.5.1?) 18602 if test "$GCC" = yes; then 18603 whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 18604 else 18605 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' 18606 fi 18607 ;; 18608 esac 18609 link_all_deplibs_GCJ=yes 18610 ;; 18611 18612 sunos4*) 18613 if test "x$host_vendor" = xsequent; then 18614 # Use $CC to link under sequent, because it throws in some extra .o 18615 # files that make .init and .fini sections work. 18616 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 18617 else 18618 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 18619 fi 18620 hardcode_libdir_flag_spec_GCJ='-L$libdir' 18621 hardcode_direct_GCJ=yes 18622 hardcode_minus_L_GCJ=yes 18623 hardcode_shlibpath_var_GCJ=no 18624 ;; 18625 18626 sysv4) 18627 case $host_vendor in 18628 sni) 18629 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 18630 hardcode_direct_GCJ=yes # is this really true??? 18631 ;; 18632 siemens) 18633 ## LD is ld it makes a PLAMLIB 18634 ## CC just makes a GrossModule. 18635 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' 18636 reload_cmds_GCJ='$CC -r -o $output$reload_objs' 18637 hardcode_direct_GCJ=no 18638 ;; 18639 motorola) 18640 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 18641 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie 18642 ;; 18643 esac 18644 runpath_var='LD_RUN_PATH' 18645 hardcode_shlibpath_var_GCJ=no 18646 ;; 18647 18648 sysv4.3*) 18649 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 18650 hardcode_shlibpath_var_GCJ=no 18651 export_dynamic_flag_spec_GCJ='-Bexport' 18652 ;; 18653 18654 sysv4*MP*) 18655 if test -d /usr/nec; then 18656 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 18657 hardcode_shlibpath_var_GCJ=no 18658 runpath_var=LD_RUN_PATH 18659 hardcode_runpath_var=yes 18660 ld_shlibs_GCJ=yes 18661 fi 18662 ;; 18663 18664 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 18665 no_undefined_flag_GCJ='${wl}-z,text' 18666 archive_cmds_need_lc_GCJ=no 18667 hardcode_shlibpath_var_GCJ=no 18668 runpath_var='LD_RUN_PATH' 18669 18670 if test "$GCC" = yes; then 18671 archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 18672 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 18673 else 18674 archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 18675 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 18676 fi 18677 ;; 18678 18679 sysv5* | sco3.2v5* | sco5v6*) 18680 # Note: We can NOT use -z defs as we might desire, because we do not 18681 # link with -lc, and that would cause any symbols used from libc to 18682 # always be unresolved, which means just about no library would 18683 # ever link correctly. If we're not using GNU ld we use -z text 18684 # though, which does catch some bad symbols but isn't as heavy-handed 18685 # as -z defs. 18686 no_undefined_flag_GCJ='${wl}-z,text' 18687 allow_undefined_flag_GCJ='${wl}-z,nodefs' 18688 archive_cmds_need_lc_GCJ=no 18689 hardcode_shlibpath_var_GCJ=no 18690 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' 18691 hardcode_libdir_separator_GCJ=':' 18692 link_all_deplibs_GCJ=yes 18693 export_dynamic_flag_spec_GCJ='${wl}-Bexport' 18694 runpath_var='LD_RUN_PATH' 18695 18696 if test "$GCC" = yes; then 18697 archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 18698 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 18699 else 18700 archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 18701 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 18702 fi 18703 ;; 18704 18705 uts4*) 18706 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 18707 hardcode_libdir_flag_spec_GCJ='-L$libdir' 18708 hardcode_shlibpath_var_GCJ=no 18709 ;; 18710 18711 *) 18712 ld_shlibs_GCJ=no 18713 ;; 18714 esac 18715 fi 18716 18717 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 18718 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; } 18719 test "$ld_shlibs_GCJ" = no && can_build_shared=no 18720 18721 # 18722 # Do we need to explicitly link libc? 18723 # 18724 case "x$archive_cmds_need_lc_GCJ" in 18725 x|xyes) 18726 # Assume -lc should be added 18727 archive_cmds_need_lc_GCJ=yes 18728 18729 if test "$enable_shared" = yes && test "$GCC" = yes; then 18730 case $archive_cmds_GCJ in 18731 *'~'*) 18732 # FIXME: we may have to deal with multi-command sequences. 18733 ;; 18734 '$CC '*) 18735 # Test whether the compiler implicitly links with -lc since on some 18736 # systems, -lgcc has to come before -lc. If gcc already passes -lc 18737 # to ld, don't add -lc before -lgcc. 18738 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 18739 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } 18740 $rm conftest* 18741 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 18742 18743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 18744 (eval $ac_compile) 2>&5 18745 ac_status=$? 18746 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18747 (exit $ac_status); } 2>conftest.err; then 18748 soname=conftest 18749 lib=conftest 18750 libobjs=conftest.$ac_objext 18751 deplibs= 18752 wl=$lt_prog_compiler_wl_GCJ 18753 pic_flag=$lt_prog_compiler_pic_GCJ 18754 compiler_flags=-v 18755 linker_flags=-v 18756 verstring= 18757 output_objdir=. 18758 libname=conftest 18759 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ 18760 allow_undefined_flag_GCJ= 18761 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 18762 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 18763 ac_status=$? 18764 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18765 (exit $ac_status); } 18766 then 18767 archive_cmds_need_lc_GCJ=no 18768 else 18769 archive_cmds_need_lc_GCJ=yes 18770 fi 18771 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag 18772 else 18773 cat conftest.err 1>&5 18774 fi 18775 $rm conftest* 18776 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5 18777 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; } 18778 ;; 18779 esac 18780 fi 18781 ;; 18782 esac 18783 18784 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 18785 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } 18786 library_names_spec= 18787 libname_spec='lib$name' 18788 soname_spec= 18789 shrext_cmds=".so" 18790 postinstall_cmds= 18791 postuninstall_cmds= 18792 finish_cmds= 18793 finish_eval= 18794 shlibpath_var= 18795 shlibpath_overrides_runpath=unknown 18796 version_type=none 18797 dynamic_linker="$host_os ld.so" 18798 sys_lib_dlsearch_path_spec="/lib /usr/lib" 18799 18800 need_lib_prefix=unknown 18801 hardcode_into_libs=no 18802 18803 # when you set need_version to no, make sure it does not cause -set_version 18804 # flags to be left without arguments 18805 need_version=unknown 18806 18807 case $host_os in 18808 aix3*) 18809 version_type=linux 18810 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 18811 shlibpath_var=LIBPATH 18812 18813 # AIX 3 has no versioning support, so we append a major version to the name. 18814 soname_spec='${libname}${release}${shared_ext}$major' 18815 ;; 18816 18817 aix4* | aix5*) 18818 version_type=linux 18819 need_lib_prefix=no 18820 need_version=no 18821 hardcode_into_libs=yes 18822 if test "$host_cpu" = ia64; then 18823 # AIX 5 supports IA64 18824 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 18825 shlibpath_var=LD_LIBRARY_PATH 18826 else 18827 # With GCC up to 2.95.x, collect2 would create an import file 18828 # for dependence libraries. The import file would start with 18829 # the line `#! .'. This would cause the generated library to 18830 # depend on `.', always an invalid library. This was fixed in 18831 # development snapshots of GCC prior to 3.0. 18832 case $host_os in 18833 aix4 | aix4.[01] | aix4.[01].*) 18834 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 18835 echo ' yes ' 18836 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then 18837 : 18838 else 18839 can_build_shared=no 18840 fi 18841 ;; 18842 esac 18843 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 18844 # soname into executable. Probably we can add versioning support to 18845 # collect2, so additional links can be useful in future. 18846 if test "$aix_use_runtimelinking" = yes; then 18847 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 18848 # instead of lib<name>.a to let people know that these are not 18849 # typical AIX shared libraries. 18850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18851 else 18852 # We preserve .a as extension for shared libraries through AIX4.2 18853 # and later when we are not doing run time linking. 18854 library_names_spec='${libname}${release}.a $libname.a' 18855 soname_spec='${libname}${release}${shared_ext}$major' 18856 fi 18857 shlibpath_var=LIBPATH 18858 fi 18859 ;; 18860 18861 amigaos*) 18862 library_names_spec='$libname.ixlibrary $libname.a' 18863 # Create ${libname}_ixlibrary.a entries in /sys/libs. 18864 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' 18865 ;; 18866 18867 beos*) 18868 library_names_spec='${libname}${shared_ext}' 18869 dynamic_linker="$host_os ld.so" 18870 shlibpath_var=LIBRARY_PATH 18871 ;; 18872 18873 bsdi[45]*) 18874 version_type=linux 18875 need_version=no 18876 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18877 soname_spec='${libname}${release}${shared_ext}$major' 18878 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 18879 shlibpath_var=LD_LIBRARY_PATH 18880 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 18881 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 18882 # the default ld.so.conf also contains /usr/contrib/lib and 18883 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 18884 # libtool to hard-code these into programs 18885 ;; 18886 18887 cygwin* | mingw* | pw32*) 18888 version_type=windows 18889 shrext_cmds=".dll" 18890 need_version=no 18891 need_lib_prefix=no 18892 18893 case $GCC,$host_os in 18894 yes,cygwin* | yes,mingw* | yes,pw32*) 18895 library_names_spec='$libname.dll.a' 18896 # DLL is installed to $(libdir)/../bin by postinstall_cmds 18897 postinstall_cmds='base_file=`basename \${file}`~ 18898 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ 18899 dldir=$destdir/`dirname \$dlpath`~ 18900 test -d \$dldir || mkdir -p \$dldir~ 18901 $install_prog $dir/$dlname \$dldir/$dlname~ 18902 chmod a+x \$dldir/$dlname' 18903 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 18904 dlpath=$dir/\$dldll~ 18905 $rm \$dlpath' 18906 shlibpath_overrides_runpath=yes 18907 18908 case $host_os in 18909 cygwin*) 18910 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 18911 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 18912 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 18913 ;; 18914 mingw*) 18915 # MinGW DLLs use traditional 'lib' prefix 18916 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 18917 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 18918 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then 18919 # It is most probably a Windows format PATH printed by 18920 # mingw gcc, but we are running on Cygwin. Gcc prints its search 18921 # path with ; separators, and with drive letters. We can handle the 18922 # drive letters (cygwin fileutils understands them), so leave them, 18923 # especially as we might pass files found there to a mingw objdump, 18924 # which wouldn't understand a cygwinified path. Ahh. 18925 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 18926 else 18927 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 18928 fi 18929 ;; 18930 pw32*) 18931 # pw32 DLLs use 'pw' prefix rather than 'lib' 18932 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 18933 ;; 18934 esac 18935 ;; 18936 18937 *) 18938 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 18939 ;; 18940 esac 18941 dynamic_linker='Win32 ld.exe' 18942 # FIXME: first we should search . and the directory the executable is in 18943 shlibpath_var=PATH 18944 ;; 18945 18946 darwin* | rhapsody*) 18947 dynamic_linker="$host_os dyld" 18948 version_type=darwin 18949 need_lib_prefix=no 18950 need_version=no 18951 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 18952 soname_spec='${libname}${release}${major}$shared_ext' 18953 shlibpath_overrides_runpath=yes 18954 shlibpath_var=DYLD_LIBRARY_PATH 18955 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 18956 18957 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 18958 ;; 18959 18960 dgux*) 18961 version_type=linux 18962 need_lib_prefix=no 18963 need_version=no 18964 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 18965 soname_spec='${libname}${release}${shared_ext}$major' 18966 shlibpath_var=LD_LIBRARY_PATH 18967 ;; 18968 18969 freebsd1*) 18970 dynamic_linker=no 18971 ;; 18972 18973 freebsd* | dragonfly*) 18974 # DragonFly does not have aout. When/if they implement a new 18975 # versioning mechanism, adjust this. 18976 if test -x /usr/bin/objformat; then 18977 objformat=`/usr/bin/objformat` 18978 else 18979 case $host_os in 18980 freebsd[123]*) objformat=aout ;; 18981 *) objformat=elf ;; 18982 esac 18983 fi 18984 version_type=freebsd-$objformat 18985 case $version_type in 18986 freebsd-elf*) 18987 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 18988 need_version=no 18989 need_lib_prefix=no 18990 ;; 18991 freebsd-*) 18992 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 18993 need_version=yes 18994 ;; 18995 esac 18996 shlibpath_var=LD_LIBRARY_PATH 18997 case $host_os in 18998 freebsd2*) 18999 shlibpath_overrides_runpath=yes 19000 ;; 19001 freebsd3.[01]* | freebsdelf3.[01]*) 19002 shlibpath_overrides_runpath=yes 19003 hardcode_into_libs=yes 19004 ;; 19005 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 19006 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 19007 shlibpath_overrides_runpath=no 19008 hardcode_into_libs=yes 19009 ;; 19010 *) # from 4.6 on, and DragonFly 19011 shlibpath_overrides_runpath=yes 19012 hardcode_into_libs=yes 19013 ;; 19014 esac 19015 ;; 19016 19017 gnu*) 19018 version_type=linux 19019 need_lib_prefix=no 19020 need_version=no 19021 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 19022 soname_spec='${libname}${release}${shared_ext}$major' 19023 shlibpath_var=LD_LIBRARY_PATH 19024 hardcode_into_libs=yes 19025 ;; 19026 19027 hpux9* | hpux10* | hpux11*) 19028 # Give a soname corresponding to the major version so that dld.sl refuses to 19029 # link against other versions. 19030 version_type=sunos 19031 need_lib_prefix=no 19032 need_version=no 19033 case $host_cpu in 19034 ia64*) 19035 shrext_cmds='.so' 19036 hardcode_into_libs=yes 19037 dynamic_linker="$host_os dld.so" 19038 shlibpath_var=LD_LIBRARY_PATH 19039 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 19040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 19041 soname_spec='${libname}${release}${shared_ext}$major' 19042 if test "X$HPUX_IA64_MODE" = X32; then 19043 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 19044 else 19045 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 19046 fi 19047 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 19048 ;; 19049 hppa*64*) 19050 shrext_cmds='.sl' 19051 hardcode_into_libs=yes 19052 dynamic_linker="$host_os dld.sl" 19053 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 19054 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 19055 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 19056 soname_spec='${libname}${release}${shared_ext}$major' 19057 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 19058 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 19059 ;; 19060 *) 19061 shrext_cmds='.sl' 19062 dynamic_linker="$host_os dld.sl" 19063 shlibpath_var=SHLIB_PATH 19064 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 19065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 19066 soname_spec='${libname}${release}${shared_ext}$major' 19067 ;; 19068 esac 19069 # HP-UX runs *really* slowly unless shared libraries are mode 555. 19070 postinstall_cmds='chmod 555 $lib' 19071 ;; 19072 19073 interix[3-9]*) 19074 version_type=linux 19075 need_lib_prefix=no 19076 need_version=no 19077 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 19078 soname_spec='${libname}${release}${shared_ext}$major' 19079 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 19080 shlibpath_var=LD_LIBRARY_PATH 19081 shlibpath_overrides_runpath=no 19082 hardcode_into_libs=yes 19083 ;; 19084 19085 irix5* | irix6* | nonstopux*) 19086 case $host_os in 19087 nonstopux*) version_type=nonstopux ;; 19088 *) 19089 if test "$lt_cv_prog_gnu_ld" = yes; then 19090 version_type=linux 19091 else 19092 version_type=irix 19093 fi ;; 19094 esac 19095 need_lib_prefix=no 19096 need_version=no 19097 soname_spec='${libname}${release}${shared_ext}$major' 19098 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 19099 case $host_os in 19100 irix5* | nonstopux*) 19101 libsuff= shlibsuff= 19102 ;; 19103 *) 19104 case $LD in # libtool.m4 will add one of these switches to LD 19105 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 19106 libsuff= shlibsuff= libmagic=32-bit;; 19107 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 19108 libsuff=32 shlibsuff=N32 libmagic=N32;; 19109 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 19110 libsuff=64 shlibsuff=64 libmagic=64-bit;; 19111 *) libsuff= shlibsuff= libmagic=never-match;; 19112 esac 19113 ;; 19114 esac 19115 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 19116 shlibpath_overrides_runpath=no 19117 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 19118 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 19119 hardcode_into_libs=yes 19120 ;; 19121 19122 # No shared lib support for Linux oldld, aout, or coff. 19123 linux*oldld* | linux*aout* | linux*coff*) 19124 dynamic_linker=no 19125 ;; 19126 19127 # This must be Linux ELF. 19128 linux* | k*bsd*-gnu) 19129 version_type=linux 19130 need_lib_prefix=no 19131 need_version=no 19132 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 19133 soname_spec='${libname}${release}${shared_ext}$major' 19134 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 19135 shlibpath_var=LD_LIBRARY_PATH 19136 shlibpath_overrides_runpath=no 19137 # This implies no fast_install, which is unacceptable. 19138 # Some rework will be needed to allow for fast_install 19139 # before this can be enabled. 19140 hardcode_into_libs=yes 19141 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 19142 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 19143 19144 # Append ld.so.conf contents to the search path 19145 if test -f /etc/ld.so.conf; then 19146 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' ' '` 19147 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 19148 fi 19149 19150 # We used to test for /lib/ld.so.1 and disable shared libraries on 19151 # powerpc, because MkLinux only supported shared libraries with the 19152 # GNU dynamic linker. Since this was broken with cross compilers, 19153 # most powerpc-linux boxes support dynamic linking these days and 19154 # people can always --disable-shared, the test was removed, and we 19155 # assume the GNU/Linux dynamic linker is in use. 19156 dynamic_linker='GNU/Linux ld.so' 19157 ;; 19158 19159 netbsd*) 19160 version_type=sunos 19161 need_lib_prefix=no 19162 need_version=no 19163 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 19164 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 19165 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 19166 dynamic_linker='NetBSD (a.out) ld.so' 19167 else 19168 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 19169 soname_spec='${libname}${release}${shared_ext}$major' 19170 dynamic_linker='NetBSD ld.elf_so' 19171 fi 19172 shlibpath_var=LD_LIBRARY_PATH 19173 shlibpath_overrides_runpath=yes 19174 hardcode_into_libs=yes 19175 ;; 19176 19177 newsos6) 19178 version_type=linux 19179 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 19180 shlibpath_var=LD_LIBRARY_PATH 19181 shlibpath_overrides_runpath=yes 19182 ;; 19183 19184 nto-qnx*) 19185 version_type=linux 19186 need_lib_prefix=no 19187 need_version=no 19188 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 19189 soname_spec='${libname}${release}${shared_ext}$major' 19190 shlibpath_var=LD_LIBRARY_PATH 19191 shlibpath_overrides_runpath=yes 19192 ;; 19193 19194 openbsd*) 19195 version_type=sunos 19196 sys_lib_dlsearch_path_spec="/usr/lib" 19197 need_lib_prefix=no 19198 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 19199 case $host_os in 19200 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 19201 *) need_version=no ;; 19202 esac 19203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 19204 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 19205 shlibpath_var=LD_LIBRARY_PATH 19206 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 19207 case $host_os in 19208 openbsd2.[89] | openbsd2.[89].*) 19209 shlibpath_overrides_runpath=no 19210 ;; 19211 *) 19212 shlibpath_overrides_runpath=yes 19213 ;; 19214 esac 19215 else 19216 shlibpath_overrides_runpath=yes 19217 fi 19218 ;; 19219 19220 os2*) 19221 libname_spec='$name' 19222 shrext_cmds=".dll" 19223 need_lib_prefix=no 19224 library_names_spec='$libname${shared_ext} $libname.a' 19225 dynamic_linker='OS/2 ld.exe' 19226 shlibpath_var=LIBPATH 19227 ;; 19228 19229 osf3* | osf4* | osf5*) 19230 version_type=osf 19231 need_lib_prefix=no 19232 need_version=no 19233 soname_spec='${libname}${release}${shared_ext}$major' 19234 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 19235 shlibpath_var=LD_LIBRARY_PATH 19236 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 19237 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 19238 ;; 19239 19240 rdos*) 19241 dynamic_linker=no 19242 ;; 19243 19244 solaris*) 19245 version_type=linux 19246 need_lib_prefix=no 19247 need_version=no 19248 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 19249 soname_spec='${libname}${release}${shared_ext}$major' 19250 shlibpath_var=LD_LIBRARY_PATH 19251 shlibpath_overrides_runpath=yes 19252 hardcode_into_libs=yes 19253 # ldd complains unless libraries are executable 19254 postinstall_cmds='chmod +x $lib' 19255 ;; 19256 19257 sunos4*) 19258 version_type=sunos 19259 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 19260 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 19261 shlibpath_var=LD_LIBRARY_PATH 19262 shlibpath_overrides_runpath=yes 19263 if test "$with_gnu_ld" = yes; then 19264 need_lib_prefix=no 19265 fi 19266 need_version=yes 19267 ;; 19268 19269 sysv4 | sysv4.3*) 19270 version_type=linux 19271 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 19272 soname_spec='${libname}${release}${shared_ext}$major' 19273 shlibpath_var=LD_LIBRARY_PATH 19274 case $host_vendor in 19275 sni) 19276 shlibpath_overrides_runpath=no 19277 need_lib_prefix=no 19278 export_dynamic_flag_spec='${wl}-Blargedynsym' 19279 runpath_var=LD_RUN_PATH 19280 ;; 19281 siemens) 19282 need_lib_prefix=no 19283 ;; 19284 motorola) 19285 need_lib_prefix=no 19286 need_version=no 19287 shlibpath_overrides_runpath=no 19288 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 19289 ;; 19290 esac 19291 ;; 19292 19293 sysv4*MP*) 19294 if test -d /usr/nec ;then 19295 version_type=linux 19296 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 19297 soname_spec='$libname${shared_ext}.$major' 19298 shlibpath_var=LD_LIBRARY_PATH 19299 fi 19300 ;; 19301 19302 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 19303 version_type=freebsd-elf 19304 need_lib_prefix=no 19305 need_version=no 19306 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 19307 soname_spec='${libname}${release}${shared_ext}$major' 19308 shlibpath_var=LD_LIBRARY_PATH 19309 hardcode_into_libs=yes 19310 if test "$with_gnu_ld" = yes; then 19311 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 19312 shlibpath_overrides_runpath=no 19313 else 19314 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 19315 shlibpath_overrides_runpath=yes 19316 case $host_os in 19317 sco3.2v5*) 19318 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 19319 ;; 19320 esac 19321 fi 19322 sys_lib_dlsearch_path_spec='/usr/lib' 19323 ;; 19324 19325 uts4*) 19326 version_type=linux 19327 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 19328 soname_spec='${libname}${release}${shared_ext}$major' 19329 shlibpath_var=LD_LIBRARY_PATH 19330 ;; 19331 19332 *) 19333 dynamic_linker=no 19334 ;; 19335 esac 19336 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 19337 echo "${ECHO_T}$dynamic_linker" >&6; } 19338 test "$dynamic_linker" = no && can_build_shared=no 19339 19340 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 19341 if test "$GCC" = yes; then 19342 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 19343 fi 19344 19345 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 19346 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } 19347 hardcode_action_GCJ= 19348 if test -n "$hardcode_libdir_flag_spec_GCJ" || \ 19349 test -n "$runpath_var_GCJ" || \ 19350 test "X$hardcode_automatic_GCJ" = "Xyes" ; then 19351 19352 # We can hardcode non-existant directories. 19353 if test "$hardcode_direct_GCJ" != no && 19354 # If the only mechanism to avoid hardcoding is shlibpath_var, we 19355 # have to relink, otherwise we might link with an installed library 19356 # when we should be linking with a yet-to-be-installed one 19357 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && 19358 test "$hardcode_minus_L_GCJ" != no; then 19359 # Linking always hardcodes the temporary library directory. 19360 hardcode_action_GCJ=relink 19361 else 19362 # We can link without hardcoding, and we can hardcode nonexisting dirs. 19363 hardcode_action_GCJ=immediate 19364 fi 19365 else 19366 # We cannot hardcode anything, or else we can only hardcode existing 19367 # directories. 19368 hardcode_action_GCJ=unsupported 19369 fi 19370 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 19371 echo "${ECHO_T}$hardcode_action_GCJ" >&6; } 19372 19373 if test "$hardcode_action_GCJ" = relink; then 19374 # Fast installation is not supported 19375 enable_fast_install=no 19376 elif test "$shlibpath_overrides_runpath" = yes || 19377 test "$enable_shared" = no; then 19378 # Fast installation is not necessary 19379 enable_fast_install=needless 19380 fi 19381 19382 19383 # The else clause should only fire when bootstrapping the 19384 # libtool distribution, otherwise you forgot to ship ltmain.sh 19385 # with your package, and you will get complaints that there are 19386 # no rules to generate ltmain.sh. 19387 if test -f "$ltmain"; then 19388 # See if we are running on zsh, and set the options which allow our commands through 19389 # without removal of \ escapes. 19390 if test -n "${ZSH_VERSION+set}" ; then 19391 setopt NO_GLOB_SUBST 19392 fi 19393 # Now quote all the things that may contain metacharacters while being 19394 # careful not to overquote the AC_SUBSTed values. We take copies of the 19395 # variables and quote the copies for generation of the libtool script. 19396 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ 19397 SED SHELL STRIP \ 19398 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 19399 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ 19400 deplibs_check_method reload_flag reload_cmds need_locks \ 19401 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ 19402 lt_cv_sys_global_symbol_to_c_name_address \ 19403 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ 19404 old_postinstall_cmds old_postuninstall_cmds \ 19405 compiler_GCJ \ 19406 CC_GCJ \ 19407 LD_GCJ \ 19408 lt_prog_compiler_wl_GCJ \ 19409 lt_prog_compiler_pic_GCJ \ 19410 lt_prog_compiler_static_GCJ \ 19411 lt_prog_compiler_no_builtin_flag_GCJ \ 19412 export_dynamic_flag_spec_GCJ \ 19413 thread_safe_flag_spec_GCJ \ 19414 whole_archive_flag_spec_GCJ \ 19415 enable_shared_with_static_runtimes_GCJ \ 19416 old_archive_cmds_GCJ \ 19417 old_archive_from_new_cmds_GCJ \ 19418 predep_objects_GCJ \ 19419 postdep_objects_GCJ \ 19420 predeps_GCJ \ 19421 postdeps_GCJ \ 19422 compiler_lib_search_path_GCJ \ 19423 archive_cmds_GCJ \ 19424 archive_expsym_cmds_GCJ \ 19425 postinstall_cmds_GCJ \ 19426 postuninstall_cmds_GCJ \ 19427 old_archive_from_expsyms_cmds_GCJ \ 19428 allow_undefined_flag_GCJ \ 19429 no_undefined_flag_GCJ \ 19430 export_symbols_cmds_GCJ \ 19431 hardcode_libdir_flag_spec_GCJ \ 19432 hardcode_libdir_flag_spec_ld_GCJ \ 19433 hardcode_libdir_separator_GCJ \ 19434 hardcode_automatic_GCJ \ 19435 module_cmds_GCJ \ 19436 module_expsym_cmds_GCJ \ 19437 lt_cv_prog_compiler_c_o_GCJ \ 19438 fix_srcfile_path_GCJ \ 19439 exclude_expsyms_GCJ \ 19440 include_expsyms_GCJ; do 19441 19442 case $var in 19443 old_archive_cmds_GCJ | \ 19444 old_archive_from_new_cmds_GCJ | \ 19445 archive_cmds_GCJ | \ 19446 archive_expsym_cmds_GCJ | \ 19447 module_cmds_GCJ | \ 19448 module_expsym_cmds_GCJ | \ 19449 old_archive_from_expsyms_cmds_GCJ | \ 19450 export_symbols_cmds_GCJ | \ 19451 extract_expsyms_cmds | reload_cmds | finish_cmds | \ 19452 postinstall_cmds | postuninstall_cmds | \ 19453 old_postinstall_cmds | old_postuninstall_cmds | \ 19454 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) 19455 # Double-quote double-evaled strings. 19456 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" 19457 ;; 19458 *) 19459 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" 19460 ;; 19461 esac 19462 done 19463 19464 case $lt_echo in 19465 *'\$0 --fallback-echo"') 19466 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` 19467 ;; 19468 esac 19469 19470 cfgfile="$ofile" 19471 19472 cat <<__EOF__ >> "$cfgfile" 19473 # ### BEGIN LIBTOOL TAG CONFIG: $tagname 19474 19475 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 19476 19477 # Shell to use when invoking shell scripts. 19478 SHELL=$lt_SHELL 19479 19480 # Whether or not to build shared libraries. 19481 build_libtool_libs=$enable_shared 19482 19483 # Whether or not to build static libraries. 19484 build_old_libs=$enable_static 19485 19486 # Whether or not to add -lc for building shared libraries. 19487 build_libtool_need_lc=$archive_cmds_need_lc_GCJ 19488 19489 # Whether or not to disallow shared libs when runtime libs are static 19490 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ 19491 19492 # Whether or not to optimize for fast installation. 19493 fast_install=$enable_fast_install 19494 19495 # The host system. 19496 host_alias=$host_alias 19497 host=$host 19498 host_os=$host_os 19499 19500 # The build system. 19501 build_alias=$build_alias 19502 build=$build 19503 build_os=$build_os 19504 19505 # An echo program that does not interpret backslashes. 19506 echo=$lt_echo 19507 19508 # The archiver. 19509 AR=$lt_AR 19510 AR_FLAGS=$lt_AR_FLAGS 19511 19512 # A C compiler. 19513 LTCC=$lt_LTCC 19514 19515 # LTCC compiler flags. 19516 LTCFLAGS=$lt_LTCFLAGS 19517 19518 # A language-specific compiler. 19519 CC=$lt_compiler_GCJ 19520 19521 # Is the compiler the GNU C compiler? 19522 with_gcc=$GCC_GCJ 19523 19524 # An ERE matcher. 19525 EGREP=$lt_EGREP 19526 19527 # The linker used to build libraries. 19528 LD=$lt_LD_GCJ 19529 19530 # Whether we need hard or soft links. 19531 LN_S=$lt_LN_S 19532 19533 # A BSD-compatible nm program. 19534 NM=$lt_NM 19535 19536 # A symbol stripping program 19537 STRIP=$lt_STRIP 19538 19539 # Used to examine libraries when file_magic_cmd begins "file" 19540 MAGIC_CMD=$MAGIC_CMD 19541 19542 # Used on cygwin: DLL creation program. 19543 DLLTOOL="$DLLTOOL" 19544 19545 # Used on cygwin: object dumper. 19546 OBJDUMP="$OBJDUMP" 19547 19548 # Used on cygwin: assembler. 19549 AS="$AS" 19550 19551 # The name of the directory that contains temporary libtool files. 19552 objdir=$objdir 19553 19554 # How to create reloadable object files. 19555 reload_flag=$lt_reload_flag 19556 reload_cmds=$lt_reload_cmds 19557 19558 # How to pass a linker flag through the compiler. 19559 wl=$lt_lt_prog_compiler_wl_GCJ 19560 19561 # Object file suffix (normally "o"). 19562 objext="$ac_objext" 19563 19564 # Old archive suffix (normally "a"). 19565 libext="$libext" 19566 19567 # Shared library suffix (normally ".so"). 19568 shrext_cmds='$shrext_cmds' 19569 19570 # Executable file suffix (normally ""). 19571 exeext="$exeext" 19572 19573 # Additional compiler flags for building library objects. 19574 pic_flag=$lt_lt_prog_compiler_pic_GCJ 19575 pic_mode=$pic_mode 19576 19577 # What is the maximum length of a command? 19578 max_cmd_len=$lt_cv_sys_max_cmd_len 19579 19580 # Does compiler simultaneously support -c and -o options? 19581 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ 19582 19583 # Must we lock files when doing compilation? 19584 need_locks=$lt_need_locks 19585 19586 # Do we need the lib prefix for modules? 19587 need_lib_prefix=$need_lib_prefix 19588 19589 # Do we need a version for libraries? 19590 need_version=$need_version 19591 19592 # Whether dlopen is supported. 19593 dlopen_support=$enable_dlopen 19594 19595 # Whether dlopen of programs is supported. 19596 dlopen_self=$enable_dlopen_self 19597 19598 # Whether dlopen of statically linked programs is supported. 19599 dlopen_self_static=$enable_dlopen_self_static 19600 19601 # Compiler flag to prevent dynamic linking. 19602 link_static_flag=$lt_lt_prog_compiler_static_GCJ 19603 19604 # Compiler flag to turn off builtin functions. 19605 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ 19606 19607 # Compiler flag to allow reflexive dlopens. 19608 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ 19609 19610 # Compiler flag to generate shared objects directly from archives. 19611 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ 19612 19613 # Compiler flag to generate thread-safe objects. 19614 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ 19615 19616 # Library versioning type. 19617 version_type=$version_type 19618 19619 # Format of library name prefix. 19620 libname_spec=$lt_libname_spec 19621 19622 # List of archive names. First name is the real one, the rest are links. 19623 # The last name is the one that the linker finds with -lNAME. 19624 library_names_spec=$lt_library_names_spec 19625 19626 # The coded name of the library, if different from the real name. 19627 soname_spec=$lt_soname_spec 19628 19629 # Commands used to build and install an old-style archive. 19630 RANLIB=$lt_RANLIB 19631 old_archive_cmds=$lt_old_archive_cmds_GCJ 19632 old_postinstall_cmds=$lt_old_postinstall_cmds 19633 old_postuninstall_cmds=$lt_old_postuninstall_cmds 19634 19635 # Create an old-style archive from a shared archive. 19636 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ 19637 19638 # Create a temporary old-style archive to link instead of a shared archive. 19639 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ 19640 19641 # Commands used to build and install a shared archive. 19642 archive_cmds=$lt_archive_cmds_GCJ 19643 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ 19644 postinstall_cmds=$lt_postinstall_cmds 19645 postuninstall_cmds=$lt_postuninstall_cmds 19646 19647 # Commands used to build a loadable module (assumed same as above if empty) 19648 module_cmds=$lt_module_cmds_GCJ 19649 module_expsym_cmds=$lt_module_expsym_cmds_GCJ 19650 19651 # Commands to strip libraries. 19652 old_striplib=$lt_old_striplib 19653 striplib=$lt_striplib 19654 19655 # Dependencies to place before the objects being linked to create a 19656 # shared library. 19657 predep_objects=$lt_predep_objects_GCJ 19658 19659 # Dependencies to place after the objects being linked to create a 19660 # shared library. 19661 postdep_objects=$lt_postdep_objects_GCJ 19662 19663 # Dependencies to place before the objects being linked to create a 19664 # shared library. 19665 predeps=$lt_predeps_GCJ 19666 19667 # Dependencies to place after the objects being linked to create a 19668 # shared library. 19669 postdeps=$lt_postdeps_GCJ 19670 19671 # The library search path used internally by the compiler when linking 19672 # a shared library. 19673 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ 19674 19675 # Method to check whether dependent libraries are shared objects. 19676 deplibs_check_method=$lt_deplibs_check_method 19677 19678 # Command to use when deplibs_check_method == file_magic. 19679 file_magic_cmd=$lt_file_magic_cmd 19680 19681 # Flag that allows shared libraries with undefined symbols to be built. 19682 allow_undefined_flag=$lt_allow_undefined_flag_GCJ 19683 19684 # Flag that forces no undefined symbols. 19685 no_undefined_flag=$lt_no_undefined_flag_GCJ 19686 19687 # Commands used to finish a libtool library installation in a directory. 19688 finish_cmds=$lt_finish_cmds 19689 19690 # Same as above, but a single script fragment to be evaled but not shown. 19691 finish_eval=$lt_finish_eval 19692 19693 # Take the output of nm and produce a listing of raw symbols and C names. 19694 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 19695 19696 # Transform the output of nm in a proper C declaration 19697 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 19698 19699 # Transform the output of nm in a C name address pair 19700 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 19701 19702 # This is the shared library runtime path variable. 19703 runpath_var=$runpath_var 19704 19705 # This is the shared library path variable. 19706 shlibpath_var=$shlibpath_var 19707 19708 # Is shlibpath searched before the hard-coded library search path? 19709 shlibpath_overrides_runpath=$shlibpath_overrides_runpath 19710 19711 # How to hardcode a shared library path into an executable. 19712 hardcode_action=$hardcode_action_GCJ 19713 19714 # Whether we should hardcode library paths into libraries. 19715 hardcode_into_libs=$hardcode_into_libs 19716 19717 # Flag to hardcode \$libdir into a binary during linking. 19718 # This must work even if \$libdir does not exist. 19719 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ 19720 19721 # If ld is used when linking, flag to hardcode \$libdir into 19722 # a binary during linking. This must work even if \$libdir does 19723 # not exist. 19724 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ 19725 19726 # Whether we need a single -rpath flag with a separated argument. 19727 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ 19728 19729 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the 19730 # resulting binary. 19731 hardcode_direct=$hardcode_direct_GCJ 19732 19733 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the 19734 # resulting binary. 19735 hardcode_minus_L=$hardcode_minus_L_GCJ 19736 19737 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into 19738 # the resulting binary. 19739 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ 19740 19741 # Set to yes if building a shared library automatically hardcodes DIR into the library 19742 # and all subsequent libraries and executables linked against it. 19743 hardcode_automatic=$hardcode_automatic_GCJ 19744 19745 # Variables whose values should be saved in libtool wrapper scripts and 19746 # restored at relink time. 19747 variables_saved_for_relink="$variables_saved_for_relink" 19748 19749 # Whether libtool must link a program against all its dependency libraries. 19750 link_all_deplibs=$link_all_deplibs_GCJ 19751 19752 # Compile-time system search path for libraries 19753 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 19754 19755 # Run-time system search path for libraries 19756 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 19757 19758 # Fix the shell variable \$srcfile for the compiler. 19759 fix_srcfile_path=$lt_fix_srcfile_path 19760 19761 # Set to yes if exported symbols are required. 19762 always_export_symbols=$always_export_symbols_GCJ 19763 19764 # The commands to list exported symbols. 19765 export_symbols_cmds=$lt_export_symbols_cmds_GCJ 19766 19767 # The commands to extract the exported symbol list from a shared archive. 19768 extract_expsyms_cmds=$lt_extract_expsyms_cmds 19769 19770 # Symbols that should not be listed in the preloaded symbols. 19771 exclude_expsyms=$lt_exclude_expsyms_GCJ 19772 19773 # Symbols that must always be exported. 19774 include_expsyms=$lt_include_expsyms_GCJ 19775 19776 # ### END LIBTOOL TAG CONFIG: $tagname 19777 19778 __EOF__ 19779 19780 19781 else 19782 # If there is no Makefile yet, we rely on a make rule to execute 19783 # `config.status --recheck' to rerun these tests and create the 19784 # libtool script then. 19785 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 19786 if test -f "$ltmain_in"; then 19787 test -f Makefile && make "$ltmain" 19788 fi 19789 fi 19790 19791 19792 ac_ext=c 19793 ac_cpp='$CPP $CPPFLAGS' 19794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 19795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 19796 ac_compiler_gnu=$ac_cv_c_compiler_gnu 19797 19798 CC="$lt_save_CC" 19799 19800 else 19801 tagname="" 19802 fi 19803 ;; 19804 19805 RC) 19806 19807 19808 # Source file extension for RC test sources. 19809 ac_ext=rc 19810 19811 # Object file extension for compiled RC test sources. 19812 objext=o 19813 objext_RC=$objext 19814 19815 # Code to be used in simple compile tests 19816 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' 19817 19818 # Code to be used in simple link tests 19819 lt_simple_link_test_code="$lt_simple_compile_test_code" 19820 19821 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 19822 19823 # If no C compiler was specified, use CC. 19824 LTCC=${LTCC-"$CC"} 19825 19826 # If no C compiler flags were specified, use CFLAGS. 19827 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 19828 19829 # Allow CC to be a program name with arguments. 19830 compiler=$CC 19831 19832 19833 # save warnings/boilerplate of simple test code 19834 ac_outfile=conftest.$ac_objext 19835 echo "$lt_simple_compile_test_code" >conftest.$ac_ext 19836 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 19837 _lt_compiler_boilerplate=`cat conftest.err` 19838 $rm conftest* 19839 19840 ac_outfile=conftest.$ac_objext 19841 echo "$lt_simple_link_test_code" >conftest.$ac_ext 19842 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 19843 _lt_linker_boilerplate=`cat conftest.err` 19844 $rm conftest* 19845 19846 19847 # Allow CC to be a program name with arguments. 19848 lt_save_CC="$CC" 19849 CC=${RC-"windres"} 19850 compiler=$CC 19851 compiler_RC=$CC 19852 for cc_temp in $compiler""; do 19853 case $cc_temp in 19854 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 19855 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 19856 \-*) ;; 19857 *) break;; 19858 esac 19859 done 19860 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 19861 19862 lt_cv_prog_compiler_c_o_RC=yes 19863 19864 # The else clause should only fire when bootstrapping the 19865 # libtool distribution, otherwise you forgot to ship ltmain.sh 19866 # with your package, and you will get complaints that there are 19867 # no rules to generate ltmain.sh. 19868 if test -f "$ltmain"; then 19869 # See if we are running on zsh, and set the options which allow our commands through 19870 # without removal of \ escapes. 19871 if test -n "${ZSH_VERSION+set}" ; then 19872 setopt NO_GLOB_SUBST 19873 fi 19874 # Now quote all the things that may contain metacharacters while being 19875 # careful not to overquote the AC_SUBSTed values. We take copies of the 19876 # variables and quote the copies for generation of the libtool script. 19877 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ 19878 SED SHELL STRIP \ 19879 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 19880 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ 19881 deplibs_check_method reload_flag reload_cmds need_locks \ 19882 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ 19883 lt_cv_sys_global_symbol_to_c_name_address \ 19884 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ 19885 old_postinstall_cmds old_postuninstall_cmds \ 19886 compiler_RC \ 19887 CC_RC \ 19888 LD_RC \ 19889 lt_prog_compiler_wl_RC \ 19890 lt_prog_compiler_pic_RC \ 19891 lt_prog_compiler_static_RC \ 19892 lt_prog_compiler_no_builtin_flag_RC \ 19893 export_dynamic_flag_spec_RC \ 19894 thread_safe_flag_spec_RC \ 19895 whole_archive_flag_spec_RC \ 19896 enable_shared_with_static_runtimes_RC \ 19897 old_archive_cmds_RC \ 19898 old_archive_from_new_cmds_RC \ 19899 predep_objects_RC \ 19900 postdep_objects_RC \ 19901 predeps_RC \ 19902 postdeps_RC \ 19903 compiler_lib_search_path_RC \ 19904 archive_cmds_RC \ 19905 archive_expsym_cmds_RC \ 19906 postinstall_cmds_RC \ 19907 postuninstall_cmds_RC \ 19908 old_archive_from_expsyms_cmds_RC \ 19909 allow_undefined_flag_RC \ 19910 no_undefined_flag_RC \ 19911 export_symbols_cmds_RC \ 19912 hardcode_libdir_flag_spec_RC \ 19913 hardcode_libdir_flag_spec_ld_RC \ 19914 hardcode_libdir_separator_RC \ 19915 hardcode_automatic_RC \ 19916 module_cmds_RC \ 19917 module_expsym_cmds_RC \ 19918 lt_cv_prog_compiler_c_o_RC \ 19919 fix_srcfile_path_RC \ 19920 exclude_expsyms_RC \ 19921 include_expsyms_RC; do 19922 19923 case $var in 19924 old_archive_cmds_RC | \ 19925 old_archive_from_new_cmds_RC | \ 19926 archive_cmds_RC | \ 19927 archive_expsym_cmds_RC | \ 19928 module_cmds_RC | \ 19929 module_expsym_cmds_RC | \ 19930 old_archive_from_expsyms_cmds_RC | \ 19931 export_symbols_cmds_RC | \ 19932 extract_expsyms_cmds | reload_cmds | finish_cmds | \ 19933 postinstall_cmds | postuninstall_cmds | \ 19934 old_postinstall_cmds | old_postuninstall_cmds | \ 19935 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) 19936 # Double-quote double-evaled strings. 19937 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" 19938 ;; 19939 *) 19940 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" 19941 ;; 19942 esac 19943 done 19944 19945 case $lt_echo in 19946 *'\$0 --fallback-echo"') 19947 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` 19948 ;; 19949 esac 19950 19951 cfgfile="$ofile" 19952 19953 cat <<__EOF__ >> "$cfgfile" 19954 # ### BEGIN LIBTOOL TAG CONFIG: $tagname 19955 19956 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 19957 19958 # Shell to use when invoking shell scripts. 19959 SHELL=$lt_SHELL 19960 19961 # Whether or not to build shared libraries. 19962 build_libtool_libs=$enable_shared 19963 19964 # Whether or not to build static libraries. 19965 build_old_libs=$enable_static 19966 19967 # Whether or not to add -lc for building shared libraries. 19968 build_libtool_need_lc=$archive_cmds_need_lc_RC 19969 19970 # Whether or not to disallow shared libs when runtime libs are static 19971 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC 19972 19973 # Whether or not to optimize for fast installation. 19974 fast_install=$enable_fast_install 19975 19976 # The host system. 19977 host_alias=$host_alias 19978 host=$host 19979 host_os=$host_os 19980 19981 # The build system. 19982 build_alias=$build_alias 19983 build=$build 19984 build_os=$build_os 19985 19986 # An echo program that does not interpret backslashes. 19987 echo=$lt_echo 19988 19989 # The archiver. 19990 AR=$lt_AR 19991 AR_FLAGS=$lt_AR_FLAGS 19992 19993 # A C compiler. 19994 LTCC=$lt_LTCC 19995 19996 # LTCC compiler flags. 19997 LTCFLAGS=$lt_LTCFLAGS 19998 19999 # A language-specific compiler. 20000 CC=$lt_compiler_RC 20001 20002 # Is the compiler the GNU C compiler? 20003 with_gcc=$GCC_RC 20004 20005 # An ERE matcher. 20006 EGREP=$lt_EGREP 20007 20008 # The linker used to build libraries. 20009 LD=$lt_LD_RC 20010 20011 # Whether we need hard or soft links. 20012 LN_S=$lt_LN_S 20013 20014 # A BSD-compatible nm program. 20015 NM=$lt_NM 20016 20017 # A symbol stripping program 20018 STRIP=$lt_STRIP 20019 20020 # Used to examine libraries when file_magic_cmd begins "file" 20021 MAGIC_CMD=$MAGIC_CMD 20022 20023 # Used on cygwin: DLL creation program. 20024 DLLTOOL="$DLLTOOL" 20025 20026 # Used on cygwin: object dumper. 20027 OBJDUMP="$OBJDUMP" 20028 20029 # Used on cygwin: assembler. 20030 AS="$AS" 20031 20032 # The name of the directory that contains temporary libtool files. 20033 objdir=$objdir 20034 20035 # How to create reloadable object files. 20036 reload_flag=$lt_reload_flag 20037 reload_cmds=$lt_reload_cmds 20038 20039 # How to pass a linker flag through the compiler. 20040 wl=$lt_lt_prog_compiler_wl_RC 20041 20042 # Object file suffix (normally "o"). 20043 objext="$ac_objext" 20044 20045 # Old archive suffix (normally "a"). 20046 libext="$libext" 20047 20048 # Shared library suffix (normally ".so"). 20049 shrext_cmds='$shrext_cmds' 20050 20051 # Executable file suffix (normally ""). 20052 exeext="$exeext" 20053 20054 # Additional compiler flags for building library objects. 20055 pic_flag=$lt_lt_prog_compiler_pic_RC 20056 pic_mode=$pic_mode 20057 20058 # What is the maximum length of a command? 20059 max_cmd_len=$lt_cv_sys_max_cmd_len 20060 20061 # Does compiler simultaneously support -c and -o options? 20062 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC 20063 20064 # Must we lock files when doing compilation? 20065 need_locks=$lt_need_locks 20066 20067 # Do we need the lib prefix for modules? 20068 need_lib_prefix=$need_lib_prefix 20069 20070 # Do we need a version for libraries? 20071 need_version=$need_version 20072 20073 # Whether dlopen is supported. 20074 dlopen_support=$enable_dlopen 20075 20076 # Whether dlopen of programs is supported. 20077 dlopen_self=$enable_dlopen_self 20078 20079 # Whether dlopen of statically linked programs is supported. 20080 dlopen_self_static=$enable_dlopen_self_static 20081 20082 # Compiler flag to prevent dynamic linking. 20083 link_static_flag=$lt_lt_prog_compiler_static_RC 20084 20085 # Compiler flag to turn off builtin functions. 20086 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC 20087 20088 # Compiler flag to allow reflexive dlopens. 20089 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC 20090 20091 # Compiler flag to generate shared objects directly from archives. 20092 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC 20093 20094 # Compiler flag to generate thread-safe objects. 20095 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC 20096 20097 # Library versioning type. 20098 version_type=$version_type 20099 20100 # Format of library name prefix. 20101 libname_spec=$lt_libname_spec 20102 20103 # List of archive names. First name is the real one, the rest are links. 20104 # The last name is the one that the linker finds with -lNAME. 20105 library_names_spec=$lt_library_names_spec 20106 20107 # The coded name of the library, if different from the real name. 20108 soname_spec=$lt_soname_spec 20109 20110 # Commands used to build and install an old-style archive. 20111 RANLIB=$lt_RANLIB 20112 old_archive_cmds=$lt_old_archive_cmds_RC 20113 old_postinstall_cmds=$lt_old_postinstall_cmds 20114 old_postuninstall_cmds=$lt_old_postuninstall_cmds 20115 20116 # Create an old-style archive from a shared archive. 20117 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC 20118 20119 # Create a temporary old-style archive to link instead of a shared archive. 20120 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC 20121 20122 # Commands used to build and install a shared archive. 20123 archive_cmds=$lt_archive_cmds_RC 20124 archive_expsym_cmds=$lt_archive_expsym_cmds_RC 20125 postinstall_cmds=$lt_postinstall_cmds 20126 postuninstall_cmds=$lt_postuninstall_cmds 20127 20128 # Commands used to build a loadable module (assumed same as above if empty) 20129 module_cmds=$lt_module_cmds_RC 20130 module_expsym_cmds=$lt_module_expsym_cmds_RC 20131 20132 # Commands to strip libraries. 20133 old_striplib=$lt_old_striplib 20134 striplib=$lt_striplib 20135 20136 # Dependencies to place before the objects being linked to create a 20137 # shared library. 20138 predep_objects=$lt_predep_objects_RC 20139 20140 # Dependencies to place after the objects being linked to create a 20141 # shared library. 20142 postdep_objects=$lt_postdep_objects_RC 20143 20144 # Dependencies to place before the objects being linked to create a 20145 # shared library. 20146 predeps=$lt_predeps_RC 20147 20148 # Dependencies to place after the objects being linked to create a 20149 # shared library. 20150 postdeps=$lt_postdeps_RC 20151 20152 # The library search path used internally by the compiler when linking 20153 # a shared library. 20154 compiler_lib_search_path=$lt_compiler_lib_search_path_RC 20155 20156 # Method to check whether dependent libraries are shared objects. 20157 deplibs_check_method=$lt_deplibs_check_method 20158 20159 # Command to use when deplibs_check_method == file_magic. 20160 file_magic_cmd=$lt_file_magic_cmd 20161 20162 # Flag that allows shared libraries with undefined symbols to be built. 20163 allow_undefined_flag=$lt_allow_undefined_flag_RC 20164 20165 # Flag that forces no undefined symbols. 20166 no_undefined_flag=$lt_no_undefined_flag_RC 20167 20168 # Commands used to finish a libtool library installation in a directory. 20169 finish_cmds=$lt_finish_cmds 20170 20171 # Same as above, but a single script fragment to be evaled but not shown. 20172 finish_eval=$lt_finish_eval 20173 20174 # Take the output of nm and produce a listing of raw symbols and C names. 20175 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 20176 20177 # Transform the output of nm in a proper C declaration 20178 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 20179 20180 # Transform the output of nm in a C name address pair 20181 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 20182 20183 # This is the shared library runtime path variable. 20184 runpath_var=$runpath_var 20185 20186 # This is the shared library path variable. 20187 shlibpath_var=$shlibpath_var 20188 20189 # Is shlibpath searched before the hard-coded library search path? 20190 shlibpath_overrides_runpath=$shlibpath_overrides_runpath 20191 20192 # How to hardcode a shared library path into an executable. 20193 hardcode_action=$hardcode_action_RC 20194 20195 # Whether we should hardcode library paths into libraries. 20196 hardcode_into_libs=$hardcode_into_libs 20197 20198 # Flag to hardcode \$libdir into a binary during linking. 20199 # This must work even if \$libdir does not exist. 20200 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC 20201 20202 # If ld is used when linking, flag to hardcode \$libdir into 20203 # a binary during linking. This must work even if \$libdir does 20204 # not exist. 20205 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC 20206 20207 # Whether we need a single -rpath flag with a separated argument. 20208 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC 20209 20210 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the 20211 # resulting binary. 20212 hardcode_direct=$hardcode_direct_RC 20213 20214 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the 20215 # resulting binary. 20216 hardcode_minus_L=$hardcode_minus_L_RC 20217 20218 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into 20219 # the resulting binary. 20220 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC 20221 20222 # Set to yes if building a shared library automatically hardcodes DIR into the library 20223 # and all subsequent libraries and executables linked against it. 20224 hardcode_automatic=$hardcode_automatic_RC 20225 20226 # Variables whose values should be saved in libtool wrapper scripts and 20227 # restored at relink time. 20228 variables_saved_for_relink="$variables_saved_for_relink" 20229 20230 # Whether libtool must link a program against all its dependency libraries. 20231 link_all_deplibs=$link_all_deplibs_RC 20232 20233 # Compile-time system search path for libraries 20234 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 20235 20236 # Run-time system search path for libraries 20237 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 20238 20239 # Fix the shell variable \$srcfile for the compiler. 20240 fix_srcfile_path=$lt_fix_srcfile_path 20241 20242 # Set to yes if exported symbols are required. 20243 always_export_symbols=$always_export_symbols_RC 20244 20245 # The commands to list exported symbols. 20246 export_symbols_cmds=$lt_export_symbols_cmds_RC 20247 20248 # The commands to extract the exported symbol list from a shared archive. 20249 extract_expsyms_cmds=$lt_extract_expsyms_cmds 20250 20251 # Symbols that should not be listed in the preloaded symbols. 20252 exclude_expsyms=$lt_exclude_expsyms_RC 20253 20254 # Symbols that must always be exported. 20255 include_expsyms=$lt_include_expsyms_RC 20256 20257 # ### END LIBTOOL TAG CONFIG: $tagname 20258 20259 __EOF__ 20260 20261 20262 else 20263 # If there is no Makefile yet, we rely on a make rule to execute 20264 # `config.status --recheck' to rerun these tests and create the 20265 # libtool script then. 20266 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 20267 if test -f "$ltmain_in"; then 20268 test -f Makefile && make "$ltmain" 20269 fi 20270 fi 20271 20272 20273 ac_ext=c 20274 ac_cpp='$CPP $CPPFLAGS' 20275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20277 ac_compiler_gnu=$ac_cv_c_compiler_gnu 20278 20279 CC="$lt_save_CC" 20280 20281 ;; 20282 20283 *) 20284 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5 20285 echo "$as_me: error: Unsupported tag name: $tagname" >&2;} 20286 { (exit 1); exit 1; }; } 20287 ;; 20288 esac 20289 20290 # Append the new tag name to the list of available tags. 20291 if test -n "$tagname" ; then 20292 available_tags="$available_tags $tagname" 20293 fi 20294 fi 20295 done 20296 IFS="$lt_save_ifs" 20297 20298 # Now substitute the updated list of available tags. 20299 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then 20300 mv "${ofile}T" "$ofile" 20301 chmod +x "$ofile" 20302 else 20303 rm -f "${ofile}T" 20304 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5 20305 echo "$as_me: error: unable to update list of available tagged configurations." >&2;} 20306 { (exit 1); exit 1; }; } 20307 fi 20308 fi 20309 20310 20311 20312 # This can be used to rebuild libtool when needed 20313 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" 20314 20315 # Always use our own libtool. 20316 LIBTOOL='$(SHELL) $(top_builddir)/libtool' 20317 20318 # Prevent multiple expansion 20319 20320 20321 20322 20323 20324 20325 20326 20327 20328 20329 20330 20331 20332 20333 20334 20335 20336 20337 20338 20339 20340 20341 _cppflags="${CPPFLAGS}" 20342 _ldflags="${LDFLAGS}" 20343 20344 20345 # Check whether --with-c14n was given. 20346 if test "${with_c14n+set}" = set; then 20347 withval=$with_c14n; 20348 fi 20349 20350 20351 # Check whether --with-catalog was given. 20352 if test "${with_catalog+set}" = set; then 20353 withval=$with_catalog; 20354 fi 20355 20356 20357 # Check whether --with-debug was given. 20358 if test "${with_debug+set}" = set; then 20359 withval=$with_debug; 20360 fi 20361 20362 20363 # Check whether --with-docbook was given. 20364 if test "${with_docbook+set}" = set; then 20365 withval=$with_docbook; 20366 fi 20367 20368 20369 # Check whether --with-fexceptions was given. 20370 if test "${with_fexceptions+set}" = set; then 20371 withval=$with_fexceptions; 20372 fi 20373 20374 20375 # Check whether --with-ftp was given. 20376 if test "${with_ftp+set}" = set; then 20377 withval=$with_ftp; 20378 fi 20379 20380 20381 # Check whether --with-history was given. 20382 if test "${with_history+set}" = set; then 20383 withval=$with_history; 20384 fi 20385 20386 20387 # Check whether --with-html was given. 20388 if test "${with_html+set}" = set; then 20389 withval=$with_html; 20390 fi 20391 20392 20393 # Check whether --with-html-dir was given. 20394 if test "${with_html_dir+set}" = set; then 20395 withval=$with_html_dir; HTML_DIR=$withval 20396 else 20397 HTML_DIR='$(datadir)/doc' 20398 fi 20399 20400 20401 20402 # Check whether --with-html-subdir was given. 20403 if test "${with_html_subdir+set}" = set; then 20404 withval=$with_html_subdir; test "x$withval" != "x" && HTML_DIR="$HTML_DIR/$withval" 20405 else 20406 HTML_DIR="$HTML_DIR/\$(PACKAGE)-\$(VERSION)/html" 20407 fi 20408 20409 20410 20411 # Check whether --with-http was given. 20412 if test "${with_http+set}" = set; then 20413 withval=$with_http; 20414 fi 20415 20416 20417 # Check whether --with-iconv was given. 20418 if test "${with_iconv+set}" = set; then 20419 withval=$with_iconv; 20420 fi 20421 20422 20423 # Check whether --with-iso8859x was given. 20424 if test "${with_iso8859x+set}" = set; then 20425 withval=$with_iso8859x; 20426 fi 20427 20428 20429 # Check whether --with-legacy was given. 20430 if test "${with_legacy+set}" = set; then 20431 withval=$with_legacy; 20432 fi 20433 20434 20435 # Check whether --with-mem_debug was given. 20436 if test "${with_mem_debug+set}" = set; then 20437 withval=$with_mem_debug; 20438 fi 20439 20440 20441 # Check whether --with-minimum was given. 20442 if test "${with_minimum+set}" = set; then 20443 withval=$with_minimum; 20444 fi 20445 20446 20447 # Check whether --with-output was given. 20448 if test "${with_output+set}" = set; then 20449 withval=$with_output; 20450 fi 20451 20452 20453 # Check whether --with-pattern was given. 20454 if test "${with_pattern+set}" = set; then 20455 withval=$with_pattern; 20456 fi 20457 20458 20459 # Check whether --with-push was given. 20460 if test "${with_push+set}" = set; then 20461 withval=$with_push; 20462 fi 20463 20464 20465 # Check whether --with-python was given. 20466 if test "${with_python+set}" = set; then 20467 withval=$with_python; 20468 fi 20469 20470 20471 # Check whether --with-reader was given. 20472 if test "${with_reader+set}" = set; then 20473 withval=$with_reader; 20474 fi 20475 20476 20477 # Check whether --with-readline was given. 20478 if test "${with_readline+set}" = set; then 20479 withval=$with_readline; 20480 if test "$withval" != "no" -a "$withval" != "yes"; then 20481 RDL_DIR=$withval 20482 CPPFLAGS="${CPPFLAGS} -I$withval/include" 20483 LDFLAGS="${LDFLAGS} -L$withval/lib" 20484 fi 20485 20486 fi 20487 20488 20489 # Check whether --with-regexps was given. 20490 if test "${with_regexps+set}" = set; then 20491 withval=$with_regexps; 20492 fi 20493 20494 20495 # Check whether --with-run_debug was given. 20496 if test "${with_run_debug+set}" = set; then 20497 withval=$with_run_debug; 20498 fi 20499 20500 20501 # Check whether --with-sax1 was given. 20502 if test "${with_sax1+set}" = set; then 20503 withval=$with_sax1; 20504 fi 20505 20506 20507 # Check whether --with-schemas was given. 20508 if test "${with_schemas+set}" = set; then 20509 withval=$with_schemas; 20510 fi 20511 20512 20513 # Check whether --with-schematron was given. 20514 if test "${with_schematron+set}" = set; then 20515 withval=$with_schematron; 20516 fi 20517 20518 20519 # Check whether --with-threads was given. 20520 if test "${with_threads+set}" = set; then 20521 withval=$with_threads; 20522 fi 20523 20524 20525 # Check whether --with-thread-alloc was given. 20526 if test "${with_thread_alloc+set}" = set; then 20527 withval=$with_thread_alloc; 20528 fi 20529 20530 20531 # Check whether --with-tree was given. 20532 if test "${with_tree+set}" = set; then 20533 withval=$with_tree; 20534 fi 20535 20536 20537 # Check whether --with-valid was given. 20538 if test "${with_valid+set}" = set; then 20539 withval=$with_valid; 20540 fi 20541 20542 20543 # Check whether --with-writer was given. 20544 if test "${with_writer+set}" = set; then 20545 withval=$with_writer; 20546 fi 20547 20548 20549 # Check whether --with-xinclude was given. 20550 if test "${with_xinclude+set}" = set; then 20551 withval=$with_xinclude; 20552 fi 20553 20554 20555 # Check whether --with-xpath was given. 20556 if test "${with_xpath+set}" = set; then 20557 withval=$with_xpath; 20558 fi 20559 20560 20561 # Check whether --with-xptr was given. 20562 if test "${with_xptr+set}" = set; then 20563 withval=$with_xptr; 20564 fi 20565 20566 20567 # Check whether --with-modules was given. 20568 if test "${with_modules+set}" = set; then 20569 withval=$with_modules; 20570 fi 20571 20572 20573 # Check whether --with-zlib was given. 20574 if test "${with_zlib+set}" = set; then 20575 withval=$with_zlib; 20576 if test "$withval" != "no" -a "$withval" != "yes"; then 20577 Z_DIR=$withval 20578 CPPFLAGS="${CPPFLAGS} -I$withval/include" 20579 LDFLAGS="${LDFLAGS} -L$withval/lib" 20580 fi 20581 20582 fi 20583 20584 20585 # Check whether --with-coverage was given. 20586 if test "${with_coverage+set}" = set; then 20587 withval=$with_coverage; 20588 fi 20589 20590 20591 if test "$with_schemas" = "yes" 20592 then 20593 with_pattern=yes 20594 with_regexps=yes 20595 fi 20596 if test "$with_schematron" = "yes" 20597 then 20598 with_pattern=yes 20599 with_xpath=yes 20600 fi 20601 if test "$with_reader" = "yes" 20602 then 20603 with_push=yes 20604 fi 20605 if test "$with_xptr" = "yes" 20606 then 20607 with_xpath=yes 20608 fi 20609 if test "$with_minimum" = "yes" 20610 then 20611 echo "Configuring for a minimal library" 20612 if test "$with_c14n" = "" 20613 then 20614 with_c14n=no 20615 fi 20616 if test "$with_catalog" = "" 20617 then 20618 with_catalog=no 20619 fi 20620 echo So far so good! 20621 if test "$with_debug" = "" 20622 then 20623 with_debug=no 20624 fi 20625 if test "$with_docbook" = "" 20626 then 20627 with_docbook=no 20628 fi 20629 if test "$with_fexceptions" = "" 20630 then 20631 with_fexceptions=no 20632 fi 20633 if test "$with_ftp" = "" 20634 then 20635 with_ftp=no 20636 fi 20637 if test "$with_history" = "" 20638 then 20639 with_history=no 20640 fi 20641 if test "$with_html" = "" 20642 then 20643 with_html=no 20644 fi 20645 if test "$with_http" = "" 20646 then 20647 with_http=no 20648 fi 20649 if test "$with_iconv" = "" 20650 then 20651 with_iconv=no 20652 fi 20653 if test "$with_iso8859x" = "" 20654 then 20655 with_iso8859x=no 20656 fi 20657 if test "$with_legacy" = "" 20658 then 20659 with_legacy=no 20660 fi 20661 if test "$with_mem_debug" = "" 20662 then 20663 with_mem_debug=no 20664 fi 20665 if test "$with_output" = "" 20666 then 20667 with_output=no 20668 fi 20669 if test "$with_pattern" = "" 20670 then 20671 with_pattern=no 20672 fi 20673 if test "$with_push" = "" 20674 then 20675 with_push=no 20676 fi 20677 if test "$with_python" = "" 20678 then 20679 with_python=no 20680 fi 20681 if test "$with_reader" = "" 20682 then 20683 with_reader=no 20684 fi 20685 if test "$with_readline" = "" 20686 then 20687 with_readline=no 20688 fi 20689 if test "$with_regexps" = "" 20690 then 20691 with_regexps=no 20692 fi 20693 if test "$with_run_debug" = "" 20694 then 20695 with_run_debug=no 20696 fi 20697 if test "$with_sax1" = "" 20698 then 20699 with_sax1=no 20700 fi 20701 if test "$with_schemas" = "" 20702 then 20703 with_schemas=no 20704 fi 20705 if test "$with_schematron" = "" 20706 then 20707 with_schematron=no 20708 fi 20709 if test "$with_threads" = "" 20710 then 20711 with_threads=no 20712 fi 20713 if test "$with_thread_alloc" = "" 20714 then 20715 with_thread_alloc=no 20716 fi 20717 if test "$with_tree" = "" 20718 then 20719 with_tree=no 20720 fi 20721 if test "$with_valid" = "" 20722 then 20723 with_valid=no 20724 fi 20725 if test "$with_writer" = "" 20726 then 20727 with_writer=no 20728 fi 20729 if test "$with_xinclude" = "" 20730 then 20731 with_xinclude=no 20732 fi 20733 if test "$with_xpath" = "" 20734 then 20735 with_xpath=no 20736 fi 20737 if test "$with_xptr" = "" 20738 then 20739 with_xptr=no 20740 fi 20741 if test "$with_zlib" = "" 20742 then 20743 with_zlib=no 20744 fi 20745 if test "$with_modules" = "" 20746 then 20747 with_modules=no 20748 fi 20749 fi 20750 20751 echo Checking zlib 20752 20753 20754 WITH_ZLIB=0 20755 if test "$with_zlib" = "no"; then 20756 echo "Disabling compression support" 20757 else 20758 20759 for ac_header in zlib.h 20760 do 20761 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 20762 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 20763 { echo "$as_me:$LINENO: checking for $ac_header" >&5 20764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 20765 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 20766 echo $ECHO_N "(cached) $ECHO_C" >&6 20767 fi 20768 ac_res=`eval echo '${'$as_ac_Header'}'` 20769 { echo "$as_me:$LINENO: result: $ac_res" >&5 20770 echo "${ECHO_T}$ac_res" >&6; } 20771 else 20772 # Is the header compilable? 20773 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 20774 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 20775 cat >conftest.$ac_ext <<_ACEOF 20776 /* confdefs.h. */ 20777 _ACEOF 20778 cat confdefs.h >>conftest.$ac_ext 20779 cat >>conftest.$ac_ext <<_ACEOF 20780 /* end confdefs.h. */ 20781 $ac_includes_default 20782 #include <$ac_header> 20783 _ACEOF 20784 rm -f conftest.$ac_objext 20785 if { (ac_try="$ac_compile" 20786 case "(($ac_try" in 20787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20788 *) ac_try_echo=$ac_try;; 20789 esac 20790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20791 (eval "$ac_compile") 2>conftest.er1 20792 ac_status=$? 20793 grep -v '^ *+' conftest.er1 >conftest.err 20794 rm -f conftest.er1 20795 cat conftest.err >&5 20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20797 (exit $ac_status); } && { 20798 test -z "$ac_c_werror_flag" || 20799 test ! -s conftest.err 20800 } && test -s conftest.$ac_objext; then 20801 ac_header_compiler=yes 20802 else 20803 echo "$as_me: failed program was:" >&5 20804 sed 's/^/| /' conftest.$ac_ext >&5 20805 20806 ac_header_compiler=no 20807 fi 20808 20809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20810 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 20811 echo "${ECHO_T}$ac_header_compiler" >&6; } 20812 20813 # Is the header present? 20814 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 20815 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 20816 cat >conftest.$ac_ext <<_ACEOF 20817 /* confdefs.h. */ 20818 _ACEOF 20819 cat confdefs.h >>conftest.$ac_ext 20820 cat >>conftest.$ac_ext <<_ACEOF 20821 /* end confdefs.h. */ 20822 #include <$ac_header> 20823 _ACEOF 20824 if { (ac_try="$ac_cpp conftest.$ac_ext" 20825 case "(($ac_try" in 20826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20827 *) ac_try_echo=$ac_try;; 20828 esac 20829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20830 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 20831 ac_status=$? 20832 grep -v '^ *+' conftest.er1 >conftest.err 20833 rm -f conftest.er1 20834 cat conftest.err >&5 20835 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20836 (exit $ac_status); } >/dev/null && { 20837 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 20838 test ! -s conftest.err 20839 }; then 20840 ac_header_preproc=yes 20841 else 20842 echo "$as_me: failed program was:" >&5 20843 sed 's/^/| /' conftest.$ac_ext >&5 20844 20845 ac_header_preproc=no 20846 fi 20847 20848 rm -f conftest.err conftest.$ac_ext 20849 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 20850 echo "${ECHO_T}$ac_header_preproc" >&6; } 20851 20852 # So? What about this header? 20853 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 20854 yes:no: ) 20855 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 20856 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 20857 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 20858 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 20859 ac_header_preproc=yes 20860 ;; 20861 no:yes:* ) 20862 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 20863 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 20864 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 20865 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 20866 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 20867 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 20868 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 20869 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 20870 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 20871 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 20872 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 20873 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 20874 20875 ;; 20876 esac 20877 { echo "$as_me:$LINENO: checking for $ac_header" >&5 20878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 20879 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 20880 echo $ECHO_N "(cached) $ECHO_C" >&6 20881 else 20882 eval "$as_ac_Header=\$ac_header_preproc" 20883 fi 20884 ac_res=`eval echo '${'$as_ac_Header'}'` 20885 { echo "$as_me:$LINENO: result: $ac_res" >&5 20886 echo "${ECHO_T}$ac_res" >&6; } 20887 20888 fi 20889 if test `eval echo '${'$as_ac_Header'}'` = yes; then 20890 cat >>confdefs.h <<_ACEOF 20891 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 20892 _ACEOF 20893 { echo "$as_me:$LINENO: checking for gzread in -lz" >&5 20894 echo $ECHO_N "checking for gzread in -lz... $ECHO_C" >&6; } 20895 if test "${ac_cv_lib_z_gzread+set}" = set; then 20896 echo $ECHO_N "(cached) $ECHO_C" >&6 20897 else 20898 ac_check_lib_save_LIBS=$LIBS 20899 LIBS="-lz $LIBS" 20900 cat >conftest.$ac_ext <<_ACEOF 20901 /* confdefs.h. */ 20902 _ACEOF 20903 cat confdefs.h >>conftest.$ac_ext 20904 cat >>conftest.$ac_ext <<_ACEOF 20905 /* end confdefs.h. */ 20906 20907 /* Override any GCC internal prototype to avoid an error. 20908 Use char because int might match the return type of a GCC 20909 builtin and then its argument prototype would still apply. */ 20910 #ifdef __cplusplus 20911 extern "C" 20912 #endif 20913 char gzread (); 20914 int 20915 main () 20916 { 20917 return gzread (); 20918 ; 20919 return 0; 20920 } 20921 _ACEOF 20922 rm -f conftest.$ac_objext conftest$ac_exeext 20923 if { (ac_try="$ac_link" 20924 case "(($ac_try" in 20925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20926 *) ac_try_echo=$ac_try;; 20927 esac 20928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20929 (eval "$ac_link") 2>conftest.er1 20930 ac_status=$? 20931 grep -v '^ *+' conftest.er1 >conftest.err 20932 rm -f conftest.er1 20933 cat conftest.err >&5 20934 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20935 (exit $ac_status); } && { 20936 test -z "$ac_c_werror_flag" || 20937 test ! -s conftest.err 20938 } && test -s conftest$ac_exeext && 20939 $as_test_x conftest$ac_exeext; then 20940 ac_cv_lib_z_gzread=yes 20941 else 20942 echo "$as_me: failed program was:" >&5 20943 sed 's/^/| /' conftest.$ac_ext >&5 20944 20945 ac_cv_lib_z_gzread=no 20946 fi 20947 20948 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20949 conftest$ac_exeext conftest.$ac_ext 20950 LIBS=$ac_check_lib_save_LIBS 20951 fi 20952 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzread" >&5 20953 echo "${ECHO_T}$ac_cv_lib_z_gzread" >&6; } 20954 if test $ac_cv_lib_z_gzread = yes; then 20955 20956 20957 cat >>confdefs.h <<\_ACEOF 20958 #define HAVE_LIBZ 1 20959 _ACEOF 20960 20961 WITH_ZLIB=1 20962 if test "x${Z_DIR}" != "x"; then 20963 Z_CFLAGS="-I${Z_DIR}/include" 20964 Z_LIBS="-L${Z_DIR}/lib -lz" 20965 case ${host} in 20966 *-*-solaris*) 20967 Z_LIBS="-L${Z_DIR}/lib -R${Z_DIR}/lib -lz" 20968 ;; 20969 esac 20970 else 20971 Z_LIBS="-lz" 20972 fi 20973 fi 20974 20975 fi 20976 20977 done 20978 20979 fi 20980 20981 20982 20983 20984 20985 CPPFLAGS=${_cppflags} 20986 LDFLAGS=${_ldflags} 20987 20988 echo Checking headers 20989 20990 20991 20992 20993 20994 20995 ac_header_dirent=no 20996 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 20997 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 20998 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 20999 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; } 21000 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21001 echo $ECHO_N "(cached) $ECHO_C" >&6 21002 else 21003 cat >conftest.$ac_ext <<_ACEOF 21004 /* confdefs.h. */ 21005 _ACEOF 21006 cat confdefs.h >>conftest.$ac_ext 21007 cat >>conftest.$ac_ext <<_ACEOF 21008 /* end confdefs.h. */ 21009 #include <sys/types.h> 21010 #include <$ac_hdr> 21011 21012 int 21013 main () 21014 { 21015 if ((DIR *) 0) 21016 return 0; 21017 ; 21018 return 0; 21019 } 21020 _ACEOF 21021 rm -f conftest.$ac_objext 21022 if { (ac_try="$ac_compile" 21023 case "(($ac_try" in 21024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21025 *) ac_try_echo=$ac_try;; 21026 esac 21027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21028 (eval "$ac_compile") 2>conftest.er1 21029 ac_status=$? 21030 grep -v '^ *+' conftest.er1 >conftest.err 21031 rm -f conftest.er1 21032 cat conftest.err >&5 21033 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21034 (exit $ac_status); } && { 21035 test -z "$ac_c_werror_flag" || 21036 test ! -s conftest.err 21037 } && test -s conftest.$ac_objext; then 21038 eval "$as_ac_Header=yes" 21039 else 21040 echo "$as_me: failed program was:" >&5 21041 sed 's/^/| /' conftest.$ac_ext >&5 21042 21043 eval "$as_ac_Header=no" 21044 fi 21045 21046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21047 fi 21048 ac_res=`eval echo '${'$as_ac_Header'}'` 21049 { echo "$as_me:$LINENO: result: $ac_res" >&5 21050 echo "${ECHO_T}$ac_res" >&6; } 21051 if test `eval echo '${'$as_ac_Header'}'` = yes; then 21052 cat >>confdefs.h <<_ACEOF 21053 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 21054 _ACEOF 21055 21056 ac_header_dirent=$ac_hdr; break 21057 fi 21058 21059 done 21060 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 21061 if test $ac_header_dirent = dirent.h; then 21062 { echo "$as_me:$LINENO: checking for library containing opendir" >&5 21063 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } 21064 if test "${ac_cv_search_opendir+set}" = set; then 21065 echo $ECHO_N "(cached) $ECHO_C" >&6 21066 else 21067 ac_func_search_save_LIBS=$LIBS 21068 cat >conftest.$ac_ext <<_ACEOF 21069 /* confdefs.h. */ 21070 _ACEOF 21071 cat confdefs.h >>conftest.$ac_ext 21072 cat >>conftest.$ac_ext <<_ACEOF 21073 /* end confdefs.h. */ 21074 21075 /* Override any GCC internal prototype to avoid an error. 21076 Use char because int might match the return type of a GCC 21077 builtin and then its argument prototype would still apply. */ 21078 #ifdef __cplusplus 21079 extern "C" 21080 #endif 21081 char opendir (); 21082 int 21083 main () 21084 { 21085 return opendir (); 21086 ; 21087 return 0; 21088 } 21089 _ACEOF 21090 for ac_lib in '' dir; do 21091 if test -z "$ac_lib"; then 21092 ac_res="none required" 21093 else 21094 ac_res=-l$ac_lib 21095 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 21096 fi 21097 rm -f conftest.$ac_objext conftest$ac_exeext 21098 if { (ac_try="$ac_link" 21099 case "(($ac_try" in 21100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21101 *) ac_try_echo=$ac_try;; 21102 esac 21103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21104 (eval "$ac_link") 2>conftest.er1 21105 ac_status=$? 21106 grep -v '^ *+' conftest.er1 >conftest.err 21107 rm -f conftest.er1 21108 cat conftest.err >&5 21109 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21110 (exit $ac_status); } && { 21111 test -z "$ac_c_werror_flag" || 21112 test ! -s conftest.err 21113 } && test -s conftest$ac_exeext && 21114 $as_test_x conftest$ac_exeext; then 21115 ac_cv_search_opendir=$ac_res 21116 else 21117 echo "$as_me: failed program was:" >&5 21118 sed 's/^/| /' conftest.$ac_ext >&5 21119 21120 21121 fi 21122 21123 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 21124 conftest$ac_exeext 21125 if test "${ac_cv_search_opendir+set}" = set; then 21126 break 21127 fi 21128 done 21129 if test "${ac_cv_search_opendir+set}" = set; then 21130 : 21131 else 21132 ac_cv_search_opendir=no 21133 fi 21134 rm conftest.$ac_ext 21135 LIBS=$ac_func_search_save_LIBS 21136 fi 21137 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 21138 echo "${ECHO_T}$ac_cv_search_opendir" >&6; } 21139 ac_res=$ac_cv_search_opendir 21140 if test "$ac_res" != no; then 21141 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 21142 21143 fi 21144 21145 else 21146 { echo "$as_me:$LINENO: checking for library containing opendir" >&5 21147 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } 21148 if test "${ac_cv_search_opendir+set}" = set; then 21149 echo $ECHO_N "(cached) $ECHO_C" >&6 21150 else 21151 ac_func_search_save_LIBS=$LIBS 21152 cat >conftest.$ac_ext <<_ACEOF 21153 /* confdefs.h. */ 21154 _ACEOF 21155 cat confdefs.h >>conftest.$ac_ext 21156 cat >>conftest.$ac_ext <<_ACEOF 21157 /* end confdefs.h. */ 21158 21159 /* Override any GCC internal prototype to avoid an error. 21160 Use char because int might match the return type of a GCC 21161 builtin and then its argument prototype would still apply. */ 21162 #ifdef __cplusplus 21163 extern "C" 21164 #endif 21165 char opendir (); 21166 int 21167 main () 21168 { 21169 return opendir (); 21170 ; 21171 return 0; 21172 } 21173 _ACEOF 21174 for ac_lib in '' x; do 21175 if test -z "$ac_lib"; then 21176 ac_res="none required" 21177 else 21178 ac_res=-l$ac_lib 21179 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 21180 fi 21181 rm -f conftest.$ac_objext conftest$ac_exeext 21182 if { (ac_try="$ac_link" 21183 case "(($ac_try" in 21184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21185 *) ac_try_echo=$ac_try;; 21186 esac 21187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21188 (eval "$ac_link") 2>conftest.er1 21189 ac_status=$? 21190 grep -v '^ *+' conftest.er1 >conftest.err 21191 rm -f conftest.er1 21192 cat conftest.err >&5 21193 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21194 (exit $ac_status); } && { 21195 test -z "$ac_c_werror_flag" || 21196 test ! -s conftest.err 21197 } && test -s conftest$ac_exeext && 21198 $as_test_x conftest$ac_exeext; then 21199 ac_cv_search_opendir=$ac_res 21200 else 21201 echo "$as_me: failed program was:" >&5 21202 sed 's/^/| /' conftest.$ac_ext >&5 21203 21204 21205 fi 21206 21207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 21208 conftest$ac_exeext 21209 if test "${ac_cv_search_opendir+set}" = set; then 21210 break 21211 fi 21212 done 21213 if test "${ac_cv_search_opendir+set}" = set; then 21214 : 21215 else 21216 ac_cv_search_opendir=no 21217 fi 21218 rm conftest.$ac_ext 21219 LIBS=$ac_func_search_save_LIBS 21220 fi 21221 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 21222 echo "${ECHO_T}$ac_cv_search_opendir" >&6; } 21223 ac_res=$ac_cv_search_opendir 21224 if test "$ac_res" != no; then 21225 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 21226 21227 fi 21228 21229 fi 21230 21231 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 21232 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 21233 if test "${ac_cv_header_stdc+set}" = set; then 21234 echo $ECHO_N "(cached) $ECHO_C" >&6 21235 else 21236 cat >conftest.$ac_ext <<_ACEOF 21237 /* confdefs.h. */ 21238 _ACEOF 21239 cat confdefs.h >>conftest.$ac_ext 21240 cat >>conftest.$ac_ext <<_ACEOF 21241 /* end confdefs.h. */ 21242 #include <stdlib.h> 21243 #include <stdarg.h> 21244 #include <string.h> 21245 #include <float.h> 21246 21247 int 21248 main () 21249 { 21250 21251 ; 21252 return 0; 21253 } 21254 _ACEOF 21255 rm -f conftest.$ac_objext 21256 if { (ac_try="$ac_compile" 21257 case "(($ac_try" in 21258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21259 *) ac_try_echo=$ac_try;; 21260 esac 21261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21262 (eval "$ac_compile") 2>conftest.er1 21263 ac_status=$? 21264 grep -v '^ *+' conftest.er1 >conftest.err 21265 rm -f conftest.er1 21266 cat conftest.err >&5 21267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21268 (exit $ac_status); } && { 21269 test -z "$ac_c_werror_flag" || 21270 test ! -s conftest.err 21271 } && test -s conftest.$ac_objext; then 21272 ac_cv_header_stdc=yes 21273 else 21274 echo "$as_me: failed program was:" >&5 21275 sed 's/^/| /' conftest.$ac_ext >&5 21276 21277 ac_cv_header_stdc=no 21278 fi 21279 21280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21281 21282 if test $ac_cv_header_stdc = yes; then 21283 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 21284 cat >conftest.$ac_ext <<_ACEOF 21285 /* confdefs.h. */ 21286 _ACEOF 21287 cat confdefs.h >>conftest.$ac_ext 21288 cat >>conftest.$ac_ext <<_ACEOF 21289 /* end confdefs.h. */ 21290 #include <string.h> 21291 21292 _ACEOF 21293 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 21294 $EGREP "memchr" >/dev/null 2>&1; then 21295 : 21296 else 21297 ac_cv_header_stdc=no 21298 fi 21299 rm -f conftest* 21300 21301 fi 21302 21303 if test $ac_cv_header_stdc = yes; then 21304 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 21305 cat >conftest.$ac_ext <<_ACEOF 21306 /* confdefs.h. */ 21307 _ACEOF 21308 cat confdefs.h >>conftest.$ac_ext 21309 cat >>conftest.$ac_ext <<_ACEOF 21310 /* end confdefs.h. */ 21311 #include <stdlib.h> 21312 21313 _ACEOF 21314 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 21315 $EGREP "free" >/dev/null 2>&1; then 21316 : 21317 else 21318 ac_cv_header_stdc=no 21319 fi 21320 rm -f conftest* 21321 21322 fi 21323 21324 if test $ac_cv_header_stdc = yes; then 21325 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 21326 if test "$cross_compiling" = yes; then 21327 : 21328 else 21329 cat >conftest.$ac_ext <<_ACEOF 21330 /* confdefs.h. */ 21331 _ACEOF 21332 cat confdefs.h >>conftest.$ac_ext 21333 cat >>conftest.$ac_ext <<_ACEOF 21334 /* end confdefs.h. */ 21335 #include <ctype.h> 21336 #include <stdlib.h> 21337 #if ((' ' & 0x0FF) == 0x020) 21338 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 21339 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 21340 #else 21341 # define ISLOWER(c) \ 21342 (('a' <= (c) && (c) <= 'i') \ 21343 || ('j' <= (c) && (c) <= 'r') \ 21344 || ('s' <= (c) && (c) <= 'z')) 21345 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 21346 #endif 21347 21348 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 21349 int 21350 main () 21351 { 21352 int i; 21353 for (i = 0; i < 256; i++) 21354 if (XOR (islower (i), ISLOWER (i)) 21355 || toupper (i) != TOUPPER (i)) 21356 return 2; 21357 return 0; 21358 } 21359 _ACEOF 21360 rm -f conftest$ac_exeext 21361 if { (ac_try="$ac_link" 21362 case "(($ac_try" in 21363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21364 *) ac_try_echo=$ac_try;; 21365 esac 21366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21367 (eval "$ac_link") 2>&5 21368 ac_status=$? 21369 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21370 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 21371 { (case "(($ac_try" in 21372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21373 *) ac_try_echo=$ac_try;; 21374 esac 21375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21376 (eval "$ac_try") 2>&5 21377 ac_status=$? 21378 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21379 (exit $ac_status); }; }; then 21380 : 21381 else 21382 echo "$as_me: program exited with status $ac_status" >&5 21383 echo "$as_me: failed program was:" >&5 21384 sed 's/^/| /' conftest.$ac_ext >&5 21385 21386 ( exit $ac_status ) 21387 ac_cv_header_stdc=no 21388 fi 21389 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 21390 fi 21391 21392 21393 fi 21394 fi 21395 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 21396 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 21397 if test $ac_cv_header_stdc = yes; then 21398 21399 cat >>confdefs.h <<\_ACEOF 21400 #define STDC_HEADERS 1 21401 _ACEOF 21402 21403 fi 21404 21405 21406 for ac_header in fcntl.h 21407 do 21408 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 21409 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21410 { echo "$as_me:$LINENO: checking for $ac_header" >&5 21411 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 21412 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21413 echo $ECHO_N "(cached) $ECHO_C" >&6 21414 fi 21415 ac_res=`eval echo '${'$as_ac_Header'}'` 21416 { echo "$as_me:$LINENO: result: $ac_res" >&5 21417 echo "${ECHO_T}$ac_res" >&6; } 21418 else 21419 # Is the header compilable? 21420 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 21421 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 21422 cat >conftest.$ac_ext <<_ACEOF 21423 /* confdefs.h. */ 21424 _ACEOF 21425 cat confdefs.h >>conftest.$ac_ext 21426 cat >>conftest.$ac_ext <<_ACEOF 21427 /* end confdefs.h. */ 21428 $ac_includes_default 21429 #include <$ac_header> 21430 _ACEOF 21431 rm -f conftest.$ac_objext 21432 if { (ac_try="$ac_compile" 21433 case "(($ac_try" in 21434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21435 *) ac_try_echo=$ac_try;; 21436 esac 21437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21438 (eval "$ac_compile") 2>conftest.er1 21439 ac_status=$? 21440 grep -v '^ *+' conftest.er1 >conftest.err 21441 rm -f conftest.er1 21442 cat conftest.err >&5 21443 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21444 (exit $ac_status); } && { 21445 test -z "$ac_c_werror_flag" || 21446 test ! -s conftest.err 21447 } && test -s conftest.$ac_objext; then 21448 ac_header_compiler=yes 21449 else 21450 echo "$as_me: failed program was:" >&5 21451 sed 's/^/| /' conftest.$ac_ext >&5 21452 21453 ac_header_compiler=no 21454 fi 21455 21456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21457 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 21458 echo "${ECHO_T}$ac_header_compiler" >&6; } 21459 21460 # Is the header present? 21461 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 21462 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 21463 cat >conftest.$ac_ext <<_ACEOF 21464 /* confdefs.h. */ 21465 _ACEOF 21466 cat confdefs.h >>conftest.$ac_ext 21467 cat >>conftest.$ac_ext <<_ACEOF 21468 /* end confdefs.h. */ 21469 #include <$ac_header> 21470 _ACEOF 21471 if { (ac_try="$ac_cpp conftest.$ac_ext" 21472 case "(($ac_try" in 21473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21474 *) ac_try_echo=$ac_try;; 21475 esac 21476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21477 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 21478 ac_status=$? 21479 grep -v '^ *+' conftest.er1 >conftest.err 21480 rm -f conftest.er1 21481 cat conftest.err >&5 21482 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21483 (exit $ac_status); } >/dev/null && { 21484 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 21485 test ! -s conftest.err 21486 }; then 21487 ac_header_preproc=yes 21488 else 21489 echo "$as_me: failed program was:" >&5 21490 sed 's/^/| /' conftest.$ac_ext >&5 21491 21492 ac_header_preproc=no 21493 fi 21494 21495 rm -f conftest.err conftest.$ac_ext 21496 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 21497 echo "${ECHO_T}$ac_header_preproc" >&6; } 21498 21499 # So? What about this header? 21500 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 21501 yes:no: ) 21502 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 21503 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 21504 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 21505 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 21506 ac_header_preproc=yes 21507 ;; 21508 no:yes:* ) 21509 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 21510 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 21511 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 21512 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 21513 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 21514 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 21515 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 21516 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 21517 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 21518 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 21519 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 21520 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 21521 21522 ;; 21523 esac 21524 { echo "$as_me:$LINENO: checking for $ac_header" >&5 21525 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 21526 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21527 echo $ECHO_N "(cached) $ECHO_C" >&6 21528 else 21529 eval "$as_ac_Header=\$ac_header_preproc" 21530 fi 21531 ac_res=`eval echo '${'$as_ac_Header'}'` 21532 { echo "$as_me:$LINENO: result: $ac_res" >&5 21533 echo "${ECHO_T}$ac_res" >&6; } 21534 21535 fi 21536 if test `eval echo '${'$as_ac_Header'}'` = yes; then 21537 cat >>confdefs.h <<_ACEOF 21538 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 21539 _ACEOF 21540 21541 fi 21542 21543 done 21544 21545 21546 for ac_header in unistd.h 21547 do 21548 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 21549 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21550 { echo "$as_me:$LINENO: checking for $ac_header" >&5 21551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 21552 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21553 echo $ECHO_N "(cached) $ECHO_C" >&6 21554 fi 21555 ac_res=`eval echo '${'$as_ac_Header'}'` 21556 { echo "$as_me:$LINENO: result: $ac_res" >&5 21557 echo "${ECHO_T}$ac_res" >&6; } 21558 else 21559 # Is the header compilable? 21560 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 21561 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 21562 cat >conftest.$ac_ext <<_ACEOF 21563 /* confdefs.h. */ 21564 _ACEOF 21565 cat confdefs.h >>conftest.$ac_ext 21566 cat >>conftest.$ac_ext <<_ACEOF 21567 /* end confdefs.h. */ 21568 $ac_includes_default 21569 #include <$ac_header> 21570 _ACEOF 21571 rm -f conftest.$ac_objext 21572 if { (ac_try="$ac_compile" 21573 case "(($ac_try" in 21574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21575 *) ac_try_echo=$ac_try;; 21576 esac 21577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21578 (eval "$ac_compile") 2>conftest.er1 21579 ac_status=$? 21580 grep -v '^ *+' conftest.er1 >conftest.err 21581 rm -f conftest.er1 21582 cat conftest.err >&5 21583 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21584 (exit $ac_status); } && { 21585 test -z "$ac_c_werror_flag" || 21586 test ! -s conftest.err 21587 } && test -s conftest.$ac_objext; then 21588 ac_header_compiler=yes 21589 else 21590 echo "$as_me: failed program was:" >&5 21591 sed 's/^/| /' conftest.$ac_ext >&5 21592 21593 ac_header_compiler=no 21594 fi 21595 21596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21597 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 21598 echo "${ECHO_T}$ac_header_compiler" >&6; } 21599 21600 # Is the header present? 21601 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 21602 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 21603 cat >conftest.$ac_ext <<_ACEOF 21604 /* confdefs.h. */ 21605 _ACEOF 21606 cat confdefs.h >>conftest.$ac_ext 21607 cat >>conftest.$ac_ext <<_ACEOF 21608 /* end confdefs.h. */ 21609 #include <$ac_header> 21610 _ACEOF 21611 if { (ac_try="$ac_cpp conftest.$ac_ext" 21612 case "(($ac_try" in 21613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21614 *) ac_try_echo=$ac_try;; 21615 esac 21616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21617 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 21618 ac_status=$? 21619 grep -v '^ *+' conftest.er1 >conftest.err 21620 rm -f conftest.er1 21621 cat conftest.err >&5 21622 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21623 (exit $ac_status); } >/dev/null && { 21624 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 21625 test ! -s conftest.err 21626 }; then 21627 ac_header_preproc=yes 21628 else 21629 echo "$as_me: failed program was:" >&5 21630 sed 's/^/| /' conftest.$ac_ext >&5 21631 21632 ac_header_preproc=no 21633 fi 21634 21635 rm -f conftest.err conftest.$ac_ext 21636 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 21637 echo "${ECHO_T}$ac_header_preproc" >&6; } 21638 21639 # So? What about this header? 21640 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 21641 yes:no: ) 21642 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 21643 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 21644 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 21645 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 21646 ac_header_preproc=yes 21647 ;; 21648 no:yes:* ) 21649 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 21650 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 21651 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 21652 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 21653 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 21654 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 21655 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 21656 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 21657 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 21658 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 21659 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 21660 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 21661 21662 ;; 21663 esac 21664 { echo "$as_me:$LINENO: checking for $ac_header" >&5 21665 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 21666 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21667 echo $ECHO_N "(cached) $ECHO_C" >&6 21668 else 21669 eval "$as_ac_Header=\$ac_header_preproc" 21670 fi 21671 ac_res=`eval echo '${'$as_ac_Header'}'` 21672 { echo "$as_me:$LINENO: result: $ac_res" >&5 21673 echo "${ECHO_T}$ac_res" >&6; } 21674 21675 fi 21676 if test `eval echo '${'$as_ac_Header'}'` = yes; then 21677 cat >>confdefs.h <<_ACEOF 21678 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 21679 _ACEOF 21680 21681 fi 21682 21683 done 21684 21685 21686 for ac_header in ctype.h 21687 do 21688 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 21689 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21690 { echo "$as_me:$LINENO: checking for $ac_header" >&5 21691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 21692 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21693 echo $ECHO_N "(cached) $ECHO_C" >&6 21694 fi 21695 ac_res=`eval echo '${'$as_ac_Header'}'` 21696 { echo "$as_me:$LINENO: result: $ac_res" >&5 21697 echo "${ECHO_T}$ac_res" >&6; } 21698 else 21699 # Is the header compilable? 21700 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 21701 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 21702 cat >conftest.$ac_ext <<_ACEOF 21703 /* confdefs.h. */ 21704 _ACEOF 21705 cat confdefs.h >>conftest.$ac_ext 21706 cat >>conftest.$ac_ext <<_ACEOF 21707 /* end confdefs.h. */ 21708 $ac_includes_default 21709 #include <$ac_header> 21710 _ACEOF 21711 rm -f conftest.$ac_objext 21712 if { (ac_try="$ac_compile" 21713 case "(($ac_try" in 21714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21715 *) ac_try_echo=$ac_try;; 21716 esac 21717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21718 (eval "$ac_compile") 2>conftest.er1 21719 ac_status=$? 21720 grep -v '^ *+' conftest.er1 >conftest.err 21721 rm -f conftest.er1 21722 cat conftest.err >&5 21723 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21724 (exit $ac_status); } && { 21725 test -z "$ac_c_werror_flag" || 21726 test ! -s conftest.err 21727 } && test -s conftest.$ac_objext; then 21728 ac_header_compiler=yes 21729 else 21730 echo "$as_me: failed program was:" >&5 21731 sed 's/^/| /' conftest.$ac_ext >&5 21732 21733 ac_header_compiler=no 21734 fi 21735 21736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21737 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 21738 echo "${ECHO_T}$ac_header_compiler" >&6; } 21739 21740 # Is the header present? 21741 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 21742 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 21743 cat >conftest.$ac_ext <<_ACEOF 21744 /* confdefs.h. */ 21745 _ACEOF 21746 cat confdefs.h >>conftest.$ac_ext 21747 cat >>conftest.$ac_ext <<_ACEOF 21748 /* end confdefs.h. */ 21749 #include <$ac_header> 21750 _ACEOF 21751 if { (ac_try="$ac_cpp conftest.$ac_ext" 21752 case "(($ac_try" in 21753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21754 *) ac_try_echo=$ac_try;; 21755 esac 21756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21757 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 21758 ac_status=$? 21759 grep -v '^ *+' conftest.er1 >conftest.err 21760 rm -f conftest.er1 21761 cat conftest.err >&5 21762 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21763 (exit $ac_status); } >/dev/null && { 21764 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 21765 test ! -s conftest.err 21766 }; then 21767 ac_header_preproc=yes 21768 else 21769 echo "$as_me: failed program was:" >&5 21770 sed 's/^/| /' conftest.$ac_ext >&5 21771 21772 ac_header_preproc=no 21773 fi 21774 21775 rm -f conftest.err conftest.$ac_ext 21776 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 21777 echo "${ECHO_T}$ac_header_preproc" >&6; } 21778 21779 # So? What about this header? 21780 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 21781 yes:no: ) 21782 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 21783 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 21784 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 21785 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 21786 ac_header_preproc=yes 21787 ;; 21788 no:yes:* ) 21789 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 21790 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 21791 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 21792 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 21793 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 21794 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 21795 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 21796 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 21797 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 21798 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 21799 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 21800 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 21801 21802 ;; 21803 esac 21804 { echo "$as_me:$LINENO: checking for $ac_header" >&5 21805 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 21806 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21807 echo $ECHO_N "(cached) $ECHO_C" >&6 21808 else 21809 eval "$as_ac_Header=\$ac_header_preproc" 21810 fi 21811 ac_res=`eval echo '${'$as_ac_Header'}'` 21812 { echo "$as_me:$LINENO: result: $ac_res" >&5 21813 echo "${ECHO_T}$ac_res" >&6; } 21814 21815 fi 21816 if test `eval echo '${'$as_ac_Header'}'` = yes; then 21817 cat >>confdefs.h <<_ACEOF 21818 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 21819 _ACEOF 21820 21821 fi 21822 21823 done 21824 21825 21826 for ac_header in dirent.h 21827 do 21828 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 21829 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21830 { echo "$as_me:$LINENO: checking for $ac_header" >&5 21831 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 21832 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21833 echo $ECHO_N "(cached) $ECHO_C" >&6 21834 fi 21835 ac_res=`eval echo '${'$as_ac_Header'}'` 21836 { echo "$as_me:$LINENO: result: $ac_res" >&5 21837 echo "${ECHO_T}$ac_res" >&6; } 21838 else 21839 # Is the header compilable? 21840 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 21841 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 21842 cat >conftest.$ac_ext <<_ACEOF 21843 /* confdefs.h. */ 21844 _ACEOF 21845 cat confdefs.h >>conftest.$ac_ext 21846 cat >>conftest.$ac_ext <<_ACEOF 21847 /* end confdefs.h. */ 21848 $ac_includes_default 21849 #include <$ac_header> 21850 _ACEOF 21851 rm -f conftest.$ac_objext 21852 if { (ac_try="$ac_compile" 21853 case "(($ac_try" in 21854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21855 *) ac_try_echo=$ac_try;; 21856 esac 21857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21858 (eval "$ac_compile") 2>conftest.er1 21859 ac_status=$? 21860 grep -v '^ *+' conftest.er1 >conftest.err 21861 rm -f conftest.er1 21862 cat conftest.err >&5 21863 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21864 (exit $ac_status); } && { 21865 test -z "$ac_c_werror_flag" || 21866 test ! -s conftest.err 21867 } && test -s conftest.$ac_objext; then 21868 ac_header_compiler=yes 21869 else 21870 echo "$as_me: failed program was:" >&5 21871 sed 's/^/| /' conftest.$ac_ext >&5 21872 21873 ac_header_compiler=no 21874 fi 21875 21876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21877 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 21878 echo "${ECHO_T}$ac_header_compiler" >&6; } 21879 21880 # Is the header present? 21881 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 21882 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 21883 cat >conftest.$ac_ext <<_ACEOF 21884 /* confdefs.h. */ 21885 _ACEOF 21886 cat confdefs.h >>conftest.$ac_ext 21887 cat >>conftest.$ac_ext <<_ACEOF 21888 /* end confdefs.h. */ 21889 #include <$ac_header> 21890 _ACEOF 21891 if { (ac_try="$ac_cpp conftest.$ac_ext" 21892 case "(($ac_try" in 21893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21894 *) ac_try_echo=$ac_try;; 21895 esac 21896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21897 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 21898 ac_status=$? 21899 grep -v '^ *+' conftest.er1 >conftest.err 21900 rm -f conftest.er1 21901 cat conftest.err >&5 21902 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21903 (exit $ac_status); } >/dev/null && { 21904 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 21905 test ! -s conftest.err 21906 }; then 21907 ac_header_preproc=yes 21908 else 21909 echo "$as_me: failed program was:" >&5 21910 sed 's/^/| /' conftest.$ac_ext >&5 21911 21912 ac_header_preproc=no 21913 fi 21914 21915 rm -f conftest.err conftest.$ac_ext 21916 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 21917 echo "${ECHO_T}$ac_header_preproc" >&6; } 21918 21919 # So? What about this header? 21920 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 21921 yes:no: ) 21922 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 21923 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 21924 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 21925 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 21926 ac_header_preproc=yes 21927 ;; 21928 no:yes:* ) 21929 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 21930 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 21931 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 21932 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 21933 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 21934 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 21935 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 21936 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 21937 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 21938 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 21939 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 21940 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 21941 21942 ;; 21943 esac 21944 { echo "$as_me:$LINENO: checking for $ac_header" >&5 21945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 21946 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21947 echo $ECHO_N "(cached) $ECHO_C" >&6 21948 else 21949 eval "$as_ac_Header=\$ac_header_preproc" 21950 fi 21951 ac_res=`eval echo '${'$as_ac_Header'}'` 21952 { echo "$as_me:$LINENO: result: $ac_res" >&5 21953 echo "${ECHO_T}$ac_res" >&6; } 21954 21955 fi 21956 if test `eval echo '${'$as_ac_Header'}'` = yes; then 21957 cat >>confdefs.h <<_ACEOF 21958 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 21959 _ACEOF 21960 21961 fi 21962 21963 done 21964 21965 21966 for ac_header in errno.h 21967 do 21968 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 21969 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21970 { echo "$as_me:$LINENO: checking for $ac_header" >&5 21971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 21972 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21973 echo $ECHO_N "(cached) $ECHO_C" >&6 21974 fi 21975 ac_res=`eval echo '${'$as_ac_Header'}'` 21976 { echo "$as_me:$LINENO: result: $ac_res" >&5 21977 echo "${ECHO_T}$ac_res" >&6; } 21978 else 21979 # Is the header compilable? 21980 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 21981 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 21982 cat >conftest.$ac_ext <<_ACEOF 21983 /* confdefs.h. */ 21984 _ACEOF 21985 cat confdefs.h >>conftest.$ac_ext 21986 cat >>conftest.$ac_ext <<_ACEOF 21987 /* end confdefs.h. */ 21988 $ac_includes_default 21989 #include <$ac_header> 21990 _ACEOF 21991 rm -f conftest.$ac_objext 21992 if { (ac_try="$ac_compile" 21993 case "(($ac_try" in 21994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21995 *) ac_try_echo=$ac_try;; 21996 esac 21997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21998 (eval "$ac_compile") 2>conftest.er1 21999 ac_status=$? 22000 grep -v '^ *+' conftest.er1 >conftest.err 22001 rm -f conftest.er1 22002 cat conftest.err >&5 22003 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22004 (exit $ac_status); } && { 22005 test -z "$ac_c_werror_flag" || 22006 test ! -s conftest.err 22007 } && test -s conftest.$ac_objext; then 22008 ac_header_compiler=yes 22009 else 22010 echo "$as_me: failed program was:" >&5 22011 sed 's/^/| /' conftest.$ac_ext >&5 22012 22013 ac_header_compiler=no 22014 fi 22015 22016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22017 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 22018 echo "${ECHO_T}$ac_header_compiler" >&6; } 22019 22020 # Is the header present? 22021 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 22022 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 22023 cat >conftest.$ac_ext <<_ACEOF 22024 /* confdefs.h. */ 22025 _ACEOF 22026 cat confdefs.h >>conftest.$ac_ext 22027 cat >>conftest.$ac_ext <<_ACEOF 22028 /* end confdefs.h. */ 22029 #include <$ac_header> 22030 _ACEOF 22031 if { (ac_try="$ac_cpp conftest.$ac_ext" 22032 case "(($ac_try" in 22033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22034 *) ac_try_echo=$ac_try;; 22035 esac 22036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22037 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 22038 ac_status=$? 22039 grep -v '^ *+' conftest.er1 >conftest.err 22040 rm -f conftest.er1 22041 cat conftest.err >&5 22042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22043 (exit $ac_status); } >/dev/null && { 22044 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 22045 test ! -s conftest.err 22046 }; then 22047 ac_header_preproc=yes 22048 else 22049 echo "$as_me: failed program was:" >&5 22050 sed 's/^/| /' conftest.$ac_ext >&5 22051 22052 ac_header_preproc=no 22053 fi 22054 22055 rm -f conftest.err conftest.$ac_ext 22056 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 22057 echo "${ECHO_T}$ac_header_preproc" >&6; } 22058 22059 # So? What about this header? 22060 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 22061 yes:no: ) 22062 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 22063 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 22064 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 22065 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 22066 ac_header_preproc=yes 22067 ;; 22068 no:yes:* ) 22069 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 22070 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 22071 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 22072 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 22073 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 22074 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 22075 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 22076 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 22077 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 22078 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 22079 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 22080 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 22081 22082 ;; 22083 esac 22084 { echo "$as_me:$LINENO: checking for $ac_header" >&5 22085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 22086 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22087 echo $ECHO_N "(cached) $ECHO_C" >&6 22088 else 22089 eval "$as_ac_Header=\$ac_header_preproc" 22090 fi 22091 ac_res=`eval echo '${'$as_ac_Header'}'` 22092 { echo "$as_me:$LINENO: result: $ac_res" >&5 22093 echo "${ECHO_T}$ac_res" >&6; } 22094 22095 fi 22096 if test `eval echo '${'$as_ac_Header'}'` = yes; then 22097 cat >>confdefs.h <<_ACEOF 22098 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 22099 _ACEOF 22100 22101 fi 22102 22103 done 22104 22105 22106 for ac_header in malloc.h 22107 do 22108 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 22109 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22110 { echo "$as_me:$LINENO: checking for $ac_header" >&5 22111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 22112 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22113 echo $ECHO_N "(cached) $ECHO_C" >&6 22114 fi 22115 ac_res=`eval echo '${'$as_ac_Header'}'` 22116 { echo "$as_me:$LINENO: result: $ac_res" >&5 22117 echo "${ECHO_T}$ac_res" >&6; } 22118 else 22119 # Is the header compilable? 22120 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 22121 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 22122 cat >conftest.$ac_ext <<_ACEOF 22123 /* confdefs.h. */ 22124 _ACEOF 22125 cat confdefs.h >>conftest.$ac_ext 22126 cat >>conftest.$ac_ext <<_ACEOF 22127 /* end confdefs.h. */ 22128 $ac_includes_default 22129 #include <$ac_header> 22130 _ACEOF 22131 rm -f conftest.$ac_objext 22132 if { (ac_try="$ac_compile" 22133 case "(($ac_try" in 22134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22135 *) ac_try_echo=$ac_try;; 22136 esac 22137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22138 (eval "$ac_compile") 2>conftest.er1 22139 ac_status=$? 22140 grep -v '^ *+' conftest.er1 >conftest.err 22141 rm -f conftest.er1 22142 cat conftest.err >&5 22143 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22144 (exit $ac_status); } && { 22145 test -z "$ac_c_werror_flag" || 22146 test ! -s conftest.err 22147 } && test -s conftest.$ac_objext; then 22148 ac_header_compiler=yes 22149 else 22150 echo "$as_me: failed program was:" >&5 22151 sed 's/^/| /' conftest.$ac_ext >&5 22152 22153 ac_header_compiler=no 22154 fi 22155 22156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22157 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 22158 echo "${ECHO_T}$ac_header_compiler" >&6; } 22159 22160 # Is the header present? 22161 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 22162 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 22163 cat >conftest.$ac_ext <<_ACEOF 22164 /* confdefs.h. */ 22165 _ACEOF 22166 cat confdefs.h >>conftest.$ac_ext 22167 cat >>conftest.$ac_ext <<_ACEOF 22168 /* end confdefs.h. */ 22169 #include <$ac_header> 22170 _ACEOF 22171 if { (ac_try="$ac_cpp conftest.$ac_ext" 22172 case "(($ac_try" in 22173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22174 *) ac_try_echo=$ac_try;; 22175 esac 22176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22177 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 22178 ac_status=$? 22179 grep -v '^ *+' conftest.er1 >conftest.err 22180 rm -f conftest.er1 22181 cat conftest.err >&5 22182 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22183 (exit $ac_status); } >/dev/null && { 22184 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 22185 test ! -s conftest.err 22186 }; then 22187 ac_header_preproc=yes 22188 else 22189 echo "$as_me: failed program was:" >&5 22190 sed 's/^/| /' conftest.$ac_ext >&5 22191 22192 ac_header_preproc=no 22193 fi 22194 22195 rm -f conftest.err conftest.$ac_ext 22196 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 22197 echo "${ECHO_T}$ac_header_preproc" >&6; } 22198 22199 # So? What about this header? 22200 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 22201 yes:no: ) 22202 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 22203 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 22204 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 22205 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 22206 ac_header_preproc=yes 22207 ;; 22208 no:yes:* ) 22209 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 22210 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 22211 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 22212 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 22213 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 22214 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 22215 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 22216 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 22217 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 22218 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 22219 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 22220 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 22221 22222 ;; 22223 esac 22224 { echo "$as_me:$LINENO: checking for $ac_header" >&5 22225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 22226 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22227 echo $ECHO_N "(cached) $ECHO_C" >&6 22228 else 22229 eval "$as_ac_Header=\$ac_header_preproc" 22230 fi 22231 ac_res=`eval echo '${'$as_ac_Header'}'` 22232 { echo "$as_me:$LINENO: result: $ac_res" >&5 22233 echo "${ECHO_T}$ac_res" >&6; } 22234 22235 fi 22236 if test `eval echo '${'$as_ac_Header'}'` = yes; then 22237 cat >>confdefs.h <<_ACEOF 22238 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 22239 _ACEOF 22240 22241 fi 22242 22243 done 22244 22245 22246 for ac_header in stdarg.h 22247 do 22248 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 22249 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22250 { echo "$as_me:$LINENO: checking for $ac_header" >&5 22251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 22252 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22253 echo $ECHO_N "(cached) $ECHO_C" >&6 22254 fi 22255 ac_res=`eval echo '${'$as_ac_Header'}'` 22256 { echo "$as_me:$LINENO: result: $ac_res" >&5 22257 echo "${ECHO_T}$ac_res" >&6; } 22258 else 22259 # Is the header compilable? 22260 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 22261 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 22262 cat >conftest.$ac_ext <<_ACEOF 22263 /* confdefs.h. */ 22264 _ACEOF 22265 cat confdefs.h >>conftest.$ac_ext 22266 cat >>conftest.$ac_ext <<_ACEOF 22267 /* end confdefs.h. */ 22268 $ac_includes_default 22269 #include <$ac_header> 22270 _ACEOF 22271 rm -f conftest.$ac_objext 22272 if { (ac_try="$ac_compile" 22273 case "(($ac_try" in 22274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22275 *) ac_try_echo=$ac_try;; 22276 esac 22277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22278 (eval "$ac_compile") 2>conftest.er1 22279 ac_status=$? 22280 grep -v '^ *+' conftest.er1 >conftest.err 22281 rm -f conftest.er1 22282 cat conftest.err >&5 22283 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22284 (exit $ac_status); } && { 22285 test -z "$ac_c_werror_flag" || 22286 test ! -s conftest.err 22287 } && test -s conftest.$ac_objext; then 22288 ac_header_compiler=yes 22289 else 22290 echo "$as_me: failed program was:" >&5 22291 sed 's/^/| /' conftest.$ac_ext >&5 22292 22293 ac_header_compiler=no 22294 fi 22295 22296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22297 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 22298 echo "${ECHO_T}$ac_header_compiler" >&6; } 22299 22300 # Is the header present? 22301 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 22302 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 22303 cat >conftest.$ac_ext <<_ACEOF 22304 /* confdefs.h. */ 22305 _ACEOF 22306 cat confdefs.h >>conftest.$ac_ext 22307 cat >>conftest.$ac_ext <<_ACEOF 22308 /* end confdefs.h. */ 22309 #include <$ac_header> 22310 _ACEOF 22311 if { (ac_try="$ac_cpp conftest.$ac_ext" 22312 case "(($ac_try" in 22313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22314 *) ac_try_echo=$ac_try;; 22315 esac 22316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22317 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 22318 ac_status=$? 22319 grep -v '^ *+' conftest.er1 >conftest.err 22320 rm -f conftest.er1 22321 cat conftest.err >&5 22322 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22323 (exit $ac_status); } >/dev/null && { 22324 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 22325 test ! -s conftest.err 22326 }; then 22327 ac_header_preproc=yes 22328 else 22329 echo "$as_me: failed program was:" >&5 22330 sed 's/^/| /' conftest.$ac_ext >&5 22331 22332 ac_header_preproc=no 22333 fi 22334 22335 rm -f conftest.err conftest.$ac_ext 22336 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 22337 echo "${ECHO_T}$ac_header_preproc" >&6; } 22338 22339 # So? What about this header? 22340 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 22341 yes:no: ) 22342 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 22343 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 22344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 22345 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 22346 ac_header_preproc=yes 22347 ;; 22348 no:yes:* ) 22349 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 22350 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 22351 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 22352 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 22353 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 22354 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 22355 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 22356 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 22357 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 22358 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 22359 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 22360 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 22361 22362 ;; 22363 esac 22364 { echo "$as_me:$LINENO: checking for $ac_header" >&5 22365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 22366 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22367 echo $ECHO_N "(cached) $ECHO_C" >&6 22368 else 22369 eval "$as_ac_Header=\$ac_header_preproc" 22370 fi 22371 ac_res=`eval echo '${'$as_ac_Header'}'` 22372 { echo "$as_me:$LINENO: result: $ac_res" >&5 22373 echo "${ECHO_T}$ac_res" >&6; } 22374 22375 fi 22376 if test `eval echo '${'$as_ac_Header'}'` = yes; then 22377 cat >>confdefs.h <<_ACEOF 22378 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 22379 _ACEOF 22380 22381 fi 22382 22383 done 22384 22385 22386 for ac_header in sys/stat.h 22387 do 22388 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 22389 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22390 { echo "$as_me:$LINENO: checking for $ac_header" >&5 22391 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 22392 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22393 echo $ECHO_N "(cached) $ECHO_C" >&6 22394 fi 22395 ac_res=`eval echo '${'$as_ac_Header'}'` 22396 { echo "$as_me:$LINENO: result: $ac_res" >&5 22397 echo "${ECHO_T}$ac_res" >&6; } 22398 else 22399 # Is the header compilable? 22400 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 22401 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 22402 cat >conftest.$ac_ext <<_ACEOF 22403 /* confdefs.h. */ 22404 _ACEOF 22405 cat confdefs.h >>conftest.$ac_ext 22406 cat >>conftest.$ac_ext <<_ACEOF 22407 /* end confdefs.h. */ 22408 $ac_includes_default 22409 #include <$ac_header> 22410 _ACEOF 22411 rm -f conftest.$ac_objext 22412 if { (ac_try="$ac_compile" 22413 case "(($ac_try" in 22414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22415 *) ac_try_echo=$ac_try;; 22416 esac 22417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22418 (eval "$ac_compile") 2>conftest.er1 22419 ac_status=$? 22420 grep -v '^ *+' conftest.er1 >conftest.err 22421 rm -f conftest.er1 22422 cat conftest.err >&5 22423 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22424 (exit $ac_status); } && { 22425 test -z "$ac_c_werror_flag" || 22426 test ! -s conftest.err 22427 } && test -s conftest.$ac_objext; then 22428 ac_header_compiler=yes 22429 else 22430 echo "$as_me: failed program was:" >&5 22431 sed 's/^/| /' conftest.$ac_ext >&5 22432 22433 ac_header_compiler=no 22434 fi 22435 22436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22437 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 22438 echo "${ECHO_T}$ac_header_compiler" >&6; } 22439 22440 # Is the header present? 22441 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 22442 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 22443 cat >conftest.$ac_ext <<_ACEOF 22444 /* confdefs.h. */ 22445 _ACEOF 22446 cat confdefs.h >>conftest.$ac_ext 22447 cat >>conftest.$ac_ext <<_ACEOF 22448 /* end confdefs.h. */ 22449 #include <$ac_header> 22450 _ACEOF 22451 if { (ac_try="$ac_cpp conftest.$ac_ext" 22452 case "(($ac_try" in 22453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22454 *) ac_try_echo=$ac_try;; 22455 esac 22456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22457 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 22458 ac_status=$? 22459 grep -v '^ *+' conftest.er1 >conftest.err 22460 rm -f conftest.er1 22461 cat conftest.err >&5 22462 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22463 (exit $ac_status); } >/dev/null && { 22464 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 22465 test ! -s conftest.err 22466 }; then 22467 ac_header_preproc=yes 22468 else 22469 echo "$as_me: failed program was:" >&5 22470 sed 's/^/| /' conftest.$ac_ext >&5 22471 22472 ac_header_preproc=no 22473 fi 22474 22475 rm -f conftest.err conftest.$ac_ext 22476 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 22477 echo "${ECHO_T}$ac_header_preproc" >&6; } 22478 22479 # So? What about this header? 22480 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 22481 yes:no: ) 22482 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 22483 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 22484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 22485 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 22486 ac_header_preproc=yes 22487 ;; 22488 no:yes:* ) 22489 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 22490 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 22491 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 22492 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 22493 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 22494 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 22495 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 22496 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 22497 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 22498 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 22499 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 22500 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 22501 22502 ;; 22503 esac 22504 { echo "$as_me:$LINENO: checking for $ac_header" >&5 22505 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 22506 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22507 echo $ECHO_N "(cached) $ECHO_C" >&6 22508 else 22509 eval "$as_ac_Header=\$ac_header_preproc" 22510 fi 22511 ac_res=`eval echo '${'$as_ac_Header'}'` 22512 { echo "$as_me:$LINENO: result: $ac_res" >&5 22513 echo "${ECHO_T}$ac_res" >&6; } 22514 22515 fi 22516 if test `eval echo '${'$as_ac_Header'}'` = yes; then 22517 cat >>confdefs.h <<_ACEOF 22518 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 22519 _ACEOF 22520 22521 fi 22522 22523 done 22524 22525 22526 for ac_header in sys/types.h 22527 do 22528 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 22529 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22530 { echo "$as_me:$LINENO: checking for $ac_header" >&5 22531 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 22532 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22533 echo $ECHO_N "(cached) $ECHO_C" >&6 22534 fi 22535 ac_res=`eval echo '${'$as_ac_Header'}'` 22536 { echo "$as_me:$LINENO: result: $ac_res" >&5 22537 echo "${ECHO_T}$ac_res" >&6; } 22538 else 22539 # Is the header compilable? 22540 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 22541 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 22542 cat >conftest.$ac_ext <<_ACEOF 22543 /* confdefs.h. */ 22544 _ACEOF 22545 cat confdefs.h >>conftest.$ac_ext 22546 cat >>conftest.$ac_ext <<_ACEOF 22547 /* end confdefs.h. */ 22548 $ac_includes_default 22549 #include <$ac_header> 22550 _ACEOF 22551 rm -f conftest.$ac_objext 22552 if { (ac_try="$ac_compile" 22553 case "(($ac_try" in 22554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22555 *) ac_try_echo=$ac_try;; 22556 esac 22557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22558 (eval "$ac_compile") 2>conftest.er1 22559 ac_status=$? 22560 grep -v '^ *+' conftest.er1 >conftest.err 22561 rm -f conftest.er1 22562 cat conftest.err >&5 22563 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22564 (exit $ac_status); } && { 22565 test -z "$ac_c_werror_flag" || 22566 test ! -s conftest.err 22567 } && test -s conftest.$ac_objext; then 22568 ac_header_compiler=yes 22569 else 22570 echo "$as_me: failed program was:" >&5 22571 sed 's/^/| /' conftest.$ac_ext >&5 22572 22573 ac_header_compiler=no 22574 fi 22575 22576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22577 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 22578 echo "${ECHO_T}$ac_header_compiler" >&6; } 22579 22580 # Is the header present? 22581 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 22582 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 22583 cat >conftest.$ac_ext <<_ACEOF 22584 /* confdefs.h. */ 22585 _ACEOF 22586 cat confdefs.h >>conftest.$ac_ext 22587 cat >>conftest.$ac_ext <<_ACEOF 22588 /* end confdefs.h. */ 22589 #include <$ac_header> 22590 _ACEOF 22591 if { (ac_try="$ac_cpp conftest.$ac_ext" 22592 case "(($ac_try" in 22593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22594 *) ac_try_echo=$ac_try;; 22595 esac 22596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22597 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 22598 ac_status=$? 22599 grep -v '^ *+' conftest.er1 >conftest.err 22600 rm -f conftest.er1 22601 cat conftest.err >&5 22602 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22603 (exit $ac_status); } >/dev/null && { 22604 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 22605 test ! -s conftest.err 22606 }; then 22607 ac_header_preproc=yes 22608 else 22609 echo "$as_me: failed program was:" >&5 22610 sed 's/^/| /' conftest.$ac_ext >&5 22611 22612 ac_header_preproc=no 22613 fi 22614 22615 rm -f conftest.err conftest.$ac_ext 22616 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 22617 echo "${ECHO_T}$ac_header_preproc" >&6; } 22618 22619 # So? What about this header? 22620 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 22621 yes:no: ) 22622 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 22623 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 22624 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 22625 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 22626 ac_header_preproc=yes 22627 ;; 22628 no:yes:* ) 22629 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 22630 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 22631 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 22632 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 22633 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 22634 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 22635 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 22636 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 22637 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 22638 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 22639 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 22640 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 22641 22642 ;; 22643 esac 22644 { echo "$as_me:$LINENO: checking for $ac_header" >&5 22645 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 22646 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22647 echo $ECHO_N "(cached) $ECHO_C" >&6 22648 else 22649 eval "$as_ac_Header=\$ac_header_preproc" 22650 fi 22651 ac_res=`eval echo '${'$as_ac_Header'}'` 22652 { echo "$as_me:$LINENO: result: $ac_res" >&5 22653 echo "${ECHO_T}$ac_res" >&6; } 22654 22655 fi 22656 if test `eval echo '${'$as_ac_Header'}'` = yes; then 22657 cat >>confdefs.h <<_ACEOF 22658 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 22659 _ACEOF 22660 22661 fi 22662 22663 done 22664 22665 22666 for ac_header in stdint.h 22667 do 22668 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 22669 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22670 { echo "$as_me:$LINENO: checking for $ac_header" >&5 22671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 22672 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22673 echo $ECHO_N "(cached) $ECHO_C" >&6 22674 fi 22675 ac_res=`eval echo '${'$as_ac_Header'}'` 22676 { echo "$as_me:$LINENO: result: $ac_res" >&5 22677 echo "${ECHO_T}$ac_res" >&6; } 22678 else 22679 # Is the header compilable? 22680 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 22681 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 22682 cat >conftest.$ac_ext <<_ACEOF 22683 /* confdefs.h. */ 22684 _ACEOF 22685 cat confdefs.h >>conftest.$ac_ext 22686 cat >>conftest.$ac_ext <<_ACEOF 22687 /* end confdefs.h. */ 22688 $ac_includes_default 22689 #include <$ac_header> 22690 _ACEOF 22691 rm -f conftest.$ac_objext 22692 if { (ac_try="$ac_compile" 22693 case "(($ac_try" in 22694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22695 *) ac_try_echo=$ac_try;; 22696 esac 22697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22698 (eval "$ac_compile") 2>conftest.er1 22699 ac_status=$? 22700 grep -v '^ *+' conftest.er1 >conftest.err 22701 rm -f conftest.er1 22702 cat conftest.err >&5 22703 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22704 (exit $ac_status); } && { 22705 test -z "$ac_c_werror_flag" || 22706 test ! -s conftest.err 22707 } && test -s conftest.$ac_objext; then 22708 ac_header_compiler=yes 22709 else 22710 echo "$as_me: failed program was:" >&5 22711 sed 's/^/| /' conftest.$ac_ext >&5 22712 22713 ac_header_compiler=no 22714 fi 22715 22716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22717 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 22718 echo "${ECHO_T}$ac_header_compiler" >&6; } 22719 22720 # Is the header present? 22721 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 22722 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 22723 cat >conftest.$ac_ext <<_ACEOF 22724 /* confdefs.h. */ 22725 _ACEOF 22726 cat confdefs.h >>conftest.$ac_ext 22727 cat >>conftest.$ac_ext <<_ACEOF 22728 /* end confdefs.h. */ 22729 #include <$ac_header> 22730 _ACEOF 22731 if { (ac_try="$ac_cpp conftest.$ac_ext" 22732 case "(($ac_try" in 22733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22734 *) ac_try_echo=$ac_try;; 22735 esac 22736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22737 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 22738 ac_status=$? 22739 grep -v '^ *+' conftest.er1 >conftest.err 22740 rm -f conftest.er1 22741 cat conftest.err >&5 22742 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22743 (exit $ac_status); } >/dev/null && { 22744 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 22745 test ! -s conftest.err 22746 }; then 22747 ac_header_preproc=yes 22748 else 22749 echo "$as_me: failed program was:" >&5 22750 sed 's/^/| /' conftest.$ac_ext >&5 22751 22752 ac_header_preproc=no 22753 fi 22754 22755 rm -f conftest.err conftest.$ac_ext 22756 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 22757 echo "${ECHO_T}$ac_header_preproc" >&6; } 22758 22759 # So? What about this header? 22760 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 22761 yes:no: ) 22762 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 22763 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 22764 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 22765 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 22766 ac_header_preproc=yes 22767 ;; 22768 no:yes:* ) 22769 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 22770 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 22771 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 22772 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 22773 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 22774 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 22775 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 22776 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 22777 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 22778 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 22779 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 22780 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 22781 22782 ;; 22783 esac 22784 { echo "$as_me:$LINENO: checking for $ac_header" >&5 22785 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 22786 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22787 echo $ECHO_N "(cached) $ECHO_C" >&6 22788 else 22789 eval "$as_ac_Header=\$ac_header_preproc" 22790 fi 22791 ac_res=`eval echo '${'$as_ac_Header'}'` 22792 { echo "$as_me:$LINENO: result: $ac_res" >&5 22793 echo "${ECHO_T}$ac_res" >&6; } 22794 22795 fi 22796 if test `eval echo '${'$as_ac_Header'}'` = yes; then 22797 cat >>confdefs.h <<_ACEOF 22798 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 22799 _ACEOF 22800 22801 fi 22802 22803 done 22804 22805 22806 for ac_header in inttypes.h.h 22807 do 22808 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 22809 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22810 { echo "$as_me:$LINENO: checking for $ac_header" >&5 22811 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 22812 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22813 echo $ECHO_N "(cached) $ECHO_C" >&6 22814 fi 22815 ac_res=`eval echo '${'$as_ac_Header'}'` 22816 { echo "$as_me:$LINENO: result: $ac_res" >&5 22817 echo "${ECHO_T}$ac_res" >&6; } 22818 else 22819 # Is the header compilable? 22820 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 22821 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 22822 cat >conftest.$ac_ext <<_ACEOF 22823 /* confdefs.h. */ 22824 _ACEOF 22825 cat confdefs.h >>conftest.$ac_ext 22826 cat >>conftest.$ac_ext <<_ACEOF 22827 /* end confdefs.h. */ 22828 $ac_includes_default 22829 #include <$ac_header> 22830 _ACEOF 22831 rm -f conftest.$ac_objext 22832 if { (ac_try="$ac_compile" 22833 case "(($ac_try" in 22834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22835 *) ac_try_echo=$ac_try;; 22836 esac 22837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22838 (eval "$ac_compile") 2>conftest.er1 22839 ac_status=$? 22840 grep -v '^ *+' conftest.er1 >conftest.err 22841 rm -f conftest.er1 22842 cat conftest.err >&5 22843 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22844 (exit $ac_status); } && { 22845 test -z "$ac_c_werror_flag" || 22846 test ! -s conftest.err 22847 } && test -s conftest.$ac_objext; then 22848 ac_header_compiler=yes 22849 else 22850 echo "$as_me: failed program was:" >&5 22851 sed 's/^/| /' conftest.$ac_ext >&5 22852 22853 ac_header_compiler=no 22854 fi 22855 22856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22857 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 22858 echo "${ECHO_T}$ac_header_compiler" >&6; } 22859 22860 # Is the header present? 22861 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 22862 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 22863 cat >conftest.$ac_ext <<_ACEOF 22864 /* confdefs.h. */ 22865 _ACEOF 22866 cat confdefs.h >>conftest.$ac_ext 22867 cat >>conftest.$ac_ext <<_ACEOF 22868 /* end confdefs.h. */ 22869 #include <$ac_header> 22870 _ACEOF 22871 if { (ac_try="$ac_cpp conftest.$ac_ext" 22872 case "(($ac_try" in 22873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22874 *) ac_try_echo=$ac_try;; 22875 esac 22876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22877 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 22878 ac_status=$? 22879 grep -v '^ *+' conftest.er1 >conftest.err 22880 rm -f conftest.er1 22881 cat conftest.err >&5 22882 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22883 (exit $ac_status); } >/dev/null && { 22884 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 22885 test ! -s conftest.err 22886 }; then 22887 ac_header_preproc=yes 22888 else 22889 echo "$as_me: failed program was:" >&5 22890 sed 's/^/| /' conftest.$ac_ext >&5 22891 22892 ac_header_preproc=no 22893 fi 22894 22895 rm -f conftest.err conftest.$ac_ext 22896 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 22897 echo "${ECHO_T}$ac_header_preproc" >&6; } 22898 22899 # So? What about this header? 22900 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 22901 yes:no: ) 22902 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 22903 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 22904 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 22905 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 22906 ac_header_preproc=yes 22907 ;; 22908 no:yes:* ) 22909 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 22910 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 22911 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 22912 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 22913 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 22914 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 22915 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 22916 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 22917 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 22918 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 22919 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 22920 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 22921 22922 ;; 22923 esac 22924 { echo "$as_me:$LINENO: checking for $ac_header" >&5 22925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 22926 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22927 echo $ECHO_N "(cached) $ECHO_C" >&6 22928 else 22929 eval "$as_ac_Header=\$ac_header_preproc" 22930 fi 22931 ac_res=`eval echo '${'$as_ac_Header'}'` 22932 { echo "$as_me:$LINENO: result: $ac_res" >&5 22933 echo "${ECHO_T}$ac_res" >&6; } 22934 22935 fi 22936 if test `eval echo '${'$as_ac_Header'}'` = yes; then 22937 cat >>confdefs.h <<_ACEOF 22938 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 22939 _ACEOF 22940 22941 fi 22942 22943 done 22944 22945 22946 for ac_header in time.h 22947 do 22948 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 22949 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22950 { echo "$as_me:$LINENO: checking for $ac_header" >&5 22951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 22952 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22953 echo $ECHO_N "(cached) $ECHO_C" >&6 22954 fi 22955 ac_res=`eval echo '${'$as_ac_Header'}'` 22956 { echo "$as_me:$LINENO: result: $ac_res" >&5 22957 echo "${ECHO_T}$ac_res" >&6; } 22958 else 22959 # Is the header compilable? 22960 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 22961 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 22962 cat >conftest.$ac_ext <<_ACEOF 22963 /* confdefs.h. */ 22964 _ACEOF 22965 cat confdefs.h >>conftest.$ac_ext 22966 cat >>conftest.$ac_ext <<_ACEOF 22967 /* end confdefs.h. */ 22968 $ac_includes_default 22969 #include <$ac_header> 22970 _ACEOF 22971 rm -f conftest.$ac_objext 22972 if { (ac_try="$ac_compile" 22973 case "(($ac_try" in 22974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22975 *) ac_try_echo=$ac_try;; 22976 esac 22977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22978 (eval "$ac_compile") 2>conftest.er1 22979 ac_status=$? 22980 grep -v '^ *+' conftest.er1 >conftest.err 22981 rm -f conftest.er1 22982 cat conftest.err >&5 22983 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22984 (exit $ac_status); } && { 22985 test -z "$ac_c_werror_flag" || 22986 test ! -s conftest.err 22987 } && test -s conftest.$ac_objext; then 22988 ac_header_compiler=yes 22989 else 22990 echo "$as_me: failed program was:" >&5 22991 sed 's/^/| /' conftest.$ac_ext >&5 22992 22993 ac_header_compiler=no 22994 fi 22995 22996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22997 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 22998 echo "${ECHO_T}$ac_header_compiler" >&6; } 22999 23000 # Is the header present? 23001 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 23002 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 23003 cat >conftest.$ac_ext <<_ACEOF 23004 /* confdefs.h. */ 23005 _ACEOF 23006 cat confdefs.h >>conftest.$ac_ext 23007 cat >>conftest.$ac_ext <<_ACEOF 23008 /* end confdefs.h. */ 23009 #include <$ac_header> 23010 _ACEOF 23011 if { (ac_try="$ac_cpp conftest.$ac_ext" 23012 case "(($ac_try" in 23013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23014 *) ac_try_echo=$ac_try;; 23015 esac 23016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23017 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 23018 ac_status=$? 23019 grep -v '^ *+' conftest.er1 >conftest.err 23020 rm -f conftest.er1 23021 cat conftest.err >&5 23022 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23023 (exit $ac_status); } >/dev/null && { 23024 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 23025 test ! -s conftest.err 23026 }; then 23027 ac_header_preproc=yes 23028 else 23029 echo "$as_me: failed program was:" >&5 23030 sed 's/^/| /' conftest.$ac_ext >&5 23031 23032 ac_header_preproc=no 23033 fi 23034 23035 rm -f conftest.err conftest.$ac_ext 23036 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 23037 echo "${ECHO_T}$ac_header_preproc" >&6; } 23038 23039 # So? What about this header? 23040 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 23041 yes:no: ) 23042 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 23043 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 23044 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 23045 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 23046 ac_header_preproc=yes 23047 ;; 23048 no:yes:* ) 23049 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 23050 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 23051 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 23052 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 23053 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 23054 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 23055 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 23056 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 23057 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 23058 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 23059 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 23060 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 23061 23062 ;; 23063 esac 23064 { echo "$as_me:$LINENO: checking for $ac_header" >&5 23065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 23066 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23067 echo $ECHO_N "(cached) $ECHO_C" >&6 23068 else 23069 eval "$as_ac_Header=\$ac_header_preproc" 23070 fi 23071 ac_res=`eval echo '${'$as_ac_Header'}'` 23072 { echo "$as_me:$LINENO: result: $ac_res" >&5 23073 echo "${ECHO_T}$ac_res" >&6; } 23074 23075 fi 23076 if test `eval echo '${'$as_ac_Header'}'` = yes; then 23077 cat >>confdefs.h <<_ACEOF 23078 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 23079 _ACEOF 23080 23081 fi 23082 23083 done 23084 23085 23086 for ac_header in ansidecl.h 23087 do 23088 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 23089 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23090 { echo "$as_me:$LINENO: checking for $ac_header" >&5 23091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 23092 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23093 echo $ECHO_N "(cached) $ECHO_C" >&6 23094 fi 23095 ac_res=`eval echo '${'$as_ac_Header'}'` 23096 { echo "$as_me:$LINENO: result: $ac_res" >&5 23097 echo "${ECHO_T}$ac_res" >&6; } 23098 else 23099 # Is the header compilable? 23100 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 23101 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 23102 cat >conftest.$ac_ext <<_ACEOF 23103 /* confdefs.h. */ 23104 _ACEOF 23105 cat confdefs.h >>conftest.$ac_ext 23106 cat >>conftest.$ac_ext <<_ACEOF 23107 /* end confdefs.h. */ 23108 $ac_includes_default 23109 #include <$ac_header> 23110 _ACEOF 23111 rm -f conftest.$ac_objext 23112 if { (ac_try="$ac_compile" 23113 case "(($ac_try" in 23114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23115 *) ac_try_echo=$ac_try;; 23116 esac 23117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23118 (eval "$ac_compile") 2>conftest.er1 23119 ac_status=$? 23120 grep -v '^ *+' conftest.er1 >conftest.err 23121 rm -f conftest.er1 23122 cat conftest.err >&5 23123 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23124 (exit $ac_status); } && { 23125 test -z "$ac_c_werror_flag" || 23126 test ! -s conftest.err 23127 } && test -s conftest.$ac_objext; then 23128 ac_header_compiler=yes 23129 else 23130 echo "$as_me: failed program was:" >&5 23131 sed 's/^/| /' conftest.$ac_ext >&5 23132 23133 ac_header_compiler=no 23134 fi 23135 23136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23137 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 23138 echo "${ECHO_T}$ac_header_compiler" >&6; } 23139 23140 # Is the header present? 23141 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 23142 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 23143 cat >conftest.$ac_ext <<_ACEOF 23144 /* confdefs.h. */ 23145 _ACEOF 23146 cat confdefs.h >>conftest.$ac_ext 23147 cat >>conftest.$ac_ext <<_ACEOF 23148 /* end confdefs.h. */ 23149 #include <$ac_header> 23150 _ACEOF 23151 if { (ac_try="$ac_cpp conftest.$ac_ext" 23152 case "(($ac_try" in 23153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23154 *) ac_try_echo=$ac_try;; 23155 esac 23156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23157 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 23158 ac_status=$? 23159 grep -v '^ *+' conftest.er1 >conftest.err 23160 rm -f conftest.er1 23161 cat conftest.err >&5 23162 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23163 (exit $ac_status); } >/dev/null && { 23164 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 23165 test ! -s conftest.err 23166 }; then 23167 ac_header_preproc=yes 23168 else 23169 echo "$as_me: failed program was:" >&5 23170 sed 's/^/| /' conftest.$ac_ext >&5 23171 23172 ac_header_preproc=no 23173 fi 23174 23175 rm -f conftest.err conftest.$ac_ext 23176 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 23177 echo "${ECHO_T}$ac_header_preproc" >&6; } 23178 23179 # So? What about this header? 23180 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 23181 yes:no: ) 23182 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 23183 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 23184 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 23185 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 23186 ac_header_preproc=yes 23187 ;; 23188 no:yes:* ) 23189 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 23190 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 23191 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 23192 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 23193 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 23194 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 23195 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 23196 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 23197 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 23198 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 23199 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 23200 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 23201 23202 ;; 23203 esac 23204 { echo "$as_me:$LINENO: checking for $ac_header" >&5 23205 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 23206 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23207 echo $ECHO_N "(cached) $ECHO_C" >&6 23208 else 23209 eval "$as_ac_Header=\$ac_header_preproc" 23210 fi 23211 ac_res=`eval echo '${'$as_ac_Header'}'` 23212 { echo "$as_me:$LINENO: result: $ac_res" >&5 23213 echo "${ECHO_T}$ac_res" >&6; } 23214 23215 fi 23216 if test `eval echo '${'$as_ac_Header'}'` = yes; then 23217 cat >>confdefs.h <<_ACEOF 23218 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 23219 _ACEOF 23220 23221 fi 23222 23223 done 23224 23225 23226 for ac_header in ieeefp.h 23227 do 23228 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 23229 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23230 { echo "$as_me:$LINENO: checking for $ac_header" >&5 23231 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 23232 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23233 echo $ECHO_N "(cached) $ECHO_C" >&6 23234 fi 23235 ac_res=`eval echo '${'$as_ac_Header'}'` 23236 { echo "$as_me:$LINENO: result: $ac_res" >&5 23237 echo "${ECHO_T}$ac_res" >&6; } 23238 else 23239 # Is the header compilable? 23240 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 23241 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 23242 cat >conftest.$ac_ext <<_ACEOF 23243 /* confdefs.h. */ 23244 _ACEOF 23245 cat confdefs.h >>conftest.$ac_ext 23246 cat >>conftest.$ac_ext <<_ACEOF 23247 /* end confdefs.h. */ 23248 $ac_includes_default 23249 #include <$ac_header> 23250 _ACEOF 23251 rm -f conftest.$ac_objext 23252 if { (ac_try="$ac_compile" 23253 case "(($ac_try" in 23254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23255 *) ac_try_echo=$ac_try;; 23256 esac 23257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23258 (eval "$ac_compile") 2>conftest.er1 23259 ac_status=$? 23260 grep -v '^ *+' conftest.er1 >conftest.err 23261 rm -f conftest.er1 23262 cat conftest.err >&5 23263 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23264 (exit $ac_status); } && { 23265 test -z "$ac_c_werror_flag" || 23266 test ! -s conftest.err 23267 } && test -s conftest.$ac_objext; then 23268 ac_header_compiler=yes 23269 else 23270 echo "$as_me: failed program was:" >&5 23271 sed 's/^/| /' conftest.$ac_ext >&5 23272 23273 ac_header_compiler=no 23274 fi 23275 23276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23277 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 23278 echo "${ECHO_T}$ac_header_compiler" >&6; } 23279 23280 # Is the header present? 23281 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 23282 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 23283 cat >conftest.$ac_ext <<_ACEOF 23284 /* confdefs.h. */ 23285 _ACEOF 23286 cat confdefs.h >>conftest.$ac_ext 23287 cat >>conftest.$ac_ext <<_ACEOF 23288 /* end confdefs.h. */ 23289 #include <$ac_header> 23290 _ACEOF 23291 if { (ac_try="$ac_cpp conftest.$ac_ext" 23292 case "(($ac_try" in 23293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23294 *) ac_try_echo=$ac_try;; 23295 esac 23296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23297 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 23298 ac_status=$? 23299 grep -v '^ *+' conftest.er1 >conftest.err 23300 rm -f conftest.er1 23301 cat conftest.err >&5 23302 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23303 (exit $ac_status); } >/dev/null && { 23304 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 23305 test ! -s conftest.err 23306 }; then 23307 ac_header_preproc=yes 23308 else 23309 echo "$as_me: failed program was:" >&5 23310 sed 's/^/| /' conftest.$ac_ext >&5 23311 23312 ac_header_preproc=no 23313 fi 23314 23315 rm -f conftest.err conftest.$ac_ext 23316 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 23317 echo "${ECHO_T}$ac_header_preproc" >&6; } 23318 23319 # So? What about this header? 23320 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 23321 yes:no: ) 23322 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 23323 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 23324 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 23325 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 23326 ac_header_preproc=yes 23327 ;; 23328 no:yes:* ) 23329 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 23330 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 23331 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 23332 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 23333 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 23334 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 23335 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 23336 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 23337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 23338 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 23339 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 23340 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 23341 23342 ;; 23343 esac 23344 { echo "$as_me:$LINENO: checking for $ac_header" >&5 23345 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 23346 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23347 echo $ECHO_N "(cached) $ECHO_C" >&6 23348 else 23349 eval "$as_ac_Header=\$ac_header_preproc" 23350 fi 23351 ac_res=`eval echo '${'$as_ac_Header'}'` 23352 { echo "$as_me:$LINENO: result: $ac_res" >&5 23353 echo "${ECHO_T}$ac_res" >&6; } 23354 23355 fi 23356 if test `eval echo '${'$as_ac_Header'}'` = yes; then 23357 cat >>confdefs.h <<_ACEOF 23358 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 23359 _ACEOF 23360 23361 fi 23362 23363 done 23364 23365 23366 for ac_header in nan.h 23367 do 23368 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 23369 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23370 { echo "$as_me:$LINENO: checking for $ac_header" >&5 23371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 23372 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23373 echo $ECHO_N "(cached) $ECHO_C" >&6 23374 fi 23375 ac_res=`eval echo '${'$as_ac_Header'}'` 23376 { echo "$as_me:$LINENO: result: $ac_res" >&5 23377 echo "${ECHO_T}$ac_res" >&6; } 23378 else 23379 # Is the header compilable? 23380 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 23381 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 23382 cat >conftest.$ac_ext <<_ACEOF 23383 /* confdefs.h. */ 23384 _ACEOF 23385 cat confdefs.h >>conftest.$ac_ext 23386 cat >>conftest.$ac_ext <<_ACEOF 23387 /* end confdefs.h. */ 23388 $ac_includes_default 23389 #include <$ac_header> 23390 _ACEOF 23391 rm -f conftest.$ac_objext 23392 if { (ac_try="$ac_compile" 23393 case "(($ac_try" in 23394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23395 *) ac_try_echo=$ac_try;; 23396 esac 23397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23398 (eval "$ac_compile") 2>conftest.er1 23399 ac_status=$? 23400 grep -v '^ *+' conftest.er1 >conftest.err 23401 rm -f conftest.er1 23402 cat conftest.err >&5 23403 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23404 (exit $ac_status); } && { 23405 test -z "$ac_c_werror_flag" || 23406 test ! -s conftest.err 23407 } && test -s conftest.$ac_objext; then 23408 ac_header_compiler=yes 23409 else 23410 echo "$as_me: failed program was:" >&5 23411 sed 's/^/| /' conftest.$ac_ext >&5 23412 23413 ac_header_compiler=no 23414 fi 23415 23416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23417 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 23418 echo "${ECHO_T}$ac_header_compiler" >&6; } 23419 23420 # Is the header present? 23421 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 23422 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 23423 cat >conftest.$ac_ext <<_ACEOF 23424 /* confdefs.h. */ 23425 _ACEOF 23426 cat confdefs.h >>conftest.$ac_ext 23427 cat >>conftest.$ac_ext <<_ACEOF 23428 /* end confdefs.h. */ 23429 #include <$ac_header> 23430 _ACEOF 23431 if { (ac_try="$ac_cpp conftest.$ac_ext" 23432 case "(($ac_try" in 23433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23434 *) ac_try_echo=$ac_try;; 23435 esac 23436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23437 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 23438 ac_status=$? 23439 grep -v '^ *+' conftest.er1 >conftest.err 23440 rm -f conftest.er1 23441 cat conftest.err >&5 23442 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23443 (exit $ac_status); } >/dev/null && { 23444 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 23445 test ! -s conftest.err 23446 }; then 23447 ac_header_preproc=yes 23448 else 23449 echo "$as_me: failed program was:" >&5 23450 sed 's/^/| /' conftest.$ac_ext >&5 23451 23452 ac_header_preproc=no 23453 fi 23454 23455 rm -f conftest.err conftest.$ac_ext 23456 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 23457 echo "${ECHO_T}$ac_header_preproc" >&6; } 23458 23459 # So? What about this header? 23460 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 23461 yes:no: ) 23462 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 23463 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 23464 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 23465 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 23466 ac_header_preproc=yes 23467 ;; 23468 no:yes:* ) 23469 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 23470 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 23471 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 23472 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 23473 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 23474 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 23475 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 23476 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 23477 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 23478 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 23479 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 23480 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 23481 23482 ;; 23483 esac 23484 { echo "$as_me:$LINENO: checking for $ac_header" >&5 23485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 23486 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23487 echo $ECHO_N "(cached) $ECHO_C" >&6 23488 else 23489 eval "$as_ac_Header=\$ac_header_preproc" 23490 fi 23491 ac_res=`eval echo '${'$as_ac_Header'}'` 23492 { echo "$as_me:$LINENO: result: $ac_res" >&5 23493 echo "${ECHO_T}$ac_res" >&6; } 23494 23495 fi 23496 if test `eval echo '${'$as_ac_Header'}'` = yes; then 23497 cat >>confdefs.h <<_ACEOF 23498 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 23499 _ACEOF 23500 23501 fi 23502 23503 done 23504 23505 23506 for ac_header in math.h 23507 do 23508 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 23509 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23510 { echo "$as_me:$LINENO: checking for $ac_header" >&5 23511 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 23512 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23513 echo $ECHO_N "(cached) $ECHO_C" >&6 23514 fi 23515 ac_res=`eval echo '${'$as_ac_Header'}'` 23516 { echo "$as_me:$LINENO: result: $ac_res" >&5 23517 echo "${ECHO_T}$ac_res" >&6; } 23518 else 23519 # Is the header compilable? 23520 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 23521 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 23522 cat >conftest.$ac_ext <<_ACEOF 23523 /* confdefs.h. */ 23524 _ACEOF 23525 cat confdefs.h >>conftest.$ac_ext 23526 cat >>conftest.$ac_ext <<_ACEOF 23527 /* end confdefs.h. */ 23528 $ac_includes_default 23529 #include <$ac_header> 23530 _ACEOF 23531 rm -f conftest.$ac_objext 23532 if { (ac_try="$ac_compile" 23533 case "(($ac_try" in 23534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23535 *) ac_try_echo=$ac_try;; 23536 esac 23537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23538 (eval "$ac_compile") 2>conftest.er1 23539 ac_status=$? 23540 grep -v '^ *+' conftest.er1 >conftest.err 23541 rm -f conftest.er1 23542 cat conftest.err >&5 23543 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23544 (exit $ac_status); } && { 23545 test -z "$ac_c_werror_flag" || 23546 test ! -s conftest.err 23547 } && test -s conftest.$ac_objext; then 23548 ac_header_compiler=yes 23549 else 23550 echo "$as_me: failed program was:" >&5 23551 sed 's/^/| /' conftest.$ac_ext >&5 23552 23553 ac_header_compiler=no 23554 fi 23555 23556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23557 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 23558 echo "${ECHO_T}$ac_header_compiler" >&6; } 23559 23560 # Is the header present? 23561 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 23562 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 23563 cat >conftest.$ac_ext <<_ACEOF 23564 /* confdefs.h. */ 23565 _ACEOF 23566 cat confdefs.h >>conftest.$ac_ext 23567 cat >>conftest.$ac_ext <<_ACEOF 23568 /* end confdefs.h. */ 23569 #include <$ac_header> 23570 _ACEOF 23571 if { (ac_try="$ac_cpp conftest.$ac_ext" 23572 case "(($ac_try" in 23573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23574 *) ac_try_echo=$ac_try;; 23575 esac 23576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23577 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 23578 ac_status=$? 23579 grep -v '^ *+' conftest.er1 >conftest.err 23580 rm -f conftest.er1 23581 cat conftest.err >&5 23582 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23583 (exit $ac_status); } >/dev/null && { 23584 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 23585 test ! -s conftest.err 23586 }; then 23587 ac_header_preproc=yes 23588 else 23589 echo "$as_me: failed program was:" >&5 23590 sed 's/^/| /' conftest.$ac_ext >&5 23591 23592 ac_header_preproc=no 23593 fi 23594 23595 rm -f conftest.err conftest.$ac_ext 23596 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 23597 echo "${ECHO_T}$ac_header_preproc" >&6; } 23598 23599 # So? What about this header? 23600 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 23601 yes:no: ) 23602 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 23603 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 23604 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 23605 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 23606 ac_header_preproc=yes 23607 ;; 23608 no:yes:* ) 23609 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 23610 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 23611 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 23612 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 23613 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 23614 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 23615 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 23616 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 23617 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 23618 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 23619 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 23620 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 23621 23622 ;; 23623 esac 23624 { echo "$as_me:$LINENO: checking for $ac_header" >&5 23625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 23626 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23627 echo $ECHO_N "(cached) $ECHO_C" >&6 23628 else 23629 eval "$as_ac_Header=\$ac_header_preproc" 23630 fi 23631 ac_res=`eval echo '${'$as_ac_Header'}'` 23632 { echo "$as_me:$LINENO: result: $ac_res" >&5 23633 echo "${ECHO_T}$ac_res" >&6; } 23634 23635 fi 23636 if test `eval echo '${'$as_ac_Header'}'` = yes; then 23637 cat >>confdefs.h <<_ACEOF 23638 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 23639 _ACEOF 23640 23641 fi 23642 23643 done 23644 23645 23646 for ac_header in limits.h 23647 do 23648 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 23649 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23650 { echo "$as_me:$LINENO: checking for $ac_header" >&5 23651 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 23652 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23653 echo $ECHO_N "(cached) $ECHO_C" >&6 23654 fi 23655 ac_res=`eval echo '${'$as_ac_Header'}'` 23656 { echo "$as_me:$LINENO: result: $ac_res" >&5 23657 echo "${ECHO_T}$ac_res" >&6; } 23658 else 23659 # Is the header compilable? 23660 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 23661 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 23662 cat >conftest.$ac_ext <<_ACEOF 23663 /* confdefs.h. */ 23664 _ACEOF 23665 cat confdefs.h >>conftest.$ac_ext 23666 cat >>conftest.$ac_ext <<_ACEOF 23667 /* end confdefs.h. */ 23668 $ac_includes_default 23669 #include <$ac_header> 23670 _ACEOF 23671 rm -f conftest.$ac_objext 23672 if { (ac_try="$ac_compile" 23673 case "(($ac_try" in 23674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23675 *) ac_try_echo=$ac_try;; 23676 esac 23677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23678 (eval "$ac_compile") 2>conftest.er1 23679 ac_status=$? 23680 grep -v '^ *+' conftest.er1 >conftest.err 23681 rm -f conftest.er1 23682 cat conftest.err >&5 23683 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23684 (exit $ac_status); } && { 23685 test -z "$ac_c_werror_flag" || 23686 test ! -s conftest.err 23687 } && test -s conftest.$ac_objext; then 23688 ac_header_compiler=yes 23689 else 23690 echo "$as_me: failed program was:" >&5 23691 sed 's/^/| /' conftest.$ac_ext >&5 23692 23693 ac_header_compiler=no 23694 fi 23695 23696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23697 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 23698 echo "${ECHO_T}$ac_header_compiler" >&6; } 23699 23700 # Is the header present? 23701 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 23702 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 23703 cat >conftest.$ac_ext <<_ACEOF 23704 /* confdefs.h. */ 23705 _ACEOF 23706 cat confdefs.h >>conftest.$ac_ext 23707 cat >>conftest.$ac_ext <<_ACEOF 23708 /* end confdefs.h. */ 23709 #include <$ac_header> 23710 _ACEOF 23711 if { (ac_try="$ac_cpp conftest.$ac_ext" 23712 case "(($ac_try" in 23713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23714 *) ac_try_echo=$ac_try;; 23715 esac 23716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23717 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 23718 ac_status=$? 23719 grep -v '^ *+' conftest.er1 >conftest.err 23720 rm -f conftest.er1 23721 cat conftest.err >&5 23722 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23723 (exit $ac_status); } >/dev/null && { 23724 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 23725 test ! -s conftest.err 23726 }; then 23727 ac_header_preproc=yes 23728 else 23729 echo "$as_me: failed program was:" >&5 23730 sed 's/^/| /' conftest.$ac_ext >&5 23731 23732 ac_header_preproc=no 23733 fi 23734 23735 rm -f conftest.err conftest.$ac_ext 23736 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 23737 echo "${ECHO_T}$ac_header_preproc" >&6; } 23738 23739 # So? What about this header? 23740 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 23741 yes:no: ) 23742 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 23743 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 23744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 23745 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 23746 ac_header_preproc=yes 23747 ;; 23748 no:yes:* ) 23749 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 23750 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 23751 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 23752 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 23753 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 23754 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 23755 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 23756 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 23757 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 23758 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 23759 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 23760 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 23761 23762 ;; 23763 esac 23764 { echo "$as_me:$LINENO: checking for $ac_header" >&5 23765 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 23766 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23767 echo $ECHO_N "(cached) $ECHO_C" >&6 23768 else 23769 eval "$as_ac_Header=\$ac_header_preproc" 23770 fi 23771 ac_res=`eval echo '${'$as_ac_Header'}'` 23772 { echo "$as_me:$LINENO: result: $ac_res" >&5 23773 echo "${ECHO_T}$ac_res" >&6; } 23774 23775 fi 23776 if test `eval echo '${'$as_ac_Header'}'` = yes; then 23777 cat >>confdefs.h <<_ACEOF 23778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 23779 _ACEOF 23780 23781 fi 23782 23783 done 23784 23785 23786 for ac_header in fp_class.h 23787 do 23788 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 23789 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23790 { echo "$as_me:$LINENO: checking for $ac_header" >&5 23791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 23792 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23793 echo $ECHO_N "(cached) $ECHO_C" >&6 23794 fi 23795 ac_res=`eval echo '${'$as_ac_Header'}'` 23796 { echo "$as_me:$LINENO: result: $ac_res" >&5 23797 echo "${ECHO_T}$ac_res" >&6; } 23798 else 23799 # Is the header compilable? 23800 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 23801 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 23802 cat >conftest.$ac_ext <<_ACEOF 23803 /* confdefs.h. */ 23804 _ACEOF 23805 cat confdefs.h >>conftest.$ac_ext 23806 cat >>conftest.$ac_ext <<_ACEOF 23807 /* end confdefs.h. */ 23808 $ac_includes_default 23809 #include <$ac_header> 23810 _ACEOF 23811 rm -f conftest.$ac_objext 23812 if { (ac_try="$ac_compile" 23813 case "(($ac_try" in 23814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23815 *) ac_try_echo=$ac_try;; 23816 esac 23817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23818 (eval "$ac_compile") 2>conftest.er1 23819 ac_status=$? 23820 grep -v '^ *+' conftest.er1 >conftest.err 23821 rm -f conftest.er1 23822 cat conftest.err >&5 23823 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23824 (exit $ac_status); } && { 23825 test -z "$ac_c_werror_flag" || 23826 test ! -s conftest.err 23827 } && test -s conftest.$ac_objext; then 23828 ac_header_compiler=yes 23829 else 23830 echo "$as_me: failed program was:" >&5 23831 sed 's/^/| /' conftest.$ac_ext >&5 23832 23833 ac_header_compiler=no 23834 fi 23835 23836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23837 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 23838 echo "${ECHO_T}$ac_header_compiler" >&6; } 23839 23840 # Is the header present? 23841 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 23842 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 23843 cat >conftest.$ac_ext <<_ACEOF 23844 /* confdefs.h. */ 23845 _ACEOF 23846 cat confdefs.h >>conftest.$ac_ext 23847 cat >>conftest.$ac_ext <<_ACEOF 23848 /* end confdefs.h. */ 23849 #include <$ac_header> 23850 _ACEOF 23851 if { (ac_try="$ac_cpp conftest.$ac_ext" 23852 case "(($ac_try" in 23853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23854 *) ac_try_echo=$ac_try;; 23855 esac 23856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23857 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 23858 ac_status=$? 23859 grep -v '^ *+' conftest.er1 >conftest.err 23860 rm -f conftest.er1 23861 cat conftest.err >&5 23862 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23863 (exit $ac_status); } >/dev/null && { 23864 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 23865 test ! -s conftest.err 23866 }; then 23867 ac_header_preproc=yes 23868 else 23869 echo "$as_me: failed program was:" >&5 23870 sed 's/^/| /' conftest.$ac_ext >&5 23871 23872 ac_header_preproc=no 23873 fi 23874 23875 rm -f conftest.err conftest.$ac_ext 23876 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 23877 echo "${ECHO_T}$ac_header_preproc" >&6; } 23878 23879 # So? What about this header? 23880 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 23881 yes:no: ) 23882 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 23883 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 23884 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 23885 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 23886 ac_header_preproc=yes 23887 ;; 23888 no:yes:* ) 23889 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 23890 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 23891 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 23892 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 23893 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 23894 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 23895 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 23896 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 23897 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 23898 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 23899 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 23900 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 23901 23902 ;; 23903 esac 23904 { echo "$as_me:$LINENO: checking for $ac_header" >&5 23905 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 23906 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23907 echo $ECHO_N "(cached) $ECHO_C" >&6 23908 else 23909 eval "$as_ac_Header=\$ac_header_preproc" 23910 fi 23911 ac_res=`eval echo '${'$as_ac_Header'}'` 23912 { echo "$as_me:$LINENO: result: $ac_res" >&5 23913 echo "${ECHO_T}$ac_res" >&6; } 23914 23915 fi 23916 if test `eval echo '${'$as_ac_Header'}'` = yes; then 23917 cat >>confdefs.h <<_ACEOF 23918 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 23919 _ACEOF 23920 23921 fi 23922 23923 done 23924 23925 23926 for ac_header in float.h 23927 do 23928 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 23929 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23930 { echo "$as_me:$LINENO: checking for $ac_header" >&5 23931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 23932 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23933 echo $ECHO_N "(cached) $ECHO_C" >&6 23934 fi 23935 ac_res=`eval echo '${'$as_ac_Header'}'` 23936 { echo "$as_me:$LINENO: result: $ac_res" >&5 23937 echo "${ECHO_T}$ac_res" >&6; } 23938 else 23939 # Is the header compilable? 23940 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 23941 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 23942 cat >conftest.$ac_ext <<_ACEOF 23943 /* confdefs.h. */ 23944 _ACEOF 23945 cat confdefs.h >>conftest.$ac_ext 23946 cat >>conftest.$ac_ext <<_ACEOF 23947 /* end confdefs.h. */ 23948 $ac_includes_default 23949 #include <$ac_header> 23950 _ACEOF 23951 rm -f conftest.$ac_objext 23952 if { (ac_try="$ac_compile" 23953 case "(($ac_try" in 23954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23955 *) ac_try_echo=$ac_try;; 23956 esac 23957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23958 (eval "$ac_compile") 2>conftest.er1 23959 ac_status=$? 23960 grep -v '^ *+' conftest.er1 >conftest.err 23961 rm -f conftest.er1 23962 cat conftest.err >&5 23963 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23964 (exit $ac_status); } && { 23965 test -z "$ac_c_werror_flag" || 23966 test ! -s conftest.err 23967 } && test -s conftest.$ac_objext; then 23968 ac_header_compiler=yes 23969 else 23970 echo "$as_me: failed program was:" >&5 23971 sed 's/^/| /' conftest.$ac_ext >&5 23972 23973 ac_header_compiler=no 23974 fi 23975 23976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23977 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 23978 echo "${ECHO_T}$ac_header_compiler" >&6; } 23979 23980 # Is the header present? 23981 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 23982 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 23983 cat >conftest.$ac_ext <<_ACEOF 23984 /* confdefs.h. */ 23985 _ACEOF 23986 cat confdefs.h >>conftest.$ac_ext 23987 cat >>conftest.$ac_ext <<_ACEOF 23988 /* end confdefs.h. */ 23989 #include <$ac_header> 23990 _ACEOF 23991 if { (ac_try="$ac_cpp conftest.$ac_ext" 23992 case "(($ac_try" in 23993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23994 *) ac_try_echo=$ac_try;; 23995 esac 23996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23997 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 23998 ac_status=$? 23999 grep -v '^ *+' conftest.er1 >conftest.err 24000 rm -f conftest.er1 24001 cat conftest.err >&5 24002 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24003 (exit $ac_status); } >/dev/null && { 24004 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 24005 test ! -s conftest.err 24006 }; then 24007 ac_header_preproc=yes 24008 else 24009 echo "$as_me: failed program was:" >&5 24010 sed 's/^/| /' conftest.$ac_ext >&5 24011 24012 ac_header_preproc=no 24013 fi 24014 24015 rm -f conftest.err conftest.$ac_ext 24016 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 24017 echo "${ECHO_T}$ac_header_preproc" >&6; } 24018 24019 # So? What about this header? 24020 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 24021 yes:no: ) 24022 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 24023 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 24024 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 24025 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 24026 ac_header_preproc=yes 24027 ;; 24028 no:yes:* ) 24029 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 24030 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 24031 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 24032 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 24033 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 24034 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 24035 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 24036 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 24037 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 24038 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 24039 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 24040 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 24041 24042 ;; 24043 esac 24044 { echo "$as_me:$LINENO: checking for $ac_header" >&5 24045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 24046 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 24047 echo $ECHO_N "(cached) $ECHO_C" >&6 24048 else 24049 eval "$as_ac_Header=\$ac_header_preproc" 24050 fi 24051 ac_res=`eval echo '${'$as_ac_Header'}'` 24052 { echo "$as_me:$LINENO: result: $ac_res" >&5 24053 echo "${ECHO_T}$ac_res" >&6; } 24054 24055 fi 24056 if test `eval echo '${'$as_ac_Header'}'` = yes; then 24057 cat >>confdefs.h <<_ACEOF 24058 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 24059 _ACEOF 24060 24061 fi 24062 24063 done 24064 24065 24066 for ac_header in stdlib.h 24067 do 24068 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 24069 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 24070 { echo "$as_me:$LINENO: checking for $ac_header" >&5 24071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 24072 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 24073 echo $ECHO_N "(cached) $ECHO_C" >&6 24074 fi 24075 ac_res=`eval echo '${'$as_ac_Header'}'` 24076 { echo "$as_me:$LINENO: result: $ac_res" >&5 24077 echo "${ECHO_T}$ac_res" >&6; } 24078 else 24079 # Is the header compilable? 24080 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 24081 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 24082 cat >conftest.$ac_ext <<_ACEOF 24083 /* confdefs.h. */ 24084 _ACEOF 24085 cat confdefs.h >>conftest.$ac_ext 24086 cat >>conftest.$ac_ext <<_ACEOF 24087 /* end confdefs.h. */ 24088 $ac_includes_default 24089 #include <$ac_header> 24090 _ACEOF 24091 rm -f conftest.$ac_objext 24092 if { (ac_try="$ac_compile" 24093 case "(($ac_try" in 24094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24095 *) ac_try_echo=$ac_try;; 24096 esac 24097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24098 (eval "$ac_compile") 2>conftest.er1 24099 ac_status=$? 24100 grep -v '^ *+' conftest.er1 >conftest.err 24101 rm -f conftest.er1 24102 cat conftest.err >&5 24103 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24104 (exit $ac_status); } && { 24105 test -z "$ac_c_werror_flag" || 24106 test ! -s conftest.err 24107 } && test -s conftest.$ac_objext; then 24108 ac_header_compiler=yes 24109 else 24110 echo "$as_me: failed program was:" >&5 24111 sed 's/^/| /' conftest.$ac_ext >&5 24112 24113 ac_header_compiler=no 24114 fi 24115 24116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24117 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 24118 echo "${ECHO_T}$ac_header_compiler" >&6; } 24119 24120 # Is the header present? 24121 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 24122 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 24123 cat >conftest.$ac_ext <<_ACEOF 24124 /* confdefs.h. */ 24125 _ACEOF 24126 cat confdefs.h >>conftest.$ac_ext 24127 cat >>conftest.$ac_ext <<_ACEOF 24128 /* end confdefs.h. */ 24129 #include <$ac_header> 24130 _ACEOF 24131 if { (ac_try="$ac_cpp conftest.$ac_ext" 24132 case "(($ac_try" in 24133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24134 *) ac_try_echo=$ac_try;; 24135 esac 24136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24137 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 24138 ac_status=$? 24139 grep -v '^ *+' conftest.er1 >conftest.err 24140 rm -f conftest.er1 24141 cat conftest.err >&5 24142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24143 (exit $ac_status); } >/dev/null && { 24144 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 24145 test ! -s conftest.err 24146 }; then 24147 ac_header_preproc=yes 24148 else 24149 echo "$as_me: failed program was:" >&5 24150 sed 's/^/| /' conftest.$ac_ext >&5 24151 24152 ac_header_preproc=no 24153 fi 24154 24155 rm -f conftest.err conftest.$ac_ext 24156 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 24157 echo "${ECHO_T}$ac_header_preproc" >&6; } 24158 24159 # So? What about this header? 24160 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 24161 yes:no: ) 24162 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 24163 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 24164 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 24165 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 24166 ac_header_preproc=yes 24167 ;; 24168 no:yes:* ) 24169 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 24170 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 24171 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 24172 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 24173 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 24174 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 24175 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 24176 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 24177 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 24178 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 24179 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 24180 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 24181 24182 ;; 24183 esac 24184 { echo "$as_me:$LINENO: checking for $ac_header" >&5 24185 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 24186 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 24187 echo $ECHO_N "(cached) $ECHO_C" >&6 24188 else 24189 eval "$as_ac_Header=\$ac_header_preproc" 24190 fi 24191 ac_res=`eval echo '${'$as_ac_Header'}'` 24192 { echo "$as_me:$LINENO: result: $ac_res" >&5 24193 echo "${ECHO_T}$ac_res" >&6; } 24194 24195 fi 24196 if test `eval echo '${'$as_ac_Header'}'` = yes; then 24197 cat >>confdefs.h <<_ACEOF 24198 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 24199 _ACEOF 24200 24201 fi 24202 24203 done 24204 24205 24206 for ac_header in sys/socket.h 24207 do 24208 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 24209 { echo "$as_me:$LINENO: checking for $ac_header" >&5 24210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 24211 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 24212 echo $ECHO_N "(cached) $ECHO_C" >&6 24213 else 24214 cat >conftest.$ac_ext <<_ACEOF 24215 /* confdefs.h. */ 24216 _ACEOF 24217 cat confdefs.h >>conftest.$ac_ext 24218 cat >>conftest.$ac_ext <<_ACEOF 24219 /* end confdefs.h. */ 24220 #if HAVE_SYS_TYPES_H 24221 # include <sys/types.h> 24222 # endif 24223 24224 24225 #include <$ac_header> 24226 _ACEOF 24227 rm -f conftest.$ac_objext 24228 if { (ac_try="$ac_compile" 24229 case "(($ac_try" in 24230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24231 *) ac_try_echo=$ac_try;; 24232 esac 24233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24234 (eval "$ac_compile") 2>conftest.er1 24235 ac_status=$? 24236 grep -v '^ *+' conftest.er1 >conftest.err 24237 rm -f conftest.er1 24238 cat conftest.err >&5 24239 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24240 (exit $ac_status); } && { 24241 test -z "$ac_c_werror_flag" || 24242 test ! -s conftest.err 24243 } && test -s conftest.$ac_objext; then 24244 eval "$as_ac_Header=yes" 24245 else 24246 echo "$as_me: failed program was:" >&5 24247 sed 's/^/| /' conftest.$ac_ext >&5 24248 24249 eval "$as_ac_Header=no" 24250 fi 24251 24252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24253 fi 24254 ac_res=`eval echo '${'$as_ac_Header'}'` 24255 { echo "$as_me:$LINENO: result: $ac_res" >&5 24256 echo "${ECHO_T}$ac_res" >&6; } 24257 if test `eval echo '${'$as_ac_Header'}'` = yes; then 24258 cat >>confdefs.h <<_ACEOF 24259 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 24260 _ACEOF 24261 24262 fi 24263 24264 done 24265 24266 24267 for ac_header in netinet/in.h 24268 do 24269 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 24270 { echo "$as_me:$LINENO: checking for $ac_header" >&5 24271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 24272 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 24273 echo $ECHO_N "(cached) $ECHO_C" >&6 24274 else 24275 cat >conftest.$ac_ext <<_ACEOF 24276 /* confdefs.h. */ 24277 _ACEOF 24278 cat confdefs.h >>conftest.$ac_ext 24279 cat >>conftest.$ac_ext <<_ACEOF 24280 /* end confdefs.h. */ 24281 #if HAVE_SYS_TYPES_H 24282 # include <sys/types.h> 24283 # endif 24284 24285 24286 #include <$ac_header> 24287 _ACEOF 24288 rm -f conftest.$ac_objext 24289 if { (ac_try="$ac_compile" 24290 case "(($ac_try" in 24291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24292 *) ac_try_echo=$ac_try;; 24293 esac 24294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24295 (eval "$ac_compile") 2>conftest.er1 24296 ac_status=$? 24297 grep -v '^ *+' conftest.er1 >conftest.err 24298 rm -f conftest.er1 24299 cat conftest.err >&5 24300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24301 (exit $ac_status); } && { 24302 test -z "$ac_c_werror_flag" || 24303 test ! -s conftest.err 24304 } && test -s conftest.$ac_objext; then 24305 eval "$as_ac_Header=yes" 24306 else 24307 echo "$as_me: failed program was:" >&5 24308 sed 's/^/| /' conftest.$ac_ext >&5 24309 24310 eval "$as_ac_Header=no" 24311 fi 24312 24313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24314 fi 24315 ac_res=`eval echo '${'$as_ac_Header'}'` 24316 { echo "$as_me:$LINENO: result: $ac_res" >&5 24317 echo "${ECHO_T}$ac_res" >&6; } 24318 if test `eval echo '${'$as_ac_Header'}'` = yes; then 24319 cat >>confdefs.h <<_ACEOF 24320 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 24321 _ACEOF 24322 24323 fi 24324 24325 done 24326 24327 24328 for ac_header in arpa/inet.h 24329 do 24330 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 24331 { echo "$as_me:$LINENO: checking for $ac_header" >&5 24332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 24333 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 24334 echo $ECHO_N "(cached) $ECHO_C" >&6 24335 else 24336 cat >conftest.$ac_ext <<_ACEOF 24337 /* confdefs.h. */ 24338 _ACEOF 24339 cat confdefs.h >>conftest.$ac_ext 24340 cat >>conftest.$ac_ext <<_ACEOF 24341 /* end confdefs.h. */ 24342 #if HAVE_SYS_TYPES_H 24343 # include <sys/types.h> 24344 # endif 24345 #if HAVE_ARPA_INET_H 24346 # include <arpa/inet.h> 24347 # endif 24348 24349 24350 #include <$ac_header> 24351 _ACEOF 24352 rm -f conftest.$ac_objext 24353 if { (ac_try="$ac_compile" 24354 case "(($ac_try" in 24355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24356 *) ac_try_echo=$ac_try;; 24357 esac 24358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24359 (eval "$ac_compile") 2>conftest.er1 24360 ac_status=$? 24361 grep -v '^ *+' conftest.er1 >conftest.err 24362 rm -f conftest.er1 24363 cat conftest.err >&5 24364 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24365 (exit $ac_status); } && { 24366 test -z "$ac_c_werror_flag" || 24367 test ! -s conftest.err 24368 } && test -s conftest.$ac_objext; then 24369 eval "$as_ac_Header=yes" 24370 else 24371 echo "$as_me: failed program was:" >&5 24372 sed 's/^/| /' conftest.$ac_ext >&5 24373 24374 eval "$as_ac_Header=no" 24375 fi 24376 24377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24378 fi 24379 ac_res=`eval echo '${'$as_ac_Header'}'` 24380 { echo "$as_me:$LINENO: result: $ac_res" >&5 24381 echo "${ECHO_T}$ac_res" >&6; } 24382 if test `eval echo '${'$as_ac_Header'}'` = yes; then 24383 cat >>confdefs.h <<_ACEOF 24384 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 24385 _ACEOF 24386 24387 fi 24388 24389 done 24390 24391 24392 for ac_header in netdb.h 24393 do 24394 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 24395 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 24396 { echo "$as_me:$LINENO: checking for $ac_header" >&5 24397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 24398 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 24399 echo $ECHO_N "(cached) $ECHO_C" >&6 24400 fi 24401 ac_res=`eval echo '${'$as_ac_Header'}'` 24402 { echo "$as_me:$LINENO: result: $ac_res" >&5 24403 echo "${ECHO_T}$ac_res" >&6; } 24404 else 24405 # Is the header compilable? 24406 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 24407 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 24408 cat >conftest.$ac_ext <<_ACEOF 24409 /* confdefs.h. */ 24410 _ACEOF 24411 cat confdefs.h >>conftest.$ac_ext 24412 cat >>conftest.$ac_ext <<_ACEOF 24413 /* end confdefs.h. */ 24414 $ac_includes_default 24415 #include <$ac_header> 24416 _ACEOF 24417 rm -f conftest.$ac_objext 24418 if { (ac_try="$ac_compile" 24419 case "(($ac_try" in 24420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24421 *) ac_try_echo=$ac_try;; 24422 esac 24423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24424 (eval "$ac_compile") 2>conftest.er1 24425 ac_status=$? 24426 grep -v '^ *+' conftest.er1 >conftest.err 24427 rm -f conftest.er1 24428 cat conftest.err >&5 24429 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24430 (exit $ac_status); } && { 24431 test -z "$ac_c_werror_flag" || 24432 test ! -s conftest.err 24433 } && test -s conftest.$ac_objext; then 24434 ac_header_compiler=yes 24435 else 24436 echo "$as_me: failed program was:" >&5 24437 sed 's/^/| /' conftest.$ac_ext >&5 24438 24439 ac_header_compiler=no 24440 fi 24441 24442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24443 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 24444 echo "${ECHO_T}$ac_header_compiler" >&6; } 24445 24446 # Is the header present? 24447 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 24448 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 24449 cat >conftest.$ac_ext <<_ACEOF 24450 /* confdefs.h. */ 24451 _ACEOF 24452 cat confdefs.h >>conftest.$ac_ext 24453 cat >>conftest.$ac_ext <<_ACEOF 24454 /* end confdefs.h. */ 24455 #include <$ac_header> 24456 _ACEOF 24457 if { (ac_try="$ac_cpp conftest.$ac_ext" 24458 case "(($ac_try" in 24459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24460 *) ac_try_echo=$ac_try;; 24461 esac 24462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24463 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 24464 ac_status=$? 24465 grep -v '^ *+' conftest.er1 >conftest.err 24466 rm -f conftest.er1 24467 cat conftest.err >&5 24468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24469 (exit $ac_status); } >/dev/null && { 24470 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 24471 test ! -s conftest.err 24472 }; then 24473 ac_header_preproc=yes 24474 else 24475 echo "$as_me: failed program was:" >&5 24476 sed 's/^/| /' conftest.$ac_ext >&5 24477 24478 ac_header_preproc=no 24479 fi 24480 24481 rm -f conftest.err conftest.$ac_ext 24482 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 24483 echo "${ECHO_T}$ac_header_preproc" >&6; } 24484 24485 # So? What about this header? 24486 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 24487 yes:no: ) 24488 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 24489 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 24490 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 24491 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 24492 ac_header_preproc=yes 24493 ;; 24494 no:yes:* ) 24495 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 24496 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 24497 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 24498 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 24499 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 24500 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 24501 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 24502 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 24503 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 24504 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 24505 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 24506 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 24507 24508 ;; 24509 esac 24510 { echo "$as_me:$LINENO: checking for $ac_header" >&5 24511 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 24512 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 24513 echo $ECHO_N "(cached) $ECHO_C" >&6 24514 else 24515 eval "$as_ac_Header=\$ac_header_preproc" 24516 fi 24517 ac_res=`eval echo '${'$as_ac_Header'}'` 24518 { echo "$as_me:$LINENO: result: $ac_res" >&5 24519 echo "${ECHO_T}$ac_res" >&6; } 24520 24521 fi 24522 if test `eval echo '${'$as_ac_Header'}'` = yes; then 24523 cat >>confdefs.h <<_ACEOF 24524 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 24525 _ACEOF 24526 24527 fi 24528 24529 done 24530 24531 24532 for ac_header in sys/time.h 24533 do 24534 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 24535 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 24536 { echo "$as_me:$LINENO: checking for $ac_header" >&5 24537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 24538 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 24539 echo $ECHO_N "(cached) $ECHO_C" >&6 24540 fi 24541 ac_res=`eval echo '${'$as_ac_Header'}'` 24542 { echo "$as_me:$LINENO: result: $ac_res" >&5 24543 echo "${ECHO_T}$ac_res" >&6; } 24544 else 24545 # Is the header compilable? 24546 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 24547 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 24548 cat >conftest.$ac_ext <<_ACEOF 24549 /* confdefs.h. */ 24550 _ACEOF 24551 cat confdefs.h >>conftest.$ac_ext 24552 cat >>conftest.$ac_ext <<_ACEOF 24553 /* end confdefs.h. */ 24554 $ac_includes_default 24555 #include <$ac_header> 24556 _ACEOF 24557 rm -f conftest.$ac_objext 24558 if { (ac_try="$ac_compile" 24559 case "(($ac_try" in 24560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24561 *) ac_try_echo=$ac_try;; 24562 esac 24563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24564 (eval "$ac_compile") 2>conftest.er1 24565 ac_status=$? 24566 grep -v '^ *+' conftest.er1 >conftest.err 24567 rm -f conftest.er1 24568 cat conftest.err >&5 24569 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24570 (exit $ac_status); } && { 24571 test -z "$ac_c_werror_flag" || 24572 test ! -s conftest.err 24573 } && test -s conftest.$ac_objext; then 24574 ac_header_compiler=yes 24575 else 24576 echo "$as_me: failed program was:" >&5 24577 sed 's/^/| /' conftest.$ac_ext >&5 24578 24579 ac_header_compiler=no 24580 fi 24581 24582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24583 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 24584 echo "${ECHO_T}$ac_header_compiler" >&6; } 24585 24586 # Is the header present? 24587 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 24588 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 24589 cat >conftest.$ac_ext <<_ACEOF 24590 /* confdefs.h. */ 24591 _ACEOF 24592 cat confdefs.h >>conftest.$ac_ext 24593 cat >>conftest.$ac_ext <<_ACEOF 24594 /* end confdefs.h. */ 24595 #include <$ac_header> 24596 _ACEOF 24597 if { (ac_try="$ac_cpp conftest.$ac_ext" 24598 case "(($ac_try" in 24599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24600 *) ac_try_echo=$ac_try;; 24601 esac 24602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24603 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 24604 ac_status=$? 24605 grep -v '^ *+' conftest.er1 >conftest.err 24606 rm -f conftest.er1 24607 cat conftest.err >&5 24608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24609 (exit $ac_status); } >/dev/null && { 24610 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 24611 test ! -s conftest.err 24612 }; then 24613 ac_header_preproc=yes 24614 else 24615 echo "$as_me: failed program was:" >&5 24616 sed 's/^/| /' conftest.$ac_ext >&5 24617 24618 ac_header_preproc=no 24619 fi 24620 24621 rm -f conftest.err conftest.$ac_ext 24622 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 24623 echo "${ECHO_T}$ac_header_preproc" >&6; } 24624 24625 # So? What about this header? 24626 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 24627 yes:no: ) 24628 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 24629 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 24630 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 24631 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 24632 ac_header_preproc=yes 24633 ;; 24634 no:yes:* ) 24635 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 24636 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 24637 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 24638 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 24639 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 24640 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 24641 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 24642 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 24643 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 24644 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 24645 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 24646 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 24647 24648 ;; 24649 esac 24650 { echo "$as_me:$LINENO: checking for $ac_header" >&5 24651 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 24652 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 24653 echo $ECHO_N "(cached) $ECHO_C" >&6 24654 else 24655 eval "$as_ac_Header=\$ac_header_preproc" 24656 fi 24657 ac_res=`eval echo '${'$as_ac_Header'}'` 24658 { echo "$as_me:$LINENO: result: $ac_res" >&5 24659 echo "${ECHO_T}$ac_res" >&6; } 24660 24661 fi 24662 if test `eval echo '${'$as_ac_Header'}'` = yes; then 24663 cat >>confdefs.h <<_ACEOF 24664 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 24665 _ACEOF 24666 24667 fi 24668 24669 done 24670 24671 24672 for ac_header in sys/select.h 24673 do 24674 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 24675 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 24676 { echo "$as_me:$LINENO: checking for $ac_header" >&5 24677 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 24678 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 24679 echo $ECHO_N "(cached) $ECHO_C" >&6 24680 fi 24681 ac_res=`eval echo '${'$as_ac_Header'}'` 24682 { echo "$as_me:$LINENO: result: $ac_res" >&5 24683 echo "${ECHO_T}$ac_res" >&6; } 24684 else 24685 # Is the header compilable? 24686 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 24687 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 24688 cat >conftest.$ac_ext <<_ACEOF 24689 /* confdefs.h. */ 24690 _ACEOF 24691 cat confdefs.h >>conftest.$ac_ext 24692 cat >>conftest.$ac_ext <<_ACEOF 24693 /* end confdefs.h. */ 24694 $ac_includes_default 24695 #include <$ac_header> 24696 _ACEOF 24697 rm -f conftest.$ac_objext 24698 if { (ac_try="$ac_compile" 24699 case "(($ac_try" in 24700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24701 *) ac_try_echo=$ac_try;; 24702 esac 24703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24704 (eval "$ac_compile") 2>conftest.er1 24705 ac_status=$? 24706 grep -v '^ *+' conftest.er1 >conftest.err 24707 rm -f conftest.er1 24708 cat conftest.err >&5 24709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24710 (exit $ac_status); } && { 24711 test -z "$ac_c_werror_flag" || 24712 test ! -s conftest.err 24713 } && test -s conftest.$ac_objext; then 24714 ac_header_compiler=yes 24715 else 24716 echo "$as_me: failed program was:" >&5 24717 sed 's/^/| /' conftest.$ac_ext >&5 24718 24719 ac_header_compiler=no 24720 fi 24721 24722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24723 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 24724 echo "${ECHO_T}$ac_header_compiler" >&6; } 24725 24726 # Is the header present? 24727 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 24728 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 24729 cat >conftest.$ac_ext <<_ACEOF 24730 /* confdefs.h. */ 24731 _ACEOF 24732 cat confdefs.h >>conftest.$ac_ext 24733 cat >>conftest.$ac_ext <<_ACEOF 24734 /* end confdefs.h. */ 24735 #include <$ac_header> 24736 _ACEOF 24737 if { (ac_try="$ac_cpp conftest.$ac_ext" 24738 case "(($ac_try" in 24739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24740 *) ac_try_echo=$ac_try;; 24741 esac 24742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24743 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 24744 ac_status=$? 24745 grep -v '^ *+' conftest.er1 >conftest.err 24746 rm -f conftest.er1 24747 cat conftest.err >&5 24748 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24749 (exit $ac_status); } >/dev/null && { 24750 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 24751 test ! -s conftest.err 24752 }; then 24753 ac_header_preproc=yes 24754 else 24755 echo "$as_me: failed program was:" >&5 24756 sed 's/^/| /' conftest.$ac_ext >&5 24757 24758 ac_header_preproc=no 24759 fi 24760 24761 rm -f conftest.err conftest.$ac_ext 24762 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 24763 echo "${ECHO_T}$ac_header_preproc" >&6; } 24764 24765 # So? What about this header? 24766 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 24767 yes:no: ) 24768 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 24769 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 24770 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 24771 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 24772 ac_header_preproc=yes 24773 ;; 24774 no:yes:* ) 24775 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 24776 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 24777 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 24778 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 24779 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 24780 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 24781 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 24782 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 24783 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 24784 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 24785 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 24786 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 24787 24788 ;; 24789 esac 24790 { echo "$as_me:$LINENO: checking for $ac_header" >&5 24791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 24792 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 24793 echo $ECHO_N "(cached) $ECHO_C" >&6 24794 else 24795 eval "$as_ac_Header=\$ac_header_preproc" 24796 fi 24797 ac_res=`eval echo '${'$as_ac_Header'}'` 24798 { echo "$as_me:$LINENO: result: $ac_res" >&5 24799 echo "${ECHO_T}$ac_res" >&6; } 24800 24801 fi 24802 if test `eval echo '${'$as_ac_Header'}'` = yes; then 24803 cat >>confdefs.h <<_ACEOF 24804 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 24805 _ACEOF 24806 24807 fi 24808 24809 done 24810 24811 24812 for ac_header in sys/mman.h 24813 do 24814 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 24815 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 24816 { echo "$as_me:$LINENO: checking for $ac_header" >&5 24817 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 24818 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 24819 echo $ECHO_N "(cached) $ECHO_C" >&6 24820 fi 24821 ac_res=`eval echo '${'$as_ac_Header'}'` 24822 { echo "$as_me:$LINENO: result: $ac_res" >&5 24823 echo "${ECHO_T}$ac_res" >&6; } 24824 else 24825 # Is the header compilable? 24826 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 24827 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 24828 cat >conftest.$ac_ext <<_ACEOF 24829 /* confdefs.h. */ 24830 _ACEOF 24831 cat confdefs.h >>conftest.$ac_ext 24832 cat >>conftest.$ac_ext <<_ACEOF 24833 /* end confdefs.h. */ 24834 $ac_includes_default 24835 #include <$ac_header> 24836 _ACEOF 24837 rm -f conftest.$ac_objext 24838 if { (ac_try="$ac_compile" 24839 case "(($ac_try" in 24840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24841 *) ac_try_echo=$ac_try;; 24842 esac 24843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24844 (eval "$ac_compile") 2>conftest.er1 24845 ac_status=$? 24846 grep -v '^ *+' conftest.er1 >conftest.err 24847 rm -f conftest.er1 24848 cat conftest.err >&5 24849 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24850 (exit $ac_status); } && { 24851 test -z "$ac_c_werror_flag" || 24852 test ! -s conftest.err 24853 } && test -s conftest.$ac_objext; then 24854 ac_header_compiler=yes 24855 else 24856 echo "$as_me: failed program was:" >&5 24857 sed 's/^/| /' conftest.$ac_ext >&5 24858 24859 ac_header_compiler=no 24860 fi 24861 24862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24863 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 24864 echo "${ECHO_T}$ac_header_compiler" >&6; } 24865 24866 # Is the header present? 24867 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 24868 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 24869 cat >conftest.$ac_ext <<_ACEOF 24870 /* confdefs.h. */ 24871 _ACEOF 24872 cat confdefs.h >>conftest.$ac_ext 24873 cat >>conftest.$ac_ext <<_ACEOF 24874 /* end confdefs.h. */ 24875 #include <$ac_header> 24876 _ACEOF 24877 if { (ac_try="$ac_cpp conftest.$ac_ext" 24878 case "(($ac_try" in 24879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24880 *) ac_try_echo=$ac_try;; 24881 esac 24882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24883 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 24884 ac_status=$? 24885 grep -v '^ *+' conftest.er1 >conftest.err 24886 rm -f conftest.er1 24887 cat conftest.err >&5 24888 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24889 (exit $ac_status); } >/dev/null && { 24890 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 24891 test ! -s conftest.err 24892 }; then 24893 ac_header_preproc=yes 24894 else 24895 echo "$as_me: failed program was:" >&5 24896 sed 's/^/| /' conftest.$ac_ext >&5 24897 24898 ac_header_preproc=no 24899 fi 24900 24901 rm -f conftest.err conftest.$ac_ext 24902 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 24903 echo "${ECHO_T}$ac_header_preproc" >&6; } 24904 24905 # So? What about this header? 24906 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 24907 yes:no: ) 24908 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 24909 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 24910 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 24911 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 24912 ac_header_preproc=yes 24913 ;; 24914 no:yes:* ) 24915 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 24916 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 24917 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 24918 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 24919 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 24920 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 24921 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 24922 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 24923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 24924 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 24925 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 24926 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 24927 24928 ;; 24929 esac 24930 { echo "$as_me:$LINENO: checking for $ac_header" >&5 24931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 24932 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 24933 echo $ECHO_N "(cached) $ECHO_C" >&6 24934 else 24935 eval "$as_ac_Header=\$ac_header_preproc" 24936 fi 24937 ac_res=`eval echo '${'$as_ac_Header'}'` 24938 { echo "$as_me:$LINENO: result: $ac_res" >&5 24939 echo "${ECHO_T}$ac_res" >&6; } 24940 24941 fi 24942 if test `eval echo '${'$as_ac_Header'}'` = yes; then 24943 cat >>confdefs.h <<_ACEOF 24944 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 24945 _ACEOF 24946 24947 fi 24948 24949 done 24950 24951 24952 for ac_header in sys/timeb.h 24953 do 24954 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 24955 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 24956 { echo "$as_me:$LINENO: checking for $ac_header" >&5 24957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 24958 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 24959 echo $ECHO_N "(cached) $ECHO_C" >&6 24960 fi 24961 ac_res=`eval echo '${'$as_ac_Header'}'` 24962 { echo "$as_me:$LINENO: result: $ac_res" >&5 24963 echo "${ECHO_T}$ac_res" >&6; } 24964 else 24965 # Is the header compilable? 24966 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 24967 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 24968 cat >conftest.$ac_ext <<_ACEOF 24969 /* confdefs.h. */ 24970 _ACEOF 24971 cat confdefs.h >>conftest.$ac_ext 24972 cat >>conftest.$ac_ext <<_ACEOF 24973 /* end confdefs.h. */ 24974 $ac_includes_default 24975 #include <$ac_header> 24976 _ACEOF 24977 rm -f conftest.$ac_objext 24978 if { (ac_try="$ac_compile" 24979 case "(($ac_try" in 24980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24981 *) ac_try_echo=$ac_try;; 24982 esac 24983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24984 (eval "$ac_compile") 2>conftest.er1 24985 ac_status=$? 24986 grep -v '^ *+' conftest.er1 >conftest.err 24987 rm -f conftest.er1 24988 cat conftest.err >&5 24989 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24990 (exit $ac_status); } && { 24991 test -z "$ac_c_werror_flag" || 24992 test ! -s conftest.err 24993 } && test -s conftest.$ac_objext; then 24994 ac_header_compiler=yes 24995 else 24996 echo "$as_me: failed program was:" >&5 24997 sed 's/^/| /' conftest.$ac_ext >&5 24998 24999 ac_header_compiler=no 25000 fi 25001 25002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25003 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 25004 echo "${ECHO_T}$ac_header_compiler" >&6; } 25005 25006 # Is the header present? 25007 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 25008 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 25009 cat >conftest.$ac_ext <<_ACEOF 25010 /* confdefs.h. */ 25011 _ACEOF 25012 cat confdefs.h >>conftest.$ac_ext 25013 cat >>conftest.$ac_ext <<_ACEOF 25014 /* end confdefs.h. */ 25015 #include <$ac_header> 25016 _ACEOF 25017 if { (ac_try="$ac_cpp conftest.$ac_ext" 25018 case "(($ac_try" in 25019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25020 *) ac_try_echo=$ac_try;; 25021 esac 25022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25023 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 25024 ac_status=$? 25025 grep -v '^ *+' conftest.er1 >conftest.err 25026 rm -f conftest.er1 25027 cat conftest.err >&5 25028 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25029 (exit $ac_status); } >/dev/null && { 25030 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 25031 test ! -s conftest.err 25032 }; then 25033 ac_header_preproc=yes 25034 else 25035 echo "$as_me: failed program was:" >&5 25036 sed 's/^/| /' conftest.$ac_ext >&5 25037 25038 ac_header_preproc=no 25039 fi 25040 25041 rm -f conftest.err conftest.$ac_ext 25042 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 25043 echo "${ECHO_T}$ac_header_preproc" >&6; } 25044 25045 # So? What about this header? 25046 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 25047 yes:no: ) 25048 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 25049 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 25050 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 25051 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 25052 ac_header_preproc=yes 25053 ;; 25054 no:yes:* ) 25055 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 25056 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 25057 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 25058 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 25059 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 25060 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 25061 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 25062 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 25063 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 25064 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 25065 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 25066 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 25067 25068 ;; 25069 esac 25070 { echo "$as_me:$LINENO: checking for $ac_header" >&5 25071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 25072 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 25073 echo $ECHO_N "(cached) $ECHO_C" >&6 25074 else 25075 eval "$as_ac_Header=\$ac_header_preproc" 25076 fi 25077 ac_res=`eval echo '${'$as_ac_Header'}'` 25078 { echo "$as_me:$LINENO: result: $ac_res" >&5 25079 echo "${ECHO_T}$ac_res" >&6; } 25080 25081 fi 25082 if test `eval echo '${'$as_ac_Header'}'` = yes; then 25083 cat >>confdefs.h <<_ACEOF 25084 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 25085 _ACEOF 25086 25087 fi 25088 25089 done 25090 25091 25092 for ac_header in signal.h 25093 do 25094 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 25095 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 25096 { echo "$as_me:$LINENO: checking for $ac_header" >&5 25097 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 25098 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 25099 echo $ECHO_N "(cached) $ECHO_C" >&6 25100 fi 25101 ac_res=`eval echo '${'$as_ac_Header'}'` 25102 { echo "$as_me:$LINENO: result: $ac_res" >&5 25103 echo "${ECHO_T}$ac_res" >&6; } 25104 else 25105 # Is the header compilable? 25106 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 25107 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 25108 cat >conftest.$ac_ext <<_ACEOF 25109 /* confdefs.h. */ 25110 _ACEOF 25111 cat confdefs.h >>conftest.$ac_ext 25112 cat >>conftest.$ac_ext <<_ACEOF 25113 /* end confdefs.h. */ 25114 $ac_includes_default 25115 #include <$ac_header> 25116 _ACEOF 25117 rm -f conftest.$ac_objext 25118 if { (ac_try="$ac_compile" 25119 case "(($ac_try" in 25120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25121 *) ac_try_echo=$ac_try;; 25122 esac 25123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25124 (eval "$ac_compile") 2>conftest.er1 25125 ac_status=$? 25126 grep -v '^ *+' conftest.er1 >conftest.err 25127 rm -f conftest.er1 25128 cat conftest.err >&5 25129 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25130 (exit $ac_status); } && { 25131 test -z "$ac_c_werror_flag" || 25132 test ! -s conftest.err 25133 } && test -s conftest.$ac_objext; then 25134 ac_header_compiler=yes 25135 else 25136 echo "$as_me: failed program was:" >&5 25137 sed 's/^/| /' conftest.$ac_ext >&5 25138 25139 ac_header_compiler=no 25140 fi 25141 25142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25143 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 25144 echo "${ECHO_T}$ac_header_compiler" >&6; } 25145 25146 # Is the header present? 25147 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 25148 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 25149 cat >conftest.$ac_ext <<_ACEOF 25150 /* confdefs.h. */ 25151 _ACEOF 25152 cat confdefs.h >>conftest.$ac_ext 25153 cat >>conftest.$ac_ext <<_ACEOF 25154 /* end confdefs.h. */ 25155 #include <$ac_header> 25156 _ACEOF 25157 if { (ac_try="$ac_cpp conftest.$ac_ext" 25158 case "(($ac_try" in 25159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25160 *) ac_try_echo=$ac_try;; 25161 esac 25162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25163 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 25164 ac_status=$? 25165 grep -v '^ *+' conftest.er1 >conftest.err 25166 rm -f conftest.er1 25167 cat conftest.err >&5 25168 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25169 (exit $ac_status); } >/dev/null && { 25170 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 25171 test ! -s conftest.err 25172 }; then 25173 ac_header_preproc=yes 25174 else 25175 echo "$as_me: failed program was:" >&5 25176 sed 's/^/| /' conftest.$ac_ext >&5 25177 25178 ac_header_preproc=no 25179 fi 25180 25181 rm -f conftest.err conftest.$ac_ext 25182 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 25183 echo "${ECHO_T}$ac_header_preproc" >&6; } 25184 25185 # So? What about this header? 25186 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 25187 yes:no: ) 25188 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 25189 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 25190 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 25191 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 25192 ac_header_preproc=yes 25193 ;; 25194 no:yes:* ) 25195 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 25196 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 25197 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 25198 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 25199 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 25200 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 25201 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 25202 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 25203 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 25204 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 25205 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 25206 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 25207 25208 ;; 25209 esac 25210 { echo "$as_me:$LINENO: checking for $ac_header" >&5 25211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 25212 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 25213 echo $ECHO_N "(cached) $ECHO_C" >&6 25214 else 25215 eval "$as_ac_Header=\$ac_header_preproc" 25216 fi 25217 ac_res=`eval echo '${'$as_ac_Header'}'` 25218 { echo "$as_me:$LINENO: result: $ac_res" >&5 25219 echo "${ECHO_T}$ac_res" >&6; } 25220 25221 fi 25222 if test `eval echo '${'$as_ac_Header'}'` = yes; then 25223 cat >>confdefs.h <<_ACEOF 25224 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 25225 _ACEOF 25226 25227 fi 25228 25229 done 25230 25231 25232 for ac_header in arpa/nameser.h 25233 do 25234 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 25235 { echo "$as_me:$LINENO: checking for $ac_header" >&5 25236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 25237 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 25238 echo $ECHO_N "(cached) $ECHO_C" >&6 25239 else 25240 cat >conftest.$ac_ext <<_ACEOF 25241 /* confdefs.h. */ 25242 _ACEOF 25243 cat confdefs.h >>conftest.$ac_ext 25244 cat >>conftest.$ac_ext <<_ACEOF 25245 /* end confdefs.h. */ 25246 #if HAVE_SYS_TYPES_H 25247 # include <sys/types.h> 25248 # endif 25249 25250 25251 #include <$ac_header> 25252 _ACEOF 25253 rm -f conftest.$ac_objext 25254 if { (ac_try="$ac_compile" 25255 case "(($ac_try" in 25256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25257 *) ac_try_echo=$ac_try;; 25258 esac 25259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25260 (eval "$ac_compile") 2>conftest.er1 25261 ac_status=$? 25262 grep -v '^ *+' conftest.er1 >conftest.err 25263 rm -f conftest.er1 25264 cat conftest.err >&5 25265 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25266 (exit $ac_status); } && { 25267 test -z "$ac_c_werror_flag" || 25268 test ! -s conftest.err 25269 } && test -s conftest.$ac_objext; then 25270 eval "$as_ac_Header=yes" 25271 else 25272 echo "$as_me: failed program was:" >&5 25273 sed 's/^/| /' conftest.$ac_ext >&5 25274 25275 eval "$as_ac_Header=no" 25276 fi 25277 25278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25279 fi 25280 ac_res=`eval echo '${'$as_ac_Header'}'` 25281 { echo "$as_me:$LINENO: result: $ac_res" >&5 25282 echo "${ECHO_T}$ac_res" >&6; } 25283 if test `eval echo '${'$as_ac_Header'}'` = yes; then 25284 cat >>confdefs.h <<_ACEOF 25285 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 25286 _ACEOF 25287 25288 fi 25289 25290 done 25291 25292 25293 for ac_header in resolv.h 25294 do 25295 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 25296 { echo "$as_me:$LINENO: checking for $ac_header" >&5 25297 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 25298 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 25299 echo $ECHO_N "(cached) $ECHO_C" >&6 25300 else 25301 cat >conftest.$ac_ext <<_ACEOF 25302 /* confdefs.h. */ 25303 _ACEOF 25304 cat confdefs.h >>conftest.$ac_ext 25305 cat >>conftest.$ac_ext <<_ACEOF 25306 /* end confdefs.h. */ 25307 #if HAVE_SYS_TYPES_H 25308 # include <sys/types.h> 25309 # endif 25310 #if HAVE_NETINET_IN_H 25311 # include <netinet/in.h> 25312 # endif 25313 #if HAVE_ARPA_NAMESER_H 25314 # include <arpa/nameser.h> 25315 # endif 25316 25317 25318 #include <$ac_header> 25319 _ACEOF 25320 rm -f conftest.$ac_objext 25321 if { (ac_try="$ac_compile" 25322 case "(($ac_try" in 25323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25324 *) ac_try_echo=$ac_try;; 25325 esac 25326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25327 (eval "$ac_compile") 2>conftest.er1 25328 ac_status=$? 25329 grep -v '^ *+' conftest.er1 >conftest.err 25330 rm -f conftest.er1 25331 cat conftest.err >&5 25332 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25333 (exit $ac_status); } && { 25334 test -z "$ac_c_werror_flag" || 25335 test ! -s conftest.err 25336 } && test -s conftest.$ac_objext; then 25337 eval "$as_ac_Header=yes" 25338 else 25339 echo "$as_me: failed program was:" >&5 25340 sed 's/^/| /' conftest.$ac_ext >&5 25341 25342 eval "$as_ac_Header=no" 25343 fi 25344 25345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25346 fi 25347 ac_res=`eval echo '${'$as_ac_Header'}'` 25348 { echo "$as_me:$LINENO: result: $ac_res" >&5 25349 echo "${ECHO_T}$ac_res" >&6; } 25350 if test `eval echo '${'$as_ac_Header'}'` = yes; then 25351 cat >>confdefs.h <<_ACEOF 25352 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 25353 _ACEOF 25354 25355 fi 25356 25357 done 25358 25359 25360 for ac_header in dl.h 25361 do 25362 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 25363 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 25364 { echo "$as_me:$LINENO: checking for $ac_header" >&5 25365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 25366 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 25367 echo $ECHO_N "(cached) $ECHO_C" >&6 25368 fi 25369 ac_res=`eval echo '${'$as_ac_Header'}'` 25370 { echo "$as_me:$LINENO: result: $ac_res" >&5 25371 echo "${ECHO_T}$ac_res" >&6; } 25372 else 25373 # Is the header compilable? 25374 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 25375 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 25376 cat >conftest.$ac_ext <<_ACEOF 25377 /* confdefs.h. */ 25378 _ACEOF 25379 cat confdefs.h >>conftest.$ac_ext 25380 cat >>conftest.$ac_ext <<_ACEOF 25381 /* end confdefs.h. */ 25382 $ac_includes_default 25383 #include <$ac_header> 25384 _ACEOF 25385 rm -f conftest.$ac_objext 25386 if { (ac_try="$ac_compile" 25387 case "(($ac_try" in 25388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25389 *) ac_try_echo=$ac_try;; 25390 esac 25391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25392 (eval "$ac_compile") 2>conftest.er1 25393 ac_status=$? 25394 grep -v '^ *+' conftest.er1 >conftest.err 25395 rm -f conftest.er1 25396 cat conftest.err >&5 25397 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25398 (exit $ac_status); } && { 25399 test -z "$ac_c_werror_flag" || 25400 test ! -s conftest.err 25401 } && test -s conftest.$ac_objext; then 25402 ac_header_compiler=yes 25403 else 25404 echo "$as_me: failed program was:" >&5 25405 sed 's/^/| /' conftest.$ac_ext >&5 25406 25407 ac_header_compiler=no 25408 fi 25409 25410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25411 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 25412 echo "${ECHO_T}$ac_header_compiler" >&6; } 25413 25414 # Is the header present? 25415 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 25416 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 25417 cat >conftest.$ac_ext <<_ACEOF 25418 /* confdefs.h. */ 25419 _ACEOF 25420 cat confdefs.h >>conftest.$ac_ext 25421 cat >>conftest.$ac_ext <<_ACEOF 25422 /* end confdefs.h. */ 25423 #include <$ac_header> 25424 _ACEOF 25425 if { (ac_try="$ac_cpp conftest.$ac_ext" 25426 case "(($ac_try" in 25427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25428 *) ac_try_echo=$ac_try;; 25429 esac 25430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25431 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 25432 ac_status=$? 25433 grep -v '^ *+' conftest.er1 >conftest.err 25434 rm -f conftest.er1 25435 cat conftest.err >&5 25436 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25437 (exit $ac_status); } >/dev/null && { 25438 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 25439 test ! -s conftest.err 25440 }; then 25441 ac_header_preproc=yes 25442 else 25443 echo "$as_me: failed program was:" >&5 25444 sed 's/^/| /' conftest.$ac_ext >&5 25445 25446 ac_header_preproc=no 25447 fi 25448 25449 rm -f conftest.err conftest.$ac_ext 25450 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 25451 echo "${ECHO_T}$ac_header_preproc" >&6; } 25452 25453 # So? What about this header? 25454 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 25455 yes:no: ) 25456 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 25457 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 25458 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 25459 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 25460 ac_header_preproc=yes 25461 ;; 25462 no:yes:* ) 25463 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 25464 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 25465 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 25466 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 25467 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 25468 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 25469 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 25470 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 25471 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 25472 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 25473 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 25474 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 25475 25476 ;; 25477 esac 25478 { echo "$as_me:$LINENO: checking for $ac_header" >&5 25479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 25480 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 25481 echo $ECHO_N "(cached) $ECHO_C" >&6 25482 else 25483 eval "$as_ac_Header=\$ac_header_preproc" 25484 fi 25485 ac_res=`eval echo '${'$as_ac_Header'}'` 25486 { echo "$as_me:$LINENO: result: $ac_res" >&5 25487 echo "${ECHO_T}$ac_res" >&6; } 25488 25489 fi 25490 if test `eval echo '${'$as_ac_Header'}'` = yes; then 25491 cat >>confdefs.h <<_ACEOF 25492 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 25493 _ACEOF 25494 25495 fi 25496 25497 done 25498 25499 25500 for ac_header in dlfcn.h 25501 do 25502 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 25503 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 25504 { echo "$as_me:$LINENO: checking for $ac_header" >&5 25505 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 25506 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 25507 echo $ECHO_N "(cached) $ECHO_C" >&6 25508 fi 25509 ac_res=`eval echo '${'$as_ac_Header'}'` 25510 { echo "$as_me:$LINENO: result: $ac_res" >&5 25511 echo "${ECHO_T}$ac_res" >&6; } 25512 else 25513 # Is the header compilable? 25514 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 25515 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 25516 cat >conftest.$ac_ext <<_ACEOF 25517 /* confdefs.h. */ 25518 _ACEOF 25519 cat confdefs.h >>conftest.$ac_ext 25520 cat >>conftest.$ac_ext <<_ACEOF 25521 /* end confdefs.h. */ 25522 $ac_includes_default 25523 #include <$ac_header> 25524 _ACEOF 25525 rm -f conftest.$ac_objext 25526 if { (ac_try="$ac_compile" 25527 case "(($ac_try" in 25528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25529 *) ac_try_echo=$ac_try;; 25530 esac 25531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25532 (eval "$ac_compile") 2>conftest.er1 25533 ac_status=$? 25534 grep -v '^ *+' conftest.er1 >conftest.err 25535 rm -f conftest.er1 25536 cat conftest.err >&5 25537 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25538 (exit $ac_status); } && { 25539 test -z "$ac_c_werror_flag" || 25540 test ! -s conftest.err 25541 } && test -s conftest.$ac_objext; then 25542 ac_header_compiler=yes 25543 else 25544 echo "$as_me: failed program was:" >&5 25545 sed 's/^/| /' conftest.$ac_ext >&5 25546 25547 ac_header_compiler=no 25548 fi 25549 25550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25551 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 25552 echo "${ECHO_T}$ac_header_compiler" >&6; } 25553 25554 # Is the header present? 25555 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 25556 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 25557 cat >conftest.$ac_ext <<_ACEOF 25558 /* confdefs.h. */ 25559 _ACEOF 25560 cat confdefs.h >>conftest.$ac_ext 25561 cat >>conftest.$ac_ext <<_ACEOF 25562 /* end confdefs.h. */ 25563 #include <$ac_header> 25564 _ACEOF 25565 if { (ac_try="$ac_cpp conftest.$ac_ext" 25566 case "(($ac_try" in 25567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25568 *) ac_try_echo=$ac_try;; 25569 esac 25570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25571 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 25572 ac_status=$? 25573 grep -v '^ *+' conftest.er1 >conftest.err 25574 rm -f conftest.er1 25575 cat conftest.err >&5 25576 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25577 (exit $ac_status); } >/dev/null && { 25578 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 25579 test ! -s conftest.err 25580 }; then 25581 ac_header_preproc=yes 25582 else 25583 echo "$as_me: failed program was:" >&5 25584 sed 's/^/| /' conftest.$ac_ext >&5 25585 25586 ac_header_preproc=no 25587 fi 25588 25589 rm -f conftest.err conftest.$ac_ext 25590 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 25591 echo "${ECHO_T}$ac_header_preproc" >&6; } 25592 25593 # So? What about this header? 25594 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 25595 yes:no: ) 25596 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 25597 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 25598 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 25599 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 25600 ac_header_preproc=yes 25601 ;; 25602 no:yes:* ) 25603 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 25604 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 25605 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 25606 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 25607 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 25608 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 25609 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 25610 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 25611 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 25612 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 25613 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 25614 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 25615 25616 ;; 25617 esac 25618 { echo "$as_me:$LINENO: checking for $ac_header" >&5 25619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 25620 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 25621 echo $ECHO_N "(cached) $ECHO_C" >&6 25622 else 25623 eval "$as_ac_Header=\$ac_header_preproc" 25624 fi 25625 ac_res=`eval echo '${'$as_ac_Header'}'` 25626 { echo "$as_me:$LINENO: result: $ac_res" >&5 25627 echo "${ECHO_T}$ac_res" >&6; } 25628 25629 fi 25630 if test `eval echo '${'$as_ac_Header'}'` = yes; then 25631 cat >>confdefs.h <<_ACEOF 25632 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 25633 _ACEOF 25634 25635 fi 25636 25637 done 25638 25639 25640 25641 echo Checking libraries 25642 25643 25644 for ac_func in strftime 25645 do 25646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 25647 { echo "$as_me:$LINENO: checking for $ac_func" >&5 25648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 25649 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 25650 echo $ECHO_N "(cached) $ECHO_C" >&6 25651 else 25652 cat >conftest.$ac_ext <<_ACEOF 25653 /* confdefs.h. */ 25654 _ACEOF 25655 cat confdefs.h >>conftest.$ac_ext 25656 cat >>conftest.$ac_ext <<_ACEOF 25657 /* end confdefs.h. */ 25658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 25659 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 25660 #define $ac_func innocuous_$ac_func 25661 25662 /* System header to define __stub macros and hopefully few prototypes, 25663 which can conflict with char $ac_func (); below. 25664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 25665 <limits.h> exists even on freestanding compilers. */ 25666 25667 #ifdef __STDC__ 25668 # include <limits.h> 25669 #else 25670 # include <assert.h> 25671 #endif 25672 25673 #undef $ac_func 25674 25675 /* Override any GCC internal prototype to avoid an error. 25676 Use char because int might match the return type of a GCC 25677 builtin and then its argument prototype would still apply. */ 25678 #ifdef __cplusplus 25679 extern "C" 25680 #endif 25681 char $ac_func (); 25682 /* The GNU C library defines this for functions which it implements 25683 to always fail with ENOSYS. Some functions are actually named 25684 something starting with __ and the normal name is an alias. */ 25685 #if defined __stub_$ac_func || defined __stub___$ac_func 25686 choke me 25687 #endif 25688 25689 int 25690 main () 25691 { 25692 return $ac_func (); 25693 ; 25694 return 0; 25695 } 25696 _ACEOF 25697 rm -f conftest.$ac_objext conftest$ac_exeext 25698 if { (ac_try="$ac_link" 25699 case "(($ac_try" in 25700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25701 *) ac_try_echo=$ac_try;; 25702 esac 25703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25704 (eval "$ac_link") 2>conftest.er1 25705 ac_status=$? 25706 grep -v '^ *+' conftest.er1 >conftest.err 25707 rm -f conftest.er1 25708 cat conftest.err >&5 25709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25710 (exit $ac_status); } && { 25711 test -z "$ac_c_werror_flag" || 25712 test ! -s conftest.err 25713 } && test -s conftest$ac_exeext && 25714 $as_test_x conftest$ac_exeext; then 25715 eval "$as_ac_var=yes" 25716 else 25717 echo "$as_me: failed program was:" >&5 25718 sed 's/^/| /' conftest.$ac_ext >&5 25719 25720 eval "$as_ac_var=no" 25721 fi 25722 25723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 25724 conftest$ac_exeext conftest.$ac_ext 25725 fi 25726 ac_res=`eval echo '${'$as_ac_var'}'` 25727 { echo "$as_me:$LINENO: result: $ac_res" >&5 25728 echo "${ECHO_T}$ac_res" >&6; } 25729 if test `eval echo '${'$as_ac_var'}'` = yes; then 25730 cat >>confdefs.h <<_ACEOF 25731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 25732 _ACEOF 25733 25734 else 25735 # strftime is in -lintl on SCO UNIX. 25736 { echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 25737 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; } 25738 if test "${ac_cv_lib_intl_strftime+set}" = set; then 25739 echo $ECHO_N "(cached) $ECHO_C" >&6 25740 else 25741 ac_check_lib_save_LIBS=$LIBS 25742 LIBS="-lintl $LIBS" 25743 cat >conftest.$ac_ext <<_ACEOF 25744 /* confdefs.h. */ 25745 _ACEOF 25746 cat confdefs.h >>conftest.$ac_ext 25747 cat >>conftest.$ac_ext <<_ACEOF 25748 /* end confdefs.h. */ 25749 25750 /* Override any GCC internal prototype to avoid an error. 25751 Use char because int might match the return type of a GCC 25752 builtin and then its argument prototype would still apply. */ 25753 #ifdef __cplusplus 25754 extern "C" 25755 #endif 25756 char strftime (); 25757 int 25758 main () 25759 { 25760 return strftime (); 25761 ; 25762 return 0; 25763 } 25764 _ACEOF 25765 rm -f conftest.$ac_objext conftest$ac_exeext 25766 if { (ac_try="$ac_link" 25767 case "(($ac_try" in 25768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25769 *) ac_try_echo=$ac_try;; 25770 esac 25771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25772 (eval "$ac_link") 2>conftest.er1 25773 ac_status=$? 25774 grep -v '^ *+' conftest.er1 >conftest.err 25775 rm -f conftest.er1 25776 cat conftest.err >&5 25777 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25778 (exit $ac_status); } && { 25779 test -z "$ac_c_werror_flag" || 25780 test ! -s conftest.err 25781 } && test -s conftest$ac_exeext && 25782 $as_test_x conftest$ac_exeext; then 25783 ac_cv_lib_intl_strftime=yes 25784 else 25785 echo "$as_me: failed program was:" >&5 25786 sed 's/^/| /' conftest.$ac_ext >&5 25787 25788 ac_cv_lib_intl_strftime=no 25789 fi 25790 25791 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 25792 conftest$ac_exeext conftest.$ac_ext 25793 LIBS=$ac_check_lib_save_LIBS 25794 fi 25795 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 25796 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; } 25797 if test $ac_cv_lib_intl_strftime = yes; then 25798 cat >>confdefs.h <<\_ACEOF 25799 #define HAVE_STRFTIME 1 25800 _ACEOF 25801 25802 LIBS="-lintl $LIBS" 25803 fi 25804 25805 fi 25806 done 25807 25808 25809 25810 25811 for ac_func in strdup strndup strerror 25812 do 25813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 25814 { echo "$as_me:$LINENO: checking for $ac_func" >&5 25815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 25816 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 25817 echo $ECHO_N "(cached) $ECHO_C" >&6 25818 else 25819 cat >conftest.$ac_ext <<_ACEOF 25820 /* confdefs.h. */ 25821 _ACEOF 25822 cat confdefs.h >>conftest.$ac_ext 25823 cat >>conftest.$ac_ext <<_ACEOF 25824 /* end confdefs.h. */ 25825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 25826 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 25827 #define $ac_func innocuous_$ac_func 25828 25829 /* System header to define __stub macros and hopefully few prototypes, 25830 which can conflict with char $ac_func (); below. 25831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 25832 <limits.h> exists even on freestanding compilers. */ 25833 25834 #ifdef __STDC__ 25835 # include <limits.h> 25836 #else 25837 # include <assert.h> 25838 #endif 25839 25840 #undef $ac_func 25841 25842 /* Override any GCC internal prototype to avoid an error. 25843 Use char because int might match the return type of a GCC 25844 builtin and then its argument prototype would still apply. */ 25845 #ifdef __cplusplus 25846 extern "C" 25847 #endif 25848 char $ac_func (); 25849 /* The GNU C library defines this for functions which it implements 25850 to always fail with ENOSYS. Some functions are actually named 25851 something starting with __ and the normal name is an alias. */ 25852 #if defined __stub_$ac_func || defined __stub___$ac_func 25853 choke me 25854 #endif 25855 25856 int 25857 main () 25858 { 25859 return $ac_func (); 25860 ; 25861 return 0; 25862 } 25863 _ACEOF 25864 rm -f conftest.$ac_objext conftest$ac_exeext 25865 if { (ac_try="$ac_link" 25866 case "(($ac_try" in 25867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25868 *) ac_try_echo=$ac_try;; 25869 esac 25870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25871 (eval "$ac_link") 2>conftest.er1 25872 ac_status=$? 25873 grep -v '^ *+' conftest.er1 >conftest.err 25874 rm -f conftest.er1 25875 cat conftest.err >&5 25876 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25877 (exit $ac_status); } && { 25878 test -z "$ac_c_werror_flag" || 25879 test ! -s conftest.err 25880 } && test -s conftest$ac_exeext && 25881 $as_test_x conftest$ac_exeext; then 25882 eval "$as_ac_var=yes" 25883 else 25884 echo "$as_me: failed program was:" >&5 25885 sed 's/^/| /' conftest.$ac_ext >&5 25886 25887 eval "$as_ac_var=no" 25888 fi 25889 25890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 25891 conftest$ac_exeext conftest.$ac_ext 25892 fi 25893 ac_res=`eval echo '${'$as_ac_var'}'` 25894 { echo "$as_me:$LINENO: result: $ac_res" >&5 25895 echo "${ECHO_T}$ac_res" >&6; } 25896 if test `eval echo '${'$as_ac_var'}'` = yes; then 25897 cat >>confdefs.h <<_ACEOF 25898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 25899 _ACEOF 25900 25901 fi 25902 done 25903 25904 25905 25906 25907 25908 25909 for ac_func in finite isnand fp_class class fpclass 25910 do 25911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 25912 { echo "$as_me:$LINENO: checking for $ac_func" >&5 25913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 25914 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 25915 echo $ECHO_N "(cached) $ECHO_C" >&6 25916 else 25917 cat >conftest.$ac_ext <<_ACEOF 25918 /* confdefs.h. */ 25919 _ACEOF 25920 cat confdefs.h >>conftest.$ac_ext 25921 cat >>conftest.$ac_ext <<_ACEOF 25922 /* end confdefs.h. */ 25923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 25924 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 25925 #define $ac_func innocuous_$ac_func 25926 25927 /* System header to define __stub macros and hopefully few prototypes, 25928 which can conflict with char $ac_func (); below. 25929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 25930 <limits.h> exists even on freestanding compilers. */ 25931 25932 #ifdef __STDC__ 25933 # include <limits.h> 25934 #else 25935 # include <assert.h> 25936 #endif 25937 25938 #undef $ac_func 25939 25940 /* Override any GCC internal prototype to avoid an error. 25941 Use char because int might match the return type of a GCC 25942 builtin and then its argument prototype would still apply. */ 25943 #ifdef __cplusplus 25944 extern "C" 25945 #endif 25946 char $ac_func (); 25947 /* The GNU C library defines this for functions which it implements 25948 to always fail with ENOSYS. Some functions are actually named 25949 something starting with __ and the normal name is an alias. */ 25950 #if defined __stub_$ac_func || defined __stub___$ac_func 25951 choke me 25952 #endif 25953 25954 int 25955 main () 25956 { 25957 return $ac_func (); 25958 ; 25959 return 0; 25960 } 25961 _ACEOF 25962 rm -f conftest.$ac_objext conftest$ac_exeext 25963 if { (ac_try="$ac_link" 25964 case "(($ac_try" in 25965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25966 *) ac_try_echo=$ac_try;; 25967 esac 25968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25969 (eval "$ac_link") 2>conftest.er1 25970 ac_status=$? 25971 grep -v '^ *+' conftest.er1 >conftest.err 25972 rm -f conftest.er1 25973 cat conftest.err >&5 25974 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25975 (exit $ac_status); } && { 25976 test -z "$ac_c_werror_flag" || 25977 test ! -s conftest.err 25978 } && test -s conftest$ac_exeext && 25979 $as_test_x conftest$ac_exeext; then 25980 eval "$as_ac_var=yes" 25981 else 25982 echo "$as_me: failed program was:" >&5 25983 sed 's/^/| /' conftest.$ac_ext >&5 25984 25985 eval "$as_ac_var=no" 25986 fi 25987 25988 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 25989 conftest$ac_exeext conftest.$ac_ext 25990 fi 25991 ac_res=`eval echo '${'$as_ac_var'}'` 25992 { echo "$as_me:$LINENO: result: $ac_res" >&5 25993 echo "${ECHO_T}$ac_res" >&6; } 25994 if test `eval echo '${'$as_ac_var'}'` = yes; then 25995 cat >>confdefs.h <<_ACEOF 25996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 25997 _ACEOF 25998 25999 fi 26000 done 26001 26002 26003 26004 26005 26006 for ac_func in strftime localtime gettimeofday ftime 26007 do 26008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 26009 { echo "$as_me:$LINENO: checking for $ac_func" >&5 26010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 26011 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 26012 echo $ECHO_N "(cached) $ECHO_C" >&6 26013 else 26014 cat >conftest.$ac_ext <<_ACEOF 26015 /* confdefs.h. */ 26016 _ACEOF 26017 cat confdefs.h >>conftest.$ac_ext 26018 cat >>conftest.$ac_ext <<_ACEOF 26019 /* end confdefs.h. */ 26020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 26021 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 26022 #define $ac_func innocuous_$ac_func 26023 26024 /* System header to define __stub macros and hopefully few prototypes, 26025 which can conflict with char $ac_func (); below. 26026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 26027 <limits.h> exists even on freestanding compilers. */ 26028 26029 #ifdef __STDC__ 26030 # include <limits.h> 26031 #else 26032 # include <assert.h> 26033 #endif 26034 26035 #undef $ac_func 26036 26037 /* Override any GCC internal prototype to avoid an error. 26038 Use char because int might match the return type of a GCC 26039 builtin and then its argument prototype would still apply. */ 26040 #ifdef __cplusplus 26041 extern "C" 26042 #endif 26043 char $ac_func (); 26044 /* The GNU C library defines this for functions which it implements 26045 to always fail with ENOSYS. Some functions are actually named 26046 something starting with __ and the normal name is an alias. */ 26047 #if defined __stub_$ac_func || defined __stub___$ac_func 26048 choke me 26049 #endif 26050 26051 int 26052 main () 26053 { 26054 return $ac_func (); 26055 ; 26056 return 0; 26057 } 26058 _ACEOF 26059 rm -f conftest.$ac_objext conftest$ac_exeext 26060 if { (ac_try="$ac_link" 26061 case "(($ac_try" in 26062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26063 *) ac_try_echo=$ac_try;; 26064 esac 26065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26066 (eval "$ac_link") 2>conftest.er1 26067 ac_status=$? 26068 grep -v '^ *+' conftest.er1 >conftest.err 26069 rm -f conftest.er1 26070 cat conftest.err >&5 26071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26072 (exit $ac_status); } && { 26073 test -z "$ac_c_werror_flag" || 26074 test ! -s conftest.err 26075 } && test -s conftest$ac_exeext && 26076 $as_test_x conftest$ac_exeext; then 26077 eval "$as_ac_var=yes" 26078 else 26079 echo "$as_me: failed program was:" >&5 26080 sed 's/^/| /' conftest.$ac_ext >&5 26081 26082 eval "$as_ac_var=no" 26083 fi 26084 26085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 26086 conftest$ac_exeext conftest.$ac_ext 26087 fi 26088 ac_res=`eval echo '${'$as_ac_var'}'` 26089 { echo "$as_me:$LINENO: result: $ac_res" >&5 26090 echo "${ECHO_T}$ac_res" >&6; } 26091 if test `eval echo '${'$as_ac_var'}'` = yes; then 26092 cat >>confdefs.h <<_ACEOF 26093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 26094 _ACEOF 26095 26096 fi 26097 done 26098 26099 26100 26101 26102 for ac_func in stat _stat signal 26103 do 26104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 26105 { echo "$as_me:$LINENO: checking for $ac_func" >&5 26106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 26107 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 26108 echo $ECHO_N "(cached) $ECHO_C" >&6 26109 else 26110 cat >conftest.$ac_ext <<_ACEOF 26111 /* confdefs.h. */ 26112 _ACEOF 26113 cat confdefs.h >>conftest.$ac_ext 26114 cat >>conftest.$ac_ext <<_ACEOF 26115 /* end confdefs.h. */ 26116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 26117 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 26118 #define $ac_func innocuous_$ac_func 26119 26120 /* System header to define __stub macros and hopefully few prototypes, 26121 which can conflict with char $ac_func (); below. 26122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 26123 <limits.h> exists even on freestanding compilers. */ 26124 26125 #ifdef __STDC__ 26126 # include <limits.h> 26127 #else 26128 # include <assert.h> 26129 #endif 26130 26131 #undef $ac_func 26132 26133 /* Override any GCC internal prototype to avoid an error. 26134 Use char because int might match the return type of a GCC 26135 builtin and then its argument prototype would still apply. */ 26136 #ifdef __cplusplus 26137 extern "C" 26138 #endif 26139 char $ac_func (); 26140 /* The GNU C library defines this for functions which it implements 26141 to always fail with ENOSYS. Some functions are actually named 26142 something starting with __ and the normal name is an alias. */ 26143 #if defined __stub_$ac_func || defined __stub___$ac_func 26144 choke me 26145 #endif 26146 26147 int 26148 main () 26149 { 26150 return $ac_func (); 26151 ; 26152 return 0; 26153 } 26154 _ACEOF 26155 rm -f conftest.$ac_objext conftest$ac_exeext 26156 if { (ac_try="$ac_link" 26157 case "(($ac_try" in 26158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26159 *) ac_try_echo=$ac_try;; 26160 esac 26161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26162 (eval "$ac_link") 2>conftest.er1 26163 ac_status=$? 26164 grep -v '^ *+' conftest.er1 >conftest.err 26165 rm -f conftest.er1 26166 cat conftest.err >&5 26167 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26168 (exit $ac_status); } && { 26169 test -z "$ac_c_werror_flag" || 26170 test ! -s conftest.err 26171 } && test -s conftest$ac_exeext && 26172 $as_test_x conftest$ac_exeext; then 26173 eval "$as_ac_var=yes" 26174 else 26175 echo "$as_me: failed program was:" >&5 26176 sed 's/^/| /' conftest.$ac_ext >&5 26177 26178 eval "$as_ac_var=no" 26179 fi 26180 26181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 26182 conftest$ac_exeext conftest.$ac_ext 26183 fi 26184 ac_res=`eval echo '${'$as_ac_var'}'` 26185 { echo "$as_me:$LINENO: result: $ac_res" >&5 26186 echo "${ECHO_T}$ac_res" >&6; } 26187 if test `eval echo '${'$as_ac_var'}'` = yes; then 26188 cat >>confdefs.h <<_ACEOF 26189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 26190 _ACEOF 26191 26192 fi 26193 done 26194 26195 26196 26197 26198 26199 26200 26201 26202 26203 26204 for ac_func in printf sprintf fprintf snprintf vfprintf vsprintf vsnprintf sscanf 26205 do 26206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 26207 { echo "$as_me:$LINENO: checking for $ac_func" >&5 26208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 26209 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 26210 echo $ECHO_N "(cached) $ECHO_C" >&6 26211 else 26212 cat >conftest.$ac_ext <<_ACEOF 26213 /* confdefs.h. */ 26214 _ACEOF 26215 cat confdefs.h >>conftest.$ac_ext 26216 cat >>conftest.$ac_ext <<_ACEOF 26217 /* end confdefs.h. */ 26218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 26219 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 26220 #define $ac_func innocuous_$ac_func 26221 26222 /* System header to define __stub macros and hopefully few prototypes, 26223 which can conflict with char $ac_func (); below. 26224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 26225 <limits.h> exists even on freestanding compilers. */ 26226 26227 #ifdef __STDC__ 26228 # include <limits.h> 26229 #else 26230 # include <assert.h> 26231 #endif 26232 26233 #undef $ac_func 26234 26235 /* Override any GCC internal prototype to avoid an error. 26236 Use char because int might match the return type of a GCC 26237 builtin and then its argument prototype would still apply. */ 26238 #ifdef __cplusplus 26239 extern "C" 26240 #endif 26241 char $ac_func (); 26242 /* The GNU C library defines this for functions which it implements 26243 to always fail with ENOSYS. Some functions are actually named 26244 something starting with __ and the normal name is an alias. */ 26245 #if defined __stub_$ac_func || defined __stub___$ac_func 26246 choke me 26247 #endif 26248 26249 int 26250 main () 26251 { 26252 return $ac_func (); 26253 ; 26254 return 0; 26255 } 26256 _ACEOF 26257 rm -f conftest.$ac_objext conftest$ac_exeext 26258 if { (ac_try="$ac_link" 26259 case "(($ac_try" in 26260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26261 *) ac_try_echo=$ac_try;; 26262 esac 26263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26264 (eval "$ac_link") 2>conftest.er1 26265 ac_status=$? 26266 grep -v '^ *+' conftest.er1 >conftest.err 26267 rm -f conftest.er1 26268 cat conftest.err >&5 26269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26270 (exit $ac_status); } && { 26271 test -z "$ac_c_werror_flag" || 26272 test ! -s conftest.err 26273 } && test -s conftest$ac_exeext && 26274 $as_test_x conftest$ac_exeext; then 26275 eval "$as_ac_var=yes" 26276 else 26277 echo "$as_me: failed program was:" >&5 26278 sed 's/^/| /' conftest.$ac_ext >&5 26279 26280 eval "$as_ac_var=no" 26281 fi 26282 26283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 26284 conftest$ac_exeext conftest.$ac_ext 26285 fi 26286 ac_res=`eval echo '${'$as_ac_var'}'` 26287 { echo "$as_me:$LINENO: result: $ac_res" >&5 26288 echo "${ECHO_T}$ac_res" >&6; } 26289 if test `eval echo '${'$as_ac_var'}'` = yes; then 26290 cat >>confdefs.h <<_ACEOF 26291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 26292 _ACEOF 26293 26294 else 26295 NEED_TRIO=1 26296 fi 26297 done 26298 26299 26300 { echo "$as_me:$LINENO: checking for va_copy" >&5 26301 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; } 26302 cat >conftest.$ac_ext <<_ACEOF 26303 /* confdefs.h. */ 26304 _ACEOF 26305 cat confdefs.h >>conftest.$ac_ext 26306 cat >>conftest.$ac_ext <<_ACEOF 26307 /* end confdefs.h. */ 26308 #include <stdarg.h> 26309 va_list ap1,ap2; 26310 int 26311 main () 26312 { 26313 va_copy(ap1,ap2); 26314 ; 26315 return 0; 26316 } 26317 _ACEOF 26318 rm -f conftest.$ac_objext conftest$ac_exeext 26319 if { (ac_try="$ac_link" 26320 case "(($ac_try" in 26321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26322 *) ac_try_echo=$ac_try;; 26323 esac 26324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26325 (eval "$ac_link") 2>conftest.er1 26326 ac_status=$? 26327 grep -v '^ *+' conftest.er1 >conftest.err 26328 rm -f conftest.er1 26329 cat conftest.err >&5 26330 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26331 (exit $ac_status); } && { 26332 test -z "$ac_c_werror_flag" || 26333 test ! -s conftest.err 26334 } && test -s conftest$ac_exeext && 26335 $as_test_x conftest$ac_exeext; then 26336 have_va_copy=yes 26337 else 26338 echo "$as_me: failed program was:" >&5 26339 sed 's/^/| /' conftest.$ac_ext >&5 26340 26341 have_va_copy=no 26342 fi 26343 26344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 26345 conftest$ac_exeext conftest.$ac_ext 26346 { echo "$as_me:$LINENO: result: $have_va_copy" >&5 26347 echo "${ECHO_T}$have_va_copy" >&6; } 26348 if test x"$have_va_copy" = x"yes"; then 26349 26350 cat >>confdefs.h <<\_ACEOF 26351 #define HAVE_VA_COPY 1 26352 _ACEOF 26353 26354 else 26355 { echo "$as_me:$LINENO: checking for __va_copy" >&5 26356 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; } 26357 cat >conftest.$ac_ext <<_ACEOF 26358 /* confdefs.h. */ 26359 _ACEOF 26360 cat confdefs.h >>conftest.$ac_ext 26361 cat >>conftest.$ac_ext <<_ACEOF 26362 /* end confdefs.h. */ 26363 #include <stdarg.h> 26364 va_list ap1,ap2; 26365 int 26366 main () 26367 { 26368 __va_copy(ap1,ap2); 26369 ; 26370 return 0; 26371 } 26372 _ACEOF 26373 rm -f conftest.$ac_objext conftest$ac_exeext 26374 if { (ac_try="$ac_link" 26375 case "(($ac_try" in 26376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26377 *) ac_try_echo=$ac_try;; 26378 esac 26379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26380 (eval "$ac_link") 2>conftest.er1 26381 ac_status=$? 26382 grep -v '^ *+' conftest.er1 >conftest.err 26383 rm -f conftest.er1 26384 cat conftest.err >&5 26385 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26386 (exit $ac_status); } && { 26387 test -z "$ac_c_werror_flag" || 26388 test ! -s conftest.err 26389 } && test -s conftest$ac_exeext && 26390 $as_test_x conftest$ac_exeext; then 26391 have___va_copy=yes 26392 else 26393 echo "$as_me: failed program was:" >&5 26394 sed 's/^/| /' conftest.$ac_ext >&5 26395 26396 have___va_copy=no 26397 fi 26398 26399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 26400 conftest$ac_exeext conftest.$ac_ext 26401 { echo "$as_me:$LINENO: result: $have___va_copy" >&5 26402 echo "${ECHO_T}$have___va_copy" >&6; } 26403 if test x"$have___va_copy" = x"yes"; then 26404 26405 cat >>confdefs.h <<\_ACEOF 26406 #define HAVE___VA_COPY 1 26407 _ACEOF 26408 26409 fi 26410 fi 26411 26412 { echo "$as_me:$LINENO: checking for library containing gethostent" >&5 26413 echo $ECHO_N "checking for library containing gethostent... $ECHO_C" >&6; } 26414 if test "${ac_cv_search_gethostent+set}" = set; then 26415 echo $ECHO_N "(cached) $ECHO_C" >&6 26416 else 26417 ac_func_search_save_LIBS=$LIBS 26418 cat >conftest.$ac_ext <<_ACEOF 26419 /* confdefs.h. */ 26420 _ACEOF 26421 cat confdefs.h >>conftest.$ac_ext 26422 cat >>conftest.$ac_ext <<_ACEOF 26423 /* end confdefs.h. */ 26424 26425 /* Override any GCC internal prototype to avoid an error. 26426 Use char because int might match the return type of a GCC 26427 builtin and then its argument prototype would still apply. */ 26428 #ifdef __cplusplus 26429 extern "C" 26430 #endif 26431 char gethostent (); 26432 int 26433 main () 26434 { 26435 return gethostent (); 26436 ; 26437 return 0; 26438 } 26439 _ACEOF 26440 for ac_lib in '' nsl; do 26441 if test -z "$ac_lib"; then 26442 ac_res="none required" 26443 else 26444 ac_res=-l$ac_lib 26445 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 26446 fi 26447 rm -f conftest.$ac_objext conftest$ac_exeext 26448 if { (ac_try="$ac_link" 26449 case "(($ac_try" in 26450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26451 *) ac_try_echo=$ac_try;; 26452 esac 26453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26454 (eval "$ac_link") 2>conftest.er1 26455 ac_status=$? 26456 grep -v '^ *+' conftest.er1 >conftest.err 26457 rm -f conftest.er1 26458 cat conftest.err >&5 26459 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26460 (exit $ac_status); } && { 26461 test -z "$ac_c_werror_flag" || 26462 test ! -s conftest.err 26463 } && test -s conftest$ac_exeext && 26464 $as_test_x conftest$ac_exeext; then 26465 ac_cv_search_gethostent=$ac_res 26466 else 26467 echo "$as_me: failed program was:" >&5 26468 sed 's/^/| /' conftest.$ac_ext >&5 26469 26470 26471 fi 26472 26473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 26474 conftest$ac_exeext 26475 if test "${ac_cv_search_gethostent+set}" = set; then 26476 break 26477 fi 26478 done 26479 if test "${ac_cv_search_gethostent+set}" = set; then 26480 : 26481 else 26482 ac_cv_search_gethostent=no 26483 fi 26484 rm conftest.$ac_ext 26485 LIBS=$ac_func_search_save_LIBS 26486 fi 26487 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostent" >&5 26488 echo "${ECHO_T}$ac_cv_search_gethostent" >&6; } 26489 ac_res=$ac_cv_search_gethostent 26490 if test "$ac_res" != no; then 26491 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 26492 26493 fi 26494 26495 { echo "$as_me:$LINENO: checking for library containing setsockopt" >&5 26496 echo $ECHO_N "checking for library containing setsockopt... $ECHO_C" >&6; } 26497 if test "${ac_cv_search_setsockopt+set}" = set; then 26498 echo $ECHO_N "(cached) $ECHO_C" >&6 26499 else 26500 ac_func_search_save_LIBS=$LIBS 26501 cat >conftest.$ac_ext <<_ACEOF 26502 /* confdefs.h. */ 26503 _ACEOF 26504 cat confdefs.h >>conftest.$ac_ext 26505 cat >>conftest.$ac_ext <<_ACEOF 26506 /* end confdefs.h. */ 26507 26508 /* Override any GCC internal prototype to avoid an error. 26509 Use char because int might match the return type of a GCC 26510 builtin and then its argument prototype would still apply. */ 26511 #ifdef __cplusplus 26512 extern "C" 26513 #endif 26514 char setsockopt (); 26515 int 26516 main () 26517 { 26518 return setsockopt (); 26519 ; 26520 return 0; 26521 } 26522 _ACEOF 26523 for ac_lib in '' socket net; do 26524 if test -z "$ac_lib"; then 26525 ac_res="none required" 26526 else 26527 ac_res=-l$ac_lib 26528 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 26529 fi 26530 rm -f conftest.$ac_objext conftest$ac_exeext 26531 if { (ac_try="$ac_link" 26532 case "(($ac_try" in 26533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26534 *) ac_try_echo=$ac_try;; 26535 esac 26536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26537 (eval "$ac_link") 2>conftest.er1 26538 ac_status=$? 26539 grep -v '^ *+' conftest.er1 >conftest.err 26540 rm -f conftest.er1 26541 cat conftest.err >&5 26542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26543 (exit $ac_status); } && { 26544 test -z "$ac_c_werror_flag" || 26545 test ! -s conftest.err 26546 } && test -s conftest$ac_exeext && 26547 $as_test_x conftest$ac_exeext; then 26548 ac_cv_search_setsockopt=$ac_res 26549 else 26550 echo "$as_me: failed program was:" >&5 26551 sed 's/^/| /' conftest.$ac_ext >&5 26552 26553 26554 fi 26555 26556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 26557 conftest$ac_exeext 26558 if test "${ac_cv_search_setsockopt+set}" = set; then 26559 break 26560 fi 26561 done 26562 if test "${ac_cv_search_setsockopt+set}" = set; then 26563 : 26564 else 26565 ac_cv_search_setsockopt=no 26566 fi 26567 rm conftest.$ac_ext 26568 LIBS=$ac_func_search_save_LIBS 26569 fi 26570 { echo "$as_me:$LINENO: result: $ac_cv_search_setsockopt" >&5 26571 echo "${ECHO_T}$ac_cv_search_setsockopt" >&6; } 26572 ac_res=$ac_cv_search_setsockopt 26573 if test "$ac_res" != no; then 26574 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 26575 26576 fi 26577 26578 { echo "$as_me:$LINENO: checking for library containing connect" >&5 26579 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; } 26580 if test "${ac_cv_search_connect+set}" = set; then 26581 echo $ECHO_N "(cached) $ECHO_C" >&6 26582 else 26583 ac_func_search_save_LIBS=$LIBS 26584 cat >conftest.$ac_ext <<_ACEOF 26585 /* confdefs.h. */ 26586 _ACEOF 26587 cat confdefs.h >>conftest.$ac_ext 26588 cat >>conftest.$ac_ext <<_ACEOF 26589 /* end confdefs.h. */ 26590 26591 /* Override any GCC internal prototype to avoid an error. 26592 Use char because int might match the return type of a GCC 26593 builtin and then its argument prototype would still apply. */ 26594 #ifdef __cplusplus 26595 extern "C" 26596 #endif 26597 char connect (); 26598 int 26599 main () 26600 { 26601 return connect (); 26602 ; 26603 return 0; 26604 } 26605 _ACEOF 26606 for ac_lib in '' inet; do 26607 if test -z "$ac_lib"; then 26608 ac_res="none required" 26609 else 26610 ac_res=-l$ac_lib 26611 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 26612 fi 26613 rm -f conftest.$ac_objext conftest$ac_exeext 26614 if { (ac_try="$ac_link" 26615 case "(($ac_try" in 26616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26617 *) ac_try_echo=$ac_try;; 26618 esac 26619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26620 (eval "$ac_link") 2>conftest.er1 26621 ac_status=$? 26622 grep -v '^ *+' conftest.er1 >conftest.err 26623 rm -f conftest.er1 26624 cat conftest.err >&5 26625 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26626 (exit $ac_status); } && { 26627 test -z "$ac_c_werror_flag" || 26628 test ! -s conftest.err 26629 } && test -s conftest$ac_exeext && 26630 $as_test_x conftest$ac_exeext; then 26631 ac_cv_search_connect=$ac_res 26632 else 26633 echo "$as_me: failed program was:" >&5 26634 sed 's/^/| /' conftest.$ac_ext >&5 26635 26636 26637 fi 26638 26639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 26640 conftest$ac_exeext 26641 if test "${ac_cv_search_connect+set}" = set; then 26642 break 26643 fi 26644 done 26645 if test "${ac_cv_search_connect+set}" = set; then 26646 : 26647 else 26648 ac_cv_search_connect=no 26649 fi 26650 rm conftest.$ac_ext 26651 LIBS=$ac_func_search_save_LIBS 26652 fi 26653 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5 26654 echo "${ECHO_T}$ac_cv_search_connect" >&6; } 26655 ac_res=$ac_cv_search_connect 26656 if test "$ac_res" != no; then 26657 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 26658 26659 fi 26660 26661 26662 { echo "$as_me:$LINENO: checking for type of socket length (socklen_t)" >&5 26663 echo $ECHO_N "checking for type of socket length (socklen_t)... $ECHO_C" >&6; } 26664 cat > conftest.$ac_ext <<EOF 26665 #line 26665 "configure" 26666 #include "confdefs.h" 26667 26668 #include <stddef.h> 26669 #include <sys/types.h> 26670 #include <sys/socket.h> 26671 int main(void) { 26672 26673 (void)getsockopt (1, 1, 1, NULL, (socklen_t *)NULL) 26674 ; return 0; } 26675 EOF 26676 if { (eval echo configure:26676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then 26677 rm -rf conftest* 26678 26679 { echo "$as_me:$LINENO: result: socklen_t *" >&5 26680 echo "${ECHO_T}socklen_t *" >&6; } 26681 XML_SOCKLEN_T=socklen_t 26682 else 26683 echo "configure: failed program was:" >&5 26684 cat conftest.$ac_ext >&5 26685 rm -rf conftest* 26686 26687 cat > conftest.$ac_ext <<EOF 26688 #line 26688 "configure" 26689 #include "confdefs.h" 26690 26691 #include <stddef.h> 26692 #include <sys/types.h> 26693 #include <sys/socket.h> 26694 int main(void) { 26695 26696 (void)getsockopt (1, 1, 1, NULL, (size_t *)NULL) 26697 ; return 0; } 26698 EOF 26699 if { (eval echo configure:26699: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then 26700 rm -rf conftest* 26701 26702 { echo "$as_me:$LINENO: result: size_t *" >&5 26703 echo "${ECHO_T}size_t *" >&6; } 26704 XML_SOCKLEN_T=size_t 26705 else 26706 echo "configure: failed program was:" >&5 26707 cat conftest.$ac_ext >&5 26708 rm -rf conftest* 26709 26710 cat > conftest.$ac_ext <<EOF 26711 #line 26711 "configure" 26712 #include "confdefs.h" 26713 26714 #include <stddef.h> 26715 #include <sys/types.h> 26716 #include <sys/socket.h> 26717 int main(void) { 26718 26719 (void)getsockopt (1, 1, 1, NULL, (int *)NULL) 26720 ; return 0; } 26721 EOF 26722 if { (eval echo configure:26722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then 26723 rm -rf conftest* 26724 26725 { echo "$as_me:$LINENO: result: int *" >&5 26726 echo "${ECHO_T}int *" >&6; } 26727 XML_SOCKLEN_T=int 26728 else 26729 echo "configure: failed program was:" >&5 26730 cat conftest.$ac_ext >&5 26731 rm -rf conftest* 26732 26733 { echo "$as_me:$LINENO: WARNING: could not determine" >&5 26734 echo "$as_me: WARNING: could not determine" >&2;} 26735 XML_SOCKLEN_T="int" 26736 fi 26737 rm -f conftest* 26738 fi 26739 rm -f conftest* 26740 fi 26741 rm -f conftest* 26742 26743 cat >>confdefs.h <<_ACEOF 26744 #define XML_SOCKLEN_T $XML_SOCKLEN_T 26745 _ACEOF 26746 26747 26748 26749 { echo "$as_me:$LINENO: checking whether to enable IPv6" >&5 26750 echo $ECHO_N "checking whether to enable IPv6... $ECHO_C" >&6; } 26751 # Check whether --enable-ipv6 was given. 26752 if test "${enable_ipv6+set}" = set; then 26753 enableval=$enable_ipv6; 26754 else 26755 enable_ipv6=yes 26756 fi 26757 26758 if test "$with_minimum" = "yes" 26759 then 26760 enable_ipv6=no 26761 fi 26762 if test $enable_ipv6 = yes; then 26763 have_ipv6=no 26764 cat >conftest.$ac_ext <<_ACEOF 26765 /* confdefs.h. */ 26766 _ACEOF 26767 cat confdefs.h >>conftest.$ac_ext 26768 cat >>conftest.$ac_ext <<_ACEOF 26769 /* end confdefs.h. */ 26770 26771 #include <sys/types.h> 26772 #include <sys/socket.h> 26773 26774 int 26775 main () 26776 { 26777 26778 struct sockaddr_storage ss; 26779 socket(AF_INET6, SOCK_STREAM, 0) 26780 26781 ; 26782 return 0; 26783 } 26784 _ACEOF 26785 rm -f conftest.$ac_objext 26786 if { (ac_try="$ac_compile" 26787 case "(($ac_try" in 26788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26789 *) ac_try_echo=$ac_try;; 26790 esac 26791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26792 (eval "$ac_compile") 2>conftest.er1 26793 ac_status=$? 26794 grep -v '^ *+' conftest.er1 >conftest.err 26795 rm -f conftest.er1 26796 cat conftest.err >&5 26797 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26798 (exit $ac_status); } && { 26799 test -z "$ac_c_werror_flag" || 26800 test ! -s conftest.err 26801 } && test -s conftest.$ac_objext; then 26802 have_ipv6=yes 26803 else 26804 echo "$as_me: failed program was:" >&5 26805 sed 's/^/| /' conftest.$ac_ext >&5 26806 26807 have_ipv6=no 26808 26809 fi 26810 26811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 26812 { echo "$as_me:$LINENO: result: $have_ipv6" >&5 26813 echo "${ECHO_T}$have_ipv6" >&6; } 26814 26815 if test $have_ipv6 = yes; then 26816 26817 cat >>confdefs.h <<\_ACEOF 26818 #define SUPPORT_IP6 26819 _ACEOF 26820 26821 have_broken_ss_family=no 26822 26823 { echo "$as_me:$LINENO: checking struct sockaddr::ss_family" >&5 26824 echo $ECHO_N "checking struct sockaddr::ss_family... $ECHO_C" >&6; } 26825 cat >conftest.$ac_ext <<_ACEOF 26826 /* confdefs.h. */ 26827 _ACEOF 26828 cat confdefs.h >>conftest.$ac_ext 26829 cat >>conftest.$ac_ext <<_ACEOF 26830 /* end confdefs.h. */ 26831 26832 #include <sys/types.h> 26833 #include <sys/socket.h> 26834 26835 int 26836 main () 26837 { 26838 26839 struct sockaddr_storage ss ; 26840 ss.ss_family = 0 ; 26841 26842 ; 26843 return 0; 26844 } 26845 _ACEOF 26846 rm -f conftest.$ac_objext 26847 if { (ac_try="$ac_compile" 26848 case "(($ac_try" in 26849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26850 *) ac_try_echo=$ac_try;; 26851 esac 26852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26853 (eval "$ac_compile") 2>conftest.er1 26854 ac_status=$? 26855 grep -v '^ *+' conftest.er1 >conftest.err 26856 rm -f conftest.er1 26857 cat conftest.err >&5 26858 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26859 (exit $ac_status); } && { 26860 test -z "$ac_c_werror_flag" || 26861 test ! -s conftest.err 26862 } && test -s conftest.$ac_objext; then 26863 have_ss_family=yes 26864 else 26865 echo "$as_me: failed program was:" >&5 26866 sed 's/^/| /' conftest.$ac_ext >&5 26867 26868 have_ss_family=no 26869 26870 fi 26871 26872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 26873 { echo "$as_me:$LINENO: result: $have_ss_family" >&5 26874 echo "${ECHO_T}$have_ss_family" >&6; } 26875 if test x$have_ss_family = xno ; then 26876 { echo "$as_me:$LINENO: checking broken struct sockaddr::ss_family" >&5 26877 echo $ECHO_N "checking broken struct sockaddr::ss_family... $ECHO_C" >&6; } 26878 cat >conftest.$ac_ext <<_ACEOF 26879 /* confdefs.h. */ 26880 _ACEOF 26881 cat confdefs.h >>conftest.$ac_ext 26882 cat >>conftest.$ac_ext <<_ACEOF 26883 /* end confdefs.h. */ 26884 26885 #include <sys/types.h> 26886 #include <sys/socket.h> 26887 26888 int 26889 main () 26890 { 26891 26892 struct sockaddr_storage ss ; 26893 ss.__ss_family = 0 ; 26894 26895 ; 26896 return 0; 26897 } 26898 _ACEOF 26899 rm -f conftest.$ac_objext 26900 if { (ac_try="$ac_compile" 26901 case "(($ac_try" in 26902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26903 *) ac_try_echo=$ac_try;; 26904 esac 26905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26906 (eval "$ac_compile") 2>conftest.er1 26907 ac_status=$? 26908 grep -v '^ *+' conftest.er1 >conftest.err 26909 rm -f conftest.er1 26910 cat conftest.err >&5 26911 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26912 (exit $ac_status); } && { 26913 test -z "$ac_c_werror_flag" || 26914 test ! -s conftest.err 26915 } && test -s conftest.$ac_objext; then 26916 have_broken_ss_family=yes 26917 else 26918 echo "$as_me: failed program was:" >&5 26919 sed 's/^/| /' conftest.$ac_ext >&5 26920 26921 have_broken_ss_family=no 26922 26923 fi 26924 26925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 26926 { echo "$as_me:$LINENO: result: $have_broken_ss_family" >&5 26927 echo "${ECHO_T}$have_broken_ss_family" >&6; } 26928 if test x$have_broken_ss_family = xyes ; then 26929 26930 cat >>confdefs.h <<\_ACEOF 26931 #define HAVE_BROKEN_SS_FAMILY 26932 _ACEOF 26933 26934 26935 cat >>confdefs.h <<\_ACEOF 26936 #define ss_family __ss_family 26937 _ACEOF 26938 26939 else 26940 { echo "$as_me:$LINENO: WARNING: ss_family and __ss_family not found" >&5 26941 echo "$as_me: WARNING: ss_family and __ss_family not found" >&2;} 26942 fi 26943 fi 26944 26945 have_getaddrinfo=no 26946 { echo "$as_me:$LINENO: checking for getaddrinfo" >&5 26947 echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6; } 26948 if test "${ac_cv_func_getaddrinfo+set}" = set; then 26949 echo $ECHO_N "(cached) $ECHO_C" >&6 26950 else 26951 cat >conftest.$ac_ext <<_ACEOF 26952 /* confdefs.h. */ 26953 _ACEOF 26954 cat confdefs.h >>conftest.$ac_ext 26955 cat >>conftest.$ac_ext <<_ACEOF 26956 /* end confdefs.h. */ 26957 /* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo. 26958 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 26959 #define getaddrinfo innocuous_getaddrinfo 26960 26961 /* System header to define __stub macros and hopefully few prototypes, 26962 which can conflict with char getaddrinfo (); below. 26963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 26964 <limits.h> exists even on freestanding compilers. */ 26965 26966 #ifdef __STDC__ 26967 # include <limits.h> 26968 #else 26969 # include <assert.h> 26970 #endif 26971 26972 #undef getaddrinfo 26973 26974 /* Override any GCC internal prototype to avoid an error. 26975 Use char because int might match the return type of a GCC 26976 builtin and then its argument prototype would still apply. */ 26977 #ifdef __cplusplus 26978 extern "C" 26979 #endif 26980 char getaddrinfo (); 26981 /* The GNU C library defines this for functions which it implements 26982 to always fail with ENOSYS. Some functions are actually named 26983 something starting with __ and the normal name is an alias. */ 26984 #if defined __stub_getaddrinfo || defined __stub___getaddrinfo 26985 choke me 26986 #endif 26987 26988 int 26989 main () 26990 { 26991 return getaddrinfo (); 26992 ; 26993 return 0; 26994 } 26995 _ACEOF 26996 rm -f conftest.$ac_objext conftest$ac_exeext 26997 if { (ac_try="$ac_link" 26998 case "(($ac_try" in 26999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27000 *) ac_try_echo=$ac_try;; 27001 esac 27002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27003 (eval "$ac_link") 2>conftest.er1 27004 ac_status=$? 27005 grep -v '^ *+' conftest.er1 >conftest.err 27006 rm -f conftest.er1 27007 cat conftest.err >&5 27008 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27009 (exit $ac_status); } && { 27010 test -z "$ac_c_werror_flag" || 27011 test ! -s conftest.err 27012 } && test -s conftest$ac_exeext && 27013 $as_test_x conftest$ac_exeext; then 27014 ac_cv_func_getaddrinfo=yes 27015 else 27016 echo "$as_me: failed program was:" >&5 27017 sed 's/^/| /' conftest.$ac_ext >&5 27018 27019 ac_cv_func_getaddrinfo=no 27020 fi 27021 27022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 27023 conftest$ac_exeext conftest.$ac_ext 27024 fi 27025 { echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5 27026 echo "${ECHO_T}$ac_cv_func_getaddrinfo" >&6; } 27027 if test $ac_cv_func_getaddrinfo = yes; then 27028 have_getaddrinfo=yes 27029 fi 27030 27031 if test $have_getaddrinfo != yes; then 27032 for lib in bsd socket inet; do 27033 as_ac_Lib=`echo "ac_cv_lib_$lib''_getaddrinfo" | $as_tr_sh` 27034 { echo "$as_me:$LINENO: checking for getaddrinfo in -l$lib" >&5 27035 echo $ECHO_N "checking for getaddrinfo in -l$lib... $ECHO_C" >&6; } 27036 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then 27037 echo $ECHO_N "(cached) $ECHO_C" >&6 27038 else 27039 ac_check_lib_save_LIBS=$LIBS 27040 LIBS="-l$lib $LIBS" 27041 cat >conftest.$ac_ext <<_ACEOF 27042 /* confdefs.h. */ 27043 _ACEOF 27044 cat confdefs.h >>conftest.$ac_ext 27045 cat >>conftest.$ac_ext <<_ACEOF 27046 /* end confdefs.h. */ 27047 27048 /* Override any GCC internal prototype to avoid an error. 27049 Use char because int might match the return type of a GCC 27050 builtin and then its argument prototype would still apply. */ 27051 #ifdef __cplusplus 27052 extern "C" 27053 #endif 27054 char getaddrinfo (); 27055 int 27056 main () 27057 { 27058 return getaddrinfo (); 27059 ; 27060 return 0; 27061 } 27062 _ACEOF 27063 rm -f conftest.$ac_objext conftest$ac_exeext 27064 if { (ac_try="$ac_link" 27065 case "(($ac_try" in 27066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27067 *) ac_try_echo=$ac_try;; 27068 esac 27069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27070 (eval "$ac_link") 2>conftest.er1 27071 ac_status=$? 27072 grep -v '^ *+' conftest.er1 >conftest.err 27073 rm -f conftest.er1 27074 cat conftest.err >&5 27075 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27076 (exit $ac_status); } && { 27077 test -z "$ac_c_werror_flag" || 27078 test ! -s conftest.err 27079 } && test -s conftest$ac_exeext && 27080 $as_test_x conftest$ac_exeext; then 27081 eval "$as_ac_Lib=yes" 27082 else 27083 echo "$as_me: failed program was:" >&5 27084 sed 's/^/| /' conftest.$ac_ext >&5 27085 27086 eval "$as_ac_Lib=no" 27087 fi 27088 27089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 27090 conftest$ac_exeext conftest.$ac_ext 27091 LIBS=$ac_check_lib_save_LIBS 27092 fi 27093 ac_res=`eval echo '${'$as_ac_Lib'}'` 27094 { echo "$as_me:$LINENO: result: $ac_res" >&5 27095 echo "${ECHO_T}$ac_res" >&6; } 27096 if test `eval echo '${'$as_ac_Lib'}'` = yes; then 27097 LIBS="$LIBS -l$lib";have_getaddrinfo=yes;break 27098 fi 27099 27100 done 27101 fi 27102 27103 if test $have_getaddrinfo = yes; then 27104 27105 cat >>confdefs.h <<\_ACEOF 27106 #define HAVE_GETADDRINFO 27107 _ACEOF 27108 27109 fi 27110 fi 27111 fi 27112 27113 27114 { echo "$as_me:$LINENO: checking for isnan" >&5 27115 echo $ECHO_N "checking for isnan... $ECHO_C" >&6; } 27116 if test "${ac_cv_func_isnan+set}" = set; then 27117 echo $ECHO_N "(cached) $ECHO_C" >&6 27118 else 27119 cat >conftest.$ac_ext <<_ACEOF 27120 /* confdefs.h. */ 27121 _ACEOF 27122 cat confdefs.h >>conftest.$ac_ext 27123 cat >>conftest.$ac_ext <<_ACEOF 27124 /* end confdefs.h. */ 27125 /* Define isnan to an innocuous variant, in case <limits.h> declares isnan. 27126 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 27127 #define isnan innocuous_isnan 27128 27129 /* System header to define __stub macros and hopefully few prototypes, 27130 which can conflict with char isnan (); below. 27131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 27132 <limits.h> exists even on freestanding compilers. */ 27133 27134 #ifdef __STDC__ 27135 # include <limits.h> 27136 #else 27137 # include <assert.h> 27138 #endif 27139 27140 #undef isnan 27141 27142 /* Override any GCC internal prototype to avoid an error. 27143 Use char because int might match the return type of a GCC 27144 builtin and then its argument prototype would still apply. */ 27145 #ifdef __cplusplus 27146 extern "C" 27147 #endif 27148 char isnan (); 27149 /* The GNU C library defines this for functions which it implements 27150 to always fail with ENOSYS. Some functions are actually named 27151 something starting with __ and the normal name is an alias. */ 27152 #if defined __stub_isnan || defined __stub___isnan 27153 choke me 27154 #endif 27155 27156 int 27157 main () 27158 { 27159 return isnan (); 27160 ; 27161 return 0; 27162 } 27163 _ACEOF 27164 rm -f conftest.$ac_objext conftest$ac_exeext 27165 if { (ac_try="$ac_link" 27166 case "(($ac_try" in 27167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27168 *) ac_try_echo=$ac_try;; 27169 esac 27170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27171 (eval "$ac_link") 2>conftest.er1 27172 ac_status=$? 27173 grep -v '^ *+' conftest.er1 >conftest.err 27174 rm -f conftest.er1 27175 cat conftest.err >&5 27176 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27177 (exit $ac_status); } && { 27178 test -z "$ac_c_werror_flag" || 27179 test ! -s conftest.err 27180 } && test -s conftest$ac_exeext && 27181 $as_test_x conftest$ac_exeext; then 27182 ac_cv_func_isnan=yes 27183 else 27184 echo "$as_me: failed program was:" >&5 27185 sed 's/^/| /' conftest.$ac_ext >&5 27186 27187 ac_cv_func_isnan=no 27188 fi 27189 27190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 27191 conftest$ac_exeext conftest.$ac_ext 27192 fi 27193 { echo "$as_me:$LINENO: result: $ac_cv_func_isnan" >&5 27194 echo "${ECHO_T}$ac_cv_func_isnan" >&6; } 27195 if test $ac_cv_func_isnan = yes; then 27196 27197 cat >>confdefs.h <<\_ACEOF 27198 #define HAVE_ISNAN 27199 _ACEOF 27200 27201 else 27202 { echo "$as_me:$LINENO: checking for isnan in -lm" >&5 27203 echo $ECHO_N "checking for isnan in -lm... $ECHO_C" >&6; } 27204 if test "${ac_cv_lib_m_isnan+set}" = set; then 27205 echo $ECHO_N "(cached) $ECHO_C" >&6 27206 else 27207 ac_check_lib_save_LIBS=$LIBS 27208 LIBS="-lm $LIBS" 27209 cat >conftest.$ac_ext <<_ACEOF 27210 /* confdefs.h. */ 27211 _ACEOF 27212 cat confdefs.h >>conftest.$ac_ext 27213 cat >>conftest.$ac_ext <<_ACEOF 27214 /* end confdefs.h. */ 27215 27216 /* Override any GCC internal prototype to avoid an error. 27217 Use char because int might match the return type of a GCC 27218 builtin and then its argument prototype would still apply. */ 27219 #ifdef __cplusplus 27220 extern "C" 27221 #endif 27222 char isnan (); 27223 int 27224 main () 27225 { 27226 return isnan (); 27227 ; 27228 return 0; 27229 } 27230 _ACEOF 27231 rm -f conftest.$ac_objext conftest$ac_exeext 27232 if { (ac_try="$ac_link" 27233 case "(($ac_try" in 27234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27235 *) ac_try_echo=$ac_try;; 27236 esac 27237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27238 (eval "$ac_link") 2>conftest.er1 27239 ac_status=$? 27240 grep -v '^ *+' conftest.er1 >conftest.err 27241 rm -f conftest.er1 27242 cat conftest.err >&5 27243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27244 (exit $ac_status); } && { 27245 test -z "$ac_c_werror_flag" || 27246 test ! -s conftest.err 27247 } && test -s conftest$ac_exeext && 27248 $as_test_x conftest$ac_exeext; then 27249 ac_cv_lib_m_isnan=yes 27250 else 27251 echo "$as_me: failed program was:" >&5 27252 sed 's/^/| /' conftest.$ac_ext >&5 27253 27254 ac_cv_lib_m_isnan=no 27255 fi 27256 27257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 27258 conftest$ac_exeext conftest.$ac_ext 27259 LIBS=$ac_check_lib_save_LIBS 27260 fi 27261 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_isnan" >&5 27262 echo "${ECHO_T}$ac_cv_lib_m_isnan" >&6; } 27263 if test $ac_cv_lib_m_isnan = yes; then 27264 27265 cat >>confdefs.h <<\_ACEOF 27266 #define HAVE_ISNAN 27267 _ACEOF 27268 27269 fi 27270 27271 fi 27272 27273 27274 { echo "$as_me:$LINENO: checking for isinf" >&5 27275 echo $ECHO_N "checking for isinf... $ECHO_C" >&6; } 27276 if test "${ac_cv_func_isinf+set}" = set; then 27277 echo $ECHO_N "(cached) $ECHO_C" >&6 27278 else 27279 cat >conftest.$ac_ext <<_ACEOF 27280 /* confdefs.h. */ 27281 _ACEOF 27282 cat confdefs.h >>conftest.$ac_ext 27283 cat >>conftest.$ac_ext <<_ACEOF 27284 /* end confdefs.h. */ 27285 /* Define isinf to an innocuous variant, in case <limits.h> declares isinf. 27286 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 27287 #define isinf innocuous_isinf 27288 27289 /* System header to define __stub macros and hopefully few prototypes, 27290 which can conflict with char isinf (); below. 27291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 27292 <limits.h> exists even on freestanding compilers. */ 27293 27294 #ifdef __STDC__ 27295 # include <limits.h> 27296 #else 27297 # include <assert.h> 27298 #endif 27299 27300 #undef isinf 27301 27302 /* Override any GCC internal prototype to avoid an error. 27303 Use char because int might match the return type of a GCC 27304 builtin and then its argument prototype would still apply. */ 27305 #ifdef __cplusplus 27306 extern "C" 27307 #endif 27308 char isinf (); 27309 /* The GNU C library defines this for functions which it implements 27310 to always fail with ENOSYS. Some functions are actually named 27311 something starting with __ and the normal name is an alias. */ 27312 #if defined __stub_isinf || defined __stub___isinf 27313 choke me 27314 #endif 27315 27316 int 27317 main () 27318 { 27319 return isinf (); 27320 ; 27321 return 0; 27322 } 27323 _ACEOF 27324 rm -f conftest.$ac_objext conftest$ac_exeext 27325 if { (ac_try="$ac_link" 27326 case "(($ac_try" in 27327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27328 *) ac_try_echo=$ac_try;; 27329 esac 27330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27331 (eval "$ac_link") 2>conftest.er1 27332 ac_status=$? 27333 grep -v '^ *+' conftest.er1 >conftest.err 27334 rm -f conftest.er1 27335 cat conftest.err >&5 27336 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27337 (exit $ac_status); } && { 27338 test -z "$ac_c_werror_flag" || 27339 test ! -s conftest.err 27340 } && test -s conftest$ac_exeext && 27341 $as_test_x conftest$ac_exeext; then 27342 ac_cv_func_isinf=yes 27343 else 27344 echo "$as_me: failed program was:" >&5 27345 sed 's/^/| /' conftest.$ac_ext >&5 27346 27347 ac_cv_func_isinf=no 27348 fi 27349 27350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 27351 conftest$ac_exeext conftest.$ac_ext 27352 fi 27353 { echo "$as_me:$LINENO: result: $ac_cv_func_isinf" >&5 27354 echo "${ECHO_T}$ac_cv_func_isinf" >&6; } 27355 if test $ac_cv_func_isinf = yes; then 27356 27357 cat >>confdefs.h <<\_ACEOF 27358 #define HAVE_ISINF 27359 _ACEOF 27360 27361 else 27362 { echo "$as_me:$LINENO: checking for isinf in -lm" >&5 27363 echo $ECHO_N "checking for isinf in -lm... $ECHO_C" >&6; } 27364 if test "${ac_cv_lib_m_isinf+set}" = set; then 27365 echo $ECHO_N "(cached) $ECHO_C" >&6 27366 else 27367 ac_check_lib_save_LIBS=$LIBS 27368 LIBS="-lm $LIBS" 27369 cat >conftest.$ac_ext <<_ACEOF 27370 /* confdefs.h. */ 27371 _ACEOF 27372 cat confdefs.h >>conftest.$ac_ext 27373 cat >>conftest.$ac_ext <<_ACEOF 27374 /* end confdefs.h. */ 27375 27376 /* Override any GCC internal prototype to avoid an error. 27377 Use char because int might match the return type of a GCC 27378 builtin and then its argument prototype would still apply. */ 27379 #ifdef __cplusplus 27380 extern "C" 27381 #endif 27382 char isinf (); 27383 int 27384 main () 27385 { 27386 return isinf (); 27387 ; 27388 return 0; 27389 } 27390 _ACEOF 27391 rm -f conftest.$ac_objext conftest$ac_exeext 27392 if { (ac_try="$ac_link" 27393 case "(($ac_try" in 27394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27395 *) ac_try_echo=$ac_try;; 27396 esac 27397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27398 (eval "$ac_link") 2>conftest.er1 27399 ac_status=$? 27400 grep -v '^ *+' conftest.er1 >conftest.err 27401 rm -f conftest.er1 27402 cat conftest.err >&5 27403 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27404 (exit $ac_status); } && { 27405 test -z "$ac_c_werror_flag" || 27406 test ! -s conftest.err 27407 } && test -s conftest$ac_exeext && 27408 $as_test_x conftest$ac_exeext; then 27409 ac_cv_lib_m_isinf=yes 27410 else 27411 echo "$as_me: failed program was:" >&5 27412 sed 's/^/| /' conftest.$ac_ext >&5 27413 27414 ac_cv_lib_m_isinf=no 27415 fi 27416 27417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 27418 conftest$ac_exeext conftest.$ac_ext 27419 LIBS=$ac_check_lib_save_LIBS 27420 fi 27421 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_isinf" >&5 27422 echo "${ECHO_T}$ac_cv_lib_m_isinf" >&6; } 27423 if test $ac_cv_lib_m_isinf = yes; then 27424 27425 cat >>confdefs.h <<\_ACEOF 27426 #define HAVE_ISINF 27427 _ACEOF 27428 27429 fi 27430 27431 fi 27432 27433 27434 XML_LIBDIR='-L${libdir}' 27435 XML_INCLUDEDIR='-I${includedir}/libxml2' 27436 27437 XML_CFLAGS="" 27438 RDL_LIBS="" 27439 27440 if test "${GCC}" != "yes" ; then 27441 case "${host}" in 27442 hppa*-*-hpux* ) 27443 CFLAGS="${CFLAGS} -Wp,-H30000" 27444 ;; 27445 *-dec-osf* ) 27446 CFLAGS="${CFLAGS} -ieee" 27447 ;; 27448 alpha*-*-linux* ) 27449 CFLAGS="${CFLAGS} -ieee" 27450 ;; 27451 esac 27452 else 27453 if test "$with_fexceptions" = "yes" 27454 then 27455 # 27456 # Not activated by default because this inflates the code size 27457 # Used to allow propagation of C++ exceptions through the library 27458 # 27459 CFLAGS="${CFLAGS} -fexceptions" 27460 fi 27461 27462 CFLAGS="${CFLAGS} -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls" 27463 case "${host}" in 27464 alpha*-*-linux* ) 27465 CFLAGS="${CFLAGS} -mieee" 27466 ;; 27467 alpha*-*-osf* ) 27468 CFLAGS="${CFLAGS} -mieee" 27469 ;; 27470 esac 27471 fi 27472 case ${host} in 27473 *-*-solaris*) 27474 XML_LIBDIR="${XML_LIBDIR} -R${libdir}" 27475 ;; 27476 hppa*-hp-mpeix) 27477 NEED_TRIO=1 27478 ;; 27479 *-*-mingw* | *-*-cygwin* | *-*-msvc* ) 27480 # If the host is Windows, and shared libraries are disabled, we 27481 # need to add -DLIBXML_STATIC to CFLAGS in order for linking to 27482 # work properly (without it, xmlexports.h would force the use of 27483 # DLL imports, which obviously aren't present in a static 27484 # library). 27485 if test "x$enable_shared" = "xno"; then 27486 XML_CFLAGS="$XML_CFLAGS -DLIBXML_STATIC" 27487 CFLAGS="$CFLAGS -DLIBXML_STATIC" 27488 fi 27489 ;; 27490 esac 27491 27492 27493 27494 PYTHON_VERSION= 27495 PYTHON_INCLUDES= 27496 PYTHON_SITE_PACKAGES= 27497 PYTHON_TESTS= 27498 pythondir= 27499 if test "$with_python" != "no" ; then 27500 if test -x "$with_python/bin/python" 27501 then 27502 echo Found python in $with_python/bin/python 27503 PYTHON="$with_python/bin/python" 27504 else 27505 if test -x "$with_python" 27506 then 27507 echo Found python in $with_python 27508 PYTHON="$with_python" 27509 else 27510 if test -x "$PYTHON" 27511 then 27512 echo Found python in environment PYTHON=$PYTHON 27513 with_python=`$PYTHON -c "import sys; print sys.exec_prefix"` 27514 else 27515 # Extract the first word of "python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args. 27516 set dummy python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2 27517 { echo "$as_me:$LINENO: checking for $ac_word" >&5 27518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 27519 if test "${ac_cv_path_PYTHON+set}" = set; then 27520 echo $ECHO_N "(cached) $ECHO_C" >&6 27521 else 27522 case $PYTHON in 27523 [\\/]* | ?:[\\/]*) 27524 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. 27525 ;; 27526 *) 27527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 27528 for as_dir in $PATH 27529 do 27530 IFS=$as_save_IFS 27531 test -z "$as_dir" && as_dir=. 27532 for ac_exec_ext in '' $ac_executable_extensions; do 27533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 27534 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 27535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 27536 break 2 27537 fi 27538 done 27539 done 27540 IFS=$as_save_IFS 27541 27542 ;; 27543 esac 27544 fi 27545 PYTHON=$ac_cv_path_PYTHON 27546 if test -n "$PYTHON"; then 27547 { echo "$as_me:$LINENO: result: $PYTHON" >&5 27548 echo "${ECHO_T}$PYTHON" >&6; } 27549 else 27550 { echo "$as_me:$LINENO: result: no" >&5 27551 echo "${ECHO_T}no" >&6; } 27552 fi 27553 27554 27555 fi 27556 fi 27557 fi 27558 if test "$PYTHON" != "" 27559 then 27560 PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[0:3]"` 27561 echo Found Python version $PYTHON_VERSION 27562 fi 27563 if test "$PYTHON_VERSION" != "" 27564 then 27565 if test -r $with_python/include/python$PYTHON_VERSION/Python.h -a \ 27566 -d $with_python/lib/python$PYTHON_VERSION/site-packages 27567 then 27568 PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION 27569 PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages 27570 else 27571 if test -r $prefix/include/python$PYTHON_VERSION/Python.h 27572 then 27573 PYTHON_INCLUDES=$prefix/include/python$PYTHON_VERSION 27574 PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages 27575 else 27576 if test -r /usr/include/python$PYTHON_VERSION/Python.h 27577 then 27578 PYTHON_INCLUDES=/usr/include/python$PYTHON_VERSION 27579 PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages 27580 else 27581 echo could not find python$PYTHON_VERSION/Python.h 27582 fi 27583 fi 27584 if test ! -d "$PYTHON_SITE_PACKAGES" 27585 then 27586 PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"` 27587 fi 27588 fi 27589 fi 27590 if test "$with_python" != "" 27591 then 27592 pythondir='$(PYTHON_SITE_PACKAGES)' 27593 else 27594 pythondir='$(libdir)/python$(PYTHON_VERSION)/site-packages' 27595 fi 27596 else 27597 PYTHON= 27598 fi 27599 if test "$PYTHON_INCLUDES" != ""; then 27600 WITH_PYTHON_TRUE= 27601 WITH_PYTHON_FALSE='#' 27602 else 27603 WITH_PYTHON_TRUE='#' 27604 WITH_PYTHON_FALSE= 27605 fi 27606 27607 if test "$PYTHON_INCLUDES" != "" 27608 then 27609 PYTHON_SUBDIR=python 27610 else 27611 PYTHON_SUBDIR= 27612 fi 27613 27614 27615 27616 WITH_MODULES=0 27617 TEST_MODULES= 27618 27619 if test "$with_modules" != "no" ; then 27620 case "$host" in 27621 *-*-cygwin*) 27622 MODULE_EXTENSION=".dll" 27623 { echo "$as_me:$LINENO: checking for dlopen in -lcygwin" >&5 27624 echo $ECHO_N "checking for dlopen in -lcygwin... $ECHO_C" >&6; } 27625 if test "${ac_cv_lib_cygwin_dlopen+set}" = set; then 27626 echo $ECHO_N "(cached) $ECHO_C" >&6 27627 else 27628 ac_check_lib_save_LIBS=$LIBS 27629 LIBS="-lcygwin $LIBS" 27630 cat >conftest.$ac_ext <<_ACEOF 27631 /* confdefs.h. */ 27632 _ACEOF 27633 cat confdefs.h >>conftest.$ac_ext 27634 cat >>conftest.$ac_ext <<_ACEOF 27635 /* end confdefs.h. */ 27636 27637 /* Override any GCC internal prototype to avoid an error. 27638 Use char because int might match the return type of a GCC 27639 builtin and then its argument prototype would still apply. */ 27640 #ifdef __cplusplus 27641 extern "C" 27642 #endif 27643 char dlopen (); 27644 int 27645 main () 27646 { 27647 return dlopen (); 27648 ; 27649 return 0; 27650 } 27651 _ACEOF 27652 rm -f conftest.$ac_objext conftest$ac_exeext 27653 if { (ac_try="$ac_link" 27654 case "(($ac_try" in 27655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27656 *) ac_try_echo=$ac_try;; 27657 esac 27658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27659 (eval "$ac_link") 2>conftest.er1 27660 ac_status=$? 27661 grep -v '^ *+' conftest.er1 >conftest.err 27662 rm -f conftest.er1 27663 cat conftest.err >&5 27664 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27665 (exit $ac_status); } && { 27666 test -z "$ac_c_werror_flag" || 27667 test ! -s conftest.err 27668 } && test -s conftest$ac_exeext && 27669 $as_test_x conftest$ac_exeext; then 27670 ac_cv_lib_cygwin_dlopen=yes 27671 else 27672 echo "$as_me: failed program was:" >&5 27673 sed 's/^/| /' conftest.$ac_ext >&5 27674 27675 ac_cv_lib_cygwin_dlopen=no 27676 fi 27677 27678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 27679 conftest$ac_exeext conftest.$ac_ext 27680 LIBS=$ac_check_lib_save_LIBS 27681 fi 27682 { echo "$as_me:$LINENO: result: $ac_cv_lib_cygwin_dlopen" >&5 27683 echo "${ECHO_T}$ac_cv_lib_cygwin_dlopen" >&6; } 27684 if test $ac_cv_lib_cygwin_dlopen = yes; then 27685 27686 WITH_MODULES=1 27687 MODULE_PLATFORM_LIBS= 27688 27689 cat >>confdefs.h <<\_ACEOF 27690 #define HAVE_DLOPEN 27691 _ACEOF 27692 27693 27694 fi 27695 27696 ;; 27697 *) 27698 { echo "$as_me:$LINENO: checking for shl_load" >&5 27699 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; } 27700 if test "${ac_cv_func_shl_load+set}" = set; then 27701 echo $ECHO_N "(cached) $ECHO_C" >&6 27702 else 27703 cat >conftest.$ac_ext <<_ACEOF 27704 /* confdefs.h. */ 27705 _ACEOF 27706 cat confdefs.h >>conftest.$ac_ext 27707 cat >>conftest.$ac_ext <<_ACEOF 27708 /* end confdefs.h. */ 27709 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. 27710 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 27711 #define shl_load innocuous_shl_load 27712 27713 /* System header to define __stub macros and hopefully few prototypes, 27714 which can conflict with char shl_load (); below. 27715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 27716 <limits.h> exists even on freestanding compilers. */ 27717 27718 #ifdef __STDC__ 27719 # include <limits.h> 27720 #else 27721 # include <assert.h> 27722 #endif 27723 27724 #undef shl_load 27725 27726 /* Override any GCC internal prototype to avoid an error. 27727 Use char because int might match the return type of a GCC 27728 builtin and then its argument prototype would still apply. */ 27729 #ifdef __cplusplus 27730 extern "C" 27731 #endif 27732 char shl_load (); 27733 /* The GNU C library defines this for functions which it implements 27734 to always fail with ENOSYS. Some functions are actually named 27735 something starting with __ and the normal name is an alias. */ 27736 #if defined __stub_shl_load || defined __stub___shl_load 27737 choke me 27738 #endif 27739 27740 int 27741 main () 27742 { 27743 return shl_load (); 27744 ; 27745 return 0; 27746 } 27747 _ACEOF 27748 rm -f conftest.$ac_objext conftest$ac_exeext 27749 if { (ac_try="$ac_link" 27750 case "(($ac_try" in 27751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27752 *) ac_try_echo=$ac_try;; 27753 esac 27754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27755 (eval "$ac_link") 2>conftest.er1 27756 ac_status=$? 27757 grep -v '^ *+' conftest.er1 >conftest.err 27758 rm -f conftest.er1 27759 cat conftest.err >&5 27760 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27761 (exit $ac_status); } && { 27762 test -z "$ac_c_werror_flag" || 27763 test ! -s conftest.err 27764 } && test -s conftest$ac_exeext && 27765 $as_test_x conftest$ac_exeext; then 27766 ac_cv_func_shl_load=yes 27767 else 27768 echo "$as_me: failed program was:" >&5 27769 sed 's/^/| /' conftest.$ac_ext >&5 27770 27771 ac_cv_func_shl_load=no 27772 fi 27773 27774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 27775 conftest$ac_exeext conftest.$ac_ext 27776 fi 27777 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 27778 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; } 27779 if test $ac_cv_func_shl_load = yes; then 27780 libxml_have_shl_load=yes 27781 else 27782 27783 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 27784 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; } 27785 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 27786 echo $ECHO_N "(cached) $ECHO_C" >&6 27787 else 27788 ac_check_lib_save_LIBS=$LIBS 27789 LIBS="-ldld $LIBS" 27790 cat >conftest.$ac_ext <<_ACEOF 27791 /* confdefs.h. */ 27792 _ACEOF 27793 cat confdefs.h >>conftest.$ac_ext 27794 cat >>conftest.$ac_ext <<_ACEOF 27795 /* end confdefs.h. */ 27796 27797 /* Override any GCC internal prototype to avoid an error. 27798 Use char because int might match the return type of a GCC 27799 builtin and then its argument prototype would still apply. */ 27800 #ifdef __cplusplus 27801 extern "C" 27802 #endif 27803 char shl_load (); 27804 int 27805 main () 27806 { 27807 return shl_load (); 27808 ; 27809 return 0; 27810 } 27811 _ACEOF 27812 rm -f conftest.$ac_objext conftest$ac_exeext 27813 if { (ac_try="$ac_link" 27814 case "(($ac_try" in 27815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27816 *) ac_try_echo=$ac_try;; 27817 esac 27818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27819 (eval "$ac_link") 2>conftest.er1 27820 ac_status=$? 27821 grep -v '^ *+' conftest.er1 >conftest.err 27822 rm -f conftest.er1 27823 cat conftest.err >&5 27824 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27825 (exit $ac_status); } && { 27826 test -z "$ac_c_werror_flag" || 27827 test ! -s conftest.err 27828 } && test -s conftest$ac_exeext && 27829 $as_test_x conftest$ac_exeext; then 27830 ac_cv_lib_dld_shl_load=yes 27831 else 27832 echo "$as_me: failed program was:" >&5 27833 sed 's/^/| /' conftest.$ac_ext >&5 27834 27835 ac_cv_lib_dld_shl_load=no 27836 fi 27837 27838 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 27839 conftest$ac_exeext conftest.$ac_ext 27840 LIBS=$ac_check_lib_save_LIBS 27841 fi 27842 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 27843 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } 27844 if test $ac_cv_lib_dld_shl_load = yes; then 27845 27846 MODULE_PLATFORM_LIBS="-ldld" 27847 libxml_have_shl_load=yes 27848 else 27849 27850 { echo "$as_me:$LINENO: checking for dlopen" >&5 27851 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; } 27852 if test "${ac_cv_func_dlopen+set}" = set; then 27853 echo $ECHO_N "(cached) $ECHO_C" >&6 27854 else 27855 cat >conftest.$ac_ext <<_ACEOF 27856 /* confdefs.h. */ 27857 _ACEOF 27858 cat confdefs.h >>conftest.$ac_ext 27859 cat >>conftest.$ac_ext <<_ACEOF 27860 /* end confdefs.h. */ 27861 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. 27862 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 27863 #define dlopen innocuous_dlopen 27864 27865 /* System header to define __stub macros and hopefully few prototypes, 27866 which can conflict with char dlopen (); below. 27867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 27868 <limits.h> exists even on freestanding compilers. */ 27869 27870 #ifdef __STDC__ 27871 # include <limits.h> 27872 #else 27873 # include <assert.h> 27874 #endif 27875 27876 #undef dlopen 27877 27878 /* Override any GCC internal prototype to avoid an error. 27879 Use char because int might match the return type of a GCC 27880 builtin and then its argument prototype would still apply. */ 27881 #ifdef __cplusplus 27882 extern "C" 27883 #endif 27884 char dlopen (); 27885 /* The GNU C library defines this for functions which it implements 27886 to always fail with ENOSYS. Some functions are actually named 27887 something starting with __ and the normal name is an alias. */ 27888 #if defined __stub_dlopen || defined __stub___dlopen 27889 choke me 27890 #endif 27891 27892 int 27893 main () 27894 { 27895 return dlopen (); 27896 ; 27897 return 0; 27898 } 27899 _ACEOF 27900 rm -f conftest.$ac_objext conftest$ac_exeext 27901 if { (ac_try="$ac_link" 27902 case "(($ac_try" in 27903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27904 *) ac_try_echo=$ac_try;; 27905 esac 27906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27907 (eval "$ac_link") 2>conftest.er1 27908 ac_status=$? 27909 grep -v '^ *+' conftest.er1 >conftest.err 27910 rm -f conftest.er1 27911 cat conftest.err >&5 27912 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27913 (exit $ac_status); } && { 27914 test -z "$ac_c_werror_flag" || 27915 test ! -s conftest.err 27916 } && test -s conftest$ac_exeext && 27917 $as_test_x conftest$ac_exeext; then 27918 ac_cv_func_dlopen=yes 27919 else 27920 echo "$as_me: failed program was:" >&5 27921 sed 's/^/| /' conftest.$ac_ext >&5 27922 27923 ac_cv_func_dlopen=no 27924 fi 27925 27926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 27927 conftest$ac_exeext conftest.$ac_ext 27928 fi 27929 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 27930 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; } 27931 if test $ac_cv_func_dlopen = yes; then 27932 libxml_have_dlopen=yes 27933 else 27934 27935 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 27936 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } 27937 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 27938 echo $ECHO_N "(cached) $ECHO_C" >&6 27939 else 27940 ac_check_lib_save_LIBS=$LIBS 27941 LIBS="-ldl $LIBS" 27942 cat >conftest.$ac_ext <<_ACEOF 27943 /* confdefs.h. */ 27944 _ACEOF 27945 cat confdefs.h >>conftest.$ac_ext 27946 cat >>conftest.$ac_ext <<_ACEOF 27947 /* end confdefs.h. */ 27948 27949 /* Override any GCC internal prototype to avoid an error. 27950 Use char because int might match the return type of a GCC 27951 builtin and then its argument prototype would still apply. */ 27952 #ifdef __cplusplus 27953 extern "C" 27954 #endif 27955 char dlopen (); 27956 int 27957 main () 27958 { 27959 return dlopen (); 27960 ; 27961 return 0; 27962 } 27963 _ACEOF 27964 rm -f conftest.$ac_objext conftest$ac_exeext 27965 if { (ac_try="$ac_link" 27966 case "(($ac_try" in 27967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27968 *) ac_try_echo=$ac_try;; 27969 esac 27970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27971 (eval "$ac_link") 2>conftest.er1 27972 ac_status=$? 27973 grep -v '^ *+' conftest.er1 >conftest.err 27974 rm -f conftest.er1 27975 cat conftest.err >&5 27976 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27977 (exit $ac_status); } && { 27978 test -z "$ac_c_werror_flag" || 27979 test ! -s conftest.err 27980 } && test -s conftest$ac_exeext && 27981 $as_test_x conftest$ac_exeext; then 27982 ac_cv_lib_dl_dlopen=yes 27983 else 27984 echo "$as_me: failed program was:" >&5 27985 sed 's/^/| /' conftest.$ac_ext >&5 27986 27987 ac_cv_lib_dl_dlopen=no 27988 fi 27989 27990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 27991 conftest$ac_exeext conftest.$ac_ext 27992 LIBS=$ac_check_lib_save_LIBS 27993 fi 27994 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 27995 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } 27996 if test $ac_cv_lib_dl_dlopen = yes; then 27997 27998 MODULE_PLATFORM_LIBS="-ldl" 27999 libxml_have_dlopen=yes 28000 fi 28001 28002 fi 28003 28004 fi 28005 28006 fi 28007 28008 28009 if test "${libxml_have_shl_load}" = "yes"; then 28010 MODULE_EXTENSION=".sl" 28011 WITH_MODULES=1 28012 28013 cat >>confdefs.h <<\_ACEOF 28014 #define HAVE_SHLLOAD 28015 _ACEOF 28016 28017 fi 28018 28019 if test "${libxml_have_dlopen}" = "yes"; then 28020 case "${host}" in 28021 *-*-hpux* ) 28022 MODULE_EXTENSION=".sl" 28023 ;; 28024 * ) 28025 MODULE_EXTENSION=".so" 28026 ;; 28027 esac 28028 28029 WITH_MODULES=1 28030 28031 cat >>confdefs.h <<\_ACEOF 28032 #define HAVE_DLOPEN 28033 _ACEOF 28034 28035 fi 28036 ;; 28037 esac 28038 fi 28039 28040 if test "${WITH_MODULES}" = "1"; then 28041 TEST_MODULES="ModuleTests" 28042 fi 28043 28044 28045 28046 28047 28048 28049 28050 if [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/u/veillard/XML" ] || \ 28051 [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/home/veillard/libxml2" ] || \ 28052 [ "${LOGNAME}" = "bill" -a "`pwd`" = "/home/bill/gnomesvn/libxml2" ] 28053 then 28054 if test "$with_minimum" != "yes" 28055 then 28056 if test "${with_mem_debug}" = "" ; then 28057 echo Activating memory debugging 28058 with_mem_debug="yes" 28059 with_run_debug="yes" 28060 fi 28061 if test "${with_docbook}" = "" ; then 28062 with_docbook="yes" 28063 fi 28064 fi 28065 if test "${GCC}" = "yes" ; then 28066 CFLAGS="-g -O -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -Wall" 28067 fi 28068 STATIC_BINARIES="-static" 28069 else 28070 STATIC_BINARIES= 28071 fi 28072 28073 28074 28075 if test "${NEED_TRIO}" = "1" ; then 28076 echo Adding trio library for string functions 28077 WITH_TRIO=1 28078 else 28079 WITH_TRIO=0 28080 fi 28081 if test "${NEED_TRIO}" = "1"; then 28082 WITH_TRIO_SOURCES_TRUE= 28083 WITH_TRIO_SOURCES_FALSE='#' 28084 else 28085 WITH_TRIO_SOURCES_TRUE='#' 28086 WITH_TRIO_SOURCES_FALSE= 28087 fi 28088 28089 28090 28091 echo Checking configuration requirements 28092 28093 THREAD_LIBS="" 28094 BASE_THREAD_LIBS="" 28095 WITH_THREADS=0 28096 THREAD_CFLAGS="" 28097 TEST_THREADS="" 28098 THREADS_W32="" 28099 28100 if test "$with_threads" = "no" ; then 28101 echo Disabling multithreaded support 28102 else 28103 echo Enabling multithreaded support 28104 28105 if test "${ac_cv_header_pthread_h+set}" = set; then 28106 { echo "$as_me:$LINENO: checking for pthread.h" >&5 28107 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; } 28108 if test "${ac_cv_header_pthread_h+set}" = set; then 28109 echo $ECHO_N "(cached) $ECHO_C" >&6 28110 fi 28111 { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5 28112 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; } 28113 else 28114 # Is the header compilable? 28115 { echo "$as_me:$LINENO: checking pthread.h usability" >&5 28116 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6; } 28117 cat >conftest.$ac_ext <<_ACEOF 28118 /* confdefs.h. */ 28119 _ACEOF 28120 cat confdefs.h >>conftest.$ac_ext 28121 cat >>conftest.$ac_ext <<_ACEOF 28122 /* end confdefs.h. */ 28123 $ac_includes_default 28124 #include <pthread.h> 28125 _ACEOF 28126 rm -f conftest.$ac_objext 28127 if { (ac_try="$ac_compile" 28128 case "(($ac_try" in 28129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28130 *) ac_try_echo=$ac_try;; 28131 esac 28132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28133 (eval "$ac_compile") 2>conftest.er1 28134 ac_status=$? 28135 grep -v '^ *+' conftest.er1 >conftest.err 28136 rm -f conftest.er1 28137 cat conftest.err >&5 28138 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28139 (exit $ac_status); } && { 28140 test -z "$ac_c_werror_flag" || 28141 test ! -s conftest.err 28142 } && test -s conftest.$ac_objext; then 28143 ac_header_compiler=yes 28144 else 28145 echo "$as_me: failed program was:" >&5 28146 sed 's/^/| /' conftest.$ac_ext >&5 28147 28148 ac_header_compiler=no 28149 fi 28150 28151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 28152 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 28153 echo "${ECHO_T}$ac_header_compiler" >&6; } 28154 28155 # Is the header present? 28156 { echo "$as_me:$LINENO: checking pthread.h presence" >&5 28157 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6; } 28158 cat >conftest.$ac_ext <<_ACEOF 28159 /* confdefs.h. */ 28160 _ACEOF 28161 cat confdefs.h >>conftest.$ac_ext 28162 cat >>conftest.$ac_ext <<_ACEOF 28163 /* end confdefs.h. */ 28164 #include <pthread.h> 28165 _ACEOF 28166 if { (ac_try="$ac_cpp conftest.$ac_ext" 28167 case "(($ac_try" in 28168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28169 *) ac_try_echo=$ac_try;; 28170 esac 28171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28172 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 28173 ac_status=$? 28174 grep -v '^ *+' conftest.er1 >conftest.err 28175 rm -f conftest.er1 28176 cat conftest.err >&5 28177 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28178 (exit $ac_status); } >/dev/null && { 28179 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 28180 test ! -s conftest.err 28181 }; then 28182 ac_header_preproc=yes 28183 else 28184 echo "$as_me: failed program was:" >&5 28185 sed 's/^/| /' conftest.$ac_ext >&5 28186 28187 ac_header_preproc=no 28188 fi 28189 28190 rm -f conftest.err conftest.$ac_ext 28191 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 28192 echo "${ECHO_T}$ac_header_preproc" >&6; } 28193 28194 # So? What about this header? 28195 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 28196 yes:no: ) 28197 { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5 28198 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 28199 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result" >&5 28200 echo "$as_me: WARNING: pthread.h: proceeding with the compiler's result" >&2;} 28201 ac_header_preproc=yes 28202 ;; 28203 no:yes:* ) 28204 { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5 28205 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;} 28206 { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5 28207 echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;} 28208 { echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5 28209 echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;} 28210 { echo "$as_me:$LINENO: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&5 28211 echo "$as_me: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&2;} 28212 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5 28213 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;} 28214 { echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5 28215 echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;} 28216 28217 ;; 28218 esac 28219 { echo "$as_me:$LINENO: checking for pthread.h" >&5 28220 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; } 28221 if test "${ac_cv_header_pthread_h+set}" = set; then 28222 echo $ECHO_N "(cached) $ECHO_C" >&6 28223 else 28224 ac_cv_header_pthread_h=$ac_header_preproc 28225 fi 28226 { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5 28227 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; } 28228 28229 fi 28230 if test $ac_cv_header_pthread_h = yes; then 28231 { echo "$as_me:$LINENO: checking for pthread_join in -lpthread" >&5 28232 echo $ECHO_N "checking for pthread_join in -lpthread... $ECHO_C" >&6; } 28233 if test "${ac_cv_lib_pthread_pthread_join+set}" = set; then 28234 echo $ECHO_N "(cached) $ECHO_C" >&6 28235 else 28236 ac_check_lib_save_LIBS=$LIBS 28237 LIBS="-lpthread $LIBS" 28238 cat >conftest.$ac_ext <<_ACEOF 28239 /* confdefs.h. */ 28240 _ACEOF 28241 cat confdefs.h >>conftest.$ac_ext 28242 cat >>conftest.$ac_ext <<_ACEOF 28243 /* end confdefs.h. */ 28244 28245 /* Override any GCC internal prototype to avoid an error. 28246 Use char because int might match the return type of a GCC 28247 builtin and then its argument prototype would still apply. */ 28248 #ifdef __cplusplus 28249 extern "C" 28250 #endif 28251 char pthread_join (); 28252 int 28253 main () 28254 { 28255 return pthread_join (); 28256 ; 28257 return 0; 28258 } 28259 _ACEOF 28260 rm -f conftest.$ac_objext conftest$ac_exeext 28261 if { (ac_try="$ac_link" 28262 case "(($ac_try" in 28263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28264 *) ac_try_echo=$ac_try;; 28265 esac 28266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28267 (eval "$ac_link") 2>conftest.er1 28268 ac_status=$? 28269 grep -v '^ *+' conftest.er1 >conftest.err 28270 rm -f conftest.er1 28271 cat conftest.err >&5 28272 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28273 (exit $ac_status); } && { 28274 test -z "$ac_c_werror_flag" || 28275 test ! -s conftest.err 28276 } && test -s conftest$ac_exeext && 28277 $as_test_x conftest$ac_exeext; then 28278 ac_cv_lib_pthread_pthread_join=yes 28279 else 28280 echo "$as_me: failed program was:" >&5 28281 sed 's/^/| /' conftest.$ac_ext >&5 28282 28283 ac_cv_lib_pthread_pthread_join=no 28284 fi 28285 28286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 28287 conftest$ac_exeext conftest.$ac_ext 28288 LIBS=$ac_check_lib_save_LIBS 28289 fi 28290 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_join" >&5 28291 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_join" >&6; } 28292 if test $ac_cv_lib_pthread_pthread_join = yes; then 28293 28294 THREAD_LIBS="-lpthread" 28295 28296 cat >>confdefs.h <<\_ACEOF 28297 #define HAVE_LIBPTHREAD 28298 _ACEOF 28299 28300 28301 cat >>confdefs.h <<\_ACEOF 28302 #define HAVE_PTHREAD_H 28303 _ACEOF 28304 28305 WITH_THREADS="1" 28306 fi 28307 28308 fi 28309 28310 28311 case $host_os in 28312 *mingw32*) WITH_THREADS="1" 28313 THREADS_W32="Win32" 28314 THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_WIN32_THREADS" 28315 ;; 28316 *cygwin*) THREAD_LIBS="" 28317 ;; 28318 *beos*) WITH_THREADS="1" 28319 THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_BEOS_THREADS" 28320 ;; 28321 *linux*) 28322 if test "${GCC}" = "yes" ; then 28323 GCC_VERSION=`${CC} --version | head -1 | awk '{print $3}'` 28324 GCC_MAJOR=`echo ${GCC_VERSION} | sed 's+\..*++'` 28325 GCC_MEDIUM=`echo ${GCC_VERSION} | sed 's+[0-9]*\.++' | sed 's+\..*++'` 28326 if test "${THREAD_LIBS}" = "-lpthread" ; then 28327 if expr ${GCC_MEDIUM} \> 2 \& ${GCC_MAJOR} = 3 > /dev/null 28328 then 28329 THREAD_LIBS="" 28330 BASE_THREAD_LIBS="-lpthread" 28331 else 28332 if expr ${GCC_MAJOR} \> 3 > /dev/null 28333 then 28334 THREAD_LIBS="" 28335 BASE_THREAD_LIBS="-lpthread" 28336 else 28337 echo old GCC disabling weak symbols for pthread 28338 fi 28339 fi 28340 fi 28341 fi 28342 ;; 28343 esac 28344 if test "$WITH_THREADS" = "1" ; then 28345 THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT" 28346 TEST_THREADS="Threadtests" 28347 fi 28348 fi 28349 if test "$with_thread_alloc" = "yes" -a "$WITH_THREADS" = "1" ; then 28350 THREAD_CFLAGS="$THREAD_CFLAGS -DLIBXML_THREAD_ALLOC_ENABLED" 28351 fi 28352 28353 28354 28355 28356 28357 28358 28359 28360 if test "$with_history" = "yes" ; then 28361 echo Enabling xmllint shell history 28362 unset tcap 28363 for termlib in ncurses curses termcap terminfo termlib; do 28364 as_ac_Lib=`echo "ac_cv_lib_${termlib}''_tputs" | $as_tr_sh` 28365 { echo "$as_me:$LINENO: checking for tputs in -l${termlib}" >&5 28366 echo $ECHO_N "checking for tputs in -l${termlib}... $ECHO_C" >&6; } 28367 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then 28368 echo $ECHO_N "(cached) $ECHO_C" >&6 28369 else 28370 ac_check_lib_save_LIBS=$LIBS 28371 LIBS="-l${termlib} $LIBS" 28372 cat >conftest.$ac_ext <<_ACEOF 28373 /* confdefs.h. */ 28374 _ACEOF 28375 cat confdefs.h >>conftest.$ac_ext 28376 cat >>conftest.$ac_ext <<_ACEOF 28377 /* end confdefs.h. */ 28378 28379 /* Override any GCC internal prototype to avoid an error. 28380 Use char because int might match the return type of a GCC 28381 builtin and then its argument prototype would still apply. */ 28382 #ifdef __cplusplus 28383 extern "C" 28384 #endif 28385 char tputs (); 28386 int 28387 main () 28388 { 28389 return tputs (); 28390 ; 28391 return 0; 28392 } 28393 _ACEOF 28394 rm -f conftest.$ac_objext conftest$ac_exeext 28395 if { (ac_try="$ac_link" 28396 case "(($ac_try" in 28397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28398 *) ac_try_echo=$ac_try;; 28399 esac 28400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28401 (eval "$ac_link") 2>conftest.er1 28402 ac_status=$? 28403 grep -v '^ *+' conftest.er1 >conftest.err 28404 rm -f conftest.er1 28405 cat conftest.err >&5 28406 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28407 (exit $ac_status); } && { 28408 test -z "$ac_c_werror_flag" || 28409 test ! -s conftest.err 28410 } && test -s conftest$ac_exeext && 28411 $as_test_x conftest$ac_exeext; then 28412 eval "$as_ac_Lib=yes" 28413 else 28414 echo "$as_me: failed program was:" >&5 28415 sed 's/^/| /' conftest.$ac_ext >&5 28416 28417 eval "$as_ac_Lib=no" 28418 fi 28419 28420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 28421 conftest$ac_exeext conftest.$ac_ext 28422 LIBS=$ac_check_lib_save_LIBS 28423 fi 28424 ac_res=`eval echo '${'$as_ac_Lib'}'` 28425 { echo "$as_me:$LINENO: result: $ac_res" >&5 28426 echo "${ECHO_T}$ac_res" >&6; } 28427 if test `eval echo '${'$as_ac_Lib'}'` = yes; then 28428 tcap="-l$termlib" 28429 fi 28430 28431 test -n "$tcap" && break 28432 done 28433 28434 if test "${ac_cv_header_readline_history_h+set}" = set; then 28435 { echo "$as_me:$LINENO: checking for readline/history.h" >&5 28436 echo $ECHO_N "checking for readline/history.h... $ECHO_C" >&6; } 28437 if test "${ac_cv_header_readline_history_h+set}" = set; then 28438 echo $ECHO_N "(cached) $ECHO_C" >&6 28439 fi 28440 { echo "$as_me:$LINENO: result: $ac_cv_header_readline_history_h" >&5 28441 echo "${ECHO_T}$ac_cv_header_readline_history_h" >&6; } 28442 else 28443 # Is the header compilable? 28444 { echo "$as_me:$LINENO: checking readline/history.h usability" >&5 28445 echo $ECHO_N "checking readline/history.h usability... $ECHO_C" >&6; } 28446 cat >conftest.$ac_ext <<_ACEOF 28447 /* confdefs.h. */ 28448 _ACEOF 28449 cat confdefs.h >>conftest.$ac_ext 28450 cat >>conftest.$ac_ext <<_ACEOF 28451 /* end confdefs.h. */ 28452 $ac_includes_default 28453 #include <readline/history.h> 28454 _ACEOF 28455 rm -f conftest.$ac_objext 28456 if { (ac_try="$ac_compile" 28457 case "(($ac_try" in 28458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28459 *) ac_try_echo=$ac_try;; 28460 esac 28461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28462 (eval "$ac_compile") 2>conftest.er1 28463 ac_status=$? 28464 grep -v '^ *+' conftest.er1 >conftest.err 28465 rm -f conftest.er1 28466 cat conftest.err >&5 28467 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28468 (exit $ac_status); } && { 28469 test -z "$ac_c_werror_flag" || 28470 test ! -s conftest.err 28471 } && test -s conftest.$ac_objext; then 28472 ac_header_compiler=yes 28473 else 28474 echo "$as_me: failed program was:" >&5 28475 sed 's/^/| /' conftest.$ac_ext >&5 28476 28477 ac_header_compiler=no 28478 fi 28479 28480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 28481 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 28482 echo "${ECHO_T}$ac_header_compiler" >&6; } 28483 28484 # Is the header present? 28485 { echo "$as_me:$LINENO: checking readline/history.h presence" >&5 28486 echo $ECHO_N "checking readline/history.h presence... $ECHO_C" >&6; } 28487 cat >conftest.$ac_ext <<_ACEOF 28488 /* confdefs.h. */ 28489 _ACEOF 28490 cat confdefs.h >>conftest.$ac_ext 28491 cat >>conftest.$ac_ext <<_ACEOF 28492 /* end confdefs.h. */ 28493 #include <readline/history.h> 28494 _ACEOF 28495 if { (ac_try="$ac_cpp conftest.$ac_ext" 28496 case "(($ac_try" in 28497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28498 *) ac_try_echo=$ac_try;; 28499 esac 28500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28501 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 28502 ac_status=$? 28503 grep -v '^ *+' conftest.er1 >conftest.err 28504 rm -f conftest.er1 28505 cat conftest.err >&5 28506 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28507 (exit $ac_status); } >/dev/null && { 28508 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 28509 test ! -s conftest.err 28510 }; then 28511 ac_header_preproc=yes 28512 else 28513 echo "$as_me: failed program was:" >&5 28514 sed 's/^/| /' conftest.$ac_ext >&5 28515 28516 ac_header_preproc=no 28517 fi 28518 28519 rm -f conftest.err conftest.$ac_ext 28520 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 28521 echo "${ECHO_T}$ac_header_preproc" >&6; } 28522 28523 # So? What about this header? 28524 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 28525 yes:no: ) 28526 { echo "$as_me:$LINENO: WARNING: readline/history.h: accepted by the compiler, rejected by the preprocessor!" >&5 28527 echo "$as_me: WARNING: readline/history.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 28528 { echo "$as_me:$LINENO: WARNING: readline/history.h: proceeding with the compiler's result" >&5 28529 echo "$as_me: WARNING: readline/history.h: proceeding with the compiler's result" >&2;} 28530 ac_header_preproc=yes 28531 ;; 28532 no:yes:* ) 28533 { echo "$as_me:$LINENO: WARNING: readline/history.h: present but cannot be compiled" >&5 28534 echo "$as_me: WARNING: readline/history.h: present but cannot be compiled" >&2;} 28535 { echo "$as_me:$LINENO: WARNING: readline/history.h: check for missing prerequisite headers?" >&5 28536 echo "$as_me: WARNING: readline/history.h: check for missing prerequisite headers?" >&2;} 28537 { echo "$as_me:$LINENO: WARNING: readline/history.h: see the Autoconf documentation" >&5 28538 echo "$as_me: WARNING: readline/history.h: see the Autoconf documentation" >&2;} 28539 { echo "$as_me:$LINENO: WARNING: readline/history.h: section \"Present But Cannot Be Compiled\"" >&5 28540 echo "$as_me: WARNING: readline/history.h: section \"Present But Cannot Be Compiled\"" >&2;} 28541 { echo "$as_me:$LINENO: WARNING: readline/history.h: proceeding with the preprocessor's result" >&5 28542 echo "$as_me: WARNING: readline/history.h: proceeding with the preprocessor's result" >&2;} 28543 { echo "$as_me:$LINENO: WARNING: readline/history.h: in the future, the compiler will take precedence" >&5 28544 echo "$as_me: WARNING: readline/history.h: in the future, the compiler will take precedence" >&2;} 28545 28546 ;; 28547 esac 28548 { echo "$as_me:$LINENO: checking for readline/history.h" >&5 28549 echo $ECHO_N "checking for readline/history.h... $ECHO_C" >&6; } 28550 if test "${ac_cv_header_readline_history_h+set}" = set; then 28551 echo $ECHO_N "(cached) $ECHO_C" >&6 28552 else 28553 ac_cv_header_readline_history_h=$ac_header_preproc 28554 fi 28555 { echo "$as_me:$LINENO: result: $ac_cv_header_readline_history_h" >&5 28556 echo "${ECHO_T}$ac_cv_header_readline_history_h" >&6; } 28557 28558 fi 28559 if test $ac_cv_header_readline_history_h = yes; then 28560 { echo "$as_me:$LINENO: checking for append_history in -lhistory" >&5 28561 echo $ECHO_N "checking for append_history in -lhistory... $ECHO_C" >&6; } 28562 if test "${ac_cv_lib_history_append_history+set}" = set; then 28563 echo $ECHO_N "(cached) $ECHO_C" >&6 28564 else 28565 ac_check_lib_save_LIBS=$LIBS 28566 LIBS="-lhistory $LIBS" 28567 cat >conftest.$ac_ext <<_ACEOF 28568 /* confdefs.h. */ 28569 _ACEOF 28570 cat confdefs.h >>conftest.$ac_ext 28571 cat >>conftest.$ac_ext <<_ACEOF 28572 /* end confdefs.h. */ 28573 28574 /* Override any GCC internal prototype to avoid an error. 28575 Use char because int might match the return type of a GCC 28576 builtin and then its argument prototype would still apply. */ 28577 #ifdef __cplusplus 28578 extern "C" 28579 #endif 28580 char append_history (); 28581 int 28582 main () 28583 { 28584 return append_history (); 28585 ; 28586 return 0; 28587 } 28588 _ACEOF 28589 rm -f conftest.$ac_objext conftest$ac_exeext 28590 if { (ac_try="$ac_link" 28591 case "(($ac_try" in 28592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28593 *) ac_try_echo=$ac_try;; 28594 esac 28595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28596 (eval "$ac_link") 2>conftest.er1 28597 ac_status=$? 28598 grep -v '^ *+' conftest.er1 >conftest.err 28599 rm -f conftest.er1 28600 cat conftest.err >&5 28601 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28602 (exit $ac_status); } && { 28603 test -z "$ac_c_werror_flag" || 28604 test ! -s conftest.err 28605 } && test -s conftest$ac_exeext && 28606 $as_test_x conftest$ac_exeext; then 28607 ac_cv_lib_history_append_history=yes 28608 else 28609 echo "$as_me: failed program was:" >&5 28610 sed 's/^/| /' conftest.$ac_ext >&5 28611 28612 ac_cv_lib_history_append_history=no 28613 fi 28614 28615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 28616 conftest$ac_exeext conftest.$ac_ext 28617 LIBS=$ac_check_lib_save_LIBS 28618 fi 28619 { echo "$as_me:$LINENO: result: $ac_cv_lib_history_append_history" >&5 28620 echo "${ECHO_T}$ac_cv_lib_history_append_history" >&6; } 28621 if test $ac_cv_lib_history_append_history = yes; then 28622 28623 RDL_LIBS="-lhistory" 28624 28625 cat >>confdefs.h <<\_ACEOF 28626 #define HAVE_LIBHISTORY 28627 _ACEOF 28628 28629 fi 28630 28631 fi 28632 28633 28634 if test "${ac_cv_header_readline_readline_h+set}" = set; then 28635 { echo "$as_me:$LINENO: checking for readline/readline.h" >&5 28636 echo $ECHO_N "checking for readline/readline.h... $ECHO_C" >&6; } 28637 if test "${ac_cv_header_readline_readline_h+set}" = set; then 28638 echo $ECHO_N "(cached) $ECHO_C" >&6 28639 fi 28640 { echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5 28641 echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6; } 28642 else 28643 # Is the header compilable? 28644 { echo "$as_me:$LINENO: checking readline/readline.h usability" >&5 28645 echo $ECHO_N "checking readline/readline.h usability... $ECHO_C" >&6; } 28646 cat >conftest.$ac_ext <<_ACEOF 28647 /* confdefs.h. */ 28648 _ACEOF 28649 cat confdefs.h >>conftest.$ac_ext 28650 cat >>conftest.$ac_ext <<_ACEOF 28651 /* end confdefs.h. */ 28652 $ac_includes_default 28653 #include <readline/readline.h> 28654 _ACEOF 28655 rm -f conftest.$ac_objext 28656 if { (ac_try="$ac_compile" 28657 case "(($ac_try" in 28658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28659 *) ac_try_echo=$ac_try;; 28660 esac 28661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28662 (eval "$ac_compile") 2>conftest.er1 28663 ac_status=$? 28664 grep -v '^ *+' conftest.er1 >conftest.err 28665 rm -f conftest.er1 28666 cat conftest.err >&5 28667 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28668 (exit $ac_status); } && { 28669 test -z "$ac_c_werror_flag" || 28670 test ! -s conftest.err 28671 } && test -s conftest.$ac_objext; then 28672 ac_header_compiler=yes 28673 else 28674 echo "$as_me: failed program was:" >&5 28675 sed 's/^/| /' conftest.$ac_ext >&5 28676 28677 ac_header_compiler=no 28678 fi 28679 28680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 28681 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 28682 echo "${ECHO_T}$ac_header_compiler" >&6; } 28683 28684 # Is the header present? 28685 { echo "$as_me:$LINENO: checking readline/readline.h presence" >&5 28686 echo $ECHO_N "checking readline/readline.h presence... $ECHO_C" >&6; } 28687 cat >conftest.$ac_ext <<_ACEOF 28688 /* confdefs.h. */ 28689 _ACEOF 28690 cat confdefs.h >>conftest.$ac_ext 28691 cat >>conftest.$ac_ext <<_ACEOF 28692 /* end confdefs.h. */ 28693 #include <readline/readline.h> 28694 _ACEOF 28695 if { (ac_try="$ac_cpp conftest.$ac_ext" 28696 case "(($ac_try" in 28697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28698 *) ac_try_echo=$ac_try;; 28699 esac 28700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28701 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 28702 ac_status=$? 28703 grep -v '^ *+' conftest.er1 >conftest.err 28704 rm -f conftest.er1 28705 cat conftest.err >&5 28706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28707 (exit $ac_status); } >/dev/null && { 28708 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 28709 test ! -s conftest.err 28710 }; then 28711 ac_header_preproc=yes 28712 else 28713 echo "$as_me: failed program was:" >&5 28714 sed 's/^/| /' conftest.$ac_ext >&5 28715 28716 ac_header_preproc=no 28717 fi 28718 28719 rm -f conftest.err conftest.$ac_ext 28720 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 28721 echo "${ECHO_T}$ac_header_preproc" >&6; } 28722 28723 # So? What about this header? 28724 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 28725 yes:no: ) 28726 { echo "$as_me:$LINENO: WARNING: readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&5 28727 echo "$as_me: WARNING: readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 28728 { echo "$as_me:$LINENO: WARNING: readline/readline.h: proceeding with the compiler's result" >&5 28729 echo "$as_me: WARNING: readline/readline.h: proceeding with the compiler's result" >&2;} 28730 ac_header_preproc=yes 28731 ;; 28732 no:yes:* ) 28733 { echo "$as_me:$LINENO: WARNING: readline/readline.h: present but cannot be compiled" >&5 28734 echo "$as_me: WARNING: readline/readline.h: present but cannot be compiled" >&2;} 28735 { echo "$as_me:$LINENO: WARNING: readline/readline.h: check for missing prerequisite headers?" >&5 28736 echo "$as_me: WARNING: readline/readline.h: check for missing prerequisite headers?" >&2;} 28737 { echo "$as_me:$LINENO: WARNING: readline/readline.h: see the Autoconf documentation" >&5 28738 echo "$as_me: WARNING: readline/readline.h: see the Autoconf documentation" >&2;} 28739 { echo "$as_me:$LINENO: WARNING: readline/readline.h: section \"Present But Cannot Be Compiled\"" >&5 28740 echo "$as_me: WARNING: readline/readline.h: section \"Present But Cannot Be Compiled\"" >&2;} 28741 { echo "$as_me:$LINENO: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&5 28742 echo "$as_me: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&2;} 28743 { echo "$as_me:$LINENO: WARNING: readline/readline.h: in the future, the compiler will take precedence" >&5 28744 echo "$as_me: WARNING: readline/readline.h: in the future, the compiler will take precedence" >&2;} 28745 28746 ;; 28747 esac 28748 { echo "$as_me:$LINENO: checking for readline/readline.h" >&5 28749 echo $ECHO_N "checking for readline/readline.h... $ECHO_C" >&6; } 28750 if test "${ac_cv_header_readline_readline_h+set}" = set; then 28751 echo $ECHO_N "(cached) $ECHO_C" >&6 28752 else 28753 ac_cv_header_readline_readline_h=$ac_header_preproc 28754 fi 28755 { echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5 28756 echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6; } 28757 28758 fi 28759 if test $ac_cv_header_readline_readline_h = yes; then 28760 { echo "$as_me:$LINENO: checking for readline in -lreadline" >&5 28761 echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6; } 28762 if test "${ac_cv_lib_readline_readline+set}" = set; then 28763 echo $ECHO_N "(cached) $ECHO_C" >&6 28764 else 28765 ac_check_lib_save_LIBS=$LIBS 28766 LIBS="-lreadline $tcap $LIBS" 28767 cat >conftest.$ac_ext <<_ACEOF 28768 /* confdefs.h. */ 28769 _ACEOF 28770 cat confdefs.h >>conftest.$ac_ext 28771 cat >>conftest.$ac_ext <<_ACEOF 28772 /* end confdefs.h. */ 28773 28774 /* Override any GCC internal prototype to avoid an error. 28775 Use char because int might match the return type of a GCC 28776 builtin and then its argument prototype would still apply. */ 28777 #ifdef __cplusplus 28778 extern "C" 28779 #endif 28780 char readline (); 28781 int 28782 main () 28783 { 28784 return readline (); 28785 ; 28786 return 0; 28787 } 28788 _ACEOF 28789 rm -f conftest.$ac_objext conftest$ac_exeext 28790 if { (ac_try="$ac_link" 28791 case "(($ac_try" in 28792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28793 *) ac_try_echo=$ac_try;; 28794 esac 28795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28796 (eval "$ac_link") 2>conftest.er1 28797 ac_status=$? 28798 grep -v '^ *+' conftest.er1 >conftest.err 28799 rm -f conftest.er1 28800 cat conftest.err >&5 28801 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28802 (exit $ac_status); } && { 28803 test -z "$ac_c_werror_flag" || 28804 test ! -s conftest.err 28805 } && test -s conftest$ac_exeext && 28806 $as_test_x conftest$ac_exeext; then 28807 ac_cv_lib_readline_readline=yes 28808 else 28809 echo "$as_me: failed program was:" >&5 28810 sed 's/^/| /' conftest.$ac_ext >&5 28811 28812 ac_cv_lib_readline_readline=no 28813 fi 28814 28815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 28816 conftest$ac_exeext conftest.$ac_ext 28817 LIBS=$ac_check_lib_save_LIBS 28818 fi 28819 { echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5 28820 echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6; } 28821 if test $ac_cv_lib_readline_readline = yes; then 28822 28823 RDL_LIBS="-lreadline $RDL_LIBS $tcap" 28824 28825 cat >>confdefs.h <<\_ACEOF 28826 #define HAVE_LIBREADLINE 28827 _ACEOF 28828 28829 fi 28830 28831 fi 28832 28833 28834 if test -n "$RDL_DIR" -a -n "$RDL_LIBS"; then 28835 CPPFLAGS="$CPPFLAGS -I${RDL_DIR}/include" 28836 RDL_LIBS="-L${RDL_DIR}/lib $RDL_LIBS" 28837 fi 28838 fi 28839 28840 if test "$with_tree" = "no" ; then 28841 echo Disabling DOM like tree manipulation APIs 28842 WITH_TREE=0 28843 else 28844 WITH_TREE=1 28845 fi 28846 28847 28848 if test "$with_ftp" = "no" ; then 28849 echo Disabling FTP support 28850 WITH_FTP=0 28851 FTP_OBJ= 28852 else 28853 WITH_FTP=1 28854 FTP_OBJ=nanoftp.o 28855 fi 28856 28857 28858 28859 if test "$with_http" = "no" ; then 28860 echo Disabling HTTP support 28861 WITH_HTTP=0 28862 HTTP_OBJ= 28863 else 28864 WITH_HTTP=1 28865 HTTP_OBJ=nanohttp.o 28866 fi 28867 28868 28869 28870 if test "$with_legacy" = "no" ; then 28871 echo Disabling deprecated APIs 28872 WITH_LEGACY=0 28873 else 28874 WITH_LEGACY=1 28875 fi 28876 28877 28878 if test "$with_reader" = "no" ; then 28879 echo Disabling the xmlReader parsing interface 28880 WITH_READER=0 28881 READER_TEST= 28882 else 28883 WITH_READER=1 28884 READER_TEST=Readertests 28885 if test "$with_push" = "no" ; then 28886 echo xmlReader requires Push interface - enabling it 28887 with_push=yes 28888 fi 28889 fi 28890 28891 28892 28893 if test "$with_writer" = "no" ; then 28894 echo Disabling the xmlWriter saving interface 28895 WITH_WRITER=0 28896 # WRITER_TEST= 28897 else 28898 WITH_WRITER=1 28899 # WRITER_TEST=Writertests 28900 if test "$with_push" = "no" ; then 28901 echo xmlWriter requires Push interface - enabling it 28902 with_push=yes 28903 fi 28904 if test "$with_output" = "no" ; then 28905 echo xmlWriter requires Output interface - enabling it 28906 with_output=yes 28907 fi 28908 fi 28909 28910 #AC_SUBST(WRITER_TEST) 28911 28912 if test "$with_pattern" = "no" ; then 28913 echo Disabling the xmlPattern parsing interface 28914 WITH_PATTERN=0 28915 TEST_PATTERN= 28916 else 28917 WITH_PATTERN=1 28918 TEST_PATTERN=Patterntests 28919 fi 28920 28921 28922 28923 if test "$with_sax1" = "no" ; then 28924 echo Disabling the older SAX1 interface 28925 WITH_SAX1=0 28926 TEST_SAX= 28927 else 28928 WITH_SAX1=1 28929 TEST_SAX=SAXtests 28930 fi 28931 28932 28933 28934 if test "$with_push" = "no" ; then 28935 echo Disabling the PUSH parser interfaces 28936 WITH_PUSH=0 28937 TEST_PUSH= 28938 else 28939 WITH_PUSH=1 28940 TEST_PUSH="XMLPushtests" 28941 fi 28942 28943 28944 28945 if test "$with_html" = "no" ; then 28946 echo Disabling HTML support 28947 WITH_HTML=0 28948 HTML_OBJ= 28949 TEST_HTML= 28950 else 28951 WITH_HTML=1 28952 HTML_OBJ="HTMLparser.o HTMLtree.o" 28953 TEST_HTML=HTMLtests 28954 if test "$with_push" != "no" ; then 28955 TEST_PHTML=HTMLPushtests 28956 else 28957 TEST_PHTML= 28958 fi 28959 fi 28960 28961 28962 28963 28964 28965 if test "$with_valid" = "no" ; then 28966 echo Disabling DTD validation support 28967 WITH_VALID=0 28968 TEST_VALID= 28969 TEST_VTIME= 28970 else 28971 WITH_VALID=1 28972 TEST_VALID=Validtests 28973 TEST_VTIME=VTimingtests 28974 fi 28975 28976 28977 28978 28979 if test "$with_catalog" = "no" ; then 28980 echo Disabling Catalog support 28981 WITH_CATALOG=0 28982 CATALOG_OBJ= 28983 TEST_CATALOG= 28984 else 28985 WITH_CATALOG=1 28986 CATALOG_OBJ="catalog.o" 28987 TEST_CATALOG=Catatests 28988 fi 28989 28990 28991 28992 28993 if test "$with_docbook" = "no" ; then 28994 echo Disabling Docbook support 28995 WITH_DOCB=0 28996 DOCB_OBJ= 28997 else 28998 WITH_DOCB=1 28999 DOCB_OBJ="DOCBparser.o" 29000 fi 29001 29002 29003 29004 29005 if test "$with_xptr" = "no" ; then 29006 echo Disabling XPointer support 29007 WITH_XPTR=0 29008 XPTR_OBJ= 29009 TEST_XPTR= 29010 else 29011 WITH_XPTR=1 29012 XPTR_OBJ=xpointer.o 29013 TEST_XPTR=XPtrtests 29014 if test "$with_xpath" = "no" ; then 29015 echo XPointer requires XPath support - enabling it 29016 with_xpath=yes 29017 fi 29018 fi 29019 29020 29021 29022 29023 if test "$with_c14n" = "no" ; then 29024 echo Disabling C14N support 29025 WITH_C14N=0 29026 C14N_OBJ= 29027 TEST_C14N= 29028 else 29029 WITH_C14N=1 29030 C14N_OBJ="c14n.c" 29031 TEST_C14N=C14Ntests 29032 if test "$with_xpath" = "no" ; then 29033 echo C14N requires XPath support - enabling it 29034 with_xpath=yes 29035 fi 29036 fi 29037 29038 29039 29040 29041 if test "$with_xinclude" = "no" ; then 29042 echo Disabling XInclude support 29043 WITH_XINCLUDE=0 29044 XINCLUDE_OBJ= 29045 with_xinclude="no" 29046 TEST_XINCLUDE= 29047 else 29048 WITH_XINCLUDE=1 29049 XINCLUDE_OBJ=xinclude.o 29050 TEST_XINCLUDE=XIncludetests 29051 if test "$with_xpath" = "no" ; then 29052 echo XInclude requires XPath support - enabling it 29053 with_xpath=yes 29054 fi 29055 fi 29056 29057 29058 29059 29060 if test "$with_xpath" = "no" ; then 29061 echo Disabling XPATH support 29062 WITH_XPATH=0 29063 XPATH_OBJ= 29064 TEST_XPATH= 29065 else 29066 WITH_XPATH=1 29067 XPATH_OBJ=xpath.o 29068 TEST_XPATH=XPathtests 29069 fi 29070 29071 29072 29073 29074 if test "$with_output" = "no" ; then 29075 echo Disabling serialization/saving support 29076 WITH_OUTPUT=0 29077 else 29078 WITH_OUTPUT=1 29079 fi 29080 29081 29082 WITH_ICONV=0 29083 if test "$with_iconv" = "no" ; then 29084 echo Disabling ICONV support 29085 else 29086 if test "$with_iconv" != "yes" -a "$with_iconv" != "" ; then 29087 CPPFLAGS="${CPPFLAGS} -I$with_iconv/include" 29088 # Export this since our headers include iconv.h 29089 XML_INCLUDEDIR="${XML_INCLUDEDIR} -I$with_iconv/include" 29090 ICONV_LIBS="-L$with_iconv/lib" 29091 fi 29092 29093 if test "${ac_cv_header_iconv_h+set}" = set; then 29094 { echo "$as_me:$LINENO: checking for iconv.h" >&5 29095 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6; } 29096 if test "${ac_cv_header_iconv_h+set}" = set; then 29097 echo $ECHO_N "(cached) $ECHO_C" >&6 29098 fi 29099 { echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5 29100 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6; } 29101 else 29102 # Is the header compilable? 29103 { echo "$as_me:$LINENO: checking iconv.h usability" >&5 29104 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6; } 29105 cat >conftest.$ac_ext <<_ACEOF 29106 /* confdefs.h. */ 29107 _ACEOF 29108 cat confdefs.h >>conftest.$ac_ext 29109 cat >>conftest.$ac_ext <<_ACEOF 29110 /* end confdefs.h. */ 29111 $ac_includes_default 29112 #include <iconv.h> 29113 _ACEOF 29114 rm -f conftest.$ac_objext 29115 if { (ac_try="$ac_compile" 29116 case "(($ac_try" in 29117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29118 *) ac_try_echo=$ac_try;; 29119 esac 29120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 29121 (eval "$ac_compile") 2>conftest.er1 29122 ac_status=$? 29123 grep -v '^ *+' conftest.er1 >conftest.err 29124 rm -f conftest.er1 29125 cat conftest.err >&5 29126 echo "$as_me:$LINENO: \$? = $ac_status" >&5 29127 (exit $ac_status); } && { 29128 test -z "$ac_c_werror_flag" || 29129 test ! -s conftest.err 29130 } && test -s conftest.$ac_objext; then 29131 ac_header_compiler=yes 29132 else 29133 echo "$as_me: failed program was:" >&5 29134 sed 's/^/| /' conftest.$ac_ext >&5 29135 29136 ac_header_compiler=no 29137 fi 29138 29139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 29140 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 29141 echo "${ECHO_T}$ac_header_compiler" >&6; } 29142 29143 # Is the header present? 29144 { echo "$as_me:$LINENO: checking iconv.h presence" >&5 29145 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6; } 29146 cat >conftest.$ac_ext <<_ACEOF 29147 /* confdefs.h. */ 29148 _ACEOF 29149 cat confdefs.h >>conftest.$ac_ext 29150 cat >>conftest.$ac_ext <<_ACEOF 29151 /* end confdefs.h. */ 29152 #include <iconv.h> 29153 _ACEOF 29154 if { (ac_try="$ac_cpp conftest.$ac_ext" 29155 case "(($ac_try" in 29156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29157 *) ac_try_echo=$ac_try;; 29158 esac 29159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 29160 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 29161 ac_status=$? 29162 grep -v '^ *+' conftest.er1 >conftest.err 29163 rm -f conftest.er1 29164 cat conftest.err >&5 29165 echo "$as_me:$LINENO: \$? = $ac_status" >&5 29166 (exit $ac_status); } >/dev/null && { 29167 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 29168 test ! -s conftest.err 29169 }; then 29170 ac_header_preproc=yes 29171 else 29172 echo "$as_me: failed program was:" >&5 29173 sed 's/^/| /' conftest.$ac_ext >&5 29174 29175 ac_header_preproc=no 29176 fi 29177 29178 rm -f conftest.err conftest.$ac_ext 29179 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 29180 echo "${ECHO_T}$ac_header_preproc" >&6; } 29181 29182 # So? What about this header? 29183 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 29184 yes:no: ) 29185 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5 29186 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 29187 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5 29188 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;} 29189 ac_header_preproc=yes 29190 ;; 29191 no:yes:* ) 29192 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5 29193 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;} 29194 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5 29195 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;} 29196 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5 29197 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;} 29198 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5 29199 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;} 29200 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5 29201 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;} 29202 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5 29203 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;} 29204 29205 ;; 29206 esac 29207 { echo "$as_me:$LINENO: checking for iconv.h" >&5 29208 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6; } 29209 if test "${ac_cv_header_iconv_h+set}" = set; then 29210 echo $ECHO_N "(cached) $ECHO_C" >&6 29211 else 29212 ac_cv_header_iconv_h=$ac_header_preproc 29213 fi 29214 { echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5 29215 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6; } 29216 29217 fi 29218 if test $ac_cv_header_iconv_h = yes; then 29219 { echo "$as_me:$LINENO: checking for iconv" >&5 29220 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; } 29221 cat >conftest.$ac_ext <<_ACEOF 29222 /* confdefs.h. */ 29223 _ACEOF 29224 cat confdefs.h >>conftest.$ac_ext 29225 cat >>conftest.$ac_ext <<_ACEOF 29226 /* end confdefs.h. */ 29227 #include <stdlib.h> 29228 #include <iconv.h> 29229 int 29230 main () 29231 { 29232 29233 iconv_t cd = iconv_open ("",""); 29234 iconv (cd, NULL, NULL, NULL, NULL); 29235 ; 29236 return 0; 29237 } 29238 _ACEOF 29239 rm -f conftest.$ac_objext conftest$ac_exeext 29240 if { (ac_try="$ac_link" 29241 case "(($ac_try" in 29242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29243 *) ac_try_echo=$ac_try;; 29244 esac 29245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 29246 (eval "$ac_link") 2>conftest.er1 29247 ac_status=$? 29248 grep -v '^ *+' conftest.er1 >conftest.err 29249 rm -f conftest.er1 29250 cat conftest.err >&5 29251 echo "$as_me:$LINENO: \$? = $ac_status" >&5 29252 (exit $ac_status); } && { 29253 test -z "$ac_c_werror_flag" || 29254 test ! -s conftest.err 29255 } && test -s conftest$ac_exeext && 29256 $as_test_x conftest$ac_exeext; then 29257 29258 { echo "$as_me:$LINENO: result: yes" >&5 29259 echo "${ECHO_T}yes" >&6; } 29260 WITH_ICONV=1 29261 else 29262 echo "$as_me: failed program was:" >&5 29263 sed 's/^/| /' conftest.$ac_ext >&5 29264 29265 29266 { echo "$as_me:$LINENO: result: no" >&5 29267 echo "${ECHO_T}no" >&6; } 29268 { echo "$as_me:$LINENO: checking for iconv in -liconv" >&5 29269 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6; } 29270 29271 _ldflags="${LDFLAGS}" 29272 _libs="${LIBS}" 29273 LDFLAGS="${LDFLAGS} ${ICONV_LIBS}" 29274 LIBS="${LIBS} -liconv" 29275 29276 cat >conftest.$ac_ext <<_ACEOF 29277 /* confdefs.h. */ 29278 _ACEOF 29279 cat confdefs.h >>conftest.$ac_ext 29280 cat >>conftest.$ac_ext <<_ACEOF 29281 /* end confdefs.h. */ 29282 #include <stdlib.h> 29283 #include <iconv.h> 29284 int 29285 main () 29286 { 29287 29288 iconv_t cd = iconv_open ("",""); 29289 iconv (cd, NULL, NULL, NULL, NULL); 29290 ; 29291 return 0; 29292 } 29293 _ACEOF 29294 rm -f conftest.$ac_objext conftest$ac_exeext 29295 if { (ac_try="$ac_link" 29296 case "(($ac_try" in 29297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29298 *) ac_try_echo=$ac_try;; 29299 esac 29300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 29301 (eval "$ac_link") 2>conftest.er1 29302 ac_status=$? 29303 grep -v '^ *+' conftest.er1 >conftest.err 29304 rm -f conftest.er1 29305 cat conftest.err >&5 29306 echo "$as_me:$LINENO: \$? = $ac_status" >&5 29307 (exit $ac_status); } && { 29308 test -z "$ac_c_werror_flag" || 29309 test ! -s conftest.err 29310 } && test -s conftest$ac_exeext && 29311 $as_test_x conftest$ac_exeext; then 29312 29313 { echo "$as_me:$LINENO: result: yes" >&5 29314 echo "${ECHO_T}yes" >&6; } 29315 WITH_ICONV=1 29316 ICONV_LIBS="${ICONV_LIBS} -liconv" 29317 LIBS="${_libs}" 29318 LDFLAGS="${_ldflags}" 29319 else 29320 echo "$as_me: failed program was:" >&5 29321 sed 's/^/| /' conftest.$ac_ext >&5 29322 29323 29324 { echo "$as_me:$LINENO: result: no" >&5 29325 echo "${ECHO_T}no" >&6; } 29326 LIBS="${_libs}" 29327 LDFLAGS="${_ldflags}" 29328 fi 29329 29330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 29331 conftest$ac_exeext conftest.$ac_ext 29332 fi 29333 29334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 29335 conftest$ac_exeext conftest.$ac_ext 29336 fi 29337 29338 29339 29340 if test "$WITH_ICONV" = "1" ; then 29341 { echo "$as_me:$LINENO: checking for iconv declaration" >&5 29342 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6; } 29343 if test "${xml_cv_iconv_arg2+set}" = set; then 29344 echo $ECHO_N "(cached) $ECHO_C" >&6 29345 else 29346 29347 cat >conftest.$ac_ext <<_ACEOF 29348 /* confdefs.h. */ 29349 _ACEOF 29350 cat confdefs.h >>conftest.$ac_ext 29351 cat >>conftest.$ac_ext <<_ACEOF 29352 /* end confdefs.h. */ 29353 #include <stdlib.h> 29354 #include <iconv.h> 29355 extern 29356 #ifdef __cplusplus 29357 "C" 29358 #endif 29359 #if defined(__STDC__) || defined(__cplusplus) 29360 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); 29361 #else 29362 size_t iconv(); 29363 #endif 29364 29365 int 29366 main () 29367 { 29368 29369 ; 29370 return 0; 29371 } 29372 _ACEOF 29373 rm -f conftest.$ac_objext 29374 if { (ac_try="$ac_compile" 29375 case "(($ac_try" in 29376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29377 *) ac_try_echo=$ac_try;; 29378 esac 29379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 29380 (eval "$ac_compile") 2>conftest.er1 29381 ac_status=$? 29382 grep -v '^ *+' conftest.er1 >conftest.err 29383 rm -f conftest.er1 29384 cat conftest.err >&5 29385 echo "$as_me:$LINENO: \$? = $ac_status" >&5 29386 (exit $ac_status); } && { 29387 test -z "$ac_c_werror_flag" || 29388 test ! -s conftest.err 29389 } && test -s conftest.$ac_objext; then 29390 xml_cv_iconv_arg2="" 29391 else 29392 echo "$as_me: failed program was:" >&5 29393 sed 's/^/| /' conftest.$ac_ext >&5 29394 29395 xml_cv_iconv_arg2="const" 29396 fi 29397 29398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 29399 fi 29400 29401 29402 xml_cv_iconv_decl="extern size_t iconv (iconv_t cd, $xml_cv_iconv_arg2 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" 29403 { echo "$as_me:$LINENO: result: ${xml_xxx:- 29404 }$xml_cv_iconv_decl" >&5 29405 echo "${ECHO_T}${xml_xxx:- 29406 }$xml_cv_iconv_decl" >&6; } 29407 29408 cat >>confdefs.h <<_ACEOF 29409 #define ICONV_CONST $xml_cv_iconv_arg2 29410 _ACEOF 29411 29412 fi 29413 fi 29414 case "$host" in 29415 *mingw*) M_LIBS="" 29416 ;; 29417 *beos*) M_LIBS="" 29418 ;; 29419 *) M_LIBS="-lm" 29420 ;; 29421 esac 29422 XML_LIBS="-lxml2 $Z_LIBS $THREAD_LIBS $ICONV_LIBS $M_LIBS $LIBS" 29423 XML_LIBTOOLLIBS="libxml2.la" 29424 29425 29426 WITH_ISO8859X=1 29427 if test "$WITH_ICONV" != "1" ; then 29428 if test "$with_iso8859x" = "no" ; then 29429 echo Disabling ISO8859X support 29430 WITH_ISO8859X=0 29431 fi 29432 fi 29433 29434 29435 if test "$with_schematron" = "no" ; then 29436 echo "Disabling Schematron support" 29437 WITH_SCHEMATRON=0 29438 TEST_SCHEMATRON= 29439 else 29440 echo "Enabled Schematron support" 29441 WITH_SCHEMATRON=1 29442 TEST_SCHEMATRON="Schematrontests" 29443 with_xpath=yes 29444 with_pattern=yes 29445 fi 29446 29447 29448 29449 if test "$with_schemas" = "no" ; then 29450 echo "Disabling Schemas/Relax-NG support" 29451 WITH_SCHEMAS=0 29452 TEST_SCHEMAS= 29453 else 29454 echo "Enabled Schemas/Relax-NG support" 29455 WITH_SCHEMAS=1 29456 TEST_SCHEMAS="Schemastests Relaxtests" 29457 if test "$PYTHON_INCLUDES" != "" ; then 29458 PYTHON_TESTS="$PYTHON_TESTS RelaxNGPythonTests SchemasPythonTests" 29459 fi 29460 with_regexps=yes 29461 fi 29462 29463 29464 29465 if test "$with_regexps" = "no" ; then 29466 echo Disabling Regexps support 29467 WITH_REGEXPS=0 29468 TEST_REGEXPS= 29469 else 29470 WITH_REGEXPS=1 29471 TEST_REGEXPS="Regexptests Automatatests" 29472 fi 29473 29474 29475 29476 if test "$with_debug" = "no" ; then 29477 echo Disabling DEBUG support 29478 WITH_DEBUG=0 29479 DEBUG_OBJ= 29480 TEST_DEBUG= 29481 else 29482 WITH_DEBUG=1 29483 DEBUG_OBJ=debugXML.o 29484 TEST_DEBUG=Scripttests 29485 fi 29486 29487 29488 29489 29490 if test "$with_mem_debug" = "yes" ; then 29491 if test "$with_thread_alloc" = "yes" ; then 29492 echo Disabling memory debug - cannot use mem-debug with thread-alloc! 29493 WITH_MEM_DEBUG=0 29494 else 29495 echo Enabling memory debug support 29496 WITH_MEM_DEBUG=1 29497 fi 29498 else 29499 WITH_MEM_DEBUG=0 29500 fi 29501 29502 29503 if test "$with_run_debug" = "yes" ; then 29504 echo Enabling runtime debug support 29505 WITH_RUN_DEBUG=1 29506 else 29507 WITH_RUN_DEBUG=0 29508 fi 29509 29510 29511 WIN32_EXTRA_LIBADD= 29512 WIN32_EXTRA_LDFLAGS= 29513 CYGWIN_EXTRA_LDFLAGS= 29514 CYGWIN_EXTRA_PYTHON_LIBADD= 29515 case "$host" in 29516 *-*-mingw*) 29517 CPPFLAGS="$CPPFLAGS -DWIN32" 29518 WIN32_EXTRA_LIBADD="-lws2_32" 29519 WIN32_EXTRA_LDFLAGS="-no-undefined" 29520 29521 cat >>confdefs.h <<\_ACEOF 29522 #define _WINSOCKAPI_ 1 29523 _ACEOF 29524 29525 29526 cat >>confdefs.h <<\_ACEOF 29527 #define snprintf _snprintf 29528 _ACEOF 29529 29530 29531 cat >>confdefs.h <<\_ACEOF 29532 #define vsnprintf _vsnprintf 29533 _ACEOF 29534 29535 ;; 29536 *-*-cygwin*) 29537 CYGWIN_EXTRA_LDFLAGS="-no-undefined" 29538 if test "${PYTHON}" != "" 29539 then 29540 CYGWIN_EXTRA_PYTHON_LIBADD="-L/usr/lib/python${PYTHON_VERSION}/config -lpython${PYTHON_VERSION}" 29541 fi 29542 ;; 29543 esac 29544 29545 29546 29547 29548 29549 if test "$with_coverage" = "yes" -a "${GCC}" = "yes" 29550 then 29551 echo Enabling code coverage for GCC 29552 CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage" 29553 LDFLAGS="$LDFLAGS -fprofile-arcs -ftest-coverage" 29554 else 29555 echo Disabling code coverage for GCC 29556 fi 29557 29558 29559 29560 29561 29562 29563 29564 29565 29566 29567 29568 29569 29570 29571 29572 29573 29574 29575 29576 29577 29578 29579 RELDATE=`date +'%a %b %e %Y'` 29580 29581 29582 29583 rm -f COPYING.LIB COPYING 29584 ln -s Copyright COPYING 29585 29586 # keep on one line for cygwin c.f. #130896 29587 ac_config_files="$ac_config_files libxml2.spec:libxml.spec.in Makefile include/Makefile include/libxml/Makefile doc/Makefile doc/examples/Makefile doc/devhelp/Makefile example/Makefile python/Makefile python/tests/Makefile xstc/Makefile include/libxml/xmlversion.h xml2-config libxml-2.0.pc libxml-2.0-uninstalled.pc python/setup.py" 29588 29589 cat >confcache <<\_ACEOF 29590 # This file is a shell script that caches the results of configure 29591 # tests run on this system so they can be shared between configure 29592 # scripts and configure runs, see configure's option --config-cache. 29593 # It is not useful on other systems. If it contains results you don't 29594 # want to keep, you may remove or edit it. 29595 # 29596 # config.status only pays attention to the cache file if you give it 29597 # the --recheck option to rerun configure. 29598 # 29599 # `ac_cv_env_foo' variables (set or unset) will be overridden when 29600 # loading this file, other *unset* `ac_cv_foo' will be assigned the 29601 # following values. 29602 29603 _ACEOF 29604 29605 # The following way of writing the cache mishandles newlines in values, 29606 # but we know of no workaround that is simple, portable, and efficient. 29607 # So, we kill variables containing newlines. 29608 # Ultrix sh set writes to stderr and can't be redirected directly, 29609 # and sets the high bit in the cache file unless we assign to the vars. 29610 ( 29611 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 29612 eval ac_val=\$$ac_var 29613 case $ac_val in #( 29614 *${as_nl}*) 29615 case $ac_var in #( 29616 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 29617 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 29618 esac 29619 case $ac_var in #( 29620 _ | IFS | as_nl) ;; #( 29621 *) $as_unset $ac_var ;; 29622 esac ;; 29623 esac 29624 done 29625 29626 (set) 2>&1 | 29627 case $as_nl`(ac_space=' '; set) 2>&1` in #( 29628 *${as_nl}ac_space=\ *) 29629 # `set' does not quote correctly, so add quotes (double-quote 29630 # substitution turns \\\\ into \\, and sed turns \\ into \). 29631 sed -n \ 29632 "s/'/'\\\\''/g; 29633 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 29634 ;; #( 29635 *) 29636 # `set' quotes correctly as required by POSIX, so do not add quotes. 29637 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 29638 ;; 29639 esac | 29640 sort 29641 ) | 29642 sed ' 29643 /^ac_cv_env_/b end 29644 t clear 29645 :clear 29646 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 29647 t end 29648 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 29649 :end' >>confcache 29650 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 29651 if test -w "$cache_file"; then 29652 test "x$cache_file" != "x/dev/null" && 29653 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 29654 echo "$as_me: updating cache $cache_file" >&6;} 29655 cat confcache >$cache_file 29656 else 29657 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 29658 echo "$as_me: not updating unwritable cache $cache_file" >&6;} 29659 fi 29660 fi 29661 rm -f confcache 29662 29663 test "x$prefix" = xNONE && prefix=$ac_default_prefix 29664 # Let make expand exec_prefix. 29665 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 29666 29667 DEFS=-DHAVE_CONFIG_H 29668 29669 ac_libobjs= 29670 ac_ltlibobjs= 29671 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 29672 # 1. Remove the extension, and $U if already installed. 29673 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 29674 ac_i=`echo "$ac_i" | sed "$ac_script"` 29675 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 29676 # will be set to the directory where LIBOBJS objects are built. 29677 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 29678 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 29679 done 29680 LIBOBJS=$ac_libobjs 29681 29682 LTLIBOBJS=$ac_ltlibobjs 29683 29684 29685 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 29686 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 29687 Usually this means the macro was only invoked conditionally." >&5 29688 echo "$as_me: error: conditional \"AMDEP\" was never defined. 29689 Usually this means the macro was only invoked conditionally." >&2;} 29690 { (exit 1); exit 1; }; } 29691 fi 29692 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 29693 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 29694 Usually this means the macro was only invoked conditionally." >&5 29695 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 29696 Usually this means the macro was only invoked conditionally." >&2;} 29697 { (exit 1); exit 1; }; } 29698 fi 29699 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 29700 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. 29701 Usually this means the macro was only invoked conditionally." >&5 29702 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. 29703 Usually this means the macro was only invoked conditionally." >&2;} 29704 { (exit 1); exit 1; }; } 29705 fi 29706 if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then 29707 { { echo "$as_me:$LINENO: error: conditional \"WITH_PYTHON\" was never defined. 29708 Usually this means the macro was only invoked conditionally." >&5 29709 echo "$as_me: error: conditional \"WITH_PYTHON\" was never defined. 29710 Usually this means the macro was only invoked conditionally." >&2;} 29711 { (exit 1); exit 1; }; } 29712 fi 29713 if test -z "${WITH_TRIO_SOURCES_TRUE}" && test -z "${WITH_TRIO_SOURCES_FALSE}"; then 29714 { { echo "$as_me:$LINENO: error: conditional \"WITH_TRIO_SOURCES\" was never defined. 29715 Usually this means the macro was only invoked conditionally." >&5 29716 echo "$as_me: error: conditional \"WITH_TRIO_SOURCES\" was never defined. 29717 Usually this means the macro was only invoked conditionally." >&2;} 29718 { (exit 1); exit 1; }; } 29719 fi 29720 29721 : ${CONFIG_STATUS=./config.status} 29722 ac_clean_files_save=$ac_clean_files 29723 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 29724 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 29725 echo "$as_me: creating $CONFIG_STATUS" >&6;} 29726 cat >$CONFIG_STATUS <<_ACEOF 29727 #! $SHELL 29728 # Generated by $as_me. 29729 # Run this file to recreate the current configuration. 29730 # Compiler output produced by configure, useful for debugging 29731 # configure, is in config.log if it exists. 29732 29733 debug=false 29734 ac_cs_recheck=false 29735 ac_cs_silent=false 29736 SHELL=\${CONFIG_SHELL-$SHELL} 29737 _ACEOF 29738 29739 cat >>$CONFIG_STATUS <<\_ACEOF 29740 ## --------------------- ## 29741 ## M4sh Initialization. ## 29742 ## --------------------- ## 29743 29744 # Be more Bourne compatible 29745 DUALCASE=1; export DUALCASE # for MKS sh 29746 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 29747 emulate sh 29748 NULLCMD=: 29749 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 29750 # is contrary to our usage. Disable this feature. 29751 alias -g '${1+"$@"}'='"$@"' 29752 setopt NO_GLOB_SUBST 29753 else 29754 case `(set -o) 2>/dev/null` in 29755 *posix*) set -o posix ;; 29756 esac 29757 29758 fi 29759 29760 29761 29762 29763 # PATH needs CR 29764 # Avoid depending upon Character Ranges. 29765 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 29766 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 29767 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 29768 as_cr_digits='0123456789' 29769 as_cr_alnum=$as_cr_Letters$as_cr_digits 29770 29771 # The user is always right. 29772 if test "${PATH_SEPARATOR+set}" != set; then 29773 echo "#! /bin/sh" >conf$$.sh 29774 echo "exit 0" >>conf$$.sh 29775 chmod +x conf$$.sh 29776 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 29777 PATH_SEPARATOR=';' 29778 else 29779 PATH_SEPARATOR=: 29780 fi 29781 rm -f conf$$.sh 29782 fi 29783 29784 # Support unset when possible. 29785 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 29786 as_unset=unset 29787 else 29788 as_unset=false 29789 fi 29790 29791 29792 # IFS 29793 # We need space, tab and new line, in precisely that order. Quoting is 29794 # there to prevent editors from complaining about space-tab. 29795 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 29796 # splitting by setting IFS to empty value.) 29797 as_nl=' 29798 ' 29799 IFS=" "" $as_nl" 29800 29801 # Find who we are. Look in the path if we contain no directory separator. 29802 case $0 in 29803 *[\\/]* ) as_myself=$0 ;; 29804 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 29805 for as_dir in $PATH 29806 do 29807 IFS=$as_save_IFS 29808 test -z "$as_dir" && as_dir=. 29809 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 29810 done 29811 IFS=$as_save_IFS 29812 29813 ;; 29814 esac 29815 # We did not find ourselves, most probably we were run as `sh COMMAND' 29816 # in which case we are not to be found in the path. 29817 if test "x$as_myself" = x; then 29818 as_myself=$0 29819 fi 29820 if test ! -f "$as_myself"; then 29821 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 29822 { (exit 1); exit 1; } 29823 fi 29824 29825 # Work around bugs in pre-3.0 UWIN ksh. 29826 for as_var in ENV MAIL MAILPATH 29827 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 29828 done 29829 PS1='$ ' 29830 PS2='> ' 29831 PS4='+ ' 29832 29833 # NLS nuisances. 29834 for as_var in \ 29835 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 29836 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 29837 LC_TELEPHONE LC_TIME 29838 do 29839 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 29840 eval $as_var=C; export $as_var 29841 else 29842 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 29843 fi 29844 done 29845 29846 # Required to use basename. 29847 if expr a : '\(a\)' >/dev/null 2>&1 && 29848 test "X`expr 00001 : '.*\(...\)'`" = X001; then 29849 as_expr=expr 29850 else 29851 as_expr=false 29852 fi 29853 29854 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 29855 as_basename=basename 29856 else 29857 as_basename=false 29858 fi 29859 29860 29861 # Name of the executable. 29862 as_me=`$as_basename -- "$0" || 29863 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 29864 X"$0" : 'X\(//\)$' \| \ 29865 X"$0" : 'X\(/\)' \| . 2>/dev/null || 29866 echo X/"$0" | 29867 sed '/^.*\/\([^/][^/]*\)\/*$/{ 29868 s//\1/ 29869 q 29870 } 29871 /^X\/\(\/\/\)$/{ 29872 s//\1/ 29873 q 29874 } 29875 /^X\/\(\/\).*/{ 29876 s//\1/ 29877 q 29878 } 29879 s/.*/./; q'` 29880 29881 # CDPATH. 29882 $as_unset CDPATH 29883 29884 29885 29886 as_lineno_1=$LINENO 29887 as_lineno_2=$LINENO 29888 test "x$as_lineno_1" != "x$as_lineno_2" && 29889 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 29890 29891 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 29892 # uniformly replaced by the line number. The first 'sed' inserts a 29893 # line-number line after each line using $LINENO; the second 'sed' 29894 # does the real work. The second script uses 'N' to pair each 29895 # line-number line with the line containing $LINENO, and appends 29896 # trailing '-' during substitution so that $LINENO is not a special 29897 # case at line end. 29898 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 29899 # scripts with optimization help from Paolo Bonzini. Blame Lee 29900 # E. McMahon (1931-1989) for sed's syntax. :-) 29901 sed -n ' 29902 p 29903 /[$]LINENO/= 29904 ' <$as_myself | 29905 sed ' 29906 s/[$]LINENO.*/&-/ 29907 t lineno 29908 b 29909 :lineno 29910 N 29911 :loop 29912 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 29913 t loop 29914 s/-\n.*// 29915 ' >$as_me.lineno && 29916 chmod +x "$as_me.lineno" || 29917 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 29918 { (exit 1); exit 1; }; } 29919 29920 # Don't try to exec as it changes $[0], causing all sort of problems 29921 # (the dirname of $[0] is not the place where we might find the 29922 # original and so on. Autoconf is especially sensitive to this). 29923 . "./$as_me.lineno" 29924 # Exit status is that of the last command. 29925 exit 29926 } 29927 29928 29929 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 29930 as_dirname=dirname 29931 else 29932 as_dirname=false 29933 fi 29934 29935 ECHO_C= ECHO_N= ECHO_T= 29936 case `echo -n x` in 29937 -n*) 29938 case `echo 'x\c'` in 29939 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 29940 *) ECHO_C='\c';; 29941 esac;; 29942 *) 29943 ECHO_N='-n';; 29944 esac 29945 29946 if expr a : '\(a\)' >/dev/null 2>&1 && 29947 test "X`expr 00001 : '.*\(...\)'`" = X001; then 29948 as_expr=expr 29949 else 29950 as_expr=false 29951 fi 29952 29953 rm -f conf$$ conf$$.exe conf$$.file 29954 if test -d conf$$.dir; then 29955 rm -f conf$$.dir/conf$$.file 29956 else 29957 rm -f conf$$.dir 29958 mkdir conf$$.dir 29959 fi 29960 echo >conf$$.file 29961 if ln -s conf$$.file conf$$ 2>/dev/null; then 29962 as_ln_s='ln -s' 29963 # ... but there are two gotchas: 29964 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 29965 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 29966 # In both cases, we have to default to `cp -p'. 29967 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 29968 as_ln_s='cp -p' 29969 elif ln conf$$.file conf$$ 2>/dev/null; then 29970 as_ln_s=ln 29971 else 29972 as_ln_s='cp -p' 29973 fi 29974 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 29975 rmdir conf$$.dir 2>/dev/null 29976 29977 if mkdir -p . 2>/dev/null; then 29978 as_mkdir_p=: 29979 else 29980 test -d ./-p && rmdir ./-p 29981 as_mkdir_p=false 29982 fi 29983 29984 if test -x / >/dev/null 2>&1; then 29985 as_test_x='test -x' 29986 else 29987 if ls -dL / >/dev/null 2>&1; then 29988 as_ls_L_option=L 29989 else 29990 as_ls_L_option= 29991 fi 29992 as_test_x=' 29993 eval sh -c '\'' 29994 if test -d "$1"; then 29995 test -d "$1/."; 29996 else 29997 case $1 in 29998 -*)set "./$1";; 29999 esac; 30000 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 30001 ???[sx]*):;;*)false;;esac;fi 30002 '\'' sh 30003 ' 30004 fi 30005 as_executable_p=$as_test_x 30006 30007 # Sed expression to map a string onto a valid CPP name. 30008 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 30009 30010 # Sed expression to map a string onto a valid variable name. 30011 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 30012 30013 30014 exec 6>&1 30015 30016 # Save the log message, to keep $[0] and so on meaningful, and to 30017 # report actual input values of CONFIG_FILES etc. instead of their 30018 # values after options handling. 30019 ac_log=" 30020 This file was extended by $as_me, which was 30021 generated by GNU Autoconf 2.61. Invocation command line was 30022 30023 CONFIG_FILES = $CONFIG_FILES 30024 CONFIG_HEADERS = $CONFIG_HEADERS 30025 CONFIG_LINKS = $CONFIG_LINKS 30026 CONFIG_COMMANDS = $CONFIG_COMMANDS 30027 $ $0 $@ 30028 30029 on `(hostname || uname -n) 2>/dev/null | sed 1q` 30030 " 30031 30032 _ACEOF 30033 30034 cat >>$CONFIG_STATUS <<_ACEOF 30035 # Files that config.status was made for. 30036 config_files="$ac_config_files" 30037 config_headers="$ac_config_headers" 30038 config_commands="$ac_config_commands" 30039 30040 _ACEOF 30041 30042 cat >>$CONFIG_STATUS <<\_ACEOF 30043 ac_cs_usage="\ 30044 \`$as_me' instantiates files from templates according to the 30045 current configuration. 30046 30047 Usage: $0 [OPTIONS] [FILE]... 30048 30049 -h, --help print this help, then exit 30050 -V, --version print version number and configuration settings, then exit 30051 -q, --quiet do not print progress messages 30052 -d, --debug don't remove temporary files 30053 --recheck update $as_me by reconfiguring in the same conditions 30054 --file=FILE[:TEMPLATE] 30055 instantiate the configuration file FILE 30056 --header=FILE[:TEMPLATE] 30057 instantiate the configuration header FILE 30058 30059 Configuration files: 30060 $config_files 30061 30062 Configuration headers: 30063 $config_headers 30064 30065 Configuration commands: 30066 $config_commands 30067 30068 Report bugs to <bug-autoconf@gnu.org>." 30069 30070 _ACEOF 30071 cat >>$CONFIG_STATUS <<_ACEOF 30072 ac_cs_version="\\ 30073 config.status 30074 configured by $0, generated by GNU Autoconf 2.61, 30075 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 30076 30077 Copyright (C) 2006 Free Software Foundation, Inc. 30078 This config.status script is free software; the Free Software Foundation 30079 gives unlimited permission to copy, distribute and modify it." 30080 30081 ac_pwd='$ac_pwd' 30082 srcdir='$srcdir' 30083 INSTALL='$INSTALL' 30084 MKDIR_P='$MKDIR_P' 30085 _ACEOF 30086 30087 cat >>$CONFIG_STATUS <<\_ACEOF 30088 # If no file are specified by the user, then we need to provide default 30089 # value. By we need to know if files were specified by the user. 30090 ac_need_defaults=: 30091 while test $# != 0 30092 do 30093 case $1 in 30094 --*=*) 30095 ac_option=`expr "X$1" : 'X\([^=]*\)='` 30096 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 30097 ac_shift=: 30098 ;; 30099 *) 30100 ac_option=$1 30101 ac_optarg=$2 30102 ac_shift=shift 30103 ;; 30104 esac 30105 30106 case $ac_option in 30107 # Handling of the options. 30108 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 30109 ac_cs_recheck=: ;; 30110 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 30111 echo "$ac_cs_version"; exit ;; 30112 --debug | --debu | --deb | --de | --d | -d ) 30113 debug=: ;; 30114 --file | --fil | --fi | --f ) 30115 $ac_shift 30116 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 30117 ac_need_defaults=false;; 30118 --header | --heade | --head | --hea ) 30119 $ac_shift 30120 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 30121 ac_need_defaults=false;; 30122 --he | --h) 30123 # Conflict between --help and --header 30124 { echo "$as_me: error: ambiguous option: $1 30125 Try \`$0 --help' for more information." >&2 30126 { (exit 1); exit 1; }; };; 30127 --help | --hel | -h ) 30128 echo "$ac_cs_usage"; exit ;; 30129 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 30130 | -silent | --silent | --silen | --sile | --sil | --si | --s) 30131 ac_cs_silent=: ;; 30132 30133 # This is an error. 30134 -*) { echo "$as_me: error: unrecognized option: $1 30135 Try \`$0 --help' for more information." >&2 30136 { (exit 1); exit 1; }; } ;; 30137 30138 *) ac_config_targets="$ac_config_targets $1" 30139 ac_need_defaults=false ;; 30140 30141 esac 30142 shift 30143 done 30144 30145 ac_configure_extra_args= 30146 30147 if $ac_cs_silent; then 30148 exec 6>/dev/null 30149 ac_configure_extra_args="$ac_configure_extra_args --silent" 30150 fi 30151 30152 _ACEOF 30153 cat >>$CONFIG_STATUS <<_ACEOF 30154 if \$ac_cs_recheck; then 30155 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 30156 CONFIG_SHELL=$SHELL 30157 export CONFIG_SHELL 30158 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 30159 fi 30160 30161 _ACEOF 30162 cat >>$CONFIG_STATUS <<\_ACEOF 30163 exec 5>>config.log 30164 { 30165 echo 30166 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 30167 ## Running $as_me. ## 30168 _ASBOX 30169 echo "$ac_log" 30170 } >&5 30171 30172 _ACEOF 30173 cat >>$CONFIG_STATUS <<_ACEOF 30174 # 30175 # INIT-COMMANDS 30176 # 30177 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 30178 30179 _ACEOF 30180 30181 cat >>$CONFIG_STATUS <<\_ACEOF 30182 30183 # Handling of arguments. 30184 for ac_config_target in $ac_config_targets 30185 do 30186 case $ac_config_target in 30187 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 30188 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 30189 "libxml2.spec") CONFIG_FILES="$CONFIG_FILES libxml2.spec:libxml.spec.in" ;; 30190 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 30191 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; 30192 "include/libxml/Makefile") CONFIG_FILES="$CONFIG_FILES include/libxml/Makefile" ;; 30193 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 30194 "doc/examples/Makefile") CONFIG_FILES="$CONFIG_FILES doc/examples/Makefile" ;; 30195 "doc/devhelp/Makefile") CONFIG_FILES="$CONFIG_FILES doc/devhelp/Makefile" ;; 30196 "example/Makefile") CONFIG_FILES="$CONFIG_FILES example/Makefile" ;; 30197 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;; 30198 "python/tests/Makefile") CONFIG_FILES="$CONFIG_FILES python/tests/Makefile" ;; 30199 "xstc/Makefile") CONFIG_FILES="$CONFIG_FILES xstc/Makefile" ;; 30200 "include/libxml/xmlversion.h") CONFIG_FILES="$CONFIG_FILES include/libxml/xmlversion.h" ;; 30201 "xml2-config") CONFIG_FILES="$CONFIG_FILES xml2-config" ;; 30202 "libxml-2.0.pc") CONFIG_FILES="$CONFIG_FILES libxml-2.0.pc" ;; 30203 "libxml-2.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES libxml-2.0-uninstalled.pc" ;; 30204 "python/setup.py") CONFIG_FILES="$CONFIG_FILES python/setup.py" ;; 30205 30206 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 30207 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 30208 { (exit 1); exit 1; }; };; 30209 esac 30210 done 30211 30212 30213 # If the user did not use the arguments to specify the items to instantiate, 30214 # then the envvar interface is used. Set only those that are not. 30215 # We use the long form for the default assignment because of an extremely 30216 # bizarre bug on SunOS 4.1.3. 30217 if $ac_need_defaults; then 30218 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 30219 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 30220 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 30221 fi 30222 30223 # Have a temporary directory for convenience. Make it in the build tree 30224 # simply because there is no reason against having it here, and in addition, 30225 # creating and moving files from /tmp can sometimes cause problems. 30226 # Hook for its removal unless debugging. 30227 # Note that there is a small window in which the directory will not be cleaned: 30228 # after its creation but before its name has been assigned to `$tmp'. 30229 $debug || 30230 { 30231 tmp= 30232 trap 'exit_status=$? 30233 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 30234 ' 0 30235 trap '{ (exit 1); exit 1; }' 1 2 13 15 30236 } 30237 # Create a (secure) tmp directory for tmp files. 30238 30239 { 30240 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 30241 test -n "$tmp" && test -d "$tmp" 30242 } || 30243 { 30244 tmp=./conf$$-$RANDOM 30245 (umask 077 && mkdir "$tmp") 30246 } || 30247 { 30248 echo "$me: cannot create a temporary directory in ." >&2 30249 { (exit 1); exit 1; } 30250 } 30251 30252 # 30253 # Set up the sed scripts for CONFIG_FILES section. 30254 # 30255 30256 # No need to generate the scripts if there are no CONFIG_FILES. 30257 # This happens for instance when ./config.status config.h 30258 if test -n "$CONFIG_FILES"; then 30259 30260 _ACEOF 30261 30262 30263 30264 ac_delim='%!_!# ' 30265 for ac_last_try in false false false false false :; do 30266 cat >conf$$subs.sed <<_ACEOF 30267 SHELL!$SHELL$ac_delim 30268 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 30269 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 30270 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 30271 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 30272 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 30273 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 30274 exec_prefix!$exec_prefix$ac_delim 30275 prefix!$prefix$ac_delim 30276 program_transform_name!$program_transform_name$ac_delim 30277 bindir!$bindir$ac_delim 30278 sbindir!$sbindir$ac_delim 30279 libexecdir!$libexecdir$ac_delim 30280 datarootdir!$datarootdir$ac_delim 30281 datadir!$datadir$ac_delim 30282 sysconfdir!$sysconfdir$ac_delim 30283 sharedstatedir!$sharedstatedir$ac_delim 30284 localstatedir!$localstatedir$ac_delim 30285 includedir!$includedir$ac_delim 30286 oldincludedir!$oldincludedir$ac_delim 30287 docdir!$docdir$ac_delim 30288 infodir!$infodir$ac_delim 30289 htmldir!$htmldir$ac_delim 30290 dvidir!$dvidir$ac_delim 30291 pdfdir!$pdfdir$ac_delim 30292 psdir!$psdir$ac_delim 30293 libdir!$libdir$ac_delim 30294 localedir!$localedir$ac_delim 30295 mandir!$mandir$ac_delim 30296 DEFS!$DEFS$ac_delim 30297 ECHO_C!$ECHO_C$ac_delim 30298 ECHO_N!$ECHO_N$ac_delim 30299 ECHO_T!$ECHO_T$ac_delim 30300 LIBS!$LIBS$ac_delim 30301 build_alias!$build_alias$ac_delim 30302 host_alias!$host_alias$ac_delim 30303 target_alias!$target_alias$ac_delim 30304 build!$build$ac_delim 30305 build_cpu!$build_cpu$ac_delim 30306 build_vendor!$build_vendor$ac_delim 30307 build_os!$build_os$ac_delim 30308 host!$host$ac_delim 30309 host_cpu!$host_cpu$ac_delim 30310 host_vendor!$host_vendor$ac_delim 30311 host_os!$host_os$ac_delim 30312 LIBXML_MAJOR_VERSION!$LIBXML_MAJOR_VERSION$ac_delim 30313 LIBXML_MINOR_VERSION!$LIBXML_MINOR_VERSION$ac_delim 30314 LIBXML_MICRO_VERSION!$LIBXML_MICRO_VERSION$ac_delim 30315 LIBXML_VERSION!$LIBXML_VERSION$ac_delim 30316 LIBXML_VERSION_INFO!$LIBXML_VERSION_INFO$ac_delim 30317 LIBXML_VERSION_NUMBER!$LIBXML_VERSION_NUMBER$ac_delim 30318 LIBXML_VERSION_EXTRA!$LIBXML_VERSION_EXTRA$ac_delim 30319 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 30320 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 30321 INSTALL_DATA!$INSTALL_DATA$ac_delim 30322 am__isrc!$am__isrc$ac_delim 30323 CYGPATH_W!$CYGPATH_W$ac_delim 30324 PACKAGE!$PACKAGE$ac_delim 30325 VERSION!$VERSION$ac_delim 30326 ACLOCAL!$ACLOCAL$ac_delim 30327 AUTOCONF!$AUTOCONF$ac_delim 30328 AUTOMAKE!$AUTOMAKE$ac_delim 30329 AUTOHEADER!$AUTOHEADER$ac_delim 30330 MAKEINFO!$MAKEINFO$ac_delim 30331 install_sh!$install_sh$ac_delim 30332 STRIP!$STRIP$ac_delim 30333 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim 30334 mkdir_p!$mkdir_p$ac_delim 30335 AWK!$AWK$ac_delim 30336 SET_MAKE!$SET_MAKE$ac_delim 30337 am__leading_dot!$am__leading_dot$ac_delim 30338 AMTAR!$AMTAR$ac_delim 30339 am__tar!$am__tar$ac_delim 30340 am__untar!$am__untar$ac_delim 30341 CC!$CC$ac_delim 30342 CFLAGS!$CFLAGS$ac_delim 30343 LDFLAGS!$LDFLAGS$ac_delim 30344 CPPFLAGS!$CPPFLAGS$ac_delim 30345 ac_ct_CC!$ac_ct_CC$ac_delim 30346 EXEEXT!$EXEEXT$ac_delim 30347 OBJEXT!$OBJEXT$ac_delim 30348 DEPDIR!$DEPDIR$ac_delim 30349 am__include!$am__include$ac_delim 30350 am__quote!$am__quote$ac_delim 30351 AMDEP_TRUE!$AMDEP_TRUE$ac_delim 30352 AMDEP_FALSE!$AMDEP_FALSE$ac_delim 30353 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim 30354 CCDEPMODE!$CCDEPMODE$ac_delim 30355 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim 30356 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim 30357 CPP!$CPP$ac_delim 30358 RM!$RM$ac_delim 30359 MV!$MV$ac_delim 30360 TAR!$TAR$ac_delim 30361 PERL!$PERL$ac_delim 30362 WGET!$WGET$ac_delim 30363 XMLLINT!$XMLLINT$ac_delim 30364 _ACEOF 30365 30366 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 30367 break 30368 elif $ac_last_try; then 30369 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 30370 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 30371 { (exit 1); exit 1; }; } 30372 else 30373 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 30374 fi 30375 done 30376 30377 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 30378 if test -n "$ac_eof"; then 30379 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 30380 ac_eof=`expr $ac_eof + 1` 30381 fi 30382 30383 cat >>$CONFIG_STATUS <<_ACEOF 30384 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 30385 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 30386 _ACEOF 30387 sed ' 30388 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 30389 s/^/s,@/; s/!/@,|#_!!_#|/ 30390 :n 30391 t n 30392 s/'"$ac_delim"'$/,g/; t 30393 s/$/\\/; p 30394 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 30395 ' >>$CONFIG_STATUS <conf$$subs.sed 30396 rm -f conf$$subs.sed 30397 cat >>$CONFIG_STATUS <<_ACEOF 30398 CEOF$ac_eof 30399 _ACEOF 30400 30401 30402 ac_delim='%!_!# ' 30403 for ac_last_try in false false false false false :; do 30404 cat >conf$$subs.sed <<_ACEOF 30405 XSLTPROC!$XSLTPROC$ac_delim 30406 GREP!$GREP$ac_delim 30407 EGREP!$EGREP$ac_delim 30408 U!$U$ac_delim 30409 ANSI2KNR!$ANSI2KNR$ac_delim 30410 SED!$SED$ac_delim 30411 LN_S!$LN_S$ac_delim 30412 ECHO!$ECHO$ac_delim 30413 AR!$AR$ac_delim 30414 RANLIB!$RANLIB$ac_delim 30415 DLLTOOL!$DLLTOOL$ac_delim 30416 AS!$AS$ac_delim 30417 OBJDUMP!$OBJDUMP$ac_delim 30418 CXX!$CXX$ac_delim 30419 CXXFLAGS!$CXXFLAGS$ac_delim 30420 ac_ct_CXX!$ac_ct_CXX$ac_delim 30421 CXXDEPMODE!$CXXDEPMODE$ac_delim 30422 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim 30423 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim 30424 CXXCPP!$CXXCPP$ac_delim 30425 F77!$F77$ac_delim 30426 FFLAGS!$FFLAGS$ac_delim 30427 ac_ct_F77!$ac_ct_F77$ac_delim 30428 LIBTOOL!$LIBTOOL$ac_delim 30429 HTML_DIR!$HTML_DIR$ac_delim 30430 Z_CFLAGS!$Z_CFLAGS$ac_delim 30431 Z_LIBS!$Z_LIBS$ac_delim 30432 WITH_ZLIB!$WITH_ZLIB$ac_delim 30433 PYTHON!$PYTHON$ac_delim 30434 WITH_PYTHON_TRUE!$WITH_PYTHON_TRUE$ac_delim 30435 WITH_PYTHON_FALSE!$WITH_PYTHON_FALSE$ac_delim 30436 pythondir!$pythondir$ac_delim 30437 PYTHON_SUBDIR!$PYTHON_SUBDIR$ac_delim 30438 WITH_MODULES!$WITH_MODULES$ac_delim 30439 MODULE_PLATFORM_LIBS!$MODULE_PLATFORM_LIBS$ac_delim 30440 MODULE_EXTENSION!$MODULE_EXTENSION$ac_delim 30441 TEST_MODULES!$TEST_MODULES$ac_delim 30442 STATIC_BINARIES!$STATIC_BINARIES$ac_delim 30443 WITH_TRIO_SOURCES_TRUE!$WITH_TRIO_SOURCES_TRUE$ac_delim 30444 WITH_TRIO_SOURCES_FALSE!$WITH_TRIO_SOURCES_FALSE$ac_delim 30445 WITH_TRIO!$WITH_TRIO$ac_delim 30446 THREAD_LIBS!$THREAD_LIBS$ac_delim 30447 BASE_THREAD_LIBS!$BASE_THREAD_LIBS$ac_delim 30448 WITH_THREADS!$WITH_THREADS$ac_delim 30449 THREAD_CFLAGS!$THREAD_CFLAGS$ac_delim 30450 TEST_THREADS!$TEST_THREADS$ac_delim 30451 THREADS_W32!$THREADS_W32$ac_delim 30452 WITH_TREE!$WITH_TREE$ac_delim 30453 WITH_FTP!$WITH_FTP$ac_delim 30454 FTP_OBJ!$FTP_OBJ$ac_delim 30455 WITH_HTTP!$WITH_HTTP$ac_delim 30456 HTTP_OBJ!$HTTP_OBJ$ac_delim 30457 WITH_LEGACY!$WITH_LEGACY$ac_delim 30458 WITH_READER!$WITH_READER$ac_delim 30459 READER_TEST!$READER_TEST$ac_delim 30460 WITH_WRITER!$WITH_WRITER$ac_delim 30461 WITH_PATTERN!$WITH_PATTERN$ac_delim 30462 TEST_PATTERN!$TEST_PATTERN$ac_delim 30463 WITH_SAX1!$WITH_SAX1$ac_delim 30464 TEST_SAX!$TEST_SAX$ac_delim 30465 WITH_PUSH!$WITH_PUSH$ac_delim 30466 TEST_PUSH!$TEST_PUSH$ac_delim 30467 WITH_HTML!$WITH_HTML$ac_delim 30468 HTML_OBJ!$HTML_OBJ$ac_delim 30469 TEST_HTML!$TEST_HTML$ac_delim 30470 TEST_PHTML!$TEST_PHTML$ac_delim 30471 WITH_VALID!$WITH_VALID$ac_delim 30472 TEST_VALID!$TEST_VALID$ac_delim 30473 TEST_VTIME!$TEST_VTIME$ac_delim 30474 WITH_CATALOG!$WITH_CATALOG$ac_delim 30475 CATALOG_OBJ!$CATALOG_OBJ$ac_delim 30476 TEST_CATALOG!$TEST_CATALOG$ac_delim 30477 WITH_DOCB!$WITH_DOCB$ac_delim 30478 DOCB_OBJ!$DOCB_OBJ$ac_delim 30479 WITH_XPTR!$WITH_XPTR$ac_delim 30480 XPTR_OBJ!$XPTR_OBJ$ac_delim 30481 TEST_XPTR!$TEST_XPTR$ac_delim 30482 WITH_C14N!$WITH_C14N$ac_delim 30483 C14N_OBJ!$C14N_OBJ$ac_delim 30484 TEST_C14N!$TEST_C14N$ac_delim 30485 WITH_XINCLUDE!$WITH_XINCLUDE$ac_delim 30486 XINCLUDE_OBJ!$XINCLUDE_OBJ$ac_delim 30487 TEST_XINCLUDE!$TEST_XINCLUDE$ac_delim 30488 WITH_XPATH!$WITH_XPATH$ac_delim 30489 XPATH_OBJ!$XPATH_OBJ$ac_delim 30490 TEST_XPATH!$TEST_XPATH$ac_delim 30491 WITH_OUTPUT!$WITH_OUTPUT$ac_delim 30492 WITH_ICONV!$WITH_ICONV$ac_delim 30493 WITH_ISO8859X!$WITH_ISO8859X$ac_delim 30494 WITH_SCHEMATRON!$WITH_SCHEMATRON$ac_delim 30495 TEST_SCHEMATRON!$TEST_SCHEMATRON$ac_delim 30496 WITH_SCHEMAS!$WITH_SCHEMAS$ac_delim 30497 TEST_SCHEMAS!$TEST_SCHEMAS$ac_delim 30498 WITH_REGEXPS!$WITH_REGEXPS$ac_delim 30499 TEST_REGEXPS!$TEST_REGEXPS$ac_delim 30500 WITH_DEBUG!$WITH_DEBUG$ac_delim 30501 DEBUG_OBJ!$DEBUG_OBJ$ac_delim 30502 _ACEOF 30503 30504 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 30505 break 30506 elif $ac_last_try; then 30507 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 30508 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 30509 { (exit 1); exit 1; }; } 30510 else 30511 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 30512 fi 30513 done 30514 30515 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 30516 if test -n "$ac_eof"; then 30517 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 30518 ac_eof=`expr $ac_eof + 1` 30519 fi 30520 30521 cat >>$CONFIG_STATUS <<_ACEOF 30522 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 30523 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 30524 _ACEOF 30525 sed ' 30526 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 30527 s/^/s,@/; s/!/@,|#_!!_#|/ 30528 :n 30529 t n 30530 s/'"$ac_delim"'$/,g/; t 30531 s/$/\\/; p 30532 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 30533 ' >>$CONFIG_STATUS <conf$$subs.sed 30534 rm -f conf$$subs.sed 30535 cat >>$CONFIG_STATUS <<_ACEOF 30536 CEOF$ac_eof 30537 _ACEOF 30538 30539 30540 ac_delim='%!_!# ' 30541 for ac_last_try in false false false false false :; do 30542 cat >conf$$subs.sed <<_ACEOF 30543 TEST_DEBUG!$TEST_DEBUG$ac_delim 30544 WITH_MEM_DEBUG!$WITH_MEM_DEBUG$ac_delim 30545 WITH_RUN_DEBUG!$WITH_RUN_DEBUG$ac_delim 30546 WIN32_EXTRA_LIBADD!$WIN32_EXTRA_LIBADD$ac_delim 30547 WIN32_EXTRA_LDFLAGS!$WIN32_EXTRA_LDFLAGS$ac_delim 30548 CYGWIN_EXTRA_LDFLAGS!$CYGWIN_EXTRA_LDFLAGS$ac_delim 30549 CYGWIN_EXTRA_PYTHON_LIBADD!$CYGWIN_EXTRA_PYTHON_LIBADD$ac_delim 30550 XML_CFLAGS!$XML_CFLAGS$ac_delim 30551 XML_LIBDIR!$XML_LIBDIR$ac_delim 30552 XML_LIBS!$XML_LIBS$ac_delim 30553 XML_LIBTOOLLIBS!$XML_LIBTOOLLIBS$ac_delim 30554 ICONV_LIBS!$ICONV_LIBS$ac_delim 30555 XML_INCLUDEDIR!$XML_INCLUDEDIR$ac_delim 30556 HAVE_ISNAN!$HAVE_ISNAN$ac_delim 30557 HAVE_ISINF!$HAVE_ISINF$ac_delim 30558 PYTHON_VERSION!$PYTHON_VERSION$ac_delim 30559 PYTHON_INCLUDES!$PYTHON_INCLUDES$ac_delim 30560 PYTHON_SITE_PACKAGES!$PYTHON_SITE_PACKAGES$ac_delim 30561 M_LIBS!$M_LIBS$ac_delim 30562 RDL_LIBS!$RDL_LIBS$ac_delim 30563 RELDATE!$RELDATE$ac_delim 30564 PYTHON_TESTS!$PYTHON_TESTS$ac_delim 30565 LIBOBJS!$LIBOBJS$ac_delim 30566 LTLIBOBJS!$LTLIBOBJS$ac_delim 30567 _ACEOF 30568 30569 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 24; then 30570 break 30571 elif $ac_last_try; then 30572 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 30573 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 30574 { (exit 1); exit 1; }; } 30575 else 30576 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 30577 fi 30578 done 30579 30580 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 30581 if test -n "$ac_eof"; then 30582 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 30583 ac_eof=`expr $ac_eof + 1` 30584 fi 30585 30586 cat >>$CONFIG_STATUS <<_ACEOF 30587 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof 30588 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 30589 _ACEOF 30590 sed ' 30591 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 30592 s/^/s,@/; s/!/@,|#_!!_#|/ 30593 :n 30594 t n 30595 s/'"$ac_delim"'$/,g/; t 30596 s/$/\\/; p 30597 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 30598 ' >>$CONFIG_STATUS <conf$$subs.sed 30599 rm -f conf$$subs.sed 30600 cat >>$CONFIG_STATUS <<_ACEOF 30601 :end 30602 s/|#_!!_#|//g 30603 CEOF$ac_eof 30604 _ACEOF 30605 30606 30607 # VPATH may cause trouble with some makes, so we remove $(srcdir), 30608 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 30609 # trailing colons and then remove the whole line if VPATH becomes empty 30610 # (actually we leave an empty line to preserve line numbers). 30611 if test "x$srcdir" = x.; then 30612 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 30613 s/:*\$(srcdir):*/:/ 30614 s/:*\${srcdir}:*/:/ 30615 s/:*@srcdir@:*/:/ 30616 s/^\([^=]*=[ ]*\):*/\1/ 30617 s/:*$// 30618 s/^[^=]*=[ ]*$// 30619 }' 30620 fi 30621 30622 cat >>$CONFIG_STATUS <<\_ACEOF 30623 fi # test -n "$CONFIG_FILES" 30624 30625 30626 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS 30627 do 30628 case $ac_tag in 30629 :[FHLC]) ac_mode=$ac_tag; continue;; 30630 esac 30631 case $ac_mode$ac_tag in 30632 :[FHL]*:*);; 30633 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 30634 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 30635 { (exit 1); exit 1; }; };; 30636 :[FH]-) ac_tag=-:-;; 30637 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 30638 esac 30639 ac_save_IFS=$IFS 30640 IFS=: 30641 set x $ac_tag 30642 IFS=$ac_save_IFS 30643 shift 30644 ac_file=$1 30645 shift 30646 30647 case $ac_mode in 30648 :L) ac_source=$1;; 30649 :[FH]) 30650 ac_file_inputs= 30651 for ac_f 30652 do 30653 case $ac_f in 30654 -) ac_f="$tmp/stdin";; 30655 *) # Look for the file first in the build tree, then in the source tree 30656 # (if the path is not absolute). The absolute path cannot be DOS-style, 30657 # because $ac_f cannot contain `:'. 30658 test -f "$ac_f" || 30659 case $ac_f in 30660 [\\/$]*) false;; 30661 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 30662 esac || 30663 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 30664 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 30665 { (exit 1); exit 1; }; };; 30666 esac 30667 ac_file_inputs="$ac_file_inputs $ac_f" 30668 done 30669 30670 # Let's still pretend it is `configure' which instantiates (i.e., don't 30671 # use $as_me), people would be surprised to read: 30672 # /* config.h. Generated by config.status. */ 30673 configure_input="Generated from "`IFS=: 30674 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 30675 if test x"$ac_file" != x-; then 30676 configure_input="$ac_file. $configure_input" 30677 { echo "$as_me:$LINENO: creating $ac_file" >&5 30678 echo "$as_me: creating $ac_file" >&6;} 30679 fi 30680 30681 case $ac_tag in 30682 *:-:* | *:-) cat >"$tmp/stdin";; 30683 esac 30684 ;; 30685 esac 30686 30687 ac_dir=`$as_dirname -- "$ac_file" || 30688 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 30689 X"$ac_file" : 'X\(//\)[^/]' \| \ 30690 X"$ac_file" : 'X\(//\)$' \| \ 30691 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 30692 echo X"$ac_file" | 30693 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 30694 s//\1/ 30695 q 30696 } 30697 /^X\(\/\/\)[^/].*/{ 30698 s//\1/ 30699 q 30700 } 30701 /^X\(\/\/\)$/{ 30702 s//\1/ 30703 q 30704 } 30705 /^X\(\/\).*/{ 30706 s//\1/ 30707 q 30708 } 30709 s/.*/./; q'` 30710 { as_dir="$ac_dir" 30711 case $as_dir in #( 30712 -*) as_dir=./$as_dir;; 30713 esac 30714 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 30715 as_dirs= 30716 while :; do 30717 case $as_dir in #( 30718 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 30719 *) as_qdir=$as_dir;; 30720 esac 30721 as_dirs="'$as_qdir' $as_dirs" 30722 as_dir=`$as_dirname -- "$as_dir" || 30723 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 30724 X"$as_dir" : 'X\(//\)[^/]' \| \ 30725 X"$as_dir" : 'X\(//\)$' \| \ 30726 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 30727 echo X"$as_dir" | 30728 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 30729 s//\1/ 30730 q 30731 } 30732 /^X\(\/\/\)[^/].*/{ 30733 s//\1/ 30734 q 30735 } 30736 /^X\(\/\/\)$/{ 30737 s//\1/ 30738 q 30739 } 30740 /^X\(\/\).*/{ 30741 s//\1/ 30742 q 30743 } 30744 s/.*/./; q'` 30745 test -d "$as_dir" && break 30746 done 30747 test -z "$as_dirs" || eval "mkdir $as_dirs" 30748 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 30749 echo "$as_me: error: cannot create directory $as_dir" >&2;} 30750 { (exit 1); exit 1; }; }; } 30751 ac_builddir=. 30752 30753 case "$ac_dir" in 30754 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 30755 *) 30756 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 30757 # A ".." for each directory in $ac_dir_suffix. 30758 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 30759 case $ac_top_builddir_sub in 30760 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 30761 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 30762 esac ;; 30763 esac 30764 ac_abs_top_builddir=$ac_pwd 30765 ac_abs_builddir=$ac_pwd$ac_dir_suffix 30766 # for backward compatibility: 30767 ac_top_builddir=$ac_top_build_prefix 30768 30769 case $srcdir in 30770 .) # We are building in place. 30771 ac_srcdir=. 30772 ac_top_srcdir=$ac_top_builddir_sub 30773 ac_abs_top_srcdir=$ac_pwd ;; 30774 [\\/]* | ?:[\\/]* ) # Absolute name. 30775 ac_srcdir=$srcdir$ac_dir_suffix; 30776 ac_top_srcdir=$srcdir 30777 ac_abs_top_srcdir=$srcdir ;; 30778 *) # Relative name. 30779 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 30780 ac_top_srcdir=$ac_top_build_prefix$srcdir 30781 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 30782 esac 30783 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 30784 30785 30786 case $ac_mode in 30787 :F) 30788 # 30789 # CONFIG_FILE 30790 # 30791 30792 case $INSTALL in 30793 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 30794 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 30795 esac 30796 ac_MKDIR_P=$MKDIR_P 30797 case $MKDIR_P in 30798 [\\/$]* | ?:[\\/]* ) ;; 30799 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 30800 esac 30801 _ACEOF 30802 30803 cat >>$CONFIG_STATUS <<\_ACEOF 30804 # If the template does not know about datarootdir, expand it. 30805 # FIXME: This hack should be removed a few years after 2.60. 30806 ac_datarootdir_hack=; ac_datarootdir_seen= 30807 30808 case `sed -n '/datarootdir/ { 30809 p 30810 q 30811 } 30812 /@datadir@/p 30813 /@docdir@/p 30814 /@infodir@/p 30815 /@localedir@/p 30816 /@mandir@/p 30817 ' $ac_file_inputs` in 30818 *datarootdir*) ac_datarootdir_seen=yes;; 30819 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 30820 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 30821 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 30822 _ACEOF 30823 cat >>$CONFIG_STATUS <<_ACEOF 30824 ac_datarootdir_hack=' 30825 s&@datadir@&$datadir&g 30826 s&@docdir@&$docdir&g 30827 s&@infodir@&$infodir&g 30828 s&@localedir@&$localedir&g 30829 s&@mandir@&$mandir&g 30830 s&\\\${datarootdir}&$datarootdir&g' ;; 30831 esac 30832 _ACEOF 30833 30834 # Neutralize VPATH when `$srcdir' = `.'. 30835 # Shell code in configure.ac might set extrasub. 30836 # FIXME: do we really want to maintain this feature? 30837 cat >>$CONFIG_STATUS <<_ACEOF 30838 sed "$ac_vpsub 30839 $extrasub 30840 _ACEOF 30841 cat >>$CONFIG_STATUS <<\_ACEOF 30842 :t 30843 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 30844 s&@configure_input@&$configure_input&;t t 30845 s&@top_builddir@&$ac_top_builddir_sub&;t t 30846 s&@srcdir@&$ac_srcdir&;t t 30847 s&@abs_srcdir@&$ac_abs_srcdir&;t t 30848 s&@top_srcdir@&$ac_top_srcdir&;t t 30849 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 30850 s&@builddir@&$ac_builddir&;t t 30851 s&@abs_builddir@&$ac_abs_builddir&;t t 30852 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 30853 s&@INSTALL@&$ac_INSTALL&;t t 30854 s&@MKDIR_P@&$ac_MKDIR_P&;t t 30855 $ac_datarootdir_hack 30856 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out 30857 30858 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 30859 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 30860 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 30861 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 30862 which seems to be undefined. Please make sure it is defined." >&5 30863 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 30864 which seems to be undefined. Please make sure it is defined." >&2;} 30865 30866 rm -f "$tmp/stdin" 30867 case $ac_file in 30868 -) cat "$tmp/out"; rm -f "$tmp/out";; 30869 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 30870 esac 30871 ;; 30872 :H) 30873 # 30874 # CONFIG_HEADER 30875 # 30876 _ACEOF 30877 30878 # Transform confdefs.h into a sed script `conftest.defines', that 30879 # substitutes the proper values into config.h.in to produce config.h. 30880 rm -f conftest.defines conftest.tail 30881 # First, append a space to every undef/define line, to ease matching. 30882 echo 's/$/ /' >conftest.defines 30883 # Then, protect against being on the right side of a sed subst, or in 30884 # an unquoted here document, in config.status. If some macros were 30885 # called several times there might be several #defines for the same 30886 # symbol, which is useless. But do not sort them, since the last 30887 # AC_DEFINE must be honored. 30888 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 30889 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 30890 # NAME is the cpp macro being defined, VALUE is the value it is being given. 30891 # PARAMS is the parameter list in the macro definition--in most cases, it's 30892 # just an empty string. 30893 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 30894 ac_dB='\\)[ (].*,\\1define\\2' 30895 ac_dC=' ' 30896 ac_dD=' ,' 30897 30898 uniq confdefs.h | 30899 sed -n ' 30900 t rset 30901 :rset 30902 s/^[ ]*#[ ]*define[ ][ ]*// 30903 t ok 30904 d 30905 :ok 30906 s/[\\&,]/\\&/g 30907 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 30908 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 30909 ' >>conftest.defines 30910 30911 # Remove the space that was appended to ease matching. 30912 # Then replace #undef with comments. This is necessary, for 30913 # example, in the case of _POSIX_SOURCE, which is predefined and required 30914 # on some systems where configure will not decide to define it. 30915 # (The regexp can be short, since the line contains either #define or #undef.) 30916 echo 's/ $// 30917 s,^[ #]*u.*,/* & */,' >>conftest.defines 30918 30919 # Break up conftest.defines: 30920 ac_max_sed_lines=50 30921 30922 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" 30923 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" 30924 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" 30925 # et cetera. 30926 ac_in='$ac_file_inputs' 30927 ac_out='"$tmp/out1"' 30928 ac_nxt='"$tmp/out2"' 30929 30930 while : 30931 do 30932 # Write a here document: 30933 cat >>$CONFIG_STATUS <<_ACEOF 30934 # First, check the format of the line: 30935 cat >"\$tmp/defines.sed" <<\\CEOF 30936 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def 30937 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 30938 b 30939 :def 30940 _ACEOF 30941 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 30942 echo 'CEOF 30943 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 30944 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 30945 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 30946 grep . conftest.tail >/dev/null || break 30947 rm -f conftest.defines 30948 mv conftest.tail conftest.defines 30949 done 30950 rm -f conftest.defines conftest.tail 30951 30952 echo "ac_result=$ac_in" >>$CONFIG_STATUS 30953 cat >>$CONFIG_STATUS <<\_ACEOF 30954 if test x"$ac_file" != x-; then 30955 echo "/* $configure_input */" >"$tmp/config.h" 30956 cat "$ac_result" >>"$tmp/config.h" 30957 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 30958 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 30959 echo "$as_me: $ac_file is unchanged" >&6;} 30960 else 30961 rm -f $ac_file 30962 mv "$tmp/config.h" $ac_file 30963 fi 30964 else 30965 echo "/* $configure_input */" 30966 cat "$ac_result" 30967 fi 30968 rm -f "$tmp/out12" 30969 # Compute $ac_file's index in $config_headers. 30970 _am_arg=$ac_file 30971 _am_stamp_count=1 30972 for _am_header in $config_headers :; do 30973 case $_am_header in 30974 $_am_arg | $_am_arg:* ) 30975 break ;; 30976 * ) 30977 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 30978 esac 30979 done 30980 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 30981 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 30982 X"$_am_arg" : 'X\(//\)[^/]' \| \ 30983 X"$_am_arg" : 'X\(//\)$' \| \ 30984 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 30985 echo X"$_am_arg" | 30986 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 30987 s//\1/ 30988 q 30989 } 30990 /^X\(\/\/\)[^/].*/{ 30991 s//\1/ 30992 q 30993 } 30994 /^X\(\/\/\)$/{ 30995 s//\1/ 30996 q 30997 } 30998 /^X\(\/\).*/{ 30999 s//\1/ 31000 q 31001 } 31002 s/.*/./; q'`/stamp-h$_am_stamp_count 31003 ;; 31004 31005 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 31006 echo "$as_me: executing $ac_file commands" >&6;} 31007 ;; 31008 esac 31009 31010 31011 case $ac_file$ac_mode in 31012 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 31013 # Strip MF so we end up with the name of the file. 31014 mf=`echo "$mf" | sed -e 's/:.*$//'` 31015 # Check whether this is an Automake generated Makefile or not. 31016 # We used to match only the files named `Makefile.in', but 31017 # some people rename them; so instead we look at the file content. 31018 # Grep'ing the first line is not enough: some people post-process 31019 # each Makefile.in and add a new line on top of each file to say so. 31020 # Grep'ing the whole file is not good either: AIX grep has a line 31021 # limit of 2048, but all sed's we know have understand at least 4000. 31022 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 31023 dirpart=`$as_dirname -- "$mf" || 31024 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 31025 X"$mf" : 'X\(//\)[^/]' \| \ 31026 X"$mf" : 'X\(//\)$' \| \ 31027 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 31028 echo X"$mf" | 31029 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 31030 s//\1/ 31031 q 31032 } 31033 /^X\(\/\/\)[^/].*/{ 31034 s//\1/ 31035 q 31036 } 31037 /^X\(\/\/\)$/{ 31038 s//\1/ 31039 q 31040 } 31041 /^X\(\/\).*/{ 31042 s//\1/ 31043 q 31044 } 31045 s/.*/./; q'` 31046 else 31047 continue 31048 fi 31049 # Extract the definition of DEPDIR, am__include, and am__quote 31050 # from the Makefile without running `make'. 31051 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 31052 test -z "$DEPDIR" && continue 31053 am__include=`sed -n 's/^am__include = //p' < "$mf"` 31054 test -z "am__include" && continue 31055 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 31056 # When using ansi2knr, U may be empty or an underscore; expand it 31057 U=`sed -n 's/^U = //p' < "$mf"` 31058 # Find all dependency output files, they are included files with 31059 # $(DEPDIR) in their names. We invoke sed twice because it is the 31060 # simplest approach to changing $(DEPDIR) to its actual value in the 31061 # expansion. 31062 for file in `sed -n " 31063 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 31064 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 31065 # Make sure the directory exists. 31066 test -f "$dirpart/$file" && continue 31067 fdir=`$as_dirname -- "$file" || 31068 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 31069 X"$file" : 'X\(//\)[^/]' \| \ 31070 X"$file" : 'X\(//\)$' \| \ 31071 X"$file" : 'X\(/\)' \| . 2>/dev/null || 31072 echo X"$file" | 31073 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 31074 s//\1/ 31075 q 31076 } 31077 /^X\(\/\/\)[^/].*/{ 31078 s//\1/ 31079 q 31080 } 31081 /^X\(\/\/\)$/{ 31082 s//\1/ 31083 q 31084 } 31085 /^X\(\/\).*/{ 31086 s//\1/ 31087 q 31088 } 31089 s/.*/./; q'` 31090 { as_dir=$dirpart/$fdir 31091 case $as_dir in #( 31092 -*) as_dir=./$as_dir;; 31093 esac 31094 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 31095 as_dirs= 31096 while :; do 31097 case $as_dir in #( 31098 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 31099 *) as_qdir=$as_dir;; 31100 esac 31101 as_dirs="'$as_qdir' $as_dirs" 31102 as_dir=`$as_dirname -- "$as_dir" || 31103 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 31104 X"$as_dir" : 'X\(//\)[^/]' \| \ 31105 X"$as_dir" : 'X\(//\)$' \| \ 31106 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 31107 echo X"$as_dir" | 31108 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 31109 s//\1/ 31110 q 31111 } 31112 /^X\(\/\/\)[^/].*/{ 31113 s//\1/ 31114 q 31115 } 31116 /^X\(\/\/\)$/{ 31117 s//\1/ 31118 q 31119 } 31120 /^X\(\/\).*/{ 31121 s//\1/ 31122 q 31123 } 31124 s/.*/./; q'` 31125 test -d "$as_dir" && break 31126 done 31127 test -z "$as_dirs" || eval "mkdir $as_dirs" 31128 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 31129 echo "$as_me: error: cannot create directory $as_dir" >&2;} 31130 { (exit 1); exit 1; }; }; } 31131 # echo "creating $dirpart/$file" 31132 echo '# dummy' > "$dirpart/$file" 31133 done 31134 done 31135 ;; 31136 31137 esac 31138 done # for ac_tag 31139 31140 31141 { (exit 0); exit 0; } 31142 _ACEOF 31143 chmod +x $CONFIG_STATUS 31144 ac_clean_files=$ac_clean_files_save 31145 31146 31147 # configure is writing to config.log, and then calls config.status. 31148 # config.status does its own redirection, appending to config.log. 31149 # Unfortunately, on DOS this fails, as config.log is still kept open 31150 # by configure, so config.status won't be able to write to it; its 31151 # output is simply discarded. So we exec the FD to /dev/null, 31152 # effectively closing config.log, so it can be properly (re)opened and 31153 # appended to by config.status. When coming back to configure, we 31154 # need to make the FD available again. 31155 if test "$no_create" != yes; then 31156 ac_cs_success=: 31157 ac_config_status_args= 31158 test "$silent" = yes && 31159 ac_config_status_args="$ac_config_status_args --quiet" 31160 exec 5>/dev/null 31161 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 31162 exec 5>>config.log 31163 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 31164 # would make configure fail if this is the last instruction. 31165 $ac_cs_success || { (exit 1); exit 1; } 31166 fi 31167 31168 31169 chmod +x xml2-config python/setup.py 31170 echo Done configuring