1 #! /bin/sh 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.60. 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 Bourne compatible 14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 15 emulate sh 16 NULLCMD=: 17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 18 # is contrary to our usage. Disable this feature. 19 alias -g '${1+"$@"}'='"$@"' 20 setopt NO_GLOB_SUBST 21 else 22 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 23 fi 24 BIN_SH=xpg4; export BIN_SH # for Tru64 25 DUALCASE=1; export DUALCASE # for MKS sh 26 27 28 # PATH needs CR 29 # Avoid depending upon Character Ranges. 30 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 31 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 32 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 33 as_cr_digits='0123456789' 34 as_cr_alnum=$as_cr_Letters$as_cr_digits 35 36 # The user is always right. 37 if test "${PATH_SEPARATOR+set}" != set; then 38 echo "#! /bin/sh" >conf$$.sh 39 echo "exit 0" >>conf$$.sh 40 chmod +x conf$$.sh 41 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 42 PATH_SEPARATOR=';' 43 else 44 PATH_SEPARATOR=: 45 fi 46 rm -f conf$$.sh 47 fi 48 49 # Support unset when possible. 50 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 51 as_unset=unset 52 else 53 as_unset=false 54 fi 55 56 57 # IFS 58 # We need space, tab and new line, in precisely that order. Quoting is 59 # there to prevent editors from complaining about space-tab. 60 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 61 # splitting by setting IFS to empty value.) 62 as_nl=' 63 ' 64 IFS=" "" $as_nl" 65 66 # Find who we are. Look in the path if we contain no directory separator. 67 case $0 in 68 *[\\/]* ) as_myself=$0 ;; 69 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 70 for as_dir in $PATH 71 do 72 IFS=$as_save_IFS 73 test -z "$as_dir" && as_dir=. 74 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 75 done 76 IFS=$as_save_IFS 77 78 ;; 79 esac 80 # We did not find ourselves, most probably we were run as `sh COMMAND' 81 # in which case we are not to be found in the path. 82 if test "x$as_myself" = x; then 83 as_myself=$0 84 fi 85 if test ! -f "$as_myself"; then 86 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 87 { (exit 1); exit 1; } 88 fi 89 90 # Work around bugs in pre-3.0 UWIN ksh. 91 for as_var in ENV MAIL MAILPATH 92 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 93 done 94 PS1='$ ' 95 PS2='> ' 96 PS4='+ ' 97 98 # NLS nuisances. 99 for as_var in \ 100 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 101 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 102 LC_TELEPHONE LC_TIME 103 do 104 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 105 eval $as_var=C; export $as_var 106 else 107 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 108 fi 109 done 110 111 # Required to use basename. 112 if expr a : '\(a\)' >/dev/null 2>&1 && 113 test "X`expr 00001 : '.*\(...\)'`" = X001; then 114 as_expr=expr 115 else 116 as_expr=false 117 fi 118 119 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 120 as_basename=basename 121 else 122 as_basename=false 123 fi 124 125 126 # Name of the executable. 127 as_me=`$as_basename -- "$0" || 128 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 129 X"$0" : 'X\(//\)$' \| \ 130 X"$0" : 'X\(/\)' \| . 2>/dev/null || 131 echo X/"$0" | 132 sed '/^.*\/\([^/][^/]*\)\/*$/{ 133 s//\1/ 134 q 135 } 136 /^X\/\(\/\/\)$/{ 137 s//\1/ 138 q 139 } 140 /^X\/\(\/\).*/{ 141 s//\1/ 142 q 143 } 144 s/.*/./; q'` 145 146 # CDPATH. 147 $as_unset CDPATH 148 149 150 if test "x$CONFIG_SHELL" = x; then 151 if (eval ":") 2>/dev/null; then 152 as_have_required=yes 153 else 154 as_have_required=no 155 fi 156 157 if test $as_have_required = yes && (eval ": 158 (as_func_return () { 159 (exit \$1) 160 } 161 as_func_success () { 162 as_func_return 0 163 } 164 as_func_failure () { 165 as_func_return 1 166 } 167 as_func_ret_success () { 168 return 0 169 } 170 as_func_ret_failure () { 171 return 1 172 } 173 174 exitcode=0 175 if as_func_success; then 176 : 177 else 178 exitcode=1 179 echo as_func_success failed. 180 fi 181 182 if as_func_failure; then 183 exitcode=1 184 echo as_func_failure succeeded. 185 fi 186 187 if as_func_ret_success; then 188 : 189 else 190 exitcode=1 191 echo as_func_ret_success failed. 192 fi 193 194 if as_func_ret_failure; then 195 exitcode=1 196 echo as_func_ret_failure succeeded. 197 fi 198 199 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 200 : 201 else 202 exitcode=1 203 echo positional parameters were not saved. 204 fi 205 206 test \$exitcode = 0) || { (exit 1); exit 1; } 207 208 ( 209 as_lineno_1=\$LINENO 210 as_lineno_2=\$LINENO 211 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 212 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 213 ") 2> /dev/null; then 214 : 215 else 216 as_candidate_shells= 217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 218 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 219 do 220 IFS=$as_save_IFS 221 test -z "$as_dir" && as_dir=. 222 case $as_dir in 223 /*) 224 for as_base in sh bash ksh sh5; do 225 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 226 done;; 227 esac 228 done 229 IFS=$as_save_IFS 230 231 232 for as_shell in $as_candidate_shells $SHELL; do 233 # Try only shells that exist, to save several forks. 234 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 235 { ("$as_shell") 2> /dev/null <<\_ASEOF 236 # Be Bourne compatible 237 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 238 emulate sh 239 NULLCMD=: 240 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 241 # is contrary to our usage. Disable this feature. 242 alias -g '${1+"$@"}'='"$@"' 243 setopt NO_GLOB_SUBST 244 else 245 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 246 fi 247 BIN_SH=xpg4; export BIN_SH # for Tru64 248 DUALCASE=1; export DUALCASE # for MKS sh 249 250 : 251 _ASEOF 252 }; then 253 CONFIG_SHELL=$as_shell 254 as_have_required=yes 255 if { "$as_shell" 2> /dev/null <<\_ASEOF 256 # Be Bourne compatible 257 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 258 emulate sh 259 NULLCMD=: 260 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 261 # is contrary to our usage. Disable this feature. 262 alias -g '${1+"$@"}'='"$@"' 263 setopt NO_GLOB_SUBST 264 else 265 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 266 fi 267 BIN_SH=xpg4; export BIN_SH # for Tru64 268 DUALCASE=1; export DUALCASE # for MKS sh 269 270 : 271 (as_func_return () { 272 (exit $1) 273 } 274 as_func_success () { 275 as_func_return 0 276 } 277 as_func_failure () { 278 as_func_return 1 279 } 280 as_func_ret_success () { 281 return 0 282 } 283 as_func_ret_failure () { 284 return 1 285 } 286 287 exitcode=0 288 if as_func_success; then 289 : 290 else 291 exitcode=1 292 echo as_func_success failed. 293 fi 294 295 if as_func_failure; then 296 exitcode=1 297 echo as_func_failure succeeded. 298 fi 299 300 if as_func_ret_success; then 301 : 302 else 303 exitcode=1 304 echo as_func_ret_success failed. 305 fi 306 307 if as_func_ret_failure; then 308 exitcode=1 309 echo as_func_ret_failure succeeded. 310 fi 311 312 if ( set x; as_func_ret_success y && test x = "$1" ); then 313 : 314 else 315 exitcode=1 316 echo positional parameters were not saved. 317 fi 318 319 test $exitcode = 0) || { (exit 1); exit 1; } 320 321 ( 322 as_lineno_1=$LINENO 323 as_lineno_2=$LINENO 324 test "x$as_lineno_1" != "x$as_lineno_2" && 325 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 326 327 _ASEOF 328 }; then 329 break 330 fi 331 332 fi 333 334 done 335 336 if test "x$CONFIG_SHELL" != x; then 337 for as_var in BASH_ENV ENV 338 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 339 done 340 export CONFIG_SHELL 341 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 342 fi 343 344 345 if test $as_have_required = no; then 346 echo This script requires a shell more modern than all the 347 echo shells that I found on your system. Please install a 348 echo modern shell, or manually run the script under such a 349 echo shell if you do have one. 350 { (exit 1); exit 1; } 351 fi 352 353 354 fi 355 356 fi 357 358 359 360 (eval "as_func_return () { 361 (exit \$1) 362 } 363 as_func_success () { 364 as_func_return 0 365 } 366 as_func_failure () { 367 as_func_return 1 368 } 369 as_func_ret_success () { 370 return 0 371 } 372 as_func_ret_failure () { 373 return 1 374 } 375 376 exitcode=0 377 if as_func_success; then 378 : 379 else 380 exitcode=1 381 echo as_func_success failed. 382 fi 383 384 if as_func_failure; then 385 exitcode=1 386 echo as_func_failure succeeded. 387 fi 388 389 if as_func_ret_success; then 390 : 391 else 392 exitcode=1 393 echo as_func_ret_success failed. 394 fi 395 396 if as_func_ret_failure; then 397 exitcode=1 398 echo as_func_ret_failure succeeded. 399 fi 400 401 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 402 : 403 else 404 exitcode=1 405 echo positional parameters were not saved. 406 fi 407 408 test \$exitcode = 0") || { 409 echo No shell found that supports shell functions. 410 echo Please tell autoconf@gnu.org about your system, 411 echo including any error possibly output before this 412 echo message 413 } 414 415 416 417 as_lineno_1=$LINENO 418 as_lineno_2=$LINENO 419 test "x$as_lineno_1" != "x$as_lineno_2" && 420 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 421 422 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 423 # uniformly replaced by the line number. The first 'sed' inserts a 424 # line-number line after each line using $LINENO; the second 'sed' 425 # does the real work. The second script uses 'N' to pair each 426 # line-number line with the line containing $LINENO, and appends 427 # trailing '-' during substitution so that $LINENO is not a special 428 # case at line end. 429 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 430 # scripts with optimization help from Paolo Bonzini. Blame Lee 431 # E. McMahon (1931-1989) for sed's syntax. :-) 432 sed -n ' 433 p 434 /[$]LINENO/= 435 ' <$as_myself | 436 sed ' 437 s/[$]LINENO.*/&-/ 438 t lineno 439 b 440 :lineno 441 N 442 :loop 443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 444 t loop 445 s/-\n.*// 446 ' >$as_me.lineno && 447 chmod +x "$as_me.lineno" || 448 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 449 { (exit 1); exit 1; }; } 450 451 # Don't try to exec as it changes $[0], causing all sort of problems 452 # (the dirname of $[0] is not the place where we might find the 453 # original and so on. Autoconf is especially sensitive to this). 454 . "./$as_me.lineno" 455 # Exit status is that of the last command. 456 exit 457 } 458 459 460 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 461 as_dirname=dirname 462 else 463 as_dirname=false 464 fi 465 466 ECHO_C= ECHO_N= ECHO_T= 467 case `echo -n x` in 468 -n*) 469 case `echo 'x\c'` in 470 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 471 *) ECHO_C='\c';; 472 esac;; 473 *) 474 ECHO_N='-n';; 475 esac 476 477 if expr a : '\(a\)' >/dev/null 2>&1 && 478 test "X`expr 00001 : '.*\(...\)'`" = X001; then 479 as_expr=expr 480 else 481 as_expr=false 482 fi 483 484 rm -f conf$$ conf$$.exe conf$$.file 485 if test -d conf$$.dir; then 486 rm -f conf$$.dir/conf$$.file 487 else 488 rm -f conf$$.dir 489 mkdir conf$$.dir 490 fi 491 echo >conf$$.file 492 if ln -s conf$$.file conf$$ 2>/dev/null; then 493 as_ln_s='ln -s' 494 # ... but there are two gotchas: 495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 497 # In both cases, we have to default to `cp -p'. 498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 499 as_ln_s='cp -p' 500 elif ln conf$$.file conf$$ 2>/dev/null; then 501 as_ln_s=ln 502 else 503 as_ln_s='cp -p' 504 fi 505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 506 rmdir conf$$.dir 2>/dev/null 507 508 if mkdir -p . 2>/dev/null; then 509 as_mkdir_p=: 510 else 511 test -d ./-p && rmdir ./-p 512 as_mkdir_p=false 513 fi 514 515 # Find out whether ``test -x'' works. Don't use a zero-byte file, as 516 # systems may use methods other than mode bits to determine executability. 517 cat >conf$$.file <<_ASEOF 518 #! /bin/sh 519 exit 0 520 _ASEOF 521 chmod +x conf$$.file 522 if test -x conf$$.file >/dev/null 2>&1; then 523 as_executable_p="test -x" 524 else 525 as_executable_p=: 526 fi 527 rm -f conf$$.file 528 529 # Sed expression to map a string onto a valid CPP name. 530 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 531 532 # Sed expression to map a string onto a valid variable name. 533 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 534 535 536 537 538 # Check that we are running under the correct shell. 539 SHELL=${CONFIG_SHELL-/bin/sh} 540 541 case X$ECHO in 542 X*--fallback-echo) 543 # Remove one level of quotation (which was required for Make). 544 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` 545 ;; 546 esac 547 548 echo=${ECHO-echo} 549 if test "X$1" = X--no-reexec; then 550 # Discard the --no-reexec flag, and continue. 551 shift 552 elif test "X$1" = X--fallback-echo; then 553 # Avoid inline document here, it may be left over 554 : 555 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then 556 # Yippee, $echo works! 557 : 558 else 559 # Restart under the correct shell. 560 exec $SHELL "$0" --no-reexec ${1+"$@"} 561 fi 562 563 if test "X$1" = X--fallback-echo; then 564 # used as fallback echo 565 shift 566 cat <<EOF 567 $* 568 EOF 569 exit 0 570 fi 571 572 # The HP-UX ksh and POSIX shell print the target directory to stdout 573 # if CDPATH is set. 574 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 575 576 if test -z "$ECHO"; then 577 if test "X${echo_test_string+set}" != Xset; then 578 # find a string as large as possible, as long as the shell can cope with it 579 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do 580 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 581 if (echo_test_string=`eval $cmd`) 2>/dev/null && 582 echo_test_string=`eval $cmd` && 583 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null 584 then 585 break 586 fi 587 done 588 fi 589 590 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && 591 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && 592 test "X$echo_testing_string" = "X$echo_test_string"; then 593 : 594 else 595 # The Solaris, AIX, and Digital Unix default echo programs unquote 596 # backslashes. This makes it impossible to quote backslashes using 597 # echo "$something" | sed 's/\\/\\\\/g' 598 # 599 # So, first we look for a working echo in the user's PATH. 600 601 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 602 for dir in $PATH /usr/ucb; do 603 IFS="$lt_save_ifs" 604 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && 605 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && 606 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && 607 test "X$echo_testing_string" = "X$echo_test_string"; then 608 echo="$dir/echo" 609 break 610 fi 611 done 612 IFS="$lt_save_ifs" 613 614 if test "X$echo" = Xecho; then 615 # We didn't find a better echo, so look for alternatives. 616 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && 617 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && 618 test "X$echo_testing_string" = "X$echo_test_string"; then 619 # This shell has a builtin print -r that does the trick. 620 echo='print -r' 621 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && 622 test "X$CONFIG_SHELL" != X/bin/ksh; then 623 # If we have ksh, try running configure again with it. 624 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 625 export ORIGINAL_CONFIG_SHELL 626 CONFIG_SHELL=/bin/ksh 627 export CONFIG_SHELL 628 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} 629 else 630 # Try using printf. 631 echo='printf %s\n' 632 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && 633 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && 634 test "X$echo_testing_string" = "X$echo_test_string"; then 635 # Cool, printf works 636 : 637 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 638 test "X$echo_testing_string" = 'X\t' && 639 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 640 test "X$echo_testing_string" = "X$echo_test_string"; then 641 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL 642 export CONFIG_SHELL 643 SHELL="$CONFIG_SHELL" 644 export SHELL 645 echo="$CONFIG_SHELL $0 --fallback-echo" 646 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 647 test "X$echo_testing_string" = 'X\t' && 648 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 649 test "X$echo_testing_string" = "X$echo_test_string"; then 650 echo="$CONFIG_SHELL $0 --fallback-echo" 651 else 652 # maybe with a smaller string... 653 prev=: 654 655 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do 656 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null 657 then 658 break 659 fi 660 prev="$cmd" 661 done 662 663 if test "$prev" != 'sed 50q "$0"'; then 664 echo_test_string=`eval $prev` 665 export echo_test_string 666 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} 667 else 668 # Oops. We lost completely, so just stick with echo. 669 echo=echo 670 fi 671 fi 672 fi 673 fi 674 fi 675 fi 676 677 # Copy echo and quote the copy suitably for passing to libtool from 678 # the Makefile, instead of quoting the original, which is used later. 679 ECHO=$echo 680 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then 681 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" 682 fi 683 684 685 686 687 tagnames=${tagnames+${tagnames},}CXX 688 689 tagnames=${tagnames+${tagnames},}F77 690 691 exec 7<&0 </dev/null 6>&1 692 693 # Name of the host. 694 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 695 # so uname gets run too. 696 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 697 698 # 699 # Initializations. 700 # 701 ac_default_prefix=/usr/local 702 ac_clean_files= 703 ac_config_libobj_dir=. 704 LIBOBJS= 705 cross_compiling=no 706 subdirs= 707 MFLAGS= 708 MAKEFLAGS= 709 SHELL=${CONFIG_SHELL-/bin/sh} 710 711 # Identity of this package. 712 PACKAGE_NAME= 713 PACKAGE_TARNAME= 714 PACKAGE_VERSION= 715 PACKAGE_STRING= 716 PACKAGE_BUGREPORT= 717 718 ac_unique_file="src/control/control.c" 719 ac_default_prefix=/usr 720 # Factoring default headers for most tests. 721 ac_includes_default="\ 722 #include <stdio.h> 723 #if HAVE_SYS_TYPES_H 724 # include <sys/types.h> 725 #endif 726 #if HAVE_SYS_STAT_H 727 # include <sys/stat.h> 728 #endif 729 #if STDC_HEADERS 730 # include <stdlib.h> 731 # include <stddef.h> 732 #else 733 # if HAVE_STDLIB_H 734 # include <stdlib.h> 735 # endif 736 #endif 737 #if HAVE_STRING_H 738 # if !STDC_HEADERS && HAVE_MEMORY_H 739 # include <memory.h> 740 # endif 741 # include <string.h> 742 #endif 743 #if HAVE_STRINGS_H 744 # include <strings.h> 745 #endif 746 #if HAVE_INTTYPES_H 747 # include <inttypes.h> 748 #endif 749 #if HAVE_STDINT_H 750 # include <stdint.h> 751 #endif 752 #if HAVE_UNISTD_H 753 # include <unistd.h> 754 #endif" 755 756 ac_subst_vars='SHELL 757 PATH_SEPARATOR 758 PACKAGE_NAME 759 PACKAGE_TARNAME 760 PACKAGE_VERSION 761 PACKAGE_STRING 762 PACKAGE_BUGREPORT 763 exec_prefix 764 prefix 765 program_transform_name 766 bindir 767 sbindir 768 libexecdir 769 datarootdir 770 datadir 771 sysconfdir 772 sharedstatedir 773 localstatedir 774 includedir 775 oldincludedir 776 docdir 777 infodir 778 htmldir 779 dvidir 780 pdfdir 781 psdir 782 libdir 783 localedir 784 mandir 785 DEFS 786 ECHO_C 787 ECHO_N 788 ECHO_T 789 LIBS 790 build_alias 791 host_alias 792 target_alias 793 build 794 build_cpu 795 build_vendor 796 build_os 797 host 798 host_cpu 799 host_vendor 800 host_os 801 INSTALL_PROGRAM 802 INSTALL_SCRIPT 803 INSTALL_DATA 804 CYGPATH_W 805 PACKAGE 806 VERSION 807 ACLOCAL 808 AUTOCONF 809 AUTOMAKE 810 AUTOHEADER 811 MAKEINFO 812 install_sh 813 STRIP 814 INSTALL_STRIP_PROGRAM 815 mkdir_p 816 AWK 817 SET_MAKE 818 am__leading_dot 819 AMTAR 820 am__tar 821 am__untar 822 INSTALL_M4_TRUE 823 INSTALL_M4_FALSE 824 CC 825 CFLAGS 826 LDFLAGS 827 CPPFLAGS 828 ac_ct_CC 829 EXEEXT 830 OBJEXT 831 DEPDIR 832 am__include 833 am__quote 834 AMDEP_TRUE 835 AMDEP_FALSE 836 AMDEPBACKSLASH 837 CCDEPMODE 838 am__fastdepCC_TRUE 839 am__fastdepCC_FALSE 840 CPP 841 LN_S 842 GREP 843 EGREP 844 ECHO 845 AR 846 RANLIB 847 CXX 848 CXXFLAGS 849 ac_ct_CXX 850 CXXDEPMODE 851 am__fastdepCXX_TRUE 852 am__fastdepCXX_FALSE 853 CXXCPP 854 F77 855 FFLAGS 856 ac_ct_F77 857 LIBTOOL 858 ALSA_HSEARCH_R_TRUE 859 ALSA_HSEARCH_R_FALSE 860 SND_LIB_VERSION 861 SND_LIB_MAJOR 862 SND_LIB_MINOR 863 SND_LIB_SUBMINOR 864 SND_LIB_EXTRAVER 865 LIBTOOL_VERSION_INFO 866 ALSA_CONFIG_DIR 867 ALSA_PLUGIN_DIR 868 VERSIONED_SYMBOLS_TRUE 869 VERSIONED_SYMBOLS_FALSE 870 SYMBOLIC_FUNCTIONS_TRUE 871 SYMBOLIC_FUNCTIONS_FALSE 872 SYMBOL_PREFIX 873 BUILD_MODULES_TRUE 874 BUILD_MODULES_FALSE 875 ALSA_DEPLIBS 876 KEEP_OLD_SYMBOLS_TRUE 877 KEEP_OLD_SYMBOLS_FALSE 878 PYTHON_LIBS 879 PYTHON_INCLUDES 880 BUILD_MIXER_TRUE 881 BUILD_MIXER_FALSE 882 BUILD_PCM_TRUE 883 BUILD_PCM_FALSE 884 BUILD_RAWMIDI_TRUE 885 BUILD_RAWMIDI_FALSE 886 BUILD_HWDEP_TRUE 887 BUILD_HWDEP_FALSE 888 BUILD_SEQ_TRUE 889 BUILD_SEQ_FALSE 890 BUILD_ALISP_TRUE 891 BUILD_ALISP_FALSE 892 BUILD_PYTHON_TRUE 893 BUILD_PYTHON_FALSE 894 BUILD_PCM_PLUGIN_TRUE 895 BUILD_PCM_PLUGIN_FALSE 896 BUILD_PCM_PLUGIN_COPY_TRUE 897 BUILD_PCM_PLUGIN_COPY_FALSE 898 BUILD_PCM_PLUGIN_LINEAR_TRUE 899 BUILD_PCM_PLUGIN_LINEAR_FALSE 900 BUILD_PCM_PLUGIN_ROUTE_TRUE 901 BUILD_PCM_PLUGIN_ROUTE_FALSE 902 BUILD_PCM_PLUGIN_MULAW_TRUE 903 BUILD_PCM_PLUGIN_MULAW_FALSE 904 BUILD_PCM_PLUGIN_ALAW_TRUE 905 BUILD_PCM_PLUGIN_ALAW_FALSE 906 BUILD_PCM_PLUGIN_ADPCM_TRUE 907 BUILD_PCM_PLUGIN_ADPCM_FALSE 908 BUILD_PCM_PLUGIN_RATE_TRUE 909 BUILD_PCM_PLUGIN_RATE_FALSE 910 BUILD_PCM_PLUGIN_PLUG_TRUE 911 BUILD_PCM_PLUGIN_PLUG_FALSE 912 BUILD_PCM_PLUGIN_MULTI_TRUE 913 BUILD_PCM_PLUGIN_MULTI_FALSE 914 BUILD_PCM_PLUGIN_SHM_TRUE 915 BUILD_PCM_PLUGIN_SHM_FALSE 916 BUILD_PCM_PLUGIN_FILE_TRUE 917 BUILD_PCM_PLUGIN_FILE_FALSE 918 BUILD_PCM_PLUGIN_NULL_TRUE 919 BUILD_PCM_PLUGIN_NULL_FALSE 920 BUILD_PCM_PLUGIN_EMPTY_TRUE 921 BUILD_PCM_PLUGIN_EMPTY_FALSE 922 BUILD_PCM_PLUGIN_SHARE_TRUE 923 BUILD_PCM_PLUGIN_SHARE_FALSE 924 BUILD_PCM_PLUGIN_METER_TRUE 925 BUILD_PCM_PLUGIN_METER_FALSE 926 BUILD_PCM_PLUGIN_HOOKS_TRUE 927 BUILD_PCM_PLUGIN_HOOKS_FALSE 928 BUILD_PCM_PLUGIN_LFLOAT_TRUE 929 BUILD_PCM_PLUGIN_LFLOAT_FALSE 930 BUILD_PCM_PLUGIN_LADSPA_TRUE 931 BUILD_PCM_PLUGIN_LADSPA_FALSE 932 BUILD_PCM_PLUGIN_DMIX_TRUE 933 BUILD_PCM_PLUGIN_DMIX_FALSE 934 BUILD_PCM_PLUGIN_DSHARE_TRUE 935 BUILD_PCM_PLUGIN_DSHARE_FALSE 936 BUILD_PCM_PLUGIN_DSNOOP_TRUE 937 BUILD_PCM_PLUGIN_DSNOOP_FALSE 938 BUILD_PCM_PLUGIN_ASYM_TRUE 939 BUILD_PCM_PLUGIN_ASYM_FALSE 940 BUILD_PCM_PLUGIN_IEC958_TRUE 941 BUILD_PCM_PLUGIN_IEC958_FALSE 942 BUILD_PCM_PLUGIN_SOFTVOL_TRUE 943 BUILD_PCM_PLUGIN_SOFTVOL_FALSE 944 BUILD_PCM_PLUGIN_EXTPLUG_TRUE 945 BUILD_PCM_PLUGIN_EXTPLUG_FALSE 946 BUILD_PCM_PLUGIN_IOPLUG_TRUE 947 BUILD_PCM_PLUGIN_IOPLUG_FALSE 948 BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE 949 BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE 950 BUILD_CTL_PLUGIN_TRUE 951 BUILD_CTL_PLUGIN_FALSE 952 BUILD_CTL_PLUGIN_SHM_TRUE 953 BUILD_CTL_PLUGIN_SHM_FALSE 954 BUILD_CTL_PLUGIN_EXT_TRUE 955 BUILD_CTL_PLUGIN_EXT_FALSE 956 LIBOBJS 957 LTLIBOBJS' 958 ac_subst_files='' 959 ac_precious_vars='build_alias 960 host_alias 961 target_alias 962 CC 963 CFLAGS 964 LDFLAGS 965 CPPFLAGS 966 CPP 967 CXX 968 CXXFLAGS 969 CCC 970 CXXCPP 971 F77 972 FFLAGS' 973 974 975 # Initialize some variables set by options. 976 ac_init_help= 977 ac_init_version=false 978 # The variables have the same names as the options, with 979 # dashes changed to underlines. 980 cache_file=/dev/null 981 exec_prefix=NONE 982 no_create= 983 no_recursion= 984 prefix=NONE 985 program_prefix=NONE 986 program_suffix=NONE 987 program_transform_name=s,x,x, 988 silent= 989 site= 990 srcdir= 991 verbose= 992 x_includes=NONE 993 x_libraries=NONE 994 995 # Installation directory options. 996 # These are left unexpanded so users can "make install exec_prefix=/foo" 997 # and all the variables that are supposed to be based on exec_prefix 998 # by default will actually change. 999 # Use braces instead of parens because sh, perl, etc. also accept them. 1000 # (The list follows the same order as the GNU Coding Standards.) 1001 bindir='${exec_prefix}/bin' 1002 sbindir='${exec_prefix}/sbin' 1003 libexecdir='${exec_prefix}/libexec' 1004 datarootdir='${prefix}/share' 1005 datadir='${datarootdir}' 1006 sysconfdir='${prefix}/etc' 1007 sharedstatedir='${prefix}/com' 1008 localstatedir='${prefix}/var' 1009 includedir='${prefix}/include' 1010 oldincludedir='/usr/include' 1011 docdir='${datarootdir}/doc/${PACKAGE}' 1012 infodir='${datarootdir}/info' 1013 htmldir='${docdir}' 1014 dvidir='${docdir}' 1015 pdfdir='${docdir}' 1016 psdir='${docdir}' 1017 libdir='${exec_prefix}/lib' 1018 localedir='${datarootdir}/locale' 1019 mandir='${datarootdir}/man' 1020 1021 ac_prev= 1022 ac_dashdash= 1023 for ac_option 1024 do 1025 # If the previous option needs an argument, assign it. 1026 if test -n "$ac_prev"; then 1027 eval $ac_prev=\$ac_option 1028 ac_prev= 1029 continue 1030 fi 1031 1032 case $ac_option in 1033 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1034 *) ac_optarg=yes ;; 1035 esac 1036 1037 # Accept the important Cygnus configure options, so we can diagnose typos. 1038 1039 case $ac_dashdash$ac_option in 1040 --) 1041 ac_dashdash=yes ;; 1042 1043 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1044 ac_prev=bindir ;; 1045 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1046 bindir=$ac_optarg ;; 1047 1048 -build | --build | --buil | --bui | --bu) 1049 ac_prev=build_alias ;; 1050 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1051 build_alias=$ac_optarg ;; 1052 1053 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1054 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1055 ac_prev=cache_file ;; 1056 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1057 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1058 cache_file=$ac_optarg ;; 1059 1060 --config-cache | -C) 1061 cache_file=config.cache ;; 1062 1063 -datadir | --datadir | --datadi | --datad) 1064 ac_prev=datadir ;; 1065 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1066 datadir=$ac_optarg ;; 1067 1068 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1069 | --dataroo | --dataro | --datar) 1070 ac_prev=datarootdir ;; 1071 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1072 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1073 datarootdir=$ac_optarg ;; 1074 1075 -disable-* | --disable-*) 1076 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1077 # Reject names that are not valid shell variable names. 1078 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 1079 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 1080 { (exit 1); exit 1; }; } 1081 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 1082 eval enable_$ac_feature=no ;; 1083 1084 -docdir | --docdir | --docdi | --doc | --do) 1085 ac_prev=docdir ;; 1086 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1087 docdir=$ac_optarg ;; 1088 1089 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1090 ac_prev=dvidir ;; 1091 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1092 dvidir=$ac_optarg ;; 1093 1094 -enable-* | --enable-*) 1095 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1096 # Reject names that are not valid shell variable names. 1097 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 1098 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 1099 { (exit 1); exit 1; }; } 1100 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 1101 eval enable_$ac_feature=\$ac_optarg ;; 1102 1103 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1104 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1105 | --exec | --exe | --ex) 1106 ac_prev=exec_prefix ;; 1107 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1108 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1109 | --exec=* | --exe=* | --ex=*) 1110 exec_prefix=$ac_optarg ;; 1111 1112 -gas | --gas | --ga | --g) 1113 # Obsolete; use --with-gas. 1114 with_gas=yes ;; 1115 1116 -help | --help | --hel | --he | -h) 1117 ac_init_help=long ;; 1118 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1119 ac_init_help=recursive ;; 1120 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1121 ac_init_help=short ;; 1122 1123 -host | --host | --hos | --ho) 1124 ac_prev=host_alias ;; 1125 -host=* | --host=* | --hos=* | --ho=*) 1126 host_alias=$ac_optarg ;; 1127 1128 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1129 ac_prev=htmldir ;; 1130 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1131 | --ht=*) 1132 htmldir=$ac_optarg ;; 1133 1134 -includedir | --includedir | --includedi | --included | --include \ 1135 | --includ | --inclu | --incl | --inc) 1136 ac_prev=includedir ;; 1137 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1138 | --includ=* | --inclu=* | --incl=* | --inc=*) 1139 includedir=$ac_optarg ;; 1140 1141 -infodir | --infodir | --infodi | --infod | --info | --inf) 1142 ac_prev=infodir ;; 1143 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1144 infodir=$ac_optarg ;; 1145 1146 -libdir | --libdir | --libdi | --libd) 1147 ac_prev=libdir ;; 1148 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1149 libdir=$ac_optarg ;; 1150 1151 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1152 | --libexe | --libex | --libe) 1153 ac_prev=libexecdir ;; 1154 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1155 | --libexe=* | --libex=* | --libe=*) 1156 libexecdir=$ac_optarg ;; 1157 1158 -localedir | --localedir | --localedi | --localed | --locale) 1159 ac_prev=localedir ;; 1160 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1161 localedir=$ac_optarg ;; 1162 1163 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1164 | --localstate | --localstat | --localsta | --localst | --locals) 1165 ac_prev=localstatedir ;; 1166 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1167 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1168 localstatedir=$ac_optarg ;; 1169 1170 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1171 ac_prev=mandir ;; 1172 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1173 mandir=$ac_optarg ;; 1174 1175 -nfp | --nfp | --nf) 1176 # Obsolete; use --without-fp. 1177 with_fp=no ;; 1178 1179 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1180 | --no-cr | --no-c | -n) 1181 no_create=yes ;; 1182 1183 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1184 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1185 no_recursion=yes ;; 1186 1187 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1188 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1189 | --oldin | --oldi | --old | --ol | --o) 1190 ac_prev=oldincludedir ;; 1191 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1192 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1193 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1194 oldincludedir=$ac_optarg ;; 1195 1196 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1197 ac_prev=prefix ;; 1198 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1199 prefix=$ac_optarg ;; 1200 1201 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1202 | --program-pre | --program-pr | --program-p) 1203 ac_prev=program_prefix ;; 1204 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1205 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1206 program_prefix=$ac_optarg ;; 1207 1208 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1209 | --program-suf | --program-su | --program-s) 1210 ac_prev=program_suffix ;; 1211 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1212 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1213 program_suffix=$ac_optarg ;; 1214 1215 -program-transform-name | --program-transform-name \ 1216 | --program-transform-nam | --program-transform-na \ 1217 | --program-transform-n | --program-transform- \ 1218 | --program-transform | --program-transfor \ 1219 | --program-transfo | --program-transf \ 1220 | --program-trans | --program-tran \ 1221 | --progr-tra | --program-tr | --program-t) 1222 ac_prev=program_transform_name ;; 1223 -program-transform-name=* | --program-transform-name=* \ 1224 | --program-transform-nam=* | --program-transform-na=* \ 1225 | --program-transform-n=* | --program-transform-=* \ 1226 | --program-transform=* | --program-transfor=* \ 1227 | --program-transfo=* | --program-transf=* \ 1228 | --program-trans=* | --program-tran=* \ 1229 | --progr-tra=* | --program-tr=* | --program-t=*) 1230 program_transform_name=$ac_optarg ;; 1231 1232 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1233 ac_prev=pdfdir ;; 1234 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1235 pdfdir=$ac_optarg ;; 1236 1237 -psdir | --psdir | --psdi | --psd | --ps) 1238 ac_prev=psdir ;; 1239 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1240 psdir=$ac_optarg ;; 1241 1242 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1243 | -silent | --silent | --silen | --sile | --sil) 1244 silent=yes ;; 1245 1246 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1247 ac_prev=sbindir ;; 1248 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1249 | --sbi=* | --sb=*) 1250 sbindir=$ac_optarg ;; 1251 1252 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1253 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1254 | --sharedst | --shareds | --shared | --share | --shar \ 1255 | --sha | --sh) 1256 ac_prev=sharedstatedir ;; 1257 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1258 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1259 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1260 | --sha=* | --sh=*) 1261 sharedstatedir=$ac_optarg ;; 1262 1263 -site | --site | --sit) 1264 ac_prev=site ;; 1265 -site=* | --site=* | --sit=*) 1266 site=$ac_optarg ;; 1267 1268 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1269 ac_prev=srcdir ;; 1270 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1271 srcdir=$ac_optarg ;; 1272 1273 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1274 | --syscon | --sysco | --sysc | --sys | --sy) 1275 ac_prev=sysconfdir ;; 1276 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1277 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1278 sysconfdir=$ac_optarg ;; 1279 1280 -target | --target | --targe | --targ | --tar | --ta | --t) 1281 ac_prev=target_alias ;; 1282 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1283 target_alias=$ac_optarg ;; 1284 1285 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1286 verbose=yes ;; 1287 1288 -version | --version | --versio | --versi | --vers | -V) 1289 ac_init_version=: ;; 1290 1291 -with-* | --with-*) 1292 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1293 # Reject names that are not valid shell variable names. 1294 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 1295 { echo "$as_me: error: invalid package name: $ac_package" >&2 1296 { (exit 1); exit 1; }; } 1297 ac_package=`echo $ac_package| sed 's/-/_/g'` 1298 eval with_$ac_package=\$ac_optarg ;; 1299 1300 -without-* | --without-*) 1301 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1302 # Reject names that are not valid shell variable names. 1303 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 1304 { echo "$as_me: error: invalid package name: $ac_package" >&2 1305 { (exit 1); exit 1; }; } 1306 ac_package=`echo $ac_package | sed 's/-/_/g'` 1307 eval with_$ac_package=no ;; 1308 1309 --x) 1310 # Obsolete; use --with-x. 1311 with_x=yes ;; 1312 1313 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1314 | --x-incl | --x-inc | --x-in | --x-i) 1315 ac_prev=x_includes ;; 1316 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1317 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1318 x_includes=$ac_optarg ;; 1319 1320 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1321 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1322 ac_prev=x_libraries ;; 1323 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1324 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1325 x_libraries=$ac_optarg ;; 1326 1327 -*) { echo "$as_me: error: unrecognized option: $ac_option 1328 Try \`$0 --help' for more information." >&2 1329 { (exit 1); exit 1; }; } 1330 ;; 1331 1332 *=*) 1333 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1334 # Reject names that are not valid shell variable names. 1335 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1336 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1337 { (exit 1); exit 1; }; } 1338 eval $ac_envvar=\$ac_optarg 1339 export $ac_envvar ;; 1340 1341 *) 1342 # FIXME: should be removed in autoconf 3.0. 1343 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1344 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1345 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1346 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1347 ;; 1348 1349 esac 1350 done 1351 1352 if test -n "$ac_prev"; then 1353 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1354 { echo "$as_me: error: missing argument to $ac_option" >&2 1355 { (exit 1); exit 1; }; } 1356 fi 1357 1358 # Be sure to have absolute directory names. 1359 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1360 datadir sysconfdir sharedstatedir localstatedir includedir \ 1361 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1362 libdir localedir mandir 1363 do 1364 eval ac_val=\$$ac_var 1365 case $ac_val in 1366 [\\/$]* | ?:[\\/]* ) continue;; 1367 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1368 esac 1369 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1370 { (exit 1); exit 1; }; } 1371 done 1372 1373 # There might be people who depend on the old broken behavior: `$host' 1374 # used to hold the argument of --host etc. 1375 # FIXME: To remove some day. 1376 build=$build_alias 1377 host=$host_alias 1378 target=$target_alias 1379 1380 # FIXME: To remove some day. 1381 if test "x$host_alias" != x; then 1382 if test "x$build_alias" = x; then 1383 cross_compiling=maybe 1384 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1385 If a cross compiler is detected then cross compile mode will be used." >&2 1386 elif test "x$build_alias" != "x$host_alias"; then 1387 cross_compiling=yes 1388 fi 1389 fi 1390 1391 ac_tool_prefix= 1392 test -n "$host_alias" && ac_tool_prefix=$host_alias- 1393 1394 test "$silent" = yes && exec 6>/dev/null 1395 1396 1397 ac_pwd=`pwd` && test -n "$ac_pwd" && 1398 ac_ls_di=`ls -di .` && 1399 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1400 { echo "$as_me: error: Working directory cannot be determined" >&2 1401 { (exit 1); exit 1; }; } 1402 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1403 { echo "$as_me: error: pwd does not report name of working directory" >&2 1404 { (exit 1); exit 1; }; } 1405 1406 1407 # Find the source files, if location was not specified. 1408 if test -z "$srcdir"; then 1409 ac_srcdir_defaulted=yes 1410 # Try the directory containing this script, then the parent directory. 1411 ac_confdir=`$as_dirname -- "$0" || 1412 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1413 X"$0" : 'X\(//\)[^/]' \| \ 1414 X"$0" : 'X\(//\)$' \| \ 1415 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1416 echo X"$0" | 1417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1418 s//\1/ 1419 q 1420 } 1421 /^X\(\/\/\)[^/].*/{ 1422 s//\1/ 1423 q 1424 } 1425 /^X\(\/\/\)$/{ 1426 s//\1/ 1427 q 1428 } 1429 /^X\(\/\).*/{ 1430 s//\1/ 1431 q 1432 } 1433 s/.*/./; q'` 1434 srcdir=$ac_confdir 1435 if test ! -r "$srcdir/$ac_unique_file"; then 1436 srcdir=.. 1437 fi 1438 else 1439 ac_srcdir_defaulted=no 1440 fi 1441 if test ! -r "$srcdir/$ac_unique_file"; then 1442 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1443 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1444 { (exit 1); exit 1; }; } 1445 fi 1446 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1447 ac_abs_confdir=`( 1448 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1449 { (exit 1); exit 1; }; } 1450 pwd)` 1451 # When building in place, set srcdir=. 1452 if test "$ac_abs_confdir" = "$ac_pwd"; then 1453 srcdir=. 1454 fi 1455 # Remove unnecessary trailing slashes from srcdir. 1456 # Double slashes in file names in object file debugging info 1457 # mess up M-x gdb in Emacs. 1458 case $srcdir in 1459 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1460 esac 1461 for ac_var in $ac_precious_vars; do 1462 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1463 eval ac_env_${ac_var}_value=\$${ac_var} 1464 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1465 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1466 done 1467 1468 # 1469 # Report the --help message. 1470 # 1471 if test "$ac_init_help" = "long"; then 1472 # Omit some internal or obsolete options to make the list less imposing. 1473 # This message is too long to be a string in the A/UX 3.1 sh. 1474 cat <<_ACEOF 1475 \`configure' configures this package to adapt to many kinds of systems. 1476 1477 Usage: $0 [OPTION]... [VAR=VALUE]... 1478 1479 To assign environment variables (e.g., CC, CFLAGS...), specify them as 1480 VAR=VALUE. See below for descriptions of some of the useful variables. 1481 1482 Defaults for the options are specified in brackets. 1483 1484 Configuration: 1485 -h, --help display this help and exit 1486 --help=short display options specific to this package 1487 --help=recursive display the short help of all the included packages 1488 -V, --version display version information and exit 1489 -q, --quiet, --silent do not print \`checking...' messages 1490 --cache-file=FILE cache test results in FILE [disabled] 1491 -C, --config-cache alias for \`--cache-file=config.cache' 1492 -n, --no-create do not create output files 1493 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1494 1495 Installation directories: 1496 --prefix=PREFIX install architecture-independent files in PREFIX 1497 [$ac_default_prefix] 1498 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1499 [PREFIX] 1500 1501 By default, \`make install' will install all the files in 1502 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1503 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1504 for instance \`--prefix=\$HOME'. 1505 1506 For better control, use the options below. 1507 1508 Fine tuning of the installation directories: 1509 --bindir=DIR user executables [EPREFIX/bin] 1510 --sbindir=DIR system admin executables [EPREFIX/sbin] 1511 --libexecdir=DIR program executables [EPREFIX/libexec] 1512 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1513 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1514 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1515 --libdir=DIR object code libraries [EPREFIX/lib] 1516 --includedir=DIR C header files [PREFIX/include] 1517 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1518 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1519 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1520 --infodir=DIR info documentation [DATAROOTDIR/info] 1521 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1522 --mandir=DIR man documentation [DATAROOTDIR/man] 1523 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1524 --htmldir=DIR html documentation [DOCDIR] 1525 --dvidir=DIR dvi documentation [DOCDIR] 1526 --pdfdir=DIR pdf documentation [DOCDIR] 1527 --psdir=DIR ps documentation [DOCDIR] 1528 _ACEOF 1529 1530 cat <<\_ACEOF 1531 1532 Program names: 1533 --program-prefix=PREFIX prepend PREFIX to installed program names 1534 --program-suffix=SUFFIX append SUFFIX to installed program names 1535 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1536 1537 System types: 1538 --build=BUILD configure for building on BUILD [guessed] 1539 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1540 _ACEOF 1541 fi 1542 1543 if test -n "$ac_init_help"; then 1544 1545 cat <<\_ACEOF 1546 1547 Optional Features: 1548 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1549 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1550 --disable-dependency-tracking speeds up one-time build 1551 --enable-dependency-tracking do not reject slow dependency extractors 1552 --enable-static[=PKGS] build static libraries [default=no] 1553 --enable-shared[=PKGS] build shared libraries [default=yes] 1554 --enable-fast-install[=PKGS] 1555 optimize for fast installation [default=yes] 1556 --disable-libtool-lock avoid locking (might break parallel builds) 1557 --enable-symbolic-functions 1558 use -Bsymbolic-functions option if available 1559 (optmization for size and speed) 1560 --enable-debug enable assert call at the default error message 1561 handler 1562 --enable-resmgr support resmgr (optional) 1563 --disable-aload disable reading /dev/aload* 1564 --disable-mixer disable the mixer component 1565 --disable-pcm disable the PCM component 1566 --disable-rawmidi disable the raw MIDI component 1567 --disable-hwdep disable the hwdep component 1568 --disable-seq disable the sequencer component 1569 --disable-alisp disable the alisp component 1570 --disable-old-symbols disable old obsoleted symbols 1571 --disable-python disable the python components 1572 1573 Optional Packages: 1574 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1575 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1576 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1577 --with-pic try to use only PIC/non-PIC objects [default=use 1578 both] 1579 --with-tags[=TAGS] include additional configurations [automatic] 1580 --with-configdir=dir path where ALSA config files are stored 1581 --with-plugindir=dir path where ALSA plugin files are stored 1582 --with-versioned shared library will be compiled with versioned 1583 symbols (default = yes) 1584 --with-debug library will be compiled with asserts (default = 1585 yes) 1586 --with-tmpdir=directory directory to put tmp socket files (/tmp) 1587 --with-softfloat do you have floating point unit on this machine? 1588 (optional) 1589 --with-libdl Use libdl for plugins (default = yes) 1590 --with-pthread Use pthread (default = yes) 1591 --with-librt Use librt for monotonic clock (default = yes) 1592 --with-alsa-devdir=dir directory with ALSA device files (default /dev/snd) 1593 --with-aload-devdir=dir directory with aload* device files (default /dev) 1594 --with-pythonlibs=ldflags 1595 specify python libraries (-lpthread -lm -ldl 1596 -lpython2.4) 1597 --with-pythonincludes=Cflags 1598 specify python C header files 1599 (-I/usr/include/python) 1600 --with-pcm-plugins=<list> 1601 build PCM plugins (default = all) 1602 --with-ctl-plugins=<list> 1603 build control plugins (default = all) 1604 1605 Some influential environment variables: 1606 CC C compiler command 1607 CFLAGS C compiler flags 1608 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1609 nonstandard directory <lib dir> 1610 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1611 you have headers in a nonstandard directory <include dir> 1612 CPP C preprocessor 1613 CXX C++ compiler command 1614 CXXFLAGS C++ compiler flags 1615 CXXCPP C++ preprocessor 1616 F77 Fortran 77 compiler command 1617 FFLAGS Fortran 77 compiler flags 1618 1619 Use these variables to override the choices made by `configure' or to help 1620 it to find libraries and programs with nonstandard names/locations. 1621 1622 _ACEOF 1623 ac_status=$? 1624 fi 1625 1626 if test "$ac_init_help" = "recursive"; then 1627 # If there are subdirs, report their specific --help. 1628 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1629 test -d "$ac_dir" || continue 1630 ac_builddir=. 1631 1632 case "$ac_dir" in 1633 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1634 *) 1635 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1636 # A ".." for each directory in $ac_dir_suffix. 1637 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1638 case $ac_top_builddir_sub in 1639 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1640 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1641 esac ;; 1642 esac 1643 ac_abs_top_builddir=$ac_pwd 1644 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1645 # for backward compatibility: 1646 ac_top_builddir=$ac_top_build_prefix 1647 1648 case $srcdir in 1649 .) # We are building in place. 1650 ac_srcdir=. 1651 ac_top_srcdir=$ac_top_builddir_sub 1652 ac_abs_top_srcdir=$ac_pwd ;; 1653 [\\/]* | ?:[\\/]* ) # Absolute name. 1654 ac_srcdir=$srcdir$ac_dir_suffix; 1655 ac_top_srcdir=$srcdir 1656 ac_abs_top_srcdir=$srcdir ;; 1657 *) # Relative name. 1658 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1659 ac_top_srcdir=$ac_top_build_prefix$srcdir 1660 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1661 esac 1662 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1663 1664 cd "$ac_dir" || { ac_status=$?; continue; } 1665 # Check for guested configure. 1666 if test -f "$ac_srcdir/configure.gnu"; then 1667 echo && 1668 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1669 elif test -f "$ac_srcdir/configure"; then 1670 echo && 1671 $SHELL "$ac_srcdir/configure" --help=recursive 1672 else 1673 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1674 fi || ac_status=$? 1675 cd "$ac_pwd" || { ac_status=$?; break; } 1676 done 1677 fi 1678 1679 test -n "$ac_init_help" && exit $ac_status 1680 if $ac_init_version; then 1681 cat <<\_ACEOF 1682 configure 1683 generated by GNU Autoconf 2.60 1684 1685 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1686 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1687 This configure script is free software; the Free Software Foundation 1688 gives unlimited permission to copy, distribute and modify it. 1689 _ACEOF 1690 exit 1691 fi 1692 cat >config.log <<_ACEOF 1693 This file contains any messages produced by compilers while 1694 running configure, to aid debugging if configure makes a mistake. 1695 1696 It was created by $as_me, which was 1697 generated by GNU Autoconf 2.60. Invocation command line was 1698 1699 $ $0 $@ 1700 1701 _ACEOF 1702 exec 5>>config.log 1703 { 1704 cat <<_ASUNAME 1705 ## --------- ## 1706 ## Platform. ## 1707 ## --------- ## 1708 1709 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1710 uname -m = `(uname -m) 2>/dev/null || echo unknown` 1711 uname -r = `(uname -r) 2>/dev/null || echo unknown` 1712 uname -s = `(uname -s) 2>/dev/null || echo unknown` 1713 uname -v = `(uname -v) 2>/dev/null || echo unknown` 1714 1715 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1716 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1717 1718 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1719 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1720 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1721 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1722 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1723 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1724 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1725 1726 _ASUNAME 1727 1728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1729 for as_dir in $PATH 1730 do 1731 IFS=$as_save_IFS 1732 test -z "$as_dir" && as_dir=. 1733 echo "PATH: $as_dir" 1734 done 1735 IFS=$as_save_IFS 1736 1737 } >&5 1738 1739 cat >&5 <<_ACEOF 1740 1741 1742 ## ----------- ## 1743 ## Core tests. ## 1744 ## ----------- ## 1745 1746 _ACEOF 1747 1748 1749 # Keep a trace of the command line. 1750 # Strip out --no-create and --no-recursion so they do not pile up. 1751 # Strip out --silent because we don't want to record it for future runs. 1752 # Also quote any args containing shell meta-characters. 1753 # Make two passes to allow for proper duplicate-argument suppression. 1754 ac_configure_args= 1755 ac_configure_args0= 1756 ac_configure_args1= 1757 ac_must_keep_next=false 1758 for ac_pass in 1 2 1759 do 1760 for ac_arg 1761 do 1762 case $ac_arg in 1763 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1764 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1765 | -silent | --silent | --silen | --sile | --sil) 1766 continue ;; 1767 *\'*) 1768 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1769 esac 1770 case $ac_pass in 1771 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1772 2) 1773 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1774 if test $ac_must_keep_next = true; then 1775 ac_must_keep_next=false # Got value, back to normal. 1776 else 1777 case $ac_arg in 1778 *=* | --config-cache | -C | -disable-* | --disable-* \ 1779 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1780 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1781 | -with-* | --with-* | -without-* | --without-* | --x) 1782 case "$ac_configure_args0 " in 1783 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1784 esac 1785 ;; 1786 -* ) ac_must_keep_next=true ;; 1787 esac 1788 fi 1789 ac_configure_args="$ac_configure_args '$ac_arg'" 1790 ;; 1791 esac 1792 done 1793 done 1794 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1795 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1796 1797 # When interrupted or exit'd, cleanup temporary files, and complete 1798 # config.log. We remove comments because anyway the quotes in there 1799 # would cause problems or look ugly. 1800 # WARNING: Use '\'' to represent an apostrophe within the trap. 1801 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1802 trap 'exit_status=$? 1803 # Save into config.log some information that might help in debugging. 1804 { 1805 echo 1806 1807 cat <<\_ASBOX 1808 ## ---------------- ## 1809 ## Cache variables. ## 1810 ## ---------------- ## 1811 _ASBOX 1812 echo 1813 # The following way of writing the cache mishandles newlines in values, 1814 ( 1815 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1816 eval ac_val=\$$ac_var 1817 case $ac_val in #( 1818 *${as_nl}*) 1819 case $ac_var in #( 1820 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1821 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1822 esac 1823 case $ac_var in #( 1824 _ | IFS | as_nl) ;; #( 1825 *) $as_unset $ac_var ;; 1826 esac ;; 1827 esac 1828 done 1829 (set) 2>&1 | 1830 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1831 *${as_nl}ac_space=\ *) 1832 sed -n \ 1833 "s/'\''/'\''\\\\'\'''\''/g; 1834 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1835 ;; #( 1836 *) 1837 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1838 ;; 1839 esac | 1840 sort 1841 ) 1842 echo 1843 1844 cat <<\_ASBOX 1845 ## ----------------- ## 1846 ## Output variables. ## 1847 ## ----------------- ## 1848 _ASBOX 1849 echo 1850 for ac_var in $ac_subst_vars 1851 do 1852 eval ac_val=\$$ac_var 1853 case $ac_val in 1854 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1855 esac 1856 echo "$ac_var='\''$ac_val'\''" 1857 done | sort 1858 echo 1859 1860 if test -n "$ac_subst_files"; then 1861 cat <<\_ASBOX 1862 ## ------------------- ## 1863 ## File substitutions. ## 1864 ## ------------------- ## 1865 _ASBOX 1866 echo 1867 for ac_var in $ac_subst_files 1868 do 1869 eval ac_val=\$$ac_var 1870 case $ac_val in 1871 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1872 esac 1873 echo "$ac_var='\''$ac_val'\''" 1874 done | sort 1875 echo 1876 fi 1877 1878 if test -s confdefs.h; then 1879 cat <<\_ASBOX 1880 ## ----------- ## 1881 ## confdefs.h. ## 1882 ## ----------- ## 1883 _ASBOX 1884 echo 1885 cat confdefs.h 1886 echo 1887 fi 1888 test "$ac_signal" != 0 && 1889 echo "$as_me: caught signal $ac_signal" 1890 echo "$as_me: exit $exit_status" 1891 } >&5 1892 rm -f core *.core core.conftest.* && 1893 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1894 exit $exit_status 1895 ' 0 1896 for ac_signal in 1 2 13 15; do 1897 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1898 done 1899 ac_signal=0 1900 1901 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1902 rm -f -r conftest* confdefs.h 1903 1904 # Predefined preprocessor variables. 1905 1906 cat >>confdefs.h <<_ACEOF 1907 #define PACKAGE_NAME "$PACKAGE_NAME" 1908 _ACEOF 1909 1910 1911 cat >>confdefs.h <<_ACEOF 1912 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1913 _ACEOF 1914 1915 1916 cat >>confdefs.h <<_ACEOF 1917 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1918 _ACEOF 1919 1920 1921 cat >>confdefs.h <<_ACEOF 1922 #define PACKAGE_STRING "$PACKAGE_STRING" 1923 _ACEOF 1924 1925 1926 cat >>confdefs.h <<_ACEOF 1927 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1928 _ACEOF 1929 1930 1931 # Let the site file select an alternate cache file if it wants to. 1932 # Prefer explicitly selected file to automatically selected ones. 1933 if test -n "$CONFIG_SITE"; then 1934 set x "$CONFIG_SITE" 1935 elif test "x$prefix" != xNONE; then 1936 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1937 else 1938 set x "$ac_default_prefix/share/config.site" \ 1939 "$ac_default_prefix/etc/config.site" 1940 fi 1941 shift 1942 for ac_site_file 1943 do 1944 if test -r "$ac_site_file"; then 1945 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1946 echo "$as_me: loading site script $ac_site_file" >&6;} 1947 sed 's/^/| /' "$ac_site_file" >&5 1948 . "$ac_site_file" 1949 fi 1950 done 1951 1952 if test -r "$cache_file"; then 1953 # Some versions of bash will fail to source /dev/null (special 1954 # files actually), so we avoid doing that. 1955 if test -f "$cache_file"; then 1956 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1957 echo "$as_me: loading cache $cache_file" >&6;} 1958 case $cache_file in 1959 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1960 *) . "./$cache_file";; 1961 esac 1962 fi 1963 else 1964 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1965 echo "$as_me: creating cache $cache_file" >&6;} 1966 >$cache_file 1967 fi 1968 1969 # Check that the precious variables saved in the cache have kept the same 1970 # value. 1971 ac_cache_corrupted=false 1972 for ac_var in $ac_precious_vars; do 1973 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1974 eval ac_new_set=\$ac_env_${ac_var}_set 1975 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1976 eval ac_new_val=\$ac_env_${ac_var}_value 1977 case $ac_old_set,$ac_new_set in 1978 set,) 1979 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1980 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1981 ac_cache_corrupted=: ;; 1982 ,set) 1983 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1984 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1985 ac_cache_corrupted=: ;; 1986 ,);; 1987 *) 1988 if test "x$ac_old_val" != "x$ac_new_val"; then 1989 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1990 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1991 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1992 echo "$as_me: former value: $ac_old_val" >&2;} 1993 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1994 echo "$as_me: current value: $ac_new_val" >&2;} 1995 ac_cache_corrupted=: 1996 fi;; 1997 esac 1998 # Pass precious variables to config.status. 1999 if test "$ac_new_set" = set; then 2000 case $ac_new_val in 2001 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2002 *) ac_arg=$ac_var=$ac_new_val ;; 2003 esac 2004 case " $ac_configure_args " in 2005 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2006 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2007 esac 2008 fi 2009 done 2010 if $ac_cache_corrupted; then 2011 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 2012 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2013 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 2014 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 2015 { (exit 1); exit 1; }; } 2016 fi 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 ac_ext=c 2035 ac_cpp='$CPP $CPPFLAGS' 2036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2038 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2039 2040 2041 2042 case m4 in 2043 [\\/]* | ?:[\\/]* ) ac_macro_dir=m4 ;; 2044 *) ac_macro_dir=$srcdir/m4 ;; 2045 esac 2046 test -d "$ac_macro_dir" || 2047 { { echo "$as_me:$LINENO: error: cannot find macro directory \`m4'" >&5 2048 echo "$as_me: error: cannot find macro directory \`m4'" >&2;} 2049 { (exit 1); exit 1; }; } 2050 2051 2052 ac_aux_dir= 2053 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2054 if test -f "$ac_dir/install-sh"; then 2055 ac_aux_dir=$ac_dir 2056 ac_install_sh="$ac_aux_dir/install-sh -c" 2057 break 2058 elif test -f "$ac_dir/install.sh"; then 2059 ac_aux_dir=$ac_dir 2060 ac_install_sh="$ac_aux_dir/install.sh -c" 2061 break 2062 elif test -f "$ac_dir/shtool"; then 2063 ac_aux_dir=$ac_dir 2064 ac_install_sh="$ac_aux_dir/shtool install -c" 2065 break 2066 fi 2067 done 2068 if test -z "$ac_aux_dir"; then 2069 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 2070 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 2071 { (exit 1); exit 1; }; } 2072 fi 2073 2074 # These three variables are undocumented and unsupported, 2075 # and are intended to be withdrawn in a future Autoconf release. 2076 # They can cause serious problems if a builder's source tree is in a directory 2077 # whose full name contains unusual characters. 2078 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2079 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2080 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2081 2082 2083 # Make sure we can run config.sub. 2084 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2085 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 2086 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 2087 { (exit 1); exit 1; }; } 2088 2089 { echo "$as_me:$LINENO: checking build system type" >&5 2090 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 2091 if test "${ac_cv_build+set}" = set; then 2092 echo $ECHO_N "(cached) $ECHO_C" >&6 2093 else 2094 ac_build_alias=$build_alias 2095 test "x$ac_build_alias" = x && 2096 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2097 test "x$ac_build_alias" = x && 2098 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 2099 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 2100 { (exit 1); exit 1; }; } 2101 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2102 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 2103 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 2104 { (exit 1); exit 1; }; } 2105 2106 fi 2107 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 2108 echo "${ECHO_T}$ac_cv_build" >&6; } 2109 case $ac_cv_build in 2110 *-*-*) ;; 2111 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 2112 echo "$as_me: error: invalid value of canonical build" >&2;} 2113 { (exit 1); exit 1; }; };; 2114 esac 2115 build=$ac_cv_build 2116 ac_save_IFS=$IFS; IFS='-' 2117 set x $ac_cv_build 2118 shift 2119 build_cpu=$1 2120 build_vendor=$2 2121 shift; shift 2122 # Remember, the first character of IFS is used to create $*, 2123 # except with old shells: 2124 build_os=$* 2125 IFS=$ac_save_IFS 2126 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2127 2128 2129 { echo "$as_me:$LINENO: checking host system type" >&5 2130 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 2131 if test "${ac_cv_host+set}" = set; then 2132 echo $ECHO_N "(cached) $ECHO_C" >&6 2133 else 2134 if test "x$host_alias" = x; then 2135 ac_cv_host=$ac_cv_build 2136 else 2137 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2138 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 2139 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 2140 { (exit 1); exit 1; }; } 2141 fi 2142 2143 fi 2144 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 2145 echo "${ECHO_T}$ac_cv_host" >&6; } 2146 case $ac_cv_host in 2147 *-*-*) ;; 2148 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 2149 echo "$as_me: error: invalid value of canonical host" >&2;} 2150 { (exit 1); exit 1; }; };; 2151 esac 2152 host=$ac_cv_host 2153 ac_save_IFS=$IFS; IFS='-' 2154 set x $ac_cv_host 2155 shift 2156 host_cpu=$1 2157 host_vendor=$2 2158 shift; shift 2159 # Remember, the first character of IFS is used to create $*, 2160 # except with old shells: 2161 host_os=$* 2162 IFS=$ac_save_IFS 2163 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2164 2165 2166 am__api_version="1.9" 2167 # Find a good install program. We prefer a C program (faster), 2168 # so one script is as good as another. But avoid the broken or 2169 # incompatible versions: 2170 # SysV /etc/install, /usr/sbin/install 2171 # SunOS /usr/etc/install 2172 # IRIX /sbin/install 2173 # AIX /bin/install 2174 # AmigaOS /C/install, which installs bootblocks on floppy discs 2175 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2176 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2177 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2178 # OS/2's system install, which has a completely different semantic 2179 # ./install, which can be erroneously created by make from ./install.sh. 2180 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2181 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 2182 if test -z "$INSTALL"; then 2183 if test "${ac_cv_path_install+set}" = set; then 2184 echo $ECHO_N "(cached) $ECHO_C" >&6 2185 else 2186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2187 for as_dir in $PATH 2188 do 2189 IFS=$as_save_IFS 2190 test -z "$as_dir" && as_dir=. 2191 # Account for people who put trailing slashes in PATH elements. 2192 case $as_dir/ in 2193 ./ | .// | /cC/* | \ 2194 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2195 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2196 /usr/ucb/* ) ;; 2197 *) 2198 # OSF1 and SCO ODT 3.0 have their own names for install. 2199 # Don't use installbsd from OSF since it installs stuff as root 2200 # by default. 2201 for ac_prog in ginstall scoinst install; do 2202 for ac_exec_ext in '' $ac_executable_extensions; do 2203 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then 2204 if test $ac_prog = install && 2205 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2206 # AIX install. It has an incompatible calling convention. 2207 : 2208 elif test $ac_prog = install && 2209 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2210 # program-specific install script used by HP pwplus--don't use. 2211 : 2212 else 2213 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2214 break 3 2215 fi 2216 fi 2217 done 2218 done 2219 ;; 2220 esac 2221 done 2222 IFS=$as_save_IFS 2223 2224 2225 fi 2226 if test "${ac_cv_path_install+set}" = set; then 2227 INSTALL=$ac_cv_path_install 2228 else 2229 # As a last resort, use the slow shell script. Don't cache a 2230 # value for INSTALL within a source directory, because that will 2231 # break other packages using the cache if that directory is 2232 # removed, or if the value is a relative name. 2233 INSTALL=$ac_install_sh 2234 fi 2235 fi 2236 { echo "$as_me:$LINENO: result: $INSTALL" >&5 2237 echo "${ECHO_T}$INSTALL" >&6; } 2238 2239 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2240 # It thinks the first close brace ends the variable substitution. 2241 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2242 2243 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2244 2245 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2246 2247 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5 2248 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } 2249 # Just in case 2250 sleep 1 2251 echo timestamp > conftest.file 2252 # Do `set' in a subshell so we don't clobber the current shell's 2253 # arguments. Must try -L first in case configure is actually a 2254 # symlink; some systems play weird games with the mod time of symlinks 2255 # (eg FreeBSD returns the mod time of the symlink's containing 2256 # directory). 2257 if ( 2258 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 2259 if test "$*" = "X"; then 2260 # -L didn't work. 2261 set X `ls -t $srcdir/configure conftest.file` 2262 fi 2263 rm -f conftest.file 2264 if test "$*" != "X $srcdir/configure conftest.file" \ 2265 && test "$*" != "X conftest.file $srcdir/configure"; then 2266 2267 # If neither matched, then we have a broken ls. This can happen 2268 # if, for instance, CONFIG_SHELL is bash and it inherits a 2269 # broken ls alias from the environment. This has actually 2270 # happened. Such a system could not be considered "sane". 2271 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 2272 alias in your environment" >&5 2273 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 2274 alias in your environment" >&2;} 2275 { (exit 1); exit 1; }; } 2276 fi 2277 2278 test "$2" = conftest.file 2279 ) 2280 then 2281 # Ok. 2282 : 2283 else 2284 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 2285 Check your system clock" >&5 2286 echo "$as_me: error: newly created file is older than distributed files! 2287 Check your system clock" >&2;} 2288 { (exit 1); exit 1; }; } 2289 fi 2290 { echo "$as_me:$LINENO: result: yes" >&5 2291 echo "${ECHO_T}yes" >&6; } 2292 test "$program_prefix" != NONE && 2293 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2294 # Use a double $ so make ignores it. 2295 test "$program_suffix" != NONE && 2296 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2297 # Double any \ or $. echo might interpret backslashes. 2298 # By default was `s,x,x', remove it if useless. 2299 cat <<\_ACEOF >conftest.sed 2300 s/[\\$]/&&/g;s/;s,x,x,$// 2301 _ACEOF 2302 program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 2303 rm -f conftest.sed 2304 2305 # expand $ac_aux_dir to an absolute path 2306 am_aux_dir=`cd $ac_aux_dir && pwd` 2307 2308 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 2309 # Use eval to expand $SHELL 2310 if eval "$MISSING --run true"; then 2311 am_missing_run="$MISSING --run " 2312 else 2313 am_missing_run= 2314 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 2315 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2316 fi 2317 2318 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 2319 # We used to keeping the `.' as first argument, in order to 2320 # allow $(mkdir_p) to be used without argument. As in 2321 # $(mkdir_p) $(somedir) 2322 # where $(somedir) is conditionally defined. However this is wrong 2323 # for two reasons: 2324 # 1. if the package is installed by a user who cannot write `.' 2325 # make install will fail, 2326 # 2. the above comment should most certainly read 2327 # $(mkdir_p) $(DESTDIR)$(somedir) 2328 # so it does not work when $(somedir) is undefined and 2329 # $(DESTDIR) is not. 2330 # To support the latter case, we have to write 2331 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), 2332 # so the `.' trick is pointless. 2333 mkdir_p='mkdir -p --' 2334 else 2335 # On NextStep and OpenStep, the `mkdir' command does not 2336 # recognize any option. It will interpret all options as 2337 # directories to create, and then abort because `.' already 2338 # exists. 2339 for d in ./-p ./--version; 2340 do 2341 test -d $d && rmdir $d 2342 done 2343 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 2344 if test -f "$ac_aux_dir/mkinstalldirs"; then 2345 mkdir_p='$(mkinstalldirs)' 2346 else 2347 mkdir_p='$(install_sh) -d' 2348 fi 2349 fi 2350 2351 for ac_prog in gawk mawk nawk awk 2352 do 2353 # Extract the first word of "$ac_prog", so it can be a program name with args. 2354 set dummy $ac_prog; ac_word=$2 2355 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2357 if test "${ac_cv_prog_AWK+set}" = set; then 2358 echo $ECHO_N "(cached) $ECHO_C" >&6 2359 else 2360 if test -n "$AWK"; then 2361 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2362 else 2363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2364 for as_dir in $PATH 2365 do 2366 IFS=$as_save_IFS 2367 test -z "$as_dir" && as_dir=. 2368 for ac_exec_ext in '' $ac_executable_extensions; do 2369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2370 ac_cv_prog_AWK="$ac_prog" 2371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2372 break 2 2373 fi 2374 done 2375 done 2376 IFS=$as_save_IFS 2377 2378 fi 2379 fi 2380 AWK=$ac_cv_prog_AWK 2381 if test -n "$AWK"; then 2382 { echo "$as_me:$LINENO: result: $AWK" >&5 2383 echo "${ECHO_T}$AWK" >&6; } 2384 else 2385 { echo "$as_me:$LINENO: result: no" >&5 2386 echo "${ECHO_T}no" >&6; } 2387 fi 2388 2389 2390 test -n "$AWK" && break 2391 done 2392 2393 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2394 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 2395 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2396 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2397 echo $ECHO_N "(cached) $ECHO_C" >&6 2398 else 2399 cat >conftest.make <<\_ACEOF 2400 SHELL = /bin/sh 2401 all: 2402 @echo '@@@%%%=$(MAKE)=@@@%%%' 2403 _ACEOF 2404 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2405 case `${MAKE-make} -f conftest.make 2>/dev/null` in 2406 *@@@%%%=?*=@@@%%%*) 2407 eval ac_cv_prog_make_${ac_make}_set=yes;; 2408 *) 2409 eval ac_cv_prog_make_${ac_make}_set=no;; 2410 esac 2411 rm -f conftest.make 2412 fi 2413 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2414 { echo "$as_me:$LINENO: result: yes" >&5 2415 echo "${ECHO_T}yes" >&6; } 2416 SET_MAKE= 2417 else 2418 { echo "$as_me:$LINENO: result: no" >&5 2419 echo "${ECHO_T}no" >&6; } 2420 SET_MAKE="MAKE=${MAKE-make}" 2421 fi 2422 2423 rm -rf .tst 2>/dev/null 2424 mkdir .tst 2>/dev/null 2425 if test -d .tst; then 2426 am__leading_dot=. 2427 else 2428 am__leading_dot=_ 2429 fi 2430 rmdir .tst 2>/dev/null 2431 2432 # test to see if srcdir already configured 2433 if test "`cd $srcdir && pwd`" != "`pwd`" && 2434 test -f $srcdir/config.status; then 2435 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2436 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2437 { (exit 1); exit 1; }; } 2438 fi 2439 2440 # test whether we have cygpath 2441 if test -z "$CYGPATH_W"; then 2442 if (cygpath --version) >/dev/null 2>/dev/null; then 2443 CYGPATH_W='cygpath -w' 2444 else 2445 CYGPATH_W=echo 2446 fi 2447 fi 2448 2449 2450 # Define the identity of the package. 2451 PACKAGE=alsa-lib 2452 VERSION=1.0.19 2453 2454 2455 cat >>confdefs.h <<_ACEOF 2456 #define PACKAGE "$PACKAGE" 2457 _ACEOF 2458 2459 2460 cat >>confdefs.h <<_ACEOF 2461 #define VERSION "$VERSION" 2462 _ACEOF 2463 2464 # Some tools Automake needs. 2465 2466 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2467 2468 2469 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2470 2471 2472 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2473 2474 2475 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2476 2477 2478 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2479 2480 install_sh=${install_sh-"$am_aux_dir/install-sh"} 2481 2482 # Installed binaries are usually stripped using `strip' when the user 2483 # run `make install-strip'. However `strip' might not be the right 2484 # tool to use in cross-compilation environments, therefore Automake 2485 # will honor the `STRIP' environment variable to overrule this program. 2486 if test "$cross_compiling" != no; then 2487 if test -n "$ac_tool_prefix"; then 2488 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2489 set dummy ${ac_tool_prefix}strip; ac_word=$2 2490 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2492 if test "${ac_cv_prog_STRIP+set}" = set; then 2493 echo $ECHO_N "(cached) $ECHO_C" >&6 2494 else 2495 if test -n "$STRIP"; then 2496 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2497 else 2498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2499 for as_dir in $PATH 2500 do 2501 IFS=$as_save_IFS 2502 test -z "$as_dir" && as_dir=. 2503 for ac_exec_ext in '' $ac_executable_extensions; do 2504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2505 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2507 break 2 2508 fi 2509 done 2510 done 2511 IFS=$as_save_IFS 2512 2513 fi 2514 fi 2515 STRIP=$ac_cv_prog_STRIP 2516 if test -n "$STRIP"; then 2517 { echo "$as_me:$LINENO: result: $STRIP" >&5 2518 echo "${ECHO_T}$STRIP" >&6; } 2519 else 2520 { echo "$as_me:$LINENO: result: no" >&5 2521 echo "${ECHO_T}no" >&6; } 2522 fi 2523 2524 2525 fi 2526 if test -z "$ac_cv_prog_STRIP"; then 2527 ac_ct_STRIP=$STRIP 2528 # Extract the first word of "strip", so it can be a program name with args. 2529 set dummy strip; ac_word=$2 2530 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2532 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2533 echo $ECHO_N "(cached) $ECHO_C" >&6 2534 else 2535 if test -n "$ac_ct_STRIP"; then 2536 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2537 else 2538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2539 for as_dir in $PATH 2540 do 2541 IFS=$as_save_IFS 2542 test -z "$as_dir" && as_dir=. 2543 for ac_exec_ext in '' $ac_executable_extensions; do 2544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2545 ac_cv_prog_ac_ct_STRIP="strip" 2546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2547 break 2 2548 fi 2549 done 2550 done 2551 IFS=$as_save_IFS 2552 2553 fi 2554 fi 2555 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2556 if test -n "$ac_ct_STRIP"; then 2557 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2558 echo "${ECHO_T}$ac_ct_STRIP" >&6; } 2559 else 2560 { echo "$as_me:$LINENO: result: no" >&5 2561 echo "${ECHO_T}no" >&6; } 2562 fi 2563 2564 if test "x$ac_ct_STRIP" = x; then 2565 STRIP=":" 2566 else 2567 case $cross_compiling:$ac_tool_warned in 2568 yes:) 2569 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2570 whose name does not start with the host triplet. If you think this 2571 configuration is useful to you, please write to autoconf (at] gnu.org." >&5 2572 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2573 whose name does not start with the host triplet. If you think this 2574 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;} 2575 ac_tool_warned=yes ;; 2576 esac 2577 STRIP=$ac_ct_STRIP 2578 fi 2579 else 2580 STRIP="$ac_cv_prog_STRIP" 2581 fi 2582 2583 fi 2584 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 2585 2586 # We need awk for the "check" target. The system "awk" is bad on 2587 # some platforms. 2588 # Always define AMTAR for backward compatibility. 2589 2590 AMTAR=${AMTAR-"${am_missing_run}tar"} 2591 2592 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2593 2594 2595 2596 2597 2598 eval LIBTOOL_VERSION_INFO="2:0:0" 2599 2600 2601 if test -n "${ACLOCAL}"; then 2602 INSTALL_M4_TRUE= 2603 INSTALL_M4_FALSE='#' 2604 else 2605 INSTALL_M4_TRUE='#' 2606 INSTALL_M4_FALSE= 2607 fi 2608 2609 2610 2611 2612 2613 if test "x$host" != "x$build" -a -z "`echo $CC | grep -e '-gcc'`"; 2614 then 2615 { echo "$as_me:$LINENO: checking for cross-compiler" >&5 2616 echo $ECHO_N "checking for cross-compiler... $ECHO_C" >&6; } 2617 2618 which ${program_prefix}gcc >/dev/null 2>&1 && CC=${program_prefix}gcc 2619 which ${host_cpu}-${host_os}-gcc >/dev/null 2>&1 \ 2620 && CC=${host_cpu}-${host-os}-gcc 2621 which ${host_cpu}-${host_vendor}-${host_os}-gcc >/dev/null 2>&1 \ 2622 && CC=${host_cpu}-${host_vendor}-${host_os}-gcc 2623 2624 { echo "$as_me:$LINENO: result: $CC" >&5 2625 echo "${ECHO_T}$CC" >&6; } 2626 fi 2627 2628 2629 ac_ext=c 2630 ac_cpp='$CPP $CPPFLAGS' 2631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2633 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2634 if test -n "$ac_tool_prefix"; then 2635 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2636 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2637 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2639 if test "${ac_cv_prog_CC+set}" = set; then 2640 echo $ECHO_N "(cached) $ECHO_C" >&6 2641 else 2642 if test -n "$CC"; then 2643 ac_cv_prog_CC="$CC" # Let the user override the test. 2644 else 2645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2646 for as_dir in $PATH 2647 do 2648 IFS=$as_save_IFS 2649 test -z "$as_dir" && as_dir=. 2650 for ac_exec_ext in '' $ac_executable_extensions; do 2651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2652 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2654 break 2 2655 fi 2656 done 2657 done 2658 IFS=$as_save_IFS 2659 2660 fi 2661 fi 2662 CC=$ac_cv_prog_CC 2663 if test -n "$CC"; then 2664 { echo "$as_me:$LINENO: result: $CC" >&5 2665 echo "${ECHO_T}$CC" >&6; } 2666 else 2667 { echo "$as_me:$LINENO: result: no" >&5 2668 echo "${ECHO_T}no" >&6; } 2669 fi 2670 2671 2672 fi 2673 if test -z "$ac_cv_prog_CC"; then 2674 ac_ct_CC=$CC 2675 # Extract the first word of "gcc", so it can be a program name with args. 2676 set dummy gcc; ac_word=$2 2677 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2679 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2680 echo $ECHO_N "(cached) $ECHO_C" >&6 2681 else 2682 if test -n "$ac_ct_CC"; then 2683 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2684 else 2685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2686 for as_dir in $PATH 2687 do 2688 IFS=$as_save_IFS 2689 test -z "$as_dir" && as_dir=. 2690 for ac_exec_ext in '' $ac_executable_extensions; do 2691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2692 ac_cv_prog_ac_ct_CC="gcc" 2693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2694 break 2 2695 fi 2696 done 2697 done 2698 IFS=$as_save_IFS 2699 2700 fi 2701 fi 2702 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2703 if test -n "$ac_ct_CC"; then 2704 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2705 echo "${ECHO_T}$ac_ct_CC" >&6; } 2706 else 2707 { echo "$as_me:$LINENO: result: no" >&5 2708 echo "${ECHO_T}no" >&6; } 2709 fi 2710 2711 if test "x$ac_ct_CC" = x; then 2712 CC="" 2713 else 2714 case $cross_compiling:$ac_tool_warned in 2715 yes:) 2716 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2717 whose name does not start with the host triplet. If you think this 2718 configuration is useful to you, please write to autoconf (at] gnu.org." >&5 2719 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2720 whose name does not start with the host triplet. If you think this 2721 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;} 2722 ac_tool_warned=yes ;; 2723 esac 2724 CC=$ac_ct_CC 2725 fi 2726 else 2727 CC="$ac_cv_prog_CC" 2728 fi 2729 2730 if test -z "$CC"; then 2731 if test -n "$ac_tool_prefix"; then 2732 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2733 set dummy ${ac_tool_prefix}cc; ac_word=$2 2734 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2736 if test "${ac_cv_prog_CC+set}" = set; then 2737 echo $ECHO_N "(cached) $ECHO_C" >&6 2738 else 2739 if test -n "$CC"; then 2740 ac_cv_prog_CC="$CC" # Let the user override the test. 2741 else 2742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2743 for as_dir in $PATH 2744 do 2745 IFS=$as_save_IFS 2746 test -z "$as_dir" && as_dir=. 2747 for ac_exec_ext in '' $ac_executable_extensions; do 2748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2749 ac_cv_prog_CC="${ac_tool_prefix}cc" 2750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2751 break 2 2752 fi 2753 done 2754 done 2755 IFS=$as_save_IFS 2756 2757 fi 2758 fi 2759 CC=$ac_cv_prog_CC 2760 if test -n "$CC"; then 2761 { echo "$as_me:$LINENO: result: $CC" >&5 2762 echo "${ECHO_T}$CC" >&6; } 2763 else 2764 { echo "$as_me:$LINENO: result: no" >&5 2765 echo "${ECHO_T}no" >&6; } 2766 fi 2767 2768 2769 fi 2770 fi 2771 if test -z "$CC"; then 2772 # Extract the first word of "cc", so it can be a program name with args. 2773 set dummy cc; ac_word=$2 2774 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2776 if test "${ac_cv_prog_CC+set}" = set; then 2777 echo $ECHO_N "(cached) $ECHO_C" >&6 2778 else 2779 if test -n "$CC"; then 2780 ac_cv_prog_CC="$CC" # Let the user override the test. 2781 else 2782 ac_prog_rejected=no 2783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2784 for as_dir in $PATH 2785 do 2786 IFS=$as_save_IFS 2787 test -z "$as_dir" && as_dir=. 2788 for ac_exec_ext in '' $ac_executable_extensions; do 2789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2790 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2791 ac_prog_rejected=yes 2792 continue 2793 fi 2794 ac_cv_prog_CC="cc" 2795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2796 break 2 2797 fi 2798 done 2799 done 2800 IFS=$as_save_IFS 2801 2802 if test $ac_prog_rejected = yes; then 2803 # We found a bogon in the path, so make sure we never use it. 2804 set dummy $ac_cv_prog_CC 2805 shift 2806 if test $# != 0; then 2807 # We chose a different compiler from the bogus one. 2808 # However, it has the same basename, so the bogon will be chosen 2809 # first if we set CC to just the basename; use the full file name. 2810 shift 2811 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2812 fi 2813 fi 2814 fi 2815 fi 2816 CC=$ac_cv_prog_CC 2817 if test -n "$CC"; then 2818 { echo "$as_me:$LINENO: result: $CC" >&5 2819 echo "${ECHO_T}$CC" >&6; } 2820 else 2821 { echo "$as_me:$LINENO: result: no" >&5 2822 echo "${ECHO_T}no" >&6; } 2823 fi 2824 2825 2826 fi 2827 if test -z "$CC"; then 2828 if test -n "$ac_tool_prefix"; then 2829 for ac_prog in cl.exe 2830 do 2831 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2832 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2833 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2835 if test "${ac_cv_prog_CC+set}" = set; then 2836 echo $ECHO_N "(cached) $ECHO_C" >&6 2837 else 2838 if test -n "$CC"; then 2839 ac_cv_prog_CC="$CC" # Let the user override the test. 2840 else 2841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2842 for as_dir in $PATH 2843 do 2844 IFS=$as_save_IFS 2845 test -z "$as_dir" && as_dir=. 2846 for ac_exec_ext in '' $ac_executable_extensions; do 2847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2848 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2850 break 2 2851 fi 2852 done 2853 done 2854 IFS=$as_save_IFS 2855 2856 fi 2857 fi 2858 CC=$ac_cv_prog_CC 2859 if test -n "$CC"; then 2860 { echo "$as_me:$LINENO: result: $CC" >&5 2861 echo "${ECHO_T}$CC" >&6; } 2862 else 2863 { echo "$as_me:$LINENO: result: no" >&5 2864 echo "${ECHO_T}no" >&6; } 2865 fi 2866 2867 2868 test -n "$CC" && break 2869 done 2870 fi 2871 if test -z "$CC"; then 2872 ac_ct_CC=$CC 2873 for ac_prog in cl.exe 2874 do 2875 # Extract the first word of "$ac_prog", so it can be a program name with args. 2876 set dummy $ac_prog; ac_word=$2 2877 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2879 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2880 echo $ECHO_N "(cached) $ECHO_C" >&6 2881 else 2882 if test -n "$ac_ct_CC"; then 2883 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2884 else 2885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2886 for as_dir in $PATH 2887 do 2888 IFS=$as_save_IFS 2889 test -z "$as_dir" && as_dir=. 2890 for ac_exec_ext in '' $ac_executable_extensions; do 2891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2892 ac_cv_prog_ac_ct_CC="$ac_prog" 2893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2894 break 2 2895 fi 2896 done 2897 done 2898 IFS=$as_save_IFS 2899 2900 fi 2901 fi 2902 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2903 if test -n "$ac_ct_CC"; then 2904 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2905 echo "${ECHO_T}$ac_ct_CC" >&6; } 2906 else 2907 { echo "$as_me:$LINENO: result: no" >&5 2908 echo "${ECHO_T}no" >&6; } 2909 fi 2910 2911 2912 test -n "$ac_ct_CC" && break 2913 done 2914 2915 if test "x$ac_ct_CC" = x; then 2916 CC="" 2917 else 2918 case $cross_compiling:$ac_tool_warned in 2919 yes:) 2920 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2921 whose name does not start with the host triplet. If you think this 2922 configuration is useful to you, please write to autoconf (at] gnu.org." >&5 2923 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2924 whose name does not start with the host triplet. If you think this 2925 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;} 2926 ac_tool_warned=yes ;; 2927 esac 2928 CC=$ac_ct_CC 2929 fi 2930 fi 2931 2932 fi 2933 2934 2935 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2936 See \`config.log' for more details." >&5 2937 echo "$as_me: error: no acceptable C compiler found in \$PATH 2938 See \`config.log' for more details." >&2;} 2939 { (exit 1); exit 1; }; } 2940 2941 # Provide some information about the compiler. 2942 echo "$as_me:$LINENO: checking for C compiler version" >&5 2943 ac_compiler=`set X $ac_compile; echo $2` 2944 { (ac_try="$ac_compiler --version >&5" 2945 case "(($ac_try" in 2946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2947 *) ac_try_echo=$ac_try;; 2948 esac 2949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2950 (eval "$ac_compiler --version >&5") 2>&5 2951 ac_status=$? 2952 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2953 (exit $ac_status); } 2954 { (ac_try="$ac_compiler -v >&5" 2955 case "(($ac_try" in 2956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2957 *) ac_try_echo=$ac_try;; 2958 esac 2959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2960 (eval "$ac_compiler -v >&5") 2>&5 2961 ac_status=$? 2962 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2963 (exit $ac_status); } 2964 { (ac_try="$ac_compiler -V >&5" 2965 case "(($ac_try" in 2966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2967 *) ac_try_echo=$ac_try;; 2968 esac 2969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2970 (eval "$ac_compiler -V >&5") 2>&5 2971 ac_status=$? 2972 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2973 (exit $ac_status); } 2974 2975 cat >conftest.$ac_ext <<_ACEOF 2976 /* confdefs.h. */ 2977 _ACEOF 2978 cat confdefs.h >>conftest.$ac_ext 2979 cat >>conftest.$ac_ext <<_ACEOF 2980 /* end confdefs.h. */ 2981 2982 int 2983 main () 2984 { 2985 2986 ; 2987 return 0; 2988 } 2989 _ACEOF 2990 ac_clean_files_save=$ac_clean_files 2991 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2992 # Try to create an executable without -o first, disregard a.out. 2993 # It will help us diagnose broken compilers, and finding out an intuition 2994 # of exeext. 2995 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2996 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2997 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2998 # 2999 # List of possible output files, starting from the most likely. 3000 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 3001 # only as a last resort. b.out is created by i960 compilers. 3002 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 3003 # 3004 # The IRIX 6 linker writes into existing files which may not be 3005 # executable, retaining their permissions. Remove them first so a 3006 # subsequent execution test works. 3007 ac_rmfiles= 3008 for ac_file in $ac_files 3009 do 3010 case $ac_file in 3011 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 3012 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3013 esac 3014 done 3015 rm -f $ac_rmfiles 3016 3017 if { (ac_try="$ac_link_default" 3018 case "(($ac_try" in 3019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3020 *) ac_try_echo=$ac_try;; 3021 esac 3022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3023 (eval "$ac_link_default") 2>&5 3024 ac_status=$? 3025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3026 (exit $ac_status); }; then 3027 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3028 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3029 # in a Makefile. We should not override ac_cv_exeext if it was cached, 3030 # so that the user can short-circuit this test for compilers unknown to 3031 # Autoconf. 3032 for ac_file in $ac_files 3033 do 3034 test -f "$ac_file" || continue 3035 case $ac_file in 3036 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 3037 ;; 3038 [ab].out ) 3039 # We found the default executable, but exeext='' is most 3040 # certainly right. 3041 break;; 3042 *.* ) 3043 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3044 then :; else 3045 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3046 fi 3047 # We set ac_cv_exeext here because the later test for it is not 3048 # safe: cross compilers may not add the suffix if given an `-o' 3049 # argument, so we may need to know it at that point already. 3050 # Even if this section looks crufty: it has the advantage of 3051 # actually working. 3052 break;; 3053 * ) 3054 break;; 3055 esac 3056 done 3057 test "$ac_cv_exeext" = no && ac_cv_exeext= 3058 3059 else 3060 echo "$as_me: failed program was:" >&5 3061 sed 's/^/| /' conftest.$ac_ext >&5 3062 3063 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 3064 See \`config.log' for more details." >&5 3065 echo "$as_me: error: C compiler cannot create executables 3066 See \`config.log' for more details." >&2;} 3067 { (exit 77); exit 77; }; } 3068 fi 3069 3070 ac_exeext=$ac_cv_exeext 3071 { echo "$as_me:$LINENO: result: $ac_file" >&5 3072 echo "${ECHO_T}$ac_file" >&6; } 3073 3074 # Check that the compiler produces executables we can run. If not, either 3075 # the compiler is broken, or we cross compile. 3076 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 3077 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 3078 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 3079 # If not cross compiling, check that we can run a simple program. 3080 if test "$cross_compiling" != yes; then 3081 if { ac_try='./$ac_file' 3082 { (case "(($ac_try" in 3083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3084 *) ac_try_echo=$ac_try;; 3085 esac 3086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3087 (eval "$ac_try") 2>&5 3088 ac_status=$? 3089 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3090 (exit $ac_status); }; }; then 3091 cross_compiling=no 3092 else 3093 if test "$cross_compiling" = maybe; then 3094 cross_compiling=yes 3095 else 3096 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 3097 If you meant to cross compile, use \`--host'. 3098 See \`config.log' for more details." >&5 3099 echo "$as_me: error: cannot run C compiled programs. 3100 If you meant to cross compile, use \`--host'. 3101 See \`config.log' for more details." >&2;} 3102 { (exit 1); exit 1; }; } 3103 fi 3104 fi 3105 fi 3106 { echo "$as_me:$LINENO: result: yes" >&5 3107 echo "${ECHO_T}yes" >&6; } 3108 3109 rm -f a.out a.exe conftest$ac_cv_exeext b.out 3110 ac_clean_files=$ac_clean_files_save 3111 # Check that the compiler produces executables we can run. If not, either 3112 # the compiler is broken, or we cross compile. 3113 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 3114 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 3115 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 3116 echo "${ECHO_T}$cross_compiling" >&6; } 3117 3118 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 3119 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 3120 if { (ac_try="$ac_link" 3121 case "(($ac_try" in 3122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3123 *) ac_try_echo=$ac_try;; 3124 esac 3125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3126 (eval "$ac_link") 2>&5 3127 ac_status=$? 3128 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3129 (exit $ac_status); }; then 3130 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3131 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3132 # work properly (i.e., refer to `conftest.exe'), while it won't with 3133 # `rm'. 3134 for ac_file in conftest.exe conftest conftest.*; do 3135 test -f "$ac_file" || continue 3136 case $ac_file in 3137 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 3138 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3139 break;; 3140 * ) break;; 3141 esac 3142 done 3143 else 3144 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 3145 See \`config.log' for more details." >&5 3146 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 3147 See \`config.log' for more details." >&2;} 3148 { (exit 1); exit 1; }; } 3149 fi 3150 3151 rm -f conftest$ac_cv_exeext 3152 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3153 echo "${ECHO_T}$ac_cv_exeext" >&6; } 3154 3155 rm -f conftest.$ac_ext 3156 EXEEXT=$ac_cv_exeext 3157 ac_exeext=$EXEEXT 3158 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 3159 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 3160 if test "${ac_cv_objext+set}" = set; then 3161 echo $ECHO_N "(cached) $ECHO_C" >&6 3162 else 3163 cat >conftest.$ac_ext <<_ACEOF 3164 /* confdefs.h. */ 3165 _ACEOF 3166 cat confdefs.h >>conftest.$ac_ext 3167 cat >>conftest.$ac_ext <<_ACEOF 3168 /* end confdefs.h. */ 3169 3170 int 3171 main () 3172 { 3173 3174 ; 3175 return 0; 3176 } 3177 _ACEOF 3178 rm -f conftest.o conftest.obj 3179 if { (ac_try="$ac_compile" 3180 case "(($ac_try" in 3181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3182 *) ac_try_echo=$ac_try;; 3183 esac 3184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3185 (eval "$ac_compile") 2>&5 3186 ac_status=$? 3187 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3188 (exit $ac_status); }; then 3189 for ac_file in conftest.o conftest.obj 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 ) ;; 3193 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3194 break;; 3195 esac 3196 done 3197 else 3198 echo "$as_me: failed program was:" >&5 3199 sed 's/^/| /' conftest.$ac_ext >&5 3200 3201 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 3202 See \`config.log' for more details." >&5 3203 echo "$as_me: error: cannot compute suffix of object files: cannot compile 3204 See \`config.log' for more details." >&2;} 3205 { (exit 1); exit 1; }; } 3206 fi 3207 3208 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3209 fi 3210 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3211 echo "${ECHO_T}$ac_cv_objext" >&6; } 3212 OBJEXT=$ac_cv_objext 3213 ac_objext=$OBJEXT 3214 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3215 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 3216 if test "${ac_cv_c_compiler_gnu+set}" = set; then 3217 echo $ECHO_N "(cached) $ECHO_C" >&6 3218 else 3219 cat >conftest.$ac_ext <<_ACEOF 3220 /* confdefs.h. */ 3221 _ACEOF 3222 cat confdefs.h >>conftest.$ac_ext 3223 cat >>conftest.$ac_ext <<_ACEOF 3224 /* end confdefs.h. */ 3225 3226 int 3227 main () 3228 { 3229 #ifndef __GNUC__ 3230 choke me 3231 #endif 3232 3233 ; 3234 return 0; 3235 } 3236 _ACEOF 3237 rm -f conftest.$ac_objext 3238 if { (ac_try="$ac_compile" 3239 case "(($ac_try" in 3240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3241 *) ac_try_echo=$ac_try;; 3242 esac 3243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3244 (eval "$ac_compile") 2>conftest.er1 3245 ac_status=$? 3246 grep -v '^ *+' conftest.er1 >conftest.err 3247 rm -f conftest.er1 3248 cat conftest.err >&5 3249 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3250 (exit $ac_status); } && 3251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3252 { (case "(($ac_try" in 3253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3254 *) ac_try_echo=$ac_try;; 3255 esac 3256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3257 (eval "$ac_try") 2>&5 3258 ac_status=$? 3259 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3260 (exit $ac_status); }; } && 3261 { ac_try='test -s conftest.$ac_objext' 3262 { (case "(($ac_try" in 3263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3264 *) ac_try_echo=$ac_try;; 3265 esac 3266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3267 (eval "$ac_try") 2>&5 3268 ac_status=$? 3269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3270 (exit $ac_status); }; }; then 3271 ac_compiler_gnu=yes 3272 else 3273 echo "$as_me: failed program was:" >&5 3274 sed 's/^/| /' conftest.$ac_ext >&5 3275 3276 ac_compiler_gnu=no 3277 fi 3278 3279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3280 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3281 3282 fi 3283 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3284 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 3285 GCC=`test $ac_compiler_gnu = yes && echo yes` 3286 ac_test_CFLAGS=${CFLAGS+set} 3287 ac_save_CFLAGS=$CFLAGS 3288 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3289 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 3290 if test "${ac_cv_prog_cc_g+set}" = set; then 3291 echo $ECHO_N "(cached) $ECHO_C" >&6 3292 else 3293 ac_save_c_werror_flag=$ac_c_werror_flag 3294 ac_c_werror_flag=yes 3295 ac_cv_prog_cc_g=no 3296 CFLAGS="-g" 3297 cat >conftest.$ac_ext <<_ACEOF 3298 /* confdefs.h. */ 3299 _ACEOF 3300 cat confdefs.h >>conftest.$ac_ext 3301 cat >>conftest.$ac_ext <<_ACEOF 3302 /* end confdefs.h. */ 3303 3304 int 3305 main () 3306 { 3307 3308 ; 3309 return 0; 3310 } 3311 _ACEOF 3312 rm -f conftest.$ac_objext 3313 if { (ac_try="$ac_compile" 3314 case "(($ac_try" in 3315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3316 *) ac_try_echo=$ac_try;; 3317 esac 3318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3319 (eval "$ac_compile") 2>conftest.er1 3320 ac_status=$? 3321 grep -v '^ *+' conftest.er1 >conftest.err 3322 rm -f conftest.er1 3323 cat conftest.err >&5 3324 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3325 (exit $ac_status); } && 3326 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3327 { (case "(($ac_try" in 3328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3329 *) ac_try_echo=$ac_try;; 3330 esac 3331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3332 (eval "$ac_try") 2>&5 3333 ac_status=$? 3334 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3335 (exit $ac_status); }; } && 3336 { ac_try='test -s conftest.$ac_objext' 3337 { (case "(($ac_try" in 3338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3339 *) ac_try_echo=$ac_try;; 3340 esac 3341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3342 (eval "$ac_try") 2>&5 3343 ac_status=$? 3344 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3345 (exit $ac_status); }; }; then 3346 ac_cv_prog_cc_g=yes 3347 else 3348 echo "$as_me: failed program was:" >&5 3349 sed 's/^/| /' conftest.$ac_ext >&5 3350 3351 CFLAGS="" 3352 cat >conftest.$ac_ext <<_ACEOF 3353 /* confdefs.h. */ 3354 _ACEOF 3355 cat confdefs.h >>conftest.$ac_ext 3356 cat >>conftest.$ac_ext <<_ACEOF 3357 /* end confdefs.h. */ 3358 3359 int 3360 main () 3361 { 3362 3363 ; 3364 return 0; 3365 } 3366 _ACEOF 3367 rm -f conftest.$ac_objext 3368 if { (ac_try="$ac_compile" 3369 case "(($ac_try" in 3370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3371 *) ac_try_echo=$ac_try;; 3372 esac 3373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3374 (eval "$ac_compile") 2>conftest.er1 3375 ac_status=$? 3376 grep -v '^ *+' conftest.er1 >conftest.err 3377 rm -f conftest.er1 3378 cat conftest.err >&5 3379 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3380 (exit $ac_status); } && 3381 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3382 { (case "(($ac_try" in 3383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3384 *) ac_try_echo=$ac_try;; 3385 esac 3386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3387 (eval "$ac_try") 2>&5 3388 ac_status=$? 3389 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3390 (exit $ac_status); }; } && 3391 { ac_try='test -s conftest.$ac_objext' 3392 { (case "(($ac_try" in 3393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3394 *) ac_try_echo=$ac_try;; 3395 esac 3396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3397 (eval "$ac_try") 2>&5 3398 ac_status=$? 3399 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3400 (exit $ac_status); }; }; then 3401 : 3402 else 3403 echo "$as_me: failed program was:" >&5 3404 sed 's/^/| /' conftest.$ac_ext >&5 3405 3406 ac_c_werror_flag=$ac_save_c_werror_flag 3407 CFLAGS="-g" 3408 cat >conftest.$ac_ext <<_ACEOF 3409 /* confdefs.h. */ 3410 _ACEOF 3411 cat confdefs.h >>conftest.$ac_ext 3412 cat >>conftest.$ac_ext <<_ACEOF 3413 /* end confdefs.h. */ 3414 3415 int 3416 main () 3417 { 3418 3419 ; 3420 return 0; 3421 } 3422 _ACEOF 3423 rm -f conftest.$ac_objext 3424 if { (ac_try="$ac_compile" 3425 case "(($ac_try" in 3426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3427 *) ac_try_echo=$ac_try;; 3428 esac 3429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3430 (eval "$ac_compile") 2>conftest.er1 3431 ac_status=$? 3432 grep -v '^ *+' conftest.er1 >conftest.err 3433 rm -f conftest.er1 3434 cat conftest.err >&5 3435 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3436 (exit $ac_status); } && 3437 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3438 { (case "(($ac_try" in 3439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3440 *) ac_try_echo=$ac_try;; 3441 esac 3442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3443 (eval "$ac_try") 2>&5 3444 ac_status=$? 3445 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3446 (exit $ac_status); }; } && 3447 { ac_try='test -s conftest.$ac_objext' 3448 { (case "(($ac_try" in 3449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3450 *) ac_try_echo=$ac_try;; 3451 esac 3452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3453 (eval "$ac_try") 2>&5 3454 ac_status=$? 3455 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3456 (exit $ac_status); }; }; then 3457 ac_cv_prog_cc_g=yes 3458 else 3459 echo "$as_me: failed program was:" >&5 3460 sed 's/^/| /' conftest.$ac_ext >&5 3461 3462 3463 fi 3464 3465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3466 fi 3467 3468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3469 fi 3470 3471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3472 ac_c_werror_flag=$ac_save_c_werror_flag 3473 fi 3474 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3475 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 3476 if test "$ac_test_CFLAGS" = set; then 3477 CFLAGS=$ac_save_CFLAGS 3478 elif test $ac_cv_prog_cc_g = yes; then 3479 if test "$GCC" = yes; then 3480 CFLAGS="-g -O2" 3481 else 3482 CFLAGS="-g" 3483 fi 3484 else 3485 if test "$GCC" = yes; then 3486 CFLAGS="-O2" 3487 else 3488 CFLAGS= 3489 fi 3490 fi 3491 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3492 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 3493 if test "${ac_cv_prog_cc_c89+set}" = set; then 3494 echo $ECHO_N "(cached) $ECHO_C" >&6 3495 else 3496 ac_cv_prog_cc_c89=no 3497 ac_save_CC=$CC 3498 cat >conftest.$ac_ext <<_ACEOF 3499 /* confdefs.h. */ 3500 _ACEOF 3501 cat confdefs.h >>conftest.$ac_ext 3502 cat >>conftest.$ac_ext <<_ACEOF 3503 /* end confdefs.h. */ 3504 #include <stdarg.h> 3505 #include <stdio.h> 3506 #include <sys/types.h> 3507 #include <sys/stat.h> 3508 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3509 struct buf { int x; }; 3510 FILE * (*rcsopen) (struct buf *, struct stat *, int); 3511 static char *e (p, i) 3512 char **p; 3513 int i; 3514 { 3515 return p[i]; 3516 } 3517 static char *f (char * (*g) (char **, int), char **p, ...) 3518 { 3519 char *s; 3520 va_list v; 3521 va_start (v,p); 3522 s = g (p, va_arg (v,int)); 3523 va_end (v); 3524 return s; 3525 } 3526 3527 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3528 function prototypes and stuff, but not '\xHH' hex character constants. 3529 These don't provoke an error unfortunately, instead are silently treated 3530 as 'x'. The following induces an error, until -std is added to get 3531 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3532 array size at least. It's necessary to write '\x00'==0 to get something 3533 that's true only with -std. */ 3534 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3535 3536 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3537 inside strings and character constants. */ 3538 #define FOO(x) 'x' 3539 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3540 3541 int test (int i, double x); 3542 struct s1 {int (*f) (int a);}; 3543 struct s2 {int (*f) (double a);}; 3544 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3545 int argc; 3546 char **argv; 3547 int 3548 main () 3549 { 3550 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3551 ; 3552 return 0; 3553 } 3554 _ACEOF 3555 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3556 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3557 do 3558 CC="$ac_save_CC $ac_arg" 3559 rm -f conftest.$ac_objext 3560 if { (ac_try="$ac_compile" 3561 case "(($ac_try" in 3562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3563 *) ac_try_echo=$ac_try;; 3564 esac 3565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3566 (eval "$ac_compile") 2>conftest.er1 3567 ac_status=$? 3568 grep -v '^ *+' conftest.er1 >conftest.err 3569 rm -f conftest.er1 3570 cat conftest.err >&5 3571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3572 (exit $ac_status); } && 3573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3574 { (case "(($ac_try" in 3575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3576 *) ac_try_echo=$ac_try;; 3577 esac 3578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3579 (eval "$ac_try") 2>&5 3580 ac_status=$? 3581 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3582 (exit $ac_status); }; } && 3583 { ac_try='test -s conftest.$ac_objext' 3584 { (case "(($ac_try" in 3585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3586 *) ac_try_echo=$ac_try;; 3587 esac 3588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3589 (eval "$ac_try") 2>&5 3590 ac_status=$? 3591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3592 (exit $ac_status); }; }; then 3593 ac_cv_prog_cc_c89=$ac_arg 3594 else 3595 echo "$as_me: failed program was:" >&5 3596 sed 's/^/| /' conftest.$ac_ext >&5 3597 3598 3599 fi 3600 3601 rm -f core conftest.err conftest.$ac_objext 3602 test "x$ac_cv_prog_cc_c89" != "xno" && break 3603 done 3604 rm -f conftest.$ac_ext 3605 CC=$ac_save_CC 3606 3607 fi 3608 # AC_CACHE_VAL 3609 case "x$ac_cv_prog_cc_c89" in 3610 x) 3611 { echo "$as_me:$LINENO: result: none needed" >&5 3612 echo "${ECHO_T}none needed" >&6; } ;; 3613 xno) 3614 { echo "$as_me:$LINENO: result: unsupported" >&5 3615 echo "${ECHO_T}unsupported" >&6; } ;; 3616 *) 3617 CC="$CC $ac_cv_prog_cc_c89" 3618 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3619 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 3620 esac 3621 3622 3623 ac_ext=c 3624 ac_cpp='$CPP $CPPFLAGS' 3625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3627 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3628 DEPDIR="${am__leading_dot}deps" 3629 3630 ac_config_commands="$ac_config_commands depfiles" 3631 3632 3633 am_make=${MAKE-make} 3634 cat > confinc << 'END' 3635 am__doit: 3636 @echo done 3637 .PHONY: am__doit 3638 END 3639 # If we don't find an include directive, just comment out the code. 3640 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 3641 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } 3642 am__include="#" 3643 am__quote= 3644 _am_result=none 3645 # First try GNU make style include. 3646 echo "include confinc" > confmf 3647 # We grep out `Entering directory' and `Leaving directory' 3648 # messages which can occur if `w' ends up in MAKEFLAGS. 3649 # In particular we don't look at `^make:' because GNU make might 3650 # be invoked under some other name (usually "gmake"), in which 3651 # case it prints its new name instead of `make'. 3652 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 3653 am__include=include 3654 am__quote= 3655 _am_result=GNU 3656 fi 3657 # Now try BSD make style include. 3658 if test "$am__include" = "#"; then 3659 echo '.include "confinc"' > confmf 3660 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 3661 am__include=.include 3662 am__quote="\"" 3663 _am_result=BSD 3664 fi 3665 fi 3666 3667 3668 { echo "$as_me:$LINENO: result: $_am_result" >&5 3669 echo "${ECHO_T}$_am_result" >&6; } 3670 rm -f confinc confmf 3671 3672 # Check whether --enable-dependency-tracking was given. 3673 if test "${enable_dependency_tracking+set}" = set; then 3674 enableval=$enable_dependency_tracking; 3675 fi 3676 3677 if test "x$enable_dependency_tracking" != xno; then 3678 am_depcomp="$ac_aux_dir/depcomp" 3679 AMDEPBACKSLASH='\' 3680 fi 3681 3682 3683 if test "x$enable_dependency_tracking" != xno; then 3684 AMDEP_TRUE= 3685 AMDEP_FALSE='#' 3686 else 3687 AMDEP_TRUE='#' 3688 AMDEP_FALSE= 3689 fi 3690 3691 3692 3693 3694 depcc="$CC" am_compiler_list= 3695 3696 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3697 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 3698 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3699 echo $ECHO_N "(cached) $ECHO_C" >&6 3700 else 3701 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3702 # We make a subdir and do the tests there. Otherwise we can end up 3703 # making bogus files that we don't know about and never remove. For 3704 # instance it was reported that on HP-UX the gcc test will end up 3705 # making a dummy file named `D' -- because `-MD' means `put the output 3706 # in D'. 3707 mkdir conftest.dir 3708 # Copy depcomp to subdir because otherwise we won't find it if we're 3709 # using a relative directory. 3710 cp "$am_depcomp" conftest.dir 3711 cd conftest.dir 3712 # We will build objects and dependencies in a subdirectory because 3713 # it helps to detect inapplicable dependency modes. For instance 3714 # both Tru64's cc and ICC support -MD to output dependencies as a 3715 # side effect of compilation, but ICC will put the dependencies in 3716 # the current directory while Tru64 will put them in the object 3717 # directory. 3718 mkdir sub 3719 3720 am_cv_CC_dependencies_compiler_type=none 3721 if test "$am_compiler_list" = ""; then 3722 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3723 fi 3724 for depmode in $am_compiler_list; do 3725 # Setup a source with many dependencies, because some compilers 3726 # like to wrap large dependency lists on column 80 (with \), and 3727 # we should not choose a depcomp mode which is confused by this. 3728 # 3729 # We need to recreate these files for each test, as the compiler may 3730 # overwrite some of them when testing with obscure command lines. 3731 # This happens at least with the AIX C compiler. 3732 : > sub/conftest.c 3733 for i in 1 2 3 4 5 6; do 3734 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3735 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3736 # Solaris 8's {/usr,}/bin/sh. 3737 touch sub/conftst$i.h 3738 done 3739 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3740 3741 case $depmode in 3742 nosideeffect) 3743 # after this tag, mechanisms are not by side-effect, so they'll 3744 # only be used when explicitly requested 3745 if test "x$enable_dependency_tracking" = xyes; then 3746 continue 3747 else 3748 break 3749 fi 3750 ;; 3751 none) break ;; 3752 esac 3753 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3754 # mode. It turns out that the SunPro C++ compiler does not properly 3755 # handle `-M -o', and we need to detect this. 3756 if depmode=$depmode \ 3757 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3758 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3759 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3760 >/dev/null 2>conftest.err && 3761 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3762 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3763 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3764 # icc doesn't choke on unknown options, it will just issue warnings 3765 # or remarks (even with -Werror). So we grep stderr for any message 3766 # that says an option was ignored or not supported. 3767 # When given -MP, icc 7.0 and 7.1 complain thusly: 3768 # icc: Command line warning: ignoring option '-M'; no argument required 3769 # The diagnosis changed in icc 8.0: 3770 # icc: Command line remark: option '-MP' not supported 3771 if (grep 'ignoring option' conftest.err || 3772 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3773 am_cv_CC_dependencies_compiler_type=$depmode 3774 break 3775 fi 3776 fi 3777 done 3778 3779 cd .. 3780 rm -rf conftest.dir 3781 else 3782 am_cv_CC_dependencies_compiler_type=none 3783 fi 3784 3785 fi 3786 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3787 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } 3788 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3789 3790 3791 3792 if 3793 test "x$enable_dependency_tracking" != xno \ 3794 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3795 am__fastdepCC_TRUE= 3796 am__fastdepCC_FALSE='#' 3797 else 3798 am__fastdepCC_TRUE='#' 3799 am__fastdepCC_FALSE= 3800 fi 3801 3802 3803 ac_ext=c 3804 ac_cpp='$CPP $CPPFLAGS' 3805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3807 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3808 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3809 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3810 # On Suns, sometimes $CPP names a directory. 3811 if test -n "$CPP" && test -d "$CPP"; then 3812 CPP= 3813 fi 3814 if test -z "$CPP"; then 3815 if test "${ac_cv_prog_CPP+set}" = set; then 3816 echo $ECHO_N "(cached) $ECHO_C" >&6 3817 else 3818 # Double quotes because CPP needs to be expanded 3819 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3820 do 3821 ac_preproc_ok=false 3822 for ac_c_preproc_warn_flag in '' yes 3823 do 3824 # Use a header file that comes with gcc, so configuring glibc 3825 # with a fresh cross-compiler works. 3826 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3827 # <limits.h> exists even on freestanding compilers. 3828 # On the NeXT, cc -E runs the code through the compiler's parser, 3829 # not just through cpp. "Syntax error" is here to catch this case. 3830 cat >conftest.$ac_ext <<_ACEOF 3831 /* confdefs.h. */ 3832 _ACEOF 3833 cat confdefs.h >>conftest.$ac_ext 3834 cat >>conftest.$ac_ext <<_ACEOF 3835 /* end confdefs.h. */ 3836 #ifdef __STDC__ 3837 # include <limits.h> 3838 #else 3839 # include <assert.h> 3840 #endif 3841 Syntax error 3842 _ACEOF 3843 if { (ac_try="$ac_cpp conftest.$ac_ext" 3844 case "(($ac_try" in 3845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3846 *) ac_try_echo=$ac_try;; 3847 esac 3848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3849 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3850 ac_status=$? 3851 grep -v '^ *+' conftest.er1 >conftest.err 3852 rm -f conftest.er1 3853 cat conftest.err >&5 3854 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3855 (exit $ac_status); } >/dev/null; then 3856 if test -s conftest.err; then 3857 ac_cpp_err=$ac_c_preproc_warn_flag 3858 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3859 else 3860 ac_cpp_err= 3861 fi 3862 else 3863 ac_cpp_err=yes 3864 fi 3865 if test -z "$ac_cpp_err"; then 3866 : 3867 else 3868 echo "$as_me: failed program was:" >&5 3869 sed 's/^/| /' conftest.$ac_ext >&5 3870 3871 # Broken: fails on valid input. 3872 continue 3873 fi 3874 3875 rm -f conftest.err conftest.$ac_ext 3876 3877 # OK, works on sane cases. Now check whether nonexistent headers 3878 # can be detected and how. 3879 cat >conftest.$ac_ext <<_ACEOF 3880 /* confdefs.h. */ 3881 _ACEOF 3882 cat confdefs.h >>conftest.$ac_ext 3883 cat >>conftest.$ac_ext <<_ACEOF 3884 /* end confdefs.h. */ 3885 #include <ac_nonexistent.h> 3886 _ACEOF 3887 if { (ac_try="$ac_cpp conftest.$ac_ext" 3888 case "(($ac_try" in 3889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3890 *) ac_try_echo=$ac_try;; 3891 esac 3892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3893 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3894 ac_status=$? 3895 grep -v '^ *+' conftest.er1 >conftest.err 3896 rm -f conftest.er1 3897 cat conftest.err >&5 3898 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3899 (exit $ac_status); } >/dev/null; then 3900 if test -s conftest.err; then 3901 ac_cpp_err=$ac_c_preproc_warn_flag 3902 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3903 else 3904 ac_cpp_err= 3905 fi 3906 else 3907 ac_cpp_err=yes 3908 fi 3909 if test -z "$ac_cpp_err"; then 3910 # Broken: success on invalid input. 3911 continue 3912 else 3913 echo "$as_me: failed program was:" >&5 3914 sed 's/^/| /' conftest.$ac_ext >&5 3915 3916 # Passes both tests. 3917 ac_preproc_ok=: 3918 break 3919 fi 3920 3921 rm -f conftest.err conftest.$ac_ext 3922 3923 done 3924 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3925 rm -f conftest.err conftest.$ac_ext 3926 if $ac_preproc_ok; then 3927 break 3928 fi 3929 3930 done 3931 ac_cv_prog_CPP=$CPP 3932 3933 fi 3934 CPP=$ac_cv_prog_CPP 3935 else 3936 ac_cv_prog_CPP=$CPP 3937 fi 3938 { echo "$as_me:$LINENO: result: $CPP" >&5 3939 echo "${ECHO_T}$CPP" >&6; } 3940 ac_preproc_ok=false 3941 for ac_c_preproc_warn_flag in '' yes 3942 do 3943 # Use a header file that comes with gcc, so configuring glibc 3944 # with a fresh cross-compiler works. 3945 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3946 # <limits.h> exists even on freestanding compilers. 3947 # On the NeXT, cc -E runs the code through the compiler's parser, 3948 # not just through cpp. "Syntax error" is here to catch this case. 3949 cat >conftest.$ac_ext <<_ACEOF 3950 /* confdefs.h. */ 3951 _ACEOF 3952 cat confdefs.h >>conftest.$ac_ext 3953 cat >>conftest.$ac_ext <<_ACEOF 3954 /* end confdefs.h. */ 3955 #ifdef __STDC__ 3956 # include <limits.h> 3957 #else 3958 # include <assert.h> 3959 #endif 3960 Syntax error 3961 _ACEOF 3962 if { (ac_try="$ac_cpp conftest.$ac_ext" 3963 case "(($ac_try" in 3964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3965 *) ac_try_echo=$ac_try;; 3966 esac 3967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3968 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3969 ac_status=$? 3970 grep -v '^ *+' conftest.er1 >conftest.err 3971 rm -f conftest.er1 3972 cat conftest.err >&5 3973 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3974 (exit $ac_status); } >/dev/null; then 3975 if test -s conftest.err; then 3976 ac_cpp_err=$ac_c_preproc_warn_flag 3977 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3978 else 3979 ac_cpp_err= 3980 fi 3981 else 3982 ac_cpp_err=yes 3983 fi 3984 if test -z "$ac_cpp_err"; then 3985 : 3986 else 3987 echo "$as_me: failed program was:" >&5 3988 sed 's/^/| /' conftest.$ac_ext >&5 3989 3990 # Broken: fails on valid input. 3991 continue 3992 fi 3993 3994 rm -f conftest.err conftest.$ac_ext 3995 3996 # OK, works on sane cases. Now check whether nonexistent headers 3997 # can be detected and how. 3998 cat >conftest.$ac_ext <<_ACEOF 3999 /* confdefs.h. */ 4000 _ACEOF 4001 cat confdefs.h >>conftest.$ac_ext 4002 cat >>conftest.$ac_ext <<_ACEOF 4003 /* end confdefs.h. */ 4004 #include <ac_nonexistent.h> 4005 _ACEOF 4006 if { (ac_try="$ac_cpp conftest.$ac_ext" 4007 case "(($ac_try" in 4008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4009 *) ac_try_echo=$ac_try;; 4010 esac 4011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4012 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4013 ac_status=$? 4014 grep -v '^ *+' conftest.er1 >conftest.err 4015 rm -f conftest.er1 4016 cat conftest.err >&5 4017 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4018 (exit $ac_status); } >/dev/null; then 4019 if test -s conftest.err; then 4020 ac_cpp_err=$ac_c_preproc_warn_flag 4021 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4022 else 4023 ac_cpp_err= 4024 fi 4025 else 4026 ac_cpp_err=yes 4027 fi 4028 if test -z "$ac_cpp_err"; then 4029 # Broken: success on invalid input. 4030 continue 4031 else 4032 echo "$as_me: failed program was:" >&5 4033 sed 's/^/| /' conftest.$ac_ext >&5 4034 4035 # Passes both tests. 4036 ac_preproc_ok=: 4037 break 4038 fi 4039 4040 rm -f conftest.err conftest.$ac_ext 4041 4042 done 4043 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4044 rm -f conftest.err conftest.$ac_ext 4045 if $ac_preproc_ok; then 4046 : 4047 else 4048 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4049 See \`config.log' for more details." >&5 4050 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4051 See \`config.log' for more details." >&2;} 4052 { (exit 1); exit 1; }; } 4053 fi 4054 4055 ac_ext=c 4056 ac_cpp='$CPP $CPPFLAGS' 4057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4059 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4060 4061 # Find a good install program. We prefer a C program (faster), 4062 # so one script is as good as another. But avoid the broken or 4063 # incompatible versions: 4064 # SysV /etc/install, /usr/sbin/install 4065 # SunOS /usr/etc/install 4066 # IRIX /sbin/install 4067 # AIX /bin/install 4068 # AmigaOS /C/install, which installs bootblocks on floppy discs 4069 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 4070 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 4071 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 4072 # OS/2's system install, which has a completely different semantic 4073 # ./install, which can be erroneously created by make from ./install.sh. 4074 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 4075 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 4076 if test -z "$INSTALL"; then 4077 if test "${ac_cv_path_install+set}" = set; then 4078 echo $ECHO_N "(cached) $ECHO_C" >&6 4079 else 4080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4081 for as_dir in $PATH 4082 do 4083 IFS=$as_save_IFS 4084 test -z "$as_dir" && as_dir=. 4085 # Account for people who put trailing slashes in PATH elements. 4086 case $as_dir/ in 4087 ./ | .// | /cC/* | \ 4088 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 4089 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 4090 /usr/ucb/* ) ;; 4091 *) 4092 # OSF1 and SCO ODT 3.0 have their own names for install. 4093 # Don't use installbsd from OSF since it installs stuff as root 4094 # by default. 4095 for ac_prog in ginstall scoinst install; do 4096 for ac_exec_ext in '' $ac_executable_extensions; do 4097 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then 4098 if test $ac_prog = install && 4099 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 4100 # AIX install. It has an incompatible calling convention. 4101 : 4102 elif test $ac_prog = install && 4103 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 4104 # program-specific install script used by HP pwplus--don't use. 4105 : 4106 else 4107 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 4108 break 3 4109 fi 4110 fi 4111 done 4112 done 4113 ;; 4114 esac 4115 done 4116 IFS=$as_save_IFS 4117 4118 4119 fi 4120 if test "${ac_cv_path_install+set}" = set; then 4121 INSTALL=$ac_cv_path_install 4122 else 4123 # As a last resort, use the slow shell script. Don't cache a 4124 # value for INSTALL within a source directory, because that will 4125 # break other packages using the cache if that directory is 4126 # removed, or if the value is a relative name. 4127 INSTALL=$ac_install_sh 4128 fi 4129 fi 4130 { echo "$as_me:$LINENO: result: $INSTALL" >&5 4131 echo "${ECHO_T}$INSTALL" >&6; } 4132 4133 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 4134 # It thinks the first close brace ends the variable substitution. 4135 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 4136 4137 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 4138 4139 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 4140 4141 { echo "$as_me:$LINENO: checking whether ln -s works" >&5 4142 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } 4143 LN_S=$as_ln_s 4144 if test "$LN_S" = "ln -s"; then 4145 { echo "$as_me:$LINENO: result: yes" >&5 4146 echo "${ECHO_T}yes" >&6; } 4147 else 4148 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 4149 echo "${ECHO_T}no, using $LN_S" >&6; } 4150 fi 4151 4152 # Check whether --enable-static was given. 4153 if test "${enable_static+set}" = set; then 4154 enableval=$enable_static; p=${PACKAGE-default} 4155 case $enableval in 4156 yes) enable_static=yes ;; 4157 no) enable_static=no ;; 4158 *) 4159 enable_static=no 4160 # Look at the argument we got. We use all the common list separators. 4161 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 4162 for pkg in $enableval; do 4163 IFS="$lt_save_ifs" 4164 if test "X$pkg" = "X$p"; then 4165 enable_static=yes 4166 fi 4167 done 4168 IFS="$lt_save_ifs" 4169 ;; 4170 esac 4171 else 4172 enable_static=no 4173 fi 4174 4175 4176 4177 4178 4179 # Check whether --enable-shared was given. 4180 if test "${enable_shared+set}" = set; then 4181 enableval=$enable_shared; p=${PACKAGE-default} 4182 case $enableval in 4183 yes) enable_shared=yes ;; 4184 no) enable_shared=no ;; 4185 *) 4186 enable_shared=no 4187 # Look at the argument we got. We use all the common list separators. 4188 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 4189 for pkg in $enableval; do 4190 IFS="$lt_save_ifs" 4191 if test "X$pkg" = "X$p"; then 4192 enable_shared=yes 4193 fi 4194 done 4195 IFS="$lt_save_ifs" 4196 ;; 4197 esac 4198 else 4199 enable_shared=yes 4200 fi 4201 4202 4203 # Check whether --enable-fast-install was given. 4204 if test "${enable_fast_install+set}" = set; then 4205 enableval=$enable_fast_install; p=${PACKAGE-default} 4206 case $enableval in 4207 yes) enable_fast_install=yes ;; 4208 no) enable_fast_install=no ;; 4209 *) 4210 enable_fast_install=no 4211 # Look at the argument we got. We use all the common list separators. 4212 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 4213 for pkg in $enableval; do 4214 IFS="$lt_save_ifs" 4215 if test "X$pkg" = "X$p"; then 4216 enable_fast_install=yes 4217 fi 4218 done 4219 IFS="$lt_save_ifs" 4220 ;; 4221 esac 4222 else 4223 enable_fast_install=yes 4224 fi 4225 4226 4227 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 4228 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; } 4229 if test "${lt_cv_path_SED+set}" = set; then 4230 echo $ECHO_N "(cached) $ECHO_C" >&6 4231 else 4232 # Loop through the user's path and test for sed and gsed. 4233 # Then use that list of sed's as ones to test for truncation. 4234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4235 for as_dir in $PATH 4236 do 4237 IFS=$as_save_IFS 4238 test -z "$as_dir" && as_dir=. 4239 for lt_ac_prog in sed gsed; do 4240 for ac_exec_ext in '' $ac_executable_extensions; do 4241 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then 4242 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" 4243 fi 4244 done 4245 done 4246 done 4247 lt_ac_max=0 4248 lt_ac_count=0 4249 # Add /usr/xpg4/bin/sed as it is typically found on Solaris 4250 # along with /bin/sed that truncates output. 4251 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do 4252 test ! -f $lt_ac_sed && continue 4253 cat /dev/null > conftest.in 4254 lt_ac_count=0 4255 echo $ECHO_N "0123456789$ECHO_C" >conftest.in 4256 # Check for GNU sed and select it if it is found. 4257 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then 4258 lt_cv_path_SED=$lt_ac_sed 4259 break 4260 fi 4261 while true; do 4262 cat conftest.in conftest.in >conftest.tmp 4263 mv conftest.tmp conftest.in 4264 cp conftest.in conftest.nl 4265 echo >>conftest.nl 4266 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break 4267 cmp -s conftest.out conftest.nl || break 4268 # 10000 chars as input seems more than enough 4269 test $lt_ac_count -gt 10 && break 4270 lt_ac_count=`expr $lt_ac_count + 1` 4271 if test $lt_ac_count -gt $lt_ac_max; then 4272 lt_ac_max=$lt_ac_count 4273 lt_cv_path_SED=$lt_ac_sed 4274 fi 4275 done 4276 done 4277 4278 fi 4279 4280 SED=$lt_cv_path_SED 4281 { echo "$as_me:$LINENO: result: $SED" >&5 4282 echo "${ECHO_T}$SED" >&6; } 4283 4284 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4285 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4286 if test "${ac_cv_path_GREP+set}" = set; then 4287 echo $ECHO_N "(cached) $ECHO_C" >&6 4288 else 4289 # Extract the first word of "grep ggrep" to use in msg output 4290 if test -z "$GREP"; then 4291 set dummy grep ggrep; ac_prog_name=$2 4292 if test "${ac_cv_path_GREP+set}" = set; then 4293 echo $ECHO_N "(cached) $ECHO_C" >&6 4294 else 4295 ac_path_GREP_found=false 4296 # Loop through the user's path and test for each of PROGNAME-LIST 4297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4298 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4299 do 4300 IFS=$as_save_IFS 4301 test -z "$as_dir" && as_dir=. 4302 for ac_prog in grep ggrep; do 4303 for ac_exec_ext in '' $ac_executable_extensions; do 4304 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4305 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue 4306 # Check for GNU ac_path_GREP and select it if it is found. 4307 # Check for GNU $ac_path_GREP 4308 case `"$ac_path_GREP" --version 2>&1` in 4309 *GNU*) 4310 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4311 *) 4312 ac_count=0 4313 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4314 while : 4315 do 4316 cat "conftest.in" "conftest.in" >"conftest.tmp" 4317 mv "conftest.tmp" "conftest.in" 4318 cp "conftest.in" "conftest.nl" 4319 echo 'GREP' >> "conftest.nl" 4320 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4321 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4322 ac_count=`expr $ac_count + 1` 4323 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4324 # Best one so far, save it but keep looking for a better one 4325 ac_cv_path_GREP="$ac_path_GREP" 4326 ac_path_GREP_max=$ac_count 4327 fi 4328 # 10*(2^10) chars as input seems more than enough 4329 test $ac_count -gt 10 && break 4330 done 4331 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4332 esac 4333 4334 4335 $ac_path_GREP_found && break 3 4336 done 4337 done 4338 4339 done 4340 IFS=$as_save_IFS 4341 4342 4343 fi 4344 4345 GREP="$ac_cv_path_GREP" 4346 if test -z "$GREP"; then 4347 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4348 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4349 { (exit 1); exit 1; }; } 4350 fi 4351 4352 else 4353 ac_cv_path_GREP=$GREP 4354 fi 4355 4356 4357 fi 4358 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4359 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4360 GREP="$ac_cv_path_GREP" 4361 4362 4363 { echo "$as_me:$LINENO: checking for egrep" >&5 4364 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 4365 if test "${ac_cv_path_EGREP+set}" = set; then 4366 echo $ECHO_N "(cached) $ECHO_C" >&6 4367 else 4368 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4369 then ac_cv_path_EGREP="$GREP -E" 4370 else 4371 # Extract the first word of "egrep" to use in msg output 4372 if test -z "$EGREP"; then 4373 set dummy egrep; ac_prog_name=$2 4374 if test "${ac_cv_path_EGREP+set}" = set; then 4375 echo $ECHO_N "(cached) $ECHO_C" >&6 4376 else 4377 ac_path_EGREP_found=false 4378 # Loop through the user's path and test for each of PROGNAME-LIST 4379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4380 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4381 do 4382 IFS=$as_save_IFS 4383 test -z "$as_dir" && as_dir=. 4384 for ac_prog in egrep; do 4385 for ac_exec_ext in '' $ac_executable_extensions; do 4386 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4387 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue 4388 # Check for GNU ac_path_EGREP and select it if it is found. 4389 # Check for GNU $ac_path_EGREP 4390 case `"$ac_path_EGREP" --version 2>&1` in 4391 *GNU*) 4392 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4393 *) 4394 ac_count=0 4395 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4396 while : 4397 do 4398 cat "conftest.in" "conftest.in" >"conftest.tmp" 4399 mv "conftest.tmp" "conftest.in" 4400 cp "conftest.in" "conftest.nl" 4401 echo 'EGREP' >> "conftest.nl" 4402 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4403 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4404 ac_count=`expr $ac_count + 1` 4405 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4406 # Best one so far, save it but keep looking for a better one 4407 ac_cv_path_EGREP="$ac_path_EGREP" 4408 ac_path_EGREP_max=$ac_count 4409 fi 4410 # 10*(2^10) chars as input seems more than enough 4411 test $ac_count -gt 10 && break 4412 done 4413 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4414 esac 4415 4416 4417 $ac_path_EGREP_found && break 3 4418 done 4419 done 4420 4421 done 4422 IFS=$as_save_IFS 4423 4424 4425 fi 4426 4427 EGREP="$ac_cv_path_EGREP" 4428 if test -z "$EGREP"; then 4429 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4430 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4431 { (exit 1); exit 1; }; } 4432 fi 4433 4434 else 4435 ac_cv_path_EGREP=$EGREP 4436 fi 4437 4438 4439 fi 4440 fi 4441 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4442 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 4443 EGREP="$ac_cv_path_EGREP" 4444 4445 4446 4447 # Check whether --with-gnu-ld was given. 4448 if test "${with_gnu_ld+set}" = set; then 4449 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4450 else 4451 with_gnu_ld=no 4452 fi 4453 4454 ac_prog=ld 4455 if test "$GCC" = yes; then 4456 # Check if gcc -print-prog-name=ld gives a path. 4457 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 4458 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } 4459 case $host in 4460 *-*-mingw*) 4461 # gcc leaves a trailing carriage return which upsets mingw 4462 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4463 *) 4464 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4465 esac 4466 case $ac_prog in 4467 # Accept absolute paths. 4468 [\\/]* | ?:[\\/]*) 4469 re_direlt='/[^/][^/]*/\.\./' 4470 # Canonicalize the pathname of ld 4471 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` 4472 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do 4473 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` 4474 done 4475 test -z "$LD" && LD="$ac_prog" 4476 ;; 4477 "") 4478 # If it fails, then pretend we aren't using GCC. 4479 ac_prog=ld 4480 ;; 4481 *) 4482 # If it is relative, then search for the first ld in PATH. 4483 with_gnu_ld=unknown 4484 ;; 4485 esac 4486 elif test "$with_gnu_ld" = yes; then 4487 { echo "$as_me:$LINENO: checking for GNU ld" >&5 4488 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } 4489 else 4490 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 4491 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } 4492 fi 4493 if test "${lt_cv_path_LD+set}" = set; then 4494 echo $ECHO_N "(cached) $ECHO_C" >&6 4495 else 4496 if test -z "$LD"; then 4497 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4498 for ac_dir in $PATH; do 4499 IFS="$lt_save_ifs" 4500 test -z "$ac_dir" && ac_dir=. 4501 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4502 lt_cv_path_LD="$ac_dir/$ac_prog" 4503 # Check to see if the program is GNU ld. I'd rather use --version, 4504 # but apparently some variants of GNU ld only accept -v. 4505 # Break only if it was the GNU/non-GNU ld that we prefer. 4506 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4507 *GNU* | *'with BFD'*) 4508 test "$with_gnu_ld" != no && break 4509 ;; 4510 *) 4511 test "$with_gnu_ld" != yes && break 4512 ;; 4513 esac 4514 fi 4515 done 4516 IFS="$lt_save_ifs" 4517 else 4518 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4519 fi 4520 fi 4521 4522 LD="$lt_cv_path_LD" 4523 if test -n "$LD"; then 4524 { echo "$as_me:$LINENO: result: $LD" >&5 4525 echo "${ECHO_T}$LD" >&6; } 4526 else 4527 { echo "$as_me:$LINENO: result: no" >&5 4528 echo "${ECHO_T}no" >&6; } 4529 fi 4530 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 4531 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 4532 { (exit 1); exit 1; }; } 4533 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 4534 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } 4535 if test "${lt_cv_prog_gnu_ld+set}" = set; then 4536 echo $ECHO_N "(cached) $ECHO_C" >&6 4537 else 4538 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4539 case `$LD -v 2>&1 </dev/null` in 4540 *GNU* | *'with BFD'*) 4541 lt_cv_prog_gnu_ld=yes 4542 ;; 4543 *) 4544 lt_cv_prog_gnu_ld=no 4545 ;; 4546 esac 4547 fi 4548 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 4549 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } 4550 with_gnu_ld=$lt_cv_prog_gnu_ld 4551 4552 4553 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 4554 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; } 4555 if test "${lt_cv_ld_reload_flag+set}" = set; then 4556 echo $ECHO_N "(cached) $ECHO_C" >&6 4557 else 4558 lt_cv_ld_reload_flag='-r' 4559 fi 4560 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 4561 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; } 4562 reload_flag=$lt_cv_ld_reload_flag 4563 case $reload_flag in 4564 "" | " "*) ;; 4565 *) reload_flag=" $reload_flag" ;; 4566 esac 4567 reload_cmds='$LD$reload_flag -o $output$reload_objs' 4568 case $host_os in 4569 darwin*) 4570 if test "$GCC" = yes; then 4571 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 4572 else 4573 reload_cmds='$LD$reload_flag -o $output$reload_objs' 4574 fi 4575 ;; 4576 esac 4577 4578 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 4579 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; } 4580 if test "${lt_cv_path_NM+set}" = set; then 4581 echo $ECHO_N "(cached) $ECHO_C" >&6 4582 else 4583 if test -n "$NM"; then 4584 # Let the user override the test. 4585 lt_cv_path_NM="$NM" 4586 else 4587 lt_nm_to_check="${ac_tool_prefix}nm" 4588 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4589 lt_nm_to_check="$lt_nm_to_check nm" 4590 fi 4591 for lt_tmp_nm in $lt_nm_to_check; do 4592 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4593 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4594 IFS="$lt_save_ifs" 4595 test -z "$ac_dir" && ac_dir=. 4596 tmp_nm="$ac_dir/$lt_tmp_nm" 4597 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4598 # Check to see if the nm accepts a BSD-compat flag. 4599 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4600 # nm: unknown option "B" ignored 4601 # Tru64's nm complains that /dev/null is an invalid object file 4602 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4603 */dev/null* | *'Invalid file or object type'*) 4604 lt_cv_path_NM="$tmp_nm -B" 4605 break 4606 ;; 4607 *) 4608 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4609 */dev/null*) 4610 lt_cv_path_NM="$tmp_nm -p" 4611 break 4612 ;; 4613 *) 4614 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4615 continue # so that we can try to find one that supports BSD flags 4616 ;; 4617 esac 4618 ;; 4619 esac 4620 fi 4621 done 4622 IFS="$lt_save_ifs" 4623 done 4624 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm 4625 fi 4626 fi 4627 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 4628 echo "${ECHO_T}$lt_cv_path_NM" >&6; } 4629 NM="$lt_cv_path_NM" 4630 4631 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5 4632 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; } 4633 if test "${lt_cv_deplibs_check_method+set}" = set; then 4634 echo $ECHO_N "(cached) $ECHO_C" >&6 4635 else 4636 lt_cv_file_magic_cmd='$MAGIC_CMD' 4637 lt_cv_file_magic_test_file= 4638 lt_cv_deplibs_check_method='unknown' 4639 # Need to set the preceding variable on all platforms that support 4640 # interlibrary dependencies. 4641 # 'none' -- dependencies not supported. 4642 # `unknown' -- same as none, but documents that we really don't know. 4643 # 'pass_all' -- all dependencies passed with no checks. 4644 # 'test_compile' -- check by making test program. 4645 # 'file_magic [[regex]]' -- check by looking for files in library path 4646 # which responds to the $file_magic_cmd with a given extended regex. 4647 # If you have `file' or equivalent on your system and you're not sure 4648 # whether `pass_all' will *always* work, you probably want this one. 4649 4650 case $host_os in 4651 aix4* | aix5*) 4652 lt_cv_deplibs_check_method=pass_all 4653 ;; 4654 4655 beos*) 4656 lt_cv_deplibs_check_method=pass_all 4657 ;; 4658 4659 bsdi[45]*) 4660 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 4661 lt_cv_file_magic_cmd='/usr/bin/file -L' 4662 lt_cv_file_magic_test_file=/shlib/libc.so 4663 ;; 4664 4665 cygwin*) 4666 # func_win32_libid is a shell function defined in ltmain.sh 4667 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 4668 lt_cv_file_magic_cmd='func_win32_libid' 4669 ;; 4670 4671 mingw* | pw32*) 4672 # Base MSYS/MinGW do not provide the 'file' command needed by 4673 # func_win32_libid shell function, so use a weaker test based on 'objdump'. 4674 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 4675 lt_cv_file_magic_cmd='$OBJDUMP -f' 4676 ;; 4677 4678 darwin* | rhapsody*) 4679 lt_cv_deplibs_check_method=pass_all 4680 ;; 4681 4682 freebsd* | kfreebsd*-gnu | dragonfly*) 4683 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 4684 case $host_cpu in 4685 i*86 ) 4686 # Not sure whether the presence of OpenBSD here was a mistake. 4687 # Let's accept both of them until this is cleared up. 4688 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 4689 lt_cv_file_magic_cmd=/usr/bin/file 4690 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 4691 ;; 4692 esac 4693 else 4694 lt_cv_deplibs_check_method=pass_all 4695 fi 4696 ;; 4697 4698 gnu*) 4699 lt_cv_deplibs_check_method=pass_all 4700 ;; 4701 4702 hpux10.20* | hpux11*) 4703 lt_cv_file_magic_cmd=/usr/bin/file 4704 case $host_cpu in 4705 ia64*) 4706 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 4707 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 4708 ;; 4709 hppa*64*) 4710 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]' 4711 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 4712 ;; 4713 *) 4714 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 4715 lt_cv_file_magic_test_file=/usr/lib/libc.sl 4716 ;; 4717 esac 4718 ;; 4719 4720 interix3*) 4721 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 4722 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 4723 ;; 4724 4725 irix5* | irix6* | nonstopux*) 4726 case $LD in 4727 *-32|*"-32 ") libmagic=32-bit;; 4728 *-n32|*"-n32 ") libmagic=N32;; 4729 *-64|*"-64 ") libmagic=64-bit;; 4730 *) libmagic=never-match;; 4731 esac 4732 lt_cv_deplibs_check_method=pass_all 4733 ;; 4734 4735 # This must be Linux ELF. 4736 linux*) 4737 lt_cv_deplibs_check_method=pass_all 4738 ;; 4739 4740 netbsd*) 4741 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 4742 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 4743 else 4744 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 4745 fi 4746 ;; 4747 4748 newos6*) 4749 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 4750 lt_cv_file_magic_cmd=/usr/bin/file 4751 lt_cv_file_magic_test_file=/usr/lib/libnls.so 4752 ;; 4753 4754 nto-qnx*) 4755 lt_cv_deplibs_check_method=unknown 4756 ;; 4757 4758 openbsd*) 4759 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 4760 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 4761 else 4762 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 4763 fi 4764 ;; 4765 4766 osf3* | osf4* | osf5*) 4767 lt_cv_deplibs_check_method=pass_all 4768 ;; 4769 4770 solaris*) 4771 lt_cv_deplibs_check_method=pass_all 4772 ;; 4773 4774 sysv4 | sysv4.3*) 4775 case $host_vendor in 4776 motorola) 4777 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]' 4778 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 4779 ;; 4780 ncr) 4781 lt_cv_deplibs_check_method=pass_all 4782 ;; 4783 sequent) 4784 lt_cv_file_magic_cmd='/bin/file' 4785 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 4786 ;; 4787 sni) 4788 lt_cv_file_magic_cmd='/bin/file' 4789 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 4790 lt_cv_file_magic_test_file=/lib/libc.so 4791 ;; 4792 siemens) 4793 lt_cv_deplibs_check_method=pass_all 4794 ;; 4795 pc) 4796 lt_cv_deplibs_check_method=pass_all 4797 ;; 4798 esac 4799 ;; 4800 4801 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 4802 lt_cv_deplibs_check_method=pass_all 4803 ;; 4804 esac 4805 4806 fi 4807 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 4808 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; } 4809 file_magic_cmd=$lt_cv_file_magic_cmd 4810 deplibs_check_method=$lt_cv_deplibs_check_method 4811 test -z "$deplibs_check_method" && deplibs_check_method=unknown 4812 4813 4814 4815 4816 # If no C compiler was specified, use CC. 4817 LTCC=${LTCC-"$CC"} 4818 4819 # If no C compiler flags were specified, use CFLAGS. 4820 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 4821 4822 # Allow CC to be a program name with arguments. 4823 compiler=$CC 4824 4825 4826 # Check whether --enable-libtool-lock was given. 4827 if test "${enable_libtool_lock+set}" = set; then 4828 enableval=$enable_libtool_lock; 4829 fi 4830 4831 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 4832 4833 # Some flags need to be propagated to the compiler or linker for good 4834 # libtool support. 4835 case $host in 4836 ia64-*-hpux*) 4837 # Find out which ABI we are using. 4838 echo 'int i;' > conftest.$ac_ext 4839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4840 (eval $ac_compile) 2>&5 4841 ac_status=$? 4842 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4843 (exit $ac_status); }; then 4844 case `/usr/bin/file conftest.$ac_objext` in 4845 *ELF-32*) 4846 HPUX_IA64_MODE="32" 4847 ;; 4848 *ELF-64*) 4849 HPUX_IA64_MODE="64" 4850 ;; 4851 esac 4852 fi 4853 rm -rf conftest* 4854 ;; 4855 *-*-irix6*) 4856 # Find out which ABI we are using. 4857 echo '#line 4857 "configure"' > conftest.$ac_ext 4858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4859 (eval $ac_compile) 2>&5 4860 ac_status=$? 4861 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4862 (exit $ac_status); }; then 4863 if test "$lt_cv_prog_gnu_ld" = yes; then 4864 case `/usr/bin/file conftest.$ac_objext` in 4865 *32-bit*) 4866 LD="${LD-ld} -melf32bsmip" 4867 ;; 4868 *N32*) 4869 LD="${LD-ld} -melf32bmipn32" 4870 ;; 4871 *64-bit*) 4872 LD="${LD-ld} -melf64bmip" 4873 ;; 4874 esac 4875 else 4876 case `/usr/bin/file conftest.$ac_objext` in 4877 *32-bit*) 4878 LD="${LD-ld} -32" 4879 ;; 4880 *N32*) 4881 LD="${LD-ld} -n32" 4882 ;; 4883 *64-bit*) 4884 LD="${LD-ld} -64" 4885 ;; 4886 esac 4887 fi 4888 fi 4889 rm -rf conftest* 4890 ;; 4891 4892 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) 4893 # Find out which ABI we are using. 4894 echo 'int i;' > conftest.$ac_ext 4895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4896 (eval $ac_compile) 2>&5 4897 ac_status=$? 4898 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4899 (exit $ac_status); }; then 4900 case `/usr/bin/file conftest.o` in 4901 *32-bit*) 4902 case $host in 4903 x86_64-*linux*) 4904 LD="${LD-ld} -m elf_i386" 4905 ;; 4906 ppc64-*linux*|powerpc64-*linux*) 4907 LD="${LD-ld} -m elf32ppclinux" 4908 ;; 4909 s390x-*linux*) 4910 LD="${LD-ld} -m elf_s390" 4911 ;; 4912 sparc64-*linux*) 4913 LD="${LD-ld} -m elf32_sparc" 4914 ;; 4915 esac 4916 ;; 4917 *64-bit*) 4918 case $host in 4919 x86_64-*linux*) 4920 LD="${LD-ld} -m elf_x86_64" 4921 ;; 4922 ppc*-*linux*|powerpc*-*linux*) 4923 LD="${LD-ld} -m elf64ppc" 4924 ;; 4925 s390*-*linux*) 4926 LD="${LD-ld} -m elf64_s390" 4927 ;; 4928 sparc*-*linux*) 4929 LD="${LD-ld} -m elf64_sparc" 4930 ;; 4931 esac 4932 ;; 4933 esac 4934 fi 4935 rm -rf conftest* 4936 ;; 4937 4938 *-*-sco3.2v5*) 4939 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 4940 SAVE_CFLAGS="$CFLAGS" 4941 CFLAGS="$CFLAGS -belf" 4942 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 4943 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; } 4944 if test "${lt_cv_cc_needs_belf+set}" = set; then 4945 echo $ECHO_N "(cached) $ECHO_C" >&6 4946 else 4947 ac_ext=c 4948 ac_cpp='$CPP $CPPFLAGS' 4949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4951 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4952 4953 cat >conftest.$ac_ext <<_ACEOF 4954 /* confdefs.h. */ 4955 _ACEOF 4956 cat confdefs.h >>conftest.$ac_ext 4957 cat >>conftest.$ac_ext <<_ACEOF 4958 /* end confdefs.h. */ 4959 4960 int 4961 main () 4962 { 4963 4964 ; 4965 return 0; 4966 } 4967 _ACEOF 4968 rm -f conftest.$ac_objext conftest$ac_exeext 4969 if { (ac_try="$ac_link" 4970 case "(($ac_try" in 4971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4972 *) ac_try_echo=$ac_try;; 4973 esac 4974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4975 (eval "$ac_link") 2>conftest.er1 4976 ac_status=$? 4977 grep -v '^ *+' conftest.er1 >conftest.err 4978 rm -f conftest.er1 4979 cat conftest.err >&5 4980 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4981 (exit $ac_status); } && 4982 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4983 { (case "(($ac_try" in 4984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4985 *) ac_try_echo=$ac_try;; 4986 esac 4987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4988 (eval "$ac_try") 2>&5 4989 ac_status=$? 4990 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4991 (exit $ac_status); }; } && 4992 { ac_try='test -s conftest$ac_exeext' 4993 { (case "(($ac_try" in 4994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4995 *) ac_try_echo=$ac_try;; 4996 esac 4997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4998 (eval "$ac_try") 2>&5 4999 ac_status=$? 5000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5001 (exit $ac_status); }; }; then 5002 lt_cv_cc_needs_belf=yes 5003 else 5004 echo "$as_me: failed program was:" >&5 5005 sed 's/^/| /' conftest.$ac_ext >&5 5006 5007 lt_cv_cc_needs_belf=no 5008 fi 5009 5010 rm -f core conftest.err conftest.$ac_objext \ 5011 conftest$ac_exeext conftest.$ac_ext 5012 ac_ext=c 5013 ac_cpp='$CPP $CPPFLAGS' 5014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5016 ac_compiler_gnu=$ac_cv_c_compiler_gnu 5017 5018 fi 5019 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 5020 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; } 5021 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 5022 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 5023 CFLAGS="$SAVE_CFLAGS" 5024 fi 5025 ;; 5026 sparc*-*solaris*) 5027 # Find out which ABI we are using. 5028 echo 'int i;' > conftest.$ac_ext 5029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5030 (eval $ac_compile) 2>&5 5031 ac_status=$? 5032 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5033 (exit $ac_status); }; then 5034 case `/usr/bin/file conftest.o` in 5035 *64-bit*) 5036 case $lt_cv_prog_gnu_ld in 5037 yes*) LD="${LD-ld} -m elf64_sparc" ;; 5038 *) LD="${LD-ld} -64" ;; 5039 esac 5040 ;; 5041 esac 5042 fi 5043 rm -rf conftest* 5044 ;; 5045 5046 5047 esac 5048 5049 need_locks="$enable_libtool_lock" 5050 5051 5052 5053 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5054 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 5055 if test "${ac_cv_header_stdc+set}" = set; then 5056 echo $ECHO_N "(cached) $ECHO_C" >&6 5057 else 5058 cat >conftest.$ac_ext <<_ACEOF 5059 /* confdefs.h. */ 5060 _ACEOF 5061 cat confdefs.h >>conftest.$ac_ext 5062 cat >>conftest.$ac_ext <<_ACEOF 5063 /* end confdefs.h. */ 5064 #include <stdlib.h> 5065 #include <stdarg.h> 5066 #include <string.h> 5067 #include <float.h> 5068 5069 int 5070 main () 5071 { 5072 5073 ; 5074 return 0; 5075 } 5076 _ACEOF 5077 rm -f conftest.$ac_objext 5078 if { (ac_try="$ac_compile" 5079 case "(($ac_try" in 5080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5081 *) ac_try_echo=$ac_try;; 5082 esac 5083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5084 (eval "$ac_compile") 2>conftest.er1 5085 ac_status=$? 5086 grep -v '^ *+' conftest.er1 >conftest.err 5087 rm -f conftest.er1 5088 cat conftest.err >&5 5089 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5090 (exit $ac_status); } && 5091 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5092 { (case "(($ac_try" in 5093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5094 *) ac_try_echo=$ac_try;; 5095 esac 5096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5097 (eval "$ac_try") 2>&5 5098 ac_status=$? 5099 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5100 (exit $ac_status); }; } && 5101 { ac_try='test -s conftest.$ac_objext' 5102 { (case "(($ac_try" in 5103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5104 *) ac_try_echo=$ac_try;; 5105 esac 5106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5107 (eval "$ac_try") 2>&5 5108 ac_status=$? 5109 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5110 (exit $ac_status); }; }; then 5111 ac_cv_header_stdc=yes 5112 else 5113 echo "$as_me: failed program was:" >&5 5114 sed 's/^/| /' conftest.$ac_ext >&5 5115 5116 ac_cv_header_stdc=no 5117 fi 5118 5119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5120 5121 if test $ac_cv_header_stdc = yes; then 5122 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 5123 cat >conftest.$ac_ext <<_ACEOF 5124 /* confdefs.h. */ 5125 _ACEOF 5126 cat confdefs.h >>conftest.$ac_ext 5127 cat >>conftest.$ac_ext <<_ACEOF 5128 /* end confdefs.h. */ 5129 #include <string.h> 5130 5131 _ACEOF 5132 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5133 $EGREP "memchr" >/dev/null 2>&1; then 5134 : 5135 else 5136 ac_cv_header_stdc=no 5137 fi 5138 rm -f conftest* 5139 5140 fi 5141 5142 if test $ac_cv_header_stdc = yes; then 5143 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 5144 cat >conftest.$ac_ext <<_ACEOF 5145 /* confdefs.h. */ 5146 _ACEOF 5147 cat confdefs.h >>conftest.$ac_ext 5148 cat >>conftest.$ac_ext <<_ACEOF 5149 /* end confdefs.h. */ 5150 #include <stdlib.h> 5151 5152 _ACEOF 5153 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5154 $EGREP "free" >/dev/null 2>&1; then 5155 : 5156 else 5157 ac_cv_header_stdc=no 5158 fi 5159 rm -f conftest* 5160 5161 fi 5162 5163 if test $ac_cv_header_stdc = yes; then 5164 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 5165 if test "$cross_compiling" = yes; then 5166 : 5167 else 5168 cat >conftest.$ac_ext <<_ACEOF 5169 /* confdefs.h. */ 5170 _ACEOF 5171 cat confdefs.h >>conftest.$ac_ext 5172 cat >>conftest.$ac_ext <<_ACEOF 5173 /* end confdefs.h. */ 5174 #include <ctype.h> 5175 #include <stdlib.h> 5176 #if ((' ' & 0x0FF) == 0x020) 5177 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 5178 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 5179 #else 5180 # define ISLOWER(c) \ 5181 (('a' <= (c) && (c) <= 'i') \ 5182 || ('j' <= (c) && (c) <= 'r') \ 5183 || ('s' <= (c) && (c) <= 'z')) 5184 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 5185 #endif 5186 5187 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 5188 int 5189 main () 5190 { 5191 int i; 5192 for (i = 0; i < 256; i++) 5193 if (XOR (islower (i), ISLOWER (i)) 5194 || toupper (i) != TOUPPER (i)) 5195 return 2; 5196 return 0; 5197 } 5198 _ACEOF 5199 rm -f conftest$ac_exeext 5200 if { (ac_try="$ac_link" 5201 case "(($ac_try" in 5202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5203 *) ac_try_echo=$ac_try;; 5204 esac 5205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5206 (eval "$ac_link") 2>&5 5207 ac_status=$? 5208 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5209 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5210 { (case "(($ac_try" in 5211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5212 *) ac_try_echo=$ac_try;; 5213 esac 5214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5215 (eval "$ac_try") 2>&5 5216 ac_status=$? 5217 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5218 (exit $ac_status); }; }; then 5219 : 5220 else 5221 echo "$as_me: program exited with status $ac_status" >&5 5222 echo "$as_me: failed program was:" >&5 5223 sed 's/^/| /' conftest.$ac_ext >&5 5224 5225 ( exit $ac_status ) 5226 ac_cv_header_stdc=no 5227 fi 5228 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5229 fi 5230 5231 5232 fi 5233 fi 5234 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5235 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 5236 if test $ac_cv_header_stdc = yes; then 5237 5238 cat >>confdefs.h <<\_ACEOF 5239 #define STDC_HEADERS 1 5240 _ACEOF 5241 5242 fi 5243 5244 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 5255 inttypes.h stdint.h unistd.h 5256 do 5257 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5258 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5260 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5261 echo $ECHO_N "(cached) $ECHO_C" >&6 5262 else 5263 cat >conftest.$ac_ext <<_ACEOF 5264 /* confdefs.h. */ 5265 _ACEOF 5266 cat confdefs.h >>conftest.$ac_ext 5267 cat >>conftest.$ac_ext <<_ACEOF 5268 /* end confdefs.h. */ 5269 $ac_includes_default 5270 5271 #include <$ac_header> 5272 _ACEOF 5273 rm -f conftest.$ac_objext 5274 if { (ac_try="$ac_compile" 5275 case "(($ac_try" in 5276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5277 *) ac_try_echo=$ac_try;; 5278 esac 5279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5280 (eval "$ac_compile") 2>conftest.er1 5281 ac_status=$? 5282 grep -v '^ *+' conftest.er1 >conftest.err 5283 rm -f conftest.er1 5284 cat conftest.err >&5 5285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5286 (exit $ac_status); } && 5287 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5288 { (case "(($ac_try" in 5289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5290 *) ac_try_echo=$ac_try;; 5291 esac 5292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5293 (eval "$ac_try") 2>&5 5294 ac_status=$? 5295 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5296 (exit $ac_status); }; } && 5297 { ac_try='test -s conftest.$ac_objext' 5298 { (case "(($ac_try" in 5299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5300 *) ac_try_echo=$ac_try;; 5301 esac 5302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5303 (eval "$ac_try") 2>&5 5304 ac_status=$? 5305 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5306 (exit $ac_status); }; }; then 5307 eval "$as_ac_Header=yes" 5308 else 5309 echo "$as_me: failed program was:" >&5 5310 sed 's/^/| /' conftest.$ac_ext >&5 5311 5312 eval "$as_ac_Header=no" 5313 fi 5314 5315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5316 fi 5317 ac_res=`eval echo '${'$as_ac_Header'}'` 5318 { echo "$as_me:$LINENO: result: $ac_res" >&5 5319 echo "${ECHO_T}$ac_res" >&6; } 5320 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5321 cat >>confdefs.h <<_ACEOF 5322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5323 _ACEOF 5324 5325 fi 5326 5327 done 5328 5329 5330 5331 for ac_header in dlfcn.h 5332 do 5333 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5334 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5335 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5337 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5338 echo $ECHO_N "(cached) $ECHO_C" >&6 5339 fi 5340 ac_res=`eval echo '${'$as_ac_Header'}'` 5341 { echo "$as_me:$LINENO: result: $ac_res" >&5 5342 echo "${ECHO_T}$ac_res" >&6; } 5343 else 5344 # Is the header compilable? 5345 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5346 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5347 cat >conftest.$ac_ext <<_ACEOF 5348 /* confdefs.h. */ 5349 _ACEOF 5350 cat confdefs.h >>conftest.$ac_ext 5351 cat >>conftest.$ac_ext <<_ACEOF 5352 /* end confdefs.h. */ 5353 $ac_includes_default 5354 #include <$ac_header> 5355 _ACEOF 5356 rm -f conftest.$ac_objext 5357 if { (ac_try="$ac_compile" 5358 case "(($ac_try" in 5359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5360 *) ac_try_echo=$ac_try;; 5361 esac 5362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5363 (eval "$ac_compile") 2>conftest.er1 5364 ac_status=$? 5365 grep -v '^ *+' conftest.er1 >conftest.err 5366 rm -f conftest.er1 5367 cat conftest.err >&5 5368 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5369 (exit $ac_status); } && 5370 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5371 { (case "(($ac_try" in 5372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5373 *) ac_try_echo=$ac_try;; 5374 esac 5375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5376 (eval "$ac_try") 2>&5 5377 ac_status=$? 5378 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5379 (exit $ac_status); }; } && 5380 { ac_try='test -s conftest.$ac_objext' 5381 { (case "(($ac_try" in 5382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5383 *) ac_try_echo=$ac_try;; 5384 esac 5385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5386 (eval "$ac_try") 2>&5 5387 ac_status=$? 5388 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5389 (exit $ac_status); }; }; then 5390 ac_header_compiler=yes 5391 else 5392 echo "$as_me: failed program was:" >&5 5393 sed 's/^/| /' conftest.$ac_ext >&5 5394 5395 ac_header_compiler=no 5396 fi 5397 5398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5399 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5400 echo "${ECHO_T}$ac_header_compiler" >&6; } 5401 5402 # Is the header present? 5403 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5404 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5405 cat >conftest.$ac_ext <<_ACEOF 5406 /* confdefs.h. */ 5407 _ACEOF 5408 cat confdefs.h >>conftest.$ac_ext 5409 cat >>conftest.$ac_ext <<_ACEOF 5410 /* end confdefs.h. */ 5411 #include <$ac_header> 5412 _ACEOF 5413 if { (ac_try="$ac_cpp conftest.$ac_ext" 5414 case "(($ac_try" in 5415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5416 *) ac_try_echo=$ac_try;; 5417 esac 5418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5419 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5420 ac_status=$? 5421 grep -v '^ *+' conftest.er1 >conftest.err 5422 rm -f conftest.er1 5423 cat conftest.err >&5 5424 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5425 (exit $ac_status); } >/dev/null; then 5426 if test -s conftest.err; then 5427 ac_cpp_err=$ac_c_preproc_warn_flag 5428 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5429 else 5430 ac_cpp_err= 5431 fi 5432 else 5433 ac_cpp_err=yes 5434 fi 5435 if test -z "$ac_cpp_err"; then 5436 ac_header_preproc=yes 5437 else 5438 echo "$as_me: failed program was:" >&5 5439 sed 's/^/| /' conftest.$ac_ext >&5 5440 5441 ac_header_preproc=no 5442 fi 5443 5444 rm -f conftest.err conftest.$ac_ext 5445 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5446 echo "${ECHO_T}$ac_header_preproc" >&6; } 5447 5448 # So? What about this header? 5449 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5450 yes:no: ) 5451 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5452 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5453 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5454 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5455 ac_header_preproc=yes 5456 ;; 5457 no:yes:* ) 5458 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5459 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5460 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5461 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5462 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5463 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5464 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5465 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5466 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5467 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5468 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5469 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5470 5471 ;; 5472 esac 5473 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5474 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5475 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5476 echo $ECHO_N "(cached) $ECHO_C" >&6 5477 else 5478 eval "$as_ac_Header=\$ac_header_preproc" 5479 fi 5480 ac_res=`eval echo '${'$as_ac_Header'}'` 5481 { echo "$as_me:$LINENO: result: $ac_res" >&5 5482 echo "${ECHO_T}$ac_res" >&6; } 5483 5484 fi 5485 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5486 cat >>confdefs.h <<_ACEOF 5487 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5488 _ACEOF 5489 5490 fi 5491 5492 done 5493 5494 ac_ext=cpp 5495 ac_cpp='$CXXCPP $CPPFLAGS' 5496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5499 if test -z "$CXX"; then 5500 if test -n "$CCC"; then 5501 CXX=$CCC 5502 else 5503 if test -n "$ac_tool_prefix"; then 5504 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 5505 do 5506 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5507 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5508 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5510 if test "${ac_cv_prog_CXX+set}" = set; then 5511 echo $ECHO_N "(cached) $ECHO_C" >&6 5512 else 5513 if test -n "$CXX"; then 5514 ac_cv_prog_CXX="$CXX" # Let the user override the test. 5515 else 5516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5517 for as_dir in $PATH 5518 do 5519 IFS=$as_save_IFS 5520 test -z "$as_dir" && as_dir=. 5521 for ac_exec_ext in '' $ac_executable_extensions; do 5522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 5523 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 5524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5525 break 2 5526 fi 5527 done 5528 done 5529 IFS=$as_save_IFS 5530 5531 fi 5532 fi 5533 CXX=$ac_cv_prog_CXX 5534 if test -n "$CXX"; then 5535 { echo "$as_me:$LINENO: result: $CXX" >&5 5536 echo "${ECHO_T}$CXX" >&6; } 5537 else 5538 { echo "$as_me:$LINENO: result: no" >&5 5539 echo "${ECHO_T}no" >&6; } 5540 fi 5541 5542 5543 test -n "$CXX" && break 5544 done 5545 fi 5546 if test -z "$CXX"; then 5547 ac_ct_CXX=$CXX 5548 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 5549 do 5550 # Extract the first word of "$ac_prog", so it can be a program name with args. 5551 set dummy $ac_prog; ac_word=$2 5552 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5554 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 5555 echo $ECHO_N "(cached) $ECHO_C" >&6 5556 else 5557 if test -n "$ac_ct_CXX"; then 5558 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 5559 else 5560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5561 for as_dir in $PATH 5562 do 5563 IFS=$as_save_IFS 5564 test -z "$as_dir" && as_dir=. 5565 for ac_exec_ext in '' $ac_executable_extensions; do 5566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 5567 ac_cv_prog_ac_ct_CXX="$ac_prog" 5568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5569 break 2 5570 fi 5571 done 5572 done 5573 IFS=$as_save_IFS 5574 5575 fi 5576 fi 5577 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 5578 if test -n "$ac_ct_CXX"; then 5579 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 5580 echo "${ECHO_T}$ac_ct_CXX" >&6; } 5581 else 5582 { echo "$as_me:$LINENO: result: no" >&5 5583 echo "${ECHO_T}no" >&6; } 5584 fi 5585 5586 5587 test -n "$ac_ct_CXX" && break 5588 done 5589 5590 if test "x$ac_ct_CXX" = x; then 5591 CXX="g++" 5592 else 5593 case $cross_compiling:$ac_tool_warned in 5594 yes:) 5595 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 5596 whose name does not start with the host triplet. If you think this 5597 configuration is useful to you, please write to autoconf (at] gnu.org." >&5 5598 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 5599 whose name does not start with the host triplet. If you think this 5600 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;} 5601 ac_tool_warned=yes ;; 5602 esac 5603 CXX=$ac_ct_CXX 5604 fi 5605 fi 5606 5607 fi 5608 fi 5609 # Provide some information about the compiler. 5610 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 5611 ac_compiler=`set X $ac_compile; echo $2` 5612 { (ac_try="$ac_compiler --version >&5" 5613 case "(($ac_try" in 5614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5615 *) ac_try_echo=$ac_try;; 5616 esac 5617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5618 (eval "$ac_compiler --version >&5") 2>&5 5619 ac_status=$? 5620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5621 (exit $ac_status); } 5622 { (ac_try="$ac_compiler -v >&5" 5623 case "(($ac_try" in 5624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5625 *) ac_try_echo=$ac_try;; 5626 esac 5627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5628 (eval "$ac_compiler -v >&5") 2>&5 5629 ac_status=$? 5630 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5631 (exit $ac_status); } 5632 { (ac_try="$ac_compiler -V >&5" 5633 case "(($ac_try" in 5634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5635 *) ac_try_echo=$ac_try;; 5636 esac 5637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5638 (eval "$ac_compiler -V >&5") 2>&5 5639 ac_status=$? 5640 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5641 (exit $ac_status); } 5642 5643 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 5644 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 5645 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 5646 echo $ECHO_N "(cached) $ECHO_C" >&6 5647 else 5648 cat >conftest.$ac_ext <<_ACEOF 5649 /* confdefs.h. */ 5650 _ACEOF 5651 cat confdefs.h >>conftest.$ac_ext 5652 cat >>conftest.$ac_ext <<_ACEOF 5653 /* end confdefs.h. */ 5654 5655 int 5656 main () 5657 { 5658 #ifndef __GNUC__ 5659 choke me 5660 #endif 5661 5662 ; 5663 return 0; 5664 } 5665 _ACEOF 5666 rm -f conftest.$ac_objext 5667 if { (ac_try="$ac_compile" 5668 case "(($ac_try" in 5669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5670 *) ac_try_echo=$ac_try;; 5671 esac 5672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5673 (eval "$ac_compile") 2>conftest.er1 5674 ac_status=$? 5675 grep -v '^ *+' conftest.er1 >conftest.err 5676 rm -f conftest.er1 5677 cat conftest.err >&5 5678 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5679 (exit $ac_status); } && 5680 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5681 { (case "(($ac_try" in 5682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5683 *) ac_try_echo=$ac_try;; 5684 esac 5685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5686 (eval "$ac_try") 2>&5 5687 ac_status=$? 5688 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5689 (exit $ac_status); }; } && 5690 { ac_try='test -s conftest.$ac_objext' 5691 { (case "(($ac_try" in 5692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5693 *) ac_try_echo=$ac_try;; 5694 esac 5695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5696 (eval "$ac_try") 2>&5 5697 ac_status=$? 5698 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5699 (exit $ac_status); }; }; then 5700 ac_compiler_gnu=yes 5701 else 5702 echo "$as_me: failed program was:" >&5 5703 sed 's/^/| /' conftest.$ac_ext >&5 5704 5705 ac_compiler_gnu=no 5706 fi 5707 5708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5709 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 5710 5711 fi 5712 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 5713 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 5714 GXX=`test $ac_compiler_gnu = yes && echo yes` 5715 ac_test_CXXFLAGS=${CXXFLAGS+set} 5716 ac_save_CXXFLAGS=$CXXFLAGS 5717 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 5718 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 5719 if test "${ac_cv_prog_cxx_g+set}" = set; then 5720 echo $ECHO_N "(cached) $ECHO_C" >&6 5721 else 5722 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 5723 ac_cxx_werror_flag=yes 5724 ac_cv_prog_cxx_g=no 5725 CXXFLAGS="-g" 5726 cat >conftest.$ac_ext <<_ACEOF 5727 /* confdefs.h. */ 5728 _ACEOF 5729 cat confdefs.h >>conftest.$ac_ext 5730 cat >>conftest.$ac_ext <<_ACEOF 5731 /* end confdefs.h. */ 5732 5733 int 5734 main () 5735 { 5736 5737 ; 5738 return 0; 5739 } 5740 _ACEOF 5741 rm -f conftest.$ac_objext 5742 if { (ac_try="$ac_compile" 5743 case "(($ac_try" in 5744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5745 *) ac_try_echo=$ac_try;; 5746 esac 5747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5748 (eval "$ac_compile") 2>conftest.er1 5749 ac_status=$? 5750 grep -v '^ *+' conftest.er1 >conftest.err 5751 rm -f conftest.er1 5752 cat conftest.err >&5 5753 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5754 (exit $ac_status); } && 5755 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5756 { (case "(($ac_try" in 5757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5758 *) ac_try_echo=$ac_try;; 5759 esac 5760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5761 (eval "$ac_try") 2>&5 5762 ac_status=$? 5763 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5764 (exit $ac_status); }; } && 5765 { ac_try='test -s conftest.$ac_objext' 5766 { (case "(($ac_try" in 5767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5768 *) ac_try_echo=$ac_try;; 5769 esac 5770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5771 (eval "$ac_try") 2>&5 5772 ac_status=$? 5773 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5774 (exit $ac_status); }; }; then 5775 ac_cv_prog_cxx_g=yes 5776 else 5777 echo "$as_me: failed program was:" >&5 5778 sed 's/^/| /' conftest.$ac_ext >&5 5779 5780 CXXFLAGS="" 5781 cat >conftest.$ac_ext <<_ACEOF 5782 /* confdefs.h. */ 5783 _ACEOF 5784 cat confdefs.h >>conftest.$ac_ext 5785 cat >>conftest.$ac_ext <<_ACEOF 5786 /* end confdefs.h. */ 5787 5788 int 5789 main () 5790 { 5791 5792 ; 5793 return 0; 5794 } 5795 _ACEOF 5796 rm -f conftest.$ac_objext 5797 if { (ac_try="$ac_compile" 5798 case "(($ac_try" in 5799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5800 *) ac_try_echo=$ac_try;; 5801 esac 5802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5803 (eval "$ac_compile") 2>conftest.er1 5804 ac_status=$? 5805 grep -v '^ *+' conftest.er1 >conftest.err 5806 rm -f conftest.er1 5807 cat conftest.err >&5 5808 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5809 (exit $ac_status); } && 5810 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5811 { (case "(($ac_try" in 5812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5813 *) ac_try_echo=$ac_try;; 5814 esac 5815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5816 (eval "$ac_try") 2>&5 5817 ac_status=$? 5818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5819 (exit $ac_status); }; } && 5820 { ac_try='test -s conftest.$ac_objext' 5821 { (case "(($ac_try" in 5822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5823 *) ac_try_echo=$ac_try;; 5824 esac 5825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5826 (eval "$ac_try") 2>&5 5827 ac_status=$? 5828 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5829 (exit $ac_status); }; }; then 5830 : 5831 else 5832 echo "$as_me: failed program was:" >&5 5833 sed 's/^/| /' conftest.$ac_ext >&5 5834 5835 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 5836 CXXFLAGS="-g" 5837 cat >conftest.$ac_ext <<_ACEOF 5838 /* confdefs.h. */ 5839 _ACEOF 5840 cat confdefs.h >>conftest.$ac_ext 5841 cat >>conftest.$ac_ext <<_ACEOF 5842 /* end confdefs.h. */ 5843 5844 int 5845 main () 5846 { 5847 5848 ; 5849 return 0; 5850 } 5851 _ACEOF 5852 rm -f conftest.$ac_objext 5853 if { (ac_try="$ac_compile" 5854 case "(($ac_try" in 5855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5856 *) ac_try_echo=$ac_try;; 5857 esac 5858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5859 (eval "$ac_compile") 2>conftest.er1 5860 ac_status=$? 5861 grep -v '^ *+' conftest.er1 >conftest.err 5862 rm -f conftest.er1 5863 cat conftest.err >&5 5864 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5865 (exit $ac_status); } && 5866 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5867 { (case "(($ac_try" in 5868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5869 *) ac_try_echo=$ac_try;; 5870 esac 5871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5872 (eval "$ac_try") 2>&5 5873 ac_status=$? 5874 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5875 (exit $ac_status); }; } && 5876 { ac_try='test -s conftest.$ac_objext' 5877 { (case "(($ac_try" in 5878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5879 *) ac_try_echo=$ac_try;; 5880 esac 5881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5882 (eval "$ac_try") 2>&5 5883 ac_status=$? 5884 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5885 (exit $ac_status); }; }; then 5886 ac_cv_prog_cxx_g=yes 5887 else 5888 echo "$as_me: failed program was:" >&5 5889 sed 's/^/| /' conftest.$ac_ext >&5 5890 5891 5892 fi 5893 5894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5895 fi 5896 5897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5898 fi 5899 5900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5901 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 5902 fi 5903 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 5904 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 5905 if test "$ac_test_CXXFLAGS" = set; then 5906 CXXFLAGS=$ac_save_CXXFLAGS 5907 elif test $ac_cv_prog_cxx_g = yes; then 5908 if test "$GXX" = yes; then 5909 CXXFLAGS="-g -O2" 5910 else 5911 CXXFLAGS="-g" 5912 fi 5913 else 5914 if test "$GXX" = yes; then 5915 CXXFLAGS="-O2" 5916 else 5917 CXXFLAGS= 5918 fi 5919 fi 5920 ac_ext=cpp 5921 ac_cpp='$CXXCPP $CPPFLAGS' 5922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5925 5926 depcc="$CXX" am_compiler_list= 5927 5928 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 5929 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 5930 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then 5931 echo $ECHO_N "(cached) $ECHO_C" >&6 5932 else 5933 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5934 # We make a subdir and do the tests there. Otherwise we can end up 5935 # making bogus files that we don't know about and never remove. For 5936 # instance it was reported that on HP-UX the gcc test will end up 5937 # making a dummy file named `D' -- because `-MD' means `put the output 5938 # in D'. 5939 mkdir conftest.dir 5940 # Copy depcomp to subdir because otherwise we won't find it if we're 5941 # using a relative directory. 5942 cp "$am_depcomp" conftest.dir 5943 cd conftest.dir 5944 # We will build objects and dependencies in a subdirectory because 5945 # it helps to detect inapplicable dependency modes. For instance 5946 # both Tru64's cc and ICC support -MD to output dependencies as a 5947 # side effect of compilation, but ICC will put the dependencies in 5948 # the current directory while Tru64 will put them in the object 5949 # directory. 5950 mkdir sub 5951 5952 am_cv_CXX_dependencies_compiler_type=none 5953 if test "$am_compiler_list" = ""; then 5954 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5955 fi 5956 for depmode in $am_compiler_list; do 5957 # Setup a source with many dependencies, because some compilers 5958 # like to wrap large dependency lists on column 80 (with \), and 5959 # we should not choose a depcomp mode which is confused by this. 5960 # 5961 # We need to recreate these files for each test, as the compiler may 5962 # overwrite some of them when testing with obscure command lines. 5963 # This happens at least with the AIX C compiler. 5964 : > sub/conftest.c 5965 for i in 1 2 3 4 5 6; do 5966 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5967 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 5968 # Solaris 8's {/usr,}/bin/sh. 5969 touch sub/conftst$i.h 5970 done 5971 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5972 5973 case $depmode in 5974 nosideeffect) 5975 # after this tag, mechanisms are not by side-effect, so they'll 5976 # only be used when explicitly requested 5977 if test "x$enable_dependency_tracking" = xyes; then 5978 continue 5979 else 5980 break 5981 fi 5982 ;; 5983 none) break ;; 5984 esac 5985 # We check with `-c' and `-o' for the sake of the "dashmstdout" 5986 # mode. It turns out that the SunPro C++ compiler does not properly 5987 # handle `-M -o', and we need to detect this. 5988 if depmode=$depmode \ 5989 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 5990 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5991 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 5992 >/dev/null 2>conftest.err && 5993 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5994 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 5995 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5996 # icc doesn't choke on unknown options, it will just issue warnings 5997 # or remarks (even with -Werror). So we grep stderr for any message 5998 # that says an option was ignored or not supported. 5999 # When given -MP, icc 7.0 and 7.1 complain thusly: 6000 # icc: Command line warning: ignoring option '-M'; no argument required 6001 # The diagnosis changed in icc 8.0: 6002 # icc: Command line remark: option '-MP' not supported 6003 if (grep 'ignoring option' conftest.err || 6004 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 6005 am_cv_CXX_dependencies_compiler_type=$depmode 6006 break 6007 fi 6008 fi 6009 done 6010 6011 cd .. 6012 rm -rf conftest.dir 6013 else 6014 am_cv_CXX_dependencies_compiler_type=none 6015 fi 6016 6017 fi 6018 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 6019 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; } 6020 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 6021 6022 6023 6024 if 6025 test "x$enable_dependency_tracking" != xno \ 6026 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 6027 am__fastdepCXX_TRUE= 6028 am__fastdepCXX_FALSE='#' 6029 else 6030 am__fastdepCXX_TRUE='#' 6031 am__fastdepCXX_FALSE= 6032 fi 6033 6034 6035 6036 6037 if test -n "$CXX" && ( test "X$CXX" != "Xno" && 6038 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 6039 (test "X$CXX" != "Xg++"))) ; then 6040 ac_ext=cpp 6041 ac_cpp='$CXXCPP $CPPFLAGS' 6042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 6045 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 6046 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } 6047 if test -z "$CXXCPP"; then 6048 if test "${ac_cv_prog_CXXCPP+set}" = set; then 6049 echo $ECHO_N "(cached) $ECHO_C" >&6 6050 else 6051 # Double quotes because CXXCPP needs to be expanded 6052 for CXXCPP in "$CXX -E" "/lib/cpp" 6053 do 6054 ac_preproc_ok=false 6055 for ac_cxx_preproc_warn_flag in '' yes 6056 do 6057 # Use a header file that comes with gcc, so configuring glibc 6058 # with a fresh cross-compiler works. 6059 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6060 # <limits.h> exists even on freestanding compilers. 6061 # On the NeXT, cc -E runs the code through the compiler's parser, 6062 # not just through cpp. "Syntax error" is here to catch this case. 6063 cat >conftest.$ac_ext <<_ACEOF 6064 /* confdefs.h. */ 6065 _ACEOF 6066 cat confdefs.h >>conftest.$ac_ext 6067 cat >>conftest.$ac_ext <<_ACEOF 6068 /* end confdefs.h. */ 6069 #ifdef __STDC__ 6070 # include <limits.h> 6071 #else 6072 # include <assert.h> 6073 #endif 6074 Syntax error 6075 _ACEOF 6076 if { (ac_try="$ac_cpp conftest.$ac_ext" 6077 case "(($ac_try" in 6078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6079 *) ac_try_echo=$ac_try;; 6080 esac 6081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6082 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6083 ac_status=$? 6084 grep -v '^ *+' conftest.er1 >conftest.err 6085 rm -f conftest.er1 6086 cat conftest.err >&5 6087 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6088 (exit $ac_status); } >/dev/null; then 6089 if test -s conftest.err; then 6090 ac_cpp_err=$ac_cxx_preproc_warn_flag 6091 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 6092 else 6093 ac_cpp_err= 6094 fi 6095 else 6096 ac_cpp_err=yes 6097 fi 6098 if test -z "$ac_cpp_err"; then 6099 : 6100 else 6101 echo "$as_me: failed program was:" >&5 6102 sed 's/^/| /' conftest.$ac_ext >&5 6103 6104 # Broken: fails on valid input. 6105 continue 6106 fi 6107 6108 rm -f conftest.err conftest.$ac_ext 6109 6110 # OK, works on sane cases. Now check whether nonexistent headers 6111 # can be detected and how. 6112 cat >conftest.$ac_ext <<_ACEOF 6113 /* confdefs.h. */ 6114 _ACEOF 6115 cat confdefs.h >>conftest.$ac_ext 6116 cat >>conftest.$ac_ext <<_ACEOF 6117 /* end confdefs.h. */ 6118 #include <ac_nonexistent.h> 6119 _ACEOF 6120 if { (ac_try="$ac_cpp conftest.$ac_ext" 6121 case "(($ac_try" in 6122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6123 *) ac_try_echo=$ac_try;; 6124 esac 6125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6126 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6127 ac_status=$? 6128 grep -v '^ *+' conftest.er1 >conftest.err 6129 rm -f conftest.er1 6130 cat conftest.err >&5 6131 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6132 (exit $ac_status); } >/dev/null; then 6133 if test -s conftest.err; then 6134 ac_cpp_err=$ac_cxx_preproc_warn_flag 6135 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 6136 else 6137 ac_cpp_err= 6138 fi 6139 else 6140 ac_cpp_err=yes 6141 fi 6142 if test -z "$ac_cpp_err"; then 6143 # Broken: success on invalid input. 6144 continue 6145 else 6146 echo "$as_me: failed program was:" >&5 6147 sed 's/^/| /' conftest.$ac_ext >&5 6148 6149 # Passes both tests. 6150 ac_preproc_ok=: 6151 break 6152 fi 6153 6154 rm -f conftest.err conftest.$ac_ext 6155 6156 done 6157 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6158 rm -f conftest.err conftest.$ac_ext 6159 if $ac_preproc_ok; then 6160 break 6161 fi 6162 6163 done 6164 ac_cv_prog_CXXCPP=$CXXCPP 6165 6166 fi 6167 CXXCPP=$ac_cv_prog_CXXCPP 6168 else 6169 ac_cv_prog_CXXCPP=$CXXCPP 6170 fi 6171 { echo "$as_me:$LINENO: result: $CXXCPP" >&5 6172 echo "${ECHO_T}$CXXCPP" >&6; } 6173 ac_preproc_ok=false 6174 for ac_cxx_preproc_warn_flag in '' yes 6175 do 6176 # Use a header file that comes with gcc, so configuring glibc 6177 # with a fresh cross-compiler works. 6178 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6179 # <limits.h> exists even on freestanding compilers. 6180 # On the NeXT, cc -E runs the code through the compiler's parser, 6181 # not just through cpp. "Syntax error" is here to catch this case. 6182 cat >conftest.$ac_ext <<_ACEOF 6183 /* confdefs.h. */ 6184 _ACEOF 6185 cat confdefs.h >>conftest.$ac_ext 6186 cat >>conftest.$ac_ext <<_ACEOF 6187 /* end confdefs.h. */ 6188 #ifdef __STDC__ 6189 # include <limits.h> 6190 #else 6191 # include <assert.h> 6192 #endif 6193 Syntax error 6194 _ACEOF 6195 if { (ac_try="$ac_cpp conftest.$ac_ext" 6196 case "(($ac_try" in 6197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6198 *) ac_try_echo=$ac_try;; 6199 esac 6200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6201 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6202 ac_status=$? 6203 grep -v '^ *+' conftest.er1 >conftest.err 6204 rm -f conftest.er1 6205 cat conftest.err >&5 6206 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6207 (exit $ac_status); } >/dev/null; then 6208 if test -s conftest.err; then 6209 ac_cpp_err=$ac_cxx_preproc_warn_flag 6210 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 6211 else 6212 ac_cpp_err= 6213 fi 6214 else 6215 ac_cpp_err=yes 6216 fi 6217 if test -z "$ac_cpp_err"; then 6218 : 6219 else 6220 echo "$as_me: failed program was:" >&5 6221 sed 's/^/| /' conftest.$ac_ext >&5 6222 6223 # Broken: fails on valid input. 6224 continue 6225 fi 6226 6227 rm -f conftest.err conftest.$ac_ext 6228 6229 # OK, works on sane cases. Now check whether nonexistent headers 6230 # can be detected and how. 6231 cat >conftest.$ac_ext <<_ACEOF 6232 /* confdefs.h. */ 6233 _ACEOF 6234 cat confdefs.h >>conftest.$ac_ext 6235 cat >>conftest.$ac_ext <<_ACEOF 6236 /* end confdefs.h. */ 6237 #include <ac_nonexistent.h> 6238 _ACEOF 6239 if { (ac_try="$ac_cpp conftest.$ac_ext" 6240 case "(($ac_try" in 6241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6242 *) ac_try_echo=$ac_try;; 6243 esac 6244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6245 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6246 ac_status=$? 6247 grep -v '^ *+' conftest.er1 >conftest.err 6248 rm -f conftest.er1 6249 cat conftest.err >&5 6250 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6251 (exit $ac_status); } >/dev/null; then 6252 if test -s conftest.err; then 6253 ac_cpp_err=$ac_cxx_preproc_warn_flag 6254 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 6255 else 6256 ac_cpp_err= 6257 fi 6258 else 6259 ac_cpp_err=yes 6260 fi 6261 if test -z "$ac_cpp_err"; then 6262 # Broken: success on invalid input. 6263 continue 6264 else 6265 echo "$as_me: failed program was:" >&5 6266 sed 's/^/| /' conftest.$ac_ext >&5 6267 6268 # Passes both tests. 6269 ac_preproc_ok=: 6270 break 6271 fi 6272 6273 rm -f conftest.err conftest.$ac_ext 6274 6275 done 6276 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6277 rm -f conftest.err conftest.$ac_ext 6278 if $ac_preproc_ok; then 6279 : 6280 else 6281 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 6282 See \`config.log' for more details." >&5 6283 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 6284 See \`config.log' for more details." >&2;} 6285 { (exit 1); exit 1; }; } 6286 fi 6287 6288 ac_ext=cpp 6289 ac_cpp='$CXXCPP $CPPFLAGS' 6290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 6293 6294 fi 6295 6296 6297 ac_ext=f 6298 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 6299 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6300 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 6301 if test -n "$ac_tool_prefix"; then 6302 for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn 6303 do 6304 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6305 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6306 { echo "$as_me:$LINENO: checking for $ac_word" >&5 6307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6308 if test "${ac_cv_prog_F77+set}" = set; then 6309 echo $ECHO_N "(cached) $ECHO_C" >&6 6310 else 6311 if test -n "$F77"; then 6312 ac_cv_prog_F77="$F77" # Let the user override the test. 6313 else 6314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6315 for as_dir in $PATH 6316 do 6317 IFS=$as_save_IFS 6318 test -z "$as_dir" && as_dir=. 6319 for ac_exec_ext in '' $ac_executable_extensions; do 6320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 6321 ac_cv_prog_F77="$ac_tool_prefix$ac_prog" 6322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6323 break 2 6324 fi 6325 done 6326 done 6327 IFS=$as_save_IFS 6328 6329 fi 6330 fi 6331 F77=$ac_cv_prog_F77 6332 if test -n "$F77"; then 6333 { echo "$as_me:$LINENO: result: $F77" >&5 6334 echo "${ECHO_T}$F77" >&6; } 6335 else 6336 { echo "$as_me:$LINENO: result: no" >&5 6337 echo "${ECHO_T}no" >&6; } 6338 fi 6339 6340 6341 test -n "$F77" && break 6342 done 6343 fi 6344 if test -z "$F77"; then 6345 ac_ct_F77=$F77 6346 for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn 6347 do 6348 # Extract the first word of "$ac_prog", so it can be a program name with args. 6349 set dummy $ac_prog; ac_word=$2 6350 { echo "$as_me:$LINENO: checking for $ac_word" >&5 6351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6352 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then 6353 echo $ECHO_N "(cached) $ECHO_C" >&6 6354 else 6355 if test -n "$ac_ct_F77"; then 6356 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test. 6357 else 6358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6359 for as_dir in $PATH 6360 do 6361 IFS=$as_save_IFS 6362 test -z "$as_dir" && as_dir=. 6363 for ac_exec_ext in '' $ac_executable_extensions; do 6364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 6365 ac_cv_prog_ac_ct_F77="$ac_prog" 6366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6367 break 2 6368 fi 6369 done 6370 done 6371 IFS=$as_save_IFS 6372 6373 fi 6374 fi 6375 ac_ct_F77=$ac_cv_prog_ac_ct_F77 6376 if test -n "$ac_ct_F77"; then 6377 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 6378 echo "${ECHO_T}$ac_ct_F77" >&6; } 6379 else 6380 { echo "$as_me:$LINENO: result: no" >&5 6381 echo "${ECHO_T}no" >&6; } 6382 fi 6383 6384 6385 test -n "$ac_ct_F77" && break 6386 done 6387 6388 if test "x$ac_ct_F77" = x; then 6389 F77="" 6390 else 6391 case $cross_compiling:$ac_tool_warned in 6392 yes:) 6393 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 6394 whose name does not start with the host triplet. If you think this 6395 configuration is useful to you, please write to autoconf@gnu.org." >&5 6396 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 6397 whose name does not start with the host triplet. If you think this 6398 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 6399 ac_tool_warned=yes ;; 6400 esac 6401 F77=$ac_ct_F77 6402 fi 6403 fi 6404 6405 6406 # Provide some information about the compiler. 6407 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5 6408 ac_compiler=`set X $ac_compile; echo $2` 6409 { (ac_try="$ac_compiler --version >&5" 6410 case "(($ac_try" in 6411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6412 *) ac_try_echo=$ac_try;; 6413 esac 6414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6415 (eval "$ac_compiler --version >&5") 2>&5 6416 ac_status=$? 6417 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6418 (exit $ac_status); } 6419 { (ac_try="$ac_compiler -v >&5" 6420 case "(($ac_try" in 6421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6422 *) ac_try_echo=$ac_try;; 6423 esac 6424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6425 (eval "$ac_compiler -v >&5") 2>&5 6426 ac_status=$? 6427 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6428 (exit $ac_status); } 6429 { (ac_try="$ac_compiler -V >&5" 6430 case "(($ac_try" in 6431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6432 *) ac_try_echo=$ac_try;; 6433 esac 6434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6435 (eval "$ac_compiler -V >&5") 2>&5 6436 ac_status=$? 6437 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6438 (exit $ac_status); } 6439 rm -f a.out 6440 6441 # If we don't use `.F' as extension, the preprocessor is not run on the 6442 # input file. (Note that this only needs to work for GNU compilers.) 6443 ac_save_ext=$ac_ext 6444 ac_ext=F 6445 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 6446 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; } 6447 if test "${ac_cv_f77_compiler_gnu+set}" = set; then 6448 echo $ECHO_N "(cached) $ECHO_C" >&6 6449 else 6450 cat >conftest.$ac_ext <<_ACEOF 6451 program main 6452 #ifndef __GNUC__ 6453 choke me 6454 #endif 6455 6456 end 6457 _ACEOF 6458 rm -f conftest.$ac_objext 6459 if { (ac_try="$ac_compile" 6460 case "(($ac_try" in 6461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6462 *) ac_try_echo=$ac_try;; 6463 esac 6464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6465 (eval "$ac_compile") 2>conftest.er1 6466 ac_status=$? 6467 grep -v '^ *+' conftest.er1 >conftest.err 6468 rm -f conftest.er1 6469 cat conftest.err >&5 6470 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6471 (exit $ac_status); } && 6472 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' 6473 { (case "(($ac_try" in 6474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6475 *) ac_try_echo=$ac_try;; 6476 esac 6477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6478 (eval "$ac_try") 2>&5 6479 ac_status=$? 6480 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6481 (exit $ac_status); }; } && 6482 { ac_try='test -s conftest.$ac_objext' 6483 { (case "(($ac_try" in 6484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6485 *) ac_try_echo=$ac_try;; 6486 esac 6487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6488 (eval "$ac_try") 2>&5 6489 ac_status=$? 6490 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6491 (exit $ac_status); }; }; then 6492 ac_compiler_gnu=yes 6493 else 6494 echo "$as_me: failed program was:" >&5 6495 sed 's/^/| /' conftest.$ac_ext >&5 6496 6497 ac_compiler_gnu=no 6498 fi 6499 6500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6501 ac_cv_f77_compiler_gnu=$ac_compiler_gnu 6502 6503 fi 6504 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 6505 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; } 6506 ac_ext=$ac_save_ext 6507 ac_test_FFLAGS=${FFLAGS+set} 6508 ac_save_FFLAGS=$FFLAGS 6509 FFLAGS= 6510 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 6511 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; } 6512 if test "${ac_cv_prog_f77_g+set}" = set; then 6513 echo $ECHO_N "(cached) $ECHO_C" >&6 6514 else 6515 FFLAGS=-g 6516 cat >conftest.$ac_ext <<_ACEOF 6517 program main 6518 6519 end 6520 _ACEOF 6521 rm -f conftest.$ac_objext 6522 if { (ac_try="$ac_compile" 6523 case "(($ac_try" in 6524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6525 *) ac_try_echo=$ac_try;; 6526 esac 6527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6528 (eval "$ac_compile") 2>conftest.er1 6529 ac_status=$? 6530 grep -v '^ *+' conftest.er1 >conftest.err 6531 rm -f conftest.er1 6532 cat conftest.err >&5 6533 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6534 (exit $ac_status); } && 6535 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' 6536 { (case "(($ac_try" in 6537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6538 *) ac_try_echo=$ac_try;; 6539 esac 6540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6541 (eval "$ac_try") 2>&5 6542 ac_status=$? 6543 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6544 (exit $ac_status); }; } && 6545 { ac_try='test -s conftest.$ac_objext' 6546 { (case "(($ac_try" in 6547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6548 *) ac_try_echo=$ac_try;; 6549 esac 6550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6551 (eval "$ac_try") 2>&5 6552 ac_status=$? 6553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6554 (exit $ac_status); }; }; then 6555 ac_cv_prog_f77_g=yes 6556 else 6557 echo "$as_me: failed program was:" >&5 6558 sed 's/^/| /' conftest.$ac_ext >&5 6559 6560 ac_cv_prog_f77_g=no 6561 fi 6562 6563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6564 6565 fi 6566 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 6567 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; } 6568 if test "$ac_test_FFLAGS" = set; then 6569 FFLAGS=$ac_save_FFLAGS 6570 elif test $ac_cv_prog_f77_g = yes; then 6571 if test "x$ac_cv_f77_compiler_gnu" = xyes; then 6572 FFLAGS="-g -O2" 6573 else 6574 FFLAGS="-g" 6575 fi 6576 else 6577 if test "x$ac_cv_f77_compiler_gnu" = xyes; then 6578 FFLAGS="-O2" 6579 else 6580 FFLAGS= 6581 fi 6582 fi 6583 6584 G77=`test $ac_compiler_gnu = yes && echo yes` 6585 ac_ext=c 6586 ac_cpp='$CPP $CPPFLAGS' 6587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6589 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6590 6591 6592 6593 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! 6594 6595 # find the maximum length of command line arguments 6596 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 6597 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; } 6598 if test "${lt_cv_sys_max_cmd_len+set}" = set; then 6599 echo $ECHO_N "(cached) $ECHO_C" >&6 6600 else 6601 i=0 6602 teststring="ABCD" 6603 6604 case $build_os in 6605 msdosdjgpp*) 6606 # On DJGPP, this test can blow up pretty badly due to problems in libc 6607 # (any single argument exceeding 2000 bytes causes a buffer overrun 6608 # during glob expansion). Even if it were fixed, the result of this 6609 # check would be larger than it should be. 6610 lt_cv_sys_max_cmd_len=12288; # 12K is about right 6611 ;; 6612 6613 gnu*) 6614 # Under GNU Hurd, this test is not required because there is 6615 # no limit to the length of command line arguments. 6616 # Libtool will interpret -1 as no limit whatsoever 6617 lt_cv_sys_max_cmd_len=-1; 6618 ;; 6619 6620 cygwin* | mingw*) 6621 # On Win9x/ME, this test blows up -- it succeeds, but takes 6622 # about 5 minutes as the teststring grows exponentially. 6623 # Worse, since 9x/ME are not pre-emptively multitasking, 6624 # you end up with a "frozen" computer, even though with patience 6625 # the test eventually succeeds (with a max line length of 256k). 6626 # Instead, let's just punt: use the minimum linelength reported by 6627 # all of the supported platforms: 8192 (on NT/2K/XP). 6628 lt_cv_sys_max_cmd_len=8192; 6629 ;; 6630 6631 amigaos*) 6632 # On AmigaOS with pdksh, this test takes hours, literally. 6633 # So we just punt and use a minimum line length of 8192. 6634 lt_cv_sys_max_cmd_len=8192; 6635 ;; 6636 6637 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 6638 # This has been around since 386BSD, at least. Likely further. 6639 if test -x /sbin/sysctl; then 6640 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 6641 elif test -x /usr/sbin/sysctl; then 6642 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 6643 else 6644 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 6645 fi 6646 # And add a safety zone 6647 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6648 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6649 ;; 6650 6651 interix*) 6652 # We know the value 262144 and hardcode it with a safety zone (like BSD) 6653 lt_cv_sys_max_cmd_len=196608 6654 ;; 6655 6656 osf*) 6657 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 6658 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 6659 # nice to cause kernel panics so lets avoid the loop below. 6660 # First set a reasonable default. 6661 lt_cv_sys_max_cmd_len=16384 6662 # 6663 if test -x /sbin/sysconfig; then 6664 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 6665 *1*) lt_cv_sys_max_cmd_len=-1 ;; 6666 esac 6667 fi 6668 ;; 6669 sco3.2v5*) 6670 lt_cv_sys_max_cmd_len=102400 6671 ;; 6672 sysv5* | sco5v6* | sysv4.2uw2*) 6673 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 6674 if test -n "$kargmax"; then 6675 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 6676 else 6677 lt_cv_sys_max_cmd_len=32768 6678 fi 6679 ;; 6680 *) 6681 # If test is not a shell built-in, we'll probably end up computing a 6682 # maximum length that is only half of the actual maximum length, but 6683 # we can't tell. 6684 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 6685 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ 6686 = "XX$teststring") >/dev/null 2>&1 && 6687 new_result=`expr "X$teststring" : ".*" 2>&1` && 6688 lt_cv_sys_max_cmd_len=$new_result && 6689 test $i != 17 # 1/2 MB should be enough 6690 do 6691 i=`expr $i + 1` 6692 teststring=$teststring$teststring 6693 done 6694 teststring= 6695 # Add a significant safety factor because C++ compilers can tack on massive 6696 # amounts of additional arguments before passing them to the linker. 6697 # It appears as though 1/2 is a usable value. 6698 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 6699 ;; 6700 esac 6701 6702 fi 6703 6704 if test -n $lt_cv_sys_max_cmd_len ; then 6705 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 6706 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; } 6707 else 6708 { echo "$as_me:$LINENO: result: none" >&5 6709 echo "${ECHO_T}none" >&6; } 6710 fi 6711 6712 6713 6714 6715 # Check for command to grab the raw symbol name followed by C symbol from nm. 6716 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 6717 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; } 6718 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then 6719 echo $ECHO_N "(cached) $ECHO_C" >&6 6720 else 6721 6722 # These are sane defaults that work on at least a few old systems. 6723 # [They come from Ultrix. What could be older than Ultrix?!! ;)] 6724 6725 # Character class describing NM global symbol codes. 6726 symcode='[BCDEGRST]' 6727 6728 # Regexp to match symbols that can be accessed directly from C. 6729 sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6730 6731 # Transform an extracted symbol line into a proper C declaration 6732 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" 6733 6734 # Transform an extracted symbol line into symbol name and symbol address 6735 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'" 6736 6737 # Define system-specific variables. 6738 case $host_os in 6739 aix*) 6740 symcode='[BCDT]' 6741 ;; 6742 cygwin* | mingw* | pw32*) 6743 symcode='[ABCDGISTW]' 6744 ;; 6745 hpux*) # Its linker distinguishes data from code symbols 6746 if test "$host_cpu" = ia64; then 6747 symcode='[ABCDEGRST]' 6748 fi 6749 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6750 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'" 6751 ;; 6752 linux*) 6753 if test "$host_cpu" = ia64; then 6754 symcode='[ABCDGIRSTW]' 6755 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6756 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'" 6757 fi 6758 ;; 6759 irix* | nonstopux*) 6760 symcode='[BCDEGRST]' 6761 ;; 6762 osf*) 6763 symcode='[BCDEGQRST]' 6764 ;; 6765 solaris*) 6766 symcode='[BDRT]' 6767 ;; 6768 sco3.2v5*) 6769 symcode='[DT]' 6770 ;; 6771 sysv4.2uw2*) 6772 symcode='[DT]' 6773 ;; 6774 sysv5* | sco5v6* | unixware* | OpenUNIX*) 6775 symcode='[ABDT]' 6776 ;; 6777 sysv4) 6778 symcode='[DFNSTU]' 6779 ;; 6780 esac 6781 6782 # Handle CRLF in mingw tool chain 6783 opt_cr= 6784 case $build_os in 6785 mingw*) 6786 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6787 ;; 6788 esac 6789 6790 # If we're using GNU nm, then use its standard symbol codes. 6791 case `$NM -V 2>&1` in 6792 *GNU* | *'with BFD'*) 6793 symcode='[ABCDGIRSTW]' ;; 6794 esac 6795 6796 # Try without a prefix undercore, then with it. 6797 for ac_symprfx in "" "_"; do 6798 6799 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6800 symxfrm="\\1 $ac_symprfx\\2 \\2" 6801 6802 # Write the raw and C identifiers. 6803 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6804 6805 # Check to see that the pipe works correctly. 6806 pipe_works=no 6807 6808 rm -f conftest* 6809 cat > conftest.$ac_ext <<EOF 6810 #ifdef __cplusplus 6811 extern "C" { 6812 #endif 6813 char nm_test_var; 6814 void nm_test_func(){} 6815 #ifdef __cplusplus 6816 } 6817 #endif 6818 int main(){nm_test_var='a';nm_test_func();return(0);} 6819 EOF 6820 6821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6822 (eval $ac_compile) 2>&5 6823 ac_status=$? 6824 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6825 (exit $ac_status); }; then 6826 # Now try to grab the symbols. 6827 nlist=conftest.nm 6828 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 6829 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 6830 ac_status=$? 6831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6832 (exit $ac_status); } && test -s "$nlist"; then 6833 # Try sorting and uniquifying the output. 6834 if sort "$nlist" | uniq > "$nlist"T; then 6835 mv -f "$nlist"T "$nlist" 6836 else 6837 rm -f "$nlist"T 6838 fi 6839 6840 # Make sure that we snagged all the symbols we need. 6841 if grep ' nm_test_var$' "$nlist" >/dev/null; then 6842 if grep ' nm_test_func$' "$nlist" >/dev/null; then 6843 cat <<EOF > conftest.$ac_ext 6844 #ifdef __cplusplus 6845 extern "C" { 6846 #endif 6847 6848 EOF 6849 # Now generate the symbol file. 6850 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' 6851 6852 cat <<EOF >> conftest.$ac_ext 6853 #if defined (__STDC__) && __STDC__ 6854 # define lt_ptr_t void * 6855 #else 6856 # define lt_ptr_t char * 6857 # define const 6858 #endif 6859 6860 /* The mapping between symbol names and symbols. */ 6861 const struct { 6862 const char *name; 6863 lt_ptr_t address; 6864 } 6865 lt_preloaded_symbols[] = 6866 { 6867 EOF 6868 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext 6869 cat <<\EOF >> conftest.$ac_ext 6870 {0, (lt_ptr_t) 0} 6871 }; 6872 6873 #ifdef __cplusplus 6874 } 6875 #endif 6876 EOF 6877 # Now try linking the two files. 6878 mv conftest.$ac_objext conftstm.$ac_objext 6879 lt_save_LIBS="$LIBS" 6880 lt_save_CFLAGS="$CFLAGS" 6881 LIBS="conftstm.$ac_objext" 6882 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6884 (eval $ac_link) 2>&5 6885 ac_status=$? 6886 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6887 (exit $ac_status); } && test -s conftest${ac_exeext}; then 6888 pipe_works=yes 6889 fi 6890 LIBS="$lt_save_LIBS" 6891 CFLAGS="$lt_save_CFLAGS" 6892 else 6893 echo "cannot find nm_test_func in $nlist" >&5 6894 fi 6895 else 6896 echo "cannot find nm_test_var in $nlist" >&5 6897 fi 6898 else 6899 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6900 fi 6901 else 6902 echo "$progname: failed program was:" >&5 6903 cat conftest.$ac_ext >&5 6904 fi 6905 rm -f conftest* conftst* 6906 6907 # Do not use the global_symbol_pipe unless it works. 6908 if test "$pipe_works" = yes; then 6909 break 6910 else 6911 lt_cv_sys_global_symbol_pipe= 6912 fi 6913 done 6914 6915 fi 6916 6917 if test -z "$lt_cv_sys_global_symbol_pipe"; then 6918 lt_cv_sys_global_symbol_to_cdecl= 6919 fi 6920 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6921 { echo "$as_me:$LINENO: result: failed" >&5 6922 echo "${ECHO_T}failed" >&6; } 6923 else 6924 { echo "$as_me:$LINENO: result: ok" >&5 6925 echo "${ECHO_T}ok" >&6; } 6926 fi 6927 6928 { echo "$as_me:$LINENO: checking for objdir" >&5 6929 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; } 6930 if test "${lt_cv_objdir+set}" = set; then 6931 echo $ECHO_N "(cached) $ECHO_C" >&6 6932 else 6933 rm -f .libs 2>/dev/null 6934 mkdir .libs 2>/dev/null 6935 if test -d .libs; then 6936 lt_cv_objdir=.libs 6937 else 6938 # MS-DOS does not allow filenames that begin with a dot. 6939 lt_cv_objdir=_libs 6940 fi 6941 rmdir .libs 2>/dev/null 6942 fi 6943 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 6944 echo "${ECHO_T}$lt_cv_objdir" >&6; } 6945 objdir=$lt_cv_objdir 6946 6947 6948 6949 6950 6951 case $host_os in 6952 aix3*) 6953 # AIX sometimes has problems with the GCC collect2 program. For some 6954 # reason, if we set the COLLECT_NAMES environment variable, the problems 6955 # vanish in a puff of smoke. 6956 if test "X${COLLECT_NAMES+set}" != Xset; then 6957 COLLECT_NAMES= 6958 export COLLECT_NAMES 6959 fi 6960 ;; 6961 esac 6962 6963 # Sed substitution that helps us do robust quoting. It backslashifies 6964 # metacharacters that are still active within double-quoted strings. 6965 Xsed='sed -e 1s/^X//' 6966 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' 6967 6968 # Same as above, but do not quote variable references. 6969 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' 6970 6971 # Sed substitution to delay expansion of an escaped shell variable in a 6972 # double_quote_subst'ed string. 6973 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 6974 6975 # Sed substitution to avoid accidental globbing in evaled expressions 6976 no_glob_subst='s/\*/\\\*/g' 6977 6978 # Constants: 6979 rm="rm -f" 6980 6981 # Global variables: 6982 default_ofile=libtool 6983 can_build_shared=yes 6984 6985 # All known linkers require a `.a' archive for static linking (except MSVC, 6986 # which needs '.lib'). 6987 libext=a 6988 ltmain="$ac_aux_dir/ltmain.sh" 6989 ofile="$default_ofile" 6990 with_gnu_ld="$lt_cv_prog_gnu_ld" 6991 6992 if test -n "$ac_tool_prefix"; then 6993 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 6994 set dummy ${ac_tool_prefix}ar; ac_word=$2 6995 { echo "$as_me:$LINENO: checking for $ac_word" >&5 6996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6997 if test "${ac_cv_prog_AR+set}" = set; then 6998 echo $ECHO_N "(cached) $ECHO_C" >&6 6999 else 7000 if test -n "$AR"; then 7001 ac_cv_prog_AR="$AR" # Let the user override the test. 7002 else 7003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7004 for as_dir in $PATH 7005 do 7006 IFS=$as_save_IFS 7007 test -z "$as_dir" && as_dir=. 7008 for ac_exec_ext in '' $ac_executable_extensions; do 7009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 7010 ac_cv_prog_AR="${ac_tool_prefix}ar" 7011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7012 break 2 7013 fi 7014 done 7015 done 7016 IFS=$as_save_IFS 7017 7018 fi 7019 fi 7020 AR=$ac_cv_prog_AR 7021 if test -n "$AR"; then 7022 { echo "$as_me:$LINENO: result: $AR" >&5 7023 echo "${ECHO_T}$AR" >&6; } 7024 else 7025 { echo "$as_me:$LINENO: result: no" >&5 7026 echo "${ECHO_T}no" >&6; } 7027 fi 7028 7029 7030 fi 7031 if test -z "$ac_cv_prog_AR"; then 7032 ac_ct_AR=$AR 7033 # Extract the first word of "ar", so it can be a program name with args. 7034 set dummy ar; ac_word=$2 7035 { echo "$as_me:$LINENO: checking for $ac_word" >&5 7036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 7037 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then 7038 echo $ECHO_N "(cached) $ECHO_C" >&6 7039 else 7040 if test -n "$ac_ct_AR"; then 7041 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 7042 else 7043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7044 for as_dir in $PATH 7045 do 7046 IFS=$as_save_IFS 7047 test -z "$as_dir" && as_dir=. 7048 for ac_exec_ext in '' $ac_executable_extensions; do 7049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 7050 ac_cv_prog_ac_ct_AR="ar" 7051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7052 break 2 7053 fi 7054 done 7055 done 7056 IFS=$as_save_IFS 7057 7058 fi 7059 fi 7060 ac_ct_AR=$ac_cv_prog_ac_ct_AR 7061 if test -n "$ac_ct_AR"; then 7062 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 7063 echo "${ECHO_T}$ac_ct_AR" >&6; } 7064 else 7065 { echo "$as_me:$LINENO: result: no" >&5 7066 echo "${ECHO_T}no" >&6; } 7067 fi 7068 7069 if test "x$ac_ct_AR" = x; then 7070 AR="false" 7071 else 7072 case $cross_compiling:$ac_tool_warned in 7073 yes:) 7074 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 7075 whose name does not start with the host triplet. If you think this 7076 configuration is useful to you, please write to autoconf (at] gnu.org." >&5 7077 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 7078 whose name does not start with the host triplet. If you think this 7079 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;} 7080 ac_tool_warned=yes ;; 7081 esac 7082 AR=$ac_ct_AR 7083 fi 7084 else 7085 AR="$ac_cv_prog_AR" 7086 fi 7087 7088 if test -n "$ac_tool_prefix"; then 7089 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 7090 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 7091 { echo "$as_me:$LINENO: checking for $ac_word" >&5 7092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 7093 if test "${ac_cv_prog_RANLIB+set}" = set; then 7094 echo $ECHO_N "(cached) $ECHO_C" >&6 7095 else 7096 if test -n "$RANLIB"; then 7097 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 7098 else 7099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7100 for as_dir in $PATH 7101 do 7102 IFS=$as_save_IFS 7103 test -z "$as_dir" && as_dir=. 7104 for ac_exec_ext in '' $ac_executable_extensions; do 7105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 7106 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 7107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7108 break 2 7109 fi 7110 done 7111 done 7112 IFS=$as_save_IFS 7113 7114 fi 7115 fi 7116 RANLIB=$ac_cv_prog_RANLIB 7117 if test -n "$RANLIB"; then 7118 { echo "$as_me:$LINENO: result: $RANLIB" >&5 7119 echo "${ECHO_T}$RANLIB" >&6; } 7120 else 7121 { echo "$as_me:$LINENO: result: no" >&5 7122 echo "${ECHO_T}no" >&6; } 7123 fi 7124 7125 7126 fi 7127 if test -z "$ac_cv_prog_RANLIB"; then 7128 ac_ct_RANLIB=$RANLIB 7129 # Extract the first word of "ranlib", so it can be a program name with args. 7130 set dummy ranlib; ac_word=$2 7131 { echo "$as_me:$LINENO: checking for $ac_word" >&5 7132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 7133 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 7134 echo $ECHO_N "(cached) $ECHO_C" >&6 7135 else 7136 if test -n "$ac_ct_RANLIB"; then 7137 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 7138 else 7139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7140 for as_dir in $PATH 7141 do 7142 IFS=$as_save_IFS 7143 test -z "$as_dir" && as_dir=. 7144 for ac_exec_ext in '' $ac_executable_extensions; do 7145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 7146 ac_cv_prog_ac_ct_RANLIB="ranlib" 7147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7148 break 2 7149 fi 7150 done 7151 done 7152 IFS=$as_save_IFS 7153 7154 fi 7155 fi 7156 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 7157 if test -n "$ac_ct_RANLIB"; then 7158 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 7159 echo "${ECHO_T}$ac_ct_RANLIB" >&6; } 7160 else 7161 { echo "$as_me:$LINENO: result: no" >&5 7162 echo "${ECHO_T}no" >&6; } 7163 fi 7164 7165 if test "x$ac_ct_RANLIB" = x; then 7166 RANLIB=":" 7167 else 7168 case $cross_compiling:$ac_tool_warned in 7169 yes:) 7170 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 7171 whose name does not start with the host triplet. If you think this 7172 configuration is useful to you, please write to autoconf (at] gnu.org." >&5 7173 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 7174 whose name does not start with the host triplet. If you think this 7175 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;} 7176 ac_tool_warned=yes ;; 7177 esac 7178 RANLIB=$ac_ct_RANLIB 7179 fi 7180 else 7181 RANLIB="$ac_cv_prog_RANLIB" 7182 fi 7183 7184 if test -n "$ac_tool_prefix"; then 7185 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 7186 set dummy ${ac_tool_prefix}strip; ac_word=$2 7187 { echo "$as_me:$LINENO: checking for $ac_word" >&5 7188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 7189 if test "${ac_cv_prog_STRIP+set}" = set; then 7190 echo $ECHO_N "(cached) $ECHO_C" >&6 7191 else 7192 if test -n "$STRIP"; then 7193 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 7194 else 7195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7196 for as_dir in $PATH 7197 do 7198 IFS=$as_save_IFS 7199 test -z "$as_dir" && as_dir=. 7200 for ac_exec_ext in '' $ac_executable_extensions; do 7201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 7202 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 7203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7204 break 2 7205 fi 7206 done 7207 done 7208 IFS=$as_save_IFS 7209 7210 fi 7211 fi 7212 STRIP=$ac_cv_prog_STRIP 7213 if test -n "$STRIP"; then 7214 { echo "$as_me:$LINENO: result: $STRIP" >&5 7215 echo "${ECHO_T}$STRIP" >&6; } 7216 else 7217 { echo "$as_me:$LINENO: result: no" >&5 7218 echo "${ECHO_T}no" >&6; } 7219 fi 7220 7221 7222 fi 7223 if test -z "$ac_cv_prog_STRIP"; then 7224 ac_ct_STRIP=$STRIP 7225 # Extract the first word of "strip", so it can be a program name with args. 7226 set dummy strip; ac_word=$2 7227 { echo "$as_me:$LINENO: checking for $ac_word" >&5 7228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 7229 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 7230 echo $ECHO_N "(cached) $ECHO_C" >&6 7231 else 7232 if test -n "$ac_ct_STRIP"; then 7233 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 7234 else 7235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7236 for as_dir in $PATH 7237 do 7238 IFS=$as_save_IFS 7239 test -z "$as_dir" && as_dir=. 7240 for ac_exec_ext in '' $ac_executable_extensions; do 7241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 7242 ac_cv_prog_ac_ct_STRIP="strip" 7243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7244 break 2 7245 fi 7246 done 7247 done 7248 IFS=$as_save_IFS 7249 7250 fi 7251 fi 7252 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 7253 if test -n "$ac_ct_STRIP"; then 7254 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 7255 echo "${ECHO_T}$ac_ct_STRIP" >&6; } 7256 else 7257 { echo "$as_me:$LINENO: result: no" >&5 7258 echo "${ECHO_T}no" >&6; } 7259 fi 7260 7261 if test "x$ac_ct_STRIP" = x; then 7262 STRIP=":" 7263 else 7264 case $cross_compiling:$ac_tool_warned in 7265 yes:) 7266 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 7267 whose name does not start with the host triplet. If you think this 7268 configuration is useful to you, please write to autoconf (at] gnu.org." >&5 7269 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 7270 whose name does not start with the host triplet. If you think this 7271 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;} 7272 ac_tool_warned=yes ;; 7273 esac 7274 STRIP=$ac_ct_STRIP 7275 fi 7276 else 7277 STRIP="$ac_cv_prog_STRIP" 7278 fi 7279 7280 7281 old_CC="$CC" 7282 old_CFLAGS="$CFLAGS" 7283 7284 # Set sane defaults for various variables 7285 test -z "$AR" && AR=ar 7286 test -z "$AR_FLAGS" && AR_FLAGS=cru 7287 test -z "$AS" && AS=as 7288 test -z "$CC" && CC=cc 7289 test -z "$LTCC" && LTCC=$CC 7290 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7291 test -z "$DLLTOOL" && DLLTOOL=dlltool 7292 test -z "$LD" && LD=ld 7293 test -z "$LN_S" && LN_S="ln -s" 7294 test -z "$MAGIC_CMD" && MAGIC_CMD=file 7295 test -z "$NM" && NM=nm 7296 test -z "$SED" && SED=sed 7297 test -z "$OBJDUMP" && OBJDUMP=objdump 7298 test -z "$RANLIB" && RANLIB=: 7299 test -z "$STRIP" && STRIP=: 7300 test -z "$ac_objext" && ac_objext=o 7301 7302 # Determine commands to create old-style static archives. 7303 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' 7304 old_postinstall_cmds='chmod 644 $oldlib' 7305 old_postuninstall_cmds= 7306 7307 if test -n "$RANLIB"; then 7308 case $host_os in 7309 openbsd*) 7310 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 7311 ;; 7312 *) 7313 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 7314 ;; 7315 esac 7316 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 7317 fi 7318 7319 for cc_temp in $compiler""; do 7320 case $cc_temp in 7321 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7322 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7323 \-*) ;; 7324 *) break;; 7325 esac 7326 done 7327 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 7328 7329 7330 # Only perform the check for file, if the check method requires it 7331 case $deplibs_check_method in 7332 file_magic*) 7333 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7334 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 7335 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; } 7336 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 7337 echo $ECHO_N "(cached) $ECHO_C" >&6 7338 else 7339 case $MAGIC_CMD in 7340 [\\/*] | ?:[\\/]*) 7341 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7342 ;; 7343 *) 7344 lt_save_MAGIC_CMD="$MAGIC_CMD" 7345 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7346 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7347 for ac_dir in $ac_dummy; do 7348 IFS="$lt_save_ifs" 7349 test -z "$ac_dir" && ac_dir=. 7350 if test -f $ac_dir/${ac_tool_prefix}file; then 7351 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 7352 if test -n "$file_magic_test_file"; then 7353 case $deplibs_check_method in 7354 "file_magic "*) 7355 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7356 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7357 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7358 $EGREP "$file_magic_regex" > /dev/null; then 7359 : 7360 else 7361 cat <<EOF 1>&2 7362 7363 *** Warning: the command libtool uses to detect shared libraries, 7364 *** $file_magic_cmd, produces output that libtool cannot recognize. 7365 *** The result is that libtool may fail to recognize shared libraries 7366 *** as such. This will affect the creation of libtool libraries that 7367 *** depend on shared libraries, but programs linked with such libtool 7368 *** libraries will work regardless of this problem. Nevertheless, you 7369 *** may want to report the problem to your system manager and/or to 7370 *** bug-libtool@gnu.org 7371 7372 EOF 7373 fi ;; 7374 esac 7375 fi 7376 break 7377 fi 7378 done 7379 IFS="$lt_save_ifs" 7380 MAGIC_CMD="$lt_save_MAGIC_CMD" 7381 ;; 7382 esac 7383 fi 7384 7385 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7386 if test -n "$MAGIC_CMD"; then 7387 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 7388 echo "${ECHO_T}$MAGIC_CMD" >&6; } 7389 else 7390 { echo "$as_me:$LINENO: result: no" >&5 7391 echo "${ECHO_T}no" >&6; } 7392 fi 7393 7394 if test -z "$lt_cv_path_MAGIC_CMD"; then 7395 if test -n "$ac_tool_prefix"; then 7396 { echo "$as_me:$LINENO: checking for file" >&5 7397 echo $ECHO_N "checking for file... $ECHO_C" >&6; } 7398 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 7399 echo $ECHO_N "(cached) $ECHO_C" >&6 7400 else 7401 case $MAGIC_CMD in 7402 [\\/*] | ?:[\\/]*) 7403 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7404 ;; 7405 *) 7406 lt_save_MAGIC_CMD="$MAGIC_CMD" 7407 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7408 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7409 for ac_dir in $ac_dummy; do 7410 IFS="$lt_save_ifs" 7411 test -z "$ac_dir" && ac_dir=. 7412 if test -f $ac_dir/file; then 7413 lt_cv_path_MAGIC_CMD="$ac_dir/file" 7414 if test -n "$file_magic_test_file"; then 7415 case $deplibs_check_method in 7416 "file_magic "*) 7417 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7418 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7419 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7420 $EGREP "$file_magic_regex" > /dev/null; then 7421 : 7422 else 7423 cat <<EOF 1>&2 7424 7425 *** Warning: the command libtool uses to detect shared libraries, 7426 *** $file_magic_cmd, produces output that libtool cannot recognize. 7427 *** The result is that libtool may fail to recognize shared libraries 7428 *** as such. This will affect the creation of libtool libraries that 7429 *** depend on shared libraries, but programs linked with such libtool 7430 *** libraries will work regardless of this problem. Nevertheless, you 7431 *** may want to report the problem to your system manager and/or to 7432 *** bug-libtool@gnu.org 7433 7434 EOF 7435 fi ;; 7436 esac 7437 fi 7438 break 7439 fi 7440 done 7441 IFS="$lt_save_ifs" 7442 MAGIC_CMD="$lt_save_MAGIC_CMD" 7443 ;; 7444 esac 7445 fi 7446 7447 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7448 if test -n "$MAGIC_CMD"; then 7449 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 7450 echo "${ECHO_T}$MAGIC_CMD" >&6; } 7451 else 7452 { echo "$as_me:$LINENO: result: no" >&5 7453 echo "${ECHO_T}no" >&6; } 7454 fi 7455 7456 else 7457 MAGIC_CMD=: 7458 fi 7459 fi 7460 7461 fi 7462 ;; 7463 esac 7464 7465 enable_dlopen=yes 7466 enable_win32_dll=no 7467 7468 # Check whether --enable-libtool-lock was given. 7469 if test "${enable_libtool_lock+set}" = set; then 7470 enableval=$enable_libtool_lock; 7471 fi 7472 7473 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 7474 7475 7476 # Check whether --with-pic was given. 7477 if test "${with_pic+set}" = set; then 7478 withval=$with_pic; pic_mode="$withval" 7479 else 7480 pic_mode=default 7481 fi 7482 7483 test -z "$pic_mode" && pic_mode=default 7484 7485 # Use C for the default configuration in the libtool script 7486 tagname= 7487 lt_save_CC="$CC" 7488 ac_ext=c 7489 ac_cpp='$CPP $CPPFLAGS' 7490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7492 ac_compiler_gnu=$ac_cv_c_compiler_gnu 7493 7494 7495 # Source file extension for C test sources. 7496 ac_ext=c 7497 7498 # Object file extension for compiled C test sources. 7499 objext=o 7500 objext=$objext 7501 7502 # Code to be used in simple compile tests 7503 lt_simple_compile_test_code="int some_variable = 0;\n" 7504 7505 # Code to be used in simple link tests 7506 lt_simple_link_test_code='int main(){return(0);}\n' 7507 7508 7509 # If no C compiler was specified, use CC. 7510 LTCC=${LTCC-"$CC"} 7511 7512 # If no C compiler flags were specified, use CFLAGS. 7513 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7514 7515 # Allow CC to be a program name with arguments. 7516 compiler=$CC 7517 7518 7519 # save warnings/boilerplate of simple test code 7520 ac_outfile=conftest.$ac_objext 7521 printf "$lt_simple_compile_test_code" >conftest.$ac_ext 7522 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7523 _lt_compiler_boilerplate=`cat conftest.err` 7524 $rm conftest* 7525 7526 ac_outfile=conftest.$ac_objext 7527 printf "$lt_simple_link_test_code" >conftest.$ac_ext 7528 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7529 _lt_linker_boilerplate=`cat conftest.err` 7530 $rm conftest* 7531 7532 7533 7534 lt_prog_compiler_no_builtin_flag= 7535 7536 if test "$GCC" = yes; then 7537 lt_prog_compiler_no_builtin_flag=' -fno-builtin' 7538 7539 7540 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 7541 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } 7542 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then 7543 echo $ECHO_N "(cached) $ECHO_C" >&6 7544 else 7545 lt_cv_prog_compiler_rtti_exceptions=no 7546 ac_outfile=conftest.$ac_objext 7547 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 7548 lt_compiler_flag="-fno-rtti -fno-exceptions" 7549 # Insert the option either (1) after the last *FLAGS variable, or 7550 # (2) before a word containing "conftest.", or (3) at the end. 7551 # Note that $ac_compile itself does not contain backslashes and begins 7552 # with a dollar sign (not a hyphen), so the echo should work correctly. 7553 # The option is referenced via a variable to avoid confusing sed. 7554 lt_compile=`echo "$ac_compile" | $SED \ 7555 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7556 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7557 -e 's:$: $lt_compiler_flag:'` 7558 (eval echo "\"\$as_me:7558: $lt_compile\"" >&5) 7559 (eval "$lt_compile" 2>conftest.err) 7560 ac_status=$? 7561 cat conftest.err >&5 7562 echo "$as_me:7562: \$? = $ac_status" >&5 7563 if (exit $ac_status) && test -s "$ac_outfile"; then 7564 # The compiler can only warn and ignore the option if not recognized 7565 # So say no if there are warnings other than the usual output. 7566 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 7567 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7568 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 7569 lt_cv_prog_compiler_rtti_exceptions=yes 7570 fi 7571 fi 7572 $rm conftest* 7573 7574 fi 7575 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 7576 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } 7577 7578 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 7579 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 7580 else 7581 : 7582 fi 7583 7584 fi 7585 7586 lt_prog_compiler_wl= 7587 lt_prog_compiler_pic= 7588 lt_prog_compiler_static= 7589 7590 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 7591 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } 7592 7593 if test "$GCC" = yes; then 7594 lt_prog_compiler_wl='-Wl,' 7595 lt_prog_compiler_static='-static' 7596 7597 case $host_os in 7598 aix*) 7599 # All AIX code is PIC. 7600 if test "$host_cpu" = ia64; then 7601 # AIX 5 now supports IA64 processor 7602 lt_prog_compiler_static='-Bstatic' 7603 fi 7604 ;; 7605 7606 amigaos*) 7607 # FIXME: we need at least 68020 code to build shared libraries, but 7608 # adding the `-m68020' flag to GCC prevents building anything better, 7609 # like `-m68040'. 7610 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 7611 ;; 7612 7613 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 7614 # PIC is the default for these OSes. 7615 ;; 7616 7617 mingw* | pw32* | os2*) 7618 # This hack is so that the source file can tell whether it is being 7619 # built for inclusion in a dll (and should export symbols for example). 7620 lt_prog_compiler_pic='-DDLL_EXPORT' 7621 ;; 7622 7623 darwin* | rhapsody*) 7624 # PIC is the default on this platform 7625 # Common symbols not allowed in MH_DYLIB files 7626 lt_prog_compiler_pic='-fno-common' 7627 ;; 7628 7629 interix3*) 7630 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 7631 # Instead, we relocate shared libraries at runtime. 7632 ;; 7633 7634 msdosdjgpp*) 7635 # Just because we use GCC doesn't mean we suddenly get shared libraries 7636 # on systems that don't support them. 7637 lt_prog_compiler_can_build_shared=no 7638 enable_shared=no 7639 ;; 7640 7641 sysv4*MP*) 7642 if test -d /usr/nec; then 7643 lt_prog_compiler_pic=-Kconform_pic 7644 fi 7645 ;; 7646 7647 hpux*) 7648 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 7649 # not for PA HP-UX. 7650 case $host_cpu in 7651 hppa*64*|ia64*) 7652 # +Z the default 7653 ;; 7654 *) 7655 lt_prog_compiler_pic='-fPIC' 7656 ;; 7657 esac 7658 ;; 7659 7660 *) 7661 lt_prog_compiler_pic='-fPIC' 7662 ;; 7663 esac 7664 else 7665 # PORTME Check for flag to pass linker flags through the system compiler. 7666 case $host_os in 7667 aix*) 7668 lt_prog_compiler_wl='-Wl,' 7669 if test "$host_cpu" = ia64; then 7670 # AIX 5 now supports IA64 processor 7671 lt_prog_compiler_static='-Bstatic' 7672 else 7673 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 7674 fi 7675 ;; 7676 darwin*) 7677 # PIC is the default on this platform 7678 # Common symbols not allowed in MH_DYLIB files 7679 case $cc_basename in 7680 xlc*) 7681 lt_prog_compiler_pic='-qnocommon' 7682 lt_prog_compiler_wl='-Wl,' 7683 ;; 7684 esac 7685 ;; 7686 7687 mingw* | pw32* | os2*) 7688 # This hack is so that the source file can tell whether it is being 7689 # built for inclusion in a dll (and should export symbols for example). 7690 lt_prog_compiler_pic='-DDLL_EXPORT' 7691 ;; 7692 7693 hpux9* | hpux10* | hpux11*) 7694 lt_prog_compiler_wl='-Wl,' 7695 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 7696 # not for PA HP-UX. 7697 case $host_cpu in 7698 hppa*64*|ia64*) 7699 # +Z the default 7700 ;; 7701 *) 7702 lt_prog_compiler_pic='+Z' 7703 ;; 7704 esac 7705 # Is there a better lt_prog_compiler_static that works with the bundled CC? 7706 lt_prog_compiler_static='${wl}-a ${wl}archive' 7707 ;; 7708 7709 irix5* | irix6* | nonstopux*) 7710 lt_prog_compiler_wl='-Wl,' 7711 # PIC (with -KPIC) is the default. 7712 lt_prog_compiler_static='-non_shared' 7713 ;; 7714 7715 newsos6) 7716 lt_prog_compiler_pic='-KPIC' 7717 lt_prog_compiler_static='-Bstatic' 7718 ;; 7719 7720 linux*) 7721 case $cc_basename in 7722 icc* | ecc*) 7723 lt_prog_compiler_wl='-Wl,' 7724 lt_prog_compiler_pic='-KPIC' 7725 lt_prog_compiler_static='-static' 7726 ;; 7727 pgcc* | pgf77* | pgf90* | pgf95*) 7728 # Portland Group compilers (*not* the Pentium gcc compiler, 7729 # which looks to be a dead project) 7730 lt_prog_compiler_wl='-Wl,' 7731 lt_prog_compiler_pic='-fpic' 7732 lt_prog_compiler_static='-Bstatic' 7733 ;; 7734 ccc*) 7735 lt_prog_compiler_wl='-Wl,' 7736 # All Alpha code is PIC. 7737 lt_prog_compiler_static='-non_shared' 7738 ;; 7739 esac 7740 ;; 7741 7742 osf3* | osf4* | osf5*) 7743 lt_prog_compiler_wl='-Wl,' 7744 # All OSF/1 code is PIC. 7745 lt_prog_compiler_static='-non_shared' 7746 ;; 7747 7748 solaris*) 7749 lt_prog_compiler_pic='-KPIC' 7750 lt_prog_compiler_static='-Bstatic' 7751 case $cc_basename in 7752 f77* | f90* | f95*) 7753 lt_prog_compiler_wl='-Qoption ld ';; 7754 *) 7755 lt_prog_compiler_wl='-Wl,';; 7756 esac 7757 ;; 7758 7759 sunos4*) 7760 lt_prog_compiler_wl='-Qoption ld ' 7761 lt_prog_compiler_pic='-PIC' 7762 lt_prog_compiler_static='-Bstatic' 7763 ;; 7764 7765 sysv4 | sysv4.2uw2* | sysv4.3*) 7766 lt_prog_compiler_wl='-Wl,' 7767 lt_prog_compiler_pic='-KPIC' 7768 lt_prog_compiler_static='-Bstatic' 7769 ;; 7770 7771 sysv4*MP*) 7772 if test -d /usr/nec ;then 7773 lt_prog_compiler_pic='-Kconform_pic' 7774 lt_prog_compiler_static='-Bstatic' 7775 fi 7776 ;; 7777 7778 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 7779 lt_prog_compiler_wl='-Wl,' 7780 lt_prog_compiler_pic='-KPIC' 7781 lt_prog_compiler_static='-Bstatic' 7782 ;; 7783 7784 unicos*) 7785 lt_prog_compiler_wl='-Wl,' 7786 lt_prog_compiler_can_build_shared=no 7787 ;; 7788 7789 uts4*) 7790 lt_prog_compiler_pic='-pic' 7791 lt_prog_compiler_static='-Bstatic' 7792 ;; 7793 7794 *) 7795 lt_prog_compiler_can_build_shared=no 7796 ;; 7797 esac 7798 fi 7799 7800 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 7801 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; } 7802 7803 # 7804 # Check to make sure the PIC flag actually works. 7805 # 7806 if test -n "$lt_prog_compiler_pic"; then 7807 7808 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 7809 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; } 7810 if test "${lt_prog_compiler_pic_works+set}" = set; then 7811 echo $ECHO_N "(cached) $ECHO_C" >&6 7812 else 7813 lt_prog_compiler_pic_works=no 7814 ac_outfile=conftest.$ac_objext 7815 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 7816 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 7817 # Insert the option either (1) after the last *FLAGS variable, or 7818 # (2) before a word containing "conftest.", or (3) at the end. 7819 # Note that $ac_compile itself does not contain backslashes and begins 7820 # with a dollar sign (not a hyphen), so the echo should work correctly. 7821 # The option is referenced via a variable to avoid confusing sed. 7822 lt_compile=`echo "$ac_compile" | $SED \ 7823 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7824 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7825 -e 's:$: $lt_compiler_flag:'` 7826 (eval echo "\"\$as_me:7826: $lt_compile\"" >&5) 7827 (eval "$lt_compile" 2>conftest.err) 7828 ac_status=$? 7829 cat conftest.err >&5 7830 echo "$as_me:7830: \$? = $ac_status" >&5 7831 if (exit $ac_status) && test -s "$ac_outfile"; then 7832 # The compiler can only warn and ignore the option if not recognized 7833 # So say no if there are warnings other than the usual output. 7834 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 7835 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7836 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 7837 lt_prog_compiler_pic_works=yes 7838 fi 7839 fi 7840 $rm conftest* 7841 7842 fi 7843 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5 7844 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; } 7845 7846 if test x"$lt_prog_compiler_pic_works" = xyes; then 7847 case $lt_prog_compiler_pic in 7848 "" | " "*) ;; 7849 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 7850 esac 7851 else 7852 lt_prog_compiler_pic= 7853 lt_prog_compiler_can_build_shared=no 7854 fi 7855 7856 fi 7857 case $host_os in 7858 # For platforms which do not support PIC, -DPIC is meaningless: 7859 *djgpp*) 7860 lt_prog_compiler_pic= 7861 ;; 7862 *) 7863 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 7864 ;; 7865 esac 7866 7867 # 7868 # Check to make sure the static flag actually works. 7869 # 7870 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 7871 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 7872 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } 7873 if test "${lt_prog_compiler_static_works+set}" = set; then 7874 echo $ECHO_N "(cached) $ECHO_C" >&6 7875 else 7876 lt_prog_compiler_static_works=no 7877 save_LDFLAGS="$LDFLAGS" 7878 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 7879 printf "$lt_simple_link_test_code" > conftest.$ac_ext 7880 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 7881 # The linker can only warn and ignore the option if not recognized 7882 # So say no if there are warnings 7883 if test -s conftest.err; then 7884 # Append any errors to the config.log. 7885 cat conftest.err 1>&5 7886 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 7887 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7888 if diff conftest.exp conftest.er2 >/dev/null; then 7889 lt_prog_compiler_static_works=yes 7890 fi 7891 else 7892 lt_prog_compiler_static_works=yes 7893 fi 7894 fi 7895 $rm conftest* 7896 LDFLAGS="$save_LDFLAGS" 7897 7898 fi 7899 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 7900 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; } 7901 7902 if test x"$lt_prog_compiler_static_works" = xyes; then 7903 : 7904 else 7905 lt_prog_compiler_static= 7906 fi 7907 7908 7909 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 7910 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } 7911 if test "${lt_cv_prog_compiler_c_o+set}" = set; then 7912 echo $ECHO_N "(cached) $ECHO_C" >&6 7913 else 7914 lt_cv_prog_compiler_c_o=no 7915 $rm -r conftest 2>/dev/null 7916 mkdir conftest 7917 cd conftest 7918 mkdir out 7919 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 7920 7921 lt_compiler_flag="-o out/conftest2.$ac_objext" 7922 # Insert the option either (1) after the last *FLAGS variable, or 7923 # (2) before a word containing "conftest.", or (3) at the end. 7924 # Note that $ac_compile itself does not contain backslashes and begins 7925 # with a dollar sign (not a hyphen), so the echo should work correctly. 7926 lt_compile=`echo "$ac_compile" | $SED \ 7927 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7928 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7929 -e 's:$: $lt_compiler_flag:'` 7930 (eval echo "\"\$as_me:7930: $lt_compile\"" >&5) 7931 (eval "$lt_compile" 2>out/conftest.err) 7932 ac_status=$? 7933 cat out/conftest.err >&5 7934 echo "$as_me:7934: \$? = $ac_status" >&5 7935 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7936 then 7937 # The compiler can only warn and ignore the option if not recognized 7938 # So say no if there are warnings 7939 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 7940 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 7941 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 7942 lt_cv_prog_compiler_c_o=yes 7943 fi 7944 fi 7945 chmod u+w . 2>&5 7946 $rm conftest* 7947 # SGI C++ compiler will create directory out/ii_files/ for 7948 # template instantiation 7949 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 7950 $rm out/* && rmdir out 7951 cd .. 7952 rmdir conftest 7953 $rm conftest* 7954 7955 fi 7956 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 7957 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; } 7958 7959 7960 hard_links="nottested" 7961 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 7962 # do not overwrite the value of need_locks provided by the user 7963 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 7964 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } 7965 hard_links=yes 7966 $rm conftest* 7967 ln conftest.a conftest.b 2>/dev/null && hard_links=no 7968 touch conftest.a 7969 ln conftest.a conftest.b 2>&5 || hard_links=no 7970 ln conftest.a conftest.b 2>/dev/null && hard_links=no 7971 { echo "$as_me:$LINENO: result: $hard_links" >&5 7972 echo "${ECHO_T}$hard_links" >&6; } 7973 if test "$hard_links" = no; then 7974 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 7975 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 7976 need_locks=warn 7977 fi 7978 else 7979 need_locks=no 7980 fi 7981 7982 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 7983 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } 7984 7985 runpath_var= 7986 allow_undefined_flag= 7987 enable_shared_with_static_runtimes=no 7988 archive_cmds= 7989 archive_expsym_cmds= 7990 old_archive_From_new_cmds= 7991 old_archive_from_expsyms_cmds= 7992 export_dynamic_flag_spec= 7993 whole_archive_flag_spec= 7994 thread_safe_flag_spec= 7995 hardcode_libdir_flag_spec= 7996 hardcode_libdir_flag_spec_ld= 7997 hardcode_libdir_separator= 7998 hardcode_direct=no 7999 hardcode_minus_L=no 8000 hardcode_shlibpath_var=unsupported 8001 link_all_deplibs=unknown 8002 hardcode_automatic=no 8003 module_cmds= 8004 module_expsym_cmds= 8005 always_export_symbols=no 8006 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8007 # include_expsyms should be a list of space-separated symbols to be *always* 8008 # included in the symbol list 8009 include_expsyms= 8010 # exclude_expsyms can be an extended regexp of symbols to exclude 8011 # it will be wrapped by ` (' and `)$', so one must not match beginning or 8012 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 8013 # as well as any symbol that contains `d'. 8014 exclude_expsyms="_GLOBAL_OFFSET_TABLE_" 8015 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8016 # platforms (ab)use it in PIC code, but their linkers get confused if 8017 # the symbol is explicitly referenced. Since portable code cannot 8018 # rely on this symbol name, it's probably fine to never include it in 8019 # preloaded symbol tables. 8020 extract_expsyms_cmds= 8021 # Just being paranoid about ensuring that cc_basename is set. 8022 for cc_temp in $compiler""; do 8023 case $cc_temp in 8024 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8025 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8026 \-*) ;; 8027 *) break;; 8028 esac 8029 done 8030 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 8031 8032 case $host_os in 8033 cygwin* | mingw* | pw32*) 8034 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8035 # When not using gcc, we currently assume that we are using 8036 # Microsoft Visual C++. 8037 if test "$GCC" != yes; then 8038 with_gnu_ld=no 8039 fi 8040 ;; 8041 interix*) 8042 # we just hope/assume this is gcc and not c89 (= MSVC++) 8043 with_gnu_ld=yes 8044 ;; 8045 openbsd*) 8046 with_gnu_ld=no 8047 ;; 8048 esac 8049 8050 ld_shlibs=yes 8051 if test "$with_gnu_ld" = yes; then 8052 # If archive_cmds runs LD, not CC, wlarc should be empty 8053 wlarc='${wl}' 8054 8055 # Set some defaults for GNU ld with shared library support. These 8056 # are reset later if shared libraries are not supported. Putting them 8057 # here allows them to be overridden if necessary. 8058 runpath_var=LD_RUN_PATH 8059 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' 8060 export_dynamic_flag_spec='${wl}--export-dynamic' 8061 # ancient GNU ld didn't support --whole-archive et. al. 8062 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then 8063 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 8064 else 8065 whole_archive_flag_spec= 8066 fi 8067 supports_anon_versioning=no 8068 case `$LD -v 2>/dev/null` in 8069 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8070 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8071 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8072 *\ 2.11.*) ;; # other 2.11 versions 8073 *) supports_anon_versioning=yes ;; 8074 esac 8075 8076 # See if GNU ld supports shared libraries. 8077 case $host_os in 8078 aix3* | aix4* | aix5*) 8079 # On AIX/PPC, the GNU linker is very broken 8080 if test "$host_cpu" != ia64; then 8081 ld_shlibs=no 8082 cat <<EOF 1>&2 8083 8084 *** Warning: the GNU linker, at least up to release 2.9.1, is reported 8085 *** to be unable to reliably create shared libraries on AIX. 8086 *** Therefore, libtool is disabling shared libraries support. If you 8087 *** really care for shared libraries, you may want to modify your PATH 8088 *** so that a non-GNU linker is found, and then restart. 8089 8090 EOF 8091 fi 8092 ;; 8093 8094 amigaos*) 8095 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)' 8096 hardcode_libdir_flag_spec='-L$libdir' 8097 hardcode_minus_L=yes 8098 8099 # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports 8100 # that the semantics of dynamic libraries on AmigaOS, at least up 8101 # to version 4, is to share data among multiple programs linked 8102 # with the same dynamic library. Since this doesn't match the 8103 # behavior of shared libraries on other platforms, we can't use 8104 # them. 8105 ld_shlibs=no 8106 ;; 8107 8108 beos*) 8109 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 8110 allow_undefined_flag=unsupported 8111 # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc 8112 # support --undefined. This deserves some investigation. FIXME 8113 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8114 else 8115 ld_shlibs=no 8116 fi 8117 ;; 8118 8119 cygwin* | mingw* | pw32*) 8120 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8121 # as there is no search path for DLLs. 8122 hardcode_libdir_flag_spec='-L$libdir' 8123 allow_undefined_flag=unsupported 8124 always_export_symbols=no 8125 enable_shared_with_static_runtimes=yes 8126 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' 8127 8128 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then 8129 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8130 # If the export-symbols file already is a .def file (1st line 8131 # is EXPORTS), use it as is; otherwise, prepend... 8132 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 8133 cp $export_symbols $output_objdir/$soname.def; 8134 else 8135 echo EXPORTS > $output_objdir/$soname.def; 8136 cat $export_symbols >> $output_objdir/$soname.def; 8137 fi~ 8138 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8139 else 8140 ld_shlibs=no 8141 fi 8142 ;; 8143 8144 interix3*) 8145 hardcode_direct=no 8146 hardcode_shlibpath_var=no 8147 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8148 export_dynamic_flag_spec='${wl}-E' 8149 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 8150 # Instead, shared libraries are loaded at an image base (0x10000000 by 8151 # default) and relocated if they conflict, which is a slow very memory 8152 # consuming and fragmenting process. To avoid this, we pick a random, 8153 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 8154 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8155 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8156 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' 8157 ;; 8158 8159 linux*) 8160 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 8161 tmp_addflag= 8162 case $cc_basename,$host_cpu in 8163 pgcc*) # Portland Group C compiler 8164 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' 8165 tmp_addflag=' $pic_flag' 8166 ;; 8167 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 8168 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' 8169 tmp_addflag=' $pic_flag -Mnomain' ;; 8170 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 8171 tmp_addflag=' -i_dynamic' ;; 8172 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 8173 tmp_addflag=' -i_dynamic -nofor_main' ;; 8174 ifc* | ifort*) # Intel Fortran compiler 8175 tmp_addflag=' -nofor_main' ;; 8176 esac 8177 archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8178 8179 if test $supports_anon_versioning = yes; then 8180 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ 8181 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8182 $echo "local: *; };" >> $output_objdir/$libname.ver~ 8183 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 8184 fi 8185 else 8186 ld_shlibs=no 8187 fi 8188 ;; 8189 8190 netbsd*) 8191 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 8192 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 8193 wlarc= 8194 else 8195 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8196 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8197 fi 8198 ;; 8199 8200 solaris*) 8201 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then 8202 ld_shlibs=no 8203 cat <<EOF 1>&2 8204 8205 *** Warning: The releases 2.8.* of the GNU linker cannot reliably 8206 *** create shared libraries on Solaris systems. Therefore, libtool 8207 *** is disabling shared libraries support. We urge you to upgrade GNU 8208 *** binutils to release 2.9.1 or newer. Another option is to modify 8209 *** your PATH or compiler configuration so that the native linker is 8210 *** used, and then restart. 8211 8212 EOF 8213 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 8214 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8215 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8216 else 8217 ld_shlibs=no 8218 fi 8219 ;; 8220 8221 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 8222 case `$LD -v 2>&1` in 8223 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 8224 ld_shlibs=no 8225 cat <<_LT_EOF 1>&2 8226 8227 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 8228 *** reliably create shared libraries on SCO systems. Therefore, libtool 8229 *** is disabling shared libraries support. We urge you to upgrade GNU 8230 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify 8231 *** your PATH or compiler configuration so that the native linker is 8232 *** used, and then restart. 8233 8234 _LT_EOF 8235 ;; 8236 *) 8237 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 8238 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' 8239 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' 8240 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' 8241 else 8242 ld_shlibs=no 8243 fi 8244 ;; 8245 esac 8246 ;; 8247 8248 sunos4*) 8249 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8250 wlarc= 8251 hardcode_direct=yes 8252 hardcode_shlibpath_var=no 8253 ;; 8254 8255 *) 8256 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 8257 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8258 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8259 else 8260 ld_shlibs=no 8261 fi 8262 ;; 8263 esac 8264 8265 if test "$ld_shlibs" = no; then 8266 runpath_var= 8267 hardcode_libdir_flag_spec= 8268 export_dynamic_flag_spec= 8269 whole_archive_flag_spec= 8270 fi 8271 else 8272 # PORTME fill in a description of your system's linker (not GNU ld) 8273 case $host_os in 8274 aix3*) 8275 allow_undefined_flag=unsupported 8276 always_export_symbols=yes 8277 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' 8278 # Note: this linker hardcodes the directories in LIBPATH if there 8279 # are no directories specified by -L. 8280 hardcode_minus_L=yes 8281 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 8282 # Neither direct hardcoding nor static linking is supported with a 8283 # broken collect2. 8284 hardcode_direct=unsupported 8285 fi 8286 ;; 8287 8288 aix4* | aix5*) 8289 if test "$host_cpu" = ia64; then 8290 # On IA64, the linker does run time linking by default, so we don't 8291 # have to do anything special. 8292 aix_use_runtimelinking=no 8293 exp_sym_flag='-Bexport' 8294 no_entry_flag="" 8295 else 8296 # If we're using GNU nm, then we don't want the "-C" option. 8297 # -C means demangle to AIX nm, but means don't demangle with GNU nm 8298 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then 8299 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' 8300 else 8301 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' 8302 fi 8303 aix_use_runtimelinking=no 8304 8305 # Test if we are trying to use run time linking or normal 8306 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 8307 # need to do runtime linking. 8308 case $host_os in aix4.[23]|aix4.[23].*|aix5*) 8309 for ld_flag in $LDFLAGS; do 8310 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 8311 aix_use_runtimelinking=yes 8312 break 8313 fi 8314 done 8315 ;; 8316 esac 8317 8318 exp_sym_flag='-bexport' 8319 no_entry_flag='-bnoentry' 8320 fi 8321 8322 # When large executables or shared objects are built, AIX ld can 8323 # have problems creating the table of contents. If linking a library 8324 # or program results in "error TOC overflow" add -mminimal-toc to 8325 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 8326 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 8327 8328 archive_cmds='' 8329 hardcode_direct=yes 8330 hardcode_libdir_separator=':' 8331 link_all_deplibs=yes 8332 8333 if test "$GCC" = yes; then 8334 case $host_os in aix4.[012]|aix4.[012].*) 8335 # We only want to do this on AIX 4.2 and lower, the check 8336 # below for broken collect2 doesn't work under 4.3+ 8337 collect2name=`${CC} -print-prog-name=collect2` 8338 if test -f "$collect2name" && \ 8339 strings "$collect2name" | grep resolve_lib_name >/dev/null 8340 then 8341 # We have reworked collect2 8342 hardcode_direct=yes 8343 else 8344 # We have old collect2 8345 hardcode_direct=unsupported 8346 # It fails to find uninstalled libraries when the uninstalled 8347 # path is not listed in the libpath. Setting hardcode_minus_L 8348 # to unsupported forces relinking 8349 hardcode_minus_L=yes 8350 hardcode_libdir_flag_spec='-L$libdir' 8351 hardcode_libdir_separator= 8352 fi 8353 ;; 8354 esac 8355 shared_flag='-shared' 8356 if test "$aix_use_runtimelinking" = yes; then 8357 shared_flag="$shared_flag "'${wl}-G' 8358 fi 8359 else 8360 # not using gcc 8361 if test "$host_cpu" = ia64; then 8362 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 8363 # chokes on -Wl,-G. The following line is correct: 8364 shared_flag='-G' 8365 else 8366 if test "$aix_use_runtimelinking" = yes; then 8367 shared_flag='${wl}-G' 8368 else 8369 shared_flag='${wl}-bM:SRE' 8370 fi 8371 fi 8372 fi 8373 8374 # It seems that -bexpall does not export symbols beginning with 8375 # underscore (_), so it is better to generate a list of symbols to export. 8376 always_export_symbols=yes 8377 if test "$aix_use_runtimelinking" = yes; then 8378 # Warning - without using the other runtime loading flags (-brtl), 8379 # -berok will link without error, but may produce a broken library. 8380 allow_undefined_flag='-berok' 8381 # Determine the default libpath from the value encoded in an empty executable. 8382 cat >conftest.$ac_ext <<_ACEOF 8383 /* confdefs.h. */ 8384 _ACEOF 8385 cat confdefs.h >>conftest.$ac_ext 8386 cat >>conftest.$ac_ext <<_ACEOF 8387 /* end confdefs.h. */ 8388 8389 int 8390 main () 8391 { 8392 8393 ; 8394 return 0; 8395 } 8396 _ACEOF 8397 rm -f conftest.$ac_objext conftest$ac_exeext 8398 if { (ac_try="$ac_link" 8399 case "(($ac_try" in 8400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8401 *) ac_try_echo=$ac_try;; 8402 esac 8403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8404 (eval "$ac_link") 2>conftest.er1 8405 ac_status=$? 8406 grep -v '^ *+' conftest.er1 >conftest.err 8407 rm -f conftest.er1 8408 cat conftest.err >&5 8409 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8410 (exit $ac_status); } && 8411 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8412 { (case "(($ac_try" in 8413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8414 *) ac_try_echo=$ac_try;; 8415 esac 8416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8417 (eval "$ac_try") 2>&5 8418 ac_status=$? 8419 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8420 (exit $ac_status); }; } && 8421 { ac_try='test -s conftest$ac_exeext' 8422 { (case "(($ac_try" in 8423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8424 *) ac_try_echo=$ac_try;; 8425 esac 8426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8427 (eval "$ac_try") 2>&5 8428 ac_status=$? 8429 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8430 (exit $ac_status); }; }; then 8431 8432 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 8433 }'` 8434 # Check for a 64-bit object if we didn't find anything. 8435 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 8436 }'`; fi 8437 else 8438 echo "$as_me: failed program was:" >&5 8439 sed 's/^/| /' conftest.$ac_ext >&5 8440 8441 8442 fi 8443 8444 rm -f core conftest.err conftest.$ac_objext \ 8445 conftest$ac_exeext conftest.$ac_ext 8446 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8447 8448 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8449 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" 8450 else 8451 if test "$host_cpu" = ia64; then 8452 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 8453 allow_undefined_flag="-z nodefs" 8454 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" 8455 else 8456 # Determine the default libpath from the value encoded in an empty executable. 8457 cat >conftest.$ac_ext <<_ACEOF 8458 /* confdefs.h. */ 8459 _ACEOF 8460 cat confdefs.h >>conftest.$ac_ext 8461 cat >>conftest.$ac_ext <<_ACEOF 8462 /* end confdefs.h. */ 8463 8464 int 8465 main () 8466 { 8467 8468 ; 8469 return 0; 8470 } 8471 _ACEOF 8472 rm -f conftest.$ac_objext conftest$ac_exeext 8473 if { (ac_try="$ac_link" 8474 case "(($ac_try" in 8475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8476 *) ac_try_echo=$ac_try;; 8477 esac 8478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8479 (eval "$ac_link") 2>conftest.er1 8480 ac_status=$? 8481 grep -v '^ *+' conftest.er1 >conftest.err 8482 rm -f conftest.er1 8483 cat conftest.err >&5 8484 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8485 (exit $ac_status); } && 8486 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8487 { (case "(($ac_try" in 8488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8489 *) ac_try_echo=$ac_try;; 8490 esac 8491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8492 (eval "$ac_try") 2>&5 8493 ac_status=$? 8494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8495 (exit $ac_status); }; } && 8496 { ac_try='test -s conftest$ac_exeext' 8497 { (case "(($ac_try" in 8498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8499 *) ac_try_echo=$ac_try;; 8500 esac 8501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8502 (eval "$ac_try") 2>&5 8503 ac_status=$? 8504 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8505 (exit $ac_status); }; }; then 8506 8507 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 8508 }'` 8509 # Check for a 64-bit object if we didn't find anything. 8510 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 8511 }'`; fi 8512 else 8513 echo "$as_me: failed program was:" >&5 8514 sed 's/^/| /' conftest.$ac_ext >&5 8515 8516 8517 fi 8518 8519 rm -f core conftest.err conftest.$ac_objext \ 8520 conftest$ac_exeext conftest.$ac_ext 8521 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8522 8523 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8524 # Warning - without using the other run time loading flags, 8525 # -berok will link without error, but may produce a broken library. 8526 no_undefined_flag=' ${wl}-bernotok' 8527 allow_undefined_flag=' ${wl}-berok' 8528 # Exported symbols can be pulled into shared objects from archives 8529 whole_archive_flag_spec='$convenience' 8530 archive_cmds_need_lc=yes 8531 # This is similar to how AIX traditionally builds its shared libraries. 8532 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' 8533 fi 8534 fi 8535 ;; 8536 8537 amigaos*) 8538 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)' 8539 hardcode_libdir_flag_spec='-L$libdir' 8540 hardcode_minus_L=yes 8541 # see comment about different semantics on the GNU ld section 8542 ld_shlibs=no 8543 ;; 8544 8545 bsdi[45]*) 8546 export_dynamic_flag_spec=-rdynamic 8547 ;; 8548 8549 cygwin* | mingw* | pw32*) 8550 # When not using gcc, we currently assume that we are using 8551 # Microsoft Visual C++. 8552 # hardcode_libdir_flag_spec is actually meaningless, as there is 8553 # no search path for DLLs. 8554 hardcode_libdir_flag_spec=' ' 8555 allow_undefined_flag=unsupported 8556 # Tell ltmain to make .lib files, not .a files. 8557 libext=lib 8558 # Tell ltmain to make .dll files, not .so files. 8559 shrext_cmds=".dll" 8560 # FIXME: Setting linknames here is a bad hack. 8561 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' 8562 # The linker will automatically build a .lib file if we build a DLL. 8563 old_archive_From_new_cmds='true' 8564 # FIXME: Should let the user specify the lib program. 8565 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' 8566 fix_srcfile_path='`cygpath -w "$srcfile"`' 8567 enable_shared_with_static_runtimes=yes 8568 ;; 8569 8570 darwin* | rhapsody*) 8571 case $host_os in 8572 rhapsody* | darwin1.[012]) 8573 allow_undefined_flag='${wl}-undefined ${wl}suppress' 8574 ;; 8575 *) # Darwin 1.3 on 8576 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 8577 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 8578 else 8579 case ${MACOSX_DEPLOYMENT_TARGET} in 8580 10.[012]) 8581 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 8582 ;; 8583 10.*) 8584 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup' 8585 ;; 8586 esac 8587 fi 8588 ;; 8589 esac 8590 archive_cmds_need_lc=no 8591 hardcode_direct=no 8592 hardcode_automatic=yes 8593 hardcode_shlibpath_var=unsupported 8594 whole_archive_flag_spec='' 8595 link_all_deplibs=yes 8596 if test "$GCC" = yes ; then 8597 output_verbose_link_cmd='echo' 8598 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 8599 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 8600 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 8601 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}' 8602 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}' 8603 else 8604 case $cc_basename in 8605 xlc*) 8606 output_verbose_link_cmd='echo' 8607 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' 8608 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 8609 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 8610 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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 8611 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}' 8612 ;; 8613 *) 8614 ld_shlibs=no 8615 ;; 8616 esac 8617 fi 8618 ;; 8619 8620 dgux*) 8621 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8622 hardcode_libdir_flag_spec='-L$libdir' 8623 hardcode_shlibpath_var=no 8624 ;; 8625 8626 freebsd1*) 8627 ld_shlibs=no 8628 ;; 8629 8630 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 8631 # support. Future versions do this automatically, but an explicit c++rt0.o 8632 # does not break anything, and helps significantly (at the cost of a little 8633 # extra space). 8634 freebsd2.2*) 8635 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 8636 hardcode_libdir_flag_spec='-R$libdir' 8637 hardcode_direct=yes 8638 hardcode_shlibpath_var=no 8639 ;; 8640 8641 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 8642 freebsd2*) 8643 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8644 hardcode_direct=yes 8645 hardcode_minus_L=yes 8646 hardcode_shlibpath_var=no 8647 ;; 8648 8649 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 8650 freebsd* | kfreebsd*-gnu | dragonfly*) 8651 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 8652 hardcode_libdir_flag_spec='-R$libdir' 8653 hardcode_direct=yes 8654 hardcode_shlibpath_var=no 8655 ;; 8656 8657 hpux9*) 8658 if test "$GCC" = yes; then 8659 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' 8660 else 8661 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' 8662 fi 8663 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 8664 hardcode_libdir_separator=: 8665 hardcode_direct=yes 8666 8667 # hardcode_minus_L: Not really in the search PATH, 8668 # but as the default location of the library. 8669 hardcode_minus_L=yes 8670 export_dynamic_flag_spec='${wl}-E' 8671 ;; 8672 8673 hpux10*) 8674 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 8675 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 8676 else 8677 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 8678 fi 8679 if test "$with_gnu_ld" = no; then 8680 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 8681 hardcode_libdir_separator=: 8682 8683 hardcode_direct=yes 8684 export_dynamic_flag_spec='${wl}-E' 8685 8686 # hardcode_minus_L: Not really in the search PATH, 8687 # but as the default location of the library. 8688 hardcode_minus_L=yes 8689 fi 8690 ;; 8691 8692 hpux11*) 8693 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 8694 case $host_cpu in 8695 hppa*64*) 8696 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8697 ;; 8698 ia64*) 8699 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 8700 ;; 8701 *) 8702 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 8703 ;; 8704 esac 8705 else 8706 case $host_cpu in 8707 hppa*64*) 8708 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8709 ;; 8710 ia64*) 8711 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 8712 ;; 8713 *) 8714 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 8715 ;; 8716 esac 8717 fi 8718 if test "$with_gnu_ld" = no; then 8719 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 8720 hardcode_libdir_separator=: 8721 8722 case $host_cpu in 8723 hppa*64*|ia64*) 8724 hardcode_libdir_flag_spec_ld='+b $libdir' 8725 hardcode_direct=no 8726 hardcode_shlibpath_var=no 8727 ;; 8728 *) 8729 hardcode_direct=yes 8730 export_dynamic_flag_spec='${wl}-E' 8731 8732 # hardcode_minus_L: Not really in the search PATH, 8733 # but as the default location of the library. 8734 hardcode_minus_L=yes 8735 ;; 8736 esac 8737 fi 8738 ;; 8739 8740 irix5* | irix6* | nonstopux*) 8741 if test "$GCC" = yes; then 8742 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' 8743 else 8744 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' 8745 hardcode_libdir_flag_spec_ld='-rpath $libdir' 8746 fi 8747 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8748 hardcode_libdir_separator=: 8749 link_all_deplibs=yes 8750 ;; 8751 8752 netbsd*) 8753 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 8754 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 8755 else 8756 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 8757 fi 8758 hardcode_libdir_flag_spec='-R$libdir' 8759 hardcode_direct=yes 8760 hardcode_shlibpath_var=no 8761 ;; 8762 8763 newsos6) 8764 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8765 hardcode_direct=yes 8766 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8767 hardcode_libdir_separator=: 8768 hardcode_shlibpath_var=no 8769 ;; 8770 8771 openbsd*) 8772 hardcode_direct=yes 8773 hardcode_shlibpath_var=no 8774 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 8775 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 8776 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 8777 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8778 export_dynamic_flag_spec='${wl}-E' 8779 else 8780 case $host_os in 8781 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 8782 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8783 hardcode_libdir_flag_spec='-R$libdir' 8784 ;; 8785 *) 8786 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 8787 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8788 ;; 8789 esac 8790 fi 8791 ;; 8792 8793 os2*) 8794 hardcode_libdir_flag_spec='-L$libdir' 8795 hardcode_minus_L=yes 8796 allow_undefined_flag=unsupported 8797 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' 8798 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 8799 ;; 8800 8801 osf3*) 8802 if test "$GCC" = yes; then 8803 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 8804 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' 8805 else 8806 allow_undefined_flag=' -expect_unresolved \*' 8807 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' 8808 fi 8809 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8810 hardcode_libdir_separator=: 8811 ;; 8812 8813 osf4* | osf5*) # as osf3* with the addition of -msym flag 8814 if test "$GCC" = yes; then 8815 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 8816 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' 8817 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8818 else 8819 allow_undefined_flag=' -expect_unresolved \*' 8820 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' 8821 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ 8822 $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' 8823 8824 # Both c and cxx compiler support -rpath directly 8825 hardcode_libdir_flag_spec='-rpath $libdir' 8826 fi 8827 hardcode_libdir_separator=: 8828 ;; 8829 8830 solaris*) 8831 no_undefined_flag=' -z text' 8832 if test "$GCC" = yes; then 8833 wlarc='${wl}' 8834 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8835 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 8836 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' 8837 else 8838 wlarc='' 8839 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 8840 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 8841 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' 8842 fi 8843 hardcode_libdir_flag_spec='-R$libdir' 8844 hardcode_shlibpath_var=no 8845 case $host_os in 8846 solaris2.[0-5] | solaris2.[0-5].*) ;; 8847 *) 8848 # The compiler driver will combine linker options so we 8849 # cannot just pass the convience library names through 8850 # without $wl, iff we do not link with $LD. 8851 # Luckily, gcc supports the same syntax we need for Sun Studio. 8852 # Supported since Solaris 2.6 (maybe 2.5.1?) 8853 case $wlarc in 8854 '') 8855 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; 8856 *) 8857 whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; 8858 esac ;; 8859 esac 8860 link_all_deplibs=yes 8861 ;; 8862 8863 sunos4*) 8864 if test "x$host_vendor" = xsequent; then 8865 # Use $CC to link under sequent, because it throws in some extra .o 8866 # files that make .init and .fini sections work. 8867 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 8868 else 8869 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 8870 fi 8871 hardcode_libdir_flag_spec='-L$libdir' 8872 hardcode_direct=yes 8873 hardcode_minus_L=yes 8874 hardcode_shlibpath_var=no 8875 ;; 8876 8877 sysv4) 8878 case $host_vendor in 8879 sni) 8880 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8881 hardcode_direct=yes # is this really true??? 8882 ;; 8883 siemens) 8884 ## LD is ld it makes a PLAMLIB 8885 ## CC just makes a GrossModule. 8886 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 8887 reload_cmds='$CC -r -o $output$reload_objs' 8888 hardcode_direct=no 8889 ;; 8890 motorola) 8891 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8892 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 8893 ;; 8894 esac 8895 runpath_var='LD_RUN_PATH' 8896 hardcode_shlibpath_var=no 8897 ;; 8898 8899 sysv4.3*) 8900 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8901 hardcode_shlibpath_var=no 8902 export_dynamic_flag_spec='-Bexport' 8903 ;; 8904 8905 sysv4*MP*) 8906 if test -d /usr/nec; then 8907 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8908 hardcode_shlibpath_var=no 8909 runpath_var=LD_RUN_PATH 8910 hardcode_runpath_var=yes 8911 ld_shlibs=yes 8912 fi 8913 ;; 8914 8915 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*) 8916 no_undefined_flag='${wl}-z,text' 8917 archive_cmds_need_lc=no 8918 hardcode_shlibpath_var=no 8919 runpath_var='LD_RUN_PATH' 8920 8921 if test "$GCC" = yes; then 8922 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8923 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8924 else 8925 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8926 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8927 fi 8928 ;; 8929 8930 sysv5* | sco3.2v5* | sco5v6*) 8931 # Note: We can NOT use -z defs as we might desire, because we do not 8932 # link with -lc, and that would cause any symbols used from libc to 8933 # always be unresolved, which means just about no library would 8934 # ever link correctly. If we're not using GNU ld we use -z text 8935 # though, which does catch some bad symbols but isn't as heavy-handed 8936 # as -z defs. 8937 no_undefined_flag='${wl}-z,text' 8938 allow_undefined_flag='${wl}-z,nodefs' 8939 archive_cmds_need_lc=no 8940 hardcode_shlibpath_var=no 8941 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' 8942 hardcode_libdir_separator=':' 8943 link_all_deplibs=yes 8944 export_dynamic_flag_spec='${wl}-Bexport' 8945 runpath_var='LD_RUN_PATH' 8946 8947 if test "$GCC" = yes; then 8948 archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 8949 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 8950 else 8951 archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 8952 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 8953 fi 8954 ;; 8955 8956 uts4*) 8957 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8958 hardcode_libdir_flag_spec='-L$libdir' 8959 hardcode_shlibpath_var=no 8960 ;; 8961 8962 *) 8963 ld_shlibs=no 8964 ;; 8965 esac 8966 fi 8967 8968 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5 8969 echo "${ECHO_T}$ld_shlibs" >&6; } 8970 test "$ld_shlibs" = no && can_build_shared=no 8971 8972 # 8973 # Do we need to explicitly link libc? 8974 # 8975 case "x$archive_cmds_need_lc" in 8976 x|xyes) 8977 # Assume -lc should be added 8978 archive_cmds_need_lc=yes 8979 8980 if test "$enable_shared" = yes && test "$GCC" = yes; then 8981 case $archive_cmds in 8982 *'~'*) 8983 # FIXME: we may have to deal with multi-command sequences. 8984 ;; 8985 '$CC '*) 8986 # Test whether the compiler implicitly links with -lc since on some 8987 # systems, -lgcc has to come before -lc. If gcc already passes -lc 8988 # to ld, don't add -lc before -lgcc. 8989 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 8990 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } 8991 $rm conftest* 8992 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 8993 8994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8995 (eval $ac_compile) 2>&5 8996 ac_status=$? 8997 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8998 (exit $ac_status); } 2>conftest.err; then 8999 soname=conftest 9000 lib=conftest 9001 libobjs=conftest.$ac_objext 9002 deplibs= 9003 wl=$lt_prog_compiler_wl 9004 pic_flag=$lt_prog_compiler_pic 9005 compiler_flags=-v 9006 linker_flags=-v 9007 verstring= 9008 output_objdir=. 9009 libname=conftest 9010 lt_save_allow_undefined_flag=$allow_undefined_flag 9011 allow_undefined_flag= 9012 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 9013 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 9014 ac_status=$? 9015 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9016 (exit $ac_status); } 9017 then 9018 archive_cmds_need_lc=no 9019 else 9020 archive_cmds_need_lc=yes 9021 fi 9022 allow_undefined_flag=$lt_save_allow_undefined_flag 9023 else 9024 cat conftest.err 1>&5 9025 fi 9026 $rm conftest* 9027 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 9028 echo "${ECHO_T}$archive_cmds_need_lc" >&6; } 9029 ;; 9030 esac 9031 fi 9032 ;; 9033 esac 9034 9035 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 9036 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } 9037 library_names_spec= 9038 libname_spec='lib$name' 9039 soname_spec= 9040 shrext_cmds=".so" 9041 postinstall_cmds= 9042 postuninstall_cmds= 9043 finish_cmds= 9044 finish_eval= 9045 shlibpath_var= 9046 shlibpath_overrides_runpath=unknown 9047 version_type=none 9048 dynamic_linker="$host_os ld.so" 9049 sys_lib_dlsearch_path_spec="/lib /usr/lib" 9050 if test "$GCC" = yes; then 9051 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 9052 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then 9053 # if the path contains ";" then we assume it to be the separator 9054 # otherwise default to the standard path separator (i.e. ":") - it is 9055 # assumed that no part of a normal pathname contains ";" but that should 9056 # okay in the real world where ";" in dirpaths is itself problematic. 9057 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 9058 else 9059 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 9060 fi 9061 else 9062 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 9063 fi 9064 need_lib_prefix=unknown 9065 hardcode_into_libs=no 9066 9067 # when you set need_version to no, make sure it does not cause -set_version 9068 # flags to be left without arguments 9069 need_version=unknown 9070 9071 case $host_os in 9072 aix3*) 9073 version_type=linux 9074 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 9075 shlibpath_var=LIBPATH 9076 9077 # AIX 3 has no versioning support, so we append a major version to the name. 9078 soname_spec='${libname}${release}${shared_ext}$major' 9079 ;; 9080 9081 aix4* | aix5*) 9082 version_type=linux 9083 need_lib_prefix=no 9084 need_version=no 9085 hardcode_into_libs=yes 9086 if test "$host_cpu" = ia64; then 9087 # AIX 5 supports IA64 9088 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 9089 shlibpath_var=LD_LIBRARY_PATH 9090 else 9091 # With GCC up to 2.95.x, collect2 would create an import file 9092 # for dependence libraries. The import file would start with 9093 # the line `#! .'. This would cause the generated library to 9094 # depend on `.', always an invalid library. This was fixed in 9095 # development snapshots of GCC prior to 3.0. 9096 case $host_os in 9097 aix4 | aix4.[01] | aix4.[01].*) 9098 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 9099 echo ' yes ' 9100 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then 9101 : 9102 else 9103 can_build_shared=no 9104 fi 9105 ;; 9106 esac 9107 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 9108 # soname into executable. Probably we can add versioning support to 9109 # collect2, so additional links can be useful in future. 9110 if test "$aix_use_runtimelinking" = yes; then 9111 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 9112 # instead of lib<name>.a to let people know that these are not 9113 # typical AIX shared libraries. 9114 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9115 else 9116 # We preserve .a as extension for shared libraries through AIX4.2 9117 # and later when we are not doing run time linking. 9118 library_names_spec='${libname}${release}.a $libname.a' 9119 soname_spec='${libname}${release}${shared_ext}$major' 9120 fi 9121 shlibpath_var=LIBPATH 9122 fi 9123 ;; 9124 9125 amigaos*) 9126 library_names_spec='$libname.ixlibrary $libname.a' 9127 # Create ${libname}_ixlibrary.a entries in /sys/libs. 9128 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' 9129 ;; 9130 9131 beos*) 9132 library_names_spec='${libname}${shared_ext}' 9133 dynamic_linker="$host_os ld.so" 9134 shlibpath_var=LIBRARY_PATH 9135 ;; 9136 9137 bsdi[45]*) 9138 version_type=linux 9139 need_version=no 9140 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9141 soname_spec='${libname}${release}${shared_ext}$major' 9142 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 9143 shlibpath_var=LD_LIBRARY_PATH 9144 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 9145 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 9146 # the default ld.so.conf also contains /usr/contrib/lib and 9147 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 9148 # libtool to hard-code these into programs 9149 ;; 9150 9151 cygwin* | mingw* | pw32*) 9152 version_type=windows 9153 shrext_cmds=".dll" 9154 need_version=no 9155 need_lib_prefix=no 9156 9157 case $GCC,$host_os in 9158 yes,cygwin* | yes,mingw* | yes,pw32*) 9159 library_names_spec='$libname.dll.a' 9160 # DLL is installed to $(libdir)/../bin by postinstall_cmds 9161 postinstall_cmds='base_file=`basename \${file}`~ 9162 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ 9163 dldir=$destdir/`dirname \$dlpath`~ 9164 test -d \$dldir || mkdir -p \$dldir~ 9165 $install_prog $dir/$dlname \$dldir/$dlname~ 9166 chmod a+x \$dldir/$dlname' 9167 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 9168 dlpath=$dir/\$dldll~ 9169 $rm \$dlpath' 9170 shlibpath_overrides_runpath=yes 9171 9172 case $host_os in 9173 cygwin*) 9174 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 9175 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9176 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 9177 ;; 9178 mingw*) 9179 # MinGW DLLs use traditional 'lib' prefix 9180 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9181 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 9182 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then 9183 # It is most probably a Windows format PATH printed by 9184 # mingw gcc, but we are running on Cygwin. Gcc prints its search 9185 # path with ; separators, and with drive letters. We can handle the 9186 # drive letters (cygwin fileutils understands them), so leave them, 9187 # especially as we might pass files found there to a mingw objdump, 9188 # which wouldn't understand a cygwinified path. Ahh. 9189 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 9190 else 9191 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 9192 fi 9193 ;; 9194 pw32*) 9195 # pw32 DLLs use 'pw' prefix rather than 'lib' 9196 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9197 ;; 9198 esac 9199 ;; 9200 9201 *) 9202 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 9203 ;; 9204 esac 9205 dynamic_linker='Win32 ld.exe' 9206 # FIXME: first we should search . and the directory the executable is in 9207 shlibpath_var=PATH 9208 ;; 9209 9210 darwin* | rhapsody*) 9211 dynamic_linker="$host_os dyld" 9212 version_type=darwin 9213 need_lib_prefix=no 9214 need_version=no 9215 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 9216 soname_spec='${libname}${release}${major}$shared_ext' 9217 shlibpath_overrides_runpath=yes 9218 shlibpath_var=DYLD_LIBRARY_PATH 9219 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 9220 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 9221 if test "$GCC" = yes; then 9222 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 9223 else 9224 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 9225 fi 9226 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 9227 ;; 9228 9229 dgux*) 9230 version_type=linux 9231 need_lib_prefix=no 9232 need_version=no 9233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 9234 soname_spec='${libname}${release}${shared_ext}$major' 9235 shlibpath_var=LD_LIBRARY_PATH 9236 ;; 9237 9238 freebsd1*) 9239 dynamic_linker=no 9240 ;; 9241 9242 kfreebsd*-gnu) 9243 version_type=linux 9244 need_lib_prefix=no 9245 need_version=no 9246 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 9247 soname_spec='${libname}${release}${shared_ext}$major' 9248 shlibpath_var=LD_LIBRARY_PATH 9249 shlibpath_overrides_runpath=no 9250 hardcode_into_libs=yes 9251 dynamic_linker='GNU ld.so' 9252 ;; 9253 9254 freebsd* | dragonfly*) 9255 # DragonFly does not have aout. When/if they implement a new 9256 # versioning mechanism, adjust this. 9257 if test -x /usr/bin/objformat; then 9258 objformat=`/usr/bin/objformat` 9259 else 9260 case $host_os in 9261 freebsd[123]*) objformat=aout ;; 9262 *) objformat=elf ;; 9263 esac 9264 fi 9265 version_type=freebsd-$objformat 9266 case $version_type in 9267 freebsd-elf*) 9268 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 9269 need_version=no 9270 need_lib_prefix=no 9271 ;; 9272 freebsd-*) 9273 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 9274 need_version=yes 9275 ;; 9276 esac 9277 shlibpath_var=LD_LIBRARY_PATH 9278 case $host_os in 9279 freebsd2*) 9280 shlibpath_overrides_runpath=yes 9281 ;; 9282 freebsd3.[01]* | freebsdelf3.[01]*) 9283 shlibpath_overrides_runpath=yes 9284 hardcode_into_libs=yes 9285 ;; 9286 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 9287 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 9288 shlibpath_overrides_runpath=no 9289 hardcode_into_libs=yes 9290 ;; 9291 freebsd*) # from 4.6 on 9292 shlibpath_overrides_runpath=yes 9293 hardcode_into_libs=yes 9294 ;; 9295 esac 9296 ;; 9297 9298 gnu*) 9299 version_type=linux 9300 need_lib_prefix=no 9301 need_version=no 9302 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 9303 soname_spec='${libname}${release}${shared_ext}$major' 9304 shlibpath_var=LD_LIBRARY_PATH 9305 hardcode_into_libs=yes 9306 ;; 9307 9308 hpux9* | hpux10* | hpux11*) 9309 # Give a soname corresponding to the major version so that dld.sl refuses to 9310 # link against other versions. 9311 version_type=sunos 9312 need_lib_prefix=no 9313 need_version=no 9314 case $host_cpu in 9315 ia64*) 9316 shrext_cmds='.so' 9317 hardcode_into_libs=yes 9318 dynamic_linker="$host_os dld.so" 9319 shlibpath_var=LD_LIBRARY_PATH 9320 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 9321 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9322 soname_spec='${libname}${release}${shared_ext}$major' 9323 if test "X$HPUX_IA64_MODE" = X32; then 9324 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 9325 else 9326 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 9327 fi 9328 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 9329 ;; 9330 hppa*64*) 9331 shrext_cmds='.sl' 9332 hardcode_into_libs=yes 9333 dynamic_linker="$host_os dld.sl" 9334 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 9335 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 9336 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9337 soname_spec='${libname}${release}${shared_ext}$major' 9338 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 9339 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 9340 ;; 9341 *) 9342 shrext_cmds='.sl' 9343 dynamic_linker="$host_os dld.sl" 9344 shlibpath_var=SHLIB_PATH 9345 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 9346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9347 soname_spec='${libname}${release}${shared_ext}$major' 9348 ;; 9349 esac 9350 # HP-UX runs *really* slowly unless shared libraries are mode 555. 9351 postinstall_cmds='chmod 555 $lib' 9352 ;; 9353 9354 interix3*) 9355 version_type=linux 9356 need_lib_prefix=no 9357 need_version=no 9358 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 9359 soname_spec='${libname}${release}${shared_ext}$major' 9360 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 9361 shlibpath_var=LD_LIBRARY_PATH 9362 shlibpath_overrides_runpath=no 9363 hardcode_into_libs=yes 9364 ;; 9365 9366 irix5* | irix6* | nonstopux*) 9367 case $host_os in 9368 nonstopux*) version_type=nonstopux ;; 9369 *) 9370 if test "$lt_cv_prog_gnu_ld" = yes; then 9371 version_type=linux 9372 else 9373 version_type=irix 9374 fi ;; 9375 esac 9376 need_lib_prefix=no 9377 need_version=no 9378 soname_spec='${libname}${release}${shared_ext}$major' 9379 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 9380 case $host_os in 9381 irix5* | nonstopux*) 9382 libsuff= shlibsuff= 9383 ;; 9384 *) 9385 case $LD in # libtool.m4 will add one of these switches to LD 9386 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 9387 libsuff= shlibsuff= libmagic=32-bit;; 9388 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 9389 libsuff=32 shlibsuff=N32 libmagic=N32;; 9390 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 9391 libsuff=64 shlibsuff=64 libmagic=64-bit;; 9392 *) libsuff= shlibsuff= libmagic=never-match;; 9393 esac 9394 ;; 9395 esac 9396 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 9397 shlibpath_overrides_runpath=no 9398 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 9399 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 9400 hardcode_into_libs=yes 9401 ;; 9402 9403 # No shared lib support for Linux oldld, aout, or coff. 9404 linux*oldld* | linux*aout* | linux*coff*) 9405 dynamic_linker=no 9406 ;; 9407 9408 # This must be Linux ELF. 9409 linux*) 9410 version_type=linux 9411 need_lib_prefix=no 9412 need_version=no 9413 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9414 soname_spec='${libname}${release}${shared_ext}$major' 9415 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 9416 shlibpath_var=LD_LIBRARY_PATH 9417 shlibpath_overrides_runpath=no 9418 # This implies no fast_install, which is unacceptable. 9419 # Some rework will be needed to allow for fast_install 9420 # before this can be enabled. 9421 hardcode_into_libs=yes 9422 9423 # Append ld.so.conf contents to the search path 9424 if test -f /etc/ld.so.conf; then 9425 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` 9426 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 9427 fi 9428 9429 # We used to test for /lib/ld.so.1 and disable shared libraries on 9430 # powerpc, because MkLinux only supported shared libraries with the 9431 # GNU dynamic linker. Since this was broken with cross compilers, 9432 # most powerpc-linux boxes support dynamic linking these days and 9433 # people can always --disable-shared, the test was removed, and we 9434 # assume the GNU/Linux dynamic linker is in use. 9435 dynamic_linker='GNU/Linux ld.so' 9436 ;; 9437 9438 knetbsd*-gnu) 9439 version_type=linux 9440 need_lib_prefix=no 9441 need_version=no 9442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 9443 soname_spec='${libname}${release}${shared_ext}$major' 9444 shlibpath_var=LD_LIBRARY_PATH 9445 shlibpath_overrides_runpath=no 9446 hardcode_into_libs=yes 9447 dynamic_linker='GNU ld.so' 9448 ;; 9449 9450 netbsd*) 9451 version_type=sunos 9452 need_lib_prefix=no 9453 need_version=no 9454 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 9455 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 9456 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 9457 dynamic_linker='NetBSD (a.out) ld.so' 9458 else 9459 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 9460 soname_spec='${libname}${release}${shared_ext}$major' 9461 dynamic_linker='NetBSD ld.elf_so' 9462 fi 9463 shlibpath_var=LD_LIBRARY_PATH 9464 shlibpath_overrides_runpath=yes 9465 hardcode_into_libs=yes 9466 ;; 9467 9468 newsos6) 9469 version_type=linux 9470 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9471 shlibpath_var=LD_LIBRARY_PATH 9472 shlibpath_overrides_runpath=yes 9473 ;; 9474 9475 nto-qnx*) 9476 version_type=linux 9477 need_lib_prefix=no 9478 need_version=no 9479 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9480 soname_spec='${libname}${release}${shared_ext}$major' 9481 shlibpath_var=LD_LIBRARY_PATH 9482 shlibpath_overrides_runpath=yes 9483 ;; 9484 9485 openbsd*) 9486 version_type=sunos 9487 sys_lib_dlsearch_path_spec="/usr/lib" 9488 need_lib_prefix=no 9489 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 9490 case $host_os in 9491 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 9492 *) need_version=no ;; 9493 esac 9494 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 9495 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 9496 shlibpath_var=LD_LIBRARY_PATH 9497 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9498 case $host_os in 9499 openbsd2.[89] | openbsd2.[89].*) 9500 shlibpath_overrides_runpath=no 9501 ;; 9502 *) 9503 shlibpath_overrides_runpath=yes 9504 ;; 9505 esac 9506 else 9507 shlibpath_overrides_runpath=yes 9508 fi 9509 ;; 9510 9511 os2*) 9512 libname_spec='$name' 9513 shrext_cmds=".dll" 9514 need_lib_prefix=no 9515 library_names_spec='$libname${shared_ext} $libname.a' 9516 dynamic_linker='OS/2 ld.exe' 9517 shlibpath_var=LIBPATH 9518 ;; 9519 9520 osf3* | osf4* | osf5*) 9521 version_type=osf 9522 need_lib_prefix=no 9523 need_version=no 9524 soname_spec='${libname}${release}${shared_ext}$major' 9525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9526 shlibpath_var=LD_LIBRARY_PATH 9527 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 9528 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 9529 ;; 9530 9531 solaris*) 9532 version_type=linux 9533 need_lib_prefix=no 9534 need_version=no 9535 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9536 soname_spec='${libname}${release}${shared_ext}$major' 9537 shlibpath_var=LD_LIBRARY_PATH 9538 shlibpath_overrides_runpath=yes 9539 hardcode_into_libs=yes 9540 # ldd complains unless libraries are executable 9541 postinstall_cmds='chmod +x $lib' 9542 ;; 9543 9544 sunos4*) 9545 version_type=sunos 9546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 9547 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 9548 shlibpath_var=LD_LIBRARY_PATH 9549 shlibpath_overrides_runpath=yes 9550 if test "$with_gnu_ld" = yes; then 9551 need_lib_prefix=no 9552 fi 9553 need_version=yes 9554 ;; 9555 9556 sysv4 | sysv4.3*) 9557 version_type=linux 9558 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9559 soname_spec='${libname}${release}${shared_ext}$major' 9560 shlibpath_var=LD_LIBRARY_PATH 9561 case $host_vendor in 9562 sni) 9563 shlibpath_overrides_runpath=no 9564 need_lib_prefix=no 9565 export_dynamic_flag_spec='${wl}-Blargedynsym' 9566 runpath_var=LD_RUN_PATH 9567 ;; 9568 siemens) 9569 need_lib_prefix=no 9570 ;; 9571 motorola) 9572 need_lib_prefix=no 9573 need_version=no 9574 shlibpath_overrides_runpath=no 9575 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 9576 ;; 9577 esac 9578 ;; 9579 9580 sysv4*MP*) 9581 if test -d /usr/nec ;then 9582 version_type=linux 9583 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 9584 soname_spec='$libname${shared_ext}.$major' 9585 shlibpath_var=LD_LIBRARY_PATH 9586 fi 9587 ;; 9588 9589 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 9590 version_type=freebsd-elf 9591 need_lib_prefix=no 9592 need_version=no 9593 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 9594 soname_spec='${libname}${release}${shared_ext}$major' 9595 shlibpath_var=LD_LIBRARY_PATH 9596 hardcode_into_libs=yes 9597 if test "$with_gnu_ld" = yes; then 9598 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 9599 shlibpath_overrides_runpath=no 9600 else 9601 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 9602 shlibpath_overrides_runpath=yes 9603 case $host_os in 9604 sco3.2v5*) 9605 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 9606 ;; 9607 esac 9608 fi 9609 sys_lib_dlsearch_path_spec='/usr/lib' 9610 ;; 9611 9612 uts4*) 9613 version_type=linux 9614 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9615 soname_spec='${libname}${release}${shared_ext}$major' 9616 shlibpath_var=LD_LIBRARY_PATH 9617 ;; 9618 9619 *) 9620 dynamic_linker=no 9621 ;; 9622 esac 9623 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 9624 echo "${ECHO_T}$dynamic_linker" >&6; } 9625 test "$dynamic_linker" = no && can_build_shared=no 9626 9627 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 9628 if test "$GCC" = yes; then 9629 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 9630 fi 9631 9632 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 9633 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } 9634 hardcode_action= 9635 if test -n "$hardcode_libdir_flag_spec" || \ 9636 test -n "$runpath_var" || \ 9637 test "X$hardcode_automatic" = "Xyes" ; then 9638 9639 # We can hardcode non-existant directories. 9640 if test "$hardcode_direct" != no && 9641 # If the only mechanism to avoid hardcoding is shlibpath_var, we 9642 # have to relink, otherwise we might link with an installed library 9643 # when we should be linking with a yet-to-be-installed one 9644 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && 9645 test "$hardcode_minus_L" != no; then 9646 # Linking always hardcodes the temporary library directory. 9647 hardcode_action=relink 9648 else 9649 # We can link without hardcoding, and we can hardcode nonexisting dirs. 9650 hardcode_action=immediate 9651 fi 9652 else 9653 # We cannot hardcode anything, or else we can only hardcode existing 9654 # directories. 9655 hardcode_action=unsupported 9656 fi 9657 { echo "$as_me:$LINENO: result: $hardcode_action" >&5 9658 echo "${ECHO_T}$hardcode_action" >&6; } 9659 9660 if test "$hardcode_action" = relink; then 9661 # Fast installation is not supported 9662 enable_fast_install=no 9663 elif test "$shlibpath_overrides_runpath" = yes || 9664 test "$enable_shared" = no; then 9665 # Fast installation is not necessary 9666 enable_fast_install=needless 9667 fi 9668 9669 striplib= 9670 old_striplib= 9671 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 9672 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; } 9673 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 9674 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 9675 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 9676 { echo "$as_me:$LINENO: result: yes" >&5 9677 echo "${ECHO_T}yes" >&6; } 9678 else 9679 # FIXME - insert some real tests, host_os isn't really good enough 9680 case $host_os in 9681 darwin*) 9682 if test -n "$STRIP" ; then 9683 striplib="$STRIP -x" 9684 { echo "$as_me:$LINENO: result: yes" >&5 9685 echo "${ECHO_T}yes" >&6; } 9686 else 9687 { echo "$as_me:$LINENO: result: no" >&5 9688 echo "${ECHO_T}no" >&6; } 9689 fi 9690 ;; 9691 *) 9692 { echo "$as_me:$LINENO: result: no" >&5 9693 echo "${ECHO_T}no" >&6; } 9694 ;; 9695 esac 9696 fi 9697 9698 if test "x$enable_dlopen" != xyes; then 9699 enable_dlopen=unknown 9700 enable_dlopen_self=unknown 9701 enable_dlopen_self_static=unknown 9702 else 9703 lt_cv_dlopen=no 9704 lt_cv_dlopen_libs= 9705 9706 case $host_os in 9707 beos*) 9708 lt_cv_dlopen="load_add_on" 9709 lt_cv_dlopen_libs= 9710 lt_cv_dlopen_self=yes 9711 ;; 9712 9713 mingw* | pw32*) 9714 lt_cv_dlopen="LoadLibrary" 9715 lt_cv_dlopen_libs= 9716 ;; 9717 9718 cygwin*) 9719 lt_cv_dlopen="dlopen" 9720 lt_cv_dlopen_libs= 9721 ;; 9722 9723 darwin*) 9724 # if libdl is installed we need to link against it 9725 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 9726 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } 9727 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 9728 echo $ECHO_N "(cached) $ECHO_C" >&6 9729 else 9730 ac_check_lib_save_LIBS=$LIBS 9731 LIBS="-ldl $LIBS" 9732 cat >conftest.$ac_ext <<_ACEOF 9733 /* confdefs.h. */ 9734 _ACEOF 9735 cat confdefs.h >>conftest.$ac_ext 9736 cat >>conftest.$ac_ext <<_ACEOF 9737 /* end confdefs.h. */ 9738 9739 /* Override any GCC internal prototype to avoid an error. 9740 Use char because int might match the return type of a GCC 9741 builtin and then its argument prototype would still apply. */ 9742 #ifdef __cplusplus 9743 extern "C" 9744 #endif 9745 char dlopen (); 9746 int 9747 main () 9748 { 9749 return dlopen (); 9750 ; 9751 return 0; 9752 } 9753 _ACEOF 9754 rm -f conftest.$ac_objext conftest$ac_exeext 9755 if { (ac_try="$ac_link" 9756 case "(($ac_try" in 9757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9758 *) ac_try_echo=$ac_try;; 9759 esac 9760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9761 (eval "$ac_link") 2>conftest.er1 9762 ac_status=$? 9763 grep -v '^ *+' conftest.er1 >conftest.err 9764 rm -f conftest.er1 9765 cat conftest.err >&5 9766 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9767 (exit $ac_status); } && 9768 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9769 { (case "(($ac_try" in 9770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9771 *) ac_try_echo=$ac_try;; 9772 esac 9773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9774 (eval "$ac_try") 2>&5 9775 ac_status=$? 9776 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9777 (exit $ac_status); }; } && 9778 { ac_try='test -s conftest$ac_exeext' 9779 { (case "(($ac_try" in 9780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9781 *) ac_try_echo=$ac_try;; 9782 esac 9783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9784 (eval "$ac_try") 2>&5 9785 ac_status=$? 9786 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9787 (exit $ac_status); }; }; then 9788 ac_cv_lib_dl_dlopen=yes 9789 else 9790 echo "$as_me: failed program was:" >&5 9791 sed 's/^/| /' conftest.$ac_ext >&5 9792 9793 ac_cv_lib_dl_dlopen=no 9794 fi 9795 9796 rm -f core conftest.err conftest.$ac_objext \ 9797 conftest$ac_exeext conftest.$ac_ext 9798 LIBS=$ac_check_lib_save_LIBS 9799 fi 9800 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 9801 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } 9802 if test $ac_cv_lib_dl_dlopen = yes; then 9803 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 9804 else 9805 9806 lt_cv_dlopen="dyld" 9807 lt_cv_dlopen_libs= 9808 lt_cv_dlopen_self=yes 9809 9810 fi 9811 9812 ;; 9813 9814 *) 9815 { echo "$as_me:$LINENO: checking for shl_load" >&5 9816 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; } 9817 if test "${ac_cv_func_shl_load+set}" = set; then 9818 echo $ECHO_N "(cached) $ECHO_C" >&6 9819 else 9820 cat >conftest.$ac_ext <<_ACEOF 9821 /* confdefs.h. */ 9822 _ACEOF 9823 cat confdefs.h >>conftest.$ac_ext 9824 cat >>conftest.$ac_ext <<_ACEOF 9825 /* end confdefs.h. */ 9826 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. 9827 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 9828 #define shl_load innocuous_shl_load 9829 9830 /* System header to define __stub macros and hopefully few prototypes, 9831 which can conflict with char shl_load (); below. 9832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 9833 <limits.h> exists even on freestanding compilers. */ 9834 9835 #ifdef __STDC__ 9836 # include <limits.h> 9837 #else 9838 # include <assert.h> 9839 #endif 9840 9841 #undef shl_load 9842 9843 /* Override any GCC internal prototype to avoid an error. 9844 Use char because int might match the return type of a GCC 9845 builtin and then its argument prototype would still apply. */ 9846 #ifdef __cplusplus 9847 extern "C" 9848 #endif 9849 char shl_load (); 9850 /* The GNU C library defines this for functions which it implements 9851 to always fail with ENOSYS. Some functions are actually named 9852 something starting with __ and the normal name is an alias. */ 9853 #if defined __stub_shl_load || defined __stub___shl_load 9854 choke me 9855 #endif 9856 9857 int 9858 main () 9859 { 9860 return shl_load (); 9861 ; 9862 return 0; 9863 } 9864 _ACEOF 9865 rm -f conftest.$ac_objext conftest$ac_exeext 9866 if { (ac_try="$ac_link" 9867 case "(($ac_try" in 9868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9869 *) ac_try_echo=$ac_try;; 9870 esac 9871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9872 (eval "$ac_link") 2>conftest.er1 9873 ac_status=$? 9874 grep -v '^ *+' conftest.er1 >conftest.err 9875 rm -f conftest.er1 9876 cat conftest.err >&5 9877 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9878 (exit $ac_status); } && 9879 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9880 { (case "(($ac_try" in 9881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9882 *) ac_try_echo=$ac_try;; 9883 esac 9884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9885 (eval "$ac_try") 2>&5 9886 ac_status=$? 9887 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9888 (exit $ac_status); }; } && 9889 { ac_try='test -s conftest$ac_exeext' 9890 { (case "(($ac_try" in 9891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9892 *) ac_try_echo=$ac_try;; 9893 esac 9894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9895 (eval "$ac_try") 2>&5 9896 ac_status=$? 9897 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9898 (exit $ac_status); }; }; then 9899 ac_cv_func_shl_load=yes 9900 else 9901 echo "$as_me: failed program was:" >&5 9902 sed 's/^/| /' conftest.$ac_ext >&5 9903 9904 ac_cv_func_shl_load=no 9905 fi 9906 9907 rm -f core conftest.err conftest.$ac_objext \ 9908 conftest$ac_exeext conftest.$ac_ext 9909 fi 9910 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 9911 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; } 9912 if test $ac_cv_func_shl_load = yes; then 9913 lt_cv_dlopen="shl_load" 9914 else 9915 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 9916 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; } 9917 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 9918 echo $ECHO_N "(cached) $ECHO_C" >&6 9919 else 9920 ac_check_lib_save_LIBS=$LIBS 9921 LIBS="-ldld $LIBS" 9922 cat >conftest.$ac_ext <<_ACEOF 9923 /* confdefs.h. */ 9924 _ACEOF 9925 cat confdefs.h >>conftest.$ac_ext 9926 cat >>conftest.$ac_ext <<_ACEOF 9927 /* end confdefs.h. */ 9928 9929 /* Override any GCC internal prototype to avoid an error. 9930 Use char because int might match the return type of a GCC 9931 builtin and then its argument prototype would still apply. */ 9932 #ifdef __cplusplus 9933 extern "C" 9934 #endif 9935 char shl_load (); 9936 int 9937 main () 9938 { 9939 return shl_load (); 9940 ; 9941 return 0; 9942 } 9943 _ACEOF 9944 rm -f conftest.$ac_objext conftest$ac_exeext 9945 if { (ac_try="$ac_link" 9946 case "(($ac_try" in 9947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9948 *) ac_try_echo=$ac_try;; 9949 esac 9950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9951 (eval "$ac_link") 2>conftest.er1 9952 ac_status=$? 9953 grep -v '^ *+' conftest.er1 >conftest.err 9954 rm -f conftest.er1 9955 cat conftest.err >&5 9956 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9957 (exit $ac_status); } && 9958 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9959 { (case "(($ac_try" in 9960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9961 *) ac_try_echo=$ac_try;; 9962 esac 9963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9964 (eval "$ac_try") 2>&5 9965 ac_status=$? 9966 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9967 (exit $ac_status); }; } && 9968 { ac_try='test -s conftest$ac_exeext' 9969 { (case "(($ac_try" in 9970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9971 *) ac_try_echo=$ac_try;; 9972 esac 9973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9974 (eval "$ac_try") 2>&5 9975 ac_status=$? 9976 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9977 (exit $ac_status); }; }; then 9978 ac_cv_lib_dld_shl_load=yes 9979 else 9980 echo "$as_me: failed program was:" >&5 9981 sed 's/^/| /' conftest.$ac_ext >&5 9982 9983 ac_cv_lib_dld_shl_load=no 9984 fi 9985 9986 rm -f core conftest.err conftest.$ac_objext \ 9987 conftest$ac_exeext conftest.$ac_ext 9988 LIBS=$ac_check_lib_save_LIBS 9989 fi 9990 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 9991 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } 9992 if test $ac_cv_lib_dld_shl_load = yes; then 9993 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" 9994 else 9995 { echo "$as_me:$LINENO: checking for dlopen" >&5 9996 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; } 9997 if test "${ac_cv_func_dlopen+set}" = set; then 9998 echo $ECHO_N "(cached) $ECHO_C" >&6 9999 else 10000 cat >conftest.$ac_ext <<_ACEOF 10001 /* confdefs.h. */ 10002 _ACEOF 10003 cat confdefs.h >>conftest.$ac_ext 10004 cat >>conftest.$ac_ext <<_ACEOF 10005 /* end confdefs.h. */ 10006 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. 10007 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 10008 #define dlopen innocuous_dlopen 10009 10010 /* System header to define __stub macros and hopefully few prototypes, 10011 which can conflict with char dlopen (); below. 10012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 10013 <limits.h> exists even on freestanding compilers. */ 10014 10015 #ifdef __STDC__ 10016 # include <limits.h> 10017 #else 10018 # include <assert.h> 10019 #endif 10020 10021 #undef dlopen 10022 10023 /* Override any GCC internal prototype to avoid an error. 10024 Use char because int might match the return type of a GCC 10025 builtin and then its argument prototype would still apply. */ 10026 #ifdef __cplusplus 10027 extern "C" 10028 #endif 10029 char dlopen (); 10030 /* The GNU C library defines this for functions which it implements 10031 to always fail with ENOSYS. Some functions are actually named 10032 something starting with __ and the normal name is an alias. */ 10033 #if defined __stub_dlopen || defined __stub___dlopen 10034 choke me 10035 #endif 10036 10037 int 10038 main () 10039 { 10040 return dlopen (); 10041 ; 10042 return 0; 10043 } 10044 _ACEOF 10045 rm -f conftest.$ac_objext conftest$ac_exeext 10046 if { (ac_try="$ac_link" 10047 case "(($ac_try" in 10048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10049 *) ac_try_echo=$ac_try;; 10050 esac 10051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10052 (eval "$ac_link") 2>conftest.er1 10053 ac_status=$? 10054 grep -v '^ *+' conftest.er1 >conftest.err 10055 rm -f conftest.er1 10056 cat conftest.err >&5 10057 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10058 (exit $ac_status); } && 10059 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10060 { (case "(($ac_try" in 10061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10062 *) ac_try_echo=$ac_try;; 10063 esac 10064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10065 (eval "$ac_try") 2>&5 10066 ac_status=$? 10067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10068 (exit $ac_status); }; } && 10069 { ac_try='test -s conftest$ac_exeext' 10070 { (case "(($ac_try" in 10071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10072 *) ac_try_echo=$ac_try;; 10073 esac 10074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10075 (eval "$ac_try") 2>&5 10076 ac_status=$? 10077 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10078 (exit $ac_status); }; }; then 10079 ac_cv_func_dlopen=yes 10080 else 10081 echo "$as_me: failed program was:" >&5 10082 sed 's/^/| /' conftest.$ac_ext >&5 10083 10084 ac_cv_func_dlopen=no 10085 fi 10086 10087 rm -f core conftest.err conftest.$ac_objext \ 10088 conftest$ac_exeext conftest.$ac_ext 10089 fi 10090 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 10091 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; } 10092 if test $ac_cv_func_dlopen = yes; then 10093 lt_cv_dlopen="dlopen" 10094 else 10095 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 10096 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } 10097 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 10098 echo $ECHO_N "(cached) $ECHO_C" >&6 10099 else 10100 ac_check_lib_save_LIBS=$LIBS 10101 LIBS="-ldl $LIBS" 10102 cat >conftest.$ac_ext <<_ACEOF 10103 /* confdefs.h. */ 10104 _ACEOF 10105 cat confdefs.h >>conftest.$ac_ext 10106 cat >>conftest.$ac_ext <<_ACEOF 10107 /* end confdefs.h. */ 10108 10109 /* Override any GCC internal prototype to avoid an error. 10110 Use char because int might match the return type of a GCC 10111 builtin and then its argument prototype would still apply. */ 10112 #ifdef __cplusplus 10113 extern "C" 10114 #endif 10115 char dlopen (); 10116 int 10117 main () 10118 { 10119 return dlopen (); 10120 ; 10121 return 0; 10122 } 10123 _ACEOF 10124 rm -f conftest.$ac_objext conftest$ac_exeext 10125 if { (ac_try="$ac_link" 10126 case "(($ac_try" in 10127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10128 *) ac_try_echo=$ac_try;; 10129 esac 10130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10131 (eval "$ac_link") 2>conftest.er1 10132 ac_status=$? 10133 grep -v '^ *+' conftest.er1 >conftest.err 10134 rm -f conftest.er1 10135 cat conftest.err >&5 10136 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10137 (exit $ac_status); } && 10138 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10139 { (case "(($ac_try" in 10140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10141 *) ac_try_echo=$ac_try;; 10142 esac 10143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10144 (eval "$ac_try") 2>&5 10145 ac_status=$? 10146 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10147 (exit $ac_status); }; } && 10148 { ac_try='test -s conftest$ac_exeext' 10149 { (case "(($ac_try" in 10150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10151 *) ac_try_echo=$ac_try;; 10152 esac 10153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10154 (eval "$ac_try") 2>&5 10155 ac_status=$? 10156 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10157 (exit $ac_status); }; }; then 10158 ac_cv_lib_dl_dlopen=yes 10159 else 10160 echo "$as_me: failed program was:" >&5 10161 sed 's/^/| /' conftest.$ac_ext >&5 10162 10163 ac_cv_lib_dl_dlopen=no 10164 fi 10165 10166 rm -f core conftest.err conftest.$ac_objext \ 10167 conftest$ac_exeext conftest.$ac_ext 10168 LIBS=$ac_check_lib_save_LIBS 10169 fi 10170 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 10171 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } 10172 if test $ac_cv_lib_dl_dlopen = yes; then 10173 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10174 else 10175 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 10176 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; } 10177 if test "${ac_cv_lib_svld_dlopen+set}" = set; then 10178 echo $ECHO_N "(cached) $ECHO_C" >&6 10179 else 10180 ac_check_lib_save_LIBS=$LIBS 10181 LIBS="-lsvld $LIBS" 10182 cat >conftest.$ac_ext <<_ACEOF 10183 /* confdefs.h. */ 10184 _ACEOF 10185 cat confdefs.h >>conftest.$ac_ext 10186 cat >>conftest.$ac_ext <<_ACEOF 10187 /* end confdefs.h. */ 10188 10189 /* Override any GCC internal prototype to avoid an error. 10190 Use char because int might match the return type of a GCC 10191 builtin and then its argument prototype would still apply. */ 10192 #ifdef __cplusplus 10193 extern "C" 10194 #endif 10195 char dlopen (); 10196 int 10197 main () 10198 { 10199 return dlopen (); 10200 ; 10201 return 0; 10202 } 10203 _ACEOF 10204 rm -f conftest.$ac_objext conftest$ac_exeext 10205 if { (ac_try="$ac_link" 10206 case "(($ac_try" in 10207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10208 *) ac_try_echo=$ac_try;; 10209 esac 10210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10211 (eval "$ac_link") 2>conftest.er1 10212 ac_status=$? 10213 grep -v '^ *+' conftest.er1 >conftest.err 10214 rm -f conftest.er1 10215 cat conftest.err >&5 10216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10217 (exit $ac_status); } && 10218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10219 { (case "(($ac_try" in 10220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10221 *) ac_try_echo=$ac_try;; 10222 esac 10223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10224 (eval "$ac_try") 2>&5 10225 ac_status=$? 10226 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10227 (exit $ac_status); }; } && 10228 { ac_try='test -s conftest$ac_exeext' 10229 { (case "(($ac_try" in 10230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10231 *) ac_try_echo=$ac_try;; 10232 esac 10233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10234 (eval "$ac_try") 2>&5 10235 ac_status=$? 10236 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10237 (exit $ac_status); }; }; then 10238 ac_cv_lib_svld_dlopen=yes 10239 else 10240 echo "$as_me: failed program was:" >&5 10241 sed 's/^/| /' conftest.$ac_ext >&5 10242 10243 ac_cv_lib_svld_dlopen=no 10244 fi 10245 10246 rm -f core conftest.err conftest.$ac_objext \ 10247 conftest$ac_exeext conftest.$ac_ext 10248 LIBS=$ac_check_lib_save_LIBS 10249 fi 10250 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 10251 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; } 10252 if test $ac_cv_lib_svld_dlopen = yes; then 10253 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 10254 else 10255 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 10256 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; } 10257 if test "${ac_cv_lib_dld_dld_link+set}" = set; then 10258 echo $ECHO_N "(cached) $ECHO_C" >&6 10259 else 10260 ac_check_lib_save_LIBS=$LIBS 10261 LIBS="-ldld $LIBS" 10262 cat >conftest.$ac_ext <<_ACEOF 10263 /* confdefs.h. */ 10264 _ACEOF 10265 cat confdefs.h >>conftest.$ac_ext 10266 cat >>conftest.$ac_ext <<_ACEOF 10267 /* end confdefs.h. */ 10268 10269 /* Override any GCC internal prototype to avoid an error. 10270 Use char because int might match the return type of a GCC 10271 builtin and then its argument prototype would still apply. */ 10272 #ifdef __cplusplus 10273 extern "C" 10274 #endif 10275 char dld_link (); 10276 int 10277 main () 10278 { 10279 return dld_link (); 10280 ; 10281 return 0; 10282 } 10283 _ACEOF 10284 rm -f conftest.$ac_objext conftest$ac_exeext 10285 if { (ac_try="$ac_link" 10286 case "(($ac_try" in 10287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10288 *) ac_try_echo=$ac_try;; 10289 esac 10290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10291 (eval "$ac_link") 2>conftest.er1 10292 ac_status=$? 10293 grep -v '^ *+' conftest.er1 >conftest.err 10294 rm -f conftest.er1 10295 cat conftest.err >&5 10296 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10297 (exit $ac_status); } && 10298 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10299 { (case "(($ac_try" in 10300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10301 *) ac_try_echo=$ac_try;; 10302 esac 10303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10304 (eval "$ac_try") 2>&5 10305 ac_status=$? 10306 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10307 (exit $ac_status); }; } && 10308 { ac_try='test -s conftest$ac_exeext' 10309 { (case "(($ac_try" in 10310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10311 *) ac_try_echo=$ac_try;; 10312 esac 10313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10314 (eval "$ac_try") 2>&5 10315 ac_status=$? 10316 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10317 (exit $ac_status); }; }; then 10318 ac_cv_lib_dld_dld_link=yes 10319 else 10320 echo "$as_me: failed program was:" >&5 10321 sed 's/^/| /' conftest.$ac_ext >&5 10322 10323 ac_cv_lib_dld_dld_link=no 10324 fi 10325 10326 rm -f core conftest.err conftest.$ac_objext \ 10327 conftest$ac_exeext conftest.$ac_ext 10328 LIBS=$ac_check_lib_save_LIBS 10329 fi 10330 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 10331 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; } 10332 if test $ac_cv_lib_dld_dld_link = yes; then 10333 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" 10334 fi 10335 10336 10337 fi 10338 10339 10340 fi 10341 10342 10343 fi 10344 10345 10346 fi 10347 10348 10349 fi 10350 10351 ;; 10352 esac 10353 10354 if test "x$lt_cv_dlopen" != xno; then 10355 enable_dlopen=yes 10356 else 10357 enable_dlopen=no 10358 fi 10359 10360 case $lt_cv_dlopen in 10361 dlopen) 10362 save_CPPFLAGS="$CPPFLAGS" 10363 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 10364 10365 save_LDFLAGS="$LDFLAGS" 10366 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 10367 10368 save_LIBS="$LIBS" 10369 LIBS="$lt_cv_dlopen_libs $LIBS" 10370 10371 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 10372 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; } 10373 if test "${lt_cv_dlopen_self+set}" = set; then 10374 echo $ECHO_N "(cached) $ECHO_C" >&6 10375 else 10376 if test "$cross_compiling" = yes; then : 10377 lt_cv_dlopen_self=cross 10378 else 10379 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10380 lt_status=$lt_dlunknown 10381 cat > conftest.$ac_ext <<EOF 10382 #line 10382 "configure" 10383 #include "confdefs.h" 10384 10385 #if HAVE_DLFCN_H 10386 #include <dlfcn.h> 10387 #endif 10388 10389 #include <stdio.h> 10390 10391 #ifdef RTLD_GLOBAL 10392 # define LT_DLGLOBAL RTLD_GLOBAL 10393 #else 10394 # ifdef DL_GLOBAL 10395 # define LT_DLGLOBAL DL_GLOBAL 10396 # else 10397 # define LT_DLGLOBAL 0 10398 # endif 10399 #endif 10400 10401 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we 10402 find out it does not work in some platform. */ 10403 #ifndef LT_DLLAZY_OR_NOW 10404 # ifdef RTLD_LAZY 10405 # define LT_DLLAZY_OR_NOW RTLD_LAZY 10406 # else 10407 # ifdef DL_LAZY 10408 # define LT_DLLAZY_OR_NOW DL_LAZY 10409 # else 10410 # ifdef RTLD_NOW 10411 # define LT_DLLAZY_OR_NOW RTLD_NOW 10412 # else 10413 # ifdef DL_NOW 10414 # define LT_DLLAZY_OR_NOW DL_NOW 10415 # else 10416 # define LT_DLLAZY_OR_NOW 0 10417 # endif 10418 # endif 10419 # endif 10420 # endif 10421 #endif 10422 10423 #ifdef __cplusplus 10424 extern "C" void exit (int); 10425 #endif 10426 10427 void fnord() { int i=42;} 10428 int main () 10429 { 10430 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 10431 int status = $lt_dlunknown; 10432 10433 if (self) 10434 { 10435 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 10436 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 10437 /* dlclose (self); */ 10438 } 10439 else 10440 puts (dlerror ()); 10441 10442 exit (status); 10443 } 10444 EOF 10445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10446 (eval $ac_link) 2>&5 10447 ac_status=$? 10448 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10449 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 10450 (./conftest; exit; ) >&5 2>/dev/null 10451 lt_status=$? 10452 case x$lt_status in 10453 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 10454 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 10455 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 10456 esac 10457 else : 10458 # compilation failed 10459 lt_cv_dlopen_self=no 10460 fi 10461 fi 10462 rm -fr conftest* 10463 10464 10465 fi 10466 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 10467 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; } 10468 10469 if test "x$lt_cv_dlopen_self" = xyes; then 10470 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 10471 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 10472 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; } 10473 if test "${lt_cv_dlopen_self_static+set}" = set; then 10474 echo $ECHO_N "(cached) $ECHO_C" >&6 10475 else 10476 if test "$cross_compiling" = yes; then : 10477 lt_cv_dlopen_self_static=cross 10478 else 10479 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10480 lt_status=$lt_dlunknown 10481 cat > conftest.$ac_ext <<EOF 10482 #line 10482 "configure" 10483 #include "confdefs.h" 10484 10485 #if HAVE_DLFCN_H 10486 #include <dlfcn.h> 10487 #endif 10488 10489 #include <stdio.h> 10490 10491 #ifdef RTLD_GLOBAL 10492 # define LT_DLGLOBAL RTLD_GLOBAL 10493 #else 10494 # ifdef DL_GLOBAL 10495 # define LT_DLGLOBAL DL_GLOBAL 10496 # else 10497 # define LT_DLGLOBAL 0 10498 # endif 10499 #endif 10500 10501 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we 10502 find out it does not work in some platform. */ 10503 #ifndef LT_DLLAZY_OR_NOW 10504 # ifdef RTLD_LAZY 10505 # define LT_DLLAZY_OR_NOW RTLD_LAZY 10506 # else 10507 # ifdef DL_LAZY 10508 # define LT_DLLAZY_OR_NOW DL_LAZY 10509 # else 10510 # ifdef RTLD_NOW 10511 # define LT_DLLAZY_OR_NOW RTLD_NOW 10512 # else 10513 # ifdef DL_NOW 10514 # define LT_DLLAZY_OR_NOW DL_NOW 10515 # else 10516 # define LT_DLLAZY_OR_NOW 0 10517 # endif 10518 # endif 10519 # endif 10520 # endif 10521 #endif 10522 10523 #ifdef __cplusplus 10524 extern "C" void exit (int); 10525 #endif 10526 10527 void fnord() { int i=42;} 10528 int main () 10529 { 10530 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 10531 int status = $lt_dlunknown; 10532 10533 if (self) 10534 { 10535 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 10536 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 10537 /* dlclose (self); */ 10538 } 10539 else 10540 puts (dlerror ()); 10541 10542 exit (status); 10543 } 10544 EOF 10545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10546 (eval $ac_link) 2>&5 10547 ac_status=$? 10548 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10549 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 10550 (./conftest; exit; ) >&5 2>/dev/null 10551 lt_status=$? 10552 case x$lt_status in 10553 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 10554 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 10555 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 10556 esac 10557 else : 10558 # compilation failed 10559 lt_cv_dlopen_self_static=no 10560 fi 10561 fi 10562 rm -fr conftest* 10563 10564 10565 fi 10566 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 10567 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; } 10568 fi 10569 10570 CPPFLAGS="$save_CPPFLAGS" 10571 LDFLAGS="$save_LDFLAGS" 10572 LIBS="$save_LIBS" 10573 ;; 10574 esac 10575 10576 case $lt_cv_dlopen_self in 10577 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 10578 *) enable_dlopen_self=unknown ;; 10579 esac 10580 10581 case $lt_cv_dlopen_self_static in 10582 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 10583 *) enable_dlopen_self_static=unknown ;; 10584 esac 10585 fi 10586 10587 10588 # Report which library types will actually be built 10589 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 10590 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } 10591 { echo "$as_me:$LINENO: result: $can_build_shared" >&5 10592 echo "${ECHO_T}$can_build_shared" >&6; } 10593 10594 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 10595 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } 10596 test "$can_build_shared" = "no" && enable_shared=no 10597 10598 # On AIX, shared libraries and static libraries use the same namespace, and 10599 # are all built from PIC. 10600 case $host_os in 10601 aix3*) 10602 test "$enable_shared" = yes && enable_static=no 10603 if test -n "$RANLIB"; then 10604 archive_cmds="$archive_cmds~\$RANLIB \$lib" 10605 postinstall_cmds='$RANLIB $lib' 10606 fi 10607 ;; 10608 10609 aix4* | aix5*) 10610 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 10611 test "$enable_shared" = yes && enable_static=no 10612 fi 10613 ;; 10614 esac 10615 { echo "$as_me:$LINENO: result: $enable_shared" >&5 10616 echo "${ECHO_T}$enable_shared" >&6; } 10617 10618 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5 10619 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } 10620 # Make sure either enable_shared or enable_static is yes. 10621 test "$enable_shared" = yes || enable_static=yes 10622 { echo "$as_me:$LINENO: result: $enable_static" >&5 10623 echo "${ECHO_T}$enable_static" >&6; } 10624 10625 # The else clause should only fire when bootstrapping the 10626 # libtool distribution, otherwise you forgot to ship ltmain.sh 10627 # with your package, and you will get complaints that there are 10628 # no rules to generate ltmain.sh. 10629 if test -f "$ltmain"; then 10630 # See if we are running on zsh, and set the options which allow our commands through 10631 # without removal of \ escapes. 10632 if test -n "${ZSH_VERSION+set}" ; then 10633 setopt NO_GLOB_SUBST 10634 fi 10635 # Now quote all the things that may contain metacharacters while being 10636 # careful not to overquote the AC_SUBSTed values. We take copies of the 10637 # variables and quote the copies for generation of the libtool script. 10638 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ 10639 SED SHELL STRIP \ 10640 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 10641 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ 10642 deplibs_check_method reload_flag reload_cmds need_locks \ 10643 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ 10644 lt_cv_sys_global_symbol_to_c_name_address \ 10645 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ 10646 old_postinstall_cmds old_postuninstall_cmds \ 10647 compiler \ 10648 CC \ 10649 LD \ 10650 lt_prog_compiler_wl \ 10651 lt_prog_compiler_pic \ 10652 lt_prog_compiler_static \ 10653 lt_prog_compiler_no_builtin_flag \ 10654 export_dynamic_flag_spec \ 10655 thread_safe_flag_spec \ 10656 whole_archive_flag_spec \ 10657 enable_shared_with_static_runtimes \ 10658 old_archive_cmds \ 10659 old_archive_from_new_cmds \ 10660 predep_objects \ 10661 postdep_objects \ 10662 predeps \ 10663 postdeps \ 10664 compiler_lib_search_path \ 10665 archive_cmds \ 10666 archive_expsym_cmds \ 10667 postinstall_cmds \ 10668 postuninstall_cmds \ 10669 old_archive_from_expsyms_cmds \ 10670 allow_undefined_flag \ 10671 no_undefined_flag \ 10672 export_symbols_cmds \ 10673 hardcode_libdir_flag_spec \ 10674 hardcode_libdir_flag_spec_ld \ 10675 hardcode_libdir_separator \ 10676 hardcode_automatic \ 10677 module_cmds \ 10678 module_expsym_cmds \ 10679 lt_cv_prog_compiler_c_o \ 10680 exclude_expsyms \ 10681 include_expsyms; do 10682 10683 case $var in 10684 old_archive_cmds | \ 10685 old_archive_from_new_cmds | \ 10686 archive_cmds | \ 10687 archive_expsym_cmds | \ 10688 module_cmds | \ 10689 module_expsym_cmds | \ 10690 old_archive_from_expsyms_cmds | \ 10691 export_symbols_cmds | \ 10692 extract_expsyms_cmds | reload_cmds | finish_cmds | \ 10693 postinstall_cmds | postuninstall_cmds | \ 10694 old_postinstall_cmds | old_postuninstall_cmds | \ 10695 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) 10696 # Double-quote double-evaled strings. 10697 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" 10698 ;; 10699 *) 10700 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" 10701 ;; 10702 esac 10703 done 10704 10705 case $lt_echo in 10706 *'\$0 --fallback-echo"') 10707 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` 10708 ;; 10709 esac 10710 10711 cfgfile="${ofile}T" 10712 trap "$rm \"$cfgfile\"; exit 1" 1 2 15 10713 $rm -f "$cfgfile" 10714 { echo "$as_me:$LINENO: creating $ofile" >&5 10715 echo "$as_me: creating $ofile" >&6;} 10716 10717 cat <<__EOF__ >> "$cfgfile" 10718 #! $SHELL 10719 10720 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 10721 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) 10722 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 10723 # 10724 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 10725 # Free Software Foundation, Inc. 10726 # 10727 # This file is part of GNU Libtool: 10728 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996 10729 # 10730 # This program is free software; you can redistribute it and/or modify 10731 # it under the terms of the GNU General Public License as published by 10732 # the Free Software Foundation; either version 2 of the License, or 10733 # (at your option) any later version. 10734 # 10735 # This program is distributed in the hope that it will be useful, but 10736 # WITHOUT ANY WARRANTY; without even the implied warranty of 10737 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 10738 # General Public License for more details. 10739 # 10740 # You should have received a copy of the GNU General Public License 10741 # along with this program; if not, write to the Free Software 10742 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 10743 # 10744 # As a special exception to the GNU General Public License, if you 10745 # distribute this file as part of a program that contains a 10746 # configuration script generated by Autoconf, you may include it under 10747 # the same distribution terms that you use for the rest of that program. 10748 10749 # A sed program that does not truncate output. 10750 SED=$lt_SED 10751 10752 # Sed that helps us avoid accidentally triggering echo(1) options like -n. 10753 Xsed="$SED -e 1s/^X//" 10754 10755 # The HP-UX ksh and POSIX shell print the target directory to stdout 10756 # if CDPATH is set. 10757 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 10758 10759 # The names of the tagged configurations supported by this script. 10760 available_tags= 10761 10762 # ### BEGIN LIBTOOL CONFIG 10763 10764 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 10765 10766 # Shell to use when invoking shell scripts. 10767 SHELL=$lt_SHELL 10768 10769 # Whether or not to build shared libraries. 10770 build_libtool_libs=$enable_shared 10771 10772 # Whether or not to build static libraries. 10773 build_old_libs=$enable_static 10774 10775 # Whether or not to add -lc for building shared libraries. 10776 build_libtool_need_lc=$archive_cmds_need_lc 10777 10778 # Whether or not to disallow shared libs when runtime libs are static 10779 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 10780 10781 # Whether or not to optimize for fast installation. 10782 fast_install=$enable_fast_install 10783 10784 # The host system. 10785 host_alias=$host_alias 10786 host=$host 10787 host_os=$host_os 10788 10789 # The build system. 10790 build_alias=$build_alias 10791 build=$build 10792 build_os=$build_os 10793 10794 # An echo program that does not interpret backslashes. 10795 echo=$lt_echo 10796 10797 # The archiver. 10798 AR=$lt_AR 10799 AR_FLAGS=$lt_AR_FLAGS 10800 10801 # A C compiler. 10802 LTCC=$lt_LTCC 10803 10804 # LTCC compiler flags. 10805 LTCFLAGS=$lt_LTCFLAGS 10806 10807 # A language-specific compiler. 10808 CC=$lt_compiler 10809 10810 # Is the compiler the GNU C compiler? 10811 with_gcc=$GCC 10812 10813 # An ERE matcher. 10814 EGREP=$lt_EGREP 10815 10816 # The linker used to build libraries. 10817 LD=$lt_LD 10818 10819 # Whether we need hard or soft links. 10820 LN_S=$lt_LN_S 10821 10822 # A BSD-compatible nm program. 10823 NM=$lt_NM 10824 10825 # A symbol stripping program 10826 STRIP=$lt_STRIP 10827 10828 # Used to examine libraries when file_magic_cmd begins "file" 10829 MAGIC_CMD=$MAGIC_CMD 10830 10831 # Used on cygwin: DLL creation program. 10832 DLLTOOL="$DLLTOOL" 10833 10834 # Used on cygwin: object dumper. 10835 OBJDUMP="$OBJDUMP" 10836 10837 # Used on cygwin: assembler. 10838 AS="$AS" 10839 10840 # The name of the directory that contains temporary libtool files. 10841 objdir=$objdir 10842 10843 # How to create reloadable object files. 10844 reload_flag=$lt_reload_flag 10845 reload_cmds=$lt_reload_cmds 10846 10847 # How to pass a linker flag through the compiler. 10848 wl=$lt_lt_prog_compiler_wl 10849 10850 # Object file suffix (normally "o"). 10851 objext="$ac_objext" 10852 10853 # Old archive suffix (normally "a"). 10854 libext="$libext" 10855 10856 # Shared library suffix (normally ".so"). 10857 shrext_cmds='$shrext_cmds' 10858 10859 # Executable file suffix (normally ""). 10860 exeext="$exeext" 10861 10862 # Additional compiler flags for building library objects. 10863 pic_flag=$lt_lt_prog_compiler_pic 10864 pic_mode=$pic_mode 10865 10866 # What is the maximum length of a command? 10867 max_cmd_len=$lt_cv_sys_max_cmd_len 10868 10869 # Does compiler simultaneously support -c and -o options? 10870 compiler_c_o=$lt_lt_cv_prog_compiler_c_o 10871 10872 # Must we lock files when doing compilation? 10873 need_locks=$lt_need_locks 10874 10875 # Do we need the lib prefix for modules? 10876 need_lib_prefix=$need_lib_prefix 10877 10878 # Do we need a version for libraries? 10879 need_version=$need_version 10880 10881 # Whether dlopen is supported. 10882 dlopen_support=$enable_dlopen 10883 10884 # Whether dlopen of programs is supported. 10885 dlopen_self=$enable_dlopen_self 10886 10887 # Whether dlopen of statically linked programs is supported. 10888 dlopen_self_static=$enable_dlopen_self_static 10889 10890 # Compiler flag to prevent dynamic linking. 10891 link_static_flag=$lt_lt_prog_compiler_static 10892 10893 # Compiler flag to turn off builtin functions. 10894 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 10895 10896 # Compiler flag to allow reflexive dlopens. 10897 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 10898 10899 # Compiler flag to generate shared objects directly from archives. 10900 whole_archive_flag_spec=$lt_whole_archive_flag_spec 10901 10902 # Compiler flag to generate thread-safe objects. 10903 thread_safe_flag_spec=$lt_thread_safe_flag_spec 10904 10905 # Library versioning type. 10906 version_type=$version_type 10907 10908 # Format of library name prefix. 10909 libname_spec=$lt_libname_spec 10910 10911 # List of archive names. First name is the real one, the rest are links. 10912 # The last name is the one that the linker finds with -lNAME. 10913 library_names_spec=$lt_library_names_spec 10914 10915 # The coded name of the library, if different from the real name. 10916 soname_spec=$lt_soname_spec 10917 10918 # Commands used to build and install an old-style archive. 10919 RANLIB=$lt_RANLIB 10920 old_archive_cmds=$lt_old_archive_cmds 10921 old_postinstall_cmds=$lt_old_postinstall_cmds 10922 old_postuninstall_cmds=$lt_old_postuninstall_cmds 10923 10924 # Create an old-style archive from a shared archive. 10925 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 10926 10927 # Create a temporary old-style archive to link instead of a shared archive. 10928 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 10929 10930 # Commands used to build and install a shared archive. 10931 archive_cmds=$lt_archive_cmds 10932 archive_expsym_cmds=$lt_archive_expsym_cmds 10933 postinstall_cmds=$lt_postinstall_cmds 10934 postuninstall_cmds=$lt_postuninstall_cmds 10935 10936 # Commands used to build a loadable module (assumed same as above if empty) 10937 module_cmds=$lt_module_cmds 10938 module_expsym_cmds=$lt_module_expsym_cmds 10939 10940 # Commands to strip libraries. 10941 old_striplib=$lt_old_striplib 10942 striplib=$lt_striplib 10943 10944 # Dependencies to place before the objects being linked to create a 10945 # shared library. 10946 predep_objects=$lt_predep_objects 10947 10948 # Dependencies to place after the objects being linked to create a 10949 # shared library. 10950 postdep_objects=$lt_postdep_objects 10951 10952 # Dependencies to place before the objects being linked to create a 10953 # shared library. 10954 predeps=$lt_predeps 10955 10956 # Dependencies to place after the objects being linked to create a 10957 # shared library. 10958 postdeps=$lt_postdeps 10959 10960 # The library search path used internally by the compiler when linking 10961 # a shared library. 10962 compiler_lib_search_path=$lt_compiler_lib_search_path 10963 10964 # Method to check whether dependent libraries are shared objects. 10965 deplibs_check_method=$lt_deplibs_check_method 10966 10967 # Command to use when deplibs_check_method == file_magic. 10968 file_magic_cmd=$lt_file_magic_cmd 10969 10970 # Flag that allows shared libraries with undefined symbols to be built. 10971 allow_undefined_flag=$lt_allow_undefined_flag 10972 10973 # Flag that forces no undefined symbols. 10974 no_undefined_flag=$lt_no_undefined_flag 10975 10976 # Commands used to finish a libtool library installation in a directory. 10977 finish_cmds=$lt_finish_cmds 10978 10979 # Same as above, but a single script fragment to be evaled but not shown. 10980 finish_eval=$lt_finish_eval 10981 10982 # Take the output of nm and produce a listing of raw symbols and C names. 10983 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 10984 10985 # Transform the output of nm in a proper C declaration 10986 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 10987 10988 # Transform the output of nm in a C name address pair 10989 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 10990 10991 # This is the shared library runtime path variable. 10992 runpath_var=$runpath_var 10993 10994 # This is the shared library path variable. 10995 shlibpath_var=$shlibpath_var 10996 10997 # Is shlibpath searched before the hard-coded library search path? 10998 shlibpath_overrides_runpath=$shlibpath_overrides_runpath 10999 11000 # How to hardcode a shared library path into an executable. 11001 hardcode_action=$hardcode_action 11002 11003 # Whether we should hardcode library paths into libraries. 11004 hardcode_into_libs=$hardcode_into_libs 11005 11006 # Flag to hardcode \$libdir into a binary during linking. 11007 # This must work even if \$libdir does not exist. 11008 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 11009 11010 # If ld is used when linking, flag to hardcode \$libdir into 11011 # a binary during linking. This must work even if \$libdir does 11012 # not exist. 11013 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 11014 11015 # Whether we need a single -rpath flag with a separated argument. 11016 hardcode_libdir_separator=$lt_hardcode_libdir_separator 11017 11018 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the 11019 # resulting binary. 11020 hardcode_direct=$hardcode_direct 11021 11022 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the 11023 # resulting binary. 11024 hardcode_minus_L=$hardcode_minus_L 11025 11026 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into 11027 # the resulting binary. 11028 hardcode_shlibpath_var=$hardcode_shlibpath_var 11029 11030 # Set to yes if building a shared library automatically hardcodes DIR into the library 11031 # and all subsequent libraries and executables linked against it. 11032 hardcode_automatic=$hardcode_automatic 11033 11034 # Variables whose values should be saved in libtool wrapper scripts and 11035 # restored at relink time. 11036 variables_saved_for_relink="$variables_saved_for_relink" 11037 11038 # Whether libtool must link a program against all its dependency libraries. 11039 link_all_deplibs=$link_all_deplibs 11040 11041 # Compile-time system search path for libraries 11042 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 11043 11044 # Run-time system search path for libraries 11045 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 11046 11047 # Fix the shell variable \$srcfile for the compiler. 11048 fix_srcfile_path="$fix_srcfile_path" 11049 11050 # Set to yes if exported symbols are required. 11051 always_export_symbols=$always_export_symbols 11052 11053 # The commands to list exported symbols. 11054 export_symbols_cmds=$lt_export_symbols_cmds 11055 11056 # The commands to extract the exported symbol list from a shared archive. 11057 extract_expsyms_cmds=$lt_extract_expsyms_cmds 11058 11059 # Symbols that should not be listed in the preloaded symbols. 11060 exclude_expsyms=$lt_exclude_expsyms 11061 11062 # Symbols that must always be exported. 11063 include_expsyms=$lt_include_expsyms 11064 11065 # ### END LIBTOOL CONFIG 11066 11067 __EOF__ 11068 11069 11070 case $host_os in 11071 aix3*) 11072 cat <<\EOF >> "$cfgfile" 11073 11074 # AIX sometimes has problems with the GCC collect2 program. For some 11075 # reason, if we set the COLLECT_NAMES environment variable, the problems 11076 # vanish in a puff of smoke. 11077 if test "X${COLLECT_NAMES+set}" != Xset; then 11078 COLLECT_NAMES= 11079 export COLLECT_NAMES 11080 fi 11081 EOF 11082 ;; 11083 esac 11084 11085 # We use sed instead of cat because bash on DJGPP gets confused if 11086 # if finds mixed CR/LF and LF-only lines. Since sed operates in 11087 # text mode, it properly converts lines to CR/LF. This bash problem 11088 # is reportedly fixed, but why not run on old versions too? 11089 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) 11090 11091 mv -f "$cfgfile" "$ofile" || \ 11092 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 11093 chmod +x "$ofile" 11094 11095 else 11096 # If there is no Makefile yet, we rely on a make rule to execute 11097 # `config.status --recheck' to rerun these tests and create the 11098 # libtool script then. 11099 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 11100 if test -f "$ltmain_in"; then 11101 test -f Makefile && make "$ltmain" 11102 fi 11103 fi 11104 11105 11106 ac_ext=c 11107 ac_cpp='$CPP $CPPFLAGS' 11108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11110 ac_compiler_gnu=$ac_cv_c_compiler_gnu 11111 11112 CC="$lt_save_CC" 11113 11114 11115 # Check whether --with-tags was given. 11116 if test "${with_tags+set}" = set; then 11117 withval=$with_tags; tagnames="$withval" 11118 fi 11119 11120 11121 if test -f "$ltmain" && test -n "$tagnames"; then 11122 if test ! -f "${ofile}"; then 11123 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5 11124 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} 11125 fi 11126 11127 if test -z "$LTCC"; then 11128 eval "`$SHELL ${ofile} --config | grep '^LTCC='`" 11129 if test -z "$LTCC"; then 11130 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5 11131 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;} 11132 else 11133 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5 11134 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} 11135 fi 11136 fi 11137 if test -z "$LTCFLAGS"; then 11138 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" 11139 fi 11140 11141 # Extract list of available tagged configurations in $ofile. 11142 # Note that this assumes the entire list is on one line. 11143 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` 11144 11145 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 11146 for tagname in $tagnames; do 11147 IFS="$lt_save_ifs" 11148 # Check whether tagname contains only valid characters 11149 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in 11150 "") ;; 11151 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5 11152 echo "$as_me: error: invalid tag name: $tagname" >&2;} 11153 { (exit 1); exit 1; }; } 11154 ;; 11155 esac 11156 11157 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null 11158 then 11159 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5 11160 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;} 11161 { (exit 1); exit 1; }; } 11162 fi 11163 11164 # Update the list of available tags. 11165 if test -n "$tagname"; then 11166 echo appending configuration tag \"$tagname\" to $ofile 11167 11168 case $tagname in 11169 CXX) 11170 if test -n "$CXX" && ( test "X$CXX" != "Xno" && 11171 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 11172 (test "X$CXX" != "Xg++"))) ; then 11173 ac_ext=cpp 11174 ac_cpp='$CXXCPP $CPPFLAGS' 11175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 11178 11179 11180 11181 11182 archive_cmds_need_lc_CXX=no 11183 allow_undefined_flag_CXX= 11184 always_export_symbols_CXX=no 11185 archive_expsym_cmds_CXX= 11186 export_dynamic_flag_spec_CXX= 11187 hardcode_direct_CXX=no 11188 hardcode_libdir_flag_spec_CXX= 11189 hardcode_libdir_flag_spec_ld_CXX= 11190 hardcode_libdir_separator_CXX= 11191 hardcode_minus_L_CXX=no 11192 hardcode_shlibpath_var_CXX=unsupported 11193 hardcode_automatic_CXX=no 11194 module_cmds_CXX= 11195 module_expsym_cmds_CXX= 11196 link_all_deplibs_CXX=unknown 11197 old_archive_cmds_CXX=$old_archive_cmds 11198 no_undefined_flag_CXX= 11199 whole_archive_flag_spec_CXX= 11200 enable_shared_with_static_runtimes_CXX=no 11201 11202 # Dependencies to place before and after the object being linked: 11203 predep_objects_CXX= 11204 postdep_objects_CXX= 11205 predeps_CXX= 11206 postdeps_CXX= 11207 compiler_lib_search_path_CXX= 11208 11209 # Source file extension for C++ test sources. 11210 ac_ext=cpp 11211 11212 # Object file extension for compiled C++ test sources. 11213 objext=o 11214 objext_CXX=$objext 11215 11216 # Code to be used in simple compile tests 11217 lt_simple_compile_test_code="int some_variable = 0;\n" 11218 11219 # Code to be used in simple link tests 11220 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n' 11221 11222 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 11223 11224 # If no C compiler was specified, use CC. 11225 LTCC=${LTCC-"$CC"} 11226 11227 # If no C compiler flags were specified, use CFLAGS. 11228 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 11229 11230 # Allow CC to be a program name with arguments. 11231 compiler=$CC 11232 11233 11234 # save warnings/boilerplate of simple test code 11235 ac_outfile=conftest.$ac_objext 11236 printf "$lt_simple_compile_test_code" >conftest.$ac_ext 11237 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 11238 _lt_compiler_boilerplate=`cat conftest.err` 11239 $rm conftest* 11240 11241 ac_outfile=conftest.$ac_objext 11242 printf "$lt_simple_link_test_code" >conftest.$ac_ext 11243 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 11244 _lt_linker_boilerplate=`cat conftest.err` 11245 $rm conftest* 11246 11247 11248 # Allow CC to be a program name with arguments. 11249 lt_save_CC=$CC 11250 lt_save_LD=$LD 11251 lt_save_GCC=$GCC 11252 GCC=$GXX 11253 lt_save_with_gnu_ld=$with_gnu_ld 11254 lt_save_path_LD=$lt_cv_path_LD 11255 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 11256 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 11257 else 11258 $as_unset lt_cv_prog_gnu_ld 11259 fi 11260 if test -n "${lt_cv_path_LDCXX+set}"; then 11261 lt_cv_path_LD=$lt_cv_path_LDCXX 11262 else 11263 $as_unset lt_cv_path_LD 11264 fi 11265 test -z "${LDCXX+set}" || LD=$LDCXX 11266 CC=${CXX-"c++"} 11267 compiler=$CC 11268 compiler_CXX=$CC 11269 for cc_temp in $compiler""; do 11270 case $cc_temp in 11271 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 11272 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 11273 \-*) ;; 11274 *) break;; 11275 esac 11276 done 11277 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 11278 11279 11280 # We don't want -fno-exception wen compiling C++ code, so set the 11281 # no_builtin_flag separately 11282 if test "$GXX" = yes; then 11283 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 11284 else 11285 lt_prog_compiler_no_builtin_flag_CXX= 11286 fi 11287 11288 if test "$GXX" = yes; then 11289 # Set up default GNU C++ configuration 11290 11291 11292 # Check whether --with-gnu-ld was given. 11293 if test "${with_gnu_ld+set}" = set; then 11294 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 11295 else 11296 with_gnu_ld=no 11297 fi 11298 11299 ac_prog=ld 11300 if test "$GCC" = yes; then 11301 # Check if gcc -print-prog-name=ld gives a path. 11302 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 11303 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } 11304 case $host in 11305 *-*-mingw*) 11306 # gcc leaves a trailing carriage return which upsets mingw 11307 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 11308 *) 11309 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 11310 esac 11311 case $ac_prog in 11312 # Accept absolute paths. 11313 [\\/]* | ?:[\\/]*) 11314 re_direlt='/[^/][^/]*/\.\./' 11315 # Canonicalize the pathname of ld 11316 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` 11317 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do 11318 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` 11319 done 11320 test -z "$LD" && LD="$ac_prog" 11321 ;; 11322 "") 11323 # If it fails, then pretend we aren't using GCC. 11324 ac_prog=ld 11325 ;; 11326 *) 11327 # If it is relative, then search for the first ld in PATH. 11328 with_gnu_ld=unknown 11329 ;; 11330 esac 11331 elif test "$with_gnu_ld" = yes; then 11332 { echo "$as_me:$LINENO: checking for GNU ld" >&5 11333 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } 11334 else 11335 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 11336 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } 11337 fi 11338 if test "${lt_cv_path_LD+set}" = set; then 11339 echo $ECHO_N "(cached) $ECHO_C" >&6 11340 else 11341 if test -z "$LD"; then 11342 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 11343 for ac_dir in $PATH; do 11344 IFS="$lt_save_ifs" 11345 test -z "$ac_dir" && ac_dir=. 11346 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 11347 lt_cv_path_LD="$ac_dir/$ac_prog" 11348 # Check to see if the program is GNU ld. I'd rather use --version, 11349 # but apparently some variants of GNU ld only accept -v. 11350 # Break only if it was the GNU/non-GNU ld that we prefer. 11351 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 11352 *GNU* | *'with BFD'*) 11353 test "$with_gnu_ld" != no && break 11354 ;; 11355 *) 11356 test "$with_gnu_ld" != yes && break 11357 ;; 11358 esac 11359 fi 11360 done 11361 IFS="$lt_save_ifs" 11362 else 11363 lt_cv_path_LD="$LD" # Let the user override the test with a path. 11364 fi 11365 fi 11366 11367 LD="$lt_cv_path_LD" 11368 if test -n "$LD"; then 11369 { echo "$as_me:$LINENO: result: $LD" >&5 11370 echo "${ECHO_T}$LD" >&6; } 11371 else 11372 { echo "$as_me:$LINENO: result: no" >&5 11373 echo "${ECHO_T}no" >&6; } 11374 fi 11375 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 11376 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 11377 { (exit 1); exit 1; }; } 11378 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 11379 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } 11380 if test "${lt_cv_prog_gnu_ld+set}" = set; then 11381 echo $ECHO_N "(cached) $ECHO_C" >&6 11382 else 11383 # I'd rather use --version here, but apparently some GNU lds only accept -v. 11384 case `$LD -v 2>&1 </dev/null` in 11385 *GNU* | *'with BFD'*) 11386 lt_cv_prog_gnu_ld=yes 11387 ;; 11388 *) 11389 lt_cv_prog_gnu_ld=no 11390 ;; 11391 esac 11392 fi 11393 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 11394 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } 11395 with_gnu_ld=$lt_cv_prog_gnu_ld 11396 11397 11398 11399 # Check if GNU C++ uses GNU ld as the underlying linker, since the 11400 # archiving commands below assume that GNU ld is being used. 11401 if test "$with_gnu_ld" = yes; then 11402 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 11403 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' 11404 11405 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' 11406 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 11407 11408 # If archive_cmds runs LD, not CC, wlarc should be empty 11409 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 11410 # investigate it a little bit more. (MM) 11411 wlarc='${wl}' 11412 11413 # ancient GNU ld didn't support --whole-archive et. al. 11414 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ 11415 grep 'no-whole-archive' > /dev/null; then 11416 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 11417 else 11418 whole_archive_flag_spec_CXX= 11419 fi 11420 else 11421 with_gnu_ld=no 11422 wlarc= 11423 11424 # A generic and very simple default shared library creation 11425 # command for GNU C++ for the case where it uses the native 11426 # linker, instead of GNU ld. If possible, this setting should 11427 # overridden to take advantage of the native linker features on 11428 # the platform it is being used on. 11429 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 11430 fi 11431 11432 # Commands to make compiler produce verbose output that lists 11433 # what "hidden" libraries, object files and flags are used when 11434 # linking a shared library. 11435 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' 11436 11437 else 11438 GXX=no 11439 with_gnu_ld=no 11440 wlarc= 11441 fi 11442 11443 # PORTME: fill in a description of your system's C++ link characteristics 11444 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 11445 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } 11446 ld_shlibs_CXX=yes 11447 case $host_os in 11448 aix3*) 11449 # FIXME: insert proper C++ library support 11450 ld_shlibs_CXX=no 11451 ;; 11452 aix4* | aix5*) 11453 if test "$host_cpu" = ia64; then 11454 # On IA64, the linker does run time linking by default, so we don't 11455 # have to do anything special. 11456 aix_use_runtimelinking=no 11457 exp_sym_flag='-Bexport' 11458 no_entry_flag="" 11459 else 11460 aix_use_runtimelinking=no 11461 11462 # Test if we are trying to use run time linking or normal 11463 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 11464 # need to do runtime linking. 11465 case $host_os in aix4.[23]|aix4.[23].*|aix5*) 11466 for ld_flag in $LDFLAGS; do 11467 case $ld_flag in 11468 *-brtl*) 11469 aix_use_runtimelinking=yes 11470 break 11471 ;; 11472 esac 11473 done 11474 ;; 11475 esac 11476 11477 exp_sym_flag='-bexport' 11478 no_entry_flag='-bnoentry' 11479 fi 11480 11481 # When large executables or shared objects are built, AIX ld can 11482 # have problems creating the table of contents. If linking a library 11483 # or program results in "error TOC overflow" add -mminimal-toc to 11484 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 11485 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 11486 11487 archive_cmds_CXX='' 11488 hardcode_direct_CXX=yes 11489 hardcode_libdir_separator_CXX=':' 11490 link_all_deplibs_CXX=yes 11491 11492 if test "$GXX" = yes; then 11493 case $host_os in aix4.[012]|aix4.[012].*) 11494 # We only want to do this on AIX 4.2 and lower, the check 11495 # below for broken collect2 doesn't work under 4.3+ 11496 collect2name=`${CC} -print-prog-name=collect2` 11497 if test -f "$collect2name" && \ 11498 strings "$collect2name" | grep resolve_lib_name >/dev/null 11499 then 11500 # We have reworked collect2 11501 hardcode_direct_CXX=yes 11502 else 11503 # We have old collect2 11504 hardcode_direct_CXX=unsupported 11505 # It fails to find uninstalled libraries when the uninstalled 11506 # path is not listed in the libpath. Setting hardcode_minus_L 11507 # to unsupported forces relinking 11508 hardcode_minus_L_CXX=yes 11509 hardcode_libdir_flag_spec_CXX='-L$libdir' 11510 hardcode_libdir_separator_CXX= 11511 fi 11512 ;; 11513 esac 11514 shared_flag='-shared' 11515 if test "$aix_use_runtimelinking" = yes; then 11516 shared_flag="$shared_flag "'${wl}-G' 11517 fi 11518 else 11519 # not using gcc 11520 if test "$host_cpu" = ia64; then 11521 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 11522 # chokes on -Wl,-G. The following line is correct: 11523 shared_flag='-G' 11524 else 11525 if test "$aix_use_runtimelinking" = yes; then 11526 shared_flag='${wl}-G' 11527 else 11528 shared_flag='${wl}-bM:SRE' 11529 fi 11530 fi 11531 fi 11532 11533 # It seems that -bexpall does not export symbols beginning with 11534 # underscore (_), so it is better to generate a list of symbols to export. 11535 always_export_symbols_CXX=yes 11536 if test "$aix_use_runtimelinking" = yes; then 11537 # Warning - without using the other runtime loading flags (-brtl), 11538 # -berok will link without error, but may produce a broken library. 11539 allow_undefined_flag_CXX='-berok' 11540 # Determine the default libpath from the value encoded in an empty executable. 11541 cat >conftest.$ac_ext <<_ACEOF 11542 /* confdefs.h. */ 11543 _ACEOF 11544 cat confdefs.h >>conftest.$ac_ext 11545 cat >>conftest.$ac_ext <<_ACEOF 11546 /* end confdefs.h. */ 11547 11548 int 11549 main () 11550 { 11551 11552 ; 11553 return 0; 11554 } 11555 _ACEOF 11556 rm -f conftest.$ac_objext conftest$ac_exeext 11557 if { (ac_try="$ac_link" 11558 case "(($ac_try" in 11559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11560 *) ac_try_echo=$ac_try;; 11561 esac 11562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11563 (eval "$ac_link") 2>conftest.er1 11564 ac_status=$? 11565 grep -v '^ *+' conftest.er1 >conftest.err 11566 rm -f conftest.er1 11567 cat conftest.err >&5 11568 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11569 (exit $ac_status); } && 11570 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11571 { (case "(($ac_try" in 11572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11573 *) ac_try_echo=$ac_try;; 11574 esac 11575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11576 (eval "$ac_try") 2>&5 11577 ac_status=$? 11578 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11579 (exit $ac_status); }; } && 11580 { ac_try='test -s conftest$ac_exeext' 11581 { (case "(($ac_try" in 11582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11583 *) ac_try_echo=$ac_try;; 11584 esac 11585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11586 (eval "$ac_try") 2>&5 11587 ac_status=$? 11588 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11589 (exit $ac_status); }; }; then 11590 11591 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 11592 }'` 11593 # Check for a 64-bit object if we didn't find anything. 11594 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 11595 }'`; fi 11596 else 11597 echo "$as_me: failed program was:" >&5 11598 sed 's/^/| /' conftest.$ac_ext >&5 11599 11600 11601 fi 11602 11603 rm -f core conftest.err conftest.$ac_objext \ 11604 conftest$ac_exeext conftest.$ac_ext 11605 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 11606 11607 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 11608 11609 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" 11610 else 11611 if test "$host_cpu" = ia64; then 11612 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' 11613 allow_undefined_flag_CXX="-z nodefs" 11614 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" 11615 else 11616 # Determine the default libpath from the value encoded in an empty executable. 11617 cat >conftest.$ac_ext <<_ACEOF 11618 /* confdefs.h. */ 11619 _ACEOF 11620 cat confdefs.h >>conftest.$ac_ext 11621 cat >>conftest.$ac_ext <<_ACEOF 11622 /* end confdefs.h. */ 11623 11624 int 11625 main () 11626 { 11627 11628 ; 11629 return 0; 11630 } 11631 _ACEOF 11632 rm -f conftest.$ac_objext conftest$ac_exeext 11633 if { (ac_try="$ac_link" 11634 case "(($ac_try" in 11635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11636 *) ac_try_echo=$ac_try;; 11637 esac 11638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11639 (eval "$ac_link") 2>conftest.er1 11640 ac_status=$? 11641 grep -v '^ *+' conftest.er1 >conftest.err 11642 rm -f conftest.er1 11643 cat conftest.err >&5 11644 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11645 (exit $ac_status); } && 11646 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11647 { (case "(($ac_try" in 11648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11649 *) ac_try_echo=$ac_try;; 11650 esac 11651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11652 (eval "$ac_try") 2>&5 11653 ac_status=$? 11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11655 (exit $ac_status); }; } && 11656 { ac_try='test -s conftest$ac_exeext' 11657 { (case "(($ac_try" in 11658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11659 *) ac_try_echo=$ac_try;; 11660 esac 11661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11662 (eval "$ac_try") 2>&5 11663 ac_status=$? 11664 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11665 (exit $ac_status); }; }; then 11666 11667 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 11668 }'` 11669 # Check for a 64-bit object if we didn't find anything. 11670 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 11671 }'`; fi 11672 else 11673 echo "$as_me: failed program was:" >&5 11674 sed 's/^/| /' conftest.$ac_ext >&5 11675 11676 11677 fi 11678 11679 rm -f core conftest.err conftest.$ac_objext \ 11680 conftest$ac_exeext conftest.$ac_ext 11681 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 11682 11683 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 11684 # Warning - without using the other run time loading flags, 11685 # -berok will link without error, but may produce a broken library. 11686 no_undefined_flag_CXX=' ${wl}-bernotok' 11687 allow_undefined_flag_CXX=' ${wl}-berok' 11688 # Exported symbols can be pulled into shared objects from archives 11689 whole_archive_flag_spec_CXX='$convenience' 11690 archive_cmds_need_lc_CXX=yes 11691 # This is similar to how AIX traditionally builds its shared libraries. 11692 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' 11693 fi 11694 fi 11695 ;; 11696 11697 beos*) 11698 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 11699 allow_undefined_flag_CXX=unsupported 11700 # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc 11701 # support --undefined. This deserves some investigation. FIXME 11702 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 11703 else 11704 ld_shlibs_CXX=no 11705 fi 11706 ;; 11707 11708 chorus*) 11709 case $cc_basename in 11710 *) 11711 # FIXME: insert proper C++ library support 11712 ld_shlibs_CXX=no 11713 ;; 11714 esac 11715 ;; 11716 11717 cygwin* | mingw* | pw32*) 11718 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 11719 # as there is no search path for DLLs. 11720 hardcode_libdir_flag_spec_CXX='-L$libdir' 11721 allow_undefined_flag_CXX=unsupported 11722 always_export_symbols_CXX=no 11723 enable_shared_with_static_runtimes_CXX=yes 11724 11725 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then 11726 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' 11727 # If the export-symbols file already is a .def file (1st line 11728 # is EXPORTS), use it as is; otherwise, prepend... 11729 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 11730 cp $export_symbols $output_objdir/$soname.def; 11731 else 11732 echo EXPORTS > $output_objdir/$soname.def; 11733 cat $export_symbols >> $output_objdir/$soname.def; 11734 fi~ 11735 $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' 11736 else 11737 ld_shlibs_CXX=no 11738 fi 11739 ;; 11740 darwin* | rhapsody*) 11741 case $host_os in 11742 rhapsody* | darwin1.[012]) 11743 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress' 11744 ;; 11745 *) # Darwin 1.3 on 11746 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 11747 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 11748 else 11749 case ${MACOSX_DEPLOYMENT_TARGET} in 11750 10.[012]) 11751 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 11752 ;; 11753 10.*) 11754 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup' 11755 ;; 11756 esac 11757 fi 11758 ;; 11759 esac 11760 archive_cmds_need_lc_CXX=no 11761 hardcode_direct_CXX=no 11762 hardcode_automatic_CXX=yes 11763 hardcode_shlibpath_var_CXX=unsupported 11764 whole_archive_flag_spec_CXX='' 11765 link_all_deplibs_CXX=yes 11766 11767 if test "$GXX" = yes ; then 11768 lt_int_apple_cc_single_mod=no 11769 output_verbose_link_cmd='echo' 11770 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then 11771 lt_int_apple_cc_single_mod=yes 11772 fi 11773 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 11774 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 11775 else 11776 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' 11777 fi 11778 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 11779 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 11780 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 11781 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}' 11782 else 11783 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}' 11784 fi 11785 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}' 11786 else 11787 case $cc_basename in 11788 xlc*) 11789 output_verbose_link_cmd='echo' 11790 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' 11791 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 11792 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 11793 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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 11794 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}' 11795 ;; 11796 *) 11797 ld_shlibs_CXX=no 11798 ;; 11799 esac 11800 fi 11801 ;; 11802 11803 dgux*) 11804 case $cc_basename in 11805 ec++*) 11806 # FIXME: insert proper C++ library support 11807 ld_shlibs_CXX=no 11808 ;; 11809 ghcx*) 11810 # Green Hills C++ Compiler 11811 # FIXME: insert proper C++ library support 11812 ld_shlibs_CXX=no 11813 ;; 11814 *) 11815 # FIXME: insert proper C++ library support 11816 ld_shlibs_CXX=no 11817 ;; 11818 esac 11819 ;; 11820 freebsd[12]*) 11821 # C++ shared libraries reported to be fairly broken before switch to ELF 11822 ld_shlibs_CXX=no 11823 ;; 11824 freebsd-elf*) 11825 archive_cmds_need_lc_CXX=no 11826 ;; 11827 freebsd* | kfreebsd*-gnu | dragonfly*) 11828 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 11829 # conventions 11830 ld_shlibs_CXX=yes 11831 ;; 11832 gnu*) 11833 ;; 11834 hpux9*) 11835 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 11836 hardcode_libdir_separator_CXX=: 11837 export_dynamic_flag_spec_CXX='${wl}-E' 11838 hardcode_direct_CXX=yes 11839 hardcode_minus_L_CXX=yes # Not in the search PATH, 11840 # but as the default 11841 # location of the library. 11842 11843 case $cc_basename in 11844 CC*) 11845 # FIXME: insert proper C++ library support 11846 ld_shlibs_CXX=no 11847 ;; 11848 aCC*) 11849 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' 11850 # Commands to make compiler produce verbose output that lists 11851 # what "hidden" libraries, object files and flags are used when 11852 # linking a shared library. 11853 # 11854 # There doesn't appear to be a way to prevent this compiler from 11855 # explicitly linking system object files so we need to strip them 11856 # from the output so that they don't get included in the library 11857 # dependencies. 11858 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' 11859 ;; 11860 *) 11861 if test "$GXX" = yes; then 11862 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' 11863 else 11864 # FIXME: insert proper C++ library support 11865 ld_shlibs_CXX=no 11866 fi 11867 ;; 11868 esac 11869 ;; 11870 hpux10*|hpux11*) 11871 if test $with_gnu_ld = no; then 11872 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 11873 hardcode_libdir_separator_CXX=: 11874 11875 case $host_cpu in 11876 hppa*64*|ia64*) 11877 hardcode_libdir_flag_spec_ld_CXX='+b $libdir' 11878 ;; 11879 *) 11880 export_dynamic_flag_spec_CXX='${wl}-E' 11881 ;; 11882 esac 11883 fi 11884 case $host_cpu in 11885 hppa*64*|ia64*) 11886 hardcode_direct_CXX=no 11887 hardcode_shlibpath_var_CXX=no 11888 ;; 11889 *) 11890 hardcode_direct_CXX=yes 11891 hardcode_minus_L_CXX=yes # Not in the search PATH, 11892 # but as the default 11893 # location of the library. 11894 ;; 11895 esac 11896 11897 case $cc_basename in 11898 CC*) 11899 # FIXME: insert proper C++ library support 11900 ld_shlibs_CXX=no 11901 ;; 11902 aCC*) 11903 case $host_cpu in 11904 hppa*64*) 11905 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 11906 ;; 11907 ia64*) 11908 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 11909 ;; 11910 *) 11911 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 11912 ;; 11913 esac 11914 # Commands to make compiler produce verbose output that lists 11915 # what "hidden" libraries, object files and flags are used when 11916 # linking a shared library. 11917 # 11918 # There doesn't appear to be a way to prevent this compiler from 11919 # explicitly linking system object files so we need to strip them 11920 # from the output so that they don't get included in the library 11921 # dependencies. 11922 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' 11923 ;; 11924 *) 11925 if test "$GXX" = yes; then 11926 if test $with_gnu_ld = no; then 11927 case $host_cpu in 11928 hppa*64*) 11929 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 11930 ;; 11931 ia64*) 11932 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 11933 ;; 11934 *) 11935 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' 11936 ;; 11937 esac 11938 fi 11939 else 11940 # FIXME: insert proper C++ library support 11941 ld_shlibs_CXX=no 11942 fi 11943 ;; 11944 esac 11945 ;; 11946 interix3*) 11947 hardcode_direct_CXX=no 11948 hardcode_shlibpath_var_CXX=no 11949 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 11950 export_dynamic_flag_spec_CXX='${wl}-E' 11951 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 11952 # Instead, shared libraries are loaded at an image base (0x10000000 by 11953 # default) and relocated if they conflict, which is a slow very memory 11954 # consuming and fragmenting process. To avoid this, we pick a random, 11955 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 11956 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 11957 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' 11958 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' 11959 ;; 11960 irix5* | irix6*) 11961 case $cc_basename in 11962 CC*) 11963 # SGI C++ 11964 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' 11965 11966 # Archives containing C++ object files must be created using 11967 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 11968 # necessary to make sure instantiated templates are included 11969 # in the archive. 11970 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 11971 ;; 11972 *) 11973 if test "$GXX" = yes; then 11974 if test "$with_gnu_ld" = no; then 11975 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' 11976 else 11977 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' 11978 fi 11979 fi 11980 link_all_deplibs_CXX=yes 11981 ;; 11982 esac 11983 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 11984 hardcode_libdir_separator_CXX=: 11985 ;; 11986 linux*) 11987 case $cc_basename in 11988 KCC*) 11989 # Kuck and Associates, Inc. (KAI) C++ Compiler 11990 11991 # KCC will only create a shared library if the output file 11992 # ends with ".so" (or ".sl" for HP-UX), so rename the library 11993 # to its proper name (with version) after linking. 11994 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' 11995 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' 11996 # Commands to make compiler produce verbose output that lists 11997 # what "hidden" libraries, object files and flags are used when 11998 # linking a shared library. 11999 # 12000 # There doesn't appear to be a way to prevent this compiler from 12001 # explicitly linking system object files so we need to strip them 12002 # from the output so that they don't get included in the library 12003 # dependencies. 12004 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' 12005 12006 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir' 12007 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 12008 12009 # Archives containing C++ object files must be created using 12010 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 12011 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 12012 ;; 12013 icpc*) 12014 # Intel C++ 12015 with_gnu_ld=yes 12016 # version 8.0 and above of icpc choke on multiply defined symbols 12017 # if we add $predep_objects and $postdep_objects, however 7.1 and 12018 # earlier do not add the objects themselves. 12019 case `$CC -V 2>&1` in 12020 *"Version 7."*) 12021 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 12022 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' 12023 ;; 12024 *) # Version 8.0 or newer 12025 tmp_idyn= 12026 case $host_cpu in 12027 ia64*) tmp_idyn=' -i_dynamic';; 12028 esac 12029 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 12030 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' 12031 ;; 12032 esac 12033 archive_cmds_need_lc_CXX=no 12034 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 12035 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 12036 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 12037 ;; 12038 pgCC*) 12039 # Portland Group C++ compiler 12040 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 12041 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' 12042 12043 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' 12044 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 12045 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' 12046 ;; 12047 cxx*) 12048 # Compaq C++ 12049 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 12050 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' 12051 12052 runpath_var=LD_RUN_PATH 12053 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 12054 hardcode_libdir_separator_CXX=: 12055 12056 # Commands to make compiler produce verbose output that lists 12057 # what "hidden" libraries, object files and flags are used when 12058 # linking a shared library. 12059 # 12060 # There doesn't appear to be a way to prevent this compiler from 12061 # explicitly linking system object files so we need to strip them 12062 # from the output so that they don't get included in the library 12063 # dependencies. 12064 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' 12065 ;; 12066 esac 12067 ;; 12068 lynxos*) 12069 # FIXME: insert proper C++ library support 12070 ld_shlibs_CXX=no 12071 ;; 12072 m88k*) 12073 # FIXME: insert proper C++ library support 12074 ld_shlibs_CXX=no 12075 ;; 12076 mvs*) 12077 case $cc_basename in 12078 cxx*) 12079 # FIXME: insert proper C++ library support 12080 ld_shlibs_CXX=no 12081 ;; 12082 *) 12083 # FIXME: insert proper C++ library support 12084 ld_shlibs_CXX=no 12085 ;; 12086 esac 12087 ;; 12088 netbsd*) 12089 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 12090 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 12091 wlarc= 12092 hardcode_libdir_flag_spec_CXX='-R$libdir' 12093 hardcode_direct_CXX=yes 12094 hardcode_shlibpath_var_CXX=no 12095 fi 12096 # Workaround some broken pre-1.5 toolchains 12097 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 12098 ;; 12099 openbsd2*) 12100 # C++ shared libraries are fairly broken 12101 ld_shlibs_CXX=no 12102 ;; 12103 openbsd*) 12104 hardcode_direct_CXX=yes 12105 hardcode_shlibpath_var_CXX=no 12106 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 12107 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 12108 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 12109 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' 12110 export_dynamic_flag_spec_CXX='${wl}-E' 12111 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 12112 fi 12113 output_verbose_link_cmd='echo' 12114 ;; 12115 osf3*) 12116 case $cc_basename in 12117 KCC*) 12118 # Kuck and Associates, Inc. (KAI) C++ Compiler 12119 12120 # KCC will only create a shared library if the output file 12121 # ends with ".so" (or ".sl" for HP-UX), so rename the library 12122 # to its proper name (with version) after linking. 12123 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' 12124 12125 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 12126 hardcode_libdir_separator_CXX=: 12127 12128 # Archives containing C++ object files must be created using 12129 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 12130 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 12131 12132 ;; 12133 RCC*) 12134 # Rational C++ 2.4.1 12135 # FIXME: insert proper C++ library support 12136 ld_shlibs_CXX=no 12137 ;; 12138 cxx*) 12139 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 12140 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' 12141 12142 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 12143 hardcode_libdir_separator_CXX=: 12144 12145 # Commands to make compiler produce verbose output that lists 12146 # what "hidden" libraries, object files and flags are used when 12147 # linking a shared library. 12148 # 12149 # There doesn't appear to be a way to prevent this compiler from 12150 # explicitly linking system object files so we need to strip them 12151 # from the output so that they don't get included in the library 12152 # dependencies. 12153 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' 12154 ;; 12155 *) 12156 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 12157 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 12158 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' 12159 12160 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 12161 hardcode_libdir_separator_CXX=: 12162 12163 # Commands to make compiler produce verbose output that lists 12164 # what "hidden" libraries, object files and flags are used when 12165 # linking a shared library. 12166 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' 12167 12168 else 12169 # FIXME: insert proper C++ library support 12170 ld_shlibs_CXX=no 12171 fi 12172 ;; 12173 esac 12174 ;; 12175 osf4* | osf5*) 12176 case $cc_basename in 12177 KCC*) 12178 # Kuck and Associates, Inc. (KAI) C++ Compiler 12179 12180 # KCC will only create a shared library if the output file 12181 # ends with ".so" (or ".sl" for HP-UX), so rename the library 12182 # to its proper name (with version) after linking. 12183 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' 12184 12185 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 12186 hardcode_libdir_separator_CXX=: 12187 12188 # Archives containing C++ object files must be created using 12189 # the KAI C++ compiler. 12190 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' 12191 ;; 12192 RCC*) 12193 # Rational C++ 2.4.1 12194 # FIXME: insert proper C++ library support 12195 ld_shlibs_CXX=no 12196 ;; 12197 cxx*) 12198 allow_undefined_flag_CXX=' -expect_unresolved \*' 12199 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' 12200 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 12201 echo "-hidden">> $lib.exp~ 12202 $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~ 12203 $rm $lib.exp' 12204 12205 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 12206 hardcode_libdir_separator_CXX=: 12207 12208 # Commands to make compiler produce verbose output that lists 12209 # what "hidden" libraries, object files and flags are used when 12210 # linking a shared library. 12211 # 12212 # There doesn't appear to be a way to prevent this compiler from 12213 # explicitly linking system object files so we need to strip them 12214 # from the output so that they don't get included in the library 12215 # dependencies. 12216 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' 12217 ;; 12218 *) 12219 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 12220 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 12221 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' 12222 12223 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 12224 hardcode_libdir_separator_CXX=: 12225 12226 # Commands to make compiler produce verbose output that lists 12227 # what "hidden" libraries, object files and flags are used when 12228 # linking a shared library. 12229 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' 12230 12231 else 12232 # FIXME: insert proper C++ library support 12233 ld_shlibs_CXX=no 12234 fi 12235 ;; 12236 esac 12237 ;; 12238 psos*) 12239 # FIXME: insert proper C++ library support 12240 ld_shlibs_CXX=no 12241 ;; 12242 sunos4*) 12243 case $cc_basename in 12244 CC*) 12245 # Sun C++ 4.x 12246 # FIXME: insert proper C++ library support 12247 ld_shlibs_CXX=no 12248 ;; 12249 lcc*) 12250 # Lucid 12251 # FIXME: insert proper C++ library support 12252 ld_shlibs_CXX=no 12253 ;; 12254 *) 12255 # FIXME: insert proper C++ library support 12256 ld_shlibs_CXX=no 12257 ;; 12258 esac 12259 ;; 12260 solaris*) 12261 case $cc_basename in 12262 CC*) 12263 # Sun C++ 4.2, 5.x and Centerline C++ 12264 archive_cmds_need_lc_CXX=yes 12265 no_undefined_flag_CXX=' -zdefs' 12266 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 12267 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 12268 $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' 12269 12270 hardcode_libdir_flag_spec_CXX='-R$libdir' 12271 hardcode_shlibpath_var_CXX=no 12272 case $host_os in 12273 solaris2.[0-5] | solaris2.[0-5].*) ;; 12274 *) 12275 # The C++ compiler is used as linker so we must use $wl 12276 # flag to pass the commands to the underlying system 12277 # linker. We must also pass each convience library through 12278 # to the system linker between allextract/defaultextract. 12279 # The C++ compiler will combine linker options so we 12280 # cannot just pass the convience library names through 12281 # without $wl. 12282 # Supported since Solaris 2.6 (maybe 2.5.1?) 12283 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' 12284 ;; 12285 esac 12286 link_all_deplibs_CXX=yes 12287 12288 output_verbose_link_cmd='echo' 12289 12290 # Archives containing C++ object files must be created using 12291 # "CC -xar", where "CC" is the Sun C++ compiler. This is 12292 # necessary to make sure instantiated templates are included 12293 # in the archive. 12294 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 12295 ;; 12296 gcx*) 12297 # Green Hills C++ Compiler 12298 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 12299 12300 # The C++ compiler must be used to create the archive. 12301 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 12302 ;; 12303 *) 12304 # GNU C++ compiler with Solaris linker 12305 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 12306 no_undefined_flag_CXX=' ${wl}-z ${wl}defs' 12307 if $CC --version | grep -v '^2\.7' > /dev/null; then 12308 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 12309 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 12310 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' 12311 12312 # Commands to make compiler produce verbose output that lists 12313 # what "hidden" libraries, object files and flags are used when 12314 # linking a shared library. 12315 output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" 12316 else 12317 # g++ 2.7 appears to require `-G' NOT `-shared' on this 12318 # platform. 12319 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 12320 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 12321 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' 12322 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 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" 12327 fi 12328 12329 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' 12330 fi 12331 ;; 12332 esac 12333 ;; 12334 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 12335 no_undefined_flag_CXX='${wl}-z,text' 12336 archive_cmds_need_lc_CXX=no 12337 hardcode_shlibpath_var_CXX=no 12338 runpath_var='LD_RUN_PATH' 12339 12340 case $cc_basename in 12341 CC*) 12342 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12343 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12344 ;; 12345 *) 12346 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12347 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12348 ;; 12349 esac 12350 ;; 12351 sysv5* | sco3.2v5* | sco5v6*) 12352 # Note: We can NOT use -z defs as we might desire, because we do not 12353 # link with -lc, and that would cause any symbols used from libc to 12354 # always be unresolved, which means just about no library would 12355 # ever link correctly. If we're not using GNU ld we use -z text 12356 # though, which does catch some bad symbols but isn't as heavy-handed 12357 # as -z defs. 12358 # For security reasons, it is highly recommended that you always 12359 # use absolute paths for naming shared libraries, and exclude the 12360 # DT_RUNPATH tag from executables and libraries. But doing so 12361 # requires that you compile everything twice, which is a pain. 12362 # So that behaviour is only enabled if SCOABSPATH is set to a 12363 # non-empty value in the environment. Most likely only useful for 12364 # creating official distributions of packages. 12365 # This is a hack until libtool officially supports absolute path 12366 # names for shared libraries. 12367 no_undefined_flag_CXX='${wl}-z,text' 12368 allow_undefined_flag_CXX='${wl}-z,nodefs' 12369 archive_cmds_need_lc_CXX=no 12370 hardcode_shlibpath_var_CXX=no 12371 hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' 12372 hardcode_libdir_separator_CXX=':' 12373 link_all_deplibs_CXX=yes 12374 export_dynamic_flag_spec_CXX='${wl}-Bexport' 12375 runpath_var='LD_RUN_PATH' 12376 12377 case $cc_basename in 12378 CC*) 12379 archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 12380 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 12381 ;; 12382 *) 12383 archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 12384 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 12385 ;; 12386 esac 12387 ;; 12388 tandem*) 12389 case $cc_basename in 12390 NCC*) 12391 # NonStop-UX NCC 3.20 12392 # FIXME: insert proper C++ library support 12393 ld_shlibs_CXX=no 12394 ;; 12395 *) 12396 # FIXME: insert proper C++ library support 12397 ld_shlibs_CXX=no 12398 ;; 12399 esac 12400 ;; 12401 vxworks*) 12402 # FIXME: insert proper C++ library support 12403 ld_shlibs_CXX=no 12404 ;; 12405 *) 12406 # FIXME: insert proper C++ library support 12407 ld_shlibs_CXX=no 12408 ;; 12409 esac 12410 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 12411 echo "${ECHO_T}$ld_shlibs_CXX" >&6; } 12412 test "$ld_shlibs_CXX" = no && can_build_shared=no 12413 12414 GCC_CXX="$GXX" 12415 LD_CXX="$LD" 12416 12417 12418 cat > conftest.$ac_ext <<EOF 12419 class Foo 12420 { 12421 public: 12422 Foo (void) { a = 0; } 12423 private: 12424 int a; 12425 }; 12426 EOF 12427 12428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 12429 (eval $ac_compile) 2>&5 12430 ac_status=$? 12431 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12432 (exit $ac_status); }; then 12433 # Parse the compiler output and extract the necessary 12434 # objects, libraries and library flags. 12435 12436 # Sentinel used to keep track of whether or not we are before 12437 # the conftest object file. 12438 pre_test_object_deps_done=no 12439 12440 # The `*' in the case matches for architectures that use `case' in 12441 # $output_verbose_cmd can trigger glob expansion during the loop 12442 # eval without this substitution. 12443 output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"` 12444 12445 for p in `eval $output_verbose_link_cmd`; do 12446 case $p in 12447 12448 -L* | -R* | -l*) 12449 # Some compilers place space between "-{L,R}" and the path. 12450 # Remove the space. 12451 if test $p = "-L" \ 12452 || test $p = "-R"; then 12453 prev=$p 12454 continue 12455 else 12456 prev= 12457 fi 12458 12459 if test "$pre_test_object_deps_done" = no; then 12460 case $p in 12461 -L* | -R*) 12462 # Internal compiler library paths should come after those 12463 # provided the user. The postdeps already come after the 12464 # user supplied libs so there is no need to process them. 12465 if test -z "$compiler_lib_search_path_CXX"; then 12466 compiler_lib_search_path_CXX="${prev}${p}" 12467 else 12468 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" 12469 fi 12470 ;; 12471 # The "-l" case would never come before the object being 12472 # linked, so don't bother handling this case. 12473 esac 12474 else 12475 if test -z "$postdeps_CXX"; then 12476 postdeps_CXX="${prev}${p}" 12477 else 12478 postdeps_CXX="${postdeps_CXX} ${prev}${p}" 12479 fi 12480 fi 12481 ;; 12482 12483 *.$objext) 12484 # This assumes that the test object file only shows up 12485 # once in the compiler output. 12486 if test "$p" = "conftest.$objext"; then 12487 pre_test_object_deps_done=yes 12488 continue 12489 fi 12490 12491 if test "$pre_test_object_deps_done" = no; then 12492 if test -z "$predep_objects_CXX"; then 12493 predep_objects_CXX="$p" 12494 else 12495 predep_objects_CXX="$predep_objects_CXX $p" 12496 fi 12497 else 12498 if test -z "$postdep_objects_CXX"; then 12499 postdep_objects_CXX="$p" 12500 else 12501 postdep_objects_CXX="$postdep_objects_CXX $p" 12502 fi 12503 fi 12504 ;; 12505 12506 *) ;; # Ignore the rest. 12507 12508 esac 12509 done 12510 12511 # Clean up. 12512 rm -f a.out a.exe 12513 else 12514 echo "libtool.m4: error: problem compiling CXX test program" 12515 fi 12516 12517 $rm -f confest.$objext 12518 12519 # PORTME: override above test on systems where it is broken 12520 case $host_os in 12521 interix3*) 12522 # Interix 3.5 installs completely hosed .la files for C++, so rather than 12523 # hack all around it, let's just trust "g++" to DTRT. 12524 predep_objects_CXX= 12525 postdep_objects_CXX= 12526 postdeps_CXX= 12527 ;; 12528 12529 solaris*) 12530 case $cc_basename in 12531 CC*) 12532 # Adding this requires a known-good setup of shared libraries for 12533 # Sun compiler versions before 5.6, else PIC objects from an old 12534 # archive will be linked into the output, leading to subtle bugs. 12535 postdeps_CXX='-lCstd -lCrun' 12536 ;; 12537 esac 12538 ;; 12539 esac 12540 12541 12542 case " $postdeps_CXX " in 12543 *" -lc "*) archive_cmds_need_lc_CXX=no ;; 12544 esac 12545 12546 lt_prog_compiler_wl_CXX= 12547 lt_prog_compiler_pic_CXX= 12548 lt_prog_compiler_static_CXX= 12549 12550 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 12551 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } 12552 12553 # C++ specific cases for pic, static, wl, etc. 12554 if test "$GXX" = yes; then 12555 lt_prog_compiler_wl_CXX='-Wl,' 12556 lt_prog_compiler_static_CXX='-static' 12557 12558 case $host_os in 12559 aix*) 12560 # All AIX code is PIC. 12561 if test "$host_cpu" = ia64; then 12562 # AIX 5 now supports IA64 processor 12563 lt_prog_compiler_static_CXX='-Bstatic' 12564 fi 12565 ;; 12566 amigaos*) 12567 # FIXME: we need at least 68020 code to build shared libraries, but 12568 # adding the `-m68020' flag to GCC prevents building anything better, 12569 # like `-m68040'. 12570 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 12571 ;; 12572 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 12573 # PIC is the default for these OSes. 12574 ;; 12575 mingw* | os2* | pw32*) 12576 # This hack is so that the source file can tell whether it is being 12577 # built for inclusion in a dll (and should export symbols for example). 12578 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 12579 ;; 12580 darwin* | rhapsody*) 12581 # PIC is the default on this platform 12582 # Common symbols not allowed in MH_DYLIB files 12583 lt_prog_compiler_pic_CXX='-fno-common' 12584 ;; 12585 *djgpp*) 12586 # DJGPP does not support shared libraries at all 12587 lt_prog_compiler_pic_CXX= 12588 ;; 12589 interix3*) 12590 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 12591 # Instead, we relocate shared libraries at runtime. 12592 ;; 12593 sysv4*MP*) 12594 if test -d /usr/nec; then 12595 lt_prog_compiler_pic_CXX=-Kconform_pic 12596 fi 12597 ;; 12598 hpux*) 12599 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 12600 # not for PA HP-UX. 12601 case $host_cpu in 12602 hppa*64*|ia64*) 12603 ;; 12604 *) 12605 lt_prog_compiler_pic_CXX='-fPIC' 12606 ;; 12607 esac 12608 ;; 12609 *) 12610 lt_prog_compiler_pic_CXX='-fPIC' 12611 ;; 12612 esac 12613 else 12614 case $host_os in 12615 aix4* | aix5*) 12616 # All AIX code is PIC. 12617 if test "$host_cpu" = ia64; then 12618 # AIX 5 now supports IA64 processor 12619 lt_prog_compiler_static_CXX='-Bstatic' 12620 else 12621 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 12622 fi 12623 ;; 12624 chorus*) 12625 case $cc_basename in 12626 cxch68*) 12627 # Green Hills C++ Compiler 12628 # _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" 12629 ;; 12630 esac 12631 ;; 12632 darwin*) 12633 # PIC is the default on this platform 12634 # Common symbols not allowed in MH_DYLIB files 12635 case $cc_basename in 12636 xlc*) 12637 lt_prog_compiler_pic_CXX='-qnocommon' 12638 lt_prog_compiler_wl_CXX='-Wl,' 12639 ;; 12640 esac 12641 ;; 12642 dgux*) 12643 case $cc_basename in 12644 ec++*) 12645 lt_prog_compiler_pic_CXX='-KPIC' 12646 ;; 12647 ghcx*) 12648 # Green Hills C++ Compiler 12649 lt_prog_compiler_pic_CXX='-pic' 12650 ;; 12651 *) 12652 ;; 12653 esac 12654 ;; 12655 freebsd* | kfreebsd*-gnu | dragonfly*) 12656 # FreeBSD uses GNU C++ 12657 ;; 12658 hpux9* | hpux10* | hpux11*) 12659 case $cc_basename in 12660 CC*) 12661 lt_prog_compiler_wl_CXX='-Wl,' 12662 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' 12663 if test "$host_cpu" != ia64; then 12664 lt_prog_compiler_pic_CXX='+Z' 12665 fi 12666 ;; 12667 aCC*) 12668 lt_prog_compiler_wl_CXX='-Wl,' 12669 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' 12670 case $host_cpu in 12671 hppa*64*|ia64*) 12672 # +Z the default 12673 ;; 12674 *) 12675 lt_prog_compiler_pic_CXX='+Z' 12676 ;; 12677 esac 12678 ;; 12679 *) 12680 ;; 12681 esac 12682 ;; 12683 interix*) 12684 # This is c89, which is MS Visual C++ (no shared libs) 12685 # Anyone wants to do a port? 12686 ;; 12687 irix5* | irix6* | nonstopux*) 12688 case $cc_basename in 12689 CC*) 12690 lt_prog_compiler_wl_CXX='-Wl,' 12691 lt_prog_compiler_static_CXX='-non_shared' 12692 # CC pic flag -KPIC is the default. 12693 ;; 12694 *) 12695 ;; 12696 esac 12697 ;; 12698 linux*) 12699 case $cc_basename in 12700 KCC*) 12701 # KAI C++ Compiler 12702 lt_prog_compiler_wl_CXX='--backend -Wl,' 12703 lt_prog_compiler_pic_CXX='-fPIC' 12704 ;; 12705 icpc* | ecpc*) 12706 # Intel C++ 12707 lt_prog_compiler_wl_CXX='-Wl,' 12708 lt_prog_compiler_pic_CXX='-KPIC' 12709 lt_prog_compiler_static_CXX='-static' 12710 ;; 12711 pgCC*) 12712 # Portland Group C++ compiler. 12713 lt_prog_compiler_wl_CXX='-Wl,' 12714 lt_prog_compiler_pic_CXX='-fpic' 12715 lt_prog_compiler_static_CXX='-Bstatic' 12716 ;; 12717 cxx*) 12718 # Compaq C++ 12719 # Make sure the PIC flag is empty. It appears that all Alpha 12720 # Linux and Compaq Tru64 Unix objects are PIC. 12721 lt_prog_compiler_pic_CXX= 12722 lt_prog_compiler_static_CXX='-non_shared' 12723 ;; 12724 *) 12725 ;; 12726 esac 12727 ;; 12728 lynxos*) 12729 ;; 12730 m88k*) 12731 ;; 12732 mvs*) 12733 case $cc_basename in 12734 cxx*) 12735 lt_prog_compiler_pic_CXX='-W c,exportall' 12736 ;; 12737 *) 12738 ;; 12739 esac 12740 ;; 12741 netbsd*) 12742 ;; 12743 osf3* | osf4* | osf5*) 12744 case $cc_basename in 12745 KCC*) 12746 lt_prog_compiler_wl_CXX='--backend -Wl,' 12747 ;; 12748 RCC*) 12749 # Rational C++ 2.4.1 12750 lt_prog_compiler_pic_CXX='-pic' 12751 ;; 12752 cxx*) 12753 # Digital/Compaq C++ 12754 lt_prog_compiler_wl_CXX='-Wl,' 12755 # Make sure the PIC flag is empty. It appears that all Alpha 12756 # Linux and Compaq Tru64 Unix objects are PIC. 12757 lt_prog_compiler_pic_CXX= 12758 lt_prog_compiler_static_CXX='-non_shared' 12759 ;; 12760 *) 12761 ;; 12762 esac 12763 ;; 12764 psos*) 12765 ;; 12766 solaris*) 12767 case $cc_basename in 12768 CC*) 12769 # Sun C++ 4.2, 5.x and Centerline C++ 12770 lt_prog_compiler_pic_CXX='-KPIC' 12771 lt_prog_compiler_static_CXX='-Bstatic' 12772 lt_prog_compiler_wl_CXX='-Qoption ld ' 12773 ;; 12774 gcx*) 12775 # Green Hills C++ Compiler 12776 lt_prog_compiler_pic_CXX='-PIC' 12777 ;; 12778 *) 12779 ;; 12780 esac 12781 ;; 12782 sunos4*) 12783 case $cc_basename in 12784 CC*) 12785 # Sun C++ 4.x 12786 lt_prog_compiler_pic_CXX='-pic' 12787 lt_prog_compiler_static_CXX='-Bstatic' 12788 ;; 12789 lcc*) 12790 # Lucid 12791 lt_prog_compiler_pic_CXX='-pic' 12792 ;; 12793 *) 12794 ;; 12795 esac 12796 ;; 12797 tandem*) 12798 case $cc_basename in 12799 NCC*) 12800 # NonStop-UX NCC 3.20 12801 lt_prog_compiler_pic_CXX='-KPIC' 12802 ;; 12803 *) 12804 ;; 12805 esac 12806 ;; 12807 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 12808 case $cc_basename in 12809 CC*) 12810 lt_prog_compiler_wl_CXX='-Wl,' 12811 lt_prog_compiler_pic_CXX='-KPIC' 12812 lt_prog_compiler_static_CXX='-Bstatic' 12813 ;; 12814 esac 12815 ;; 12816 vxworks*) 12817 ;; 12818 *) 12819 lt_prog_compiler_can_build_shared_CXX=no 12820 ;; 12821 esac 12822 fi 12823 12824 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 12825 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; } 12826 12827 # 12828 # Check to make sure the PIC flag actually works. 12829 # 12830 if test -n "$lt_prog_compiler_pic_CXX"; then 12831 12832 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 12833 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; } 12834 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then 12835 echo $ECHO_N "(cached) $ECHO_C" >&6 12836 else 12837 lt_prog_compiler_pic_works_CXX=no 12838 ac_outfile=conftest.$ac_objext 12839 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 12840 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" 12841 # Insert the option either (1) after the last *FLAGS variable, or 12842 # (2) before a word containing "conftest.", or (3) at the end. 12843 # Note that $ac_compile itself does not contain backslashes and begins 12844 # with a dollar sign (not a hyphen), so the echo should work correctly. 12845 # The option is referenced via a variable to avoid confusing sed. 12846 lt_compile=`echo "$ac_compile" | $SED \ 12847 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 12848 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12849 -e 's:$: $lt_compiler_flag:'` 12850 (eval echo "\"\$as_me:12850: $lt_compile\"" >&5) 12851 (eval "$lt_compile" 2>conftest.err) 12852 ac_status=$? 12853 cat conftest.err >&5 12854 echo "$as_me:12854: \$? = $ac_status" >&5 12855 if (exit $ac_status) && test -s "$ac_outfile"; then 12856 # The compiler can only warn and ignore the option if not recognized 12857 # So say no if there are warnings other than the usual output. 12858 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 12859 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 12860 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 12861 lt_prog_compiler_pic_works_CXX=yes 12862 fi 12863 fi 12864 $rm conftest* 12865 12866 fi 12867 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5 12868 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; } 12869 12870 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then 12871 case $lt_prog_compiler_pic_CXX in 12872 "" | " "*) ;; 12873 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 12874 esac 12875 else 12876 lt_prog_compiler_pic_CXX= 12877 lt_prog_compiler_can_build_shared_CXX=no 12878 fi 12879 12880 fi 12881 case $host_os in 12882 # For platforms which do not support PIC, -DPIC is meaningless: 12883 *djgpp*) 12884 lt_prog_compiler_pic_CXX= 12885 ;; 12886 *) 12887 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 12888 ;; 12889 esac 12890 12891 # 12892 # Check to make sure the static flag actually works. 12893 # 12894 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 12895 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 12896 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } 12897 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then 12898 echo $ECHO_N "(cached) $ECHO_C" >&6 12899 else 12900 lt_prog_compiler_static_works_CXX=no 12901 save_LDFLAGS="$LDFLAGS" 12902 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 12903 printf "$lt_simple_link_test_code" > conftest.$ac_ext 12904 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 12905 # The linker can only warn and ignore the option if not recognized 12906 # So say no if there are warnings 12907 if test -s conftest.err; then 12908 # Append any errors to the config.log. 12909 cat conftest.err 1>&5 12910 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 12911 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 12912 if diff conftest.exp conftest.er2 >/dev/null; then 12913 lt_prog_compiler_static_works_CXX=yes 12914 fi 12915 else 12916 lt_prog_compiler_static_works_CXX=yes 12917 fi 12918 fi 12919 $rm conftest* 12920 LDFLAGS="$save_LDFLAGS" 12921 12922 fi 12923 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5 12924 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; } 12925 12926 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then 12927 : 12928 else 12929 lt_prog_compiler_static_CXX= 12930 fi 12931 12932 12933 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 12934 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } 12935 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then 12936 echo $ECHO_N "(cached) $ECHO_C" >&6 12937 else 12938 lt_cv_prog_compiler_c_o_CXX=no 12939 $rm -r conftest 2>/dev/null 12940 mkdir conftest 12941 cd conftest 12942 mkdir out 12943 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 12944 12945 lt_compiler_flag="-o out/conftest2.$ac_objext" 12946 # Insert the option either (1) after the last *FLAGS variable, or 12947 # (2) before a word containing "conftest.", or (3) at the end. 12948 # Note that $ac_compile itself does not contain backslashes and begins 12949 # with a dollar sign (not a hyphen), so the echo should work correctly. 12950 lt_compile=`echo "$ac_compile" | $SED \ 12951 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 12952 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12953 -e 's:$: $lt_compiler_flag:'` 12954 (eval echo "\"\$as_me:12954: $lt_compile\"" >&5) 12955 (eval "$lt_compile" 2>out/conftest.err) 12956 ac_status=$? 12957 cat out/conftest.err >&5 12958 echo "$as_me:12958: \$? = $ac_status" >&5 12959 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12960 then 12961 # The compiler can only warn and ignore the option if not recognized 12962 # So say no if there are warnings 12963 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 12964 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 12965 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 12966 lt_cv_prog_compiler_c_o_CXX=yes 12967 fi 12968 fi 12969 chmod u+w . 2>&5 12970 $rm conftest* 12971 # SGI C++ compiler will create directory out/ii_files/ for 12972 # template instantiation 12973 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 12974 $rm out/* && rmdir out 12975 cd .. 12976 rmdir conftest 12977 $rm conftest* 12978 12979 fi 12980 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 12981 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; } 12982 12983 12984 hard_links="nottested" 12985 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then 12986 # do not overwrite the value of need_locks provided by the user 12987 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 12988 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } 12989 hard_links=yes 12990 $rm conftest* 12991 ln conftest.a conftest.b 2>/dev/null && hard_links=no 12992 touch conftest.a 12993 ln conftest.a conftest.b 2>&5 || hard_links=no 12994 ln conftest.a conftest.b 2>/dev/null && hard_links=no 12995 { echo "$as_me:$LINENO: result: $hard_links" >&5 12996 echo "${ECHO_T}$hard_links" >&6; } 12997 if test "$hard_links" = no; then 12998 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 12999 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 13000 need_locks=warn 13001 fi 13002 else 13003 need_locks=no 13004 fi 13005 13006 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 13007 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } 13008 13009 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 13010 case $host_os in 13011 aix4* | aix5*) 13012 # If we're using GNU nm, then we don't want the "-C" option. 13013 # -C means demangle to AIX nm, but means don't demangle with GNU nm 13014 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then 13015 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' 13016 else 13017 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' 13018 fi 13019 ;; 13020 pw32*) 13021 export_symbols_cmds_CXX="$ltdll_cmds" 13022 ;; 13023 cygwin* | mingw*) 13024 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' 13025 ;; 13026 *) 13027 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 13028 ;; 13029 esac 13030 13031 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 13032 echo "${ECHO_T}$ld_shlibs_CXX" >&6; } 13033 test "$ld_shlibs_CXX" = no && can_build_shared=no 13034 13035 # 13036 # Do we need to explicitly link libc? 13037 # 13038 case "x$archive_cmds_need_lc_CXX" in 13039 x|xyes) 13040 # Assume -lc should be added 13041 archive_cmds_need_lc_CXX=yes 13042 13043 if test "$enable_shared" = yes && test "$GCC" = yes; then 13044 case $archive_cmds_CXX in 13045 *'~'*) 13046 # FIXME: we may have to deal with multi-command sequences. 13047 ;; 13048 '$CC '*) 13049 # Test whether the compiler implicitly links with -lc since on some 13050 # systems, -lgcc has to come before -lc. If gcc already passes -lc 13051 # to ld, don't add -lc before -lgcc. 13052 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 13053 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } 13054 $rm conftest* 13055 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 13056 13057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 13058 (eval $ac_compile) 2>&5 13059 ac_status=$? 13060 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13061 (exit $ac_status); } 2>conftest.err; then 13062 soname=conftest 13063 lib=conftest 13064 libobjs=conftest.$ac_objext 13065 deplibs= 13066 wl=$lt_prog_compiler_wl_CXX 13067 pic_flag=$lt_prog_compiler_pic_CXX 13068 compiler_flags=-v 13069 linker_flags=-v 13070 verstring= 13071 output_objdir=. 13072 libname=conftest 13073 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 13074 allow_undefined_flag_CXX= 13075 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 13076 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 13077 ac_status=$? 13078 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13079 (exit $ac_status); } 13080 then 13081 archive_cmds_need_lc_CXX=no 13082 else 13083 archive_cmds_need_lc_CXX=yes 13084 fi 13085 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 13086 else 13087 cat conftest.err 1>&5 13088 fi 13089 $rm conftest* 13090 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 13091 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; } 13092 ;; 13093 esac 13094 fi 13095 ;; 13096 esac 13097 13098 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 13099 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } 13100 library_names_spec= 13101 libname_spec='lib$name' 13102 soname_spec= 13103 shrext_cmds=".so" 13104 postinstall_cmds= 13105 postuninstall_cmds= 13106 finish_cmds= 13107 finish_eval= 13108 shlibpath_var= 13109 shlibpath_overrides_runpath=unknown 13110 version_type=none 13111 dynamic_linker="$host_os ld.so" 13112 sys_lib_dlsearch_path_spec="/lib /usr/lib" 13113 if test "$GCC" = yes; then 13114 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 13115 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then 13116 # if the path contains ";" then we assume it to be the separator 13117 # otherwise default to the standard path separator (i.e. ":") - it is 13118 # assumed that no part of a normal pathname contains ";" but that should 13119 # okay in the real world where ";" in dirpaths is itself problematic. 13120 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 13121 else 13122 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 13123 fi 13124 else 13125 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 13126 fi 13127 need_lib_prefix=unknown 13128 hardcode_into_libs=no 13129 13130 # when you set need_version to no, make sure it does not cause -set_version 13131 # flags to be left without arguments 13132 need_version=unknown 13133 13134 case $host_os in 13135 aix3*) 13136 version_type=linux 13137 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 13138 shlibpath_var=LIBPATH 13139 13140 # AIX 3 has no versioning support, so we append a major version to the name. 13141 soname_spec='${libname}${release}${shared_ext}$major' 13142 ;; 13143 13144 aix4* | aix5*) 13145 version_type=linux 13146 need_lib_prefix=no 13147 need_version=no 13148 hardcode_into_libs=yes 13149 if test "$host_cpu" = ia64; then 13150 # AIX 5 supports IA64 13151 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 13152 shlibpath_var=LD_LIBRARY_PATH 13153 else 13154 # With GCC up to 2.95.x, collect2 would create an import file 13155 # for dependence libraries. The import file would start with 13156 # the line `#! .'. This would cause the generated library to 13157 # depend on `.', always an invalid library. This was fixed in 13158 # development snapshots of GCC prior to 3.0. 13159 case $host_os in 13160 aix4 | aix4.[01] | aix4.[01].*) 13161 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 13162 echo ' yes ' 13163 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then 13164 : 13165 else 13166 can_build_shared=no 13167 fi 13168 ;; 13169 esac 13170 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 13171 # soname into executable. Probably we can add versioning support to 13172 # collect2, so additional links can be useful in future. 13173 if test "$aix_use_runtimelinking" = yes; then 13174 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 13175 # instead of lib<name>.a to let people know that these are not 13176 # typical AIX shared libraries. 13177 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13178 else 13179 # We preserve .a as extension for shared libraries through AIX4.2 13180 # and later when we are not doing run time linking. 13181 library_names_spec='${libname}${release}.a $libname.a' 13182 soname_spec='${libname}${release}${shared_ext}$major' 13183 fi 13184 shlibpath_var=LIBPATH 13185 fi 13186 ;; 13187 13188 amigaos*) 13189 library_names_spec='$libname.ixlibrary $libname.a' 13190 # Create ${libname}_ixlibrary.a entries in /sys/libs. 13191 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' 13192 ;; 13193 13194 beos*) 13195 library_names_spec='${libname}${shared_ext}' 13196 dynamic_linker="$host_os ld.so" 13197 shlibpath_var=LIBRARY_PATH 13198 ;; 13199 13200 bsdi[45]*) 13201 version_type=linux 13202 need_version=no 13203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13204 soname_spec='${libname}${release}${shared_ext}$major' 13205 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 13206 shlibpath_var=LD_LIBRARY_PATH 13207 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 13208 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 13209 # the default ld.so.conf also contains /usr/contrib/lib and 13210 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 13211 # libtool to hard-code these into programs 13212 ;; 13213 13214 cygwin* | mingw* | pw32*) 13215 version_type=windows 13216 shrext_cmds=".dll" 13217 need_version=no 13218 need_lib_prefix=no 13219 13220 case $GCC,$host_os in 13221 yes,cygwin* | yes,mingw* | yes,pw32*) 13222 library_names_spec='$libname.dll.a' 13223 # DLL is installed to $(libdir)/../bin by postinstall_cmds 13224 postinstall_cmds='base_file=`basename \${file}`~ 13225 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ 13226 dldir=$destdir/`dirname \$dlpath`~ 13227 test -d \$dldir || mkdir -p \$dldir~ 13228 $install_prog $dir/$dlname \$dldir/$dlname~ 13229 chmod a+x \$dldir/$dlname' 13230 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 13231 dlpath=$dir/\$dldll~ 13232 $rm \$dlpath' 13233 shlibpath_overrides_runpath=yes 13234 13235 case $host_os in 13236 cygwin*) 13237 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 13238 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 13239 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 13240 ;; 13241 mingw*) 13242 # MinGW DLLs use traditional 'lib' prefix 13243 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 13244 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 13245 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then 13246 # It is most probably a Windows format PATH printed by 13247 # mingw gcc, but we are running on Cygwin. Gcc prints its search 13248 # path with ; separators, and with drive letters. We can handle the 13249 # drive letters (cygwin fileutils understands them), so leave them, 13250 # especially as we might pass files found there to a mingw objdump, 13251 # which wouldn't understand a cygwinified path. Ahh. 13252 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 13253 else 13254 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 13255 fi 13256 ;; 13257 pw32*) 13258 # pw32 DLLs use 'pw' prefix rather than 'lib' 13259 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 13260 ;; 13261 esac 13262 ;; 13263 13264 *) 13265 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 13266 ;; 13267 esac 13268 dynamic_linker='Win32 ld.exe' 13269 # FIXME: first we should search . and the directory the executable is in 13270 shlibpath_var=PATH 13271 ;; 13272 13273 darwin* | rhapsody*) 13274 dynamic_linker="$host_os dyld" 13275 version_type=darwin 13276 need_lib_prefix=no 13277 need_version=no 13278 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 13279 soname_spec='${libname}${release}${major}$shared_ext' 13280 shlibpath_overrides_runpath=yes 13281 shlibpath_var=DYLD_LIBRARY_PATH 13282 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 13283 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 13284 if test "$GCC" = yes; then 13285 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 13286 else 13287 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 13288 fi 13289 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 13290 ;; 13291 13292 dgux*) 13293 version_type=linux 13294 need_lib_prefix=no 13295 need_version=no 13296 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 13297 soname_spec='${libname}${release}${shared_ext}$major' 13298 shlibpath_var=LD_LIBRARY_PATH 13299 ;; 13300 13301 freebsd1*) 13302 dynamic_linker=no 13303 ;; 13304 13305 kfreebsd*-gnu) 13306 version_type=linux 13307 need_lib_prefix=no 13308 need_version=no 13309 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 13310 soname_spec='${libname}${release}${shared_ext}$major' 13311 shlibpath_var=LD_LIBRARY_PATH 13312 shlibpath_overrides_runpath=no 13313 hardcode_into_libs=yes 13314 dynamic_linker='GNU ld.so' 13315 ;; 13316 13317 freebsd* | dragonfly*) 13318 # DragonFly does not have aout. When/if they implement a new 13319 # versioning mechanism, adjust this. 13320 if test -x /usr/bin/objformat; then 13321 objformat=`/usr/bin/objformat` 13322 else 13323 case $host_os in 13324 freebsd[123]*) objformat=aout ;; 13325 *) objformat=elf ;; 13326 esac 13327 fi 13328 version_type=freebsd-$objformat 13329 case $version_type in 13330 freebsd-elf*) 13331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 13332 need_version=no 13333 need_lib_prefix=no 13334 ;; 13335 freebsd-*) 13336 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 13337 need_version=yes 13338 ;; 13339 esac 13340 shlibpath_var=LD_LIBRARY_PATH 13341 case $host_os in 13342 freebsd2*) 13343 shlibpath_overrides_runpath=yes 13344 ;; 13345 freebsd3.[01]* | freebsdelf3.[01]*) 13346 shlibpath_overrides_runpath=yes 13347 hardcode_into_libs=yes 13348 ;; 13349 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 13350 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 13351 shlibpath_overrides_runpath=no 13352 hardcode_into_libs=yes 13353 ;; 13354 freebsd*) # from 4.6 on 13355 shlibpath_overrides_runpath=yes 13356 hardcode_into_libs=yes 13357 ;; 13358 esac 13359 ;; 13360 13361 gnu*) 13362 version_type=linux 13363 need_lib_prefix=no 13364 need_version=no 13365 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 13366 soname_spec='${libname}${release}${shared_ext}$major' 13367 shlibpath_var=LD_LIBRARY_PATH 13368 hardcode_into_libs=yes 13369 ;; 13370 13371 hpux9* | hpux10* | hpux11*) 13372 # Give a soname corresponding to the major version so that dld.sl refuses to 13373 # link against other versions. 13374 version_type=sunos 13375 need_lib_prefix=no 13376 need_version=no 13377 case $host_cpu in 13378 ia64*) 13379 shrext_cmds='.so' 13380 hardcode_into_libs=yes 13381 dynamic_linker="$host_os dld.so" 13382 shlibpath_var=LD_LIBRARY_PATH 13383 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 13384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13385 soname_spec='${libname}${release}${shared_ext}$major' 13386 if test "X$HPUX_IA64_MODE" = X32; then 13387 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 13388 else 13389 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 13390 fi 13391 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 13392 ;; 13393 hppa*64*) 13394 shrext_cmds='.sl' 13395 hardcode_into_libs=yes 13396 dynamic_linker="$host_os dld.sl" 13397 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 13398 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 13399 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13400 soname_spec='${libname}${release}${shared_ext}$major' 13401 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 13402 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 13403 ;; 13404 *) 13405 shrext_cmds='.sl' 13406 dynamic_linker="$host_os dld.sl" 13407 shlibpath_var=SHLIB_PATH 13408 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 13409 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13410 soname_spec='${libname}${release}${shared_ext}$major' 13411 ;; 13412 esac 13413 # HP-UX runs *really* slowly unless shared libraries are mode 555. 13414 postinstall_cmds='chmod 555 $lib' 13415 ;; 13416 13417 interix3*) 13418 version_type=linux 13419 need_lib_prefix=no 13420 need_version=no 13421 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 13422 soname_spec='${libname}${release}${shared_ext}$major' 13423 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 13424 shlibpath_var=LD_LIBRARY_PATH 13425 shlibpath_overrides_runpath=no 13426 hardcode_into_libs=yes 13427 ;; 13428 13429 irix5* | irix6* | nonstopux*) 13430 case $host_os in 13431 nonstopux*) version_type=nonstopux ;; 13432 *) 13433 if test "$lt_cv_prog_gnu_ld" = yes; then 13434 version_type=linux 13435 else 13436 version_type=irix 13437 fi ;; 13438 esac 13439 need_lib_prefix=no 13440 need_version=no 13441 soname_spec='${libname}${release}${shared_ext}$major' 13442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 13443 case $host_os in 13444 irix5* | nonstopux*) 13445 libsuff= shlibsuff= 13446 ;; 13447 *) 13448 case $LD in # libtool.m4 will add one of these switches to LD 13449 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 13450 libsuff= shlibsuff= libmagic=32-bit;; 13451 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 13452 libsuff=32 shlibsuff=N32 libmagic=N32;; 13453 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 13454 libsuff=64 shlibsuff=64 libmagic=64-bit;; 13455 *) libsuff= shlibsuff= libmagic=never-match;; 13456 esac 13457 ;; 13458 esac 13459 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 13460 shlibpath_overrides_runpath=no 13461 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 13462 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 13463 hardcode_into_libs=yes 13464 ;; 13465 13466 # No shared lib support for Linux oldld, aout, or coff. 13467 linux*oldld* | linux*aout* | linux*coff*) 13468 dynamic_linker=no 13469 ;; 13470 13471 # This must be Linux ELF. 13472 linux*) 13473 version_type=linux 13474 need_lib_prefix=no 13475 need_version=no 13476 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13477 soname_spec='${libname}${release}${shared_ext}$major' 13478 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 13479 shlibpath_var=LD_LIBRARY_PATH 13480 shlibpath_overrides_runpath=no 13481 # This implies no fast_install, which is unacceptable. 13482 # Some rework will be needed to allow for fast_install 13483 # before this can be enabled. 13484 hardcode_into_libs=yes 13485 13486 # Append ld.so.conf contents to the search path 13487 if test -f /etc/ld.so.conf; then 13488 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` 13489 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 13490 fi 13491 13492 # We used to test for /lib/ld.so.1 and disable shared libraries on 13493 # powerpc, because MkLinux only supported shared libraries with the 13494 # GNU dynamic linker. Since this was broken with cross compilers, 13495 # most powerpc-linux boxes support dynamic linking these days and 13496 # people can always --disable-shared, the test was removed, and we 13497 # assume the GNU/Linux dynamic linker is in use. 13498 dynamic_linker='GNU/Linux ld.so' 13499 ;; 13500 13501 knetbsd*-gnu) 13502 version_type=linux 13503 need_lib_prefix=no 13504 need_version=no 13505 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 13506 soname_spec='${libname}${release}${shared_ext}$major' 13507 shlibpath_var=LD_LIBRARY_PATH 13508 shlibpath_overrides_runpath=no 13509 hardcode_into_libs=yes 13510 dynamic_linker='GNU ld.so' 13511 ;; 13512 13513 netbsd*) 13514 version_type=sunos 13515 need_lib_prefix=no 13516 need_version=no 13517 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 13518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 13519 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 13520 dynamic_linker='NetBSD (a.out) ld.so' 13521 else 13522 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 13523 soname_spec='${libname}${release}${shared_ext}$major' 13524 dynamic_linker='NetBSD ld.elf_so' 13525 fi 13526 shlibpath_var=LD_LIBRARY_PATH 13527 shlibpath_overrides_runpath=yes 13528 hardcode_into_libs=yes 13529 ;; 13530 13531 newsos6) 13532 version_type=linux 13533 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13534 shlibpath_var=LD_LIBRARY_PATH 13535 shlibpath_overrides_runpath=yes 13536 ;; 13537 13538 nto-qnx*) 13539 version_type=linux 13540 need_lib_prefix=no 13541 need_version=no 13542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13543 soname_spec='${libname}${release}${shared_ext}$major' 13544 shlibpath_var=LD_LIBRARY_PATH 13545 shlibpath_overrides_runpath=yes 13546 ;; 13547 13548 openbsd*) 13549 version_type=sunos 13550 sys_lib_dlsearch_path_spec="/usr/lib" 13551 need_lib_prefix=no 13552 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 13553 case $host_os in 13554 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 13555 *) need_version=no ;; 13556 esac 13557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 13558 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 13559 shlibpath_var=LD_LIBRARY_PATH 13560 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 13561 case $host_os in 13562 openbsd2.[89] | openbsd2.[89].*) 13563 shlibpath_overrides_runpath=no 13564 ;; 13565 *) 13566 shlibpath_overrides_runpath=yes 13567 ;; 13568 esac 13569 else 13570 shlibpath_overrides_runpath=yes 13571 fi 13572 ;; 13573 13574 os2*) 13575 libname_spec='$name' 13576 shrext_cmds=".dll" 13577 need_lib_prefix=no 13578 library_names_spec='$libname${shared_ext} $libname.a' 13579 dynamic_linker='OS/2 ld.exe' 13580 shlibpath_var=LIBPATH 13581 ;; 13582 13583 osf3* | osf4* | osf5*) 13584 version_type=osf 13585 need_lib_prefix=no 13586 need_version=no 13587 soname_spec='${libname}${release}${shared_ext}$major' 13588 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13589 shlibpath_var=LD_LIBRARY_PATH 13590 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 13591 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 13592 ;; 13593 13594 solaris*) 13595 version_type=linux 13596 need_lib_prefix=no 13597 need_version=no 13598 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13599 soname_spec='${libname}${release}${shared_ext}$major' 13600 shlibpath_var=LD_LIBRARY_PATH 13601 shlibpath_overrides_runpath=yes 13602 hardcode_into_libs=yes 13603 # ldd complains unless libraries are executable 13604 postinstall_cmds='chmod +x $lib' 13605 ;; 13606 13607 sunos4*) 13608 version_type=sunos 13609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 13610 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 13611 shlibpath_var=LD_LIBRARY_PATH 13612 shlibpath_overrides_runpath=yes 13613 if test "$with_gnu_ld" = yes; then 13614 need_lib_prefix=no 13615 fi 13616 need_version=yes 13617 ;; 13618 13619 sysv4 | sysv4.3*) 13620 version_type=linux 13621 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13622 soname_spec='${libname}${release}${shared_ext}$major' 13623 shlibpath_var=LD_LIBRARY_PATH 13624 case $host_vendor in 13625 sni) 13626 shlibpath_overrides_runpath=no 13627 need_lib_prefix=no 13628 export_dynamic_flag_spec='${wl}-Blargedynsym' 13629 runpath_var=LD_RUN_PATH 13630 ;; 13631 siemens) 13632 need_lib_prefix=no 13633 ;; 13634 motorola) 13635 need_lib_prefix=no 13636 need_version=no 13637 shlibpath_overrides_runpath=no 13638 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 13639 ;; 13640 esac 13641 ;; 13642 13643 sysv4*MP*) 13644 if test -d /usr/nec ;then 13645 version_type=linux 13646 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 13647 soname_spec='$libname${shared_ext}.$major' 13648 shlibpath_var=LD_LIBRARY_PATH 13649 fi 13650 ;; 13651 13652 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 13653 version_type=freebsd-elf 13654 need_lib_prefix=no 13655 need_version=no 13656 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 13657 soname_spec='${libname}${release}${shared_ext}$major' 13658 shlibpath_var=LD_LIBRARY_PATH 13659 hardcode_into_libs=yes 13660 if test "$with_gnu_ld" = yes; then 13661 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 13662 shlibpath_overrides_runpath=no 13663 else 13664 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 13665 shlibpath_overrides_runpath=yes 13666 case $host_os in 13667 sco3.2v5*) 13668 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 13669 ;; 13670 esac 13671 fi 13672 sys_lib_dlsearch_path_spec='/usr/lib' 13673 ;; 13674 13675 uts4*) 13676 version_type=linux 13677 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 13678 soname_spec='${libname}${release}${shared_ext}$major' 13679 shlibpath_var=LD_LIBRARY_PATH 13680 ;; 13681 13682 *) 13683 dynamic_linker=no 13684 ;; 13685 esac 13686 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 13687 echo "${ECHO_T}$dynamic_linker" >&6; } 13688 test "$dynamic_linker" = no && can_build_shared=no 13689 13690 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 13691 if test "$GCC" = yes; then 13692 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 13693 fi 13694 13695 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 13696 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } 13697 hardcode_action_CXX= 13698 if test -n "$hardcode_libdir_flag_spec_CXX" || \ 13699 test -n "$runpath_var_CXX" || \ 13700 test "X$hardcode_automatic_CXX" = "Xyes" ; then 13701 13702 # We can hardcode non-existant directories. 13703 if test "$hardcode_direct_CXX" != no && 13704 # If the only mechanism to avoid hardcoding is shlibpath_var, we 13705 # have to relink, otherwise we might link with an installed library 13706 # when we should be linking with a yet-to-be-installed one 13707 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && 13708 test "$hardcode_minus_L_CXX" != no; then 13709 # Linking always hardcodes the temporary library directory. 13710 hardcode_action_CXX=relink 13711 else 13712 # We can link without hardcoding, and we can hardcode nonexisting dirs. 13713 hardcode_action_CXX=immediate 13714 fi 13715 else 13716 # We cannot hardcode anything, or else we can only hardcode existing 13717 # directories. 13718 hardcode_action_CXX=unsupported 13719 fi 13720 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 13721 echo "${ECHO_T}$hardcode_action_CXX" >&6; } 13722 13723 if test "$hardcode_action_CXX" = relink; then 13724 # Fast installation is not supported 13725 enable_fast_install=no 13726 elif test "$shlibpath_overrides_runpath" = yes || 13727 test "$enable_shared" = no; then 13728 # Fast installation is not necessary 13729 enable_fast_install=needless 13730 fi 13731 13732 13733 # The else clause should only fire when bootstrapping the 13734 # libtool distribution, otherwise you forgot to ship ltmain.sh 13735 # with your package, and you will get complaints that there are 13736 # no rules to generate ltmain.sh. 13737 if test -f "$ltmain"; then 13738 # See if we are running on zsh, and set the options which allow our commands through 13739 # without removal of \ escapes. 13740 if test -n "${ZSH_VERSION+set}" ; then 13741 setopt NO_GLOB_SUBST 13742 fi 13743 # Now quote all the things that may contain metacharacters while being 13744 # careful not to overquote the AC_SUBSTed values. We take copies of the 13745 # variables and quote the copies for generation of the libtool script. 13746 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ 13747 SED SHELL STRIP \ 13748 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 13749 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ 13750 deplibs_check_method reload_flag reload_cmds need_locks \ 13751 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ 13752 lt_cv_sys_global_symbol_to_c_name_address \ 13753 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ 13754 old_postinstall_cmds old_postuninstall_cmds \ 13755 compiler_CXX \ 13756 CC_CXX \ 13757 LD_CXX \ 13758 lt_prog_compiler_wl_CXX \ 13759 lt_prog_compiler_pic_CXX \ 13760 lt_prog_compiler_static_CXX \ 13761 lt_prog_compiler_no_builtin_flag_CXX \ 13762 export_dynamic_flag_spec_CXX \ 13763 thread_safe_flag_spec_CXX \ 13764 whole_archive_flag_spec_CXX \ 13765 enable_shared_with_static_runtimes_CXX \ 13766 old_archive_cmds_CXX \ 13767 old_archive_from_new_cmds_CXX \ 13768 predep_objects_CXX \ 13769 postdep_objects_CXX \ 13770 predeps_CXX \ 13771 postdeps_CXX \ 13772 compiler_lib_search_path_CXX \ 13773 archive_cmds_CXX \ 13774 archive_expsym_cmds_CXX \ 13775 postinstall_cmds_CXX \ 13776 postuninstall_cmds_CXX \ 13777 old_archive_from_expsyms_cmds_CXX \ 13778 allow_undefined_flag_CXX \ 13779 no_undefined_flag_CXX \ 13780 export_symbols_cmds_CXX \ 13781 hardcode_libdir_flag_spec_CXX \ 13782 hardcode_libdir_flag_spec_ld_CXX \ 13783 hardcode_libdir_separator_CXX \ 13784 hardcode_automatic_CXX \ 13785 module_cmds_CXX \ 13786 module_expsym_cmds_CXX \ 13787 lt_cv_prog_compiler_c_o_CXX \ 13788 exclude_expsyms_CXX \ 13789 include_expsyms_CXX; do 13790 13791 case $var in 13792 old_archive_cmds_CXX | \ 13793 old_archive_from_new_cmds_CXX | \ 13794 archive_cmds_CXX | \ 13795 archive_expsym_cmds_CXX | \ 13796 module_cmds_CXX | \ 13797 module_expsym_cmds_CXX | \ 13798 old_archive_from_expsyms_cmds_CXX | \ 13799 export_symbols_cmds_CXX | \ 13800 extract_expsyms_cmds | reload_cmds | finish_cmds | \ 13801 postinstall_cmds | postuninstall_cmds | \ 13802 old_postinstall_cmds | old_postuninstall_cmds | \ 13803 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) 13804 # Double-quote double-evaled strings. 13805 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" 13806 ;; 13807 *) 13808 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" 13809 ;; 13810 esac 13811 done 13812 13813 case $lt_echo in 13814 *'\$0 --fallback-echo"') 13815 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` 13816 ;; 13817 esac 13818 13819 cfgfile="$ofile" 13820 13821 cat <<__EOF__ >> "$cfgfile" 13822 # ### BEGIN LIBTOOL TAG CONFIG: $tagname 13823 13824 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 13825 13826 # Shell to use when invoking shell scripts. 13827 SHELL=$lt_SHELL 13828 13829 # Whether or not to build shared libraries. 13830 build_libtool_libs=$enable_shared 13831 13832 # Whether or not to build static libraries. 13833 build_old_libs=$enable_static 13834 13835 # Whether or not to add -lc for building shared libraries. 13836 build_libtool_need_lc=$archive_cmds_need_lc_CXX 13837 13838 # Whether or not to disallow shared libs when runtime libs are static 13839 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 13840 13841 # Whether or not to optimize for fast installation. 13842 fast_install=$enable_fast_install 13843 13844 # The host system. 13845 host_alias=$host_alias 13846 host=$host 13847 host_os=$host_os 13848 13849 # The build system. 13850 build_alias=$build_alias 13851 build=$build 13852 build_os=$build_os 13853 13854 # An echo program that does not interpret backslashes. 13855 echo=$lt_echo 13856 13857 # The archiver. 13858 AR=$lt_AR 13859 AR_FLAGS=$lt_AR_FLAGS 13860 13861 # A C compiler. 13862 LTCC=$lt_LTCC 13863 13864 # LTCC compiler flags. 13865 LTCFLAGS=$lt_LTCFLAGS 13866 13867 # A language-specific compiler. 13868 CC=$lt_compiler_CXX 13869 13870 # Is the compiler the GNU C compiler? 13871 with_gcc=$GCC_CXX 13872 13873 # An ERE matcher. 13874 EGREP=$lt_EGREP 13875 13876 # The linker used to build libraries. 13877 LD=$lt_LD_CXX 13878 13879 # Whether we need hard or soft links. 13880 LN_S=$lt_LN_S 13881 13882 # A BSD-compatible nm program. 13883 NM=$lt_NM 13884 13885 # A symbol stripping program 13886 STRIP=$lt_STRIP 13887 13888 # Used to examine libraries when file_magic_cmd begins "file" 13889 MAGIC_CMD=$MAGIC_CMD 13890 13891 # Used on cygwin: DLL creation program. 13892 DLLTOOL="$DLLTOOL" 13893 13894 # Used on cygwin: object dumper. 13895 OBJDUMP="$OBJDUMP" 13896 13897 # Used on cygwin: assembler. 13898 AS="$AS" 13899 13900 # The name of the directory that contains temporary libtool files. 13901 objdir=$objdir 13902 13903 # How to create reloadable object files. 13904 reload_flag=$lt_reload_flag 13905 reload_cmds=$lt_reload_cmds 13906 13907 # How to pass a linker flag through the compiler. 13908 wl=$lt_lt_prog_compiler_wl_CXX 13909 13910 # Object file suffix (normally "o"). 13911 objext="$ac_objext" 13912 13913 # Old archive suffix (normally "a"). 13914 libext="$libext" 13915 13916 # Shared library suffix (normally ".so"). 13917 shrext_cmds='$shrext_cmds' 13918 13919 # Executable file suffix (normally ""). 13920 exeext="$exeext" 13921 13922 # Additional compiler flags for building library objects. 13923 pic_flag=$lt_lt_prog_compiler_pic_CXX 13924 pic_mode=$pic_mode 13925 13926 # What is the maximum length of a command? 13927 max_cmd_len=$lt_cv_sys_max_cmd_len 13928 13929 # Does compiler simultaneously support -c and -o options? 13930 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 13931 13932 # Must we lock files when doing compilation? 13933 need_locks=$lt_need_locks 13934 13935 # Do we need the lib prefix for modules? 13936 need_lib_prefix=$need_lib_prefix 13937 13938 # Do we need a version for libraries? 13939 need_version=$need_version 13940 13941 # Whether dlopen is supported. 13942 dlopen_support=$enable_dlopen 13943 13944 # Whether dlopen of programs is supported. 13945 dlopen_self=$enable_dlopen_self 13946 13947 # Whether dlopen of statically linked programs is supported. 13948 dlopen_self_static=$enable_dlopen_self_static 13949 13950 # Compiler flag to prevent dynamic linking. 13951 link_static_flag=$lt_lt_prog_compiler_static_CXX 13952 13953 # Compiler flag to turn off builtin functions. 13954 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 13955 13956 # Compiler flag to allow reflexive dlopens. 13957 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 13958 13959 # Compiler flag to generate shared objects directly from archives. 13960 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 13961 13962 # Compiler flag to generate thread-safe objects. 13963 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX 13964 13965 # Library versioning type. 13966 version_type=$version_type 13967 13968 # Format of library name prefix. 13969 libname_spec=$lt_libname_spec 13970 13971 # List of archive names. First name is the real one, the rest are links. 13972 # The last name is the one that the linker finds with -lNAME. 13973 library_names_spec=$lt_library_names_spec 13974 13975 # The coded name of the library, if different from the real name. 13976 soname_spec=$lt_soname_spec 13977 13978 # Commands used to build and install an old-style archive. 13979 RANLIB=$lt_RANLIB 13980 old_archive_cmds=$lt_old_archive_cmds_CXX 13981 old_postinstall_cmds=$lt_old_postinstall_cmds 13982 old_postuninstall_cmds=$lt_old_postuninstall_cmds 13983 13984 # Create an old-style archive from a shared archive. 13985 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 13986 13987 # Create a temporary old-style archive to link instead of a shared archive. 13988 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 13989 13990 # Commands used to build and install a shared archive. 13991 archive_cmds=$lt_archive_cmds_CXX 13992 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 13993 postinstall_cmds=$lt_postinstall_cmds 13994 postuninstall_cmds=$lt_postuninstall_cmds 13995 13996 # Commands used to build a loadable module (assumed same as above if empty) 13997 module_cmds=$lt_module_cmds_CXX 13998 module_expsym_cmds=$lt_module_expsym_cmds_CXX 13999 14000 # Commands to strip libraries. 14001 old_striplib=$lt_old_striplib 14002 striplib=$lt_striplib 14003 14004 # Dependencies to place before the objects being linked to create a 14005 # shared library. 14006 predep_objects=$lt_predep_objects_CXX 14007 14008 # Dependencies to place after the objects being linked to create a 14009 # shared library. 14010 postdep_objects=$lt_postdep_objects_CXX 14011 14012 # Dependencies to place before the objects being linked to create a 14013 # shared library. 14014 predeps=$lt_predeps_CXX 14015 14016 # Dependencies to place after the objects being linked to create a 14017 # shared library. 14018 postdeps=$lt_postdeps_CXX 14019 14020 # The library search path used internally by the compiler when linking 14021 # a shared library. 14022 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 14023 14024 # Method to check whether dependent libraries are shared objects. 14025 deplibs_check_method=$lt_deplibs_check_method 14026 14027 # Command to use when deplibs_check_method == file_magic. 14028 file_magic_cmd=$lt_file_magic_cmd 14029 14030 # Flag that allows shared libraries with undefined symbols to be built. 14031 allow_undefined_flag=$lt_allow_undefined_flag_CXX 14032 14033 # Flag that forces no undefined symbols. 14034 no_undefined_flag=$lt_no_undefined_flag_CXX 14035 14036 # Commands used to finish a libtool library installation in a directory. 14037 finish_cmds=$lt_finish_cmds 14038 14039 # Same as above, but a single script fragment to be evaled but not shown. 14040 finish_eval=$lt_finish_eval 14041 14042 # Take the output of nm and produce a listing of raw symbols and C names. 14043 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 14044 14045 # Transform the output of nm in a proper C declaration 14046 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 14047 14048 # Transform the output of nm in a C name address pair 14049 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 14050 14051 # This is the shared library runtime path variable. 14052 runpath_var=$runpath_var 14053 14054 # This is the shared library path variable. 14055 shlibpath_var=$shlibpath_var 14056 14057 # Is shlibpath searched before the hard-coded library search path? 14058 shlibpath_overrides_runpath=$shlibpath_overrides_runpath 14059 14060 # How to hardcode a shared library path into an executable. 14061 hardcode_action=$hardcode_action_CXX 14062 14063 # Whether we should hardcode library paths into libraries. 14064 hardcode_into_libs=$hardcode_into_libs 14065 14066 # Flag to hardcode \$libdir into a binary during linking. 14067 # This must work even if \$libdir does not exist. 14068 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 14069 14070 # If ld is used when linking, flag to hardcode \$libdir into 14071 # a binary during linking. This must work even if \$libdir does 14072 # not exist. 14073 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX 14074 14075 # Whether we need a single -rpath flag with a separated argument. 14076 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 14077 14078 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the 14079 # resulting binary. 14080 hardcode_direct=$hardcode_direct_CXX 14081 14082 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the 14083 # resulting binary. 14084 hardcode_minus_L=$hardcode_minus_L_CXX 14085 14086 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into 14087 # the resulting binary. 14088 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 14089 14090 # Set to yes if building a shared library automatically hardcodes DIR into the library 14091 # and all subsequent libraries and executables linked against it. 14092 hardcode_automatic=$hardcode_automatic_CXX 14093 14094 # Variables whose values should be saved in libtool wrapper scripts and 14095 # restored at relink time. 14096 variables_saved_for_relink="$variables_saved_for_relink" 14097 14098 # Whether libtool must link a program against all its dependency libraries. 14099 link_all_deplibs=$link_all_deplibs_CXX 14100 14101 # Compile-time system search path for libraries 14102 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 14103 14104 # Run-time system search path for libraries 14105 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 14106 14107 # Fix the shell variable \$srcfile for the compiler. 14108 fix_srcfile_path="$fix_srcfile_path_CXX" 14109 14110 # Set to yes if exported symbols are required. 14111 always_export_symbols=$always_export_symbols_CXX 14112 14113 # The commands to list exported symbols. 14114 export_symbols_cmds=$lt_export_symbols_cmds_CXX 14115 14116 # The commands to extract the exported symbol list from a shared archive. 14117 extract_expsyms_cmds=$lt_extract_expsyms_cmds 14118 14119 # Symbols that should not be listed in the preloaded symbols. 14120 exclude_expsyms=$lt_exclude_expsyms_CXX 14121 14122 # Symbols that must always be exported. 14123 include_expsyms=$lt_include_expsyms_CXX 14124 14125 # ### END LIBTOOL TAG CONFIG: $tagname 14126 14127 __EOF__ 14128 14129 14130 else 14131 # If there is no Makefile yet, we rely on a make rule to execute 14132 # `config.status --recheck' to rerun these tests and create the 14133 # libtool script then. 14134 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 14135 if test -f "$ltmain_in"; then 14136 test -f Makefile && make "$ltmain" 14137 fi 14138 fi 14139 14140 14141 ac_ext=c 14142 ac_cpp='$CPP $CPPFLAGS' 14143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14145 ac_compiler_gnu=$ac_cv_c_compiler_gnu 14146 14147 CC=$lt_save_CC 14148 LDCXX=$LD 14149 LD=$lt_save_LD 14150 GCC=$lt_save_GCC 14151 with_gnu_ldcxx=$with_gnu_ld 14152 with_gnu_ld=$lt_save_with_gnu_ld 14153 lt_cv_path_LDCXX=$lt_cv_path_LD 14154 lt_cv_path_LD=$lt_save_path_LD 14155 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 14156 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 14157 14158 else 14159 tagname="" 14160 fi 14161 ;; 14162 14163 F77) 14164 if test -n "$F77" && test "X$F77" != "Xno"; then 14165 14166 ac_ext=f 14167 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 14168 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14169 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 14170 14171 14172 archive_cmds_need_lc_F77=no 14173 allow_undefined_flag_F77= 14174 always_export_symbols_F77=no 14175 archive_expsym_cmds_F77= 14176 export_dynamic_flag_spec_F77= 14177 hardcode_direct_F77=no 14178 hardcode_libdir_flag_spec_F77= 14179 hardcode_libdir_flag_spec_ld_F77= 14180 hardcode_libdir_separator_F77= 14181 hardcode_minus_L_F77=no 14182 hardcode_automatic_F77=no 14183 module_cmds_F77= 14184 module_expsym_cmds_F77= 14185 link_all_deplibs_F77=unknown 14186 old_archive_cmds_F77=$old_archive_cmds 14187 no_undefined_flag_F77= 14188 whole_archive_flag_spec_F77= 14189 enable_shared_with_static_runtimes_F77=no 14190 14191 # Source file extension for f77 test sources. 14192 ac_ext=f 14193 14194 # Object file extension for compiled f77 test sources. 14195 objext=o 14196 objext_F77=$objext 14197 14198 # Code to be used in simple compile tests 14199 lt_simple_compile_test_code=" subroutine t\n return\n end\n" 14200 14201 # Code to be used in simple link tests 14202 lt_simple_link_test_code=" program t\n end\n" 14203 14204 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 14205 14206 # If no C compiler was specified, use CC. 14207 LTCC=${LTCC-"$CC"} 14208 14209 # If no C compiler flags were specified, use CFLAGS. 14210 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 14211 14212 # Allow CC to be a program name with arguments. 14213 compiler=$CC 14214 14215 14216 # save warnings/boilerplate of simple test code 14217 ac_outfile=conftest.$ac_objext 14218 printf "$lt_simple_compile_test_code" >conftest.$ac_ext 14219 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 14220 _lt_compiler_boilerplate=`cat conftest.err` 14221 $rm conftest* 14222 14223 ac_outfile=conftest.$ac_objext 14224 printf "$lt_simple_link_test_code" >conftest.$ac_ext 14225 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 14226 _lt_linker_boilerplate=`cat conftest.err` 14227 $rm conftest* 14228 14229 14230 # Allow CC to be a program name with arguments. 14231 lt_save_CC="$CC" 14232 CC=${F77-"f77"} 14233 compiler=$CC 14234 compiler_F77=$CC 14235 for cc_temp in $compiler""; do 14236 case $cc_temp in 14237 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 14238 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 14239 \-*) ;; 14240 *) break;; 14241 esac 14242 done 14243 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 14244 14245 14246 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 14247 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } 14248 { echo "$as_me:$LINENO: result: $can_build_shared" >&5 14249 echo "${ECHO_T}$can_build_shared" >&6; } 14250 14251 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 14252 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } 14253 test "$can_build_shared" = "no" && enable_shared=no 14254 14255 # On AIX, shared libraries and static libraries use the same namespace, and 14256 # are all built from PIC. 14257 case $host_os in 14258 aix3*) 14259 test "$enable_shared" = yes && enable_static=no 14260 if test -n "$RANLIB"; then 14261 archive_cmds="$archive_cmds~\$RANLIB \$lib" 14262 postinstall_cmds='$RANLIB $lib' 14263 fi 14264 ;; 14265 aix4* | aix5*) 14266 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 14267 test "$enable_shared" = yes && enable_static=no 14268 fi 14269 ;; 14270 esac 14271 { echo "$as_me:$LINENO: result: $enable_shared" >&5 14272 echo "${ECHO_T}$enable_shared" >&6; } 14273 14274 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5 14275 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } 14276 # Make sure either enable_shared or enable_static is yes. 14277 test "$enable_shared" = yes || enable_static=yes 14278 { echo "$as_me:$LINENO: result: $enable_static" >&5 14279 echo "${ECHO_T}$enable_static" >&6; } 14280 14281 GCC_F77="$G77" 14282 LD_F77="$LD" 14283 14284 lt_prog_compiler_wl_F77= 14285 lt_prog_compiler_pic_F77= 14286 lt_prog_compiler_static_F77= 14287 14288 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 14289 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } 14290 14291 if test "$GCC" = yes; then 14292 lt_prog_compiler_wl_F77='-Wl,' 14293 lt_prog_compiler_static_F77='-static' 14294 14295 case $host_os in 14296 aix*) 14297 # All AIX code is PIC. 14298 if test "$host_cpu" = ia64; then 14299 # AIX 5 now supports IA64 processor 14300 lt_prog_compiler_static_F77='-Bstatic' 14301 fi 14302 ;; 14303 14304 amigaos*) 14305 # FIXME: we need at least 68020 code to build shared libraries, but 14306 # adding the `-m68020' flag to GCC prevents building anything better, 14307 # like `-m68040'. 14308 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4' 14309 ;; 14310 14311 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 14312 # PIC is the default for these OSes. 14313 ;; 14314 14315 mingw* | pw32* | os2*) 14316 # This hack is so that the source file can tell whether it is being 14317 # built for inclusion in a dll (and should export symbols for example). 14318 lt_prog_compiler_pic_F77='-DDLL_EXPORT' 14319 ;; 14320 14321 darwin* | rhapsody*) 14322 # PIC is the default on this platform 14323 # Common symbols not allowed in MH_DYLIB files 14324 lt_prog_compiler_pic_F77='-fno-common' 14325 ;; 14326 14327 interix3*) 14328 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 14329 # Instead, we relocate shared libraries at runtime. 14330 ;; 14331 14332 msdosdjgpp*) 14333 # Just because we use GCC doesn't mean we suddenly get shared libraries 14334 # on systems that don't support them. 14335 lt_prog_compiler_can_build_shared_F77=no 14336 enable_shared=no 14337 ;; 14338 14339 sysv4*MP*) 14340 if test -d /usr/nec; then 14341 lt_prog_compiler_pic_F77=-Kconform_pic 14342 fi 14343 ;; 14344 14345 hpux*) 14346 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 14347 # not for PA HP-UX. 14348 case $host_cpu in 14349 hppa*64*|ia64*) 14350 # +Z the default 14351 ;; 14352 *) 14353 lt_prog_compiler_pic_F77='-fPIC' 14354 ;; 14355 esac 14356 ;; 14357 14358 *) 14359 lt_prog_compiler_pic_F77='-fPIC' 14360 ;; 14361 esac 14362 else 14363 # PORTME Check for flag to pass linker flags through the system compiler. 14364 case $host_os in 14365 aix*) 14366 lt_prog_compiler_wl_F77='-Wl,' 14367 if test "$host_cpu" = ia64; then 14368 # AIX 5 now supports IA64 processor 14369 lt_prog_compiler_static_F77='-Bstatic' 14370 else 14371 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' 14372 fi 14373 ;; 14374 darwin*) 14375 # PIC is the default on this platform 14376 # Common symbols not allowed in MH_DYLIB files 14377 case $cc_basename in 14378 xlc*) 14379 lt_prog_compiler_pic_F77='-qnocommon' 14380 lt_prog_compiler_wl_F77='-Wl,' 14381 ;; 14382 esac 14383 ;; 14384 14385 mingw* | pw32* | os2*) 14386 # This hack is so that the source file can tell whether it is being 14387 # built for inclusion in a dll (and should export symbols for example). 14388 lt_prog_compiler_pic_F77='-DDLL_EXPORT' 14389 ;; 14390 14391 hpux9* | hpux10* | hpux11*) 14392 lt_prog_compiler_wl_F77='-Wl,' 14393 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 14394 # not for PA HP-UX. 14395 case $host_cpu in 14396 hppa*64*|ia64*) 14397 # +Z the default 14398 ;; 14399 *) 14400 lt_prog_compiler_pic_F77='+Z' 14401 ;; 14402 esac 14403 # Is there a better lt_prog_compiler_static that works with the bundled CC? 14404 lt_prog_compiler_static_F77='${wl}-a ${wl}archive' 14405 ;; 14406 14407 irix5* | irix6* | nonstopux*) 14408 lt_prog_compiler_wl_F77='-Wl,' 14409 # PIC (with -KPIC) is the default. 14410 lt_prog_compiler_static_F77='-non_shared' 14411 ;; 14412 14413 newsos6) 14414 lt_prog_compiler_pic_F77='-KPIC' 14415 lt_prog_compiler_static_F77='-Bstatic' 14416 ;; 14417 14418 linux*) 14419 case $cc_basename in 14420 icc* | ecc*) 14421 lt_prog_compiler_wl_F77='-Wl,' 14422 lt_prog_compiler_pic_F77='-KPIC' 14423 lt_prog_compiler_static_F77='-static' 14424 ;; 14425 pgcc* | pgf77* | pgf90* | pgf95*) 14426 # Portland Group compilers (*not* the Pentium gcc compiler, 14427 # which looks to be a dead project) 14428 lt_prog_compiler_wl_F77='-Wl,' 14429 lt_prog_compiler_pic_F77='-fpic' 14430 lt_prog_compiler_static_F77='-Bstatic' 14431 ;; 14432 ccc*) 14433 lt_prog_compiler_wl_F77='-Wl,' 14434 # All Alpha code is PIC. 14435 lt_prog_compiler_static_F77='-non_shared' 14436 ;; 14437 esac 14438 ;; 14439 14440 osf3* | osf4* | osf5*) 14441 lt_prog_compiler_wl_F77='-Wl,' 14442 # All OSF/1 code is PIC. 14443 lt_prog_compiler_static_F77='-non_shared' 14444 ;; 14445 14446 solaris*) 14447 lt_prog_compiler_pic_F77='-KPIC' 14448 lt_prog_compiler_static_F77='-Bstatic' 14449 case $cc_basename in 14450 f77* | f90* | f95*) 14451 lt_prog_compiler_wl_F77='-Qoption ld ';; 14452 *) 14453 lt_prog_compiler_wl_F77='-Wl,';; 14454 esac 14455 ;; 14456 14457 sunos4*) 14458 lt_prog_compiler_wl_F77='-Qoption ld ' 14459 lt_prog_compiler_pic_F77='-PIC' 14460 lt_prog_compiler_static_F77='-Bstatic' 14461 ;; 14462 14463 sysv4 | sysv4.2uw2* | sysv4.3*) 14464 lt_prog_compiler_wl_F77='-Wl,' 14465 lt_prog_compiler_pic_F77='-KPIC' 14466 lt_prog_compiler_static_F77='-Bstatic' 14467 ;; 14468 14469 sysv4*MP*) 14470 if test -d /usr/nec ;then 14471 lt_prog_compiler_pic_F77='-Kconform_pic' 14472 lt_prog_compiler_static_F77='-Bstatic' 14473 fi 14474 ;; 14475 14476 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 14477 lt_prog_compiler_wl_F77='-Wl,' 14478 lt_prog_compiler_pic_F77='-KPIC' 14479 lt_prog_compiler_static_F77='-Bstatic' 14480 ;; 14481 14482 unicos*) 14483 lt_prog_compiler_wl_F77='-Wl,' 14484 lt_prog_compiler_can_build_shared_F77=no 14485 ;; 14486 14487 uts4*) 14488 lt_prog_compiler_pic_F77='-pic' 14489 lt_prog_compiler_static_F77='-Bstatic' 14490 ;; 14491 14492 *) 14493 lt_prog_compiler_can_build_shared_F77=no 14494 ;; 14495 esac 14496 fi 14497 14498 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5 14499 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; } 14500 14501 # 14502 # Check to make sure the PIC flag actually works. 14503 # 14504 if test -n "$lt_prog_compiler_pic_F77"; then 14505 14506 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 14507 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; } 14508 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then 14509 echo $ECHO_N "(cached) $ECHO_C" >&6 14510 else 14511 lt_prog_compiler_pic_works_F77=no 14512 ac_outfile=conftest.$ac_objext 14513 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 14514 lt_compiler_flag="$lt_prog_compiler_pic_F77" 14515 # Insert the option either (1) after the last *FLAGS variable, or 14516 # (2) before a word containing "conftest.", or (3) at the end. 14517 # Note that $ac_compile itself does not contain backslashes and begins 14518 # with a dollar sign (not a hyphen), so the echo should work correctly. 14519 # The option is referenced via a variable to avoid confusing sed. 14520 lt_compile=`echo "$ac_compile" | $SED \ 14521 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14522 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14523 -e 's:$: $lt_compiler_flag:'` 14524 (eval echo "\"\$as_me:14524: $lt_compile\"" >&5) 14525 (eval "$lt_compile" 2>conftest.err) 14526 ac_status=$? 14527 cat conftest.err >&5 14528 echo "$as_me:14528: \$? = $ac_status" >&5 14529 if (exit $ac_status) && test -s "$ac_outfile"; then 14530 # The compiler can only warn and ignore the option if not recognized 14531 # So say no if there are warnings other than the usual output. 14532 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 14533 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 14534 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 14535 lt_prog_compiler_pic_works_F77=yes 14536 fi 14537 fi 14538 $rm conftest* 14539 14540 fi 14541 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5 14542 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; } 14543 14544 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then 14545 case $lt_prog_compiler_pic_F77 in 14546 "" | " "*) ;; 14547 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; 14548 esac 14549 else 14550 lt_prog_compiler_pic_F77= 14551 lt_prog_compiler_can_build_shared_F77=no 14552 fi 14553 14554 fi 14555 case $host_os in 14556 # For platforms which do not support PIC, -DPIC is meaningless: 14557 *djgpp*) 14558 lt_prog_compiler_pic_F77= 14559 ;; 14560 *) 14561 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" 14562 ;; 14563 esac 14564 14565 # 14566 # Check to make sure the static flag actually works. 14567 # 14568 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\" 14569 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 14570 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } 14571 if test "${lt_prog_compiler_static_works_F77+set}" = set; then 14572 echo $ECHO_N "(cached) $ECHO_C" >&6 14573 else 14574 lt_prog_compiler_static_works_F77=no 14575 save_LDFLAGS="$LDFLAGS" 14576 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 14577 printf "$lt_simple_link_test_code" > conftest.$ac_ext 14578 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 14579 # The linker can only warn and ignore the option if not recognized 14580 # So say no if there are warnings 14581 if test -s conftest.err; then 14582 # Append any errors to the config.log. 14583 cat conftest.err 1>&5 14584 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 14585 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 14586 if diff conftest.exp conftest.er2 >/dev/null; then 14587 lt_prog_compiler_static_works_F77=yes 14588 fi 14589 else 14590 lt_prog_compiler_static_works_F77=yes 14591 fi 14592 fi 14593 $rm conftest* 14594 LDFLAGS="$save_LDFLAGS" 14595 14596 fi 14597 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5 14598 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; } 14599 14600 if test x"$lt_prog_compiler_static_works_F77" = xyes; then 14601 : 14602 else 14603 lt_prog_compiler_static_F77= 14604 fi 14605 14606 14607 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 14608 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } 14609 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then 14610 echo $ECHO_N "(cached) $ECHO_C" >&6 14611 else 14612 lt_cv_prog_compiler_c_o_F77=no 14613 $rm -r conftest 2>/dev/null 14614 mkdir conftest 14615 cd conftest 14616 mkdir out 14617 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 14618 14619 lt_compiler_flag="-o out/conftest2.$ac_objext" 14620 # Insert the option either (1) after the last *FLAGS variable, or 14621 # (2) before a word containing "conftest.", or (3) at the end. 14622 # Note that $ac_compile itself does not contain backslashes and begins 14623 # with a dollar sign (not a hyphen), so the echo should work correctly. 14624 lt_compile=`echo "$ac_compile" | $SED \ 14625 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14626 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14627 -e 's:$: $lt_compiler_flag:'` 14628 (eval echo "\"\$as_me:14628: $lt_compile\"" >&5) 14629 (eval "$lt_compile" 2>out/conftest.err) 14630 ac_status=$? 14631 cat out/conftest.err >&5 14632 echo "$as_me:14632: \$? = $ac_status" >&5 14633 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14634 then 14635 # The compiler can only warn and ignore the option if not recognized 14636 # So say no if there are warnings 14637 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 14638 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 14639 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 14640 lt_cv_prog_compiler_c_o_F77=yes 14641 fi 14642 fi 14643 chmod u+w . 2>&5 14644 $rm conftest* 14645 # SGI C++ compiler will create directory out/ii_files/ for 14646 # template instantiation 14647 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 14648 $rm out/* && rmdir out 14649 cd .. 14650 rmdir conftest 14651 $rm conftest* 14652 14653 fi 14654 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5 14655 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; } 14656 14657 14658 hard_links="nottested" 14659 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then 14660 # do not overwrite the value of need_locks provided by the user 14661 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 14662 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } 14663 hard_links=yes 14664 $rm conftest* 14665 ln conftest.a conftest.b 2>/dev/null && hard_links=no 14666 touch conftest.a 14667 ln conftest.a conftest.b 2>&5 || hard_links=no 14668 ln conftest.a conftest.b 2>/dev/null && hard_links=no 14669 { echo "$as_me:$LINENO: result: $hard_links" >&5 14670 echo "${ECHO_T}$hard_links" >&6; } 14671 if test "$hard_links" = no; then 14672 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 14673 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 14674 need_locks=warn 14675 fi 14676 else 14677 need_locks=no 14678 fi 14679 14680 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 14681 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } 14682 14683 runpath_var= 14684 allow_undefined_flag_F77= 14685 enable_shared_with_static_runtimes_F77=no 14686 archive_cmds_F77= 14687 archive_expsym_cmds_F77= 14688 old_archive_From_new_cmds_F77= 14689 old_archive_from_expsyms_cmds_F77= 14690 export_dynamic_flag_spec_F77= 14691 whole_archive_flag_spec_F77= 14692 thread_safe_flag_spec_F77= 14693 hardcode_libdir_flag_spec_F77= 14694 hardcode_libdir_flag_spec_ld_F77= 14695 hardcode_libdir_separator_F77= 14696 hardcode_direct_F77=no 14697 hardcode_minus_L_F77=no 14698 hardcode_shlibpath_var_F77=unsupported 14699 link_all_deplibs_F77=unknown 14700 hardcode_automatic_F77=no 14701 module_cmds_F77= 14702 module_expsym_cmds_F77= 14703 always_export_symbols_F77=no 14704 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 14705 # include_expsyms should be a list of space-separated symbols to be *always* 14706 # included in the symbol list 14707 include_expsyms_F77= 14708 # exclude_expsyms can be an extended regexp of symbols to exclude 14709 # it will be wrapped by ` (' and `)$', so one must not match beginning or 14710 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 14711 # as well as any symbol that contains `d'. 14712 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_" 14713 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 14714 # platforms (ab)use it in PIC code, but their linkers get confused if 14715 # the symbol is explicitly referenced. Since portable code cannot 14716 # rely on this symbol name, it's probably fine to never include it in 14717 # preloaded symbol tables. 14718 extract_expsyms_cmds= 14719 # Just being paranoid about ensuring that cc_basename is set. 14720 for cc_temp in $compiler""; do 14721 case $cc_temp in 14722 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 14723 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 14724 \-*) ;; 14725 *) break;; 14726 esac 14727 done 14728 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 14729 14730 case $host_os in 14731 cygwin* | mingw* | pw32*) 14732 # FIXME: the MSVC++ port hasn't been tested in a loooong time 14733 # When not using gcc, we currently assume that we are using 14734 # Microsoft Visual C++. 14735 if test "$GCC" != yes; then 14736 with_gnu_ld=no 14737 fi 14738 ;; 14739 interix*) 14740 # we just hope/assume this is gcc and not c89 (= MSVC++) 14741 with_gnu_ld=yes 14742 ;; 14743 openbsd*) 14744 with_gnu_ld=no 14745 ;; 14746 esac 14747 14748 ld_shlibs_F77=yes 14749 if test "$with_gnu_ld" = yes; then 14750 # If archive_cmds runs LD, not CC, wlarc should be empty 14751 wlarc='${wl}' 14752 14753 # Set some defaults for GNU ld with shared library support. These 14754 # are reset later if shared libraries are not supported. Putting them 14755 # here allows them to be overridden if necessary. 14756 runpath_var=LD_RUN_PATH 14757 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' 14758 export_dynamic_flag_spec_F77='${wl}--export-dynamic' 14759 # ancient GNU ld didn't support --whole-archive et. al. 14760 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then 14761 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 14762 else 14763 whole_archive_flag_spec_F77= 14764 fi 14765 supports_anon_versioning=no 14766 case `$LD -v 2>/dev/null` in 14767 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 14768 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 14769 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 14770 *\ 2.11.*) ;; # other 2.11 versions 14771 *) supports_anon_versioning=yes ;; 14772 esac 14773 14774 # See if GNU ld supports shared libraries. 14775 case $host_os in 14776 aix3* | aix4* | aix5*) 14777 # On AIX/PPC, the GNU linker is very broken 14778 if test "$host_cpu" != ia64; then 14779 ld_shlibs_F77=no 14780 cat <<EOF 1>&2 14781 14782 *** Warning: the GNU linker, at least up to release 2.9.1, is reported 14783 *** to be unable to reliably create shared libraries on AIX. 14784 *** Therefore, libtool is disabling shared libraries support. If you 14785 *** really care for shared libraries, you may want to modify your PATH 14786 *** so that a non-GNU linker is found, and then restart. 14787 14788 EOF 14789 fi 14790 ;; 14791 14792 amigaos*) 14793 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)' 14794 hardcode_libdir_flag_spec_F77='-L$libdir' 14795 hardcode_minus_L_F77=yes 14796 14797 # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports 14798 # that the semantics of dynamic libraries on AmigaOS, at least up 14799 # to version 4, is to share data among multiple programs linked 14800 # with the same dynamic library. Since this doesn't match the 14801 # behavior of shared libraries on other platforms, we can't use 14802 # them. 14803 ld_shlibs_F77=no 14804 ;; 14805 14806 beos*) 14807 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 14808 allow_undefined_flag_F77=unsupported 14809 # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc 14810 # support --undefined. This deserves some investigation. FIXME 14811 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14812 else 14813 ld_shlibs_F77=no 14814 fi 14815 ;; 14816 14817 cygwin* | mingw* | pw32*) 14818 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless, 14819 # as there is no search path for DLLs. 14820 hardcode_libdir_flag_spec_F77='-L$libdir' 14821 allow_undefined_flag_F77=unsupported 14822 always_export_symbols_F77=no 14823 enable_shared_with_static_runtimes_F77=yes 14824 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' 14825 14826 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then 14827 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 14828 # If the export-symbols file already is a .def file (1st line 14829 # is EXPORTS), use it as is; otherwise, prepend... 14830 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 14831 cp $export_symbols $output_objdir/$soname.def; 14832 else 14833 echo EXPORTS > $output_objdir/$soname.def; 14834 cat $export_symbols >> $output_objdir/$soname.def; 14835 fi~ 14836 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 14837 else 14838 ld_shlibs_F77=no 14839 fi 14840 ;; 14841 14842 interix3*) 14843 hardcode_direct_F77=no 14844 hardcode_shlibpath_var_F77=no 14845 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' 14846 export_dynamic_flag_spec_F77='${wl}-E' 14847 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 14848 # Instead, shared libraries are loaded at an image base (0x10000000 by 14849 # default) and relocated if they conflict, which is a slow very memory 14850 # consuming and fragmenting process. To avoid this, we pick a random, 14851 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 14852 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 14853 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' 14854 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' 14855 ;; 14856 14857 linux*) 14858 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 14859 tmp_addflag= 14860 case $cc_basename,$host_cpu in 14861 pgcc*) # Portland Group C compiler 14862 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' 14863 tmp_addflag=' $pic_flag' 14864 ;; 14865 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 14866 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' 14867 tmp_addflag=' $pic_flag -Mnomain' ;; 14868 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 14869 tmp_addflag=' -i_dynamic' ;; 14870 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 14871 tmp_addflag=' -i_dynamic -nofor_main' ;; 14872 ifc* | ifort*) # Intel Fortran compiler 14873 tmp_addflag=' -nofor_main' ;; 14874 esac 14875 archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14876 14877 if test $supports_anon_versioning = yes; then 14878 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~ 14879 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 14880 $echo "local: *; };" >> $output_objdir/$libname.ver~ 14881 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 14882 fi 14883 else 14884 ld_shlibs_F77=no 14885 fi 14886 ;; 14887 14888 netbsd*) 14889 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 14890 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 14891 wlarc= 14892 else 14893 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14894 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 14895 fi 14896 ;; 14897 14898 solaris*) 14899 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then 14900 ld_shlibs_F77=no 14901 cat <<EOF 1>&2 14902 14903 *** Warning: The releases 2.8.* of the GNU linker cannot reliably 14904 *** create shared libraries on Solaris systems. Therefore, libtool 14905 *** is disabling shared libraries support. We urge you to upgrade GNU 14906 *** binutils to release 2.9.1 or newer. Another option is to modify 14907 *** your PATH or compiler configuration so that the native linker is 14908 *** used, and then restart. 14909 14910 EOF 14911 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 14912 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14913 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 14914 else 14915 ld_shlibs_F77=no 14916 fi 14917 ;; 14918 14919 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 14920 case `$LD -v 2>&1` in 14921 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 14922 ld_shlibs_F77=no 14923 cat <<_LT_EOF 1>&2 14924 14925 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 14926 *** reliably create shared libraries on SCO systems. Therefore, libtool 14927 *** is disabling shared libraries support. We urge you to upgrade GNU 14928 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify 14929 *** your PATH or compiler configuration so that the native linker is 14930 *** used, and then restart. 14931 14932 _LT_EOF 14933 ;; 14934 *) 14935 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 14936 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' 14937 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' 14938 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' 14939 else 14940 ld_shlibs_F77=no 14941 fi 14942 ;; 14943 esac 14944 ;; 14945 14946 sunos4*) 14947 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 14948 wlarc= 14949 hardcode_direct_F77=yes 14950 hardcode_shlibpath_var_F77=no 14951 ;; 14952 14953 *) 14954 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 14955 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14956 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 14957 else 14958 ld_shlibs_F77=no 14959 fi 14960 ;; 14961 esac 14962 14963 if test "$ld_shlibs_F77" = no; then 14964 runpath_var= 14965 hardcode_libdir_flag_spec_F77= 14966 export_dynamic_flag_spec_F77= 14967 whole_archive_flag_spec_F77= 14968 fi 14969 else 14970 # PORTME fill in a description of your system's linker (not GNU ld) 14971 case $host_os in 14972 aix3*) 14973 allow_undefined_flag_F77=unsupported 14974 always_export_symbols_F77=yes 14975 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' 14976 # Note: this linker hardcodes the directories in LIBPATH if there 14977 # are no directories specified by -L. 14978 hardcode_minus_L_F77=yes 14979 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 14980 # Neither direct hardcoding nor static linking is supported with a 14981 # broken collect2. 14982 hardcode_direct_F77=unsupported 14983 fi 14984 ;; 14985 14986 aix4* | aix5*) 14987 if test "$host_cpu" = ia64; then 14988 # On IA64, the linker does run time linking by default, so we don't 14989 # have to do anything special. 14990 aix_use_runtimelinking=no 14991 exp_sym_flag='-Bexport' 14992 no_entry_flag="" 14993 else 14994 # If we're using GNU nm, then we don't want the "-C" option. 14995 # -C means demangle to AIX nm, but means don't demangle with GNU nm 14996 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then 14997 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' 14998 else 14999 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' 15000 fi 15001 aix_use_runtimelinking=no 15002 15003 # Test if we are trying to use run time linking or normal 15004 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 15005 # need to do runtime linking. 15006 case $host_os in aix4.[23]|aix4.[23].*|aix5*) 15007 for ld_flag in $LDFLAGS; do 15008 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 15009 aix_use_runtimelinking=yes 15010 break 15011 fi 15012 done 15013 ;; 15014 esac 15015 15016 exp_sym_flag='-bexport' 15017 no_entry_flag='-bnoentry' 15018 fi 15019 15020 # When large executables or shared objects are built, AIX ld can 15021 # have problems creating the table of contents. If linking a library 15022 # or program results in "error TOC overflow" add -mminimal-toc to 15023 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 15024 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 15025 15026 archive_cmds_F77='' 15027 hardcode_direct_F77=yes 15028 hardcode_libdir_separator_F77=':' 15029 link_all_deplibs_F77=yes 15030 15031 if test "$GCC" = yes; then 15032 case $host_os in aix4.[012]|aix4.[012].*) 15033 # We only want to do this on AIX 4.2 and lower, the check 15034 # below for broken collect2 doesn't work under 4.3+ 15035 collect2name=`${CC} -print-prog-name=collect2` 15036 if test -f "$collect2name" && \ 15037 strings "$collect2name" | grep resolve_lib_name >/dev/null 15038 then 15039 # We have reworked collect2 15040 hardcode_direct_F77=yes 15041 else 15042 # We have old collect2 15043 hardcode_direct_F77=unsupported 15044 # It fails to find uninstalled libraries when the uninstalled 15045 # path is not listed in the libpath. Setting hardcode_minus_L 15046 # to unsupported forces relinking 15047 hardcode_minus_L_F77=yes 15048 hardcode_libdir_flag_spec_F77='-L$libdir' 15049 hardcode_libdir_separator_F77= 15050 fi 15051 ;; 15052 esac 15053 shared_flag='-shared' 15054 if test "$aix_use_runtimelinking" = yes; then 15055 shared_flag="$shared_flag "'${wl}-G' 15056 fi 15057 else 15058 # not using gcc 15059 if test "$host_cpu" = ia64; then 15060 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 15061 # chokes on -Wl,-G. The following line is correct: 15062 shared_flag='-G' 15063 else 15064 if test "$aix_use_runtimelinking" = yes; then 15065 shared_flag='${wl}-G' 15066 else 15067 shared_flag='${wl}-bM:SRE' 15068 fi 15069 fi 15070 fi 15071 15072 # It seems that -bexpall does not export symbols beginning with 15073 # underscore (_), so it is better to generate a list of symbols to export. 15074 always_export_symbols_F77=yes 15075 if test "$aix_use_runtimelinking" = yes; then 15076 # Warning - without using the other runtime loading flags (-brtl), 15077 # -berok will link without error, but may produce a broken library. 15078 allow_undefined_flag_F77='-berok' 15079 # Determine the default libpath from the value encoded in an empty executable. 15080 cat >conftest.$ac_ext <<_ACEOF 15081 program main 15082 15083 end 15084 _ACEOF 15085 rm -f conftest.$ac_objext conftest$ac_exeext 15086 if { (ac_try="$ac_link" 15087 case "(($ac_try" in 15088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15089 *) ac_try_echo=$ac_try;; 15090 esac 15091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15092 (eval "$ac_link") 2>conftest.er1 15093 ac_status=$? 15094 grep -v '^ *+' conftest.er1 >conftest.err 15095 rm -f conftest.er1 15096 cat conftest.err >&5 15097 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15098 (exit $ac_status); } && 15099 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' 15100 { (case "(($ac_try" in 15101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15102 *) ac_try_echo=$ac_try;; 15103 esac 15104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15105 (eval "$ac_try") 2>&5 15106 ac_status=$? 15107 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15108 (exit $ac_status); }; } && 15109 { ac_try='test -s conftest$ac_exeext' 15110 { (case "(($ac_try" in 15111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15112 *) ac_try_echo=$ac_try;; 15113 esac 15114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15115 (eval "$ac_try") 2>&5 15116 ac_status=$? 15117 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15118 (exit $ac_status); }; }; then 15119 15120 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 15121 }'` 15122 # Check for a 64-bit object if we didn't find anything. 15123 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 15124 }'`; fi 15125 else 15126 echo "$as_me: failed program was:" >&5 15127 sed 's/^/| /' conftest.$ac_ext >&5 15128 15129 15130 fi 15131 15132 rm -f core conftest.err conftest.$ac_objext \ 15133 conftest$ac_exeext conftest.$ac_ext 15134 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 15135 15136 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" 15137 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" 15138 else 15139 if test "$host_cpu" = ia64; then 15140 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' 15141 allow_undefined_flag_F77="-z nodefs" 15142 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" 15143 else 15144 # Determine the default libpath from the value encoded in an empty executable. 15145 cat >conftest.$ac_ext <<_ACEOF 15146 program main 15147 15148 end 15149 _ACEOF 15150 rm -f conftest.$ac_objext conftest$ac_exeext 15151 if { (ac_try="$ac_link" 15152 case "(($ac_try" in 15153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15154 *) ac_try_echo=$ac_try;; 15155 esac 15156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15157 (eval "$ac_link") 2>conftest.er1 15158 ac_status=$? 15159 grep -v '^ *+' conftest.er1 >conftest.err 15160 rm -f conftest.er1 15161 cat conftest.err >&5 15162 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15163 (exit $ac_status); } && 15164 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' 15165 { (case "(($ac_try" in 15166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15167 *) ac_try_echo=$ac_try;; 15168 esac 15169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15170 (eval "$ac_try") 2>&5 15171 ac_status=$? 15172 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15173 (exit $ac_status); }; } && 15174 { ac_try='test -s conftest$ac_exeext' 15175 { (case "(($ac_try" in 15176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15177 *) ac_try_echo=$ac_try;; 15178 esac 15179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15180 (eval "$ac_try") 2>&5 15181 ac_status=$? 15182 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15183 (exit $ac_status); }; }; then 15184 15185 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 15186 }'` 15187 # Check for a 64-bit object if we didn't find anything. 15188 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 15189 }'`; fi 15190 else 15191 echo "$as_me: failed program was:" >&5 15192 sed 's/^/| /' conftest.$ac_ext >&5 15193 15194 15195 fi 15196 15197 rm -f core conftest.err conftest.$ac_objext \ 15198 conftest$ac_exeext conftest.$ac_ext 15199 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 15200 15201 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" 15202 # Warning - without using the other run time loading flags, 15203 # -berok will link without error, but may produce a broken library. 15204 no_undefined_flag_F77=' ${wl}-bernotok' 15205 allow_undefined_flag_F77=' ${wl}-berok' 15206 # Exported symbols can be pulled into shared objects from archives 15207 whole_archive_flag_spec_F77='$convenience' 15208 archive_cmds_need_lc_F77=yes 15209 # This is similar to how AIX traditionally builds its shared libraries. 15210 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' 15211 fi 15212 fi 15213 ;; 15214 15215 amigaos*) 15216 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)' 15217 hardcode_libdir_flag_spec_F77='-L$libdir' 15218 hardcode_minus_L_F77=yes 15219 # see comment about different semantics on the GNU ld section 15220 ld_shlibs_F77=no 15221 ;; 15222 15223 bsdi[45]*) 15224 export_dynamic_flag_spec_F77=-rdynamic 15225 ;; 15226 15227 cygwin* | mingw* | pw32*) 15228 # When not using gcc, we currently assume that we are using 15229 # Microsoft Visual C++. 15230 # hardcode_libdir_flag_spec is actually meaningless, as there is 15231 # no search path for DLLs. 15232 hardcode_libdir_flag_spec_F77=' ' 15233 allow_undefined_flag_F77=unsupported 15234 # Tell ltmain to make .lib files, not .a files. 15235 libext=lib 15236 # Tell ltmain to make .dll files, not .so files. 15237 shrext_cmds=".dll" 15238 # FIXME: Setting linknames here is a bad hack. 15239 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' 15240 # The linker will automatically build a .lib file if we build a DLL. 15241 old_archive_From_new_cmds_F77='true' 15242 # FIXME: Should let the user specify the lib program. 15243 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs' 15244 fix_srcfile_path_F77='`cygpath -w "$srcfile"`' 15245 enable_shared_with_static_runtimes_F77=yes 15246 ;; 15247 15248 darwin* | rhapsody*) 15249 case $host_os in 15250 rhapsody* | darwin1.[012]) 15251 allow_undefined_flag_F77='${wl}-undefined ${wl}suppress' 15252 ;; 15253 *) # Darwin 1.3 on 15254 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 15255 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 15256 else 15257 case ${MACOSX_DEPLOYMENT_TARGET} in 15258 10.[012]) 15259 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 15260 ;; 15261 10.*) 15262 allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup' 15263 ;; 15264 esac 15265 fi 15266 ;; 15267 esac 15268 archive_cmds_need_lc_F77=no 15269 hardcode_direct_F77=no 15270 hardcode_automatic_F77=yes 15271 hardcode_shlibpath_var_F77=unsupported 15272 whole_archive_flag_spec_F77='' 15273 link_all_deplibs_F77=yes 15274 if test "$GCC" = yes ; then 15275 output_verbose_link_cmd='echo' 15276 archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 15277 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 15278 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 15279 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}' 15280 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}' 15281 else 15282 case $cc_basename in 15283 xlc*) 15284 output_verbose_link_cmd='echo' 15285 archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' 15286 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 15287 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 15288 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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 15289 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}' 15290 ;; 15291 *) 15292 ld_shlibs_F77=no 15293 ;; 15294 esac 15295 fi 15296 ;; 15297 15298 dgux*) 15299 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15300 hardcode_libdir_flag_spec_F77='-L$libdir' 15301 hardcode_shlibpath_var_F77=no 15302 ;; 15303 15304 freebsd1*) 15305 ld_shlibs_F77=no 15306 ;; 15307 15308 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 15309 # support. Future versions do this automatically, but an explicit c++rt0.o 15310 # does not break anything, and helps significantly (at the cost of a little 15311 # extra space). 15312 freebsd2.2*) 15313 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 15314 hardcode_libdir_flag_spec_F77='-R$libdir' 15315 hardcode_direct_F77=yes 15316 hardcode_shlibpath_var_F77=no 15317 ;; 15318 15319 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 15320 freebsd2*) 15321 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 15322 hardcode_direct_F77=yes 15323 hardcode_minus_L_F77=yes 15324 hardcode_shlibpath_var_F77=no 15325 ;; 15326 15327 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 15328 freebsd* | kfreebsd*-gnu | dragonfly*) 15329 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 15330 hardcode_libdir_flag_spec_F77='-R$libdir' 15331 hardcode_direct_F77=yes 15332 hardcode_shlibpath_var_F77=no 15333 ;; 15334 15335 hpux9*) 15336 if test "$GCC" = yes; then 15337 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' 15338 else 15339 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' 15340 fi 15341 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' 15342 hardcode_libdir_separator_F77=: 15343 hardcode_direct_F77=yes 15344 15345 # hardcode_minus_L: Not really in the search PATH, 15346 # but as the default location of the library. 15347 hardcode_minus_L_F77=yes 15348 export_dynamic_flag_spec_F77='${wl}-E' 15349 ;; 15350 15351 hpux10*) 15352 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 15353 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 15354 else 15355 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 15356 fi 15357 if test "$with_gnu_ld" = no; then 15358 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' 15359 hardcode_libdir_separator_F77=: 15360 15361 hardcode_direct_F77=yes 15362 export_dynamic_flag_spec_F77='${wl}-E' 15363 15364 # hardcode_minus_L: Not really in the search PATH, 15365 # but as the default location of the library. 15366 hardcode_minus_L_F77=yes 15367 fi 15368 ;; 15369 15370 hpux11*) 15371 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 15372 case $host_cpu in 15373 hppa*64*) 15374 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 15375 ;; 15376 ia64*) 15377 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 15378 ;; 15379 *) 15380 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 15381 ;; 15382 esac 15383 else 15384 case $host_cpu in 15385 hppa*64*) 15386 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 15387 ;; 15388 ia64*) 15389 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 15390 ;; 15391 *) 15392 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 15393 ;; 15394 esac 15395 fi 15396 if test "$with_gnu_ld" = no; then 15397 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' 15398 hardcode_libdir_separator_F77=: 15399 15400 case $host_cpu in 15401 hppa*64*|ia64*) 15402 hardcode_libdir_flag_spec_ld_F77='+b $libdir' 15403 hardcode_direct_F77=no 15404 hardcode_shlibpath_var_F77=no 15405 ;; 15406 *) 15407 hardcode_direct_F77=yes 15408 export_dynamic_flag_spec_F77='${wl}-E' 15409 15410 # hardcode_minus_L: Not really in the search PATH, 15411 # but as the default location of the library. 15412 hardcode_minus_L_F77=yes 15413 ;; 15414 esac 15415 fi 15416 ;; 15417 15418 irix5* | irix6* | nonstopux*) 15419 if test "$GCC" = yes; then 15420 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' 15421 else 15422 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' 15423 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir' 15424 fi 15425 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' 15426 hardcode_libdir_separator_F77=: 15427 link_all_deplibs_F77=yes 15428 ;; 15429 15430 netbsd*) 15431 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 15432 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 15433 else 15434 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 15435 fi 15436 hardcode_libdir_flag_spec_F77='-R$libdir' 15437 hardcode_direct_F77=yes 15438 hardcode_shlibpath_var_F77=no 15439 ;; 15440 15441 newsos6) 15442 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15443 hardcode_direct_F77=yes 15444 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' 15445 hardcode_libdir_separator_F77=: 15446 hardcode_shlibpath_var_F77=no 15447 ;; 15448 15449 openbsd*) 15450 hardcode_direct_F77=yes 15451 hardcode_shlibpath_var_F77=no 15452 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 15453 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 15454 archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 15455 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' 15456 export_dynamic_flag_spec_F77='${wl}-E' 15457 else 15458 case $host_os in 15459 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 15460 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 15461 hardcode_libdir_flag_spec_F77='-R$libdir' 15462 ;; 15463 *) 15464 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 15465 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' 15466 ;; 15467 esac 15468 fi 15469 ;; 15470 15471 os2*) 15472 hardcode_libdir_flag_spec_F77='-L$libdir' 15473 hardcode_minus_L_F77=yes 15474 allow_undefined_flag_F77=unsupported 15475 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' 15476 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 15477 ;; 15478 15479 osf3*) 15480 if test "$GCC" = yes; then 15481 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' 15482 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' 15483 else 15484 allow_undefined_flag_F77=' -expect_unresolved \*' 15485 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' 15486 fi 15487 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' 15488 hardcode_libdir_separator_F77=: 15489 ;; 15490 15491 osf4* | osf5*) # as osf3* with the addition of -msym flag 15492 if test "$GCC" = yes; then 15493 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' 15494 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' 15495 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' 15496 else 15497 allow_undefined_flag_F77=' -expect_unresolved \*' 15498 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' 15499 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~ 15500 $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' 15501 15502 # Both c and cxx compiler support -rpath directly 15503 hardcode_libdir_flag_spec_F77='-rpath $libdir' 15504 fi 15505 hardcode_libdir_separator_F77=: 15506 ;; 15507 15508 solaris*) 15509 no_undefined_flag_F77=' -z text' 15510 if test "$GCC" = yes; then 15511 wlarc='${wl}' 15512 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 15513 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 15514 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' 15515 else 15516 wlarc='' 15517 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 15518 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 15519 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' 15520 fi 15521 hardcode_libdir_flag_spec_F77='-R$libdir' 15522 hardcode_shlibpath_var_F77=no 15523 case $host_os in 15524 solaris2.[0-5] | solaris2.[0-5].*) ;; 15525 *) 15526 # The compiler driver will combine linker options so we 15527 # cannot just pass the convience library names through 15528 # without $wl, iff we do not link with $LD. 15529 # Luckily, gcc supports the same syntax we need for Sun Studio. 15530 # Supported since Solaris 2.6 (maybe 2.5.1?) 15531 case $wlarc in 15532 '') 15533 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;; 15534 *) 15535 whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; 15536 esac ;; 15537 esac 15538 link_all_deplibs_F77=yes 15539 ;; 15540 15541 sunos4*) 15542 if test "x$host_vendor" = xsequent; then 15543 # Use $CC to link under sequent, because it throws in some extra .o 15544 # files that make .init and .fini sections work. 15545 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 15546 else 15547 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 15548 fi 15549 hardcode_libdir_flag_spec_F77='-L$libdir' 15550 hardcode_direct_F77=yes 15551 hardcode_minus_L_F77=yes 15552 hardcode_shlibpath_var_F77=no 15553 ;; 15554 15555 sysv4) 15556 case $host_vendor in 15557 sni) 15558 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15559 hardcode_direct_F77=yes # is this really true??? 15560 ;; 15561 siemens) 15562 ## LD is ld it makes a PLAMLIB 15563 ## CC just makes a GrossModule. 15564 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' 15565 reload_cmds_F77='$CC -r -o $output$reload_objs' 15566 hardcode_direct_F77=no 15567 ;; 15568 motorola) 15569 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15570 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie 15571 ;; 15572 esac 15573 runpath_var='LD_RUN_PATH' 15574 hardcode_shlibpath_var_F77=no 15575 ;; 15576 15577 sysv4.3*) 15578 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15579 hardcode_shlibpath_var_F77=no 15580 export_dynamic_flag_spec_F77='-Bexport' 15581 ;; 15582 15583 sysv4*MP*) 15584 if test -d /usr/nec; then 15585 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15586 hardcode_shlibpath_var_F77=no 15587 runpath_var=LD_RUN_PATH 15588 hardcode_runpath_var=yes 15589 ld_shlibs_F77=yes 15590 fi 15591 ;; 15592 15593 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*) 15594 no_undefined_flag_F77='${wl}-z,text' 15595 archive_cmds_need_lc_F77=no 15596 hardcode_shlibpath_var_F77=no 15597 runpath_var='LD_RUN_PATH' 15598 15599 if test "$GCC" = yes; then 15600 archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15601 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15602 else 15603 archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15604 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15605 fi 15606 ;; 15607 15608 sysv5* | sco3.2v5* | sco5v6*) 15609 # Note: We can NOT use -z defs as we might desire, because we do not 15610 # link with -lc, and that would cause any symbols used from libc to 15611 # always be unresolved, which means just about no library would 15612 # ever link correctly. If we're not using GNU ld we use -z text 15613 # though, which does catch some bad symbols but isn't as heavy-handed 15614 # as -z defs. 15615 no_undefined_flag_F77='${wl}-z,text' 15616 allow_undefined_flag_F77='${wl}-z,nodefs' 15617 archive_cmds_need_lc_F77=no 15618 hardcode_shlibpath_var_F77=no 15619 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' 15620 hardcode_libdir_separator_F77=':' 15621 link_all_deplibs_F77=yes 15622 export_dynamic_flag_spec_F77='${wl}-Bexport' 15623 runpath_var='LD_RUN_PATH' 15624 15625 if test "$GCC" = yes; then 15626 archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 15627 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 15628 else 15629 archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 15630 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 15631 fi 15632 ;; 15633 15634 uts4*) 15635 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 15636 hardcode_libdir_flag_spec_F77='-L$libdir' 15637 hardcode_shlibpath_var_F77=no 15638 ;; 15639 15640 *) 15641 ld_shlibs_F77=no 15642 ;; 15643 esac 15644 fi 15645 15646 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5 15647 echo "${ECHO_T}$ld_shlibs_F77" >&6; } 15648 test "$ld_shlibs_F77" = no && can_build_shared=no 15649 15650 # 15651 # Do we need to explicitly link libc? 15652 # 15653 case "x$archive_cmds_need_lc_F77" in 15654 x|xyes) 15655 # Assume -lc should be added 15656 archive_cmds_need_lc_F77=yes 15657 15658 if test "$enable_shared" = yes && test "$GCC" = yes; then 15659 case $archive_cmds_F77 in 15660 *'~'*) 15661 # FIXME: we may have to deal with multi-command sequences. 15662 ;; 15663 '$CC '*) 15664 # Test whether the compiler implicitly links with -lc since on some 15665 # systems, -lgcc has to come before -lc. If gcc already passes -lc 15666 # to ld, don't add -lc before -lgcc. 15667 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 15668 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } 15669 $rm conftest* 15670 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 15671 15672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 15673 (eval $ac_compile) 2>&5 15674 ac_status=$? 15675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15676 (exit $ac_status); } 2>conftest.err; then 15677 soname=conftest 15678 lib=conftest 15679 libobjs=conftest.$ac_objext 15680 deplibs= 15681 wl=$lt_prog_compiler_wl_F77 15682 pic_flag=$lt_prog_compiler_pic_F77 15683 compiler_flags=-v 15684 linker_flags=-v 15685 verstring= 15686 output_objdir=. 15687 libname=conftest 15688 lt_save_allow_undefined_flag=$allow_undefined_flag_F77 15689 allow_undefined_flag_F77= 15690 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 15691 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 15692 ac_status=$? 15693 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15694 (exit $ac_status); } 15695 then 15696 archive_cmds_need_lc_F77=no 15697 else 15698 archive_cmds_need_lc_F77=yes 15699 fi 15700 allow_undefined_flag_F77=$lt_save_allow_undefined_flag 15701 else 15702 cat conftest.err 1>&5 15703 fi 15704 $rm conftest* 15705 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5 15706 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; } 15707 ;; 15708 esac 15709 fi 15710 ;; 15711 esac 15712 15713 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 15714 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } 15715 library_names_spec= 15716 libname_spec='lib$name' 15717 soname_spec= 15718 shrext_cmds=".so" 15719 postinstall_cmds= 15720 postuninstall_cmds= 15721 finish_cmds= 15722 finish_eval= 15723 shlibpath_var= 15724 shlibpath_overrides_runpath=unknown 15725 version_type=none 15726 dynamic_linker="$host_os ld.so" 15727 sys_lib_dlsearch_path_spec="/lib /usr/lib" 15728 if test "$GCC" = yes; then 15729 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 15730 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then 15731 # if the path contains ";" then we assume it to be the separator 15732 # otherwise default to the standard path separator (i.e. ":") - it is 15733 # assumed that no part of a normal pathname contains ";" but that should 15734 # okay in the real world where ";" in dirpaths is itself problematic. 15735 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 15736 else 15737 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 15738 fi 15739 else 15740 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 15741 fi 15742 need_lib_prefix=unknown 15743 hardcode_into_libs=no 15744 15745 # when you set need_version to no, make sure it does not cause -set_version 15746 # flags to be left without arguments 15747 need_version=unknown 15748 15749 case $host_os in 15750 aix3*) 15751 version_type=linux 15752 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 15753 shlibpath_var=LIBPATH 15754 15755 # AIX 3 has no versioning support, so we append a major version to the name. 15756 soname_spec='${libname}${release}${shared_ext}$major' 15757 ;; 15758 15759 aix4* | aix5*) 15760 version_type=linux 15761 need_lib_prefix=no 15762 need_version=no 15763 hardcode_into_libs=yes 15764 if test "$host_cpu" = ia64; then 15765 # AIX 5 supports IA64 15766 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 15767 shlibpath_var=LD_LIBRARY_PATH 15768 else 15769 # With GCC up to 2.95.x, collect2 would create an import file 15770 # for dependence libraries. The import file would start with 15771 # the line `#! .'. This would cause the generated library to 15772 # depend on `.', always an invalid library. This was fixed in 15773 # development snapshots of GCC prior to 3.0. 15774 case $host_os in 15775 aix4 | aix4.[01] | aix4.[01].*) 15776 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 15777 echo ' yes ' 15778 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then 15779 : 15780 else 15781 can_build_shared=no 15782 fi 15783 ;; 15784 esac 15785 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 15786 # soname into executable. Probably we can add versioning support to 15787 # collect2, so additional links can be useful in future. 15788 if test "$aix_use_runtimelinking" = yes; then 15789 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 15790 # instead of lib<name>.a to let people know that these are not 15791 # typical AIX shared libraries. 15792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15793 else 15794 # We preserve .a as extension for shared libraries through AIX4.2 15795 # and later when we are not doing run time linking. 15796 library_names_spec='${libname}${release}.a $libname.a' 15797 soname_spec='${libname}${release}${shared_ext}$major' 15798 fi 15799 shlibpath_var=LIBPATH 15800 fi 15801 ;; 15802 15803 amigaos*) 15804 library_names_spec='$libname.ixlibrary $libname.a' 15805 # Create ${libname}_ixlibrary.a entries in /sys/libs. 15806 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' 15807 ;; 15808 15809 beos*) 15810 library_names_spec='${libname}${shared_ext}' 15811 dynamic_linker="$host_os ld.so" 15812 shlibpath_var=LIBRARY_PATH 15813 ;; 15814 15815 bsdi[45]*) 15816 version_type=linux 15817 need_version=no 15818 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15819 soname_spec='${libname}${release}${shared_ext}$major' 15820 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 15821 shlibpath_var=LD_LIBRARY_PATH 15822 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 15823 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 15824 # the default ld.so.conf also contains /usr/contrib/lib and 15825 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 15826 # libtool to hard-code these into programs 15827 ;; 15828 15829 cygwin* | mingw* | pw32*) 15830 version_type=windows 15831 shrext_cmds=".dll" 15832 need_version=no 15833 need_lib_prefix=no 15834 15835 case $GCC,$host_os in 15836 yes,cygwin* | yes,mingw* | yes,pw32*) 15837 library_names_spec='$libname.dll.a' 15838 # DLL is installed to $(libdir)/../bin by postinstall_cmds 15839 postinstall_cmds='base_file=`basename \${file}`~ 15840 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ 15841 dldir=$destdir/`dirname \$dlpath`~ 15842 test -d \$dldir || mkdir -p \$dldir~ 15843 $install_prog $dir/$dlname \$dldir/$dlname~ 15844 chmod a+x \$dldir/$dlname' 15845 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 15846 dlpath=$dir/\$dldll~ 15847 $rm \$dlpath' 15848 shlibpath_overrides_runpath=yes 15849 15850 case $host_os in 15851 cygwin*) 15852 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 15853 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 15854 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 15855 ;; 15856 mingw*) 15857 # MinGW DLLs use traditional 'lib' prefix 15858 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 15859 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 15860 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then 15861 # It is most probably a Windows format PATH printed by 15862 # mingw gcc, but we are running on Cygwin. Gcc prints its search 15863 # path with ; separators, and with drive letters. We can handle the 15864 # drive letters (cygwin fileutils understands them), so leave them, 15865 # especially as we might pass files found there to a mingw objdump, 15866 # which wouldn't understand a cygwinified path. Ahh. 15867 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 15868 else 15869 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 15870 fi 15871 ;; 15872 pw32*) 15873 # pw32 DLLs use 'pw' prefix rather than 'lib' 15874 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 15875 ;; 15876 esac 15877 ;; 15878 15879 *) 15880 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 15881 ;; 15882 esac 15883 dynamic_linker='Win32 ld.exe' 15884 # FIXME: first we should search . and the directory the executable is in 15885 shlibpath_var=PATH 15886 ;; 15887 15888 darwin* | rhapsody*) 15889 dynamic_linker="$host_os dyld" 15890 version_type=darwin 15891 need_lib_prefix=no 15892 need_version=no 15893 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 15894 soname_spec='${libname}${release}${major}$shared_ext' 15895 shlibpath_overrides_runpath=yes 15896 shlibpath_var=DYLD_LIBRARY_PATH 15897 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 15898 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 15899 if test "$GCC" = yes; then 15900 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 15901 else 15902 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 15903 fi 15904 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 15905 ;; 15906 15907 dgux*) 15908 version_type=linux 15909 need_lib_prefix=no 15910 need_version=no 15911 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 15912 soname_spec='${libname}${release}${shared_ext}$major' 15913 shlibpath_var=LD_LIBRARY_PATH 15914 ;; 15915 15916 freebsd1*) 15917 dynamic_linker=no 15918 ;; 15919 15920 kfreebsd*-gnu) 15921 version_type=linux 15922 need_lib_prefix=no 15923 need_version=no 15924 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 15925 soname_spec='${libname}${release}${shared_ext}$major' 15926 shlibpath_var=LD_LIBRARY_PATH 15927 shlibpath_overrides_runpath=no 15928 hardcode_into_libs=yes 15929 dynamic_linker='GNU ld.so' 15930 ;; 15931 15932 freebsd* | dragonfly*) 15933 # DragonFly does not have aout. When/if they implement a new 15934 # versioning mechanism, adjust this. 15935 if test -x /usr/bin/objformat; then 15936 objformat=`/usr/bin/objformat` 15937 else 15938 case $host_os in 15939 freebsd[123]*) objformat=aout ;; 15940 *) objformat=elf ;; 15941 esac 15942 fi 15943 version_type=freebsd-$objformat 15944 case $version_type in 15945 freebsd-elf*) 15946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 15947 need_version=no 15948 need_lib_prefix=no 15949 ;; 15950 freebsd-*) 15951 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 15952 need_version=yes 15953 ;; 15954 esac 15955 shlibpath_var=LD_LIBRARY_PATH 15956 case $host_os in 15957 freebsd2*) 15958 shlibpath_overrides_runpath=yes 15959 ;; 15960 freebsd3.[01]* | freebsdelf3.[01]*) 15961 shlibpath_overrides_runpath=yes 15962 hardcode_into_libs=yes 15963 ;; 15964 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 15965 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 15966 shlibpath_overrides_runpath=no 15967 hardcode_into_libs=yes 15968 ;; 15969 freebsd*) # from 4.6 on 15970 shlibpath_overrides_runpath=yes 15971 hardcode_into_libs=yes 15972 ;; 15973 esac 15974 ;; 15975 15976 gnu*) 15977 version_type=linux 15978 need_lib_prefix=no 15979 need_version=no 15980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 15981 soname_spec='${libname}${release}${shared_ext}$major' 15982 shlibpath_var=LD_LIBRARY_PATH 15983 hardcode_into_libs=yes 15984 ;; 15985 15986 hpux9* | hpux10* | hpux11*) 15987 # Give a soname corresponding to the major version so that dld.sl refuses to 15988 # link against other versions. 15989 version_type=sunos 15990 need_lib_prefix=no 15991 need_version=no 15992 case $host_cpu in 15993 ia64*) 15994 shrext_cmds='.so' 15995 hardcode_into_libs=yes 15996 dynamic_linker="$host_os dld.so" 15997 shlibpath_var=LD_LIBRARY_PATH 15998 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 15999 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16000 soname_spec='${libname}${release}${shared_ext}$major' 16001 if test "X$HPUX_IA64_MODE" = X32; then 16002 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 16003 else 16004 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 16005 fi 16006 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16007 ;; 16008 hppa*64*) 16009 shrext_cmds='.sl' 16010 hardcode_into_libs=yes 16011 dynamic_linker="$host_os dld.sl" 16012 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 16013 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 16014 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16015 soname_spec='${libname}${release}${shared_ext}$major' 16016 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 16017 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16018 ;; 16019 *) 16020 shrext_cmds='.sl' 16021 dynamic_linker="$host_os dld.sl" 16022 shlibpath_var=SHLIB_PATH 16023 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 16024 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16025 soname_spec='${libname}${release}${shared_ext}$major' 16026 ;; 16027 esac 16028 # HP-UX runs *really* slowly unless shared libraries are mode 555. 16029 postinstall_cmds='chmod 555 $lib' 16030 ;; 16031 16032 interix3*) 16033 version_type=linux 16034 need_lib_prefix=no 16035 need_version=no 16036 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 16037 soname_spec='${libname}${release}${shared_ext}$major' 16038 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 16039 shlibpath_var=LD_LIBRARY_PATH 16040 shlibpath_overrides_runpath=no 16041 hardcode_into_libs=yes 16042 ;; 16043 16044 irix5* | irix6* | nonstopux*) 16045 case $host_os in 16046 nonstopux*) version_type=nonstopux ;; 16047 *) 16048 if test "$lt_cv_prog_gnu_ld" = yes; then 16049 version_type=linux 16050 else 16051 version_type=irix 16052 fi ;; 16053 esac 16054 need_lib_prefix=no 16055 need_version=no 16056 soname_spec='${libname}${release}${shared_ext}$major' 16057 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 16058 case $host_os in 16059 irix5* | nonstopux*) 16060 libsuff= shlibsuff= 16061 ;; 16062 *) 16063 case $LD in # libtool.m4 will add one of these switches to LD 16064 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 16065 libsuff= shlibsuff= libmagic=32-bit;; 16066 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 16067 libsuff=32 shlibsuff=N32 libmagic=N32;; 16068 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 16069 libsuff=64 shlibsuff=64 libmagic=64-bit;; 16070 *) libsuff= shlibsuff= libmagic=never-match;; 16071 esac 16072 ;; 16073 esac 16074 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 16075 shlibpath_overrides_runpath=no 16076 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 16077 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 16078 hardcode_into_libs=yes 16079 ;; 16080 16081 # No shared lib support for Linux oldld, aout, or coff. 16082 linux*oldld* | linux*aout* | linux*coff*) 16083 dynamic_linker=no 16084 ;; 16085 16086 # This must be Linux ELF. 16087 linux*) 16088 version_type=linux 16089 need_lib_prefix=no 16090 need_version=no 16091 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16092 soname_spec='${libname}${release}${shared_ext}$major' 16093 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 16094 shlibpath_var=LD_LIBRARY_PATH 16095 shlibpath_overrides_runpath=no 16096 # This implies no fast_install, which is unacceptable. 16097 # Some rework will be needed to allow for fast_install 16098 # before this can be enabled. 16099 hardcode_into_libs=yes 16100 16101 # Append ld.so.conf contents to the search path 16102 if test -f /etc/ld.so.conf; then 16103 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` 16104 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 16105 fi 16106 16107 # We used to test for /lib/ld.so.1 and disable shared libraries on 16108 # powerpc, because MkLinux only supported shared libraries with the 16109 # GNU dynamic linker. Since this was broken with cross compilers, 16110 # most powerpc-linux boxes support dynamic linking these days and 16111 # people can always --disable-shared, the test was removed, and we 16112 # assume the GNU/Linux dynamic linker is in use. 16113 dynamic_linker='GNU/Linux ld.so' 16114 ;; 16115 16116 knetbsd*-gnu) 16117 version_type=linux 16118 need_lib_prefix=no 16119 need_version=no 16120 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 16121 soname_spec='${libname}${release}${shared_ext}$major' 16122 shlibpath_var=LD_LIBRARY_PATH 16123 shlibpath_overrides_runpath=no 16124 hardcode_into_libs=yes 16125 dynamic_linker='GNU ld.so' 16126 ;; 16127 16128 netbsd*) 16129 version_type=sunos 16130 need_lib_prefix=no 16131 need_version=no 16132 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 16133 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 16134 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16135 dynamic_linker='NetBSD (a.out) ld.so' 16136 else 16137 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 16138 soname_spec='${libname}${release}${shared_ext}$major' 16139 dynamic_linker='NetBSD ld.elf_so' 16140 fi 16141 shlibpath_var=LD_LIBRARY_PATH 16142 shlibpath_overrides_runpath=yes 16143 hardcode_into_libs=yes 16144 ;; 16145 16146 newsos6) 16147 version_type=linux 16148 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16149 shlibpath_var=LD_LIBRARY_PATH 16150 shlibpath_overrides_runpath=yes 16151 ;; 16152 16153 nto-qnx*) 16154 version_type=linux 16155 need_lib_prefix=no 16156 need_version=no 16157 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16158 soname_spec='${libname}${release}${shared_ext}$major' 16159 shlibpath_var=LD_LIBRARY_PATH 16160 shlibpath_overrides_runpath=yes 16161 ;; 16162 16163 openbsd*) 16164 version_type=sunos 16165 sys_lib_dlsearch_path_spec="/usr/lib" 16166 need_lib_prefix=no 16167 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 16168 case $host_os in 16169 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 16170 *) need_version=no ;; 16171 esac 16172 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 16173 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16174 shlibpath_var=LD_LIBRARY_PATH 16175 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 16176 case $host_os in 16177 openbsd2.[89] | openbsd2.[89].*) 16178 shlibpath_overrides_runpath=no 16179 ;; 16180 *) 16181 shlibpath_overrides_runpath=yes 16182 ;; 16183 esac 16184 else 16185 shlibpath_overrides_runpath=yes 16186 fi 16187 ;; 16188 16189 os2*) 16190 libname_spec='$name' 16191 shrext_cmds=".dll" 16192 need_lib_prefix=no 16193 library_names_spec='$libname${shared_ext} $libname.a' 16194 dynamic_linker='OS/2 ld.exe' 16195 shlibpath_var=LIBPATH 16196 ;; 16197 16198 osf3* | osf4* | osf5*) 16199 version_type=osf 16200 need_lib_prefix=no 16201 need_version=no 16202 soname_spec='${libname}${release}${shared_ext}$major' 16203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16204 shlibpath_var=LD_LIBRARY_PATH 16205 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 16206 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 16207 ;; 16208 16209 solaris*) 16210 version_type=linux 16211 need_lib_prefix=no 16212 need_version=no 16213 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16214 soname_spec='${libname}${release}${shared_ext}$major' 16215 shlibpath_var=LD_LIBRARY_PATH 16216 shlibpath_overrides_runpath=yes 16217 hardcode_into_libs=yes 16218 # ldd complains unless libraries are executable 16219 postinstall_cmds='chmod +x $lib' 16220 ;; 16221 16222 sunos4*) 16223 version_type=sunos 16224 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 16225 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 16226 shlibpath_var=LD_LIBRARY_PATH 16227 shlibpath_overrides_runpath=yes 16228 if test "$with_gnu_ld" = yes; then 16229 need_lib_prefix=no 16230 fi 16231 need_version=yes 16232 ;; 16233 16234 sysv4 | sysv4.3*) 16235 version_type=linux 16236 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16237 soname_spec='${libname}${release}${shared_ext}$major' 16238 shlibpath_var=LD_LIBRARY_PATH 16239 case $host_vendor in 16240 sni) 16241 shlibpath_overrides_runpath=no 16242 need_lib_prefix=no 16243 export_dynamic_flag_spec='${wl}-Blargedynsym' 16244 runpath_var=LD_RUN_PATH 16245 ;; 16246 siemens) 16247 need_lib_prefix=no 16248 ;; 16249 motorola) 16250 need_lib_prefix=no 16251 need_version=no 16252 shlibpath_overrides_runpath=no 16253 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 16254 ;; 16255 esac 16256 ;; 16257 16258 sysv4*MP*) 16259 if test -d /usr/nec ;then 16260 version_type=linux 16261 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 16262 soname_spec='$libname${shared_ext}.$major' 16263 shlibpath_var=LD_LIBRARY_PATH 16264 fi 16265 ;; 16266 16267 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 16268 version_type=freebsd-elf 16269 need_lib_prefix=no 16270 need_version=no 16271 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 16272 soname_spec='${libname}${release}${shared_ext}$major' 16273 shlibpath_var=LD_LIBRARY_PATH 16274 hardcode_into_libs=yes 16275 if test "$with_gnu_ld" = yes; then 16276 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 16277 shlibpath_overrides_runpath=no 16278 else 16279 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 16280 shlibpath_overrides_runpath=yes 16281 case $host_os in 16282 sco3.2v5*) 16283 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 16284 ;; 16285 esac 16286 fi 16287 sys_lib_dlsearch_path_spec='/usr/lib' 16288 ;; 16289 16290 uts4*) 16291 version_type=linux 16292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16293 soname_spec='${libname}${release}${shared_ext}$major' 16294 shlibpath_var=LD_LIBRARY_PATH 16295 ;; 16296 16297 *) 16298 dynamic_linker=no 16299 ;; 16300 esac 16301 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 16302 echo "${ECHO_T}$dynamic_linker" >&6; } 16303 test "$dynamic_linker" = no && can_build_shared=no 16304 16305 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 16306 if test "$GCC" = yes; then 16307 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 16308 fi 16309 16310 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 16311 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } 16312 hardcode_action_F77= 16313 if test -n "$hardcode_libdir_flag_spec_F77" || \ 16314 test -n "$runpath_var_F77" || \ 16315 test "X$hardcode_automatic_F77" = "Xyes" ; then 16316 16317 # We can hardcode non-existant directories. 16318 if test "$hardcode_direct_F77" != no && 16319 # If the only mechanism to avoid hardcoding is shlibpath_var, we 16320 # have to relink, otherwise we might link with an installed library 16321 # when we should be linking with a yet-to-be-installed one 16322 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && 16323 test "$hardcode_minus_L_F77" != no; then 16324 # Linking always hardcodes the temporary library directory. 16325 hardcode_action_F77=relink 16326 else 16327 # We can link without hardcoding, and we can hardcode nonexisting dirs. 16328 hardcode_action_F77=immediate 16329 fi 16330 else 16331 # We cannot hardcode anything, or else we can only hardcode existing 16332 # directories. 16333 hardcode_action_F77=unsupported 16334 fi 16335 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 16336 echo "${ECHO_T}$hardcode_action_F77" >&6; } 16337 16338 if test "$hardcode_action_F77" = relink; then 16339 # Fast installation is not supported 16340 enable_fast_install=no 16341 elif test "$shlibpath_overrides_runpath" = yes || 16342 test "$enable_shared" = no; then 16343 # Fast installation is not necessary 16344 enable_fast_install=needless 16345 fi 16346 16347 16348 # The else clause should only fire when bootstrapping the 16349 # libtool distribution, otherwise you forgot to ship ltmain.sh 16350 # with your package, and you will get complaints that there are 16351 # no rules to generate ltmain.sh. 16352 if test -f "$ltmain"; then 16353 # See if we are running on zsh, and set the options which allow our commands through 16354 # without removal of \ escapes. 16355 if test -n "${ZSH_VERSION+set}" ; then 16356 setopt NO_GLOB_SUBST 16357 fi 16358 # Now quote all the things that may contain metacharacters while being 16359 # careful not to overquote the AC_SUBSTed values. We take copies of the 16360 # variables and quote the copies for generation of the libtool script. 16361 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ 16362 SED SHELL STRIP \ 16363 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 16364 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ 16365 deplibs_check_method reload_flag reload_cmds need_locks \ 16366 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ 16367 lt_cv_sys_global_symbol_to_c_name_address \ 16368 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ 16369 old_postinstall_cmds old_postuninstall_cmds \ 16370 compiler_F77 \ 16371 CC_F77 \ 16372 LD_F77 \ 16373 lt_prog_compiler_wl_F77 \ 16374 lt_prog_compiler_pic_F77 \ 16375 lt_prog_compiler_static_F77 \ 16376 lt_prog_compiler_no_builtin_flag_F77 \ 16377 export_dynamic_flag_spec_F77 \ 16378 thread_safe_flag_spec_F77 \ 16379 whole_archive_flag_spec_F77 \ 16380 enable_shared_with_static_runtimes_F77 \ 16381 old_archive_cmds_F77 \ 16382 old_archive_from_new_cmds_F77 \ 16383 predep_objects_F77 \ 16384 postdep_objects_F77 \ 16385 predeps_F77 \ 16386 postdeps_F77 \ 16387 compiler_lib_search_path_F77 \ 16388 archive_cmds_F77 \ 16389 archive_expsym_cmds_F77 \ 16390 postinstall_cmds_F77 \ 16391 postuninstall_cmds_F77 \ 16392 old_archive_from_expsyms_cmds_F77 \ 16393 allow_undefined_flag_F77 \ 16394 no_undefined_flag_F77 \ 16395 export_symbols_cmds_F77 \ 16396 hardcode_libdir_flag_spec_F77 \ 16397 hardcode_libdir_flag_spec_ld_F77 \ 16398 hardcode_libdir_separator_F77 \ 16399 hardcode_automatic_F77 \ 16400 module_cmds_F77 \ 16401 module_expsym_cmds_F77 \ 16402 lt_cv_prog_compiler_c_o_F77 \ 16403 exclude_expsyms_F77 \ 16404 include_expsyms_F77; do 16405 16406 case $var in 16407 old_archive_cmds_F77 | \ 16408 old_archive_from_new_cmds_F77 | \ 16409 archive_cmds_F77 | \ 16410 archive_expsym_cmds_F77 | \ 16411 module_cmds_F77 | \ 16412 module_expsym_cmds_F77 | \ 16413 old_archive_from_expsyms_cmds_F77 | \ 16414 export_symbols_cmds_F77 | \ 16415 extract_expsyms_cmds | reload_cmds | finish_cmds | \ 16416 postinstall_cmds | postuninstall_cmds | \ 16417 old_postinstall_cmds | old_postuninstall_cmds | \ 16418 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) 16419 # Double-quote double-evaled strings. 16420 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" 16421 ;; 16422 *) 16423 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" 16424 ;; 16425 esac 16426 done 16427 16428 case $lt_echo in 16429 *'\$0 --fallback-echo"') 16430 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` 16431 ;; 16432 esac 16433 16434 cfgfile="$ofile" 16435 16436 cat <<__EOF__ >> "$cfgfile" 16437 # ### BEGIN LIBTOOL TAG CONFIG: $tagname 16438 16439 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 16440 16441 # Shell to use when invoking shell scripts. 16442 SHELL=$lt_SHELL 16443 16444 # Whether or not to build shared libraries. 16445 build_libtool_libs=$enable_shared 16446 16447 # Whether or not to build static libraries. 16448 build_old_libs=$enable_static 16449 16450 # Whether or not to add -lc for building shared libraries. 16451 build_libtool_need_lc=$archive_cmds_need_lc_F77 16452 16453 # Whether or not to disallow shared libs when runtime libs are static 16454 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77 16455 16456 # Whether or not to optimize for fast installation. 16457 fast_install=$enable_fast_install 16458 16459 # The host system. 16460 host_alias=$host_alias 16461 host=$host 16462 host_os=$host_os 16463 16464 # The build system. 16465 build_alias=$build_alias 16466 build=$build 16467 build_os=$build_os 16468 16469 # An echo program that does not interpret backslashes. 16470 echo=$lt_echo 16471 16472 # The archiver. 16473 AR=$lt_AR 16474 AR_FLAGS=$lt_AR_FLAGS 16475 16476 # A C compiler. 16477 LTCC=$lt_LTCC 16478 16479 # LTCC compiler flags. 16480 LTCFLAGS=$lt_LTCFLAGS 16481 16482 # A language-specific compiler. 16483 CC=$lt_compiler_F77 16484 16485 # Is the compiler the GNU C compiler? 16486 with_gcc=$GCC_F77 16487 16488 # An ERE matcher. 16489 EGREP=$lt_EGREP 16490 16491 # The linker used to build libraries. 16492 LD=$lt_LD_F77 16493 16494 # Whether we need hard or soft links. 16495 LN_S=$lt_LN_S 16496 16497 # A BSD-compatible nm program. 16498 NM=$lt_NM 16499 16500 # A symbol stripping program 16501 STRIP=$lt_STRIP 16502 16503 # Used to examine libraries when file_magic_cmd begins "file" 16504 MAGIC_CMD=$MAGIC_CMD 16505 16506 # Used on cygwin: DLL creation program. 16507 DLLTOOL="$DLLTOOL" 16508 16509 # Used on cygwin: object dumper. 16510 OBJDUMP="$OBJDUMP" 16511 16512 # Used on cygwin: assembler. 16513 AS="$AS" 16514 16515 # The name of the directory that contains temporary libtool files. 16516 objdir=$objdir 16517 16518 # How to create reloadable object files. 16519 reload_flag=$lt_reload_flag 16520 reload_cmds=$lt_reload_cmds 16521 16522 # How to pass a linker flag through the compiler. 16523 wl=$lt_lt_prog_compiler_wl_F77 16524 16525 # Object file suffix (normally "o"). 16526 objext="$ac_objext" 16527 16528 # Old archive suffix (normally "a"). 16529 libext="$libext" 16530 16531 # Shared library suffix (normally ".so"). 16532 shrext_cmds='$shrext_cmds' 16533 16534 # Executable file suffix (normally ""). 16535 exeext="$exeext" 16536 16537 # Additional compiler flags for building library objects. 16538 pic_flag=$lt_lt_prog_compiler_pic_F77 16539 pic_mode=$pic_mode 16540 16541 # What is the maximum length of a command? 16542 max_cmd_len=$lt_cv_sys_max_cmd_len 16543 16544 # Does compiler simultaneously support -c and -o options? 16545 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 16546 16547 # Must we lock files when doing compilation? 16548 need_locks=$lt_need_locks 16549 16550 # Do we need the lib prefix for modules? 16551 need_lib_prefix=$need_lib_prefix 16552 16553 # Do we need a version for libraries? 16554 need_version=$need_version 16555 16556 # Whether dlopen is supported. 16557 dlopen_support=$enable_dlopen 16558 16559 # Whether dlopen of programs is supported. 16560 dlopen_self=$enable_dlopen_self 16561 16562 # Whether dlopen of statically linked programs is supported. 16563 dlopen_self_static=$enable_dlopen_self_static 16564 16565 # Compiler flag to prevent dynamic linking. 16566 link_static_flag=$lt_lt_prog_compiler_static_F77 16567 16568 # Compiler flag to turn off builtin functions. 16569 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77 16570 16571 # Compiler flag to allow reflexive dlopens. 16572 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77 16573 16574 # Compiler flag to generate shared objects directly from archives. 16575 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77 16576 16577 # Compiler flag to generate thread-safe objects. 16578 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77 16579 16580 # Library versioning type. 16581 version_type=$version_type 16582 16583 # Format of library name prefix. 16584 libname_spec=$lt_libname_spec 16585 16586 # List of archive names. First name is the real one, the rest are links. 16587 # The last name is the one that the linker finds with -lNAME. 16588 library_names_spec=$lt_library_names_spec 16589 16590 # The coded name of the library, if different from the real name. 16591 soname_spec=$lt_soname_spec 16592 16593 # Commands used to build and install an old-style archive. 16594 RANLIB=$lt_RANLIB 16595 old_archive_cmds=$lt_old_archive_cmds_F77 16596 old_postinstall_cmds=$lt_old_postinstall_cmds 16597 old_postuninstall_cmds=$lt_old_postuninstall_cmds 16598 16599 # Create an old-style archive from a shared archive. 16600 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77 16601 16602 # Create a temporary old-style archive to link instead of a shared archive. 16603 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77 16604 16605 # Commands used to build and install a shared archive. 16606 archive_cmds=$lt_archive_cmds_F77 16607 archive_expsym_cmds=$lt_archive_expsym_cmds_F77 16608 postinstall_cmds=$lt_postinstall_cmds 16609 postuninstall_cmds=$lt_postuninstall_cmds 16610 16611 # Commands used to build a loadable module (assumed same as above if empty) 16612 module_cmds=$lt_module_cmds_F77 16613 module_expsym_cmds=$lt_module_expsym_cmds_F77 16614 16615 # Commands to strip libraries. 16616 old_striplib=$lt_old_striplib 16617 striplib=$lt_striplib 16618 16619 # Dependencies to place before the objects being linked to create a 16620 # shared library. 16621 predep_objects=$lt_predep_objects_F77 16622 16623 # Dependencies to place after the objects being linked to create a 16624 # shared library. 16625 postdep_objects=$lt_postdep_objects_F77 16626 16627 # Dependencies to place before the objects being linked to create a 16628 # shared library. 16629 predeps=$lt_predeps_F77 16630 16631 # Dependencies to place after the objects being linked to create a 16632 # shared library. 16633 postdeps=$lt_postdeps_F77 16634 16635 # The library search path used internally by the compiler when linking 16636 # a shared library. 16637 compiler_lib_search_path=$lt_compiler_lib_search_path_F77 16638 16639 # Method to check whether dependent libraries are shared objects. 16640 deplibs_check_method=$lt_deplibs_check_method 16641 16642 # Command to use when deplibs_check_method == file_magic. 16643 file_magic_cmd=$lt_file_magic_cmd 16644 16645 # Flag that allows shared libraries with undefined symbols to be built. 16646 allow_undefined_flag=$lt_allow_undefined_flag_F77 16647 16648 # Flag that forces no undefined symbols. 16649 no_undefined_flag=$lt_no_undefined_flag_F77 16650 16651 # Commands used to finish a libtool library installation in a directory. 16652 finish_cmds=$lt_finish_cmds 16653 16654 # Same as above, but a single script fragment to be evaled but not shown. 16655 finish_eval=$lt_finish_eval 16656 16657 # Take the output of nm and produce a listing of raw symbols and C names. 16658 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 16659 16660 # Transform the output of nm in a proper C declaration 16661 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 16662 16663 # Transform the output of nm in a C name address pair 16664 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 16665 16666 # This is the shared library runtime path variable. 16667 runpath_var=$runpath_var 16668 16669 # This is the shared library path variable. 16670 shlibpath_var=$shlibpath_var 16671 16672 # Is shlibpath searched before the hard-coded library search path? 16673 shlibpath_overrides_runpath=$shlibpath_overrides_runpath 16674 16675 # How to hardcode a shared library path into an executable. 16676 hardcode_action=$hardcode_action_F77 16677 16678 # Whether we should hardcode library paths into libraries. 16679 hardcode_into_libs=$hardcode_into_libs 16680 16681 # Flag to hardcode \$libdir into a binary during linking. 16682 # This must work even if \$libdir does not exist. 16683 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77 16684 16685 # If ld is used when linking, flag to hardcode \$libdir into 16686 # a binary during linking. This must work even if \$libdir does 16687 # not exist. 16688 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77 16689 16690 # Whether we need a single -rpath flag with a separated argument. 16691 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77 16692 16693 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the 16694 # resulting binary. 16695 hardcode_direct=$hardcode_direct_F77 16696 16697 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the 16698 # resulting binary. 16699 hardcode_minus_L=$hardcode_minus_L_F77 16700 16701 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into 16702 # the resulting binary. 16703 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77 16704 16705 # Set to yes if building a shared library automatically hardcodes DIR into the library 16706 # and all subsequent libraries and executables linked against it. 16707 hardcode_automatic=$hardcode_automatic_F77 16708 16709 # Variables whose values should be saved in libtool wrapper scripts and 16710 # restored at relink time. 16711 variables_saved_for_relink="$variables_saved_for_relink" 16712 16713 # Whether libtool must link a program against all its dependency libraries. 16714 link_all_deplibs=$link_all_deplibs_F77 16715 16716 # Compile-time system search path for libraries 16717 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 16718 16719 # Run-time system search path for libraries 16720 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 16721 16722 # Fix the shell variable \$srcfile for the compiler. 16723 fix_srcfile_path="$fix_srcfile_path_F77" 16724 16725 # Set to yes if exported symbols are required. 16726 always_export_symbols=$always_export_symbols_F77 16727 16728 # The commands to list exported symbols. 16729 export_symbols_cmds=$lt_export_symbols_cmds_F77 16730 16731 # The commands to extract the exported symbol list from a shared archive. 16732 extract_expsyms_cmds=$lt_extract_expsyms_cmds 16733 16734 # Symbols that should not be listed in the preloaded symbols. 16735 exclude_expsyms=$lt_exclude_expsyms_F77 16736 16737 # Symbols that must always be exported. 16738 include_expsyms=$lt_include_expsyms_F77 16739 16740 # ### END LIBTOOL TAG CONFIG: $tagname 16741 16742 __EOF__ 16743 16744 16745 else 16746 # If there is no Makefile yet, we rely on a make rule to execute 16747 # `config.status --recheck' to rerun these tests and create the 16748 # libtool script then. 16749 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 16750 if test -f "$ltmain_in"; then 16751 test -f Makefile && make "$ltmain" 16752 fi 16753 fi 16754 16755 16756 ac_ext=c 16757 ac_cpp='$CPP $CPPFLAGS' 16758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16760 ac_compiler_gnu=$ac_cv_c_compiler_gnu 16761 16762 CC="$lt_save_CC" 16763 16764 else 16765 tagname="" 16766 fi 16767 ;; 16768 16769 GCJ) 16770 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then 16771 16772 16773 # Source file extension for Java test sources. 16774 ac_ext=java 16775 16776 # Object file extension for compiled Java test sources. 16777 objext=o 16778 objext_GCJ=$objext 16779 16780 # Code to be used in simple compile tests 16781 lt_simple_compile_test_code="class foo {}\n" 16782 16783 # Code to be used in simple link tests 16784 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n' 16785 16786 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 16787 16788 # If no C compiler was specified, use CC. 16789 LTCC=${LTCC-"$CC"} 16790 16791 # If no C compiler flags were specified, use CFLAGS. 16792 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 16793 16794 # Allow CC to be a program name with arguments. 16795 compiler=$CC 16796 16797 16798 # save warnings/boilerplate of simple test code 16799 ac_outfile=conftest.$ac_objext 16800 printf "$lt_simple_compile_test_code" >conftest.$ac_ext 16801 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 16802 _lt_compiler_boilerplate=`cat conftest.err` 16803 $rm conftest* 16804 16805 ac_outfile=conftest.$ac_objext 16806 printf "$lt_simple_link_test_code" >conftest.$ac_ext 16807 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 16808 _lt_linker_boilerplate=`cat conftest.err` 16809 $rm conftest* 16810 16811 16812 # Allow CC to be a program name with arguments. 16813 lt_save_CC="$CC" 16814 CC=${GCJ-"gcj"} 16815 compiler=$CC 16816 compiler_GCJ=$CC 16817 for cc_temp in $compiler""; do 16818 case $cc_temp in 16819 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 16820 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 16821 \-*) ;; 16822 *) break;; 16823 esac 16824 done 16825 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 16826 16827 16828 # GCJ did not exist at the time GCC didn't implicitly link libc in. 16829 archive_cmds_need_lc_GCJ=no 16830 16831 old_archive_cmds_GCJ=$old_archive_cmds 16832 16833 16834 lt_prog_compiler_no_builtin_flag_GCJ= 16835 16836 if test "$GCC" = yes; then 16837 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' 16838 16839 16840 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 16841 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } 16842 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then 16843 echo $ECHO_N "(cached) $ECHO_C" >&6 16844 else 16845 lt_cv_prog_compiler_rtti_exceptions=no 16846 ac_outfile=conftest.$ac_objext 16847 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 16848 lt_compiler_flag="-fno-rtti -fno-exceptions" 16849 # Insert the option either (1) after the last *FLAGS variable, or 16850 # (2) before a word containing "conftest.", or (3) at the end. 16851 # Note that $ac_compile itself does not contain backslashes and begins 16852 # with a dollar sign (not a hyphen), so the echo should work correctly. 16853 # The option is referenced via a variable to avoid confusing sed. 16854 lt_compile=`echo "$ac_compile" | $SED \ 16855 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 16856 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16857 -e 's:$: $lt_compiler_flag:'` 16858 (eval echo "\"\$as_me:16858: $lt_compile\"" >&5) 16859 (eval "$lt_compile" 2>conftest.err) 16860 ac_status=$? 16861 cat conftest.err >&5 16862 echo "$as_me:16862: \$? = $ac_status" >&5 16863 if (exit $ac_status) && test -s "$ac_outfile"; then 16864 # The compiler can only warn and ignore the option if not recognized 16865 # So say no if there are warnings other than the usual output. 16866 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 16867 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 16868 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 16869 lt_cv_prog_compiler_rtti_exceptions=yes 16870 fi 16871 fi 16872 $rm conftest* 16873 16874 fi 16875 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 16876 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } 16877 16878 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 16879 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" 16880 else 16881 : 16882 fi 16883 16884 fi 16885 16886 lt_prog_compiler_wl_GCJ= 16887 lt_prog_compiler_pic_GCJ= 16888 lt_prog_compiler_static_GCJ= 16889 16890 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 16891 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } 16892 16893 if test "$GCC" = yes; then 16894 lt_prog_compiler_wl_GCJ='-Wl,' 16895 lt_prog_compiler_static_GCJ='-static' 16896 16897 case $host_os in 16898 aix*) 16899 # All AIX code is PIC. 16900 if test "$host_cpu" = ia64; then 16901 # AIX 5 now supports IA64 processor 16902 lt_prog_compiler_static_GCJ='-Bstatic' 16903 fi 16904 ;; 16905 16906 amigaos*) 16907 # FIXME: we need at least 68020 code to build shared libraries, but 16908 # adding the `-m68020' flag to GCC prevents building anything better, 16909 # like `-m68040'. 16910 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4' 16911 ;; 16912 16913 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 16914 # PIC is the default for these OSes. 16915 ;; 16916 16917 mingw* | pw32* | os2*) 16918 # This hack is so that the source file can tell whether it is being 16919 # built for inclusion in a dll (and should export symbols for example). 16920 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' 16921 ;; 16922 16923 darwin* | rhapsody*) 16924 # PIC is the default on this platform 16925 # Common symbols not allowed in MH_DYLIB files 16926 lt_prog_compiler_pic_GCJ='-fno-common' 16927 ;; 16928 16929 interix3*) 16930 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 16931 # Instead, we relocate shared libraries at runtime. 16932 ;; 16933 16934 msdosdjgpp*) 16935 # Just because we use GCC doesn't mean we suddenly get shared libraries 16936 # on systems that don't support them. 16937 lt_prog_compiler_can_build_shared_GCJ=no 16938 enable_shared=no 16939 ;; 16940 16941 sysv4*MP*) 16942 if test -d /usr/nec; then 16943 lt_prog_compiler_pic_GCJ=-Kconform_pic 16944 fi 16945 ;; 16946 16947 hpux*) 16948 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 16949 # not for PA HP-UX. 16950 case $host_cpu in 16951 hppa*64*|ia64*) 16952 # +Z the default 16953 ;; 16954 *) 16955 lt_prog_compiler_pic_GCJ='-fPIC' 16956 ;; 16957 esac 16958 ;; 16959 16960 *) 16961 lt_prog_compiler_pic_GCJ='-fPIC' 16962 ;; 16963 esac 16964 else 16965 # PORTME Check for flag to pass linker flags through the system compiler. 16966 case $host_os in 16967 aix*) 16968 lt_prog_compiler_wl_GCJ='-Wl,' 16969 if test "$host_cpu" = ia64; then 16970 # AIX 5 now supports IA64 processor 16971 lt_prog_compiler_static_GCJ='-Bstatic' 16972 else 16973 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' 16974 fi 16975 ;; 16976 darwin*) 16977 # PIC is the default on this platform 16978 # Common symbols not allowed in MH_DYLIB files 16979 case $cc_basename in 16980 xlc*) 16981 lt_prog_compiler_pic_GCJ='-qnocommon' 16982 lt_prog_compiler_wl_GCJ='-Wl,' 16983 ;; 16984 esac 16985 ;; 16986 16987 mingw* | pw32* | os2*) 16988 # This hack is so that the source file can tell whether it is being 16989 # built for inclusion in a dll (and should export symbols for example). 16990 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' 16991 ;; 16992 16993 hpux9* | hpux10* | hpux11*) 16994 lt_prog_compiler_wl_GCJ='-Wl,' 16995 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 16996 # not for PA HP-UX. 16997 case $host_cpu in 16998 hppa*64*|ia64*) 16999 # +Z the default 17000 ;; 17001 *) 17002 lt_prog_compiler_pic_GCJ='+Z' 17003 ;; 17004 esac 17005 # Is there a better lt_prog_compiler_static that works with the bundled CC? 17006 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive' 17007 ;; 17008 17009 irix5* | irix6* | nonstopux*) 17010 lt_prog_compiler_wl_GCJ='-Wl,' 17011 # PIC (with -KPIC) is the default. 17012 lt_prog_compiler_static_GCJ='-non_shared' 17013 ;; 17014 17015 newsos6) 17016 lt_prog_compiler_pic_GCJ='-KPIC' 17017 lt_prog_compiler_static_GCJ='-Bstatic' 17018 ;; 17019 17020 linux*) 17021 case $cc_basename in 17022 icc* | ecc*) 17023 lt_prog_compiler_wl_GCJ='-Wl,' 17024 lt_prog_compiler_pic_GCJ='-KPIC' 17025 lt_prog_compiler_static_GCJ='-static' 17026 ;; 17027 pgcc* | pgf77* | pgf90* | pgf95*) 17028 # Portland Group compilers (*not* the Pentium gcc compiler, 17029 # which looks to be a dead project) 17030 lt_prog_compiler_wl_GCJ='-Wl,' 17031 lt_prog_compiler_pic_GCJ='-fpic' 17032 lt_prog_compiler_static_GCJ='-Bstatic' 17033 ;; 17034 ccc*) 17035 lt_prog_compiler_wl_GCJ='-Wl,' 17036 # All Alpha code is PIC. 17037 lt_prog_compiler_static_GCJ='-non_shared' 17038 ;; 17039 esac 17040 ;; 17041 17042 osf3* | osf4* | osf5*) 17043 lt_prog_compiler_wl_GCJ='-Wl,' 17044 # All OSF/1 code is PIC. 17045 lt_prog_compiler_static_GCJ='-non_shared' 17046 ;; 17047 17048 solaris*) 17049 lt_prog_compiler_pic_GCJ='-KPIC' 17050 lt_prog_compiler_static_GCJ='-Bstatic' 17051 case $cc_basename in 17052 f77* | f90* | f95*) 17053 lt_prog_compiler_wl_GCJ='-Qoption ld ';; 17054 *) 17055 lt_prog_compiler_wl_GCJ='-Wl,';; 17056 esac 17057 ;; 17058 17059 sunos4*) 17060 lt_prog_compiler_wl_GCJ='-Qoption ld ' 17061 lt_prog_compiler_pic_GCJ='-PIC' 17062 lt_prog_compiler_static_GCJ='-Bstatic' 17063 ;; 17064 17065 sysv4 | sysv4.2uw2* | sysv4.3*) 17066 lt_prog_compiler_wl_GCJ='-Wl,' 17067 lt_prog_compiler_pic_GCJ='-KPIC' 17068 lt_prog_compiler_static_GCJ='-Bstatic' 17069 ;; 17070 17071 sysv4*MP*) 17072 if test -d /usr/nec ;then 17073 lt_prog_compiler_pic_GCJ='-Kconform_pic' 17074 lt_prog_compiler_static_GCJ='-Bstatic' 17075 fi 17076 ;; 17077 17078 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 17079 lt_prog_compiler_wl_GCJ='-Wl,' 17080 lt_prog_compiler_pic_GCJ='-KPIC' 17081 lt_prog_compiler_static_GCJ='-Bstatic' 17082 ;; 17083 17084 unicos*) 17085 lt_prog_compiler_wl_GCJ='-Wl,' 17086 lt_prog_compiler_can_build_shared_GCJ=no 17087 ;; 17088 17089 uts4*) 17090 lt_prog_compiler_pic_GCJ='-pic' 17091 lt_prog_compiler_static_GCJ='-Bstatic' 17092 ;; 17093 17094 *) 17095 lt_prog_compiler_can_build_shared_GCJ=no 17096 ;; 17097 esac 17098 fi 17099 17100 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5 17101 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; } 17102 17103 # 17104 # Check to make sure the PIC flag actually works. 17105 # 17106 if test -n "$lt_prog_compiler_pic_GCJ"; then 17107 17108 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 17109 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; } 17110 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then 17111 echo $ECHO_N "(cached) $ECHO_C" >&6 17112 else 17113 lt_prog_compiler_pic_works_GCJ=no 17114 ac_outfile=conftest.$ac_objext 17115 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 17116 lt_compiler_flag="$lt_prog_compiler_pic_GCJ" 17117 # Insert the option either (1) after the last *FLAGS variable, or 17118 # (2) before a word containing "conftest.", or (3) at the end. 17119 # Note that $ac_compile itself does not contain backslashes and begins 17120 # with a dollar sign (not a hyphen), so the echo should work correctly. 17121 # The option is referenced via a variable to avoid confusing sed. 17122 lt_compile=`echo "$ac_compile" | $SED \ 17123 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 17124 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17125 -e 's:$: $lt_compiler_flag:'` 17126 (eval echo "\"\$as_me:17126: $lt_compile\"" >&5) 17127 (eval "$lt_compile" 2>conftest.err) 17128 ac_status=$? 17129 cat conftest.err >&5 17130 echo "$as_me:17130: \$? = $ac_status" >&5 17131 if (exit $ac_status) && test -s "$ac_outfile"; then 17132 # The compiler can only warn and ignore the option if not recognized 17133 # So say no if there are warnings other than the usual output. 17134 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 17135 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 17136 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 17137 lt_prog_compiler_pic_works_GCJ=yes 17138 fi 17139 fi 17140 $rm conftest* 17141 17142 fi 17143 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5 17144 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; } 17145 17146 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then 17147 case $lt_prog_compiler_pic_GCJ in 17148 "" | " "*) ;; 17149 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; 17150 esac 17151 else 17152 lt_prog_compiler_pic_GCJ= 17153 lt_prog_compiler_can_build_shared_GCJ=no 17154 fi 17155 17156 fi 17157 case $host_os in 17158 # For platforms which do not support PIC, -DPIC is meaningless: 17159 *djgpp*) 17160 lt_prog_compiler_pic_GCJ= 17161 ;; 17162 *) 17163 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" 17164 ;; 17165 esac 17166 17167 # 17168 # Check to make sure the static flag actually works. 17169 # 17170 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\" 17171 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 17172 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } 17173 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then 17174 echo $ECHO_N "(cached) $ECHO_C" >&6 17175 else 17176 lt_prog_compiler_static_works_GCJ=no 17177 save_LDFLAGS="$LDFLAGS" 17178 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 17179 printf "$lt_simple_link_test_code" > conftest.$ac_ext 17180 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 17181 # The linker can only warn and ignore the option if not recognized 17182 # So say no if there are warnings 17183 if test -s conftest.err; then 17184 # Append any errors to the config.log. 17185 cat conftest.err 1>&5 17186 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 17187 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 17188 if diff conftest.exp conftest.er2 >/dev/null; then 17189 lt_prog_compiler_static_works_GCJ=yes 17190 fi 17191 else 17192 lt_prog_compiler_static_works_GCJ=yes 17193 fi 17194 fi 17195 $rm conftest* 17196 LDFLAGS="$save_LDFLAGS" 17197 17198 fi 17199 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5 17200 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; } 17201 17202 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then 17203 : 17204 else 17205 lt_prog_compiler_static_GCJ= 17206 fi 17207 17208 17209 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 17210 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } 17211 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then 17212 echo $ECHO_N "(cached) $ECHO_C" >&6 17213 else 17214 lt_cv_prog_compiler_c_o_GCJ=no 17215 $rm -r conftest 2>/dev/null 17216 mkdir conftest 17217 cd conftest 17218 mkdir out 17219 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 17220 17221 lt_compiler_flag="-o out/conftest2.$ac_objext" 17222 # Insert the option either (1) after the last *FLAGS variable, or 17223 # (2) before a word containing "conftest.", or (3) at the end. 17224 # Note that $ac_compile itself does not contain backslashes and begins 17225 # with a dollar sign (not a hyphen), so the echo should work correctly. 17226 lt_compile=`echo "$ac_compile" | $SED \ 17227 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 17228 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17229 -e 's:$: $lt_compiler_flag:'` 17230 (eval echo "\"\$as_me:17230: $lt_compile\"" >&5) 17231 (eval "$lt_compile" 2>out/conftest.err) 17232 ac_status=$? 17233 cat out/conftest.err >&5 17234 echo "$as_me:17234: \$? = $ac_status" >&5 17235 if (exit $ac_status) && test -s out/conftest2.$ac_objext 17236 then 17237 # The compiler can only warn and ignore the option if not recognized 17238 # So say no if there are warnings 17239 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 17240 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 17241 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 17242 lt_cv_prog_compiler_c_o_GCJ=yes 17243 fi 17244 fi 17245 chmod u+w . 2>&5 17246 $rm conftest* 17247 # SGI C++ compiler will create directory out/ii_files/ for 17248 # template instantiation 17249 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 17250 $rm out/* && rmdir out 17251 cd .. 17252 rmdir conftest 17253 $rm conftest* 17254 17255 fi 17256 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 17257 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; } 17258 17259 17260 hard_links="nottested" 17261 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then 17262 # do not overwrite the value of need_locks provided by the user 17263 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 17264 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } 17265 hard_links=yes 17266 $rm conftest* 17267 ln conftest.a conftest.b 2>/dev/null && hard_links=no 17268 touch conftest.a 17269 ln conftest.a conftest.b 2>&5 || hard_links=no 17270 ln conftest.a conftest.b 2>/dev/null && hard_links=no 17271 { echo "$as_me:$LINENO: result: $hard_links" >&5 17272 echo "${ECHO_T}$hard_links" >&6; } 17273 if test "$hard_links" = no; then 17274 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 17275 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 17276 need_locks=warn 17277 fi 17278 else 17279 need_locks=no 17280 fi 17281 17282 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 17283 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } 17284 17285 runpath_var= 17286 allow_undefined_flag_GCJ= 17287 enable_shared_with_static_runtimes_GCJ=no 17288 archive_cmds_GCJ= 17289 archive_expsym_cmds_GCJ= 17290 old_archive_From_new_cmds_GCJ= 17291 old_archive_from_expsyms_cmds_GCJ= 17292 export_dynamic_flag_spec_GCJ= 17293 whole_archive_flag_spec_GCJ= 17294 thread_safe_flag_spec_GCJ= 17295 hardcode_libdir_flag_spec_GCJ= 17296 hardcode_libdir_flag_spec_ld_GCJ= 17297 hardcode_libdir_separator_GCJ= 17298 hardcode_direct_GCJ=no 17299 hardcode_minus_L_GCJ=no 17300 hardcode_shlibpath_var_GCJ=unsupported 17301 link_all_deplibs_GCJ=unknown 17302 hardcode_automatic_GCJ=no 17303 module_cmds_GCJ= 17304 module_expsym_cmds_GCJ= 17305 always_export_symbols_GCJ=no 17306 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 17307 # include_expsyms should be a list of space-separated symbols to be *always* 17308 # included in the symbol list 17309 include_expsyms_GCJ= 17310 # exclude_expsyms can be an extended regexp of symbols to exclude 17311 # it will be wrapped by ` (' and `)$', so one must not match beginning or 17312 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 17313 # as well as any symbol that contains `d'. 17314 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_" 17315 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 17316 # platforms (ab)use it in PIC code, but their linkers get confused if 17317 # the symbol is explicitly referenced. Since portable code cannot 17318 # rely on this symbol name, it's probably fine to never include it in 17319 # preloaded symbol tables. 17320 extract_expsyms_cmds= 17321 # Just being paranoid about ensuring that cc_basename is set. 17322 for cc_temp in $compiler""; do 17323 case $cc_temp in 17324 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 17325 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 17326 \-*) ;; 17327 *) break;; 17328 esac 17329 done 17330 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 17331 17332 case $host_os in 17333 cygwin* | mingw* | pw32*) 17334 # FIXME: the MSVC++ port hasn't been tested in a loooong time 17335 # When not using gcc, we currently assume that we are using 17336 # Microsoft Visual C++. 17337 if test "$GCC" != yes; then 17338 with_gnu_ld=no 17339 fi 17340 ;; 17341 interix*) 17342 # we just hope/assume this is gcc and not c89 (= MSVC++) 17343 with_gnu_ld=yes 17344 ;; 17345 openbsd*) 17346 with_gnu_ld=no 17347 ;; 17348 esac 17349 17350 ld_shlibs_GCJ=yes 17351 if test "$with_gnu_ld" = yes; then 17352 # If archive_cmds runs LD, not CC, wlarc should be empty 17353 wlarc='${wl}' 17354 17355 # Set some defaults for GNU ld with shared library support. These 17356 # are reset later if shared libraries are not supported. Putting them 17357 # here allows them to be overridden if necessary. 17358 runpath_var=LD_RUN_PATH 17359 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' 17360 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' 17361 # ancient GNU ld didn't support --whole-archive et. al. 17362 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then 17363 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 17364 else 17365 whole_archive_flag_spec_GCJ= 17366 fi 17367 supports_anon_versioning=no 17368 case `$LD -v 2>/dev/null` in 17369 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 17370 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 17371 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 17372 *\ 2.11.*) ;; # other 2.11 versions 17373 *) supports_anon_versioning=yes ;; 17374 esac 17375 17376 # See if GNU ld supports shared libraries. 17377 case $host_os in 17378 aix3* | aix4* | aix5*) 17379 # On AIX/PPC, the GNU linker is very broken 17380 if test "$host_cpu" != ia64; then 17381 ld_shlibs_GCJ=no 17382 cat <<EOF 1>&2 17383 17384 *** Warning: the GNU linker, at least up to release 2.9.1, is reported 17385 *** to be unable to reliably create shared libraries on AIX. 17386 *** Therefore, libtool is disabling shared libraries support. If you 17387 *** really care for shared libraries, you may want to modify your PATH 17388 *** so that a non-GNU linker is found, and then restart. 17389 17390 EOF 17391 fi 17392 ;; 17393 17394 amigaos*) 17395 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)' 17396 hardcode_libdir_flag_spec_GCJ='-L$libdir' 17397 hardcode_minus_L_GCJ=yes 17398 17399 # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports 17400 # that the semantics of dynamic libraries on AmigaOS, at least up 17401 # to version 4, is to share data among multiple programs linked 17402 # with the same dynamic library. Since this doesn't match the 17403 # behavior of shared libraries on other platforms, we can't use 17404 # them. 17405 ld_shlibs_GCJ=no 17406 ;; 17407 17408 beos*) 17409 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 17410 allow_undefined_flag_GCJ=unsupported 17411 # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc 17412 # support --undefined. This deserves some investigation. FIXME 17413 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 17414 else 17415 ld_shlibs_GCJ=no 17416 fi 17417 ;; 17418 17419 cygwin* | mingw* | pw32*) 17420 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless, 17421 # as there is no search path for DLLs. 17422 hardcode_libdir_flag_spec_GCJ='-L$libdir' 17423 allow_undefined_flag_GCJ=unsupported 17424 always_export_symbols_GCJ=no 17425 enable_shared_with_static_runtimes_GCJ=yes 17426 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' 17427 17428 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then 17429 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 17430 # If the export-symbols file already is a .def file (1st line 17431 # is EXPORTS), use it as is; otherwise, prepend... 17432 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 17433 cp $export_symbols $output_objdir/$soname.def; 17434 else 17435 echo EXPORTS > $output_objdir/$soname.def; 17436 cat $export_symbols >> $output_objdir/$soname.def; 17437 fi~ 17438 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 17439 else 17440 ld_shlibs_GCJ=no 17441 fi 17442 ;; 17443 17444 interix3*) 17445 hardcode_direct_GCJ=no 17446 hardcode_shlibpath_var_GCJ=no 17447 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' 17448 export_dynamic_flag_spec_GCJ='${wl}-E' 17449 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 17450 # Instead, shared libraries are loaded at an image base (0x10000000 by 17451 # default) and relocated if they conflict, which is a slow very memory 17452 # consuming and fragmenting process. To avoid this, we pick a random, 17453 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 17454 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 17455 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' 17456 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' 17457 ;; 17458 17459 linux*) 17460 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 17461 tmp_addflag= 17462 case $cc_basename,$host_cpu in 17463 pgcc*) # Portland Group C compiler 17464 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' 17465 tmp_addflag=' $pic_flag' 17466 ;; 17467 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 17468 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' 17469 tmp_addflag=' $pic_flag -Mnomain' ;; 17470 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 17471 tmp_addflag=' -i_dynamic' ;; 17472 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 17473 tmp_addflag=' -i_dynamic -nofor_main' ;; 17474 ifc* | ifort*) # Intel Fortran compiler 17475 tmp_addflag=' -nofor_main' ;; 17476 esac 17477 archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 17478 17479 if test $supports_anon_versioning = yes; then 17480 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~ 17481 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 17482 $echo "local: *; };" >> $output_objdir/$libname.ver~ 17483 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 17484 fi 17485 else 17486 ld_shlibs_GCJ=no 17487 fi 17488 ;; 17489 17490 netbsd*) 17491 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 17492 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 17493 wlarc= 17494 else 17495 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 17496 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 17497 fi 17498 ;; 17499 17500 solaris*) 17501 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then 17502 ld_shlibs_GCJ=no 17503 cat <<EOF 1>&2 17504 17505 *** Warning: The releases 2.8.* of the GNU linker cannot reliably 17506 *** create shared libraries on Solaris systems. Therefore, libtool 17507 *** is disabling shared libraries support. We urge you to upgrade GNU 17508 *** binutils to release 2.9.1 or newer. Another option is to modify 17509 *** your PATH or compiler configuration so that the native linker is 17510 *** used, and then restart. 17511 17512 EOF 17513 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 17514 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 17515 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 17516 else 17517 ld_shlibs_GCJ=no 17518 fi 17519 ;; 17520 17521 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 17522 case `$LD -v 2>&1` in 17523 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 17524 ld_shlibs_GCJ=no 17525 cat <<_LT_EOF 1>&2 17526 17527 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 17528 *** reliably create shared libraries on SCO systems. Therefore, libtool 17529 *** is disabling shared libraries support. We urge you to upgrade GNU 17530 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify 17531 *** your PATH or compiler configuration so that the native linker is 17532 *** used, and then restart. 17533 17534 _LT_EOF 17535 ;; 17536 *) 17537 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 17538 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' 17539 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' 17540 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' 17541 else 17542 ld_shlibs_GCJ=no 17543 fi 17544 ;; 17545 esac 17546 ;; 17547 17548 sunos4*) 17549 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 17550 wlarc= 17551 hardcode_direct_GCJ=yes 17552 hardcode_shlibpath_var_GCJ=no 17553 ;; 17554 17555 *) 17556 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 17557 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 17558 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 17559 else 17560 ld_shlibs_GCJ=no 17561 fi 17562 ;; 17563 esac 17564 17565 if test "$ld_shlibs_GCJ" = no; then 17566 runpath_var= 17567 hardcode_libdir_flag_spec_GCJ= 17568 export_dynamic_flag_spec_GCJ= 17569 whole_archive_flag_spec_GCJ= 17570 fi 17571 else 17572 # PORTME fill in a description of your system's linker (not GNU ld) 17573 case $host_os in 17574 aix3*) 17575 allow_undefined_flag_GCJ=unsupported 17576 always_export_symbols_GCJ=yes 17577 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' 17578 # Note: this linker hardcodes the directories in LIBPATH if there 17579 # are no directories specified by -L. 17580 hardcode_minus_L_GCJ=yes 17581 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 17582 # Neither direct hardcoding nor static linking is supported with a 17583 # broken collect2. 17584 hardcode_direct_GCJ=unsupported 17585 fi 17586 ;; 17587 17588 aix4* | aix5*) 17589 if test "$host_cpu" = ia64; then 17590 # On IA64, the linker does run time linking by default, so we don't 17591 # have to do anything special. 17592 aix_use_runtimelinking=no 17593 exp_sym_flag='-Bexport' 17594 no_entry_flag="" 17595 else 17596 # If we're using GNU nm, then we don't want the "-C" option. 17597 # -C means demangle to AIX nm, but means don't demangle with GNU nm 17598 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then 17599 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' 17600 else 17601 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' 17602 fi 17603 aix_use_runtimelinking=no 17604 17605 # Test if we are trying to use run time linking or normal 17606 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 17607 # need to do runtime linking. 17608 case $host_os in aix4.[23]|aix4.[23].*|aix5*) 17609 for ld_flag in $LDFLAGS; do 17610 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 17611 aix_use_runtimelinking=yes 17612 break 17613 fi 17614 done 17615 ;; 17616 esac 17617 17618 exp_sym_flag='-bexport' 17619 no_entry_flag='-bnoentry' 17620 fi 17621 17622 # When large executables or shared objects are built, AIX ld can 17623 # have problems creating the table of contents. If linking a library 17624 # or program results in "error TOC overflow" add -mminimal-toc to 17625 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 17626 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 17627 17628 archive_cmds_GCJ='' 17629 hardcode_direct_GCJ=yes 17630 hardcode_libdir_separator_GCJ=':' 17631 link_all_deplibs_GCJ=yes 17632 17633 if test "$GCC" = yes; then 17634 case $host_os in aix4.[012]|aix4.[012].*) 17635 # We only want to do this on AIX 4.2 and lower, the check 17636 # below for broken collect2 doesn't work under 4.3+ 17637 collect2name=`${CC} -print-prog-name=collect2` 17638 if test -f "$collect2name" && \ 17639 strings "$collect2name" | grep resolve_lib_name >/dev/null 17640 then 17641 # We have reworked collect2 17642 hardcode_direct_GCJ=yes 17643 else 17644 # We have old collect2 17645 hardcode_direct_GCJ=unsupported 17646 # It fails to find uninstalled libraries when the uninstalled 17647 # path is not listed in the libpath. Setting hardcode_minus_L 17648 # to unsupported forces relinking 17649 hardcode_minus_L_GCJ=yes 17650 hardcode_libdir_flag_spec_GCJ='-L$libdir' 17651 hardcode_libdir_separator_GCJ= 17652 fi 17653 ;; 17654 esac 17655 shared_flag='-shared' 17656 if test "$aix_use_runtimelinking" = yes; then 17657 shared_flag="$shared_flag "'${wl}-G' 17658 fi 17659 else 17660 # not using gcc 17661 if test "$host_cpu" = ia64; then 17662 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 17663 # chokes on -Wl,-G. The following line is correct: 17664 shared_flag='-G' 17665 else 17666 if test "$aix_use_runtimelinking" = yes; then 17667 shared_flag='${wl}-G' 17668 else 17669 shared_flag='${wl}-bM:SRE' 17670 fi 17671 fi 17672 fi 17673 17674 # It seems that -bexpall does not export symbols beginning with 17675 # underscore (_), so it is better to generate a list of symbols to export. 17676 always_export_symbols_GCJ=yes 17677 if test "$aix_use_runtimelinking" = yes; then 17678 # Warning - without using the other runtime loading flags (-brtl), 17679 # -berok will link without error, but may produce a broken library. 17680 allow_undefined_flag_GCJ='-berok' 17681 # Determine the default libpath from the value encoded in an empty executable. 17682 cat >conftest.$ac_ext <<_ACEOF 17683 /* confdefs.h. */ 17684 _ACEOF 17685 cat confdefs.h >>conftest.$ac_ext 17686 cat >>conftest.$ac_ext <<_ACEOF 17687 /* end confdefs.h. */ 17688 17689 int 17690 main () 17691 { 17692 17693 ; 17694 return 0; 17695 } 17696 _ACEOF 17697 rm -f conftest.$ac_objext conftest$ac_exeext 17698 if { (ac_try="$ac_link" 17699 case "(($ac_try" in 17700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17701 *) ac_try_echo=$ac_try;; 17702 esac 17703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17704 (eval "$ac_link") 2>conftest.er1 17705 ac_status=$? 17706 grep -v '^ *+' conftest.er1 >conftest.err 17707 rm -f conftest.er1 17708 cat conftest.err >&5 17709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17710 (exit $ac_status); } && 17711 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 17712 { (case "(($ac_try" in 17713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17714 *) ac_try_echo=$ac_try;; 17715 esac 17716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17717 (eval "$ac_try") 2>&5 17718 ac_status=$? 17719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17720 (exit $ac_status); }; } && 17721 { ac_try='test -s conftest$ac_exeext' 17722 { (case "(($ac_try" in 17723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17724 *) ac_try_echo=$ac_try;; 17725 esac 17726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17727 (eval "$ac_try") 2>&5 17728 ac_status=$? 17729 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17730 (exit $ac_status); }; }; then 17731 17732 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 17733 }'` 17734 # Check for a 64-bit object if we didn't find anything. 17735 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 17736 }'`; fi 17737 else 17738 echo "$as_me: failed program was:" >&5 17739 sed 's/^/| /' conftest.$ac_ext >&5 17740 17741 17742 fi 17743 17744 rm -f core conftest.err conftest.$ac_objext \ 17745 conftest$ac_exeext conftest.$ac_ext 17746 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 17747 17748 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" 17749 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" 17750 else 17751 if test "$host_cpu" = ia64; then 17752 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' 17753 allow_undefined_flag_GCJ="-z nodefs" 17754 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" 17755 else 17756 # Determine the default libpath from the value encoded in an empty executable. 17757 cat >conftest.$ac_ext <<_ACEOF 17758 /* confdefs.h. */ 17759 _ACEOF 17760 cat confdefs.h >>conftest.$ac_ext 17761 cat >>conftest.$ac_ext <<_ACEOF 17762 /* end confdefs.h. */ 17763 17764 int 17765 main () 17766 { 17767 17768 ; 17769 return 0; 17770 } 17771 _ACEOF 17772 rm -f conftest.$ac_objext conftest$ac_exeext 17773 if { (ac_try="$ac_link" 17774 case "(($ac_try" in 17775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17776 *) ac_try_echo=$ac_try;; 17777 esac 17778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17779 (eval "$ac_link") 2>conftest.er1 17780 ac_status=$? 17781 grep -v '^ *+' conftest.er1 >conftest.err 17782 rm -f conftest.er1 17783 cat conftest.err >&5 17784 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17785 (exit $ac_status); } && 17786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 17787 { (case "(($ac_try" in 17788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17789 *) ac_try_echo=$ac_try;; 17790 esac 17791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17792 (eval "$ac_try") 2>&5 17793 ac_status=$? 17794 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17795 (exit $ac_status); }; } && 17796 { ac_try='test -s conftest$ac_exeext' 17797 { (case "(($ac_try" in 17798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17799 *) ac_try_echo=$ac_try;; 17800 esac 17801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17802 (eval "$ac_try") 2>&5 17803 ac_status=$? 17804 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17805 (exit $ac_status); }; }; then 17806 17807 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 17808 }'` 17809 # Check for a 64-bit object if we didn't find anything. 17810 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 17811 }'`; fi 17812 else 17813 echo "$as_me: failed program was:" >&5 17814 sed 's/^/| /' conftest.$ac_ext >&5 17815 17816 17817 fi 17818 17819 rm -f core conftest.err conftest.$ac_objext \ 17820 conftest$ac_exeext conftest.$ac_ext 17821 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 17822 17823 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" 17824 # Warning - without using the other run time loading flags, 17825 # -berok will link without error, but may produce a broken library. 17826 no_undefined_flag_GCJ=' ${wl}-bernotok' 17827 allow_undefined_flag_GCJ=' ${wl}-berok' 17828 # Exported symbols can be pulled into shared objects from archives 17829 whole_archive_flag_spec_GCJ='$convenience' 17830 archive_cmds_need_lc_GCJ=yes 17831 # This is similar to how AIX traditionally builds its shared libraries. 17832 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' 17833 fi 17834 fi 17835 ;; 17836 17837 amigaos*) 17838 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)' 17839 hardcode_libdir_flag_spec_GCJ='-L$libdir' 17840 hardcode_minus_L_GCJ=yes 17841 # see comment about different semantics on the GNU ld section 17842 ld_shlibs_GCJ=no 17843 ;; 17844 17845 bsdi[45]*) 17846 export_dynamic_flag_spec_GCJ=-rdynamic 17847 ;; 17848 17849 cygwin* | mingw* | pw32*) 17850 # When not using gcc, we currently assume that we are using 17851 # Microsoft Visual C++. 17852 # hardcode_libdir_flag_spec is actually meaningless, as there is 17853 # no search path for DLLs. 17854 hardcode_libdir_flag_spec_GCJ=' ' 17855 allow_undefined_flag_GCJ=unsupported 17856 # Tell ltmain to make .lib files, not .a files. 17857 libext=lib 17858 # Tell ltmain to make .dll files, not .so files. 17859 shrext_cmds=".dll" 17860 # FIXME: Setting linknames here is a bad hack. 17861 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' 17862 # The linker will automatically build a .lib file if we build a DLL. 17863 old_archive_From_new_cmds_GCJ='true' 17864 # FIXME: Should let the user specify the lib program. 17865 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs' 17866 fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`' 17867 enable_shared_with_static_runtimes_GCJ=yes 17868 ;; 17869 17870 darwin* | rhapsody*) 17871 case $host_os in 17872 rhapsody* | darwin1.[012]) 17873 allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress' 17874 ;; 17875 *) # Darwin 1.3 on 17876 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 17877 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 17878 else 17879 case ${MACOSX_DEPLOYMENT_TARGET} in 17880 10.[012]) 17881 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 17882 ;; 17883 10.*) 17884 allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup' 17885 ;; 17886 esac 17887 fi 17888 ;; 17889 esac 17890 archive_cmds_need_lc_GCJ=no 17891 hardcode_direct_GCJ=no 17892 hardcode_automatic_GCJ=yes 17893 hardcode_shlibpath_var_GCJ=unsupported 17894 whole_archive_flag_spec_GCJ='' 17895 link_all_deplibs_GCJ=yes 17896 if test "$GCC" = yes ; then 17897 output_verbose_link_cmd='echo' 17898 archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 17899 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 17900 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 17901 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}' 17902 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}' 17903 else 17904 case $cc_basename in 17905 xlc*) 17906 output_verbose_link_cmd='echo' 17907 archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' 17908 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 17909 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 17910 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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 17911 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}' 17912 ;; 17913 *) 17914 ld_shlibs_GCJ=no 17915 ;; 17916 esac 17917 fi 17918 ;; 17919 17920 dgux*) 17921 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 17922 hardcode_libdir_flag_spec_GCJ='-L$libdir' 17923 hardcode_shlibpath_var_GCJ=no 17924 ;; 17925 17926 freebsd1*) 17927 ld_shlibs_GCJ=no 17928 ;; 17929 17930 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 17931 # support. Future versions do this automatically, but an explicit c++rt0.o 17932 # does not break anything, and helps significantly (at the cost of a little 17933 # extra space). 17934 freebsd2.2*) 17935 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 17936 hardcode_libdir_flag_spec_GCJ='-R$libdir' 17937 hardcode_direct_GCJ=yes 17938 hardcode_shlibpath_var_GCJ=no 17939 ;; 17940 17941 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 17942 freebsd2*) 17943 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 17944 hardcode_direct_GCJ=yes 17945 hardcode_minus_L_GCJ=yes 17946 hardcode_shlibpath_var_GCJ=no 17947 ;; 17948 17949 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 17950 freebsd* | kfreebsd*-gnu | dragonfly*) 17951 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 17952 hardcode_libdir_flag_spec_GCJ='-R$libdir' 17953 hardcode_direct_GCJ=yes 17954 hardcode_shlibpath_var_GCJ=no 17955 ;; 17956 17957 hpux9*) 17958 if test "$GCC" = yes; then 17959 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' 17960 else 17961 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' 17962 fi 17963 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' 17964 hardcode_libdir_separator_GCJ=: 17965 hardcode_direct_GCJ=yes 17966 17967 # hardcode_minus_L: Not really in the search PATH, 17968 # but as the default location of the library. 17969 hardcode_minus_L_GCJ=yes 17970 export_dynamic_flag_spec_GCJ='${wl}-E' 17971 ;; 17972 17973 hpux10*) 17974 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 17975 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 17976 else 17977 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 17978 fi 17979 if test "$with_gnu_ld" = no; then 17980 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' 17981 hardcode_libdir_separator_GCJ=: 17982 17983 hardcode_direct_GCJ=yes 17984 export_dynamic_flag_spec_GCJ='${wl}-E' 17985 17986 # hardcode_minus_L: Not really in the search PATH, 17987 # but as the default location of the library. 17988 hardcode_minus_L_GCJ=yes 17989 fi 17990 ;; 17991 17992 hpux11*) 17993 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 17994 case $host_cpu in 17995 hppa*64*) 17996 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 17997 ;; 17998 ia64*) 17999 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 18000 ;; 18001 *) 18002 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 18003 ;; 18004 esac 18005 else 18006 case $host_cpu in 18007 hppa*64*) 18008 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 18009 ;; 18010 ia64*) 18011 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 18012 ;; 18013 *) 18014 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 18015 ;; 18016 esac 18017 fi 18018 if test "$with_gnu_ld" = no; then 18019 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' 18020 hardcode_libdir_separator_GCJ=: 18021 18022 case $host_cpu in 18023 hppa*64*|ia64*) 18024 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' 18025 hardcode_direct_GCJ=no 18026 hardcode_shlibpath_var_GCJ=no 18027 ;; 18028 *) 18029 hardcode_direct_GCJ=yes 18030 export_dynamic_flag_spec_GCJ='${wl}-E' 18031 18032 # hardcode_minus_L: Not really in the search PATH, 18033 # but as the default location of the library. 18034 hardcode_minus_L_GCJ=yes 18035 ;; 18036 esac 18037 fi 18038 ;; 18039 18040 irix5* | irix6* | nonstopux*) 18041 if test "$GCC" = yes; then 18042 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' 18043 else 18044 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' 18045 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir' 18046 fi 18047 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' 18048 hardcode_libdir_separator_GCJ=: 18049 link_all_deplibs_GCJ=yes 18050 ;; 18051 18052 netbsd*) 18053 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 18054 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 18055 else 18056 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 18057 fi 18058 hardcode_libdir_flag_spec_GCJ='-R$libdir' 18059 hardcode_direct_GCJ=yes 18060 hardcode_shlibpath_var_GCJ=no 18061 ;; 18062 18063 newsos6) 18064 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 18065 hardcode_direct_GCJ=yes 18066 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' 18067 hardcode_libdir_separator_GCJ=: 18068 hardcode_shlibpath_var_GCJ=no 18069 ;; 18070 18071 openbsd*) 18072 hardcode_direct_GCJ=yes 18073 hardcode_shlibpath_var_GCJ=no 18074 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 18075 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 18076 archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 18077 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' 18078 export_dynamic_flag_spec_GCJ='${wl}-E' 18079 else 18080 case $host_os in 18081 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 18082 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 18083 hardcode_libdir_flag_spec_GCJ='-R$libdir' 18084 ;; 18085 *) 18086 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 18087 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' 18088 ;; 18089 esac 18090 fi 18091 ;; 18092 18093 os2*) 18094 hardcode_libdir_flag_spec_GCJ='-L$libdir' 18095 hardcode_minus_L_GCJ=yes 18096 allow_undefined_flag_GCJ=unsupported 18097 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' 18098 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 18099 ;; 18100 18101 osf3*) 18102 if test "$GCC" = yes; then 18103 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' 18104 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' 18105 else 18106 allow_undefined_flag_GCJ=' -expect_unresolved \*' 18107 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' 18108 fi 18109 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' 18110 hardcode_libdir_separator_GCJ=: 18111 ;; 18112 18113 osf4* | osf5*) # as osf3* with the addition of -msym flag 18114 if test "$GCC" = yes; then 18115 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' 18116 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' 18117 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' 18118 else 18119 allow_undefined_flag_GCJ=' -expect_unresolved \*' 18120 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' 18121 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~ 18122 $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' 18123 18124 # Both c and cxx compiler support -rpath directly 18125 hardcode_libdir_flag_spec_GCJ='-rpath $libdir' 18126 fi 18127 hardcode_libdir_separator_GCJ=: 18128 ;; 18129 18130 solaris*) 18131 no_undefined_flag_GCJ=' -z text' 18132 if test "$GCC" = yes; then 18133 wlarc='${wl}' 18134 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 18135 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 18136 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' 18137 else 18138 wlarc='' 18139 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 18140 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 18141 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' 18142 fi 18143 hardcode_libdir_flag_spec_GCJ='-R$libdir' 18144 hardcode_shlibpath_var_GCJ=no 18145 case $host_os in 18146 solaris2.[0-5] | solaris2.[0-5].*) ;; 18147 *) 18148 # The compiler driver will combine linker options so we 18149 # cannot just pass the convience library names through 18150 # without $wl, iff we do not link with $LD. 18151 # Luckily, gcc supports the same syntax we need for Sun Studio. 18152 # Supported since Solaris 2.6 (maybe 2.5.1?) 18153 case $wlarc in 18154 '') 18155 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;; 18156 *) 18157 whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; 18158 esac ;; 18159 esac 18160 link_all_deplibs_GCJ=yes 18161 ;; 18162 18163 sunos4*) 18164 if test "x$host_vendor" = xsequent; then 18165 # Use $CC to link under sequent, because it throws in some extra .o 18166 # files that make .init and .fini sections work. 18167 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 18168 else 18169 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 18170 fi 18171 hardcode_libdir_flag_spec_GCJ='-L$libdir' 18172 hardcode_direct_GCJ=yes 18173 hardcode_minus_L_GCJ=yes 18174 hardcode_shlibpath_var_GCJ=no 18175 ;; 18176 18177 sysv4) 18178 case $host_vendor in 18179 sni) 18180 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 18181 hardcode_direct_GCJ=yes # is this really true??? 18182 ;; 18183 siemens) 18184 ## LD is ld it makes a PLAMLIB 18185 ## CC just makes a GrossModule. 18186 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' 18187 reload_cmds_GCJ='$CC -r -o $output$reload_objs' 18188 hardcode_direct_GCJ=no 18189 ;; 18190 motorola) 18191 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 18192 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie 18193 ;; 18194 esac 18195 runpath_var='LD_RUN_PATH' 18196 hardcode_shlibpath_var_GCJ=no 18197 ;; 18198 18199 sysv4.3*) 18200 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 18201 hardcode_shlibpath_var_GCJ=no 18202 export_dynamic_flag_spec_GCJ='-Bexport' 18203 ;; 18204 18205 sysv4*MP*) 18206 if test -d /usr/nec; then 18207 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 18208 hardcode_shlibpath_var_GCJ=no 18209 runpath_var=LD_RUN_PATH 18210 hardcode_runpath_var=yes 18211 ld_shlibs_GCJ=yes 18212 fi 18213 ;; 18214 18215 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*) 18216 no_undefined_flag_GCJ='${wl}-z,text' 18217 archive_cmds_need_lc_GCJ=no 18218 hardcode_shlibpath_var_GCJ=no 18219 runpath_var='LD_RUN_PATH' 18220 18221 if test "$GCC" = yes; then 18222 archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 18223 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 18224 else 18225 archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 18226 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 18227 fi 18228 ;; 18229 18230 sysv5* | sco3.2v5* | sco5v6*) 18231 # Note: We can NOT use -z defs as we might desire, because we do not 18232 # link with -lc, and that would cause any symbols used from libc to 18233 # always be unresolved, which means just about no library would 18234 # ever link correctly. If we're not using GNU ld we use -z text 18235 # though, which does catch some bad symbols but isn't as heavy-handed 18236 # as -z defs. 18237 no_undefined_flag_GCJ='${wl}-z,text' 18238 allow_undefined_flag_GCJ='${wl}-z,nodefs' 18239 archive_cmds_need_lc_GCJ=no 18240 hardcode_shlibpath_var_GCJ=no 18241 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' 18242 hardcode_libdir_separator_GCJ=':' 18243 link_all_deplibs_GCJ=yes 18244 export_dynamic_flag_spec_GCJ='${wl}-Bexport' 18245 runpath_var='LD_RUN_PATH' 18246 18247 if test "$GCC" = yes; then 18248 archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 18249 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 18250 else 18251 archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 18252 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 18253 fi 18254 ;; 18255 18256 uts4*) 18257 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 18258 hardcode_libdir_flag_spec_GCJ='-L$libdir' 18259 hardcode_shlibpath_var_GCJ=no 18260 ;; 18261 18262 *) 18263 ld_shlibs_GCJ=no 18264 ;; 18265 esac 18266 fi 18267 18268 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 18269 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; } 18270 test "$ld_shlibs_GCJ" = no && can_build_shared=no 18271 18272 # 18273 # Do we need to explicitly link libc? 18274 # 18275 case "x$archive_cmds_need_lc_GCJ" in 18276 x|xyes) 18277 # Assume -lc should be added 18278 archive_cmds_need_lc_GCJ=yes 18279 18280 if test "$enable_shared" = yes && test "$GCC" = yes; then 18281 case $archive_cmds_GCJ in 18282 *'~'*) 18283 # FIXME: we may have to deal with multi-command sequences. 18284 ;; 18285 '$CC '*) 18286 # Test whether the compiler implicitly links with -lc since on some 18287 # systems, -lgcc has to come before -lc. If gcc already passes -lc 18288 # to ld, don't add -lc before -lgcc. 18289 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 18290 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } 18291 $rm conftest* 18292 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 18293 18294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 18295 (eval $ac_compile) 2>&5 18296 ac_status=$? 18297 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18298 (exit $ac_status); } 2>conftest.err; then 18299 soname=conftest 18300 lib=conftest 18301 libobjs=conftest.$ac_objext 18302 deplibs= 18303 wl=$lt_prog_compiler_wl_GCJ 18304 pic_flag=$lt_prog_compiler_pic_GCJ 18305 compiler_flags=-v 18306 linker_flags=-v 18307 verstring= 18308 output_objdir=. 18309 libname=conftest 18310 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ 18311 allow_undefined_flag_GCJ= 18312 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 18313 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 18314 ac_status=$? 18315 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18316 (exit $ac_status); } 18317 then 18318 archive_cmds_need_lc_GCJ=no 18319 else 18320 archive_cmds_need_lc_GCJ=yes 18321 fi 18322 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag 18323 else 18324 cat conftest.err 1>&5 18325 fi 18326 $rm conftest* 18327 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5 18328 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; } 18329 ;; 18330 esac 18331 fi 18332 ;; 18333 esac 18334 18335 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 18336 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } 18337 library_names_spec= 18338 libname_spec='lib$name' 18339 soname_spec= 18340 shrext_cmds=".so" 18341 postinstall_cmds= 18342 postuninstall_cmds= 18343 finish_cmds= 18344 finish_eval= 18345 shlibpath_var= 18346 shlibpath_overrides_runpath=unknown 18347 version_type=none 18348 dynamic_linker="$host_os ld.so" 18349 sys_lib_dlsearch_path_spec="/lib /usr/lib" 18350 if test "$GCC" = yes; then 18351 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 18352 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then 18353 # if the path contains ";" then we assume it to be the separator 18354 # otherwise default to the standard path separator (i.e. ":") - it is 18355 # assumed that no part of a normal pathname contains ";" but that should 18356 # okay in the real world where ";" in dirpaths is itself problematic. 18357 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 18358 else 18359 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 18360 fi 18361 else 18362 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 18363 fi 18364 need_lib_prefix=unknown 18365 hardcode_into_libs=no 18366 18367 # when you set need_version to no, make sure it does not cause -set_version 18368 # flags to be left without arguments 18369 need_version=unknown 18370 18371 case $host_os in 18372 aix3*) 18373 version_type=linux 18374 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 18375 shlibpath_var=LIBPATH 18376 18377 # AIX 3 has no versioning support, so we append a major version to the name. 18378 soname_spec='${libname}${release}${shared_ext}$major' 18379 ;; 18380 18381 aix4* | aix5*) 18382 version_type=linux 18383 need_lib_prefix=no 18384 need_version=no 18385 hardcode_into_libs=yes 18386 if test "$host_cpu" = ia64; then 18387 # AIX 5 supports IA64 18388 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 18389 shlibpath_var=LD_LIBRARY_PATH 18390 else 18391 # With GCC up to 2.95.x, collect2 would create an import file 18392 # for dependence libraries. The import file would start with 18393 # the line `#! .'. This would cause the generated library to 18394 # depend on `.', always an invalid library. This was fixed in 18395 # development snapshots of GCC prior to 3.0. 18396 case $host_os in 18397 aix4 | aix4.[01] | aix4.[01].*) 18398 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 18399 echo ' yes ' 18400 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then 18401 : 18402 else 18403 can_build_shared=no 18404 fi 18405 ;; 18406 esac 18407 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 18408 # soname into executable. Probably we can add versioning support to 18409 # collect2, so additional links can be useful in future. 18410 if test "$aix_use_runtimelinking" = yes; then 18411 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 18412 # instead of lib<name>.a to let people know that these are not 18413 # typical AIX shared libraries. 18414 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18415 else 18416 # We preserve .a as extension for shared libraries through AIX4.2 18417 # and later when we are not doing run time linking. 18418 library_names_spec='${libname}${release}.a $libname.a' 18419 soname_spec='${libname}${release}${shared_ext}$major' 18420 fi 18421 shlibpath_var=LIBPATH 18422 fi 18423 ;; 18424 18425 amigaos*) 18426 library_names_spec='$libname.ixlibrary $libname.a' 18427 # Create ${libname}_ixlibrary.a entries in /sys/libs. 18428 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' 18429 ;; 18430 18431 beos*) 18432 library_names_spec='${libname}${shared_ext}' 18433 dynamic_linker="$host_os ld.so" 18434 shlibpath_var=LIBRARY_PATH 18435 ;; 18436 18437 bsdi[45]*) 18438 version_type=linux 18439 need_version=no 18440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18441 soname_spec='${libname}${release}${shared_ext}$major' 18442 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 18443 shlibpath_var=LD_LIBRARY_PATH 18444 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 18445 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 18446 # the default ld.so.conf also contains /usr/contrib/lib and 18447 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 18448 # libtool to hard-code these into programs 18449 ;; 18450 18451 cygwin* | mingw* | pw32*) 18452 version_type=windows 18453 shrext_cmds=".dll" 18454 need_version=no 18455 need_lib_prefix=no 18456 18457 case $GCC,$host_os in 18458 yes,cygwin* | yes,mingw* | yes,pw32*) 18459 library_names_spec='$libname.dll.a' 18460 # DLL is installed to $(libdir)/../bin by postinstall_cmds 18461 postinstall_cmds='base_file=`basename \${file}`~ 18462 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ 18463 dldir=$destdir/`dirname \$dlpath`~ 18464 test -d \$dldir || mkdir -p \$dldir~ 18465 $install_prog $dir/$dlname \$dldir/$dlname~ 18466 chmod a+x \$dldir/$dlname' 18467 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 18468 dlpath=$dir/\$dldll~ 18469 $rm \$dlpath' 18470 shlibpath_overrides_runpath=yes 18471 18472 case $host_os in 18473 cygwin*) 18474 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 18475 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 18476 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 18477 ;; 18478 mingw*) 18479 # MinGW DLLs use traditional 'lib' prefix 18480 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 18481 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 18482 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then 18483 # It is most probably a Windows format PATH printed by 18484 # mingw gcc, but we are running on Cygwin. Gcc prints its search 18485 # path with ; separators, and with drive letters. We can handle the 18486 # drive letters (cygwin fileutils understands them), so leave them, 18487 # especially as we might pass files found there to a mingw objdump, 18488 # which wouldn't understand a cygwinified path. Ahh. 18489 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 18490 else 18491 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 18492 fi 18493 ;; 18494 pw32*) 18495 # pw32 DLLs use 'pw' prefix rather than 'lib' 18496 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 18497 ;; 18498 esac 18499 ;; 18500 18501 *) 18502 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 18503 ;; 18504 esac 18505 dynamic_linker='Win32 ld.exe' 18506 # FIXME: first we should search . and the directory the executable is in 18507 shlibpath_var=PATH 18508 ;; 18509 18510 darwin* | rhapsody*) 18511 dynamic_linker="$host_os dyld" 18512 version_type=darwin 18513 need_lib_prefix=no 18514 need_version=no 18515 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 18516 soname_spec='${libname}${release}${major}$shared_ext' 18517 shlibpath_overrides_runpath=yes 18518 shlibpath_var=DYLD_LIBRARY_PATH 18519 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 18520 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 18521 if test "$GCC" = yes; then 18522 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 18523 else 18524 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 18525 fi 18526 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 18527 ;; 18528 18529 dgux*) 18530 version_type=linux 18531 need_lib_prefix=no 18532 need_version=no 18533 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 18534 soname_spec='${libname}${release}${shared_ext}$major' 18535 shlibpath_var=LD_LIBRARY_PATH 18536 ;; 18537 18538 freebsd1*) 18539 dynamic_linker=no 18540 ;; 18541 18542 kfreebsd*-gnu) 18543 version_type=linux 18544 need_lib_prefix=no 18545 need_version=no 18546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 18547 soname_spec='${libname}${release}${shared_ext}$major' 18548 shlibpath_var=LD_LIBRARY_PATH 18549 shlibpath_overrides_runpath=no 18550 hardcode_into_libs=yes 18551 dynamic_linker='GNU ld.so' 18552 ;; 18553 18554 freebsd* | dragonfly*) 18555 # DragonFly does not have aout. When/if they implement a new 18556 # versioning mechanism, adjust this. 18557 if test -x /usr/bin/objformat; then 18558 objformat=`/usr/bin/objformat` 18559 else 18560 case $host_os in 18561 freebsd[123]*) objformat=aout ;; 18562 *) objformat=elf ;; 18563 esac 18564 fi 18565 version_type=freebsd-$objformat 18566 case $version_type in 18567 freebsd-elf*) 18568 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 18569 need_version=no 18570 need_lib_prefix=no 18571 ;; 18572 freebsd-*) 18573 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 18574 need_version=yes 18575 ;; 18576 esac 18577 shlibpath_var=LD_LIBRARY_PATH 18578 case $host_os in 18579 freebsd2*) 18580 shlibpath_overrides_runpath=yes 18581 ;; 18582 freebsd3.[01]* | freebsdelf3.[01]*) 18583 shlibpath_overrides_runpath=yes 18584 hardcode_into_libs=yes 18585 ;; 18586 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 18587 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 18588 shlibpath_overrides_runpath=no 18589 hardcode_into_libs=yes 18590 ;; 18591 freebsd*) # from 4.6 on 18592 shlibpath_overrides_runpath=yes 18593 hardcode_into_libs=yes 18594 ;; 18595 esac 18596 ;; 18597 18598 gnu*) 18599 version_type=linux 18600 need_lib_prefix=no 18601 need_version=no 18602 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 18603 soname_spec='${libname}${release}${shared_ext}$major' 18604 shlibpath_var=LD_LIBRARY_PATH 18605 hardcode_into_libs=yes 18606 ;; 18607 18608 hpux9* | hpux10* | hpux11*) 18609 # Give a soname corresponding to the major version so that dld.sl refuses to 18610 # link against other versions. 18611 version_type=sunos 18612 need_lib_prefix=no 18613 need_version=no 18614 case $host_cpu in 18615 ia64*) 18616 shrext_cmds='.so' 18617 hardcode_into_libs=yes 18618 dynamic_linker="$host_os dld.so" 18619 shlibpath_var=LD_LIBRARY_PATH 18620 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 18621 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18622 soname_spec='${libname}${release}${shared_ext}$major' 18623 if test "X$HPUX_IA64_MODE" = X32; then 18624 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 18625 else 18626 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 18627 fi 18628 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 18629 ;; 18630 hppa*64*) 18631 shrext_cmds='.sl' 18632 hardcode_into_libs=yes 18633 dynamic_linker="$host_os dld.sl" 18634 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 18635 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 18636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18637 soname_spec='${libname}${release}${shared_ext}$major' 18638 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 18639 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 18640 ;; 18641 *) 18642 shrext_cmds='.sl' 18643 dynamic_linker="$host_os dld.sl" 18644 shlibpath_var=SHLIB_PATH 18645 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 18646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18647 soname_spec='${libname}${release}${shared_ext}$major' 18648 ;; 18649 esac 18650 # HP-UX runs *really* slowly unless shared libraries are mode 555. 18651 postinstall_cmds='chmod 555 $lib' 18652 ;; 18653 18654 interix3*) 18655 version_type=linux 18656 need_lib_prefix=no 18657 need_version=no 18658 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 18659 soname_spec='${libname}${release}${shared_ext}$major' 18660 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 18661 shlibpath_var=LD_LIBRARY_PATH 18662 shlibpath_overrides_runpath=no 18663 hardcode_into_libs=yes 18664 ;; 18665 18666 irix5* | irix6* | nonstopux*) 18667 case $host_os in 18668 nonstopux*) version_type=nonstopux ;; 18669 *) 18670 if test "$lt_cv_prog_gnu_ld" = yes; then 18671 version_type=linux 18672 else 18673 version_type=irix 18674 fi ;; 18675 esac 18676 need_lib_prefix=no 18677 need_version=no 18678 soname_spec='${libname}${release}${shared_ext}$major' 18679 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 18680 case $host_os in 18681 irix5* | nonstopux*) 18682 libsuff= shlibsuff= 18683 ;; 18684 *) 18685 case $LD in # libtool.m4 will add one of these switches to LD 18686 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 18687 libsuff= shlibsuff= libmagic=32-bit;; 18688 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 18689 libsuff=32 shlibsuff=N32 libmagic=N32;; 18690 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 18691 libsuff=64 shlibsuff=64 libmagic=64-bit;; 18692 *) libsuff= shlibsuff= libmagic=never-match;; 18693 esac 18694 ;; 18695 esac 18696 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 18697 shlibpath_overrides_runpath=no 18698 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 18699 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 18700 hardcode_into_libs=yes 18701 ;; 18702 18703 # No shared lib support for Linux oldld, aout, or coff. 18704 linux*oldld* | linux*aout* | linux*coff*) 18705 dynamic_linker=no 18706 ;; 18707 18708 # This must be Linux ELF. 18709 linux*) 18710 version_type=linux 18711 need_lib_prefix=no 18712 need_version=no 18713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18714 soname_spec='${libname}${release}${shared_ext}$major' 18715 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 18716 shlibpath_var=LD_LIBRARY_PATH 18717 shlibpath_overrides_runpath=no 18718 # This implies no fast_install, which is unacceptable. 18719 # Some rework will be needed to allow for fast_install 18720 # before this can be enabled. 18721 hardcode_into_libs=yes 18722 18723 # Append ld.so.conf contents to the search path 18724 if test -f /etc/ld.so.conf; then 18725 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` 18726 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 18727 fi 18728 18729 # We used to test for /lib/ld.so.1 and disable shared libraries on 18730 # powerpc, because MkLinux only supported shared libraries with the 18731 # GNU dynamic linker. Since this was broken with cross compilers, 18732 # most powerpc-linux boxes support dynamic linking these days and 18733 # people can always --disable-shared, the test was removed, and we 18734 # assume the GNU/Linux dynamic linker is in use. 18735 dynamic_linker='GNU/Linux ld.so' 18736 ;; 18737 18738 knetbsd*-gnu) 18739 version_type=linux 18740 need_lib_prefix=no 18741 need_version=no 18742 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 18743 soname_spec='${libname}${release}${shared_ext}$major' 18744 shlibpath_var=LD_LIBRARY_PATH 18745 shlibpath_overrides_runpath=no 18746 hardcode_into_libs=yes 18747 dynamic_linker='GNU ld.so' 18748 ;; 18749 18750 netbsd*) 18751 version_type=sunos 18752 need_lib_prefix=no 18753 need_version=no 18754 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 18755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 18756 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 18757 dynamic_linker='NetBSD (a.out) ld.so' 18758 else 18759 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 18760 soname_spec='${libname}${release}${shared_ext}$major' 18761 dynamic_linker='NetBSD ld.elf_so' 18762 fi 18763 shlibpath_var=LD_LIBRARY_PATH 18764 shlibpath_overrides_runpath=yes 18765 hardcode_into_libs=yes 18766 ;; 18767 18768 newsos6) 18769 version_type=linux 18770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18771 shlibpath_var=LD_LIBRARY_PATH 18772 shlibpath_overrides_runpath=yes 18773 ;; 18774 18775 nto-qnx*) 18776 version_type=linux 18777 need_lib_prefix=no 18778 need_version=no 18779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18780 soname_spec='${libname}${release}${shared_ext}$major' 18781 shlibpath_var=LD_LIBRARY_PATH 18782 shlibpath_overrides_runpath=yes 18783 ;; 18784 18785 openbsd*) 18786 version_type=sunos 18787 sys_lib_dlsearch_path_spec="/usr/lib" 18788 need_lib_prefix=no 18789 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 18790 case $host_os in 18791 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 18792 *) need_version=no ;; 18793 esac 18794 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 18795 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 18796 shlibpath_var=LD_LIBRARY_PATH 18797 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 18798 case $host_os in 18799 openbsd2.[89] | openbsd2.[89].*) 18800 shlibpath_overrides_runpath=no 18801 ;; 18802 *) 18803 shlibpath_overrides_runpath=yes 18804 ;; 18805 esac 18806 else 18807 shlibpath_overrides_runpath=yes 18808 fi 18809 ;; 18810 18811 os2*) 18812 libname_spec='$name' 18813 shrext_cmds=".dll" 18814 need_lib_prefix=no 18815 library_names_spec='$libname${shared_ext} $libname.a' 18816 dynamic_linker='OS/2 ld.exe' 18817 shlibpath_var=LIBPATH 18818 ;; 18819 18820 osf3* | osf4* | osf5*) 18821 version_type=osf 18822 need_lib_prefix=no 18823 need_version=no 18824 soname_spec='${libname}${release}${shared_ext}$major' 18825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18826 shlibpath_var=LD_LIBRARY_PATH 18827 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 18828 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 18829 ;; 18830 18831 solaris*) 18832 version_type=linux 18833 need_lib_prefix=no 18834 need_version=no 18835 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18836 soname_spec='${libname}${release}${shared_ext}$major' 18837 shlibpath_var=LD_LIBRARY_PATH 18838 shlibpath_overrides_runpath=yes 18839 hardcode_into_libs=yes 18840 # ldd complains unless libraries are executable 18841 postinstall_cmds='chmod +x $lib' 18842 ;; 18843 18844 sunos4*) 18845 version_type=sunos 18846 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 18847 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 18848 shlibpath_var=LD_LIBRARY_PATH 18849 shlibpath_overrides_runpath=yes 18850 if test "$with_gnu_ld" = yes; then 18851 need_lib_prefix=no 18852 fi 18853 need_version=yes 18854 ;; 18855 18856 sysv4 | sysv4.3*) 18857 version_type=linux 18858 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18859 soname_spec='${libname}${release}${shared_ext}$major' 18860 shlibpath_var=LD_LIBRARY_PATH 18861 case $host_vendor in 18862 sni) 18863 shlibpath_overrides_runpath=no 18864 need_lib_prefix=no 18865 export_dynamic_flag_spec='${wl}-Blargedynsym' 18866 runpath_var=LD_RUN_PATH 18867 ;; 18868 siemens) 18869 need_lib_prefix=no 18870 ;; 18871 motorola) 18872 need_lib_prefix=no 18873 need_version=no 18874 shlibpath_overrides_runpath=no 18875 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 18876 ;; 18877 esac 18878 ;; 18879 18880 sysv4*MP*) 18881 if test -d /usr/nec ;then 18882 version_type=linux 18883 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 18884 soname_spec='$libname${shared_ext}.$major' 18885 shlibpath_var=LD_LIBRARY_PATH 18886 fi 18887 ;; 18888 18889 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 18890 version_type=freebsd-elf 18891 need_lib_prefix=no 18892 need_version=no 18893 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 18894 soname_spec='${libname}${release}${shared_ext}$major' 18895 shlibpath_var=LD_LIBRARY_PATH 18896 hardcode_into_libs=yes 18897 if test "$with_gnu_ld" = yes; then 18898 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 18899 shlibpath_overrides_runpath=no 18900 else 18901 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 18902 shlibpath_overrides_runpath=yes 18903 case $host_os in 18904 sco3.2v5*) 18905 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 18906 ;; 18907 esac 18908 fi 18909 sys_lib_dlsearch_path_spec='/usr/lib' 18910 ;; 18911 18912 uts4*) 18913 version_type=linux 18914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 18915 soname_spec='${libname}${release}${shared_ext}$major' 18916 shlibpath_var=LD_LIBRARY_PATH 18917 ;; 18918 18919 *) 18920 dynamic_linker=no 18921 ;; 18922 esac 18923 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 18924 echo "${ECHO_T}$dynamic_linker" >&6; } 18925 test "$dynamic_linker" = no && can_build_shared=no 18926 18927 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 18928 if test "$GCC" = yes; then 18929 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 18930 fi 18931 18932 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 18933 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } 18934 hardcode_action_GCJ= 18935 if test -n "$hardcode_libdir_flag_spec_GCJ" || \ 18936 test -n "$runpath_var_GCJ" || \ 18937 test "X$hardcode_automatic_GCJ" = "Xyes" ; then 18938 18939 # We can hardcode non-existant directories. 18940 if test "$hardcode_direct_GCJ" != no && 18941 # If the only mechanism to avoid hardcoding is shlibpath_var, we 18942 # have to relink, otherwise we might link with an installed library 18943 # when we should be linking with a yet-to-be-installed one 18944 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && 18945 test "$hardcode_minus_L_GCJ" != no; then 18946 # Linking always hardcodes the temporary library directory. 18947 hardcode_action_GCJ=relink 18948 else 18949 # We can link without hardcoding, and we can hardcode nonexisting dirs. 18950 hardcode_action_GCJ=immediate 18951 fi 18952 else 18953 # We cannot hardcode anything, or else we can only hardcode existing 18954 # directories. 18955 hardcode_action_GCJ=unsupported 18956 fi 18957 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 18958 echo "${ECHO_T}$hardcode_action_GCJ" >&6; } 18959 18960 if test "$hardcode_action_GCJ" = relink; then 18961 # Fast installation is not supported 18962 enable_fast_install=no 18963 elif test "$shlibpath_overrides_runpath" = yes || 18964 test "$enable_shared" = no; then 18965 # Fast installation is not necessary 18966 enable_fast_install=needless 18967 fi 18968 18969 18970 # The else clause should only fire when bootstrapping the 18971 # libtool distribution, otherwise you forgot to ship ltmain.sh 18972 # with your package, and you will get complaints that there are 18973 # no rules to generate ltmain.sh. 18974 if test -f "$ltmain"; then 18975 # See if we are running on zsh, and set the options which allow our commands through 18976 # without removal of \ escapes. 18977 if test -n "${ZSH_VERSION+set}" ; then 18978 setopt NO_GLOB_SUBST 18979 fi 18980 # Now quote all the things that may contain metacharacters while being 18981 # careful not to overquote the AC_SUBSTed values. We take copies of the 18982 # variables and quote the copies for generation of the libtool script. 18983 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ 18984 SED SHELL STRIP \ 18985 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 18986 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ 18987 deplibs_check_method reload_flag reload_cmds need_locks \ 18988 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ 18989 lt_cv_sys_global_symbol_to_c_name_address \ 18990 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ 18991 old_postinstall_cmds old_postuninstall_cmds \ 18992 compiler_GCJ \ 18993 CC_GCJ \ 18994 LD_GCJ \ 18995 lt_prog_compiler_wl_GCJ \ 18996 lt_prog_compiler_pic_GCJ \ 18997 lt_prog_compiler_static_GCJ \ 18998 lt_prog_compiler_no_builtin_flag_GCJ \ 18999 export_dynamic_flag_spec_GCJ \ 19000 thread_safe_flag_spec_GCJ \ 19001 whole_archive_flag_spec_GCJ \ 19002 enable_shared_with_static_runtimes_GCJ \ 19003 old_archive_cmds_GCJ \ 19004 old_archive_from_new_cmds_GCJ \ 19005 predep_objects_GCJ \ 19006 postdep_objects_GCJ \ 19007 predeps_GCJ \ 19008 postdeps_GCJ \ 19009 compiler_lib_search_path_GCJ \ 19010 archive_cmds_GCJ \ 19011 archive_expsym_cmds_GCJ \ 19012 postinstall_cmds_GCJ \ 19013 postuninstall_cmds_GCJ \ 19014 old_archive_from_expsyms_cmds_GCJ \ 19015 allow_undefined_flag_GCJ \ 19016 no_undefined_flag_GCJ \ 19017 export_symbols_cmds_GCJ \ 19018 hardcode_libdir_flag_spec_GCJ \ 19019 hardcode_libdir_flag_spec_ld_GCJ \ 19020 hardcode_libdir_separator_GCJ \ 19021 hardcode_automatic_GCJ \ 19022 module_cmds_GCJ \ 19023 module_expsym_cmds_GCJ \ 19024 lt_cv_prog_compiler_c_o_GCJ \ 19025 exclude_expsyms_GCJ \ 19026 include_expsyms_GCJ; do 19027 19028 case $var in 19029 old_archive_cmds_GCJ | \ 19030 old_archive_from_new_cmds_GCJ | \ 19031 archive_cmds_GCJ | \ 19032 archive_expsym_cmds_GCJ | \ 19033 module_cmds_GCJ | \ 19034 module_expsym_cmds_GCJ | \ 19035 old_archive_from_expsyms_cmds_GCJ | \ 19036 export_symbols_cmds_GCJ | \ 19037 extract_expsyms_cmds | reload_cmds | finish_cmds | \ 19038 postinstall_cmds | postuninstall_cmds | \ 19039 old_postinstall_cmds | old_postuninstall_cmds | \ 19040 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) 19041 # Double-quote double-evaled strings. 19042 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" 19043 ;; 19044 *) 19045 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" 19046 ;; 19047 esac 19048 done 19049 19050 case $lt_echo in 19051 *'\$0 --fallback-echo"') 19052 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` 19053 ;; 19054 esac 19055 19056 cfgfile="$ofile" 19057 19058 cat <<__EOF__ >> "$cfgfile" 19059 # ### BEGIN LIBTOOL TAG CONFIG: $tagname 19060 19061 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 19062 19063 # Shell to use when invoking shell scripts. 19064 SHELL=$lt_SHELL 19065 19066 # Whether or not to build shared libraries. 19067 build_libtool_libs=$enable_shared 19068 19069 # Whether or not to build static libraries. 19070 build_old_libs=$enable_static 19071 19072 # Whether or not to add -lc for building shared libraries. 19073 build_libtool_need_lc=$archive_cmds_need_lc_GCJ 19074 19075 # Whether or not to disallow shared libs when runtime libs are static 19076 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ 19077 19078 # Whether or not to optimize for fast installation. 19079 fast_install=$enable_fast_install 19080 19081 # The host system. 19082 host_alias=$host_alias 19083 host=$host 19084 host_os=$host_os 19085 19086 # The build system. 19087 build_alias=$build_alias 19088 build=$build 19089 build_os=$build_os 19090 19091 # An echo program that does not interpret backslashes. 19092 echo=$lt_echo 19093 19094 # The archiver. 19095 AR=$lt_AR 19096 AR_FLAGS=$lt_AR_FLAGS 19097 19098 # A C compiler. 19099 LTCC=$lt_LTCC 19100 19101 # LTCC compiler flags. 19102 LTCFLAGS=$lt_LTCFLAGS 19103 19104 # A language-specific compiler. 19105 CC=$lt_compiler_GCJ 19106 19107 # Is the compiler the GNU C compiler? 19108 with_gcc=$GCC_GCJ 19109 19110 # An ERE matcher. 19111 EGREP=$lt_EGREP 19112 19113 # The linker used to build libraries. 19114 LD=$lt_LD_GCJ 19115 19116 # Whether we need hard or soft links. 19117 LN_S=$lt_LN_S 19118 19119 # A BSD-compatible nm program. 19120 NM=$lt_NM 19121 19122 # A symbol stripping program 19123 STRIP=$lt_STRIP 19124 19125 # Used to examine libraries when file_magic_cmd begins "file" 19126 MAGIC_CMD=$MAGIC_CMD 19127 19128 # Used on cygwin: DLL creation program. 19129 DLLTOOL="$DLLTOOL" 19130 19131 # Used on cygwin: object dumper. 19132 OBJDUMP="$OBJDUMP" 19133 19134 # Used on cygwin: assembler. 19135 AS="$AS" 19136 19137 # The name of the directory that contains temporary libtool files. 19138 objdir=$objdir 19139 19140 # How to create reloadable object files. 19141 reload_flag=$lt_reload_flag 19142 reload_cmds=$lt_reload_cmds 19143 19144 # How to pass a linker flag through the compiler. 19145 wl=$lt_lt_prog_compiler_wl_GCJ 19146 19147 # Object file suffix (normally "o"). 19148 objext="$ac_objext" 19149 19150 # Old archive suffix (normally "a"). 19151 libext="$libext" 19152 19153 # Shared library suffix (normally ".so"). 19154 shrext_cmds='$shrext_cmds' 19155 19156 # Executable file suffix (normally ""). 19157 exeext="$exeext" 19158 19159 # Additional compiler flags for building library objects. 19160 pic_flag=$lt_lt_prog_compiler_pic_GCJ 19161 pic_mode=$pic_mode 19162 19163 # What is the maximum length of a command? 19164 max_cmd_len=$lt_cv_sys_max_cmd_len 19165 19166 # Does compiler simultaneously support -c and -o options? 19167 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ 19168 19169 # Must we lock files when doing compilation? 19170 need_locks=$lt_need_locks 19171 19172 # Do we need the lib prefix for modules? 19173 need_lib_prefix=$need_lib_prefix 19174 19175 # Do we need a version for libraries? 19176 need_version=$need_version 19177 19178 # Whether dlopen is supported. 19179 dlopen_support=$enable_dlopen 19180 19181 # Whether dlopen of programs is supported. 19182 dlopen_self=$enable_dlopen_self 19183 19184 # Whether dlopen of statically linked programs is supported. 19185 dlopen_self_static=$enable_dlopen_self_static 19186 19187 # Compiler flag to prevent dynamic linking. 19188 link_static_flag=$lt_lt_prog_compiler_static_GCJ 19189 19190 # Compiler flag to turn off builtin functions. 19191 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ 19192 19193 # Compiler flag to allow reflexive dlopens. 19194 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ 19195 19196 # Compiler flag to generate shared objects directly from archives. 19197 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ 19198 19199 # Compiler flag to generate thread-safe objects. 19200 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ 19201 19202 # Library versioning type. 19203 version_type=$version_type 19204 19205 # Format of library name prefix. 19206 libname_spec=$lt_libname_spec 19207 19208 # List of archive names. First name is the real one, the rest are links. 19209 # The last name is the one that the linker finds with -lNAME. 19210 library_names_spec=$lt_library_names_spec 19211 19212 # The coded name of the library, if different from the real name. 19213 soname_spec=$lt_soname_spec 19214 19215 # Commands used to build and install an old-style archive. 19216 RANLIB=$lt_RANLIB 19217 old_archive_cmds=$lt_old_archive_cmds_GCJ 19218 old_postinstall_cmds=$lt_old_postinstall_cmds 19219 old_postuninstall_cmds=$lt_old_postuninstall_cmds 19220 19221 # Create an old-style archive from a shared archive. 19222 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ 19223 19224 # Create a temporary old-style archive to link instead of a shared archive. 19225 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ 19226 19227 # Commands used to build and install a shared archive. 19228 archive_cmds=$lt_archive_cmds_GCJ 19229 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ 19230 postinstall_cmds=$lt_postinstall_cmds 19231 postuninstall_cmds=$lt_postuninstall_cmds 19232 19233 # Commands used to build a loadable module (assumed same as above if empty) 19234 module_cmds=$lt_module_cmds_GCJ 19235 module_expsym_cmds=$lt_module_expsym_cmds_GCJ 19236 19237 # Commands to strip libraries. 19238 old_striplib=$lt_old_striplib 19239 striplib=$lt_striplib 19240 19241 # Dependencies to place before the objects being linked to create a 19242 # shared library. 19243 predep_objects=$lt_predep_objects_GCJ 19244 19245 # Dependencies to place after the objects being linked to create a 19246 # shared library. 19247 postdep_objects=$lt_postdep_objects_GCJ 19248 19249 # Dependencies to place before the objects being linked to create a 19250 # shared library. 19251 predeps=$lt_predeps_GCJ 19252 19253 # Dependencies to place after the objects being linked to create a 19254 # shared library. 19255 postdeps=$lt_postdeps_GCJ 19256 19257 # The library search path used internally by the compiler when linking 19258 # a shared library. 19259 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ 19260 19261 # Method to check whether dependent libraries are shared objects. 19262 deplibs_check_method=$lt_deplibs_check_method 19263 19264 # Command to use when deplibs_check_method == file_magic. 19265 file_magic_cmd=$lt_file_magic_cmd 19266 19267 # Flag that allows shared libraries with undefined symbols to be built. 19268 allow_undefined_flag=$lt_allow_undefined_flag_GCJ 19269 19270 # Flag that forces no undefined symbols. 19271 no_undefined_flag=$lt_no_undefined_flag_GCJ 19272 19273 # Commands used to finish a libtool library installation in a directory. 19274 finish_cmds=$lt_finish_cmds 19275 19276 # Same as above, but a single script fragment to be evaled but not shown. 19277 finish_eval=$lt_finish_eval 19278 19279 # Take the output of nm and produce a listing of raw symbols and C names. 19280 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 19281 19282 # Transform the output of nm in a proper C declaration 19283 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 19284 19285 # Transform the output of nm in a C name address pair 19286 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 19287 19288 # This is the shared library runtime path variable. 19289 runpath_var=$runpath_var 19290 19291 # This is the shared library path variable. 19292 shlibpath_var=$shlibpath_var 19293 19294 # Is shlibpath searched before the hard-coded library search path? 19295 shlibpath_overrides_runpath=$shlibpath_overrides_runpath 19296 19297 # How to hardcode a shared library path into an executable. 19298 hardcode_action=$hardcode_action_GCJ 19299 19300 # Whether we should hardcode library paths into libraries. 19301 hardcode_into_libs=$hardcode_into_libs 19302 19303 # Flag to hardcode \$libdir into a binary during linking. 19304 # This must work even if \$libdir does not exist. 19305 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ 19306 19307 # If ld is used when linking, flag to hardcode \$libdir into 19308 # a binary during linking. This must work even if \$libdir does 19309 # not exist. 19310 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ 19311 19312 # Whether we need a single -rpath flag with a separated argument. 19313 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ 19314 19315 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the 19316 # resulting binary. 19317 hardcode_direct=$hardcode_direct_GCJ 19318 19319 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the 19320 # resulting binary. 19321 hardcode_minus_L=$hardcode_minus_L_GCJ 19322 19323 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into 19324 # the resulting binary. 19325 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ 19326 19327 # Set to yes if building a shared library automatically hardcodes DIR into the library 19328 # and all subsequent libraries and executables linked against it. 19329 hardcode_automatic=$hardcode_automatic_GCJ 19330 19331 # Variables whose values should be saved in libtool wrapper scripts and 19332 # restored at relink time. 19333 variables_saved_for_relink="$variables_saved_for_relink" 19334 19335 # Whether libtool must link a program against all its dependency libraries. 19336 link_all_deplibs=$link_all_deplibs_GCJ 19337 19338 # Compile-time system search path for libraries 19339 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 19340 19341 # Run-time system search path for libraries 19342 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 19343 19344 # Fix the shell variable \$srcfile for the compiler. 19345 fix_srcfile_path="$fix_srcfile_path_GCJ" 19346 19347 # Set to yes if exported symbols are required. 19348 always_export_symbols=$always_export_symbols_GCJ 19349 19350 # The commands to list exported symbols. 19351 export_symbols_cmds=$lt_export_symbols_cmds_GCJ 19352 19353 # The commands to extract the exported symbol list from a shared archive. 19354 extract_expsyms_cmds=$lt_extract_expsyms_cmds 19355 19356 # Symbols that should not be listed in the preloaded symbols. 19357 exclude_expsyms=$lt_exclude_expsyms_GCJ 19358 19359 # Symbols that must always be exported. 19360 include_expsyms=$lt_include_expsyms_GCJ 19361 19362 # ### END LIBTOOL TAG CONFIG: $tagname 19363 19364 __EOF__ 19365 19366 19367 else 19368 # If there is no Makefile yet, we rely on a make rule to execute 19369 # `config.status --recheck' to rerun these tests and create the 19370 # libtool script then. 19371 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 19372 if test -f "$ltmain_in"; then 19373 test -f Makefile && make "$ltmain" 19374 fi 19375 fi 19376 19377 19378 ac_ext=c 19379 ac_cpp='$CPP $CPPFLAGS' 19380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 19381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 19382 ac_compiler_gnu=$ac_cv_c_compiler_gnu 19383 19384 CC="$lt_save_CC" 19385 19386 else 19387 tagname="" 19388 fi 19389 ;; 19390 19391 RC) 19392 19393 19394 # Source file extension for RC test sources. 19395 ac_ext=rc 19396 19397 # Object file extension for compiled RC test sources. 19398 objext=o 19399 objext_RC=$objext 19400 19401 # Code to be used in simple compile tests 19402 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n' 19403 19404 # Code to be used in simple link tests 19405 lt_simple_link_test_code="$lt_simple_compile_test_code" 19406 19407 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 19408 19409 # If no C compiler was specified, use CC. 19410 LTCC=${LTCC-"$CC"} 19411 19412 # If no C compiler flags were specified, use CFLAGS. 19413 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 19414 19415 # Allow CC to be a program name with arguments. 19416 compiler=$CC 19417 19418 19419 # save warnings/boilerplate of simple test code 19420 ac_outfile=conftest.$ac_objext 19421 printf "$lt_simple_compile_test_code" >conftest.$ac_ext 19422 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 19423 _lt_compiler_boilerplate=`cat conftest.err` 19424 $rm conftest* 19425 19426 ac_outfile=conftest.$ac_objext 19427 printf "$lt_simple_link_test_code" >conftest.$ac_ext 19428 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 19429 _lt_linker_boilerplate=`cat conftest.err` 19430 $rm conftest* 19431 19432 19433 # Allow CC to be a program name with arguments. 19434 lt_save_CC="$CC" 19435 CC=${RC-"windres"} 19436 compiler=$CC 19437 compiler_RC=$CC 19438 for cc_temp in $compiler""; do 19439 case $cc_temp in 19440 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 19441 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 19442 \-*) ;; 19443 *) break;; 19444 esac 19445 done 19446 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 19447 19448 lt_cv_prog_compiler_c_o_RC=yes 19449 19450 # The else clause should only fire when bootstrapping the 19451 # libtool distribution, otherwise you forgot to ship ltmain.sh 19452 # with your package, and you will get complaints that there are 19453 # no rules to generate ltmain.sh. 19454 if test -f "$ltmain"; then 19455 # See if we are running on zsh, and set the options which allow our commands through 19456 # without removal of \ escapes. 19457 if test -n "${ZSH_VERSION+set}" ; then 19458 setopt NO_GLOB_SUBST 19459 fi 19460 # Now quote all the things that may contain metacharacters while being 19461 # careful not to overquote the AC_SUBSTed values. We take copies of the 19462 # variables and quote the copies for generation of the libtool script. 19463 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ 19464 SED SHELL STRIP \ 19465 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 19466 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ 19467 deplibs_check_method reload_flag reload_cmds need_locks \ 19468 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ 19469 lt_cv_sys_global_symbol_to_c_name_address \ 19470 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ 19471 old_postinstall_cmds old_postuninstall_cmds \ 19472 compiler_RC \ 19473 CC_RC \ 19474 LD_RC \ 19475 lt_prog_compiler_wl_RC \ 19476 lt_prog_compiler_pic_RC \ 19477 lt_prog_compiler_static_RC \ 19478 lt_prog_compiler_no_builtin_flag_RC \ 19479 export_dynamic_flag_spec_RC \ 19480 thread_safe_flag_spec_RC \ 19481 whole_archive_flag_spec_RC \ 19482 enable_shared_with_static_runtimes_RC \ 19483 old_archive_cmds_RC \ 19484 old_archive_from_new_cmds_RC \ 19485 predep_objects_RC \ 19486 postdep_objects_RC \ 19487 predeps_RC \ 19488 postdeps_RC \ 19489 compiler_lib_search_path_RC \ 19490 archive_cmds_RC \ 19491 archive_expsym_cmds_RC \ 19492 postinstall_cmds_RC \ 19493 postuninstall_cmds_RC \ 19494 old_archive_from_expsyms_cmds_RC \ 19495 allow_undefined_flag_RC \ 19496 no_undefined_flag_RC \ 19497 export_symbols_cmds_RC \ 19498 hardcode_libdir_flag_spec_RC \ 19499 hardcode_libdir_flag_spec_ld_RC \ 19500 hardcode_libdir_separator_RC \ 19501 hardcode_automatic_RC \ 19502 module_cmds_RC \ 19503 module_expsym_cmds_RC \ 19504 lt_cv_prog_compiler_c_o_RC \ 19505 exclude_expsyms_RC \ 19506 include_expsyms_RC; do 19507 19508 case $var in 19509 old_archive_cmds_RC | \ 19510 old_archive_from_new_cmds_RC | \ 19511 archive_cmds_RC | \ 19512 archive_expsym_cmds_RC | \ 19513 module_cmds_RC | \ 19514 module_expsym_cmds_RC | \ 19515 old_archive_from_expsyms_cmds_RC | \ 19516 export_symbols_cmds_RC | \ 19517 extract_expsyms_cmds | reload_cmds | finish_cmds | \ 19518 postinstall_cmds | postuninstall_cmds | \ 19519 old_postinstall_cmds | old_postuninstall_cmds | \ 19520 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) 19521 # Double-quote double-evaled strings. 19522 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" 19523 ;; 19524 *) 19525 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" 19526 ;; 19527 esac 19528 done 19529 19530 case $lt_echo in 19531 *'\$0 --fallback-echo"') 19532 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` 19533 ;; 19534 esac 19535 19536 cfgfile="$ofile" 19537 19538 cat <<__EOF__ >> "$cfgfile" 19539 # ### BEGIN LIBTOOL TAG CONFIG: $tagname 19540 19541 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 19542 19543 # Shell to use when invoking shell scripts. 19544 SHELL=$lt_SHELL 19545 19546 # Whether or not to build shared libraries. 19547 build_libtool_libs=$enable_shared 19548 19549 # Whether or not to build static libraries. 19550 build_old_libs=$enable_static 19551 19552 # Whether or not to add -lc for building shared libraries. 19553 build_libtool_need_lc=$archive_cmds_need_lc_RC 19554 19555 # Whether or not to disallow shared libs when runtime libs are static 19556 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC 19557 19558 # Whether or not to optimize for fast installation. 19559 fast_install=$enable_fast_install 19560 19561 # The host system. 19562 host_alias=$host_alias 19563 host=$host 19564 host_os=$host_os 19565 19566 # The build system. 19567 build_alias=$build_alias 19568 build=$build 19569 build_os=$build_os 19570 19571 # An echo program that does not interpret backslashes. 19572 echo=$lt_echo 19573 19574 # The archiver. 19575 AR=$lt_AR 19576 AR_FLAGS=$lt_AR_FLAGS 19577 19578 # A C compiler. 19579 LTCC=$lt_LTCC 19580 19581 # LTCC compiler flags. 19582 LTCFLAGS=$lt_LTCFLAGS 19583 19584 # A language-specific compiler. 19585 CC=$lt_compiler_RC 19586 19587 # Is the compiler the GNU C compiler? 19588 with_gcc=$GCC_RC 19589 19590 # An ERE matcher. 19591 EGREP=$lt_EGREP 19592 19593 # The linker used to build libraries. 19594 LD=$lt_LD_RC 19595 19596 # Whether we need hard or soft links. 19597 LN_S=$lt_LN_S 19598 19599 # A BSD-compatible nm program. 19600 NM=$lt_NM 19601 19602 # A symbol stripping program 19603 STRIP=$lt_STRIP 19604 19605 # Used to examine libraries when file_magic_cmd begins "file" 19606 MAGIC_CMD=$MAGIC_CMD 19607 19608 # Used on cygwin: DLL creation program. 19609 DLLTOOL="$DLLTOOL" 19610 19611 # Used on cygwin: object dumper. 19612 OBJDUMP="$OBJDUMP" 19613 19614 # Used on cygwin: assembler. 19615 AS="$AS" 19616 19617 # The name of the directory that contains temporary libtool files. 19618 objdir=$objdir 19619 19620 # How to create reloadable object files. 19621 reload_flag=$lt_reload_flag 19622 reload_cmds=$lt_reload_cmds 19623 19624 # How to pass a linker flag through the compiler. 19625 wl=$lt_lt_prog_compiler_wl_RC 19626 19627 # Object file suffix (normally "o"). 19628 objext="$ac_objext" 19629 19630 # Old archive suffix (normally "a"). 19631 libext="$libext" 19632 19633 # Shared library suffix (normally ".so"). 19634 shrext_cmds='$shrext_cmds' 19635 19636 # Executable file suffix (normally ""). 19637 exeext="$exeext" 19638 19639 # Additional compiler flags for building library objects. 19640 pic_flag=$lt_lt_prog_compiler_pic_RC 19641 pic_mode=$pic_mode 19642 19643 # What is the maximum length of a command? 19644 max_cmd_len=$lt_cv_sys_max_cmd_len 19645 19646 # Does compiler simultaneously support -c and -o options? 19647 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC 19648 19649 # Must we lock files when doing compilation? 19650 need_locks=$lt_need_locks 19651 19652 # Do we need the lib prefix for modules? 19653 need_lib_prefix=$need_lib_prefix 19654 19655 # Do we need a version for libraries? 19656 need_version=$need_version 19657 19658 # Whether dlopen is supported. 19659 dlopen_support=$enable_dlopen 19660 19661 # Whether dlopen of programs is supported. 19662 dlopen_self=$enable_dlopen_self 19663 19664 # Whether dlopen of statically linked programs is supported. 19665 dlopen_self_static=$enable_dlopen_self_static 19666 19667 # Compiler flag to prevent dynamic linking. 19668 link_static_flag=$lt_lt_prog_compiler_static_RC 19669 19670 # Compiler flag to turn off builtin functions. 19671 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC 19672 19673 # Compiler flag to allow reflexive dlopens. 19674 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC 19675 19676 # Compiler flag to generate shared objects directly from archives. 19677 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC 19678 19679 # Compiler flag to generate thread-safe objects. 19680 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC 19681 19682 # Library versioning type. 19683 version_type=$version_type 19684 19685 # Format of library name prefix. 19686 libname_spec=$lt_libname_spec 19687 19688 # List of archive names. First name is the real one, the rest are links. 19689 # The last name is the one that the linker finds with -lNAME. 19690 library_names_spec=$lt_library_names_spec 19691 19692 # The coded name of the library, if different from the real name. 19693 soname_spec=$lt_soname_spec 19694 19695 # Commands used to build and install an old-style archive. 19696 RANLIB=$lt_RANLIB 19697 old_archive_cmds=$lt_old_archive_cmds_RC 19698 old_postinstall_cmds=$lt_old_postinstall_cmds 19699 old_postuninstall_cmds=$lt_old_postuninstall_cmds 19700 19701 # Create an old-style archive from a shared archive. 19702 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC 19703 19704 # Create a temporary old-style archive to link instead of a shared archive. 19705 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC 19706 19707 # Commands used to build and install a shared archive. 19708 archive_cmds=$lt_archive_cmds_RC 19709 archive_expsym_cmds=$lt_archive_expsym_cmds_RC 19710 postinstall_cmds=$lt_postinstall_cmds 19711 postuninstall_cmds=$lt_postuninstall_cmds 19712 19713 # Commands used to build a loadable module (assumed same as above if empty) 19714 module_cmds=$lt_module_cmds_RC 19715 module_expsym_cmds=$lt_module_expsym_cmds_RC 19716 19717 # Commands to strip libraries. 19718 old_striplib=$lt_old_striplib 19719 striplib=$lt_striplib 19720 19721 # Dependencies to place before the objects being linked to create a 19722 # shared library. 19723 predep_objects=$lt_predep_objects_RC 19724 19725 # Dependencies to place after the objects being linked to create a 19726 # shared library. 19727 postdep_objects=$lt_postdep_objects_RC 19728 19729 # Dependencies to place before the objects being linked to create a 19730 # shared library. 19731 predeps=$lt_predeps_RC 19732 19733 # Dependencies to place after the objects being linked to create a 19734 # shared library. 19735 postdeps=$lt_postdeps_RC 19736 19737 # The library search path used internally by the compiler when linking 19738 # a shared library. 19739 compiler_lib_search_path=$lt_compiler_lib_search_path_RC 19740 19741 # Method to check whether dependent libraries are shared objects. 19742 deplibs_check_method=$lt_deplibs_check_method 19743 19744 # Command to use when deplibs_check_method == file_magic. 19745 file_magic_cmd=$lt_file_magic_cmd 19746 19747 # Flag that allows shared libraries with undefined symbols to be built. 19748 allow_undefined_flag=$lt_allow_undefined_flag_RC 19749 19750 # Flag that forces no undefined symbols. 19751 no_undefined_flag=$lt_no_undefined_flag_RC 19752 19753 # Commands used to finish a libtool library installation in a directory. 19754 finish_cmds=$lt_finish_cmds 19755 19756 # Same as above, but a single script fragment to be evaled but not shown. 19757 finish_eval=$lt_finish_eval 19758 19759 # Take the output of nm and produce a listing of raw symbols and C names. 19760 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 19761 19762 # Transform the output of nm in a proper C declaration 19763 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 19764 19765 # Transform the output of nm in a C name address pair 19766 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 19767 19768 # This is the shared library runtime path variable. 19769 runpath_var=$runpath_var 19770 19771 # This is the shared library path variable. 19772 shlibpath_var=$shlibpath_var 19773 19774 # Is shlibpath searched before the hard-coded library search path? 19775 shlibpath_overrides_runpath=$shlibpath_overrides_runpath 19776 19777 # How to hardcode a shared library path into an executable. 19778 hardcode_action=$hardcode_action_RC 19779 19780 # Whether we should hardcode library paths into libraries. 19781 hardcode_into_libs=$hardcode_into_libs 19782 19783 # Flag to hardcode \$libdir into a binary during linking. 19784 # This must work even if \$libdir does not exist. 19785 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC 19786 19787 # If ld is used when linking, flag to hardcode \$libdir into 19788 # a binary during linking. This must work even if \$libdir does 19789 # not exist. 19790 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC 19791 19792 # Whether we need a single -rpath flag with a separated argument. 19793 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC 19794 19795 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the 19796 # resulting binary. 19797 hardcode_direct=$hardcode_direct_RC 19798 19799 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the 19800 # resulting binary. 19801 hardcode_minus_L=$hardcode_minus_L_RC 19802 19803 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into 19804 # the resulting binary. 19805 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC 19806 19807 # Set to yes if building a shared library automatically hardcodes DIR into the library 19808 # and all subsequent libraries and executables linked against it. 19809 hardcode_automatic=$hardcode_automatic_RC 19810 19811 # Variables whose values should be saved in libtool wrapper scripts and 19812 # restored at relink time. 19813 variables_saved_for_relink="$variables_saved_for_relink" 19814 19815 # Whether libtool must link a program against all its dependency libraries. 19816 link_all_deplibs=$link_all_deplibs_RC 19817 19818 # Compile-time system search path for libraries 19819 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 19820 19821 # Run-time system search path for libraries 19822 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 19823 19824 # Fix the shell variable \$srcfile for the compiler. 19825 fix_srcfile_path="$fix_srcfile_path_RC" 19826 19827 # Set to yes if exported symbols are required. 19828 always_export_symbols=$always_export_symbols_RC 19829 19830 # The commands to list exported symbols. 19831 export_symbols_cmds=$lt_export_symbols_cmds_RC 19832 19833 # The commands to extract the exported symbol list from a shared archive. 19834 extract_expsyms_cmds=$lt_extract_expsyms_cmds 19835 19836 # Symbols that should not be listed in the preloaded symbols. 19837 exclude_expsyms=$lt_exclude_expsyms_RC 19838 19839 # Symbols that must always be exported. 19840 include_expsyms=$lt_include_expsyms_RC 19841 19842 # ### END LIBTOOL TAG CONFIG: $tagname 19843 19844 __EOF__ 19845 19846 19847 else 19848 # If there is no Makefile yet, we rely on a make rule to execute 19849 # `config.status --recheck' to rerun these tests and create the 19850 # libtool script then. 19851 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 19852 if test -f "$ltmain_in"; then 19853 test -f Makefile && make "$ltmain" 19854 fi 19855 fi 19856 19857 19858 ac_ext=c 19859 ac_cpp='$CPP $CPPFLAGS' 19860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 19861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 19862 ac_compiler_gnu=$ac_cv_c_compiler_gnu 19863 19864 CC="$lt_save_CC" 19865 19866 ;; 19867 19868 *) 19869 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5 19870 echo "$as_me: error: Unsupported tag name: $tagname" >&2;} 19871 { (exit 1); exit 1; }; } 19872 ;; 19873 esac 19874 19875 # Append the new tag name to the list of available tags. 19876 if test -n "$tagname" ; then 19877 available_tags="$available_tags $tagname" 19878 fi 19879 fi 19880 done 19881 IFS="$lt_save_ifs" 19882 19883 # Now substitute the updated list of available tags. 19884 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then 19885 mv "${ofile}T" "$ofile" 19886 chmod +x "$ofile" 19887 else 19888 rm -f "${ofile}T" 19889 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5 19890 echo "$as_me: error: unable to update list of available tagged configurations." >&2;} 19891 { (exit 1); exit 1; }; } 19892 fi 19893 fi 19894 19895 19896 19897 # This can be used to rebuild libtool when needed 19898 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" 19899 19900 # Always use our own libtool. 19901 LIBTOOL='$(SHELL) $(top_builddir)/libtool' 19902 19903 # Prevent multiple expansion 19904 19905 19906 19907 19908 19909 19910 19911 19912 19913 19914 19915 19916 19917 19918 19919 19920 19921 19922 19923 19924 19925 CC_NOUNDEFINED 19926 19927 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 19928 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 19929 if test "${ac_cv_header_stdc+set}" = set; then 19930 echo $ECHO_N "(cached) $ECHO_C" >&6 19931 else 19932 cat >conftest.$ac_ext <<_ACEOF 19933 /* confdefs.h. */ 19934 _ACEOF 19935 cat confdefs.h >>conftest.$ac_ext 19936 cat >>conftest.$ac_ext <<_ACEOF 19937 /* end confdefs.h. */ 19938 #include <stdlib.h> 19939 #include <stdarg.h> 19940 #include <string.h> 19941 #include <float.h> 19942 19943 int 19944 main () 19945 { 19946 19947 ; 19948 return 0; 19949 } 19950 _ACEOF 19951 rm -f conftest.$ac_objext 19952 if { (ac_try="$ac_compile" 19953 case "(($ac_try" in 19954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19955 *) ac_try_echo=$ac_try;; 19956 esac 19957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 19958 (eval "$ac_compile") 2>conftest.er1 19959 ac_status=$? 19960 grep -v '^ *+' conftest.er1 >conftest.err 19961 rm -f conftest.er1 19962 cat conftest.err >&5 19963 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19964 (exit $ac_status); } && 19965 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 19966 { (case "(($ac_try" in 19967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19968 *) ac_try_echo=$ac_try;; 19969 esac 19970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 19971 (eval "$ac_try") 2>&5 19972 ac_status=$? 19973 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19974 (exit $ac_status); }; } && 19975 { ac_try='test -s conftest.$ac_objext' 19976 { (case "(($ac_try" in 19977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19978 *) ac_try_echo=$ac_try;; 19979 esac 19980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 19981 (eval "$ac_try") 2>&5 19982 ac_status=$? 19983 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19984 (exit $ac_status); }; }; then 19985 ac_cv_header_stdc=yes 19986 else 19987 echo "$as_me: failed program was:" >&5 19988 sed 's/^/| /' conftest.$ac_ext >&5 19989 19990 ac_cv_header_stdc=no 19991 fi 19992 19993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19994 19995 if test $ac_cv_header_stdc = yes; then 19996 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 19997 cat >conftest.$ac_ext <<_ACEOF 19998 /* confdefs.h. */ 19999 _ACEOF 20000 cat confdefs.h >>conftest.$ac_ext 20001 cat >>conftest.$ac_ext <<_ACEOF 20002 /* end confdefs.h. */ 20003 #include <string.h> 20004 20005 _ACEOF 20006 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 20007 $EGREP "memchr" >/dev/null 2>&1; then 20008 : 20009 else 20010 ac_cv_header_stdc=no 20011 fi 20012 rm -f conftest* 20013 20014 fi 20015 20016 if test $ac_cv_header_stdc = yes; then 20017 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 20018 cat >conftest.$ac_ext <<_ACEOF 20019 /* confdefs.h. */ 20020 _ACEOF 20021 cat confdefs.h >>conftest.$ac_ext 20022 cat >>conftest.$ac_ext <<_ACEOF 20023 /* end confdefs.h. */ 20024 #include <stdlib.h> 20025 20026 _ACEOF 20027 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 20028 $EGREP "free" >/dev/null 2>&1; then 20029 : 20030 else 20031 ac_cv_header_stdc=no 20032 fi 20033 rm -f conftest* 20034 20035 fi 20036 20037 if test $ac_cv_header_stdc = yes; then 20038 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 20039 if test "$cross_compiling" = yes; then 20040 : 20041 else 20042 cat >conftest.$ac_ext <<_ACEOF 20043 /* confdefs.h. */ 20044 _ACEOF 20045 cat confdefs.h >>conftest.$ac_ext 20046 cat >>conftest.$ac_ext <<_ACEOF 20047 /* end confdefs.h. */ 20048 #include <ctype.h> 20049 #include <stdlib.h> 20050 #if ((' ' & 0x0FF) == 0x020) 20051 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 20052 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 20053 #else 20054 # define ISLOWER(c) \ 20055 (('a' <= (c) && (c) <= 'i') \ 20056 || ('j' <= (c) && (c) <= 'r') \ 20057 || ('s' <= (c) && (c) <= 'z')) 20058 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 20059 #endif 20060 20061 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 20062 int 20063 main () 20064 { 20065 int i; 20066 for (i = 0; i < 256; i++) 20067 if (XOR (islower (i), ISLOWER (i)) 20068 || toupper (i) != TOUPPER (i)) 20069 return 2; 20070 return 0; 20071 } 20072 _ACEOF 20073 rm -f conftest$ac_exeext 20074 if { (ac_try="$ac_link" 20075 case "(($ac_try" in 20076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20077 *) ac_try_echo=$ac_try;; 20078 esac 20079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20080 (eval "$ac_link") 2>&5 20081 ac_status=$? 20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20083 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 20084 { (case "(($ac_try" in 20085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20086 *) ac_try_echo=$ac_try;; 20087 esac 20088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20089 (eval "$ac_try") 2>&5 20090 ac_status=$? 20091 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20092 (exit $ac_status); }; }; then 20093 : 20094 else 20095 echo "$as_me: program exited with status $ac_status" >&5 20096 echo "$as_me: failed program was:" >&5 20097 sed 's/^/| /' conftest.$ac_ext >&5 20098 20099 ( exit $ac_status ) 20100 ac_cv_header_stdc=no 20101 fi 20102 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 20103 fi 20104 20105 20106 fi 20107 fi 20108 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 20109 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 20110 if test $ac_cv_header_stdc = yes; then 20111 20112 cat >>confdefs.h <<\_ACEOF 20113 #define STDC_HEADERS 1 20114 _ACEOF 20115 20116 fi 20117 20118 ac_config_headers="$ac_config_headers include/config.h" 20119 20120 20121 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 20122 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } 20123 if test "${ac_cv_c_const+set}" = set; then 20124 echo $ECHO_N "(cached) $ECHO_C" >&6 20125 else 20126 cat >conftest.$ac_ext <<_ACEOF 20127 /* confdefs.h. */ 20128 _ACEOF 20129 cat confdefs.h >>conftest.$ac_ext 20130 cat >>conftest.$ac_ext <<_ACEOF 20131 /* end confdefs.h. */ 20132 20133 int 20134 main () 20135 { 20136 /* FIXME: Include the comments suggested by Paul. */ 20137 #ifndef __cplusplus 20138 /* Ultrix mips cc rejects this. */ 20139 typedef int charset[2]; 20140 const charset x; 20141 /* SunOS 4.1.1 cc rejects this. */ 20142 char const *const *ccp; 20143 char **p; 20144 /* NEC SVR4.0.2 mips cc rejects this. */ 20145 struct point {int x, y;}; 20146 static struct point const zero = {0,0}; 20147 /* AIX XL C 1.02.0.0 rejects this. 20148 It does not let you subtract one const X* pointer from another in 20149 an arm of an if-expression whose if-part is not a constant 20150 expression */ 20151 const char *g = "string"; 20152 ccp = &g + (g ? g-g : 0); 20153 /* HPUX 7.0 cc rejects these. */ 20154 ++ccp; 20155 p = (char**) ccp; 20156 ccp = (char const *const *) p; 20157 { /* SCO 3.2v4 cc rejects this. */ 20158 char *t; 20159 char const *s = 0 ? (char *) 0 : (char const *) 0; 20160 20161 *t++ = 0; 20162 if (s) return 0; 20163 } 20164 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 20165 int x[] = {25, 17}; 20166 const int *foo = &x[0]; 20167 ++foo; 20168 } 20169 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 20170 typedef const int *iptr; 20171 iptr p = 0; 20172 ++p; 20173 } 20174 { /* AIX XL C 1.02.0.0 rejects this saying 20175 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 20176 struct s { int j; const int *ap[3]; }; 20177 struct s *b; b->j = 5; 20178 } 20179 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 20180 const int foo = 10; 20181 if (!foo) return 0; 20182 } 20183 return !x[0] && !zero.x; 20184 #endif 20185 20186 ; 20187 return 0; 20188 } 20189 _ACEOF 20190 rm -f conftest.$ac_objext 20191 if { (ac_try="$ac_compile" 20192 case "(($ac_try" in 20193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20194 *) ac_try_echo=$ac_try;; 20195 esac 20196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20197 (eval "$ac_compile") 2>conftest.er1 20198 ac_status=$? 20199 grep -v '^ *+' conftest.er1 >conftest.err 20200 rm -f conftest.er1 20201 cat conftest.err >&5 20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20203 (exit $ac_status); } && 20204 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 20205 { (case "(($ac_try" in 20206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20207 *) ac_try_echo=$ac_try;; 20208 esac 20209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20210 (eval "$ac_try") 2>&5 20211 ac_status=$? 20212 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20213 (exit $ac_status); }; } && 20214 { ac_try='test -s conftest.$ac_objext' 20215 { (case "(($ac_try" in 20216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20217 *) ac_try_echo=$ac_try;; 20218 esac 20219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20220 (eval "$ac_try") 2>&5 20221 ac_status=$? 20222 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20223 (exit $ac_status); }; }; then 20224 ac_cv_c_const=yes 20225 else 20226 echo "$as_me: failed program was:" >&5 20227 sed 's/^/| /' conftest.$ac_ext >&5 20228 20229 ac_cv_c_const=no 20230 fi 20231 20232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20233 fi 20234 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 20235 echo "${ECHO_T}$ac_cv_c_const" >&6; } 20236 if test $ac_cv_c_const = no; then 20237 20238 cat >>confdefs.h <<\_ACEOF 20239 #define const 20240 _ACEOF 20241 20242 fi 20243 20244 { echo "$as_me:$LINENO: checking for inline" >&5 20245 echo $ECHO_N "checking for inline... $ECHO_C" >&6; } 20246 if test "${ac_cv_c_inline+set}" = set; then 20247 echo $ECHO_N "(cached) $ECHO_C" >&6 20248 else 20249 ac_cv_c_inline=no 20250 for ac_kw in inline __inline__ __inline; do 20251 cat >conftest.$ac_ext <<_ACEOF 20252 /* confdefs.h. */ 20253 _ACEOF 20254 cat confdefs.h >>conftest.$ac_ext 20255 cat >>conftest.$ac_ext <<_ACEOF 20256 /* end confdefs.h. */ 20257 #ifndef __cplusplus 20258 typedef int foo_t; 20259 static $ac_kw foo_t static_foo () {return 0; } 20260 $ac_kw foo_t foo () {return 0; } 20261 #endif 20262 20263 _ACEOF 20264 rm -f conftest.$ac_objext 20265 if { (ac_try="$ac_compile" 20266 case "(($ac_try" in 20267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20268 *) ac_try_echo=$ac_try;; 20269 esac 20270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20271 (eval "$ac_compile") 2>conftest.er1 20272 ac_status=$? 20273 grep -v '^ *+' conftest.er1 >conftest.err 20274 rm -f conftest.er1 20275 cat conftest.err >&5 20276 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20277 (exit $ac_status); } && 20278 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 20279 { (case "(($ac_try" in 20280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20281 *) ac_try_echo=$ac_try;; 20282 esac 20283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20284 (eval "$ac_try") 2>&5 20285 ac_status=$? 20286 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20287 (exit $ac_status); }; } && 20288 { ac_try='test -s conftest.$ac_objext' 20289 { (case "(($ac_try" in 20290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20291 *) ac_try_echo=$ac_try;; 20292 esac 20293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20294 (eval "$ac_try") 2>&5 20295 ac_status=$? 20296 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20297 (exit $ac_status); }; }; then 20298 ac_cv_c_inline=$ac_kw 20299 else 20300 echo "$as_me: failed program was:" >&5 20301 sed 's/^/| /' conftest.$ac_ext >&5 20302 20303 20304 fi 20305 20306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20307 test "$ac_cv_c_inline" != no && break 20308 done 20309 20310 fi 20311 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 20312 echo "${ECHO_T}$ac_cv_c_inline" >&6; } 20313 20314 20315 case $ac_cv_c_inline in 20316 inline | yes) ;; 20317 *) 20318 case $ac_cv_c_inline in 20319 no) ac_val=;; 20320 *) ac_val=$ac_cv_c_inline;; 20321 esac 20322 cat >>confdefs.h <<_ACEOF 20323 #ifndef __cplusplus 20324 #define inline $ac_val 20325 #endif 20326 _ACEOF 20327 ;; 20328 esac 20329 20330 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 20331 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } 20332 if test "${ac_cv_header_time+set}" = set; then 20333 echo $ECHO_N "(cached) $ECHO_C" >&6 20334 else 20335 cat >conftest.$ac_ext <<_ACEOF 20336 /* confdefs.h. */ 20337 _ACEOF 20338 cat confdefs.h >>conftest.$ac_ext 20339 cat >>conftest.$ac_ext <<_ACEOF 20340 /* end confdefs.h. */ 20341 #include <sys/types.h> 20342 #include <sys/time.h> 20343 #include <time.h> 20344 20345 int 20346 main () 20347 { 20348 if ((struct tm *) 0) 20349 return 0; 20350 ; 20351 return 0; 20352 } 20353 _ACEOF 20354 rm -f conftest.$ac_objext 20355 if { (ac_try="$ac_compile" 20356 case "(($ac_try" in 20357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20358 *) ac_try_echo=$ac_try;; 20359 esac 20360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20361 (eval "$ac_compile") 2>conftest.er1 20362 ac_status=$? 20363 grep -v '^ *+' conftest.er1 >conftest.err 20364 rm -f conftest.er1 20365 cat conftest.err >&5 20366 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20367 (exit $ac_status); } && 20368 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 20369 { (case "(($ac_try" in 20370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20371 *) ac_try_echo=$ac_try;; 20372 esac 20373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20374 (eval "$ac_try") 2>&5 20375 ac_status=$? 20376 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20377 (exit $ac_status); }; } && 20378 { ac_try='test -s conftest.$ac_objext' 20379 { (case "(($ac_try" in 20380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20381 *) ac_try_echo=$ac_try;; 20382 esac 20383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20384 (eval "$ac_try") 2>&5 20385 ac_status=$? 20386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20387 (exit $ac_status); }; }; then 20388 ac_cv_header_time=yes 20389 else 20390 echo "$as_me: failed program was:" >&5 20391 sed 's/^/| /' conftest.$ac_ext >&5 20392 20393 ac_cv_header_time=no 20394 fi 20395 20396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20397 fi 20398 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 20399 echo "${ECHO_T}$ac_cv_header_time" >&6; } 20400 if test $ac_cv_header_time = yes; then 20401 20402 cat >>confdefs.h <<\_ACEOF 20403 #define TIME_WITH_SYS_TIME 1 20404 _ACEOF 20405 20406 fi 20407 20408 20409 if test $ac_cv_c_compiler_gnu = yes; then 20410 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 20411 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; } 20412 if test "${ac_cv_prog_gcc_traditional+set}" = set; then 20413 echo $ECHO_N "(cached) $ECHO_C" >&6 20414 else 20415 ac_pattern="Autoconf.*'x'" 20416 cat >conftest.$ac_ext <<_ACEOF 20417 /* confdefs.h. */ 20418 _ACEOF 20419 cat confdefs.h >>conftest.$ac_ext 20420 cat >>conftest.$ac_ext <<_ACEOF 20421 /* end confdefs.h. */ 20422 #include <sgtty.h> 20423 Autoconf TIOCGETP 20424 _ACEOF 20425 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 20426 $EGREP "$ac_pattern" >/dev/null 2>&1; then 20427 ac_cv_prog_gcc_traditional=yes 20428 else 20429 ac_cv_prog_gcc_traditional=no 20430 fi 20431 rm -f conftest* 20432 20433 20434 if test $ac_cv_prog_gcc_traditional = no; then 20435 cat >conftest.$ac_ext <<_ACEOF 20436 /* confdefs.h. */ 20437 _ACEOF 20438 cat confdefs.h >>conftest.$ac_ext 20439 cat >>conftest.$ac_ext <<_ACEOF 20440 /* end confdefs.h. */ 20441 #include <termio.h> 20442 Autoconf TCGETA 20443 _ACEOF 20444 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 20445 $EGREP "$ac_pattern" >/dev/null 2>&1; then 20446 ac_cv_prog_gcc_traditional=yes 20447 fi 20448 rm -f conftest* 20449 20450 fi 20451 fi 20452 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 20453 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; } 20454 if test $ac_cv_prog_gcc_traditional = yes; then 20455 CC="$CC -traditional" 20456 fi 20457 fi 20458 20459 { echo "$as_me:$LINENO: checking for hsearch_r" >&5 20460 echo $ECHO_N "checking for hsearch_r... $ECHO_C" >&6; } 20461 if test "${ac_cv_func_hsearch_r+set}" = set; then 20462 echo $ECHO_N "(cached) $ECHO_C" >&6 20463 else 20464 cat >conftest.$ac_ext <<_ACEOF 20465 /* confdefs.h. */ 20466 _ACEOF 20467 cat confdefs.h >>conftest.$ac_ext 20468 cat >>conftest.$ac_ext <<_ACEOF 20469 /* end confdefs.h. */ 20470 /* Define hsearch_r to an innocuous variant, in case <limits.h> declares hsearch_r. 20471 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 20472 #define hsearch_r innocuous_hsearch_r 20473 20474 /* System header to define __stub macros and hopefully few prototypes, 20475 which can conflict with char hsearch_r (); below. 20476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 20477 <limits.h> exists even on freestanding compilers. */ 20478 20479 #ifdef __STDC__ 20480 # include <limits.h> 20481 #else 20482 # include <assert.h> 20483 #endif 20484 20485 #undef hsearch_r 20486 20487 /* Override any GCC internal prototype to avoid an error. 20488 Use char because int might match the return type of a GCC 20489 builtin and then its argument prototype would still apply. */ 20490 #ifdef __cplusplus 20491 extern "C" 20492 #endif 20493 char hsearch_r (); 20494 /* The GNU C library defines this for functions which it implements 20495 to always fail with ENOSYS. Some functions are actually named 20496 something starting with __ and the normal name is an alias. */ 20497 #if defined __stub_hsearch_r || defined __stub___hsearch_r 20498 choke me 20499 #endif 20500 20501 int 20502 main () 20503 { 20504 return hsearch_r (); 20505 ; 20506 return 0; 20507 } 20508 _ACEOF 20509 rm -f conftest.$ac_objext conftest$ac_exeext 20510 if { (ac_try="$ac_link" 20511 case "(($ac_try" in 20512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20513 *) ac_try_echo=$ac_try;; 20514 esac 20515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20516 (eval "$ac_link") 2>conftest.er1 20517 ac_status=$? 20518 grep -v '^ *+' conftest.er1 >conftest.err 20519 rm -f conftest.er1 20520 cat conftest.err >&5 20521 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20522 (exit $ac_status); } && 20523 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 20524 { (case "(($ac_try" in 20525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20526 *) ac_try_echo=$ac_try;; 20527 esac 20528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20529 (eval "$ac_try") 2>&5 20530 ac_status=$? 20531 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20532 (exit $ac_status); }; } && 20533 { ac_try='test -s conftest$ac_exeext' 20534 { (case "(($ac_try" in 20535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20536 *) ac_try_echo=$ac_try;; 20537 esac 20538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20539 (eval "$ac_try") 2>&5 20540 ac_status=$? 20541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20542 (exit $ac_status); }; }; then 20543 ac_cv_func_hsearch_r=yes 20544 else 20545 echo "$as_me: failed program was:" >&5 20546 sed 's/^/| /' conftest.$ac_ext >&5 20547 20548 ac_cv_func_hsearch_r=no 20549 fi 20550 20551 rm -f core conftest.err conftest.$ac_objext \ 20552 conftest$ac_exeext conftest.$ac_ext 20553 fi 20554 { echo "$as_me:$LINENO: result: $ac_cv_func_hsearch_r" >&5 20555 echo "${ECHO_T}$ac_cv_func_hsearch_r" >&6; } 20556 if test $ac_cv_func_hsearch_r = yes; then 20557 HAVE_HSEARCH_R=yes 20558 fi 20559 20560 20561 20562 if test "x$HAVE_HSEARCH_R" != xyes; then 20563 ALSA_HSEARCH_R_TRUE= 20564 ALSA_HSEARCH_R_FALSE='#' 20565 else 20566 ALSA_HSEARCH_R_TRUE='#' 20567 ALSA_HSEARCH_R_FALSE= 20568 fi 20569 20570 20571 20572 { echo "$as_me:$LINENO: checking for library version" >&5 20573 echo $ECHO_N "checking for library version... $ECHO_C" >&6; } 20574 SND_LIB_VERSION=$VERSION 20575 echo $VERSION > $srcdir/version 20576 20577 cat >>confdefs.h <<_ACEOF 20578 #define VERSION "$SND_LIB_VERSION" 20579 _ACEOF 20580 20581 20582 SND_LIB_MAJOR=`echo $VERSION | cut -d . -f 1` 20583 20584 SND_LIB_MINOR=`echo $VERSION | cut -d . -f 2` 20585 20586 SND_LIB_SUBMINOR=`echo $VERSION | cut -d . -f 3 | sed -e 's/^\([^[:alpha:]]*\)\(.*\)$/\1/g'` 20587 20588 SND_LIB_EXTRASTR=`echo $VERSION | cut -d . -f 3 | sed -e 's/^\([^[:alpha:]]*\)\([[:alpha:]]*\)\([[:digit:]]*\)\(.*\)$/\2/g'` 20589 SND_LIB_EXTRAVER=`echo $VERSION | cut -d . -f 3 | sed -e 's/^\([^[:alpha:]]*\)\([[:alpha:]]*\)\([[:digit:]]*\)\(.*\)$/\3/g'` 20590 case "$SND_LIB_EXTRASTR" in 20591 pre) SND_LIB_EXTRAVER=`expr $SND_LIB_EXTRAVER + 00000` ;; 20592 alpha) SND_LIB_EXTRAVER=`expr $SND_LIB_EXTRAVER + 10000` ;; 20593 beta) SND_LIB_EXTRAVER=`expr $SND_LIB_EXTRAVER + 20000` ;; 20594 rc) SND_LIB_EXTRAVER=`expr $SND_LIB_EXTRAVER + 100000` ;; 20595 *) SND_LIB_EXTRAVER=1000000 ;; 20596 esac 20597 { echo "$as_me:$LINENO: result: major $SND_LIB_MAJOR minor $SND_LIB_MINOR subminor $SND_LIB_SUBMINOR extrastr $SND_LIB_EXTRASTR extraver $SND_LIB_EXTRAVER" >&5 20598 echo "${ECHO_T}major $SND_LIB_MAJOR minor $SND_LIB_MINOR subminor $SND_LIB_SUBMINOR extrastr $SND_LIB_EXTRASTR extraver $SND_LIB_EXTRAVER" >&6; } 20599 20600 20601 20602 20603 test "x$prefix" = xNONE && prefix=$ac_default_prefix 20604 20605 20606 # Check whether --with-configdir was given. 20607 if test "${with_configdir+set}" = set; then 20608 withval=$with_configdir; confdir="$withval" 20609 else 20610 confdir="" 20611 fi 20612 20613 if test -z "$confdir"; then 20614 eval dir="$datadir" 20615 case "$dir" in 20616 /*) ;; 20617 *) dir="$prefix/share" 20618 esac 20619 confdir="$dir/alsa" 20620 fi 20621 ALSA_CONFIG_DIR="$confdir" 20622 20623 cat >>confdefs.h <<_ACEOF 20624 #define ALSA_CONFIG_DIR "$confdir" 20625 _ACEOF 20626 20627 20628 20629 test "x$exec_prefix" = xNONE && exec_prefix=$prefix 20630 20631 20632 # Check whether --with-plugindir was given. 20633 if test "${with_plugindir+set}" = set; then 20634 withval=$with_plugindir; plugindir="$withval" 20635 else 20636 plugindir="" 20637 fi 20638 20639 if test -z "$plugindir"; then 20640 eval dir="$libdir" 20641 case "$dir" in 20642 /*) ;; 20643 *) dir="$dir" 20644 esac 20645 plugindir="$dir/$PACKAGE" 20646 fi 20647 20648 cat >>confdefs.h <<_ACEOF 20649 #define ALSA_PLUGIN_DIR "$plugindir" 20650 _ACEOF 20651 20652 ALSA_PLUGIN_DIR="$plugindir" 20653 20654 20655 { echo "$as_me:$LINENO: checking for versioned symbols" >&5 20656 echo $ECHO_N "checking for versioned symbols... $ECHO_C" >&6; } 20657 20658 # Check whether --with-versioned was given. 20659 if test "${with_versioned+set}" = set; then 20660 withval=$with_versioned; versioned="$withval" 20661 else 20662 versioned="yes" 20663 fi 20664 20665 if test "$versioned" = "yes"; then 20666 # it seems that GNU ld versions since 2.10 are not broken 20667 xres=`grep '^VERSION=' libtool | cut -d = -f 2 | cut -d \" -f 2` 20668 major=`echo $xres | cut -d . -f 1` 20669 minor=`echo $xres | cut -d . -f 2` 20670 pass=0 20671 if test $major -eq 1 -a $minor -gt 3; then 20672 pass=1 20673 else 20674 if test $major -gt 1; then 20675 pass=1 20676 fi 20677 fi 20678 if test $pass -eq 1; then 20679 20680 cat >>confdefs.h <<\_ACEOF 20681 #define VERSIONED_SYMBOLS 20682 _ACEOF 20683 20684 { echo "$as_me:$LINENO: result: yes" >&5 20685 echo "${ECHO_T}yes" >&6; } 20686 else 20687 { echo "$as_me:$LINENO: result: broken libtool - use libtool v1.4+; no versions" >&5 20688 echo "${ECHO_T}broken libtool - use libtool v1.4+; no versions" >&6; } 20689 fi 20690 else 20691 { echo "$as_me:$LINENO: result: no" >&5 20692 echo "${ECHO_T}no" >&6; } 20693 fi 20694 20695 20696 if test x$versioned = xyes; then 20697 VERSIONED_SYMBOLS_TRUE= 20698 VERSIONED_SYMBOLS_FALSE='#' 20699 else 20700 VERSIONED_SYMBOLS_TRUE='#' 20701 VERSIONED_SYMBOLS_FALSE= 20702 fi 20703 20704 20705 { echo "$as_me:$LINENO: checking for symbolic-functions" >&5 20706 echo $ECHO_N "checking for symbolic-functions... $ECHO_C" >&6; } 20707 # Check whether --enable-symbolic-functions was given. 20708 if test "${enable_symbolic_functions+set}" = set; then 20709 enableval=$enable_symbolic_functions; symfuncs="$enableval" 20710 else 20711 symfuncs="no" 20712 fi 20713 20714 if test "$symfuncs" = "yes"; then 20715 if ld --help | grep -q -- '-Bsymbolic-functions'; then 20716 { echo "$as_me:$LINENO: result: yes" >&5 20717 echo "${ECHO_T}yes" >&6; } 20718 else 20719 { echo "$as_me:$LINENO: result: not supported by ld" >&5 20720 echo "${ECHO_T}not supported by ld" >&6; } 20721 symfuncs="no" 20722 fi 20723 else 20724 { echo "$as_me:$LINENO: result: no" >&5 20725 echo "${ECHO_T}no" >&6; } 20726 fi 20727 20728 20729 if test x"$symfuncs" = xyes; then 20730 SYMBOLIC_FUNCTIONS_TRUE= 20731 SYMBOLIC_FUNCTIONS_FALSE='#' 20732 else 20733 SYMBOLIC_FUNCTIONS_TRUE='#' 20734 SYMBOLIC_FUNCTIONS_FALSE= 20735 fi 20736 20737 20738 { echo "$as_me:$LINENO: checking for custom symbol prefixes" >&5 20739 echo $ECHO_N "checking for custom symbol prefixes... $ECHO_C" >&6; } 20740 SYMBOL_PREFIX=` \ 20741 echo "PREFIX=__USER_LABEL_PREFIX__" \ 20742 | ${CPP-${CC-gcc} -E} - 2>&1 \ 20743 | ${EGREP-grep} "^PREFIX=" \ 20744 | ${SED-sed} "s:^PREFIX=::"` 20745 20746 cat >>confdefs.h <<_ACEOF 20747 #define __SYMBOL_PREFIX "$SYMBOL_PREFIX" 20748 _ACEOF 20749 20750 20751 { echo "$as_me:$LINENO: result: $SYMBOL_PREFIX" >&5 20752 echo "${ECHO_T}$SYMBOL_PREFIX" >&6; } 20753 20754 { echo "$as_me:$LINENO: checking for debug" >&5 20755 echo $ECHO_N "checking for debug... $ECHO_C" >&6; } 20756 20757 # Check whether --with-debug was given. 20758 if test "${with_debug+set}" = set; then 20759 withval=$with_debug; debug="$withval" 20760 else 20761 debug="yes" 20762 fi 20763 20764 if test "$debug" = "yes"; then 20765 { echo "$as_me:$LINENO: result: yes" >&5 20766 echo "${ECHO_T}yes" >&6; } 20767 else 20768 20769 cat >>confdefs.h <<\_ACEOF 20770 #define NDEBUG 20771 _ACEOF 20772 20773 { echo "$as_me:$LINENO: result: no" >&5 20774 echo "${ECHO_T}no" >&6; } 20775 fi 20776 20777 if test "$debug" = "yes"; then 20778 { echo "$as_me:$LINENO: checking for debug assert" >&5 20779 echo $ECHO_N "checking for debug assert... $ECHO_C" >&6; } 20780 # Check whether --enable-debug-assert was given. 20781 if test "${enable_debug_assert+set}" = set; then 20782 enableval=$enable_debug_assert; debug_assert="$enableval" 20783 else 20784 debug_assert="no" 20785 fi 20786 20787 if test "$debug_assert" = "yes"; then 20788 { echo "$as_me:$LINENO: result: yes" >&5 20789 echo "${ECHO_T}yes" >&6; } 20790 20791 cat >>confdefs.h <<\_ACEOF 20792 #define ALSA_DEBUG_ASSERT 20793 _ACEOF 20794 20795 else 20796 { echo "$as_me:$LINENO: result: no" >&5 20797 echo "${ECHO_T}no" >&6; } 20798 fi 20799 fi 20800 20801 { echo "$as_me:$LINENO: checking for tmpdir" >&5 20802 echo $ECHO_N "checking for tmpdir... $ECHO_C" >&6; } 20803 20804 # Check whether --with-tmpdir was given. 20805 if test "${with_tmpdir+set}" = set; then 20806 withval=$with_tmpdir; tmpdir="$withval" 20807 else 20808 tmpdir="/tmp" 20809 fi 20810 20811 { echo "$as_me:$LINENO: result: $tmpdir" >&5 20812 echo "${ECHO_T}$tmpdir" >&6; } 20813 20814 cat >>confdefs.h <<_ACEOF 20815 #define TMPDIR "$tmpdir" 20816 _ACEOF 20817 20818 20819 { echo "$as_me:$LINENO: checking for softfloat" >&5 20820 echo $ECHO_N "checking for softfloat... $ECHO_C" >&6; } 20821 20822 # Check whether --with-softfloat was given. 20823 if test "${with_softfloat+set}" = set; then 20824 withval=$with_softfloat; 20825 cat >>confdefs.h <<\_ACEOF 20826 #define HAVE_SOFT_FLOAT "1" 20827 _ACEOF 20828 20829 softfloat=yes 20830 fi 20831 20832 if test "$softfloat" = "yes" ; then 20833 { echo "$as_me:$LINENO: result: yes" >&5 20834 echo "${ECHO_T}yes" >&6; } 20835 else 20836 { echo "$as_me:$LINENO: result: no" >&5 20837 echo "${ECHO_T}no" >&6; } 20838 fi 20839 20840 ALSA_DEPLIBS="" 20841 if test "$softfloat" != "yes"; then 20842 ALSA_DEPLIBS="-lm" 20843 fi 20844 20845 { echo "$as_me:$LINENO: checking for libdl" >&5 20846 echo $ECHO_N "checking for libdl... $ECHO_C" >&6; } 20847 20848 # Check whether --with-libdl was given. 20849 if test "${with_libdl+set}" = set; then 20850 withval=$with_libdl; have_libdl="$withval" 20851 else 20852 have_libdl="yes" 20853 fi 20854 20855 if test "$have_libdl" = "yes"; then 20856 { echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5 20857 echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6; } 20858 if test "${ac_cv_lib_dl_dlsym+set}" = set; then 20859 echo $ECHO_N "(cached) $ECHO_C" >&6 20860 else 20861 ac_check_lib_save_LIBS=$LIBS 20862 LIBS="-ldl $LIBS" 20863 cat >conftest.$ac_ext <<_ACEOF 20864 /* confdefs.h. */ 20865 _ACEOF 20866 cat confdefs.h >>conftest.$ac_ext 20867 cat >>conftest.$ac_ext <<_ACEOF 20868 /* end confdefs.h. */ 20869 20870 /* Override any GCC internal prototype to avoid an error. 20871 Use char because int might match the return type of a GCC 20872 builtin and then its argument prototype would still apply. */ 20873 #ifdef __cplusplus 20874 extern "C" 20875 #endif 20876 char dlsym (); 20877 int 20878 main () 20879 { 20880 return dlsym (); 20881 ; 20882 return 0; 20883 } 20884 _ACEOF 20885 rm -f conftest.$ac_objext conftest$ac_exeext 20886 if { (ac_try="$ac_link" 20887 case "(($ac_try" in 20888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20889 *) ac_try_echo=$ac_try;; 20890 esac 20891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20892 (eval "$ac_link") 2>conftest.er1 20893 ac_status=$? 20894 grep -v '^ *+' conftest.er1 >conftest.err 20895 rm -f conftest.er1 20896 cat conftest.err >&5 20897 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20898 (exit $ac_status); } && 20899 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 20900 { (case "(($ac_try" in 20901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20902 *) ac_try_echo=$ac_try;; 20903 esac 20904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20905 (eval "$ac_try") 2>&5 20906 ac_status=$? 20907 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20908 (exit $ac_status); }; } && 20909 { ac_try='test -s conftest$ac_exeext' 20910 { (case "(($ac_try" in 20911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20912 *) ac_try_echo=$ac_try;; 20913 esac 20914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20915 (eval "$ac_try") 2>&5 20916 ac_status=$? 20917 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20918 (exit $ac_status); }; }; then 20919 ac_cv_lib_dl_dlsym=yes 20920 else 20921 echo "$as_me: failed program was:" >&5 20922 sed 's/^/| /' conftest.$ac_ext >&5 20923 20924 ac_cv_lib_dl_dlsym=no 20925 fi 20926 20927 rm -f core conftest.err conftest.$ac_objext \ 20928 conftest$ac_exeext conftest.$ac_ext 20929 LIBS=$ac_check_lib_save_LIBS 20930 fi 20931 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5 20932 echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6; } 20933 if test $ac_cv_lib_dl_dlsym = yes; then 20934 HAVE_LIBDL="yes" 20935 fi 20936 20937 if test "$HAVE_LIBDL" = "yes" ; then 20938 ALSA_DEPLIBS="$ALSA_DEPLIBS -ldl" 20939 20940 cat >>confdefs.h <<\_ACEOF 20941 #define HAVE_LIBDL 1 20942 _ACEOF 20943 20944 fi 20945 else 20946 { echo "$as_me:$LINENO: result: no" >&5 20947 echo "${ECHO_T}no" >&6; } 20948 fi 20949 20950 20951 if test "$HAVE_LIBDL"="yes"; then 20952 BUILD_MODULES_TRUE= 20953 BUILD_MODULES_FALSE='#' 20954 else 20955 BUILD_MODULES_TRUE='#' 20956 BUILD_MODULES_FALSE= 20957 fi 20958 20959 20960 { echo "$as_me:$LINENO: checking for pthread" >&5 20961 echo $ECHO_N "checking for pthread... $ECHO_C" >&6; } 20962 20963 # Check whether --with-pthread was given. 20964 if test "${with_pthread+set}" = set; then 20965 withval=$with_pthread; have_pthread="$withval" 20966 else 20967 have_pthread="yes" 20968 fi 20969 20970 if test "$have_pthread" = "yes"; then 20971 { echo "$as_me:$LINENO: checking for pthread_join in -lpthread" >&5 20972 echo $ECHO_N "checking for pthread_join in -lpthread... $ECHO_C" >&6; } 20973 if test "${ac_cv_lib_pthread_pthread_join+set}" = set; then 20974 echo $ECHO_N "(cached) $ECHO_C" >&6 20975 else 20976 ac_check_lib_save_LIBS=$LIBS 20977 LIBS="-lpthread $LIBS" 20978 cat >conftest.$ac_ext <<_ACEOF 20979 /* confdefs.h. */ 20980 _ACEOF 20981 cat confdefs.h >>conftest.$ac_ext 20982 cat >>conftest.$ac_ext <<_ACEOF 20983 /* end confdefs.h. */ 20984 20985 /* Override any GCC internal prototype to avoid an error. 20986 Use char because int might match the return type of a GCC 20987 builtin and then its argument prototype would still apply. */ 20988 #ifdef __cplusplus 20989 extern "C" 20990 #endif 20991 char pthread_join (); 20992 int 20993 main () 20994 { 20995 return pthread_join (); 20996 ; 20997 return 0; 20998 } 20999 _ACEOF 21000 rm -f conftest.$ac_objext conftest$ac_exeext 21001 if { (ac_try="$ac_link" 21002 case "(($ac_try" in 21003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21004 *) ac_try_echo=$ac_try;; 21005 esac 21006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21007 (eval "$ac_link") 2>conftest.er1 21008 ac_status=$? 21009 grep -v '^ *+' conftest.er1 >conftest.err 21010 rm -f conftest.er1 21011 cat conftest.err >&5 21012 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21013 (exit $ac_status); } && 21014 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 21015 { (case "(($ac_try" in 21016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21017 *) ac_try_echo=$ac_try;; 21018 esac 21019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21020 (eval "$ac_try") 2>&5 21021 ac_status=$? 21022 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21023 (exit $ac_status); }; } && 21024 { ac_try='test -s conftest$ac_exeext' 21025 { (case "(($ac_try" in 21026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21027 *) ac_try_echo=$ac_try;; 21028 esac 21029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21030 (eval "$ac_try") 2>&5 21031 ac_status=$? 21032 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21033 (exit $ac_status); }; }; then 21034 ac_cv_lib_pthread_pthread_join=yes 21035 else 21036 echo "$as_me: failed program was:" >&5 21037 sed 's/^/| /' conftest.$ac_ext >&5 21038 21039 ac_cv_lib_pthread_pthread_join=no 21040 fi 21041 21042 rm -f core conftest.err conftest.$ac_objext \ 21043 conftest$ac_exeext conftest.$ac_ext 21044 LIBS=$ac_check_lib_save_LIBS 21045 fi 21046 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_join" >&5 21047 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_join" >&6; } 21048 if test $ac_cv_lib_pthread_pthread_join = yes; then 21049 HAVE_LIBPTHREAD="yes" 21050 fi 21051 21052 if test "$HAVE_LIBPTHREAD" = "yes"; then 21053 ALSA_DEPLIBS="$ALSA_DEPLIBS -lpthread" 21054 21055 cat >>confdefs.h <<\_ACEOF 21056 #define HAVE_LIBPTHREAD 1 21057 _ACEOF 21058 21059 fi 21060 else 21061 { echo "$as_me:$LINENO: result: no" >&5 21062 echo "${ECHO_T}no" >&6; } 21063 fi 21064 21065 { echo "$as_me:$LINENO: checking for librt" >&5 21066 echo $ECHO_N "checking for librt... $ECHO_C" >&6; } 21067 21068 # Check whether --with-librt was given. 21069 if test "${with_librt+set}" = set; then 21070 withval=$with_librt; have_librt="$withval" 21071 else 21072 have_librt="yes" 21073 fi 21074 21075 if test "$have_librt" = "yes"; then 21076 { echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5 21077 echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; } 21078 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then 21079 echo $ECHO_N "(cached) $ECHO_C" >&6 21080 else 21081 ac_check_lib_save_LIBS=$LIBS 21082 LIBS="-lrt $LIBS" 21083 cat >conftest.$ac_ext <<_ACEOF 21084 /* confdefs.h. */ 21085 _ACEOF 21086 cat confdefs.h >>conftest.$ac_ext 21087 cat >>conftest.$ac_ext <<_ACEOF 21088 /* end confdefs.h. */ 21089 21090 /* Override any GCC internal prototype to avoid an error. 21091 Use char because int might match the return type of a GCC 21092 builtin and then its argument prototype would still apply. */ 21093 #ifdef __cplusplus 21094 extern "C" 21095 #endif 21096 char clock_gettime (); 21097 int 21098 main () 21099 { 21100 return clock_gettime (); 21101 ; 21102 return 0; 21103 } 21104 _ACEOF 21105 rm -f conftest.$ac_objext conftest$ac_exeext 21106 if { (ac_try="$ac_link" 21107 case "(($ac_try" in 21108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21109 *) ac_try_echo=$ac_try;; 21110 esac 21111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21112 (eval "$ac_link") 2>conftest.er1 21113 ac_status=$? 21114 grep -v '^ *+' conftest.er1 >conftest.err 21115 rm -f conftest.er1 21116 cat conftest.err >&5 21117 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21118 (exit $ac_status); } && 21119 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 21120 { (case "(($ac_try" in 21121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21122 *) ac_try_echo=$ac_try;; 21123 esac 21124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21125 (eval "$ac_try") 2>&5 21126 ac_status=$? 21127 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21128 (exit $ac_status); }; } && 21129 { ac_try='test -s conftest$ac_exeext' 21130 { (case "(($ac_try" in 21131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21132 *) ac_try_echo=$ac_try;; 21133 esac 21134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21135 (eval "$ac_try") 2>&5 21136 ac_status=$? 21137 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21138 (exit $ac_status); }; }; then 21139 ac_cv_lib_rt_clock_gettime=yes 21140 else 21141 echo "$as_me: failed program was:" >&5 21142 sed 's/^/| /' conftest.$ac_ext >&5 21143 21144 ac_cv_lib_rt_clock_gettime=no 21145 fi 21146 21147 rm -f core conftest.err conftest.$ac_objext \ 21148 conftest$ac_exeext conftest.$ac_ext 21149 LIBS=$ac_check_lib_save_LIBS 21150 fi 21151 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5 21152 echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6; } 21153 if test $ac_cv_lib_rt_clock_gettime = yes; then 21154 HAVE_LIBRT="yes" 21155 fi 21156 21157 if test "$HAVE_LIBRT" = "yes" ; then 21158 ALSA_DEPLIBS="$ALSA_DEPLIBS -lrt" 21159 21160 cat >>confdefs.h <<\_ACEOF 21161 #define HAVE_LIBRT 1 21162 _ACEOF 21163 21164 21165 cat >>confdefs.h <<\_ACEOF 21166 #define HAVE_CLOCK_GETTIME 1 21167 _ACEOF 21168 21169 fi 21170 else 21171 { echo "$as_me:$LINENO: result: no" >&5 21172 echo "${ECHO_T}no" >&6; } 21173 fi 21174 21175 21176 21177 { echo "$as_me:$LINENO: checking for architecture" >&5 21178 echo $ECHO_N "checking for architecture... $ECHO_C" >&6; } 21179 case "$host" in 21180 i?86*) 21181 { echo "$as_me:$LINENO: result: x86" >&5 21182 echo "${ECHO_T}x86" >&6; } 21183 ;; 21184 x86_64*) 21185 { echo "$as_me:$LINENO: result: x86" >&5 21186 echo "${ECHO_T}x86" >&6; } 21187 ;; 21188 alpha*) 21189 { echo "$as_me:$LINENO: result: alpha" >&5 21190 echo "${ECHO_T}alpha" >&6; } 21191 ;; 21192 powerpc*|ppc*) 21193 { echo "$as_me:$LINENO: result: ppc" >&5 21194 echo "${ECHO_T}ppc" >&6; } 21195 CPPFLAGS="$CPPFLAGS -D__ppc__" 21196 ;; 21197 ia64*) 21198 { echo "$as_me:$LINENO: result: ia64" >&5 21199 echo "${ECHO_T}ia64" >&6; } 21200 CPPFLAGS="$CPPFLAGS -D__ia64__" 21201 ;; 21202 mips*) 21203 { echo "$as_me:$LINENO: result: mips" >&5 21204 echo "${ECHO_T}mips" >&6; } 21205 CPPFLAGS="$CPPFLAGS -D__mips__" 21206 ;; 21207 arm*) 21208 { echo "$as_me:$LINENO: result: arm" >&5 21209 echo "${ECHO_T}arm" >&6; } 21210 CPPFLAGS="$CPPFLAGS -D__arm__" 21211 ;; 21212 *) 21213 { echo "$as_me:$LINENO: result: $host_cpu" >&5 21214 echo "${ECHO_T}$host_cpu" >&6; } 21215 echo "No atomic operations supported.." 21216 ;; 21217 esac 21218 21219 21220 for ac_header in wordexp.h 21221 do 21222 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 21223 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21224 { echo "$as_me:$LINENO: checking for $ac_header" >&5 21225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 21226 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21227 echo $ECHO_N "(cached) $ECHO_C" >&6 21228 fi 21229 ac_res=`eval echo '${'$as_ac_Header'}'` 21230 { echo "$as_me:$LINENO: result: $ac_res" >&5 21231 echo "${ECHO_T}$ac_res" >&6; } 21232 else 21233 # Is the header compilable? 21234 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 21235 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 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 $ac_includes_default 21243 #include <$ac_header> 21244 _ACEOF 21245 rm -f conftest.$ac_objext 21246 if { (ac_try="$ac_compile" 21247 case "(($ac_try" in 21248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21249 *) ac_try_echo=$ac_try;; 21250 esac 21251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21252 (eval "$ac_compile") 2>conftest.er1 21253 ac_status=$? 21254 grep -v '^ *+' conftest.er1 >conftest.err 21255 rm -f conftest.er1 21256 cat conftest.err >&5 21257 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21258 (exit $ac_status); } && 21259 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 21260 { (case "(($ac_try" in 21261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21262 *) ac_try_echo=$ac_try;; 21263 esac 21264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21265 (eval "$ac_try") 2>&5 21266 ac_status=$? 21267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21268 (exit $ac_status); }; } && 21269 { ac_try='test -s conftest.$ac_objext' 21270 { (case "(($ac_try" in 21271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21272 *) ac_try_echo=$ac_try;; 21273 esac 21274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21275 (eval "$ac_try") 2>&5 21276 ac_status=$? 21277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21278 (exit $ac_status); }; }; then 21279 ac_header_compiler=yes 21280 else 21281 echo "$as_me: failed program was:" >&5 21282 sed 's/^/| /' conftest.$ac_ext >&5 21283 21284 ac_header_compiler=no 21285 fi 21286 21287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21288 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 21289 echo "${ECHO_T}$ac_header_compiler" >&6; } 21290 21291 # Is the header present? 21292 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 21293 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 21294 cat >conftest.$ac_ext <<_ACEOF 21295 /* confdefs.h. */ 21296 _ACEOF 21297 cat confdefs.h >>conftest.$ac_ext 21298 cat >>conftest.$ac_ext <<_ACEOF 21299 /* end confdefs.h. */ 21300 #include <$ac_header> 21301 _ACEOF 21302 if { (ac_try="$ac_cpp conftest.$ac_ext" 21303 case "(($ac_try" in 21304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21305 *) ac_try_echo=$ac_try;; 21306 esac 21307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21308 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 21309 ac_status=$? 21310 grep -v '^ *+' conftest.er1 >conftest.err 21311 rm -f conftest.er1 21312 cat conftest.err >&5 21313 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21314 (exit $ac_status); } >/dev/null; then 21315 if test -s conftest.err; then 21316 ac_cpp_err=$ac_c_preproc_warn_flag 21317 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 21318 else 21319 ac_cpp_err= 21320 fi 21321 else 21322 ac_cpp_err=yes 21323 fi 21324 if test -z "$ac_cpp_err"; then 21325 ac_header_preproc=yes 21326 else 21327 echo "$as_me: failed program was:" >&5 21328 sed 's/^/| /' conftest.$ac_ext >&5 21329 21330 ac_header_preproc=no 21331 fi 21332 21333 rm -f conftest.err conftest.$ac_ext 21334 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 21335 echo "${ECHO_T}$ac_header_preproc" >&6; } 21336 21337 # So? What about this header? 21338 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 21339 yes:no: ) 21340 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 21341 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 21342 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 21343 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 21344 ac_header_preproc=yes 21345 ;; 21346 no:yes:* ) 21347 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 21348 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 21349 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 21350 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 21351 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 21352 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 21353 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 21354 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 21355 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 21356 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 21357 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 21358 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 21359 21360 ;; 21361 esac 21362 { echo "$as_me:$LINENO: checking for $ac_header" >&5 21363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 21364 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21365 echo $ECHO_N "(cached) $ECHO_C" >&6 21366 else 21367 eval "$as_ac_Header=\$ac_header_preproc" 21368 fi 21369 ac_res=`eval echo '${'$as_ac_Header'}'` 21370 { echo "$as_me:$LINENO: result: $ac_res" >&5 21371 echo "${ECHO_T}$ac_res" >&6; } 21372 21373 fi 21374 if test `eval echo '${'$as_ac_Header'}'` = yes; then 21375 cat >>confdefs.h <<_ACEOF 21376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 21377 _ACEOF 21378 21379 fi 21380 21381 done 21382 21383 21384 { echo "$as_me:$LINENO: checking for resmgr support" >&5 21385 echo $ECHO_N "checking for resmgr support... $ECHO_C" >&6; } 21386 # Check whether --enable-resmgr was given. 21387 if test "${enable_resmgr+set}" = set; then 21388 enableval=$enable_resmgr; resmgr="$enableval" 21389 else 21390 resmgr="no" 21391 fi 21392 21393 { echo "$as_me:$LINENO: result: $resmgr" >&5 21394 echo "${ECHO_T}$resmgr" >&6; } 21395 if test "$resmgr" = "yes"; then 21396 21397 { echo "$as_me:$LINENO: checking for rsm_open_device in -lresmgr" >&5 21398 echo $ECHO_N "checking for rsm_open_device in -lresmgr... $ECHO_C" >&6; } 21399 if test "${ac_cv_lib_resmgr_rsm_open_device+set}" = set; then 21400 echo $ECHO_N "(cached) $ECHO_C" >&6 21401 else 21402 ac_check_lib_save_LIBS=$LIBS 21403 LIBS="-lresmgr $LIBS" 21404 cat >conftest.$ac_ext <<_ACEOF 21405 /* confdefs.h. */ 21406 _ACEOF 21407 cat confdefs.h >>conftest.$ac_ext 21408 cat >>conftest.$ac_ext <<_ACEOF 21409 /* end confdefs.h. */ 21410 21411 /* Override any GCC internal prototype to avoid an error. 21412 Use char because int might match the return type of a GCC 21413 builtin and then its argument prototype would still apply. */ 21414 #ifdef __cplusplus 21415 extern "C" 21416 #endif 21417 char rsm_open_device (); 21418 int 21419 main () 21420 { 21421 return rsm_open_device (); 21422 ; 21423 return 0; 21424 } 21425 _ACEOF 21426 rm -f conftest.$ac_objext conftest$ac_exeext 21427 if { (ac_try="$ac_link" 21428 case "(($ac_try" in 21429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21430 *) ac_try_echo=$ac_try;; 21431 esac 21432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21433 (eval "$ac_link") 2>conftest.er1 21434 ac_status=$? 21435 grep -v '^ *+' conftest.er1 >conftest.err 21436 rm -f conftest.er1 21437 cat conftest.err >&5 21438 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21439 (exit $ac_status); } && 21440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 21441 { (case "(($ac_try" in 21442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21443 *) ac_try_echo=$ac_try;; 21444 esac 21445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21446 (eval "$ac_try") 2>&5 21447 ac_status=$? 21448 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21449 (exit $ac_status); }; } && 21450 { ac_try='test -s conftest$ac_exeext' 21451 { (case "(($ac_try" in 21452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21453 *) ac_try_echo=$ac_try;; 21454 esac 21455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21456 (eval "$ac_try") 2>&5 21457 ac_status=$? 21458 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21459 (exit $ac_status); }; }; then 21460 ac_cv_lib_resmgr_rsm_open_device=yes 21461 else 21462 echo "$as_me: failed program was:" >&5 21463 sed 's/^/| /' conftest.$ac_ext >&5 21464 21465 ac_cv_lib_resmgr_rsm_open_device=no 21466 fi 21467 21468 rm -f core conftest.err conftest.$ac_objext \ 21469 conftest$ac_exeext conftest.$ac_ext 21470 LIBS=$ac_check_lib_save_LIBS 21471 fi 21472 { echo "$as_me:$LINENO: result: $ac_cv_lib_resmgr_rsm_open_device" >&5 21473 echo "${ECHO_T}$ac_cv_lib_resmgr_rsm_open_device" >&6; } 21474 if test $ac_cv_lib_resmgr_rsm_open_device = yes; then 21475 cat >>confdefs.h <<_ACEOF 21476 #define HAVE_LIBRESMGR 1 21477 _ACEOF 21478 21479 LIBS="-lresmgr $LIBS" 21480 21481 else 21482 { { echo "$as_me:$LINENO: error: Cannot find libresmgr" >&5 21483 echo "$as_me: error: Cannot find libresmgr" >&2;} 21484 { (exit 1); exit 1; }; } 21485 fi 21486 21487 21488 cat >>confdefs.h <<\_ACEOF 21489 #define SUPPORT_RESMGR "1" 21490 _ACEOF 21491 21492 fi 21493 21494 { echo "$as_me:$LINENO: checking for aload* support" >&5 21495 echo $ECHO_N "checking for aload* support... $ECHO_C" >&6; } 21496 # Check whether --enable-aload was given. 21497 if test "${enable_aload+set}" = set; then 21498 enableval=$enable_aload; aload="$enableval" 21499 else 21500 aload="yes" 21501 fi 21502 21503 { echo "$as_me:$LINENO: result: $aload" >&5 21504 echo "${ECHO_T}$aload" >&6; } 21505 if test "$aload" = "yes"; then 21506 21507 cat >>confdefs.h <<\_ACEOF 21508 #define SUPPORT_ALOAD "1" 21509 _ACEOF 21510 21511 fi 21512 21513 { echo "$as_me:$LINENO: checking for ALSA device file directory" >&5 21514 echo $ECHO_N "checking for ALSA device file directory... $ECHO_C" >&6; } 21515 21516 # Check whether --with-alsa-devdir was given. 21517 if test "${with_alsa_devdir+set}" = set; then 21518 withval=$with_alsa_devdir; alsa_dev_dir="$withval" 21519 else 21520 alsa_dev_dir="/dev/snd" 21521 fi 21522 21523 if echo "$alsa_dev_dir" | grep -v '/$' > /dev/null; then 21524 alsa_dev_dir="$alsa_dev_dir/" 21525 fi 21526 21527 cat >>confdefs.h <<_ACEOF 21528 #define ALSA_DEVICE_DIRECTORY "$alsa_dev_dir" 21529 _ACEOF 21530 21531 { echo "$as_me:$LINENO: result: $alsa_dev_dir" >&5 21532 echo "${ECHO_T}$alsa_dev_dir" >&6; } 21533 21534 { echo "$as_me:$LINENO: checking for aload* device file directory" >&5 21535 echo $ECHO_N "checking for aload* device file directory... $ECHO_C" >&6; } 21536 21537 # Check whether --with-aload-devdir was given. 21538 if test "${with_aload_devdir+set}" = set; then 21539 withval=$with_aload_devdir; aload_dev_dir="$withval" 21540 else 21541 aload_dev_dir="/dev" 21542 fi 21543 21544 if echo "$aload_dev_dir" | grep -v '/$' > /dev/null; then 21545 aload_dev_dir="$aload_dev_dir/" 21546 fi 21547 21548 cat >>confdefs.h <<_ACEOF 21549 #define ALOAD_DEVICE_DIRECTORY "$aload_dev_dir" 21550 _ACEOF 21551 21552 { echo "$as_me:$LINENO: result: $aload_dev_dir" >&5 21553 echo "${ECHO_T}$aload_dev_dir" >&6; } 21554 21555 # Check whether --enable-mixer was given. 21556 if test "${enable_mixer+set}" = set; then 21557 enableval=$enable_mixer; build_mixer="$enableval" 21558 else 21559 build_mixer="yes" 21560 fi 21561 21562 # Check whether --enable-pcm was given. 21563 if test "${enable_pcm+set}" = set; then 21564 enableval=$enable_pcm; build_pcm="$enableval" 21565 else 21566 build_pcm="yes" 21567 fi 21568 21569 # Check whether --enable-rawmidi was given. 21570 if test "${enable_rawmidi+set}" = set; then 21571 enableval=$enable_rawmidi; build_rawmidi="$enableval" 21572 else 21573 build_rawmidi="yes" 21574 fi 21575 21576 # Check whether --enable-hwdep was given. 21577 if test "${enable_hwdep+set}" = set; then 21578 enableval=$enable_hwdep; build_hwdep="$enableval" 21579 else 21580 build_hwdep="yes" 21581 fi 21582 21583 # Check whether --enable-seq was given. 21584 if test "${enable_seq+set}" = set; then 21585 enableval=$enable_seq; build_seq="$enableval" 21586 else 21587 build_seq="yes" 21588 fi 21589 21590 # Check whether --enable-alisp was given. 21591 if test "${enable_alisp+set}" = set; then 21592 enableval=$enable_alisp; build_alisp="$enableval" 21593 else 21594 build_alisp="yes" 21595 fi 21596 21597 # Check whether --enable-old-symbols was given. 21598 if test "${enable_old_symbols+set}" = set; then 21599 enableval=$enable_old_symbols; keep_old_symbols="$enableval" 21600 else 21601 keep_old_symbols="yes" 21602 fi 21603 21604 21605 21606 if test x$keep_old_symbols = xyes; then 21607 KEEP_OLD_SYMBOLS_TRUE= 21608 KEEP_OLD_SYMBOLS_FALSE='#' 21609 else 21610 KEEP_OLD_SYMBOLS_TRUE='#' 21611 KEEP_OLD_SYMBOLS_FALSE= 21612 fi 21613 21614 21615 # Check whether --enable-python was given. 21616 if test "${enable_python+set}" = set; then 21617 enableval=$enable_python; build_python="$enableval" 21618 else 21619 build_python="yes" 21620 fi 21621 21622 PYTHON_LIBS="" 21623 PYTHON_INCLUDES="" 21624 if test "$build_python" = "yes"; then 21625 21626 # Check whether --with-pythonlibs was given. 21627 if test "${with_pythonlibs+set}" = set; then 21628 withval=$with_pythonlibs; pythonlibs="$withval" 21629 else 21630 pythonlibs=`python-config --libs` 21631 fi 21632 21633 21634 # Check whether --with-pythonincludes was given. 21635 if test "${with_pythonincludes+set}" = set; then 21636 withval=$with_pythonincludes; pythonincludes="$withval" 21637 else 21638 pythonincludes=`python-config --includes` 21639 fi 21640 21641 if test -z "$pythonlibs"; then 21642 echo "Unable to determine python libraries! Probably python-config is not" 21643 echo "available on this system. Please, use --with-pythonlibs and" 21644 echo "--with-pythonincludes options. Python components are disabled in this build." 21645 build_python="no" 21646 else 21647 PYTHON_LIBS="$pythonlibs" 21648 PYTHON_INCLUDES="$pythonincludes" 21649 fi 21650 fi 21651 21652 21653 21654 21655 21656 if test x$build_mixer = xyes; then 21657 BUILD_MIXER_TRUE= 21658 BUILD_MIXER_FALSE='#' 21659 else 21660 BUILD_MIXER_TRUE='#' 21661 BUILD_MIXER_FALSE= 21662 fi 21663 21664 21665 21666 if test x$build_pcm = xyes; then 21667 BUILD_PCM_TRUE= 21668 BUILD_PCM_FALSE='#' 21669 else 21670 BUILD_PCM_TRUE='#' 21671 BUILD_PCM_FALSE= 21672 fi 21673 21674 21675 21676 if test x$build_rawmidi = xyes; then 21677 BUILD_RAWMIDI_TRUE= 21678 BUILD_RAWMIDI_FALSE='#' 21679 else 21680 BUILD_RAWMIDI_TRUE='#' 21681 BUILD_RAWMIDI_FALSE= 21682 fi 21683 21684 21685 21686 if test x$build_hwdep = xyes; then 21687 BUILD_HWDEP_TRUE= 21688 BUILD_HWDEP_FALSE='#' 21689 else 21690 BUILD_HWDEP_TRUE='#' 21691 BUILD_HWDEP_FALSE= 21692 fi 21693 21694 21695 21696 if test x$build_seq = xyes; then 21697 BUILD_SEQ_TRUE= 21698 BUILD_SEQ_FALSE='#' 21699 else 21700 BUILD_SEQ_TRUE='#' 21701 BUILD_SEQ_FALSE= 21702 fi 21703 21704 21705 21706 if test x$build_alisp = xyes; then 21707 BUILD_ALISP_TRUE= 21708 BUILD_ALISP_FALSE='#' 21709 else 21710 BUILD_ALISP_TRUE='#' 21711 BUILD_ALISP_FALSE= 21712 fi 21713 21714 21715 21716 if test x$build_python = xyes; then 21717 BUILD_PYTHON_TRUE= 21718 BUILD_PYTHON_FALSE='#' 21719 else 21720 BUILD_PYTHON_TRUE='#' 21721 BUILD_PYTHON_FALSE= 21722 fi 21723 21724 21725 if test "$build_mixer" = "yes"; then 21726 21727 cat >>confdefs.h <<\_ACEOF 21728 #define BUILD_MIXER "1" 21729 _ACEOF 21730 21731 fi 21732 if test "$build_pcm" = "yes"; then 21733 21734 cat >>confdefs.h <<\_ACEOF 21735 #define BUILD_PCM "1" 21736 _ACEOF 21737 21738 fi 21739 if test "$build_rawmidi" = "yes"; then 21740 21741 cat >>confdefs.h <<\_ACEOF 21742 #define BUILD_RAWMIDI "1" 21743 _ACEOF 21744 21745 fi 21746 if test "$build_hwdep" = "yes"; then 21747 21748 cat >>confdefs.h <<\_ACEOF 21749 #define BUILD_HWDEP "1" 21750 _ACEOF 21751 21752 fi 21753 if test "$build_seq" = "yes"; then 21754 21755 cat >>confdefs.h <<\_ACEOF 21756 #define BUILD_SEQ "1" 21757 _ACEOF 21758 21759 fi 21760 21761 21762 if test "$build_pcm" = "yes"; then 21763 21764 # Check whether --with-pcm-plugins was given. 21765 if test "${with_pcm_plugins+set}" = set; then 21766 withval=$with_pcm_plugins; pcm_plugins="$withval" 21767 else 21768 pcm_plugins="all" 21769 fi 21770 21771 else 21772 pcm_plugins="" 21773 fi 21774 21775 PCM_PLUGIN_LIST="copy linear route mulaw alaw adpcm rate plug multi shm file null empty share meter hooks lfloat ladspa dmix dshare dsnoop asym iec958 softvol extplug ioplug mmap_emul" 21776 21777 build_pcm_plugin="no" 21778 for t in $PCM_PLUGIN_LIST; do 21779 eval build_pcm_$t="no" 21780 done 21781 21782 pcm_plugins=`echo $pcm_plugins | sed 's/,/ /g'` 21783 for p in $pcm_plugins; do 21784 for t in $PCM_PLUGIN_LIST; do 21785 if test "$p" = "$t" -o "$p" = "all"; then 21786 eval build_pcm_$t="yes" 21787 build_pcm_plugin="yes" 21788 fi 21789 done 21790 done 21791 21792 if test "$build_pcm_plug" = "yes"; then 21793 build_pcm_linear="yes" 21794 build_pcm_copy="yes" 21795 fi 21796 21797 if test "$build_pcm_ioplug" = "yes"; then 21798 build_pcm_extplug="yes" 21799 fi 21800 21801 if test "$HAVE_LIBDL" != "yes"; then 21802 build_pcm_meter="no" 21803 build_pcm_ladspa="no" 21804 build_pcm_pcm_ioplug="no" 21805 build_pcm_pcm_extplug="no" 21806 fi 21807 21808 if test "$HAVE_LIBPTHREAD" != "yes"; then 21809 build_pcm_share="no" 21810 fi 21811 21812 if test "$softfloat" = "yes"; then 21813 build_pcm_lfloat="no" 21814 fi 21815 21816 21817 21818 if test x$build_pcm_plugin = xyes; then 21819 BUILD_PCM_PLUGIN_TRUE= 21820 BUILD_PCM_PLUGIN_FALSE='#' 21821 else 21822 BUILD_PCM_PLUGIN_TRUE='#' 21823 BUILD_PCM_PLUGIN_FALSE= 21824 fi 21825 21826 21827 21828 if test x$build_pcm_copy = xyes; then 21829 BUILD_PCM_PLUGIN_COPY_TRUE= 21830 BUILD_PCM_PLUGIN_COPY_FALSE='#' 21831 else 21832 BUILD_PCM_PLUGIN_COPY_TRUE='#' 21833 BUILD_PCM_PLUGIN_COPY_FALSE= 21834 fi 21835 21836 21837 21838 if test x$build_pcm_linear = xyes; then 21839 BUILD_PCM_PLUGIN_LINEAR_TRUE= 21840 BUILD_PCM_PLUGIN_LINEAR_FALSE='#' 21841 else 21842 BUILD_PCM_PLUGIN_LINEAR_TRUE='#' 21843 BUILD_PCM_PLUGIN_LINEAR_FALSE= 21844 fi 21845 21846 21847 21848 if test x$build_pcm_route = xyes; then 21849 BUILD_PCM_PLUGIN_ROUTE_TRUE= 21850 BUILD_PCM_PLUGIN_ROUTE_FALSE='#' 21851 else 21852 BUILD_PCM_PLUGIN_ROUTE_TRUE='#' 21853 BUILD_PCM_PLUGIN_ROUTE_FALSE= 21854 fi 21855 21856 21857 21858 if test x$build_pcm_mulaw = xyes; then 21859 BUILD_PCM_PLUGIN_MULAW_TRUE= 21860 BUILD_PCM_PLUGIN_MULAW_FALSE='#' 21861 else 21862 BUILD_PCM_PLUGIN_MULAW_TRUE='#' 21863 BUILD_PCM_PLUGIN_MULAW_FALSE= 21864 fi 21865 21866 21867 21868 if test x$build_pcm_alaw = xyes; then 21869 BUILD_PCM_PLUGIN_ALAW_TRUE= 21870 BUILD_PCM_PLUGIN_ALAW_FALSE='#' 21871 else 21872 BUILD_PCM_PLUGIN_ALAW_TRUE='#' 21873 BUILD_PCM_PLUGIN_ALAW_FALSE= 21874 fi 21875 21876 21877 21878 if test x$build_pcm_adpcm = xyes; then 21879 BUILD_PCM_PLUGIN_ADPCM_TRUE= 21880 BUILD_PCM_PLUGIN_ADPCM_FALSE='#' 21881 else 21882 BUILD_PCM_PLUGIN_ADPCM_TRUE='#' 21883 BUILD_PCM_PLUGIN_ADPCM_FALSE= 21884 fi 21885 21886 21887 21888 if test x$build_pcm_rate = xyes; then 21889 BUILD_PCM_PLUGIN_RATE_TRUE= 21890 BUILD_PCM_PLUGIN_RATE_FALSE='#' 21891 else 21892 BUILD_PCM_PLUGIN_RATE_TRUE='#' 21893 BUILD_PCM_PLUGIN_RATE_FALSE= 21894 fi 21895 21896 21897 21898 if test x$build_pcm_plug = xyes; then 21899 BUILD_PCM_PLUGIN_PLUG_TRUE= 21900 BUILD_PCM_PLUGIN_PLUG_FALSE='#' 21901 else 21902 BUILD_PCM_PLUGIN_PLUG_TRUE='#' 21903 BUILD_PCM_PLUGIN_PLUG_FALSE= 21904 fi 21905 21906 21907 21908 if test x$build_pcm_multi = xyes; then 21909 BUILD_PCM_PLUGIN_MULTI_TRUE= 21910 BUILD_PCM_PLUGIN_MULTI_FALSE='#' 21911 else 21912 BUILD_PCM_PLUGIN_MULTI_TRUE='#' 21913 BUILD_PCM_PLUGIN_MULTI_FALSE= 21914 fi 21915 21916 21917 21918 if test x$build_pcm_shm = xyes; then 21919 BUILD_PCM_PLUGIN_SHM_TRUE= 21920 BUILD_PCM_PLUGIN_SHM_FALSE='#' 21921 else 21922 BUILD_PCM_PLUGIN_SHM_TRUE='#' 21923 BUILD_PCM_PLUGIN_SHM_FALSE= 21924 fi 21925 21926 21927 21928 if test x$build_pcm_file = xyes; then 21929 BUILD_PCM_PLUGIN_FILE_TRUE= 21930 BUILD_PCM_PLUGIN_FILE_FALSE='#' 21931 else 21932 BUILD_PCM_PLUGIN_FILE_TRUE='#' 21933 BUILD_PCM_PLUGIN_FILE_FALSE= 21934 fi 21935 21936 21937 21938 if test x$build_pcm_null = xyes; then 21939 BUILD_PCM_PLUGIN_NULL_TRUE= 21940 BUILD_PCM_PLUGIN_NULL_FALSE='#' 21941 else 21942 BUILD_PCM_PLUGIN_NULL_TRUE='#' 21943 BUILD_PCM_PLUGIN_NULL_FALSE= 21944 fi 21945 21946 21947 21948 if test x$build_pcm_empty = xyes; then 21949 BUILD_PCM_PLUGIN_EMPTY_TRUE= 21950 BUILD_PCM_PLUGIN_EMPTY_FALSE='#' 21951 else 21952 BUILD_PCM_PLUGIN_EMPTY_TRUE='#' 21953 BUILD_PCM_PLUGIN_EMPTY_FALSE= 21954 fi 21955 21956 21957 21958 if test x$build_pcm_share = xyes; then 21959 BUILD_PCM_PLUGIN_SHARE_TRUE= 21960 BUILD_PCM_PLUGIN_SHARE_FALSE='#' 21961 else 21962 BUILD_PCM_PLUGIN_SHARE_TRUE='#' 21963 BUILD_PCM_PLUGIN_SHARE_FALSE= 21964 fi 21965 21966 21967 21968 if test x$build_pcm_meter = xyes; then 21969 BUILD_PCM_PLUGIN_METER_TRUE= 21970 BUILD_PCM_PLUGIN_METER_FALSE='#' 21971 else 21972 BUILD_PCM_PLUGIN_METER_TRUE='#' 21973 BUILD_PCM_PLUGIN_METER_FALSE= 21974 fi 21975 21976 21977 21978 if test x$build_pcm_hooks = xyes; then 21979 BUILD_PCM_PLUGIN_HOOKS_TRUE= 21980 BUILD_PCM_PLUGIN_HOOKS_FALSE='#' 21981 else 21982 BUILD_PCM_PLUGIN_HOOKS_TRUE='#' 21983 BUILD_PCM_PLUGIN_HOOKS_FALSE= 21984 fi 21985 21986 21987 21988 if test x$build_pcm_lfloat = xyes; then 21989 BUILD_PCM_PLUGIN_LFLOAT_TRUE= 21990 BUILD_PCM_PLUGIN_LFLOAT_FALSE='#' 21991 else 21992 BUILD_PCM_PLUGIN_LFLOAT_TRUE='#' 21993 BUILD_PCM_PLUGIN_LFLOAT_FALSE= 21994 fi 21995 21996 21997 21998 if test x$build_pcm_ladspa = xyes; then 21999 BUILD_PCM_PLUGIN_LADSPA_TRUE= 22000 BUILD_PCM_PLUGIN_LADSPA_FALSE='#' 22001 else 22002 BUILD_PCM_PLUGIN_LADSPA_TRUE='#' 22003 BUILD_PCM_PLUGIN_LADSPA_FALSE= 22004 fi 22005 22006 22007 22008 if test x$build_pcm_dmix = xyes; then 22009 BUILD_PCM_PLUGIN_DMIX_TRUE= 22010 BUILD_PCM_PLUGIN_DMIX_FALSE='#' 22011 else 22012 BUILD_PCM_PLUGIN_DMIX_TRUE='#' 22013 BUILD_PCM_PLUGIN_DMIX_FALSE= 22014 fi 22015 22016 22017 22018 if test x$build_pcm_dshare = xyes; then 22019 BUILD_PCM_PLUGIN_DSHARE_TRUE= 22020 BUILD_PCM_PLUGIN_DSHARE_FALSE='#' 22021 else 22022 BUILD_PCM_PLUGIN_DSHARE_TRUE='#' 22023 BUILD_PCM_PLUGIN_DSHARE_FALSE= 22024 fi 22025 22026 22027 22028 if test x$build_pcm_dsnoop = xyes; then 22029 BUILD_PCM_PLUGIN_DSNOOP_TRUE= 22030 BUILD_PCM_PLUGIN_DSNOOP_FALSE='#' 22031 else 22032 BUILD_PCM_PLUGIN_DSNOOP_TRUE='#' 22033 BUILD_PCM_PLUGIN_DSNOOP_FALSE= 22034 fi 22035 22036 22037 22038 if test x$build_pcm_asym = xyes; then 22039 BUILD_PCM_PLUGIN_ASYM_TRUE= 22040 BUILD_PCM_PLUGIN_ASYM_FALSE='#' 22041 else 22042 BUILD_PCM_PLUGIN_ASYM_TRUE='#' 22043 BUILD_PCM_PLUGIN_ASYM_FALSE= 22044 fi 22045 22046 22047 22048 if test x$build_pcm_iec958 = xyes; then 22049 BUILD_PCM_PLUGIN_IEC958_TRUE= 22050 BUILD_PCM_PLUGIN_IEC958_FALSE='#' 22051 else 22052 BUILD_PCM_PLUGIN_IEC958_TRUE='#' 22053 BUILD_PCM_PLUGIN_IEC958_FALSE= 22054 fi 22055 22056 22057 22058 if test x$build_pcm_softvol = xyes; then 22059 BUILD_PCM_PLUGIN_SOFTVOL_TRUE= 22060 BUILD_PCM_PLUGIN_SOFTVOL_FALSE='#' 22061 else 22062 BUILD_PCM_PLUGIN_SOFTVOL_TRUE='#' 22063 BUILD_PCM_PLUGIN_SOFTVOL_FALSE= 22064 fi 22065 22066 22067 22068 if test x$build_pcm_extplug = xyes; then 22069 BUILD_PCM_PLUGIN_EXTPLUG_TRUE= 22070 BUILD_PCM_PLUGIN_EXTPLUG_FALSE='#' 22071 else 22072 BUILD_PCM_PLUGIN_EXTPLUG_TRUE='#' 22073 BUILD_PCM_PLUGIN_EXTPLUG_FALSE= 22074 fi 22075 22076 22077 22078 if test x$build_pcm_ioplug = xyes; then 22079 BUILD_PCM_PLUGIN_IOPLUG_TRUE= 22080 BUILD_PCM_PLUGIN_IOPLUG_FALSE='#' 22081 else 22082 BUILD_PCM_PLUGIN_IOPLUG_TRUE='#' 22083 BUILD_PCM_PLUGIN_IOPLUG_FALSE= 22084 fi 22085 22086 22087 22088 if test x$build_pcm_mmap_emul = xyes; then 22089 BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE= 22090 BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE='#' 22091 else 22092 BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE='#' 22093 BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE= 22094 fi 22095 22096 22097 if test "$build_pcm_rate" = "yes"; then 22098 22099 cat >>confdefs.h <<\_ACEOF 22100 #define BUILD_PCM_PLUGIN_RATE "1" 22101 _ACEOF 22102 22103 fi 22104 if test "$build_pcm_route" = "yes"; then 22105 22106 cat >>confdefs.h <<\_ACEOF 22107 #define BUILD_PCM_PLUGIN_ROUTE "1" 22108 _ACEOF 22109 22110 fi 22111 if test "$build_pcm_lfloat" = "yes"; then 22112 22113 cat >>confdefs.h <<\_ACEOF 22114 #define BUILD_PCM_PLUGIN_LFLOAT "1" 22115 _ACEOF 22116 22117 fi 22118 if test "$build_pcm_adpcm" = "yes"; then 22119 22120 cat >>confdefs.h <<\_ACEOF 22121 #define BUILD_PCM_PLUGIN_ADPCM "1" 22122 _ACEOF 22123 22124 fi 22125 if test "$build_pcm_mulaw" = "yes"; then 22126 22127 cat >>confdefs.h <<\_ACEOF 22128 #define BUILD_PCM_PLUGIN_MULAW "1" 22129 _ACEOF 22130 22131 fi 22132 if test "$build_pcm_alaw" = "yes"; then 22133 22134 cat >>confdefs.h <<\_ACEOF 22135 #define BUILD_PCM_PLUGIN_ALAW "1" 22136 _ACEOF 22137 22138 fi 22139 if test "$build_pcm_mmap_emul" = "yes"; then 22140 22141 cat >>confdefs.h <<\_ACEOF 22142 #define BUILD_PCM_PLUGIN_MMAP_EMUL "1" 22143 _ACEOF 22144 22145 fi 22146 22147 22148 rm -f "$srcdir"/src/pcm/pcm_symbols_list.c 22149 touch "$srcdir"/src/pcm/pcm_symbols_list.c 22150 for t in $PCM_PLUGIN_LIST; do 22151 if eval test \$build_pcm_$t = yes; then 22152 echo \&_snd_module_pcm_$t, >> "$srcdir"/src/pcm/pcm_symbols_list.c 22153 fi 22154 done 22155 22156 22157 22158 # Check whether --with-ctl-plugins was given. 22159 if test "${with_ctl_plugins+set}" = set; then 22160 withval=$with_ctl_plugins; ctl_plugins="$withval" 22161 else 22162 ctl_plugins="all" 22163 fi 22164 22165 22166 CTL_PLUGIN_LIST="shm ext" 22167 22168 build_ctl_plugin="no" 22169 for t in $CTL_PLUGIN_LIST; do 22170 eval build_ctl_$t="no" 22171 done 22172 22173 ctl_plugins=`echo $ctl_plugins | sed 's/,/ /g'` 22174 for p in $ctl_plugins; do 22175 for t in $CTL_PLUGIN_LIST; do 22176 if test "$p" = "$t" -o "$p" = "all"; then 22177 eval build_ctl_$t="yes" 22178 build_ctl_plugin="yes" 22179 fi 22180 done 22181 done 22182 22183 22184 22185 if test x$build_ctl_plugin = xyes; then 22186 BUILD_CTL_PLUGIN_TRUE= 22187 BUILD_CTL_PLUGIN_FALSE='#' 22188 else 22189 BUILD_CTL_PLUGIN_TRUE='#' 22190 BUILD_CTL_PLUGIN_FALSE= 22191 fi 22192 22193 22194 22195 if test x$build_ctl_shm = xyes; then 22196 BUILD_CTL_PLUGIN_SHM_TRUE= 22197 BUILD_CTL_PLUGIN_SHM_FALSE='#' 22198 else 22199 BUILD_CTL_PLUGIN_SHM_TRUE='#' 22200 BUILD_CTL_PLUGIN_SHM_FALSE= 22201 fi 22202 22203 22204 22205 if test x$build_ctl_ext = xyes; then 22206 BUILD_CTL_PLUGIN_EXT_TRUE= 22207 BUILD_CTL_PLUGIN_EXT_FALSE='#' 22208 else 22209 BUILD_CTL_PLUGIN_EXT_TRUE='#' 22210 BUILD_CTL_PLUGIN_EXT_FALSE= 22211 fi 22212 22213 22214 rm -f "$srcdir"/src/control/ctl_symbols_list.c 22215 touch "$srcdir"/src/control/ctl_symbols_list.c 22216 for t in $CTL_PLUGIN_LIST; do 22217 if eval test \$build_ctl_$t = yes; then 22218 echo \&_snd_module_control_$t, >> "$srcdir"/src/control/ctl_symbols_list.c 22219 fi 22220 done 22221 22222 if test ! -L "$srcdir"/include/alsa ; then 22223 echo "Making a symlink include/alsa" 22224 rm -f "$srcdir"/include/alsa 22225 ln -sf . "$srcdir"/include/alsa 22226 fi 22227 22228 ac_config_files="$ac_config_files Makefile doc/Makefile doc/pictures/Makefile doc/doxygen.cfg include/Makefile include/sound/Makefile src/Versions src/Makefile src/control/Makefile src/mixer/Makefile src/pcm/Makefile src/pcm/scopes/Makefile src/rawmidi/Makefile src/timer/Makefile src/hwdep/Makefile src/seq/Makefile src/compat/Makefile src/alisp/Makefile src/conf/Makefile src/conf/cards/Makefile src/conf/pcm/Makefile modules/Makefile modules/mixer/Makefile modules/mixer/simple/Makefile alsalisp/Makefile aserver/Makefile test/Makefile utils/Makefile utils/alsa-lib.spec utils/alsa.pc" 22229 22230 cat >confcache <<\_ACEOF 22231 # This file is a shell script that caches the results of configure 22232 # tests run on this system so they can be shared between configure 22233 # scripts and configure runs, see configure's option --config-cache. 22234 # It is not useful on other systems. If it contains results you don't 22235 # want to keep, you may remove or edit it. 22236 # 22237 # config.status only pays attention to the cache file if you give it 22238 # the --recheck option to rerun configure. 22239 # 22240 # `ac_cv_env_foo' variables (set or unset) will be overridden when 22241 # loading this file, other *unset* `ac_cv_foo' will be assigned the 22242 # following values. 22243 22244 _ACEOF 22245 22246 # The following way of writing the cache mishandles newlines in values, 22247 # but we know of no workaround that is simple, portable, and efficient. 22248 # So, we kill variables containing newlines. 22249 # Ultrix sh set writes to stderr and can't be redirected directly, 22250 # and sets the high bit in the cache file unless we assign to the vars. 22251 ( 22252 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 22253 eval ac_val=\$$ac_var 22254 case $ac_val in #( 22255 *${as_nl}*) 22256 case $ac_var in #( 22257 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 22258 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 22259 esac 22260 case $ac_var in #( 22261 _ | IFS | as_nl) ;; #( 22262 *) $as_unset $ac_var ;; 22263 esac ;; 22264 esac 22265 done 22266 22267 (set) 2>&1 | 22268 case $as_nl`(ac_space=' '; set) 2>&1` in #( 22269 *${as_nl}ac_space=\ *) 22270 # `set' does not quote correctly, so add quotes (double-quote 22271 # substitution turns \\\\ into \\, and sed turns \\ into \). 22272 sed -n \ 22273 "s/'/'\\\\''/g; 22274 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 22275 ;; #( 22276 *) 22277 # `set' quotes correctly as required by POSIX, so do not add quotes. 22278 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 22279 ;; 22280 esac | 22281 sort 22282 ) | 22283 sed ' 22284 /^ac_cv_env_/b end 22285 t clear 22286 :clear 22287 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 22288 t end 22289 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 22290 :end' >>confcache 22291 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 22292 if test -w "$cache_file"; then 22293 test "x$cache_file" != "x/dev/null" && 22294 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 22295 echo "$as_me: updating cache $cache_file" >&6;} 22296 cat confcache >$cache_file 22297 else 22298 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 22299 echo "$as_me: not updating unwritable cache $cache_file" >&6;} 22300 fi 22301 fi 22302 rm -f confcache 22303 22304 test "x$prefix" = xNONE && prefix=$ac_default_prefix 22305 # Let make expand exec_prefix. 22306 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 22307 22308 DEFS=-DHAVE_CONFIG_H 22309 22310 ac_libobjs= 22311 ac_ltlibobjs= 22312 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 22313 # 1. Remove the extension, and $U if already installed. 22314 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 22315 ac_i=`echo "$ac_i" | sed "$ac_script"` 22316 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 22317 # will be set to the directory where LIBOBJS objects are built. 22318 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 22319 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 22320 done 22321 LIBOBJS=$ac_libobjs 22322 22323 LTLIBOBJS=$ac_ltlibobjs 22324 22325 22326 if test -z "${INSTALL_M4_TRUE}" && test -z "${INSTALL_M4_FALSE}"; then 22327 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_M4\" was never defined. 22328 Usually this means the macro was only invoked conditionally." >&5 22329 echo "$as_me: error: conditional \"INSTALL_M4\" was never defined. 22330 Usually this means the macro was only invoked conditionally." >&2;} 22331 { (exit 1); exit 1; }; } 22332 fi 22333 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 22334 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 22335 Usually this means the macro was only invoked conditionally." >&5 22336 echo "$as_me: error: conditional \"AMDEP\" was never defined. 22337 Usually this means the macro was only invoked conditionally." >&2;} 22338 { (exit 1); exit 1; }; } 22339 fi 22340 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 22341 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 22342 Usually this means the macro was only invoked conditionally." >&5 22343 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 22344 Usually this means the macro was only invoked conditionally." >&2;} 22345 { (exit 1); exit 1; }; } 22346 fi 22347 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 22348 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. 22349 Usually this means the macro was only invoked conditionally." >&5 22350 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. 22351 Usually this means the macro was only invoked conditionally." >&2;} 22352 { (exit 1); exit 1; }; } 22353 fi 22354 if test -z "${ALSA_HSEARCH_R_TRUE}" && test -z "${ALSA_HSEARCH_R_FALSE}"; then 22355 { { echo "$as_me:$LINENO: error: conditional \"ALSA_HSEARCH_R\" was never defined. 22356 Usually this means the macro was only invoked conditionally." >&5 22357 echo "$as_me: error: conditional \"ALSA_HSEARCH_R\" was never defined. 22358 Usually this means the macro was only invoked conditionally." >&2;} 22359 { (exit 1); exit 1; }; } 22360 fi 22361 if test -z "${VERSIONED_SYMBOLS_TRUE}" && test -z "${VERSIONED_SYMBOLS_FALSE}"; then 22362 { { echo "$as_me:$LINENO: error: conditional \"VERSIONED_SYMBOLS\" was never defined. 22363 Usually this means the macro was only invoked conditionally." >&5 22364 echo "$as_me: error: conditional \"VERSIONED_SYMBOLS\" was never defined. 22365 Usually this means the macro was only invoked conditionally." >&2;} 22366 { (exit 1); exit 1; }; } 22367 fi 22368 if test -z "${SYMBOLIC_FUNCTIONS_TRUE}" && test -z "${SYMBOLIC_FUNCTIONS_FALSE}"; then 22369 { { echo "$as_me:$LINENO: error: conditional \"SYMBOLIC_FUNCTIONS\" was never defined. 22370 Usually this means the macro was only invoked conditionally." >&5 22371 echo "$as_me: error: conditional \"SYMBOLIC_FUNCTIONS\" was never defined. 22372 Usually this means the macro was only invoked conditionally." >&2;} 22373 { (exit 1); exit 1; }; } 22374 fi 22375 if test -z "${BUILD_MODULES_TRUE}" && test -z "${BUILD_MODULES_FALSE}"; then 22376 { { echo "$as_me:$LINENO: error: conditional \"BUILD_MODULES\" was never defined. 22377 Usually this means the macro was only invoked conditionally." >&5 22378 echo "$as_me: error: conditional \"BUILD_MODULES\" was never defined. 22379 Usually this means the macro was only invoked conditionally." >&2;} 22380 { (exit 1); exit 1; }; } 22381 fi 22382 if test -z "${KEEP_OLD_SYMBOLS_TRUE}" && test -z "${KEEP_OLD_SYMBOLS_FALSE}"; then 22383 { { echo "$as_me:$LINENO: error: conditional \"KEEP_OLD_SYMBOLS\" was never defined. 22384 Usually this means the macro was only invoked conditionally." >&5 22385 echo "$as_me: error: conditional \"KEEP_OLD_SYMBOLS\" was never defined. 22386 Usually this means the macro was only invoked conditionally." >&2;} 22387 { (exit 1); exit 1; }; } 22388 fi 22389 if test -z "${BUILD_MIXER_TRUE}" && test -z "${BUILD_MIXER_FALSE}"; then 22390 { { echo "$as_me:$LINENO: error: conditional \"BUILD_MIXER\" was never defined. 22391 Usually this means the macro was only invoked conditionally." >&5 22392 echo "$as_me: error: conditional \"BUILD_MIXER\" was never defined. 22393 Usually this means the macro was only invoked conditionally." >&2;} 22394 { (exit 1); exit 1; }; } 22395 fi 22396 if test -z "${BUILD_PCM_TRUE}" && test -z "${BUILD_PCM_FALSE}"; then 22397 { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM\" was never defined. 22398 Usually this means the macro was only invoked conditionally." >&5 22399 echo "$as_me: error: conditional \"BUILD_PCM\" was never defined. 22400 Usually this means the macro was only invoked conditionally." >&2;} 22401 { (exit 1); exit 1; }; } 22402 fi 22403 if test -z "${BUILD_RAWMIDI_TRUE}" && test -z "${BUILD_RAWMIDI_FALSE}"; then 22404 { { echo "$as_me:$LINENO: error: conditional \"BUILD_RAWMIDI\" was never defined. 22405 Usually this means the macro was only invoked conditionally." >&5 22406 echo "$as_me: error: conditional \"BUILD_RAWMIDI\" was never defined. 22407 Usually this means the macro was only invoked conditionally." >&2;} 22408 { (exit 1); exit 1; }; } 22409 fi 22410 if test -z "${BUILD_HWDEP_TRUE}" && test -z "${BUILD_HWDEP_FALSE}"; then 22411 { { echo "$as_me:$LINENO: error: conditional \"BUILD_HWDEP\" was never defined. 22412 Usually this means the macro was only invoked conditionally." >&5 22413 echo "$as_me: error: conditional \"BUILD_HWDEP\" was never defined. 22414 Usually this means the macro was only invoked conditionally." >&2;} 22415 { (exit 1); exit 1; }; } 22416 fi 22417 if test -z "${BUILD_SEQ_TRUE}" && test -z "${BUILD_SEQ_FALSE}"; then 22418 { { echo "$as_me:$LINENO: error: conditional \"BUILD_SEQ\" was never defined. 22419 Usually this means the macro was only invoked conditionally." >&5 22420 echo "$as_me: error: conditional \"BUILD_SEQ\" was never defined. 22421 Usually this means the macro was only invoked conditionally." >&2;} 22422 { (exit 1); exit 1; }; } 22423 fi 22424 if test -z "${BUILD_ALISP_TRUE}" && test -z "${BUILD_ALISP_FALSE}"; then 22425 { { echo "$as_me:$LINENO: error: conditional \"BUILD_ALISP\" was never defined. 22426 Usually this means the macro was only invoked conditionally." >&5 22427 echo "$as_me: error: conditional \"BUILD_ALISP\" was never defined. 22428 Usually this means the macro was only invoked conditionally." >&2;} 22429 { (exit 1); exit 1; }; } 22430 fi 22431 if test -z "${BUILD_PYTHON_TRUE}" && test -z "${BUILD_PYTHON_FALSE}"; then 22432 { { echo "$as_me:$LINENO: error: conditional \"BUILD_PYTHON\" was never defined. 22433 Usually this means the macro was only invoked conditionally." >&5 22434 echo "$as_me: error: conditional \"BUILD_PYTHON\" was never defined. 22435 Usually this means the macro was only invoked conditionally." >&2;} 22436 { (exit 1); exit 1; }; } 22437 fi 22438 if test -z "${BUILD_PCM_PLUGIN_TRUE}" && test -z "${BUILD_PCM_PLUGIN_FALSE}"; then 22439 { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN\" was never defined. 22440 Usually this means the macro was only invoked conditionally." >&5 22441 echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN\" was never defined. 22442 Usually this means the macro was only invoked conditionally." >&2;} 22443 { (exit 1); exit 1; }; } 22444 fi 22445 if test -z "${BUILD_PCM_PLUGIN_COPY_TRUE}" && test -z "${BUILD_PCM_PLUGIN_COPY_FALSE}"; then 22446 { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_COPY\" was never defined. 22447 Usually this means the macro was only invoked conditionally." >&5 22448 echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_COPY\" was never defined. 22449 Usually this means the macro was only invoked conditionally." >&2;} 22450 { (exit 1); exit 1; }; } 22451 fi 22452 if test -z "${BUILD_PCM_PLUGIN_LINEAR_TRUE}" && test -z "${BUILD_PCM_PLUGIN_LINEAR_FALSE}"; then 22453 { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_LINEAR\" was never defined. 22454 Usually this means the macro was only invoked conditionally." >&5 22455 echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_LINEAR\" was never defined. 22456 Usually this means the macro was only invoked conditionally." >&2;} 22457 { (exit 1); exit 1; }; } 22458 fi 22459 if test -z "${BUILD_PCM_PLUGIN_ROUTE_TRUE}" && test -z "${BUILD_PCM_PLUGIN_ROUTE_FALSE}"; then 22460 { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_ROUTE\" was never defined. 22461 Usually this means the macro was only invoked conditionally." >&5 22462 echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_ROUTE\" was never defined. 22463 Usually this means the macro was only invoked conditionally." >&2;} 22464 { (exit 1); exit 1; }; } 22465 fi 22466 if test -z "${BUILD_PCM_PLUGIN_MULAW_TRUE}" && test -z "${BUILD_PCM_PLUGIN_MULAW_FALSE}"; then 22467 { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_MULAW\" was never defined. 22468 Usually this means the macro was only invoked conditionally." >&5 22469 echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_MULAW\" was never defined. 22470 Usually this means the macro was only invoked conditionally." >&2;} 22471 { (exit 1); exit 1; }; } 22472 fi 22473 if test -z "${BUILD_PCM_PLUGIN_ALAW_TRUE}" && test -z "${BUILD_PCM_PLUGIN_ALAW_FALSE}"; then 22474 { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_ALAW\" was never defined. 22475 Usually this means the macro was only invoked conditionally." >&5 22476 echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_ALAW\" was never defined. 22477 Usually this means the macro was only invoked conditionally." >&2;} 22478 { (exit 1); exit 1; }; } 22479 fi 22480 if test -z "${BUILD_PCM_PLUGIN_ADPCM_TRUE}" && test -z "${BUILD_PCM_PLUGIN_ADPCM_FALSE}"; then 22481 { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_ADPCM\" was never defined. 22482 Usually this means the macro was only invoked conditionally." >&5 22483 echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_ADPCM\" was never defined. 22484 Usually this means the macro was only invoked conditionally." >&2;} 22485 { (exit 1); exit 1; }; } 22486 fi 22487 if test -z "${BUILD_PCM_PLUGIN_RATE_TRUE}" && test -z "${BUILD_PCM_PLUGIN_RATE_FALSE}"; then 22488 { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_RATE\" was never defined. 22489 Usually this means the macro was only invoked conditionally." >&5 22490 echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_RATE\" was never defined. 22491 Usually this means the macro was only invoked conditionally." >&2;} 22492 { (exit 1); exit 1; }; } 22493 fi 22494 if test -z "${BUILD_PCM_PLUGIN_PLUG_TRUE}" && test -z "${BUILD_PCM_PLUGIN_PLUG_FALSE}"; then 22495 { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_PLUG\" was never defined. 22496 Usually this means the macro was only invoked conditionally." >&5 22497 echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_PLUG\" was never defined. 22498 Usually this means the macro was only invoked conditionally." >&2;} 22499 { (exit 1); exit 1; }; } 22500 fi 22501 if test -z "${BUILD_PCM_PLUGIN_MULTI_TRUE}" && test -z "${BUILD_PCM_PLUGIN_MULTI_FALSE}"; then 22502 { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_MULTI\" was never defined. 22503 Usually this means the macro was only invoked conditionally." >&5 22504 echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_MULTI\" was never defined. 22505 Usually this means the macro was only invoked conditionally." >&2;} 22506 { (exit 1); exit 1; }; } 22507 fi 22508 if test -z "${BUILD_PCM_PLUGIN_SHM_TRUE}" && test -z "${BUILD_PCM_PLUGIN_SHM_FALSE}"; then 22509 { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_SHM\" was never defined. 22510 Usually this means the macro was only invoked conditionally." >&5 22511 echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_SHM\" was never defined. 22512 Usually this means the macro was only invoked conditionally." >&2;} 22513 { (exit 1); exit 1; }; } 22514 fi 22515 if test -z "${BUILD_PCM_PLUGIN_FILE_TRUE}" && test -z "${BUILD_PCM_PLUGIN_FILE_FALSE}"; then 22516 { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_FILE\" was never defined. 22517 Usually this means the macro was only invoked conditionally." >&5 22518 echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_FILE\" was never defined. 22519 Usually this means the macro was only invoked conditionally." >&2;} 22520 { (exit 1); exit 1; }; } 22521 fi 22522 if test -z "${BUILD_PCM_PLUGIN_NULL_TRUE}" && test -z "${BUILD_PCM_PLUGIN_NULL_FALSE}"; then 22523 { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_NULL\" was never defined. 22524 Usually this means the macro was only invoked conditionally." >&5 22525 echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_NULL\" was never defined. 22526 Usually this means the macro was only invoked conditionally." >&2;} 22527 { (exit 1); exit 1; }; } 22528 fi 22529 if test -z "${BUILD_PCM_PLUGIN_EMPTY_TRUE}" && test -z "${BUILD_PCM_PLUGIN_EMPTY_FALSE}"; then 22530 { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_EMPTY\" was never defined. 22531 Usually this means the macro was only invoked conditionally." >&5 22532 echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_EMPTY\" was never defined. 22533 Usually this means the macro was only invoked conditionally." >&2;} 22534 { (exit 1); exit 1; }; } 22535 fi 22536 if test -z "${BUILD_PCM_PLUGIN_SHARE_TRUE}" && test -z "${BUILD_PCM_PLUGIN_SHARE_FALSE}"; then 22537 { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_SHARE\" was never defined. 22538 Usually this means the macro was only invoked conditionally." >&5 22539 echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_SHARE\" was never defined. 22540 Usually this means the macro was only invoked conditionally." >&2;} 22541 { (exit 1); exit 1; }; } 22542 fi 22543 if test -z "${BUILD_PCM_PLUGIN_METER_TRUE}" && test -z "${BUILD_PCM_PLUGIN_METER_FALSE}"; then 22544 { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_METER\" was never defined. 22545 Usually this means the macro was only invoked conditionally." >&5 22546 echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_METER\" was never defined. 22547 Usually this means the macro was only invoked conditionally." >&2;} 22548 { (exit 1); exit 1; }; } 22549 fi 22550 if test -z "${BUILD_PCM_PLUGIN_HOOKS_TRUE}" && test -z "${BUILD_PCM_PLUGIN_HOOKS_FALSE}"; then 22551 { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_HOOKS\" was never defined. 22552 Usually this means the macro was only invoked conditionally." >&5 22553 echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_HOOKS\" was never defined. 22554 Usually this means the macro was only invoked conditionally." >&2;} 22555 { (exit 1); exit 1; }; } 22556 fi 22557 if test -z "${BUILD_PCM_PLUGIN_LFLOAT_TRUE}" && test -z "${BUILD_PCM_PLUGIN_LFLOAT_FALSE}"; then 22558 { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_LFLOAT\" was never defined. 22559 Usually this means the macro was only invoked conditionally." >&5 22560 echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_LFLOAT\" was never defined. 22561 Usually this means the macro was only invoked conditionally." >&2;} 22562 { (exit 1); exit 1; }; } 22563 fi 22564 if test -z "${BUILD_PCM_PLUGIN_LADSPA_TRUE}" && test -z "${BUILD_PCM_PLUGIN_LADSPA_FALSE}"; then 22565 { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_LADSPA\" was never defined. 22566 Usually this means the macro was only invoked conditionally." >&5 22567 echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_LADSPA\" was never defined. 22568 Usually this means the macro was only invoked conditionally." >&2;} 22569 { (exit 1); exit 1; }; } 22570 fi 22571 if test -z "${BUILD_PCM_PLUGIN_DMIX_TRUE}" && test -z "${BUILD_PCM_PLUGIN_DMIX_FALSE}"; then 22572 { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_DMIX\" was never defined. 22573 Usually this means the macro was only invoked conditionally." >&5 22574 echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_DMIX\" was never defined. 22575 Usually this means the macro was only invoked conditionally." >&2;} 22576 { (exit 1); exit 1; }; } 22577 fi 22578 if test -z "${BUILD_PCM_PLUGIN_DSHARE_TRUE}" && test -z "${BUILD_PCM_PLUGIN_DSHARE_FALSE}"; then 22579 { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_DSHARE\" was never defined. 22580 Usually this means the macro was only invoked conditionally." >&5 22581 echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_DSHARE\" was never defined. 22582 Usually this means the macro was only invoked conditionally." >&2;} 22583 { (exit 1); exit 1; }; } 22584 fi 22585 if test -z "${BUILD_PCM_PLUGIN_DSNOOP_TRUE}" && test -z "${BUILD_PCM_PLUGIN_DSNOOP_FALSE}"; then 22586 { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_DSNOOP\" was never defined. 22587 Usually this means the macro was only invoked conditionally." >&5 22588 echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_DSNOOP\" was never defined. 22589 Usually this means the macro was only invoked conditionally." >&2;} 22590 { (exit 1); exit 1; }; } 22591 fi 22592 if test -z "${BUILD_PCM_PLUGIN_ASYM_TRUE}" && test -z "${BUILD_PCM_PLUGIN_ASYM_FALSE}"; then 22593 { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_ASYM\" was never defined. 22594 Usually this means the macro was only invoked conditionally." >&5 22595 echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_ASYM\" was never defined. 22596 Usually this means the macro was only invoked conditionally." >&2;} 22597 { (exit 1); exit 1; }; } 22598 fi 22599 if test -z "${BUILD_PCM_PLUGIN_IEC958_TRUE}" && test -z "${BUILD_PCM_PLUGIN_IEC958_FALSE}"; then 22600 { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_IEC958\" was never defined. 22601 Usually this means the macro was only invoked conditionally." >&5 22602 echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_IEC958\" was never defined. 22603 Usually this means the macro was only invoked conditionally." >&2;} 22604 { (exit 1); exit 1; }; } 22605 fi 22606 if test -z "${BUILD_PCM_PLUGIN_SOFTVOL_TRUE}" && test -z "${BUILD_PCM_PLUGIN_SOFTVOL_FALSE}"; then 22607 { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_SOFTVOL\" was never defined. 22608 Usually this means the macro was only invoked conditionally." >&5 22609 echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_SOFTVOL\" was never defined. 22610 Usually this means the macro was only invoked conditionally." >&2;} 22611 { (exit 1); exit 1; }; } 22612 fi 22613 if test -z "${BUILD_PCM_PLUGIN_EXTPLUG_TRUE}" && test -z "${BUILD_PCM_PLUGIN_EXTPLUG_FALSE}"; then 22614 { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_EXTPLUG\" was never defined. 22615 Usually this means the macro was only invoked conditionally." >&5 22616 echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_EXTPLUG\" was never defined. 22617 Usually this means the macro was only invoked conditionally." >&2;} 22618 { (exit 1); exit 1; }; } 22619 fi 22620 if test -z "${BUILD_PCM_PLUGIN_IOPLUG_TRUE}" && test -z "${BUILD_PCM_PLUGIN_IOPLUG_FALSE}"; then 22621 { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_IOPLUG\" was never defined. 22622 Usually this means the macro was only invoked conditionally." >&5 22623 echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_IOPLUG\" was never defined. 22624 Usually this means the macro was only invoked conditionally." >&2;} 22625 { (exit 1); exit 1; }; } 22626 fi 22627 if test -z "${BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE}" && test -z "${BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE}"; then 22628 { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_MMAP_EMUL\" was never defined. 22629 Usually this means the macro was only invoked conditionally." >&5 22630 echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_MMAP_EMUL\" was never defined. 22631 Usually this means the macro was only invoked conditionally." >&2;} 22632 { (exit 1); exit 1; }; } 22633 fi 22634 if test -z "${BUILD_CTL_PLUGIN_TRUE}" && test -z "${BUILD_CTL_PLUGIN_FALSE}"; then 22635 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CTL_PLUGIN\" was never defined. 22636 Usually this means the macro was only invoked conditionally." >&5 22637 echo "$as_me: error: conditional \"BUILD_CTL_PLUGIN\" was never defined. 22638 Usually this means the macro was only invoked conditionally." >&2;} 22639 { (exit 1); exit 1; }; } 22640 fi 22641 if test -z "${BUILD_CTL_PLUGIN_SHM_TRUE}" && test -z "${BUILD_CTL_PLUGIN_SHM_FALSE}"; then 22642 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CTL_PLUGIN_SHM\" was never defined. 22643 Usually this means the macro was only invoked conditionally." >&5 22644 echo "$as_me: error: conditional \"BUILD_CTL_PLUGIN_SHM\" was never defined. 22645 Usually this means the macro was only invoked conditionally." >&2;} 22646 { (exit 1); exit 1; }; } 22647 fi 22648 if test -z "${BUILD_CTL_PLUGIN_EXT_TRUE}" && test -z "${BUILD_CTL_PLUGIN_EXT_FALSE}"; then 22649 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CTL_PLUGIN_EXT\" was never defined. 22650 Usually this means the macro was only invoked conditionally." >&5 22651 echo "$as_me: error: conditional \"BUILD_CTL_PLUGIN_EXT\" was never defined. 22652 Usually this means the macro was only invoked conditionally." >&2;} 22653 { (exit 1); exit 1; }; } 22654 fi 22655 22656 : ${CONFIG_STATUS=./config.status} 22657 ac_clean_files_save=$ac_clean_files 22658 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 22659 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 22660 echo "$as_me: creating $CONFIG_STATUS" >&6;} 22661 cat >$CONFIG_STATUS <<_ACEOF 22662 #! $SHELL 22663 # Generated by $as_me. 22664 # Run this file to recreate the current configuration. 22665 # Compiler output produced by configure, useful for debugging 22666 # configure, is in config.log if it exists. 22667 22668 debug=false 22669 ac_cs_recheck=false 22670 ac_cs_silent=false 22671 SHELL=\${CONFIG_SHELL-$SHELL} 22672 _ACEOF 22673 22674 cat >>$CONFIG_STATUS <<\_ACEOF 22675 ## --------------------- ## 22676 ## M4sh Initialization. ## 22677 ## --------------------- ## 22678 22679 # Be Bourne compatible 22680 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 22681 emulate sh 22682 NULLCMD=: 22683 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 22684 # is contrary to our usage. Disable this feature. 22685 alias -g '${1+"$@"}'='"$@"' 22686 setopt NO_GLOB_SUBST 22687 else 22688 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 22689 fi 22690 BIN_SH=xpg4; export BIN_SH # for Tru64 22691 DUALCASE=1; export DUALCASE # for MKS sh 22692 22693 22694 # PATH needs CR 22695 # Avoid depending upon Character Ranges. 22696 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 22697 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 22698 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 22699 as_cr_digits='0123456789' 22700 as_cr_alnum=$as_cr_Letters$as_cr_digits 22701 22702 # The user is always right. 22703 if test "${PATH_SEPARATOR+set}" != set; then 22704 echo "#! /bin/sh" >conf$$.sh 22705 echo "exit 0" >>conf$$.sh 22706 chmod +x conf$$.sh 22707 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 22708 PATH_SEPARATOR=';' 22709 else 22710 PATH_SEPARATOR=: 22711 fi 22712 rm -f conf$$.sh 22713 fi 22714 22715 # Support unset when possible. 22716 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 22717 as_unset=unset 22718 else 22719 as_unset=false 22720 fi 22721 22722 22723 # IFS 22724 # We need space, tab and new line, in precisely that order. Quoting is 22725 # there to prevent editors from complaining about space-tab. 22726 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 22727 # splitting by setting IFS to empty value.) 22728 as_nl=' 22729 ' 22730 IFS=" "" $as_nl" 22731 22732 # Find who we are. Look in the path if we contain no directory separator. 22733 case $0 in 22734 *[\\/]* ) as_myself=$0 ;; 22735 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22736 for as_dir in $PATH 22737 do 22738 IFS=$as_save_IFS 22739 test -z "$as_dir" && as_dir=. 22740 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 22741 done 22742 IFS=$as_save_IFS 22743 22744 ;; 22745 esac 22746 # We did not find ourselves, most probably we were run as `sh COMMAND' 22747 # in which case we are not to be found in the path. 22748 if test "x$as_myself" = x; then 22749 as_myself=$0 22750 fi 22751 if test ! -f "$as_myself"; then 22752 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 22753 { (exit 1); exit 1; } 22754 fi 22755 22756 # Work around bugs in pre-3.0 UWIN ksh. 22757 for as_var in ENV MAIL MAILPATH 22758 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 22759 done 22760 PS1='$ ' 22761 PS2='> ' 22762 PS4='+ ' 22763 22764 # NLS nuisances. 22765 for as_var in \ 22766 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 22767 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 22768 LC_TELEPHONE LC_TIME 22769 do 22770 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 22771 eval $as_var=C; export $as_var 22772 else 22773 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 22774 fi 22775 done 22776 22777 # Required to use basename. 22778 if expr a : '\(a\)' >/dev/null 2>&1 && 22779 test "X`expr 00001 : '.*\(...\)'`" = X001; then 22780 as_expr=expr 22781 else 22782 as_expr=false 22783 fi 22784 22785 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 22786 as_basename=basename 22787 else 22788 as_basename=false 22789 fi 22790 22791 22792 # Name of the executable. 22793 as_me=`$as_basename -- "$0" || 22794 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 22795 X"$0" : 'X\(//\)$' \| \ 22796 X"$0" : 'X\(/\)' \| . 2>/dev/null || 22797 echo X/"$0" | 22798 sed '/^.*\/\([^/][^/]*\)\/*$/{ 22799 s//\1/ 22800 q 22801 } 22802 /^X\/\(\/\/\)$/{ 22803 s//\1/ 22804 q 22805 } 22806 /^X\/\(\/\).*/{ 22807 s//\1/ 22808 q 22809 } 22810 s/.*/./; q'` 22811 22812 # CDPATH. 22813 $as_unset CDPATH 22814 22815 22816 22817 as_lineno_1=$LINENO 22818 as_lineno_2=$LINENO 22819 test "x$as_lineno_1" != "x$as_lineno_2" && 22820 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 22821 22822 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 22823 # uniformly replaced by the line number. The first 'sed' inserts a 22824 # line-number line after each line using $LINENO; the second 'sed' 22825 # does the real work. The second script uses 'N' to pair each 22826 # line-number line with the line containing $LINENO, and appends 22827 # trailing '-' during substitution so that $LINENO is not a special 22828 # case at line end. 22829 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 22830 # scripts with optimization help from Paolo Bonzini. Blame Lee 22831 # E. McMahon (1931-1989) for sed's syntax. :-) 22832 sed -n ' 22833 p 22834 /[$]LINENO/= 22835 ' <$as_myself | 22836 sed ' 22837 s/[$]LINENO.*/&-/ 22838 t lineno 22839 b 22840 :lineno 22841 N 22842 :loop 22843 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 22844 t loop 22845 s/-\n.*// 22846 ' >$as_me.lineno && 22847 chmod +x "$as_me.lineno" || 22848 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 22849 { (exit 1); exit 1; }; } 22850 22851 # Don't try to exec as it changes $[0], causing all sort of problems 22852 # (the dirname of $[0] is not the place where we might find the 22853 # original and so on. Autoconf is especially sensitive to this). 22854 . "./$as_me.lineno" 22855 # Exit status is that of the last command. 22856 exit 22857 } 22858 22859 22860 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 22861 as_dirname=dirname 22862 else 22863 as_dirname=false 22864 fi 22865 22866 ECHO_C= ECHO_N= ECHO_T= 22867 case `echo -n x` in 22868 -n*) 22869 case `echo 'x\c'` in 22870 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 22871 *) ECHO_C='\c';; 22872 esac;; 22873 *) 22874 ECHO_N='-n';; 22875 esac 22876 22877 if expr a : '\(a\)' >/dev/null 2>&1 && 22878 test "X`expr 00001 : '.*\(...\)'`" = X001; then 22879 as_expr=expr 22880 else 22881 as_expr=false 22882 fi 22883 22884 rm -f conf$$ conf$$.exe conf$$.file 22885 if test -d conf$$.dir; then 22886 rm -f conf$$.dir/conf$$.file 22887 else 22888 rm -f conf$$.dir 22889 mkdir conf$$.dir 22890 fi 22891 echo >conf$$.file 22892 if ln -s conf$$.file conf$$ 2>/dev/null; then 22893 as_ln_s='ln -s' 22894 # ... but there are two gotchas: 22895 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 22896 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 22897 # In both cases, we have to default to `cp -p'. 22898 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 22899 as_ln_s='cp -p' 22900 elif ln conf$$.file conf$$ 2>/dev/null; then 22901 as_ln_s=ln 22902 else 22903 as_ln_s='cp -p' 22904 fi 22905 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 22906 rmdir conf$$.dir 2>/dev/null 22907 22908 if mkdir -p . 2>/dev/null; then 22909 as_mkdir_p=: 22910 else 22911 test -d ./-p && rmdir ./-p 22912 as_mkdir_p=false 22913 fi 22914 22915 # Find out whether ``test -x'' works. Don't use a zero-byte file, as 22916 # systems may use methods other than mode bits to determine executability. 22917 cat >conf$$.file <<_ASEOF 22918 #! /bin/sh 22919 exit 0 22920 _ASEOF 22921 chmod +x conf$$.file 22922 if test -x conf$$.file >/dev/null 2>&1; then 22923 as_executable_p="test -x" 22924 else 22925 as_executable_p=: 22926 fi 22927 rm -f conf$$.file 22928 22929 # Sed expression to map a string onto a valid CPP name. 22930 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 22931 22932 # Sed expression to map a string onto a valid variable name. 22933 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 22934 22935 22936 exec 6>&1 22937 22938 # Save the log message, to keep $[0] and so on meaningful, and to 22939 # report actual input values of CONFIG_FILES etc. instead of their 22940 # values after options handling. 22941 ac_log=" 22942 This file was extended by $as_me, which was 22943 generated by GNU Autoconf 2.60. Invocation command line was 22944 22945 CONFIG_FILES = $CONFIG_FILES 22946 CONFIG_HEADERS = $CONFIG_HEADERS 22947 CONFIG_LINKS = $CONFIG_LINKS 22948 CONFIG_COMMANDS = $CONFIG_COMMANDS 22949 $ $0 $@ 22950 22951 on `(hostname || uname -n) 2>/dev/null | sed 1q` 22952 " 22953 22954 _ACEOF 22955 22956 cat >>$CONFIG_STATUS <<_ACEOF 22957 # Files that config.status was made for. 22958 config_files="$ac_config_files" 22959 config_headers="$ac_config_headers" 22960 config_commands="$ac_config_commands" 22961 22962 _ACEOF 22963 22964 cat >>$CONFIG_STATUS <<\_ACEOF 22965 ac_cs_usage="\ 22966 \`$as_me' instantiates files from templates according to the 22967 current configuration. 22968 22969 Usage: $0 [OPTIONS] [FILE]... 22970 22971 -h, --help print this help, then exit 22972 -V, --version print version number, then exit 22973 -q, --quiet do not print progress messages 22974 -d, --debug don't remove temporary files 22975 --recheck update $as_me by reconfiguring in the same conditions 22976 --file=FILE[:TEMPLATE] 22977 instantiate the configuration file FILE 22978 --header=FILE[:TEMPLATE] 22979 instantiate the configuration header FILE 22980 22981 Configuration files: 22982 $config_files 22983 22984 Configuration headers: 22985 $config_headers 22986 22987 Configuration commands: 22988 $config_commands 22989 22990 Report bugs to <bug-autoconf@gnu.org>." 22991 22992 _ACEOF 22993 cat >>$CONFIG_STATUS <<_ACEOF 22994 ac_cs_version="\\ 22995 config.status 22996 configured by $0, generated by GNU Autoconf 2.60, 22997 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 22998 22999 Copyright (C) 2006 Free Software Foundation, Inc. 23000 This config.status script is free software; the Free Software Foundation 23001 gives unlimited permission to copy, distribute and modify it." 23002 23003 ac_pwd='$ac_pwd' 23004 srcdir='$srcdir' 23005 INSTALL='$INSTALL' 23006 _ACEOF 23007 23008 cat >>$CONFIG_STATUS <<\_ACEOF 23009 # If no file are specified by the user, then we need to provide default 23010 # value. By we need to know if files were specified by the user. 23011 ac_need_defaults=: 23012 while test $# != 0 23013 do 23014 case $1 in 23015 --*=*) 23016 ac_option=`expr "X$1" : 'X\([^=]*\)='` 23017 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 23018 ac_shift=: 23019 ;; 23020 *) 23021 ac_option=$1 23022 ac_optarg=$2 23023 ac_shift=shift 23024 ;; 23025 esac 23026 23027 case $ac_option in 23028 # Handling of the options. 23029 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 23030 ac_cs_recheck=: ;; 23031 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 23032 echo "$ac_cs_version"; exit ;; 23033 --debug | --debu | --deb | --de | --d | -d ) 23034 debug=: ;; 23035 --file | --fil | --fi | --f ) 23036 $ac_shift 23037 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 23038 ac_need_defaults=false;; 23039 --header | --heade | --head | --hea ) 23040 $ac_shift 23041 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 23042 ac_need_defaults=false;; 23043 --he | --h) 23044 # Conflict between --help and --header 23045 { echo "$as_me: error: ambiguous option: $1 23046 Try \`$0 --help' for more information." >&2 23047 { (exit 1); exit 1; }; };; 23048 --help | --hel | -h ) 23049 echo "$ac_cs_usage"; exit ;; 23050 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 23051 | -silent | --silent | --silen | --sile | --sil | --si | --s) 23052 ac_cs_silent=: ;; 23053 23054 # This is an error. 23055 -*) { echo "$as_me: error: unrecognized option: $1 23056 Try \`$0 --help' for more information." >&2 23057 { (exit 1); exit 1; }; } ;; 23058 23059 *) ac_config_targets="$ac_config_targets $1" 23060 ac_need_defaults=false ;; 23061 23062 esac 23063 shift 23064 done 23065 23066 ac_configure_extra_args= 23067 23068 if $ac_cs_silent; then 23069 exec 6>/dev/null 23070 ac_configure_extra_args="$ac_configure_extra_args --silent" 23071 fi 23072 23073 _ACEOF 23074 cat >>$CONFIG_STATUS <<_ACEOF 23075 if \$ac_cs_recheck; then 23076 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 23077 CONFIG_SHELL=$SHELL 23078 export CONFIG_SHELL 23079 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 23080 fi 23081 23082 _ACEOF 23083 cat >>$CONFIG_STATUS <<\_ACEOF 23084 exec 5>>config.log 23085 { 23086 echo 23087 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 23088 ## Running $as_me. ## 23089 _ASBOX 23090 echo "$ac_log" 23091 } >&5 23092 23093 _ACEOF 23094 cat >>$CONFIG_STATUS <<_ACEOF 23095 # 23096 # INIT-COMMANDS 23097 # 23098 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 23099 23100 _ACEOF 23101 23102 cat >>$CONFIG_STATUS <<\_ACEOF 23103 23104 # Handling of arguments. 23105 for ac_config_target in $ac_config_targets 23106 do 23107 case $ac_config_target in 23108 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 23109 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;; 23110 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 23111 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 23112 "doc/pictures/Makefile") CONFIG_FILES="$CONFIG_FILES doc/pictures/Makefile" ;; 23113 "doc/doxygen.cfg") CONFIG_FILES="$CONFIG_FILES doc/doxygen.cfg" ;; 23114 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; 23115 "include/sound/Makefile") CONFIG_FILES="$CONFIG_FILES include/sound/Makefile" ;; 23116 "src/Versions") CONFIG_FILES="$CONFIG_FILES src/Versions" ;; 23117 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 23118 "src/control/Makefile") CONFIG_FILES="$CONFIG_FILES src/control/Makefile" ;; 23119 "src/mixer/Makefile") CONFIG_FILES="$CONFIG_FILES src/mixer/Makefile" ;; 23120 "src/pcm/Makefile") CONFIG_FILES="$CONFIG_FILES src/pcm/Makefile" ;; 23121 "src/pcm/scopes/Makefile") CONFIG_FILES="$CONFIG_FILES src/pcm/scopes/Makefile" ;; 23122 "src/rawmidi/Makefile") CONFIG_FILES="$CONFIG_FILES src/rawmidi/Makefile" ;; 23123 "src/timer/Makefile") CONFIG_FILES="$CONFIG_FILES src/timer/Makefile" ;; 23124 "src/hwdep/Makefile") CONFIG_FILES="$CONFIG_FILES src/hwdep/Makefile" ;; 23125 "src/seq/Makefile") CONFIG_FILES="$CONFIG_FILES src/seq/Makefile" ;; 23126 "src/compat/Makefile") CONFIG_FILES="$CONFIG_FILES src/compat/Makefile" ;; 23127 "src/alisp/Makefile") CONFIG_FILES="$CONFIG_FILES src/alisp/Makefile" ;; 23128 "src/conf/Makefile") CONFIG_FILES="$CONFIG_FILES src/conf/Makefile" ;; 23129 "src/conf/cards/Makefile") CONFIG_FILES="$CONFIG_FILES src/conf/cards/Makefile" ;; 23130 "src/conf/pcm/Makefile") CONFIG_FILES="$CONFIG_FILES src/conf/pcm/Makefile" ;; 23131 "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;; 23132 "modules/mixer/Makefile") CONFIG_FILES="$CONFIG_FILES modules/mixer/Makefile" ;; 23133 "modules/mixer/simple/Makefile") CONFIG_FILES="$CONFIG_FILES modules/mixer/simple/Makefile" ;; 23134 "alsalisp/Makefile") CONFIG_FILES="$CONFIG_FILES alsalisp/Makefile" ;; 23135 "aserver/Makefile") CONFIG_FILES="$CONFIG_FILES aserver/Makefile" ;; 23136 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; 23137 "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;; 23138 "utils/alsa-lib.spec") CONFIG_FILES="$CONFIG_FILES utils/alsa-lib.spec" ;; 23139 "utils/alsa.pc") CONFIG_FILES="$CONFIG_FILES utils/alsa.pc" ;; 23140 23141 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 23142 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 23143 { (exit 1); exit 1; }; };; 23144 esac 23145 done 23146 23147 23148 # If the user did not use the arguments to specify the items to instantiate, 23149 # then the envvar interface is used. Set only those that are not. 23150 # We use the long form for the default assignment because of an extremely 23151 # bizarre bug on SunOS 4.1.3. 23152 if $ac_need_defaults; then 23153 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 23154 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 23155 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 23156 fi 23157 23158 # Have a temporary directory for convenience. Make it in the build tree 23159 # simply because there is no reason against having it here, and in addition, 23160 # creating and moving files from /tmp can sometimes cause problems. 23161 # Hook for its removal unless debugging. 23162 # Note that there is a small window in which the directory will not be cleaned: 23163 # after its creation but before its name has been assigned to `$tmp'. 23164 $debug || 23165 { 23166 tmp= 23167 trap 'exit_status=$? 23168 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 23169 ' 0 23170 trap '{ (exit 1); exit 1; }' 1 2 13 15 23171 } 23172 # Create a (secure) tmp directory for tmp files. 23173 23174 { 23175 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 23176 test -n "$tmp" && test -d "$tmp" 23177 } || 23178 { 23179 tmp=./conf$$-$RANDOM 23180 (umask 077 && mkdir "$tmp") 23181 } || 23182 { 23183 echo "$me: cannot create a temporary directory in ." >&2 23184 { (exit 1); exit 1; } 23185 } 23186 23187 # 23188 # Set up the sed scripts for CONFIG_FILES section. 23189 # 23190 23191 # No need to generate the scripts if there are no CONFIG_FILES. 23192 # This happens for instance when ./config.status config.h 23193 if test -n "$CONFIG_FILES"; then 23194 23195 _ACEOF 23196 23197 23198 23199 ac_delim='%!_!# ' 23200 for ac_last_try in false false false false false :; do 23201 cat >conf$$subs.sed <<_ACEOF 23202 SHELL!$SHELL$ac_delim 23203 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 23204 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 23205 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 23206 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 23207 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 23208 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 23209 exec_prefix!$exec_prefix$ac_delim 23210 prefix!$prefix$ac_delim 23211 program_transform_name!$program_transform_name$ac_delim 23212 bindir!$bindir$ac_delim 23213 sbindir!$sbindir$ac_delim 23214 libexecdir!$libexecdir$ac_delim 23215 datarootdir!$datarootdir$ac_delim 23216 datadir!$datadir$ac_delim 23217 sysconfdir!$sysconfdir$ac_delim 23218 sharedstatedir!$sharedstatedir$ac_delim 23219 localstatedir!$localstatedir$ac_delim 23220 includedir!$includedir$ac_delim 23221 oldincludedir!$oldincludedir$ac_delim 23222 docdir!$docdir$ac_delim 23223 infodir!$infodir$ac_delim 23224 htmldir!$htmldir$ac_delim 23225 dvidir!$dvidir$ac_delim 23226 pdfdir!$pdfdir$ac_delim 23227 psdir!$psdir$ac_delim 23228 libdir!$libdir$ac_delim 23229 localedir!$localedir$ac_delim 23230 mandir!$mandir$ac_delim 23231 DEFS!$DEFS$ac_delim 23232 ECHO_C!$ECHO_C$ac_delim 23233 ECHO_N!$ECHO_N$ac_delim 23234 ECHO_T!$ECHO_T$ac_delim 23235 LIBS!$LIBS$ac_delim 23236 build_alias!$build_alias$ac_delim 23237 host_alias!$host_alias$ac_delim 23238 target_alias!$target_alias$ac_delim 23239 build!$build$ac_delim 23240 build_cpu!$build_cpu$ac_delim 23241 build_vendor!$build_vendor$ac_delim 23242 build_os!$build_os$ac_delim 23243 host!$host$ac_delim 23244 host_cpu!$host_cpu$ac_delim 23245 host_vendor!$host_vendor$ac_delim 23246 host_os!$host_os$ac_delim 23247 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 23248 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 23249 INSTALL_DATA!$INSTALL_DATA$ac_delim 23250 CYGPATH_W!$CYGPATH_W$ac_delim 23251 PACKAGE!$PACKAGE$ac_delim 23252 VERSION!$VERSION$ac_delim 23253 ACLOCAL!$ACLOCAL$ac_delim 23254 AUTOCONF!$AUTOCONF$ac_delim 23255 AUTOMAKE!$AUTOMAKE$ac_delim 23256 AUTOHEADER!$AUTOHEADER$ac_delim 23257 MAKEINFO!$MAKEINFO$ac_delim 23258 install_sh!$install_sh$ac_delim 23259 STRIP!$STRIP$ac_delim 23260 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim 23261 mkdir_p!$mkdir_p$ac_delim 23262 AWK!$AWK$ac_delim 23263 SET_MAKE!$SET_MAKE$ac_delim 23264 am__leading_dot!$am__leading_dot$ac_delim 23265 AMTAR!$AMTAR$ac_delim 23266 am__tar!$am__tar$ac_delim 23267 am__untar!$am__untar$ac_delim 23268 INSTALL_M4_TRUE!$INSTALL_M4_TRUE$ac_delim 23269 INSTALL_M4_FALSE!$INSTALL_M4_FALSE$ac_delim 23270 CC!$CC$ac_delim 23271 CFLAGS!$CFLAGS$ac_delim 23272 LDFLAGS!$LDFLAGS$ac_delim 23273 CPPFLAGS!$CPPFLAGS$ac_delim 23274 ac_ct_CC!$ac_ct_CC$ac_delim 23275 EXEEXT!$EXEEXT$ac_delim 23276 OBJEXT!$OBJEXT$ac_delim 23277 DEPDIR!$DEPDIR$ac_delim 23278 am__include!$am__include$ac_delim 23279 am__quote!$am__quote$ac_delim 23280 AMDEP_TRUE!$AMDEP_TRUE$ac_delim 23281 AMDEP_FALSE!$AMDEP_FALSE$ac_delim 23282 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim 23283 CCDEPMODE!$CCDEPMODE$ac_delim 23284 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim 23285 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim 23286 CPP!$CPP$ac_delim 23287 LN_S!$LN_S$ac_delim 23288 GREP!$GREP$ac_delim 23289 EGREP!$EGREP$ac_delim 23290 ECHO!$ECHO$ac_delim 23291 AR!$AR$ac_delim 23292 RANLIB!$RANLIB$ac_delim 23293 CXX!$CXX$ac_delim 23294 CXXFLAGS!$CXXFLAGS$ac_delim 23295 ac_ct_CXX!$ac_ct_CXX$ac_delim 23296 CXXDEPMODE!$CXXDEPMODE$ac_delim 23297 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim 23298 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim 23299 _ACEOF 23300 23301 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 23302 break 23303 elif $ac_last_try; then 23304 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 23305 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 23306 { (exit 1); exit 1; }; } 23307 else 23308 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 23309 fi 23310 done 23311 23312 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 23313 if test -n "$ac_eof"; then 23314 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 23315 ac_eof=`expr $ac_eof + 1` 23316 fi 23317 23318 cat >>$CONFIG_STATUS <<_ACEOF 23319 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 23320 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 23321 _ACEOF 23322 sed ' 23323 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 23324 s/^/s,@/; s/!/@,|#_!!_#|/ 23325 :n 23326 t n 23327 s/'"$ac_delim"'$/,g/; t 23328 s/$/\\/; p 23329 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 23330 ' >>$CONFIG_STATUS <conf$$subs.sed 23331 rm -f conf$$subs.sed 23332 cat >>$CONFIG_STATUS <<_ACEOF 23333 CEOF$ac_eof 23334 _ACEOF 23335 23336 23337 ac_delim='%!_!# ' 23338 for ac_last_try in false false false false false :; do 23339 cat >conf$$subs.sed <<_ACEOF 23340 CXXCPP!$CXXCPP$ac_delim 23341 F77!$F77$ac_delim 23342 FFLAGS!$FFLAGS$ac_delim 23343 ac_ct_F77!$ac_ct_F77$ac_delim 23344 LIBTOOL!$LIBTOOL$ac_delim 23345 ALSA_HSEARCH_R_TRUE!$ALSA_HSEARCH_R_TRUE$ac_delim 23346 ALSA_HSEARCH_R_FALSE!$ALSA_HSEARCH_R_FALSE$ac_delim 23347 SND_LIB_VERSION!$SND_LIB_VERSION$ac_delim 23348 SND_LIB_MAJOR!$SND_LIB_MAJOR$ac_delim 23349 SND_LIB_MINOR!$SND_LIB_MINOR$ac_delim 23350 SND_LIB_SUBMINOR!$SND_LIB_SUBMINOR$ac_delim 23351 SND_LIB_EXTRAVER!$SND_LIB_EXTRAVER$ac_delim 23352 LIBTOOL_VERSION_INFO!$LIBTOOL_VERSION_INFO$ac_delim 23353 ALSA_CONFIG_DIR!$ALSA_CONFIG_DIR$ac_delim 23354 ALSA_PLUGIN_DIR!$ALSA_PLUGIN_DIR$ac_delim 23355 VERSIONED_SYMBOLS_TRUE!$VERSIONED_SYMBOLS_TRUE$ac_delim 23356 VERSIONED_SYMBOLS_FALSE!$VERSIONED_SYMBOLS_FALSE$ac_delim 23357 SYMBOLIC_FUNCTIONS_TRUE!$SYMBOLIC_FUNCTIONS_TRUE$ac_delim 23358 SYMBOLIC_FUNCTIONS_FALSE!$SYMBOLIC_FUNCTIONS_FALSE$ac_delim 23359 SYMBOL_PREFIX!$SYMBOL_PREFIX$ac_delim 23360 BUILD_MODULES_TRUE!$BUILD_MODULES_TRUE$ac_delim 23361 BUILD_MODULES_FALSE!$BUILD_MODULES_FALSE$ac_delim 23362 ALSA_DEPLIBS!$ALSA_DEPLIBS$ac_delim 23363 KEEP_OLD_SYMBOLS_TRUE!$KEEP_OLD_SYMBOLS_TRUE$ac_delim 23364 KEEP_OLD_SYMBOLS_FALSE!$KEEP_OLD_SYMBOLS_FALSE$ac_delim 23365 PYTHON_LIBS!$PYTHON_LIBS$ac_delim 23366 PYTHON_INCLUDES!$PYTHON_INCLUDES$ac_delim 23367 BUILD_MIXER_TRUE!$BUILD_MIXER_TRUE$ac_delim 23368 BUILD_MIXER_FALSE!$BUILD_MIXER_FALSE$ac_delim 23369 BUILD_PCM_TRUE!$BUILD_PCM_TRUE$ac_delim 23370 BUILD_PCM_FALSE!$BUILD_PCM_FALSE$ac_delim 23371 BUILD_RAWMIDI_TRUE!$BUILD_RAWMIDI_TRUE$ac_delim 23372 BUILD_RAWMIDI_FALSE!$BUILD_RAWMIDI_FALSE$ac_delim 23373 BUILD_HWDEP_TRUE!$BUILD_HWDEP_TRUE$ac_delim 23374 BUILD_HWDEP_FALSE!$BUILD_HWDEP_FALSE$ac_delim 23375 BUILD_SEQ_TRUE!$BUILD_SEQ_TRUE$ac_delim 23376 BUILD_SEQ_FALSE!$BUILD_SEQ_FALSE$ac_delim 23377 BUILD_ALISP_TRUE!$BUILD_ALISP_TRUE$ac_delim 23378 BUILD_ALISP_FALSE!$BUILD_ALISP_FALSE$ac_delim 23379 BUILD_PYTHON_TRUE!$BUILD_PYTHON_TRUE$ac_delim 23380 BUILD_PYTHON_FALSE!$BUILD_PYTHON_FALSE$ac_delim 23381 BUILD_PCM_PLUGIN_TRUE!$BUILD_PCM_PLUGIN_TRUE$ac_delim 23382 BUILD_PCM_PLUGIN_FALSE!$BUILD_PCM_PLUGIN_FALSE$ac_delim 23383 BUILD_PCM_PLUGIN_COPY_TRUE!$BUILD_PCM_PLUGIN_COPY_TRUE$ac_delim 23384 BUILD_PCM_PLUGIN_COPY_FALSE!$BUILD_PCM_PLUGIN_COPY_FALSE$ac_delim 23385 BUILD_PCM_PLUGIN_LINEAR_TRUE!$BUILD_PCM_PLUGIN_LINEAR_TRUE$ac_delim 23386 BUILD_PCM_PLUGIN_LINEAR_FALSE!$BUILD_PCM_PLUGIN_LINEAR_FALSE$ac_delim 23387 BUILD_PCM_PLUGIN_ROUTE_TRUE!$BUILD_PCM_PLUGIN_ROUTE_TRUE$ac_delim 23388 BUILD_PCM_PLUGIN_ROUTE_FALSE!$BUILD_PCM_PLUGIN_ROUTE_FALSE$ac_delim 23389 BUILD_PCM_PLUGIN_MULAW_TRUE!$BUILD_PCM_PLUGIN_MULAW_TRUE$ac_delim 23390 BUILD_PCM_PLUGIN_MULAW_FALSE!$BUILD_PCM_PLUGIN_MULAW_FALSE$ac_delim 23391 BUILD_PCM_PLUGIN_ALAW_TRUE!$BUILD_PCM_PLUGIN_ALAW_TRUE$ac_delim 23392 BUILD_PCM_PLUGIN_ALAW_FALSE!$BUILD_PCM_PLUGIN_ALAW_FALSE$ac_delim 23393 BUILD_PCM_PLUGIN_ADPCM_TRUE!$BUILD_PCM_PLUGIN_ADPCM_TRUE$ac_delim 23394 BUILD_PCM_PLUGIN_ADPCM_FALSE!$BUILD_PCM_PLUGIN_ADPCM_FALSE$ac_delim 23395 BUILD_PCM_PLUGIN_RATE_TRUE!$BUILD_PCM_PLUGIN_RATE_TRUE$ac_delim 23396 BUILD_PCM_PLUGIN_RATE_FALSE!$BUILD_PCM_PLUGIN_RATE_FALSE$ac_delim 23397 BUILD_PCM_PLUGIN_PLUG_TRUE!$BUILD_PCM_PLUGIN_PLUG_TRUE$ac_delim 23398 BUILD_PCM_PLUGIN_PLUG_FALSE!$BUILD_PCM_PLUGIN_PLUG_FALSE$ac_delim 23399 BUILD_PCM_PLUGIN_MULTI_TRUE!$BUILD_PCM_PLUGIN_MULTI_TRUE$ac_delim 23400 BUILD_PCM_PLUGIN_MULTI_FALSE!$BUILD_PCM_PLUGIN_MULTI_FALSE$ac_delim 23401 BUILD_PCM_PLUGIN_SHM_TRUE!$BUILD_PCM_PLUGIN_SHM_TRUE$ac_delim 23402 BUILD_PCM_PLUGIN_SHM_FALSE!$BUILD_PCM_PLUGIN_SHM_FALSE$ac_delim 23403 BUILD_PCM_PLUGIN_FILE_TRUE!$BUILD_PCM_PLUGIN_FILE_TRUE$ac_delim 23404 BUILD_PCM_PLUGIN_FILE_FALSE!$BUILD_PCM_PLUGIN_FILE_FALSE$ac_delim 23405 BUILD_PCM_PLUGIN_NULL_TRUE!$BUILD_PCM_PLUGIN_NULL_TRUE$ac_delim 23406 BUILD_PCM_PLUGIN_NULL_FALSE!$BUILD_PCM_PLUGIN_NULL_FALSE$ac_delim 23407 BUILD_PCM_PLUGIN_EMPTY_TRUE!$BUILD_PCM_PLUGIN_EMPTY_TRUE$ac_delim 23408 BUILD_PCM_PLUGIN_EMPTY_FALSE!$BUILD_PCM_PLUGIN_EMPTY_FALSE$ac_delim 23409 BUILD_PCM_PLUGIN_SHARE_TRUE!$BUILD_PCM_PLUGIN_SHARE_TRUE$ac_delim 23410 BUILD_PCM_PLUGIN_SHARE_FALSE!$BUILD_PCM_PLUGIN_SHARE_FALSE$ac_delim 23411 BUILD_PCM_PLUGIN_METER_TRUE!$BUILD_PCM_PLUGIN_METER_TRUE$ac_delim 23412 BUILD_PCM_PLUGIN_METER_FALSE!$BUILD_PCM_PLUGIN_METER_FALSE$ac_delim 23413 BUILD_PCM_PLUGIN_HOOKS_TRUE!$BUILD_PCM_PLUGIN_HOOKS_TRUE$ac_delim 23414 BUILD_PCM_PLUGIN_HOOKS_FALSE!$BUILD_PCM_PLUGIN_HOOKS_FALSE$ac_delim 23415 BUILD_PCM_PLUGIN_LFLOAT_TRUE!$BUILD_PCM_PLUGIN_LFLOAT_TRUE$ac_delim 23416 BUILD_PCM_PLUGIN_LFLOAT_FALSE!$BUILD_PCM_PLUGIN_LFLOAT_FALSE$ac_delim 23417 BUILD_PCM_PLUGIN_LADSPA_TRUE!$BUILD_PCM_PLUGIN_LADSPA_TRUE$ac_delim 23418 BUILD_PCM_PLUGIN_LADSPA_FALSE!$BUILD_PCM_PLUGIN_LADSPA_FALSE$ac_delim 23419 BUILD_PCM_PLUGIN_DMIX_TRUE!$BUILD_PCM_PLUGIN_DMIX_TRUE$ac_delim 23420 BUILD_PCM_PLUGIN_DMIX_FALSE!$BUILD_PCM_PLUGIN_DMIX_FALSE$ac_delim 23421 BUILD_PCM_PLUGIN_DSHARE_TRUE!$BUILD_PCM_PLUGIN_DSHARE_TRUE$ac_delim 23422 BUILD_PCM_PLUGIN_DSHARE_FALSE!$BUILD_PCM_PLUGIN_DSHARE_FALSE$ac_delim 23423 BUILD_PCM_PLUGIN_DSNOOP_TRUE!$BUILD_PCM_PLUGIN_DSNOOP_TRUE$ac_delim 23424 BUILD_PCM_PLUGIN_DSNOOP_FALSE!$BUILD_PCM_PLUGIN_DSNOOP_FALSE$ac_delim 23425 BUILD_PCM_PLUGIN_ASYM_TRUE!$BUILD_PCM_PLUGIN_ASYM_TRUE$ac_delim 23426 BUILD_PCM_PLUGIN_ASYM_FALSE!$BUILD_PCM_PLUGIN_ASYM_FALSE$ac_delim 23427 BUILD_PCM_PLUGIN_IEC958_TRUE!$BUILD_PCM_PLUGIN_IEC958_TRUE$ac_delim 23428 BUILD_PCM_PLUGIN_IEC958_FALSE!$BUILD_PCM_PLUGIN_IEC958_FALSE$ac_delim 23429 BUILD_PCM_PLUGIN_SOFTVOL_TRUE!$BUILD_PCM_PLUGIN_SOFTVOL_TRUE$ac_delim 23430 BUILD_PCM_PLUGIN_SOFTVOL_FALSE!$BUILD_PCM_PLUGIN_SOFTVOL_FALSE$ac_delim 23431 BUILD_PCM_PLUGIN_EXTPLUG_TRUE!$BUILD_PCM_PLUGIN_EXTPLUG_TRUE$ac_delim 23432 BUILD_PCM_PLUGIN_EXTPLUG_FALSE!$BUILD_PCM_PLUGIN_EXTPLUG_FALSE$ac_delim 23433 BUILD_PCM_PLUGIN_IOPLUG_TRUE!$BUILD_PCM_PLUGIN_IOPLUG_TRUE$ac_delim 23434 BUILD_PCM_PLUGIN_IOPLUG_FALSE!$BUILD_PCM_PLUGIN_IOPLUG_FALSE$ac_delim 23435 BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE!$BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE$ac_delim 23436 BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE!$BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE$ac_delim 23437 _ACEOF 23438 23439 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 23440 break 23441 elif $ac_last_try; then 23442 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 23443 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 23444 { (exit 1); exit 1; }; } 23445 else 23446 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 23447 fi 23448 done 23449 23450 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 23451 if test -n "$ac_eof"; then 23452 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 23453 ac_eof=`expr $ac_eof + 1` 23454 fi 23455 23456 cat >>$CONFIG_STATUS <<_ACEOF 23457 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 23458 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 23459 _ACEOF 23460 sed ' 23461 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 23462 s/^/s,@/; s/!/@,|#_!!_#|/ 23463 :n 23464 t n 23465 s/'"$ac_delim"'$/,g/; t 23466 s/$/\\/; p 23467 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 23468 ' >>$CONFIG_STATUS <conf$$subs.sed 23469 rm -f conf$$subs.sed 23470 cat >>$CONFIG_STATUS <<_ACEOF 23471 CEOF$ac_eof 23472 _ACEOF 23473 23474 23475 ac_delim='%!_!# ' 23476 for ac_last_try in false false false false false :; do 23477 cat >conf$$subs.sed <<_ACEOF 23478 BUILD_CTL_PLUGIN_TRUE!$BUILD_CTL_PLUGIN_TRUE$ac_delim 23479 BUILD_CTL_PLUGIN_FALSE!$BUILD_CTL_PLUGIN_FALSE$ac_delim 23480 BUILD_CTL_PLUGIN_SHM_TRUE!$BUILD_CTL_PLUGIN_SHM_TRUE$ac_delim 23481 BUILD_CTL_PLUGIN_SHM_FALSE!$BUILD_CTL_PLUGIN_SHM_FALSE$ac_delim 23482 BUILD_CTL_PLUGIN_EXT_TRUE!$BUILD_CTL_PLUGIN_EXT_TRUE$ac_delim 23483 BUILD_CTL_PLUGIN_EXT_FALSE!$BUILD_CTL_PLUGIN_EXT_FALSE$ac_delim 23484 LIBOBJS!$LIBOBJS$ac_delim 23485 LTLIBOBJS!$LTLIBOBJS$ac_delim 23486 _ACEOF 23487 23488 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 8; then 23489 break 23490 elif $ac_last_try; then 23491 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 23492 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 23493 { (exit 1); exit 1; }; } 23494 else 23495 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 23496 fi 23497 done 23498 23499 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 23500 if test -n "$ac_eof"; then 23501 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 23502 ac_eof=`expr $ac_eof + 1` 23503 fi 23504 23505 cat >>$CONFIG_STATUS <<_ACEOF 23506 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof 23507 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 23508 _ACEOF 23509 sed ' 23510 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 23511 s/^/s,@/; s/!/@,|#_!!_#|/ 23512 :n 23513 t n 23514 s/'"$ac_delim"'$/,g/; t 23515 s/$/\\/; p 23516 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 23517 ' >>$CONFIG_STATUS <conf$$subs.sed 23518 rm -f conf$$subs.sed 23519 cat >>$CONFIG_STATUS <<_ACEOF 23520 :end 23521 s/|#_!!_#|//g 23522 CEOF$ac_eof 23523 _ACEOF 23524 23525 23526 # VPATH may cause trouble with some makes, so we remove $(srcdir), 23527 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 23528 # trailing colons and then remove the whole line if VPATH becomes empty 23529 # (actually we leave an empty line to preserve line numbers). 23530 if test "x$srcdir" = x.; then 23531 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 23532 s/:*\$(srcdir):*/:/ 23533 s/:*\${srcdir}:*/:/ 23534 s/:*@srcdir@:*/:/ 23535 s/^\([^=]*=[ ]*\):*/\1/ 23536 s/:*$// 23537 s/^[^=]*=[ ]*$// 23538 }' 23539 fi 23540 23541 cat >>$CONFIG_STATUS <<\_ACEOF 23542 fi # test -n "$CONFIG_FILES" 23543 23544 23545 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS 23546 do 23547 case $ac_tag in 23548 :[FHLC]) ac_mode=$ac_tag; continue;; 23549 esac 23550 case $ac_mode$ac_tag in 23551 :[FHL]*:*);; 23552 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 23553 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 23554 { (exit 1); exit 1; }; };; 23555 :[FH]-) ac_tag=-:-;; 23556 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 23557 esac 23558 ac_save_IFS=$IFS 23559 IFS=: 23560 set x $ac_tag 23561 IFS=$ac_save_IFS 23562 shift 23563 ac_file=$1 23564 shift 23565 23566 case $ac_mode in 23567 :L) ac_source=$1;; 23568 :[FH]) 23569 ac_file_inputs= 23570 for ac_f 23571 do 23572 case $ac_f in 23573 -) ac_f="$tmp/stdin";; 23574 *) # Look for the file first in the build tree, then in the source tree 23575 # (if the path is not absolute). The absolute path cannot be DOS-style, 23576 # because $ac_f cannot contain `:'. 23577 test -f "$ac_f" || 23578 case $ac_f in 23579 [\\/$]*) false;; 23580 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 23581 esac || 23582 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 23583 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 23584 { (exit 1); exit 1; }; };; 23585 esac 23586 ac_file_inputs="$ac_file_inputs $ac_f" 23587 done 23588 23589 # Let's still pretend it is `configure' which instantiates (i.e., don't 23590 # use $as_me), people would be surprised to read: 23591 # /* config.h. Generated by config.status. */ 23592 configure_input="Generated from "`IFS=: 23593 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 23594 if test x"$ac_file" != x-; then 23595 configure_input="$ac_file. $configure_input" 23596 { echo "$as_me:$LINENO: creating $ac_file" >&5 23597 echo "$as_me: creating $ac_file" >&6;} 23598 fi 23599 23600 case $ac_tag in 23601 *:-:* | *:-) cat >"$tmp/stdin";; 23602 esac 23603 ;; 23604 esac 23605 23606 ac_dir=`$as_dirname -- "$ac_file" || 23607 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 23608 X"$ac_file" : 'X\(//\)[^/]' \| \ 23609 X"$ac_file" : 'X\(//\)$' \| \ 23610 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 23611 echo X"$ac_file" | 23612 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 23613 s//\1/ 23614 q 23615 } 23616 /^X\(\/\/\)[^/].*/{ 23617 s//\1/ 23618 q 23619 } 23620 /^X\(\/\/\)$/{ 23621 s//\1/ 23622 q 23623 } 23624 /^X\(\/\).*/{ 23625 s//\1/ 23626 q 23627 } 23628 s/.*/./; q'` 23629 { as_dir="$ac_dir" 23630 case $as_dir in #( 23631 -*) as_dir=./$as_dir;; 23632 esac 23633 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 23634 as_dirs= 23635 while :; do 23636 case $as_dir in #( 23637 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 23638 *) as_qdir=$as_dir;; 23639 esac 23640 as_dirs="'$as_qdir' $as_dirs" 23641 as_dir=`$as_dirname -- "$as_dir" || 23642 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 23643 X"$as_dir" : 'X\(//\)[^/]' \| \ 23644 X"$as_dir" : 'X\(//\)$' \| \ 23645 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 23646 echo X"$as_dir" | 23647 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 23648 s//\1/ 23649 q 23650 } 23651 /^X\(\/\/\)[^/].*/{ 23652 s//\1/ 23653 q 23654 } 23655 /^X\(\/\/\)$/{ 23656 s//\1/ 23657 q 23658 } 23659 /^X\(\/\).*/{ 23660 s//\1/ 23661 q 23662 } 23663 s/.*/./; q'` 23664 test -d "$as_dir" && break 23665 done 23666 test -z "$as_dirs" || eval "mkdir $as_dirs" 23667 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 23668 echo "$as_me: error: cannot create directory $as_dir" >&2;} 23669 { (exit 1); exit 1; }; }; } 23670 ac_builddir=. 23671 23672 case "$ac_dir" in 23673 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 23674 *) 23675 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 23676 # A ".." for each directory in $ac_dir_suffix. 23677 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 23678 case $ac_top_builddir_sub in 23679 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 23680 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 23681 esac ;; 23682 esac 23683 ac_abs_top_builddir=$ac_pwd 23684 ac_abs_builddir=$ac_pwd$ac_dir_suffix 23685 # for backward compatibility: 23686 ac_top_builddir=$ac_top_build_prefix 23687 23688 case $srcdir in 23689 .) # We are building in place. 23690 ac_srcdir=. 23691 ac_top_srcdir=$ac_top_builddir_sub 23692 ac_abs_top_srcdir=$ac_pwd ;; 23693 [\\/]* | ?:[\\/]* ) # Absolute name. 23694 ac_srcdir=$srcdir$ac_dir_suffix; 23695 ac_top_srcdir=$srcdir 23696 ac_abs_top_srcdir=$srcdir ;; 23697 *) # Relative name. 23698 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 23699 ac_top_srcdir=$ac_top_build_prefix$srcdir 23700 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 23701 esac 23702 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 23703 23704 23705 case $ac_mode in 23706 :F) 23707 # 23708 # CONFIG_FILE 23709 # 23710 23711 case $INSTALL in 23712 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 23713 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 23714 esac 23715 _ACEOF 23716 23717 cat >>$CONFIG_STATUS <<\_ACEOF 23718 # If the template does not know about datarootdir, expand it. 23719 # FIXME: This hack should be removed a few years after 2.60. 23720 ac_datarootdir_hack=; ac_datarootdir_seen= 23721 23722 case `sed -n '/datarootdir/ { 23723 p 23724 q 23725 } 23726 /@datadir@/p 23727 /@docdir@/p 23728 /@infodir@/p 23729 /@localedir@/p 23730 /@mandir@/p 23731 ' $ac_file_inputs` in 23732 *datarootdir*) ac_datarootdir_seen=yes;; 23733 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 23734 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 23735 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 23736 _ACEOF 23737 cat >>$CONFIG_STATUS <<_ACEOF 23738 ac_datarootdir_hack=' 23739 s&@datadir@&$datadir&g 23740 s&@docdir@&$docdir&g 23741 s&@infodir@&$infodir&g 23742 s&@localedir@&$localedir&g 23743 s&@mandir@&$mandir&g 23744 s&\\\${datarootdir}&$datarootdir&g' ;; 23745 esac 23746 _ACEOF 23747 23748 # Neutralize VPATH when `$srcdir' = `.'. 23749 # Shell code in configure.ac might set extrasub. 23750 # FIXME: do we really want to maintain this feature? 23751 cat >>$CONFIG_STATUS <<_ACEOF 23752 sed "$ac_vpsub 23753 $extrasub 23754 _ACEOF 23755 cat >>$CONFIG_STATUS <<\_ACEOF 23756 :t 23757 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 23758 s&@configure_input@&$configure_input&;t t 23759 s&@top_builddir@&$ac_top_builddir_sub&;t t 23760 s&@srcdir@&$ac_srcdir&;t t 23761 s&@abs_srcdir@&$ac_abs_srcdir&;t t 23762 s&@top_srcdir@&$ac_top_srcdir&;t t 23763 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 23764 s&@builddir@&$ac_builddir&;t t 23765 s&@abs_builddir@&$ac_abs_builddir&;t t 23766 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 23767 s&@INSTALL@&$ac_INSTALL&;t t 23768 $ac_datarootdir_hack 23769 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out 23770 23771 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 23772 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 23773 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 23774 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 23775 which seems to be undefined. Please make sure it is defined." >&5 23776 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 23777 which seems to be undefined. Please make sure it is defined." >&2;} 23778 23779 rm -f "$tmp/stdin" 23780 case $ac_file in 23781 -) cat "$tmp/out"; rm -f "$tmp/out";; 23782 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 23783 esac 23784 ;; 23785 :H) 23786 # 23787 # CONFIG_HEADER 23788 # 23789 _ACEOF 23790 23791 # Transform confdefs.h into a sed script `conftest.defines', that 23792 # substitutes the proper values into config.h.in to produce config.h. 23793 rm -f conftest.defines conftest.tail 23794 # First, append a space to every undef/define line, to ease matching. 23795 echo 's/$/ /' >conftest.defines 23796 # Then, protect against being on the right side of a sed subst, or in 23797 # an unquoted here document, in config.status. If some macros were 23798 # called several times there might be several #defines for the same 23799 # symbol, which is useless. But do not sort them, since the last 23800 # AC_DEFINE must be honored. 23801 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 23802 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 23803 # NAME is the cpp macro being defined, VALUE is the value it is being given. 23804 # PARAMS is the parameter list in the macro definition--in most cases, it's 23805 # just an empty string. 23806 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 23807 ac_dB='\\)[ (].*,\\1define\\2' 23808 ac_dC=' ' 23809 ac_dD=' ,' 23810 23811 uniq confdefs.h | 23812 sed -n ' 23813 t rset 23814 :rset 23815 s/^[ ]*#[ ]*define[ ][ ]*// 23816 t ok 23817 d 23818 :ok 23819 s/[\\&,]/\\&/g 23820 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 23821 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 23822 ' >>conftest.defines 23823 23824 # Remove the space that was appended to ease matching. 23825 # Then replace #undef with comments. This is necessary, for 23826 # example, in the case of _POSIX_SOURCE, which is predefined and required 23827 # on some systems where configure will not decide to define it. 23828 # (The regexp can be short, since the line contains either #define or #undef.) 23829 echo 's/ $// 23830 s,^[ #]*u.*,/* & */,' >>conftest.defines 23831 23832 # Break up conftest.defines: 23833 ac_max_sed_lines=50 23834 23835 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" 23836 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" 23837 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" 23838 # et cetera. 23839 ac_in='$ac_file_inputs' 23840 ac_out='"$tmp/out1"' 23841 ac_nxt='"$tmp/out2"' 23842 23843 while : 23844 do 23845 # Write a here document: 23846 cat >>$CONFIG_STATUS <<_ACEOF 23847 # First, check the format of the line: 23848 cat >"\$tmp/defines.sed" <<\\CEOF 23849 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def 23850 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 23851 b 23852 :def 23853 _ACEOF 23854 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 23855 echo 'CEOF 23856 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 23857 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 23858 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 23859 grep . conftest.tail >/dev/null || break 23860 rm -f conftest.defines 23861 mv conftest.tail conftest.defines 23862 done 23863 rm -f conftest.defines conftest.tail 23864 23865 echo "ac_result=$ac_in" >>$CONFIG_STATUS 23866 cat >>$CONFIG_STATUS <<\_ACEOF 23867 if test x"$ac_file" != x-; then 23868 echo "/* $configure_input */" >"$tmp/config.h" 23869 cat "$ac_result" >>"$tmp/config.h" 23870 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 23871 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 23872 echo "$as_me: $ac_file is unchanged" >&6;} 23873 else 23874 rm -f $ac_file 23875 mv "$tmp/config.h" $ac_file 23876 fi 23877 else 23878 echo "/* $configure_input */" 23879 cat "$ac_result" 23880 fi 23881 rm -f "$tmp/out12" 23882 # Compute $ac_file's index in $config_headers. 23883 _am_stamp_count=1 23884 for _am_header in $config_headers :; do 23885 case $_am_header in 23886 $ac_file | $ac_file:* ) 23887 break ;; 23888 * ) 23889 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 23890 esac 23891 done 23892 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file || 23893 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 23894 X$ac_file : 'X\(//\)[^/]' \| \ 23895 X$ac_file : 'X\(//\)$' \| \ 23896 X$ac_file : 'X\(/\)' \| . 2>/dev/null || 23897 echo X$ac_file | 23898 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 23899 s//\1/ 23900 q 23901 } 23902 /^X\(\/\/\)[^/].*/{ 23903 s//\1/ 23904 q 23905 } 23906 /^X\(\/\/\)$/{ 23907 s//\1/ 23908 q 23909 } 23910 /^X\(\/\).*/{ 23911 s//\1/ 23912 q 23913 } 23914 s/.*/./; q'`/stamp-h$_am_stamp_count 23915 ;; 23916 23917 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 23918 echo "$as_me: executing $ac_file commands" >&6;} 23919 ;; 23920 esac 23921 23922 23923 case $ac_file$ac_mode in 23924 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 23925 # Strip MF so we end up with the name of the file. 23926 mf=`echo "$mf" | sed -e 's/:.*$//'` 23927 # Check whether this is an Automake generated Makefile or not. 23928 # We used to match only the files named `Makefile.in', but 23929 # some people rename them; so instead we look at the file content. 23930 # Grep'ing the first line is not enough: some people post-process 23931 # each Makefile.in and add a new line on top of each file to say so. 23932 # So let's grep whole file. 23933 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 23934 dirpart=`$as_dirname -- "$mf" || 23935 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 23936 X"$mf" : 'X\(//\)[^/]' \| \ 23937 X"$mf" : 'X\(//\)$' \| \ 23938 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 23939 echo X"$mf" | 23940 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 23941 s//\1/ 23942 q 23943 } 23944 /^X\(\/\/\)[^/].*/{ 23945 s//\1/ 23946 q 23947 } 23948 /^X\(\/\/\)$/{ 23949 s//\1/ 23950 q 23951 } 23952 /^X\(\/\).*/{ 23953 s//\1/ 23954 q 23955 } 23956 s/.*/./; q'` 23957 else 23958 continue 23959 fi 23960 # Extract the definition of DEPDIR, am__include, and am__quote 23961 # from the Makefile without running `make'. 23962 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 23963 test -z "$DEPDIR" && continue 23964 am__include=`sed -n 's/^am__include = //p' < "$mf"` 23965 test -z "am__include" && continue 23966 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 23967 # When using ansi2knr, U may be empty or an underscore; expand it 23968 U=`sed -n 's/^U = //p' < "$mf"` 23969 # Find all dependency output files, they are included files with 23970 # $(DEPDIR) in their names. We invoke sed twice because it is the 23971 # simplest approach to changing $(DEPDIR) to its actual value in the 23972 # expansion. 23973 for file in `sed -n " 23974 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 23975 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 23976 # Make sure the directory exists. 23977 test -f "$dirpart/$file" && continue 23978 fdir=`$as_dirname -- "$file" || 23979 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 23980 X"$file" : 'X\(//\)[^/]' \| \ 23981 X"$file" : 'X\(//\)$' \| \ 23982 X"$file" : 'X\(/\)' \| . 2>/dev/null || 23983 echo X"$file" | 23984 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 23985 s//\1/ 23986 q 23987 } 23988 /^X\(\/\/\)[^/].*/{ 23989 s//\1/ 23990 q 23991 } 23992 /^X\(\/\/\)$/{ 23993 s//\1/ 23994 q 23995 } 23996 /^X\(\/\).*/{ 23997 s//\1/ 23998 q 23999 } 24000 s/.*/./; q'` 24001 { as_dir=$dirpart/$fdir 24002 case $as_dir in #( 24003 -*) as_dir=./$as_dir;; 24004 esac 24005 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 24006 as_dirs= 24007 while :; do 24008 case $as_dir in #( 24009 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 24010 *) as_qdir=$as_dir;; 24011 esac 24012 as_dirs="'$as_qdir' $as_dirs" 24013 as_dir=`$as_dirname -- "$as_dir" || 24014 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 24015 X"$as_dir" : 'X\(//\)[^/]' \| \ 24016 X"$as_dir" : 'X\(//\)$' \| \ 24017 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 24018 echo X"$as_dir" | 24019 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 24020 s//\1/ 24021 q 24022 } 24023 /^X\(\/\/\)[^/].*/{ 24024 s//\1/ 24025 q 24026 } 24027 /^X\(\/\/\)$/{ 24028 s//\1/ 24029 q 24030 } 24031 /^X\(\/\).*/{ 24032 s//\1/ 24033 q 24034 } 24035 s/.*/./; q'` 24036 test -d "$as_dir" && break 24037 done 24038 test -z "$as_dirs" || eval "mkdir $as_dirs" 24039 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 24040 echo "$as_me: error: cannot create directory $as_dir" >&2;} 24041 { (exit 1); exit 1; }; }; } 24042 # echo "creating $dirpart/$file" 24043 echo '# dummy' > "$dirpart/$file" 24044 done 24045 done 24046 ;; 24047 24048 esac 24049 done # for ac_tag 24050 24051 24052 { (exit 0); exit 0; } 24053 _ACEOF 24054 chmod +x $CONFIG_STATUS 24055 ac_clean_files=$ac_clean_files_save 24056 24057 24058 # configure is writing to config.log, and then calls config.status. 24059 # config.status does its own redirection, appending to config.log. 24060 # Unfortunately, on DOS this fails, as config.log is still kept open 24061 # by configure, so config.status won't be able to write to it; its 24062 # output is simply discarded. So we exec the FD to /dev/null, 24063 # effectively closing config.log, so it can be properly (re)opened and 24064 # appended to by config.status. When coming back to configure, we 24065 # need to make the FD available again. 24066 if test "$no_create" != yes; then 24067 ac_cs_success=: 24068 ac_config_status_args= 24069 test "$silent" = yes && 24070 ac_config_status_args="$ac_config_status_args --quiet" 24071 exec 5>/dev/null 24072 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 24073 exec 5>>config.log 24074 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 24075 # would make configure fail if this is the last instruction. 24076 $ac_cs_success || { (exit 1); exit 1; } 24077 fi 24078 24079 24080 echo "Creating asoundlib.h..." 24081 cp "$srcdir"/include/asoundlib-head.h include/asoundlib.h 24082 test "$build_pcm" = "yes" && echo "#include <alsa/pcm.h>" >> include/asoundlib.h 24083 test "$build_rawmidi" = "yes" && echo "#include <alsa/rawmidi.h>" >> include/asoundlib.h 24084 test "$build_pcm" = "yes" && echo "#include <alsa/timer.h>" >> include/asoundlib.h 24085 test "$build_hwdep" = "yes" && echo "#include <alsa/hwdep.h>" >> include/asoundlib.h 24086 echo "#include <alsa/control.h>" >> include/asoundlib.h 24087 test "$build_mixer" = "yes" && echo "#include <alsa/mixer.h>" >> include/asoundlib.h 24088 test "$build_seq" = "yes" && echo "#include <alsa/seq_event.h>" >> include/asoundlib.h 24089 test "$build_seq" = "yes" && echo "#include <alsa/seq.h>" >> include/asoundlib.h 24090 test "$build_seq" = "yes" && echo "#include <alsa/seqmid.h>" >> include/asoundlib.h 24091 test "$build_seq" = "yes" && echo "#include <alsa/seq_midi_event.h>" >> include/asoundlib.h 24092 cat "$srcdir"/include/asoundlib-tail.h >> include/asoundlib.h 24093 24094