1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.62 for dvdid 0.2.0a. 4# 5# Report bugs to <cjk32@cam.ac.uk>. 6# 7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## --------------------- ## 12## M4sh Initialization. ## 13## --------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 27esac 28 29fi 30 31 32 33 34# PATH needs CR 35# Avoid depending upon Character Ranges. 36as_cr_letters='abcdefghijklmnopqrstuvwxyz' 37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38as_cr_Letters=$as_cr_letters$as_cr_LETTERS 39as_cr_digits='0123456789' 40as_cr_alnum=$as_cr_Letters$as_cr_digits 41 42as_nl=' 43' 44export as_nl 45# Printing a long string crashes Solaris 7 /usr/bin/printf. 46as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 47as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 48as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 49if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83# Support unset when possible. 84if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 85 as_unset=unset 86else 87 as_unset=false 88fi 89 90 91# IFS 92# We need space, tab and new line, in precisely that order. Quoting is 93# there to prevent editors from complaining about space-tab. 94# (If _AS_PATH_WALK were called with IFS unset, it would disable word 95# splitting by setting IFS to empty value.) 96IFS=" "" $as_nl" 97 98# Find who we are. Look in the path if we contain no directory separator. 99case $0 in 100 *[\\/]* ) as_myself=$0 ;; 101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 102for as_dir in $PATH 103do 104 IFS=$as_save_IFS 105 test -z "$as_dir" && as_dir=. 106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 107done 108IFS=$as_save_IFS 109 110 ;; 111esac 112# We did not find ourselves, most probably we were run as `sh COMMAND' 113# in which case we are not to be found in the path. 114if test "x$as_myself" = x; then 115 as_myself=$0 116fi 117if test ! -f "$as_myself"; then 118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 119 { (exit 1); exit 1; } 120fi 121 122# Work around bugs in pre-3.0 UWIN ksh. 123for as_var in ENV MAIL MAILPATH 124do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 125done 126PS1='$ ' 127PS2='> ' 128PS4='+ ' 129 130# NLS nuisances. 131LC_ALL=C 132export LC_ALL 133LANGUAGE=C 134export LANGUAGE 135 136# Required to use basename. 137if expr a : '\(a\)' >/dev/null 2>&1 && 138 test "X`expr 00001 : '.*\(...\)'`" = X001; then 139 as_expr=expr 140else 141 as_expr=false 142fi 143 144if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 145 as_basename=basename 146else 147 as_basename=false 148fi 149 150 151# Name of the executable. 152as_me=`$as_basename -- "$0" || 153$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 154 X"$0" : 'X\(//\)$' \| \ 155 X"$0" : 'X\(/\)' \| . 2>/dev/null || 156$as_echo X/"$0" | 157 sed '/^.*\/\([^/][^/]*\)\/*$/{ 158 s//\1/ 159 q 160 } 161 /^X\/\(\/\/\)$/{ 162 s//\1/ 163 q 164 } 165 /^X\/\(\/\).*/{ 166 s//\1/ 167 q 168 } 169 s/.*/./; q'` 170 171# CDPATH. 172$as_unset CDPATH 173 174 175if test "x$CONFIG_SHELL" = x; then 176 if (eval ":") 2>/dev/null; then 177 as_have_required=yes 178else 179 as_have_required=no 180fi 181 182 if test $as_have_required = yes && (eval ": 183(as_func_return () { 184 (exit \$1) 185} 186as_func_success () { 187 as_func_return 0 188} 189as_func_failure () { 190 as_func_return 1 191} 192as_func_ret_success () { 193 return 0 194} 195as_func_ret_failure () { 196 return 1 197} 198 199exitcode=0 200if as_func_success; then 201 : 202else 203 exitcode=1 204 echo as_func_success failed. 205fi 206 207if as_func_failure; then 208 exitcode=1 209 echo as_func_failure succeeded. 210fi 211 212if as_func_ret_success; then 213 : 214else 215 exitcode=1 216 echo as_func_ret_success failed. 217fi 218 219if as_func_ret_failure; then 220 exitcode=1 221 echo as_func_ret_failure succeeded. 222fi 223 224if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 225 : 226else 227 exitcode=1 228 echo positional parameters were not saved. 229fi 230 231test \$exitcode = 0) || { (exit 1); exit 1; } 232 233( 234 as_lineno_1=\$LINENO 235 as_lineno_2=\$LINENO 236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 238") 2> /dev/null; then 239 : 240else 241 as_candidate_shells= 242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 243for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 244do 245 IFS=$as_save_IFS 246 test -z "$as_dir" && as_dir=. 247 case $as_dir in 248 /*) 249 for as_base in sh bash ksh sh5; do 250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 251 done;; 252 esac 253done 254IFS=$as_save_IFS 255 256 257 for as_shell in $as_candidate_shells $SHELL; do 258 # Try only shells that exist, to save several forks. 259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 260 { ("$as_shell") 2> /dev/null <<\_ASEOF 261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271esac 272 273fi 274 275 276: 277_ASEOF 278}; then 279 CONFIG_SHELL=$as_shell 280 as_have_required=yes 281 if { "$as_shell" 2> /dev/null <<\_ASEOF 282if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 283 emulate sh 284 NULLCMD=: 285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 286 # is contrary to our usage. Disable this feature. 287 alias -g '${1+"$@"}'='"$@"' 288 setopt NO_GLOB_SUBST 289else 290 case `(set -o) 2>/dev/null` in 291 *posix*) set -o posix ;; 292esac 293 294fi 295 296 297: 298(as_func_return () { 299 (exit $1) 300} 301as_func_success () { 302 as_func_return 0 303} 304as_func_failure () { 305 as_func_return 1 306} 307as_func_ret_success () { 308 return 0 309} 310as_func_ret_failure () { 311 return 1 312} 313 314exitcode=0 315if as_func_success; then 316 : 317else 318 exitcode=1 319 echo as_func_success failed. 320fi 321 322if as_func_failure; then 323 exitcode=1 324 echo as_func_failure succeeded. 325fi 326 327if as_func_ret_success; then 328 : 329else 330 exitcode=1 331 echo as_func_ret_success failed. 332fi 333 334if as_func_ret_failure; then 335 exitcode=1 336 echo as_func_ret_failure succeeded. 337fi 338 339if ( set x; as_func_ret_success y && test x = "$1" ); then 340 : 341else 342 exitcode=1 343 echo positional parameters were not saved. 344fi 345 346test $exitcode = 0) || { (exit 1); exit 1; } 347 348( 349 as_lineno_1=$LINENO 350 as_lineno_2=$LINENO 351 test "x$as_lineno_1" != "x$as_lineno_2" && 352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 353 354_ASEOF 355}; then 356 break 357fi 358 359fi 360 361 done 362 363 if test "x$CONFIG_SHELL" != x; then 364 for as_var in BASH_ENV ENV 365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 366 done 367 export CONFIG_SHELL 368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 369fi 370 371 372 if test $as_have_required = no; then 373 echo This script requires a shell more modern than all the 374 echo shells that I found on your system. Please install a 375 echo modern shell, or manually run the script under such a 376 echo shell if you do have one. 377 { (exit 1); exit 1; } 378fi 379 380 381fi 382 383fi 384 385 386 387(eval "as_func_return () { 388 (exit \$1) 389} 390as_func_success () { 391 as_func_return 0 392} 393as_func_failure () { 394 as_func_return 1 395} 396as_func_ret_success () { 397 return 0 398} 399as_func_ret_failure () { 400 return 1 401} 402 403exitcode=0 404if as_func_success; then 405 : 406else 407 exitcode=1 408 echo as_func_success failed. 409fi 410 411if as_func_failure; then 412 exitcode=1 413 echo as_func_failure succeeded. 414fi 415 416if as_func_ret_success; then 417 : 418else 419 exitcode=1 420 echo as_func_ret_success failed. 421fi 422 423if as_func_ret_failure; then 424 exitcode=1 425 echo as_func_ret_failure succeeded. 426fi 427 428if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 429 : 430else 431 exitcode=1 432 echo positional parameters were not saved. 433fi 434 435test \$exitcode = 0") || { 436 echo No shell found that supports shell functions. 437 echo Please tell bug-autoconf@gnu.org about your system, 438 echo including any error possibly output before this message. 439 echo This can help us improve future autoconf versions. 440 echo Configuration will now proceed without shell functions. 441} 442 443 444 445 as_lineno_1=$LINENO 446 as_lineno_2=$LINENO 447 test "x$as_lineno_1" != "x$as_lineno_2" && 448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 449 450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 451 # uniformly replaced by the line number. The first 'sed' inserts a 452 # line-number line after each line using $LINENO; the second 'sed' 453 # does the real work. The second script uses 'N' to pair each 454 # line-number line with the line containing $LINENO, and appends 455 # trailing '-' during substitution so that $LINENO is not a special 456 # case at line end. 457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 458 # scripts with optimization help from Paolo Bonzini. Blame Lee 459 # E. McMahon (1931-1989) for sed's syntax. :-) 460 sed -n ' 461 p 462 /[$]LINENO/= 463 ' <$as_myself | 464 sed ' 465 s/[$]LINENO.*/&-/ 466 t lineno 467 b 468 :lineno 469 N 470 :loop 471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 472 t loop 473 s/-\n.*// 474 ' >$as_me.lineno && 475 chmod +x "$as_me.lineno" || 476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 477 { (exit 1); exit 1; }; } 478 479 # Don't try to exec as it changes $[0], causing all sort of problems 480 # (the dirname of $[0] is not the place where we might find the 481 # original and so on. Autoconf is especially sensitive to this). 482 . "./$as_me.lineno" 483 # Exit status is that of the last command. 484 exit 485} 486 487 488if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 489 as_dirname=dirname 490else 491 as_dirname=false 492fi 493 494ECHO_C= ECHO_N= ECHO_T= 495case `echo -n x` in 496-n*) 497 case `echo 'x\c'` in 498 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 499 *) ECHO_C='\c';; 500 esac;; 501*) 502 ECHO_N='-n';; 503esac 504if expr a : '\(a\)' >/dev/null 2>&1 && 505 test "X`expr 00001 : '.*\(...\)'`" = X001; then 506 as_expr=expr 507else 508 as_expr=false 509fi 510 511rm -f conf$$ conf$$.exe conf$$.file 512if test -d conf$$.dir; then 513 rm -f conf$$.dir/conf$$.file 514else 515 rm -f conf$$.dir 516 mkdir conf$$.dir 2>/dev/null 517fi 518if (echo >conf$$.file) 2>/dev/null; then 519 if ln -s conf$$.file conf$$ 2>/dev/null; then 520 as_ln_s='ln -s' 521 # ... but there are two gotchas: 522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 524 # In both cases, we have to default to `cp -p'. 525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 526 as_ln_s='cp -p' 527 elif ln conf$$.file conf$$ 2>/dev/null; then 528 as_ln_s=ln 529 else 530 as_ln_s='cp -p' 531 fi 532else 533 as_ln_s='cp -p' 534fi 535rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 536rmdir conf$$.dir 2>/dev/null 537 538if mkdir -p . 2>/dev/null; then 539 as_mkdir_p=: 540else 541 test -d ./-p && rmdir ./-p 542 as_mkdir_p=false 543fi 544 545if test -x / >/dev/null 2>&1; then 546 as_test_x='test -x' 547else 548 if ls -dL / >/dev/null 2>&1; then 549 as_ls_L_option=L 550 else 551 as_ls_L_option= 552 fi 553 as_test_x=' 554 eval sh -c '\'' 555 if test -d "$1"; then 556 test -d "$1/."; 557 else 558 case $1 in 559 -*)set "./$1";; 560 esac; 561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 562 ???[sx]*):;;*)false;;esac;fi 563 '\'' sh 564 ' 565fi 566as_executable_p=$as_test_x 567 568# Sed expression to map a string onto a valid CPP name. 569as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 570 571# Sed expression to map a string onto a valid variable name. 572as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 573 574 575 576 577# Check that we are running under the correct shell. 578SHELL=${CONFIG_SHELL-/bin/sh} 579 580case X$lt_ECHO in 581X*--fallback-echo) 582 # Remove one level of quotation (which was required for Make). 583 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` 584 ;; 585esac 586 587ECHO=${lt_ECHO-echo} 588if test "X$1" = X--no-reexec; then 589 # Discard the --no-reexec flag, and continue. 590 shift 591elif test "X$1" = X--fallback-echo; then 592 # Avoid inline document here, it may be left over 593 : 594elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then 595 # Yippee, $ECHO works! 596 : 597else 598 # Restart under the correct shell. 599 exec $SHELL "$0" --no-reexec ${1+"$@"} 600fi 601 602if test "X$1" = X--fallback-echo; then 603 # used as fallback echo 604 shift 605 cat <<_LT_EOF 606$* 607_LT_EOF 608 exit 0 609fi 610 611# The HP-UX ksh and POSIX shell print the target directory to stdout 612# if CDPATH is set. 613(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 614 615if test -z "$lt_ECHO"; then 616 if test "X${echo_test_string+set}" != Xset; then 617 # find a string as large as possible, as long as the shell can cope with it 618 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do 619 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 620 if { echo_test_string=`eval $cmd`; } 2>/dev/null && 621 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null 622 then 623 break 624 fi 625 done 626 fi 627 628 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 629 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 630 test "X$echo_testing_string" = "X$echo_test_string"; then 631 : 632 else 633 # The Solaris, AIX, and Digital Unix default echo programs unquote 634 # backslashes. This makes it impossible to quote backslashes using 635 # echo "$something" | sed 's/\\/\\\\/g' 636 # 637 # So, first we look for a working echo in the user's PATH. 638 639 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 640 for dir in $PATH /usr/ucb; do 641 IFS="$lt_save_ifs" 642 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && 643 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && 644 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && 645 test "X$echo_testing_string" = "X$echo_test_string"; then 646 ECHO="$dir/echo" 647 break 648 fi 649 done 650 IFS="$lt_save_ifs" 651 652 if test "X$ECHO" = Xecho; then 653 # We didn't find a better echo, so look for alternatives. 654 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && 655 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && 656 test "X$echo_testing_string" = "X$echo_test_string"; then 657 # This shell has a builtin print -r that does the trick. 658 ECHO='print -r' 659 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && 660 test "X$CONFIG_SHELL" != X/bin/ksh; then 661 # If we have ksh, try running configure again with it. 662 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 663 export ORIGINAL_CONFIG_SHELL 664 CONFIG_SHELL=/bin/ksh 665 export CONFIG_SHELL 666 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} 667 else 668 # Try using printf. 669 ECHO='printf %s\n' 670 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 671 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 672 test "X$echo_testing_string" = "X$echo_test_string"; then 673 # Cool, printf works 674 : 675 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 676 test "X$echo_testing_string" = 'X\t' && 677 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 678 test "X$echo_testing_string" = "X$echo_test_string"; then 679 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL 680 export CONFIG_SHELL 681 SHELL="$CONFIG_SHELL" 682 export SHELL 683 ECHO="$CONFIG_SHELL $0 --fallback-echo" 684 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 685 test "X$echo_testing_string" = 'X\t' && 686 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 687 test "X$echo_testing_string" = "X$echo_test_string"; then 688 ECHO="$CONFIG_SHELL $0 --fallback-echo" 689 else 690 # maybe with a smaller string... 691 prev=: 692 693 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do 694 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null 695 then 696 break 697 fi 698 prev="$cmd" 699 done 700 701 if test "$prev" != 'sed 50q "$0"'; then 702 echo_test_string=`eval $prev` 703 export echo_test_string 704 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} 705 else 706 # Oops. We lost completely, so just stick with echo. 707 ECHO=echo 708 fi 709 fi 710 fi 711 fi 712 fi 713fi 714 715# Copy echo and quote the copy suitably for passing to libtool from 716# the Makefile, instead of quoting the original, which is used later. 717lt_ECHO=$ECHO 718if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then 719 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" 720fi 721 722 723 724 725exec 7<&0 </dev/null 6>&1 726 727# Name of the host. 728# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 729# so uname gets run too. 730ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 731 732# 733# Initializations. 734# 735ac_default_prefix=/usr/local 736ac_clean_files= 737ac_config_libobj_dir=. 738LIBOBJS= 739cross_compiling=no 740subdirs= 741MFLAGS= 742MAKEFLAGS= 743SHELL=${CONFIG_SHELL-/bin/sh} 744 745# Identity of this package. 746PACKAGE_NAME='dvdid' 747PACKAGE_TARNAME='dvdid' 748PACKAGE_VERSION='0.2.0a' 749PACKAGE_STRING='dvdid 0.2.0a' 750PACKAGE_BUGREPORT='cjk32@cam.ac.uk' 751 752ac_unique_file="src/dvdid/main.c" 753# Factoring default headers for most tests. 754ac_includes_default="\ 755#include <stdio.h> 756#ifdef HAVE_SYS_TYPES_H 757# include <sys/types.h> 758#endif 759#ifdef HAVE_SYS_STAT_H 760# include <sys/stat.h> 761#endif 762#ifdef STDC_HEADERS 763# include <stdlib.h> 764# include <stddef.h> 765#else 766# ifdef HAVE_STDLIB_H 767# include <stdlib.h> 768# endif 769#endif 770#ifdef HAVE_STRING_H 771# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 772# include <memory.h> 773# endif 774# include <string.h> 775#endif 776#ifdef HAVE_STRINGS_H 777# include <strings.h> 778#endif 779#ifdef HAVE_INTTYPES_H 780# include <inttypes.h> 781#endif 782#ifdef HAVE_STDINT_H 783# include <stdint.h> 784#endif 785#ifdef HAVE_UNISTD_H 786# include <unistd.h> 787#endif" 788 789ac_subst_vars='SHELL 790PATH_SEPARATOR 791PACKAGE_NAME 792PACKAGE_TARNAME 793PACKAGE_VERSION 794PACKAGE_STRING 795PACKAGE_BUGREPORT 796exec_prefix 797prefix 798program_transform_name 799bindir 800sbindir 801libexecdir 802datarootdir 803datadir 804sysconfdir 805sharedstatedir 806localstatedir 807includedir 808oldincludedir 809docdir 810infodir 811htmldir 812dvidir 813pdfdir 814psdir 815libdir 816localedir 817mandir 818DEFS 819ECHO_C 820ECHO_N 821ECHO_T 822LIBS 823build_alias 824host_alias 825target_alias 826INSTALL_PROGRAM 827INSTALL_SCRIPT 828INSTALL_DATA 829am__isrc 830CYGPATH_W 831PACKAGE 832VERSION 833ACLOCAL 834AUTOCONF 835AUTOMAKE 836AUTOHEADER 837MAKEINFO 838install_sh 839STRIP 840INSTALL_STRIP_PROGRAM 841MKDIR_P 842mkdir_p 843AWK 844SET_MAKE 845am__leading_dot 846AMTAR 847am__tar 848am__untar 849CC 850CFLAGS 851LDFLAGS 852CPPFLAGS 853ac_ct_CC 854EXEEXT 855OBJEXT 856DEPDIR 857am__include 858am__quote 859AMDEP_TRUE 860AMDEP_FALSE 861AMDEPBACKSLASH 862CCDEPMODE 863am__fastdepCC_TRUE 864am__fastdepCC_FALSE 865LIBTOOL 866build 867build_cpu 868build_vendor 869build_os 870host 871host_cpu 872host_vendor 873host_os 874SED 875GREP 876EGREP 877FGREP 878LD 879DUMPBIN 880ac_ct_DUMPBIN 881NM 882LN_S 883OBJDUMP 884AR 885RANLIB 886lt_ECHO 887DSYMUTIL 888NMEDIT 889LIPO 890OTOOL 891OTOOL64 892CPP 893ZIP 894LIBOBJS 895WINDIST_BINPATH 896WINDIST_CONFIG 897WINDIST_PLATFORM 898WINDIST_DEV_CONFIG 899WINDIST_DEV_PLATFORM 900LTLIBOBJS' 901ac_subst_files='' 902ac_user_opts=' 903enable_option_checking 904enable_dependency_tracking 905enable_shared 906enable_static 907with_pic 908enable_fast_install 909with_gnu_ld 910enable_libtool_lock 911with_windist_binpath 912with_windist_config 913with_windist_platform 914with_windist_dev_config 915with_windist_dev_platform 916' 917 ac_precious_vars='build_alias 918host_alias 919target_alias 920CC 921CFLAGS 922LDFLAGS 923LIBS 924CPPFLAGS 925CPP' 926 927 928# Initialize some variables set by options. 929ac_init_help= 930ac_init_version=false 931ac_unrecognized_opts= 932ac_unrecognized_sep= 933# The variables have the same names as the options, with 934# dashes changed to underlines. 935cache_file=/dev/null 936exec_prefix=NONE 937no_create= 938no_recursion= 939prefix=NONE 940program_prefix=NONE 941program_suffix=NONE 942program_transform_name=s,x,x, 943silent= 944site= 945srcdir= 946verbose= 947x_includes=NONE 948x_libraries=NONE 949 950# Installation directory options. 951# These are left unexpanded so users can "make install exec_prefix=/foo" 952# and all the variables that are supposed to be based on exec_prefix 953# by default will actually change. 954# Use braces instead of parens because sh, perl, etc. also accept them. 955# (The list follows the same order as the GNU Coding Standards.) 956bindir='${exec_prefix}/bin' 957sbindir='${exec_prefix}/sbin' 958libexecdir='${exec_prefix}/libexec' 959datarootdir='${prefix}/share' 960datadir='${datarootdir}' 961sysconfdir='${prefix}/etc' 962sharedstatedir='${prefix}/com' 963localstatedir='${prefix}/var' 964includedir='${prefix}/include' 965oldincludedir='/usr/include' 966docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 967infodir='${datarootdir}/info' 968htmldir='${docdir}' 969dvidir='${docdir}' 970pdfdir='${docdir}' 971psdir='${docdir}' 972libdir='${exec_prefix}/lib' 973localedir='${datarootdir}/locale' 974mandir='${datarootdir}/man' 975 976ac_prev= 977ac_dashdash= 978for ac_option 979do 980 # If the previous option needs an argument, assign it. 981 if test -n "$ac_prev"; then 982 eval $ac_prev=\$ac_option 983 ac_prev= 984 continue 985 fi 986 987 case $ac_option in 988 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 989 *) ac_optarg=yes ;; 990 esac 991 992 # Accept the important Cygnus configure options, so we can diagnose typos. 993 994 case $ac_dashdash$ac_option in 995 --) 996 ac_dashdash=yes ;; 997 998 -bindir | --bindir | --bindi | --bind | --bin | --bi) 999 ac_prev=bindir ;; 1000 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1001 bindir=$ac_optarg ;; 1002 1003 -build | --build | --buil | --bui | --bu) 1004 ac_prev=build_alias ;; 1005 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1006 build_alias=$ac_optarg ;; 1007 1008 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1009 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1010 ac_prev=cache_file ;; 1011 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1012 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1013 cache_file=$ac_optarg ;; 1014 1015 --config-cache | -C) 1016 cache_file=config.cache ;; 1017 1018 -datadir | --datadir | --datadi | --datad) 1019 ac_prev=datadir ;; 1020 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1021 datadir=$ac_optarg ;; 1022 1023 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1024 | --dataroo | --dataro | --datar) 1025 ac_prev=datarootdir ;; 1026 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1027 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1028 datarootdir=$ac_optarg ;; 1029 1030 -disable-* | --disable-*) 1031 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1032 # Reject names that are not valid shell variable names. 1033 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1034 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 1035 { (exit 1); exit 1; }; } 1036 ac_useropt_orig=$ac_useropt 1037 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1038 case $ac_user_opts in 1039 *" 1040"enable_$ac_useropt" 1041"*) ;; 1042 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1043 ac_unrecognized_sep=', ';; 1044 esac 1045 eval enable_$ac_useropt=no ;; 1046 1047 -docdir | --docdir | --docdi | --doc | --do) 1048 ac_prev=docdir ;; 1049 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1050 docdir=$ac_optarg ;; 1051 1052 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1053 ac_prev=dvidir ;; 1054 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1055 dvidir=$ac_optarg ;; 1056 1057 -enable-* | --enable-*) 1058 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1059 # Reject names that are not valid shell variable names. 1060 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1061 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 1062 { (exit 1); exit 1; }; } 1063 ac_useropt_orig=$ac_useropt 1064 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1065 case $ac_user_opts in 1066 *" 1067"enable_$ac_useropt" 1068"*) ;; 1069 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1070 ac_unrecognized_sep=', ';; 1071 esac 1072 eval enable_$ac_useropt=\$ac_optarg ;; 1073 1074 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1075 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1076 | --exec | --exe | --ex) 1077 ac_prev=exec_prefix ;; 1078 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1079 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1080 | --exec=* | --exe=* | --ex=*) 1081 exec_prefix=$ac_optarg ;; 1082 1083 -gas | --gas | --ga | --g) 1084 # Obsolete; use --with-gas. 1085 with_gas=yes ;; 1086 1087 -help | --help | --hel | --he | -h) 1088 ac_init_help=long ;; 1089 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1090 ac_init_help=recursive ;; 1091 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1092 ac_init_help=short ;; 1093 1094 -host | --host | --hos | --ho) 1095 ac_prev=host_alias ;; 1096 -host=* | --host=* | --hos=* | --ho=*) 1097 host_alias=$ac_optarg ;; 1098 1099 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1100 ac_prev=htmldir ;; 1101 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1102 | --ht=*) 1103 htmldir=$ac_optarg ;; 1104 1105 -includedir | --includedir | --includedi | --included | --include \ 1106 | --includ | --inclu | --incl | --inc) 1107 ac_prev=includedir ;; 1108 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1109 | --includ=* | --inclu=* | --incl=* | --inc=*) 1110 includedir=$ac_optarg ;; 1111 1112 -infodir | --infodir | --infodi | --infod | --info | --inf) 1113 ac_prev=infodir ;; 1114 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1115 infodir=$ac_optarg ;; 1116 1117 -libdir | --libdir | --libdi | --libd) 1118 ac_prev=libdir ;; 1119 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1120 libdir=$ac_optarg ;; 1121 1122 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1123 | --libexe | --libex | --libe) 1124 ac_prev=libexecdir ;; 1125 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1126 | --libexe=* | --libex=* | --libe=*) 1127 libexecdir=$ac_optarg ;; 1128 1129 -localedir | --localedir | --localedi | --localed | --locale) 1130 ac_prev=localedir ;; 1131 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1132 localedir=$ac_optarg ;; 1133 1134 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1135 | --localstate | --localstat | --localsta | --localst | --locals) 1136 ac_prev=localstatedir ;; 1137 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1138 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1139 localstatedir=$ac_optarg ;; 1140 1141 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1142 ac_prev=mandir ;; 1143 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1144 mandir=$ac_optarg ;; 1145 1146 -nfp | --nfp | --nf) 1147 # Obsolete; use --without-fp. 1148 with_fp=no ;; 1149 1150 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1151 | --no-cr | --no-c | -n) 1152 no_create=yes ;; 1153 1154 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1155 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1156 no_recursion=yes ;; 1157 1158 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1159 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1160 | --oldin | --oldi | --old | --ol | --o) 1161 ac_prev=oldincludedir ;; 1162 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1163 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1164 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1165 oldincludedir=$ac_optarg ;; 1166 1167 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1168 ac_prev=prefix ;; 1169 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1170 prefix=$ac_optarg ;; 1171 1172 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1173 | --program-pre | --program-pr | --program-p) 1174 ac_prev=program_prefix ;; 1175 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1176 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1177 program_prefix=$ac_optarg ;; 1178 1179 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1180 | --program-suf | --program-su | --program-s) 1181 ac_prev=program_suffix ;; 1182 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1183 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1184 program_suffix=$ac_optarg ;; 1185 1186 -program-transform-name | --program-transform-name \ 1187 | --program-transform-nam | --program-transform-na \ 1188 | --program-transform-n | --program-transform- \ 1189 | --program-transform | --program-transfor \ 1190 | --program-transfo | --program-transf \ 1191 | --program-trans | --program-tran \ 1192 | --progr-tra | --program-tr | --program-t) 1193 ac_prev=program_transform_name ;; 1194 -program-transform-name=* | --program-transform-name=* \ 1195 | --program-transform-nam=* | --program-transform-na=* \ 1196 | --program-transform-n=* | --program-transform-=* \ 1197 | --program-transform=* | --program-transfor=* \ 1198 | --program-transfo=* | --program-transf=* \ 1199 | --program-trans=* | --program-tran=* \ 1200 | --progr-tra=* | --program-tr=* | --program-t=*) 1201 program_transform_name=$ac_optarg ;; 1202 1203 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1204 ac_prev=pdfdir ;; 1205 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1206 pdfdir=$ac_optarg ;; 1207 1208 -psdir | --psdir | --psdi | --psd | --ps) 1209 ac_prev=psdir ;; 1210 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1211 psdir=$ac_optarg ;; 1212 1213 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1214 | -silent | --silent | --silen | --sile | --sil) 1215 silent=yes ;; 1216 1217 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1218 ac_prev=sbindir ;; 1219 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1220 | --sbi=* | --sb=*) 1221 sbindir=$ac_optarg ;; 1222 1223 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1224 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1225 | --sharedst | --shareds | --shared | --share | --shar \ 1226 | --sha | --sh) 1227 ac_prev=sharedstatedir ;; 1228 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1229 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1230 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1231 | --sha=* | --sh=*) 1232 sharedstatedir=$ac_optarg ;; 1233 1234 -site | --site | --sit) 1235 ac_prev=site ;; 1236 -site=* | --site=* | --sit=*) 1237 site=$ac_optarg ;; 1238 1239 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1240 ac_prev=srcdir ;; 1241 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1242 srcdir=$ac_optarg ;; 1243 1244 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1245 | --syscon | --sysco | --sysc | --sys | --sy) 1246 ac_prev=sysconfdir ;; 1247 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1248 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1249 sysconfdir=$ac_optarg ;; 1250 1251 -target | --target | --targe | --targ | --tar | --ta | --t) 1252 ac_prev=target_alias ;; 1253 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1254 target_alias=$ac_optarg ;; 1255 1256 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1257 verbose=yes ;; 1258 1259 -version | --version | --versio | --versi | --vers | -V) 1260 ac_init_version=: ;; 1261 1262 -with-* | --with-*) 1263 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1264 # Reject names that are not valid shell variable names. 1265 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1266 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1267 { (exit 1); exit 1; }; } 1268 ac_useropt_orig=$ac_useropt 1269 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1270 case $ac_user_opts in 1271 *" 1272"with_$ac_useropt" 1273"*) ;; 1274 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1275 ac_unrecognized_sep=', ';; 1276 esac 1277 eval with_$ac_useropt=\$ac_optarg ;; 1278 1279 -without-* | --without-*) 1280 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1281 # Reject names that are not valid shell variable names. 1282 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1283 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1284 { (exit 1); exit 1; }; } 1285 ac_useropt_orig=$ac_useropt 1286 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1287 case $ac_user_opts in 1288 *" 1289"with_$ac_useropt" 1290"*) ;; 1291 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1292 ac_unrecognized_sep=', ';; 1293 esac 1294 eval with_$ac_useropt=no ;; 1295 1296 --x) 1297 # Obsolete; use --with-x. 1298 with_x=yes ;; 1299 1300 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1301 | --x-incl | --x-inc | --x-in | --x-i) 1302 ac_prev=x_includes ;; 1303 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1304 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1305 x_includes=$ac_optarg ;; 1306 1307 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1308 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1309 ac_prev=x_libraries ;; 1310 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1311 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1312 x_libraries=$ac_optarg ;; 1313 1314 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1315Try \`$0 --help' for more information." >&2 1316 { (exit 1); exit 1; }; } 1317 ;; 1318 1319 *=*) 1320 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1321 # Reject names that are not valid shell variable names. 1322 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1323 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1324 { (exit 1); exit 1; }; } 1325 eval $ac_envvar=\$ac_optarg 1326 export $ac_envvar ;; 1327 1328 *) 1329 # FIXME: should be removed in autoconf 3.0. 1330 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1331 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1332 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1333 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1334 ;; 1335 1336 esac 1337done 1338 1339if test -n "$ac_prev"; then 1340 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1341 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1342 { (exit 1); exit 1; }; } 1343fi 1344 1345if test -n "$ac_unrecognized_opts"; then 1346 case $enable_option_checking in 1347 no) ;; 1348 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2 1349 { (exit 1); exit 1; }; } ;; 1350 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;; 1351 esac 1352fi 1353 1354# Check all directory arguments for consistency. 1355for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1356 datadir sysconfdir sharedstatedir localstatedir includedir \ 1357 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1358 libdir localedir mandir 1359do 1360 eval ac_val=\$$ac_var 1361 # Remove trailing slashes. 1362 case $ac_val in 1363 */ ) 1364 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1365 eval $ac_var=\$ac_val;; 1366 esac 1367 # Be sure to have absolute directory names. 1368 case $ac_val in 1369 [\\/$]* | ?:[\\/]* ) continue;; 1370 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1371 esac 1372 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1373 { (exit 1); exit 1; }; } 1374done 1375 1376# There might be people who depend on the old broken behavior: `$host' 1377# used to hold the argument of --host etc. 1378# FIXME: To remove some day. 1379build=$build_alias 1380host=$host_alias 1381target=$target_alias 1382 1383# FIXME: To remove some day. 1384if test "x$host_alias" != x; then 1385 if test "x$build_alias" = x; then 1386 cross_compiling=maybe 1387 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1388 If a cross compiler is detected then cross compile mode will be used." >&2 1389 elif test "x$build_alias" != "x$host_alias"; then 1390 cross_compiling=yes 1391 fi 1392fi 1393 1394ac_tool_prefix= 1395test -n "$host_alias" && ac_tool_prefix=$host_alias- 1396 1397test "$silent" = yes && exec 6>/dev/null 1398 1399 1400ac_pwd=`pwd` && test -n "$ac_pwd" && 1401ac_ls_di=`ls -di .` && 1402ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1403 { $as_echo "$as_me: error: Working directory cannot be determined" >&2 1404 { (exit 1); exit 1; }; } 1405test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1406 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1407 { (exit 1); exit 1; }; } 1408 1409 1410# Find the source files, if location was not specified. 1411if test -z "$srcdir"; then 1412 ac_srcdir_defaulted=yes 1413 # Try the directory containing this script, then the parent directory. 1414 ac_confdir=`$as_dirname -- "$as_myself" || 1415$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1416 X"$as_myself" : 'X\(//\)[^/]' \| \ 1417 X"$as_myself" : 'X\(//\)$' \| \ 1418 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1419$as_echo X"$as_myself" | 1420 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1421 s//\1/ 1422 q 1423 } 1424 /^X\(\/\/\)[^/].*/{ 1425 s//\1/ 1426 q 1427 } 1428 /^X\(\/\/\)$/{ 1429 s//\1/ 1430 q 1431 } 1432 /^X\(\/\).*/{ 1433 s//\1/ 1434 q 1435 } 1436 s/.*/./; q'` 1437 srcdir=$ac_confdir 1438 if test ! -r "$srcdir/$ac_unique_file"; then 1439 srcdir=.. 1440 fi 1441else 1442 ac_srcdir_defaulted=no 1443fi 1444if test ! -r "$srcdir/$ac_unique_file"; then 1445 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1446 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1447 { (exit 1); exit 1; }; } 1448fi 1449ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1450ac_abs_confdir=`( 1451 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1452 { (exit 1); exit 1; }; } 1453 pwd)` 1454# When building in place, set srcdir=. 1455if test "$ac_abs_confdir" = "$ac_pwd"; then 1456 srcdir=. 1457fi 1458# Remove unnecessary trailing slashes from srcdir. 1459# Double slashes in file names in object file debugging info 1460# mess up M-x gdb in Emacs. 1461case $srcdir in 1462*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1463esac 1464for ac_var in $ac_precious_vars; do 1465 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1466 eval ac_env_${ac_var}_value=\$${ac_var} 1467 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1468 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1469done 1470 1471# 1472# Report the --help message. 1473# 1474if test "$ac_init_help" = "long"; then 1475 # Omit some internal or obsolete options to make the list less imposing. 1476 # This message is too long to be a string in the A/UX 3.1 sh. 1477 cat <<_ACEOF 1478\`configure' configures dvdid 0.2.0a to adapt to many kinds of systems. 1479 1480Usage: $0 [OPTION]... [VAR=VALUE]... 1481 1482To assign environment variables (e.g., CC, CFLAGS...), specify them as 1483VAR=VALUE. See below for descriptions of some of the useful variables. 1484 1485Defaults for the options are specified in brackets. 1486 1487Configuration: 1488 -h, --help display this help and exit 1489 --help=short display options specific to this package 1490 --help=recursive display the short help of all the included packages 1491 -V, --version display version information and exit 1492 -q, --quiet, --silent do not print \`checking...' messages 1493 --cache-file=FILE cache test results in FILE [disabled] 1494 -C, --config-cache alias for \`--cache-file=config.cache' 1495 -n, --no-create do not create output files 1496 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1497 1498Installation directories: 1499 --prefix=PREFIX install architecture-independent files in PREFIX 1500 [$ac_default_prefix] 1501 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1502 [PREFIX] 1503 1504By default, \`make install' will install all the files in 1505\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1506an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1507for instance \`--prefix=\$HOME'. 1508 1509For better control, use the options below. 1510 1511Fine tuning of the installation directories: 1512 --bindir=DIR user executables [EPREFIX/bin] 1513 --sbindir=DIR system admin executables [EPREFIX/sbin] 1514 --libexecdir=DIR program executables [EPREFIX/libexec] 1515 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1516 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1517 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1518 --libdir=DIR object code libraries [EPREFIX/lib] 1519 --includedir=DIR C header files [PREFIX/include] 1520 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1521 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1522 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1523 --infodir=DIR info documentation [DATAROOTDIR/info] 1524 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1525 --mandir=DIR man documentation [DATAROOTDIR/man] 1526 --docdir=DIR documentation root [DATAROOTDIR/doc/dvdid] 1527 --htmldir=DIR html documentation [DOCDIR] 1528 --dvidir=DIR dvi documentation [DOCDIR] 1529 --pdfdir=DIR pdf documentation [DOCDIR] 1530 --psdir=DIR ps documentation [DOCDIR] 1531_ACEOF 1532 1533 cat <<\_ACEOF 1534 1535Program names: 1536 --program-prefix=PREFIX prepend PREFIX to installed program names 1537 --program-suffix=SUFFIX append SUFFIX to installed program names 1538 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1539 1540System types: 1541 --build=BUILD configure for building on BUILD [guessed] 1542 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1543_ACEOF 1544fi 1545 1546if test -n "$ac_init_help"; then 1547 case $ac_init_help in 1548 short | recursive ) echo "Configuration of dvdid 0.2.0a:";; 1549 esac 1550 cat <<\_ACEOF 1551 1552Optional Features: 1553 --disable-option-checking ignore unrecognized --enable/--with options 1554 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1555 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1556 --disable-dependency-tracking speeds up one-time build 1557 --enable-dependency-tracking do not reject slow dependency extractors 1558 --enable-shared[=PKGS] build shared libraries [default=yes] 1559 --enable-static[=PKGS] build static libraries [default=yes] 1560 --enable-fast-install[=PKGS] 1561 optimize for fast installation [default=yes] 1562 --disable-libtool-lock avoid locking (might break parallel builds) 1563 1564Optional Packages: 1565 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1566 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1567 --with-pic try to use only PIC/non-PIC objects [default=use 1568 both] 1569 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1570 --with-windist-binpath[=...] 1571 if building windows distfiles, where to find the 1572 compiled binaries [build] 1573 --with-windist-config[=...] 1574 which configuration to distribute in dvdid-*.zip 1575 [Release] 1576 --with-windist-platform[=...] 1577 which platform(s) to distribute as dvdid-*.zip 1578 [Win32] 1579 --with-windist-dev-config[=...] 1580 which configuration(s) to bundle into 1581 dvdid-dev-*.zip [Release] 1582 --with-windist-dev-platform[=...] 1583 which platform(s) to bundle into dvdid-dev-*.zip 1584 [Win32 x64] 1585 1586Some influential environment variables: 1587 CC C compiler command 1588 CFLAGS C compiler flags 1589 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1590 nonstandard directory <lib dir> 1591 LIBS libraries to pass to the linker, e.g. -l<library> 1592 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1593 you have headers in a nonstandard directory <include dir> 1594 CPP C preprocessor 1595 1596Use these variables to override the choices made by `configure' or to help 1597it to find libraries and programs with nonstandard names/locations. 1598 1599Report bugs to <cjk32@cam.ac.uk>. 1600_ACEOF 1601ac_status=$? 1602fi 1603 1604if test "$ac_init_help" = "recursive"; then 1605 # If there are subdirs, report their specific --help. 1606 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1607 test -d "$ac_dir" || 1608 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1609 continue 1610 ac_builddir=. 1611 1612case "$ac_dir" in 1613.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1614*) 1615 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1616 # A ".." for each directory in $ac_dir_suffix. 1617 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1618 case $ac_top_builddir_sub in 1619 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1620 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1621 esac ;; 1622esac 1623ac_abs_top_builddir=$ac_pwd 1624ac_abs_builddir=$ac_pwd$ac_dir_suffix 1625# for backward compatibility: 1626ac_top_builddir=$ac_top_build_prefix 1627 1628case $srcdir in 1629 .) # We are building in place. 1630 ac_srcdir=. 1631 ac_top_srcdir=$ac_top_builddir_sub 1632 ac_abs_top_srcdir=$ac_pwd ;; 1633 [\\/]* | ?:[\\/]* ) # Absolute name. 1634 ac_srcdir=$srcdir$ac_dir_suffix; 1635 ac_top_srcdir=$srcdir 1636 ac_abs_top_srcdir=$srcdir ;; 1637 *) # Relative name. 1638 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1639 ac_top_srcdir=$ac_top_build_prefix$srcdir 1640 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1641esac 1642ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1643 1644 cd "$ac_dir" || { ac_status=$?; continue; } 1645 # Check for guested configure. 1646 if test -f "$ac_srcdir/configure.gnu"; then 1647 echo && 1648 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1649 elif test -f "$ac_srcdir/configure"; then 1650 echo && 1651 $SHELL "$ac_srcdir/configure" --help=recursive 1652 else 1653 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1654 fi || ac_status=$? 1655 cd "$ac_pwd" || { ac_status=$?; break; } 1656 done 1657fi 1658 1659test -n "$ac_init_help" && exit $ac_status 1660if $ac_init_version; then 1661 cat <<\_ACEOF 1662dvdid configure 0.2.0a 1663generated by GNU Autoconf 2.62 1664 1665Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 16662002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1667This configure script is free software; the Free Software Foundation 1668gives unlimited permission to copy, distribute and modify it. 1669_ACEOF 1670 exit 1671fi 1672cat >config.log <<_ACEOF 1673This file contains any messages produced by compilers while 1674running configure, to aid debugging if configure makes a mistake. 1675 1676It was created by dvdid $as_me 0.2.0a, which was 1677generated by GNU Autoconf 2.62. Invocation command line was 1678 1679 $ $0 $@ 1680 1681_ACEOF 1682exec 5>>config.log 1683{ 1684cat <<_ASUNAME 1685## --------- ## 1686## Platform. ## 1687## --------- ## 1688 1689hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1690uname -m = `(uname -m) 2>/dev/null || echo unknown` 1691uname -r = `(uname -r) 2>/dev/null || echo unknown` 1692uname -s = `(uname -s) 2>/dev/null || echo unknown` 1693uname -v = `(uname -v) 2>/dev/null || echo unknown` 1694 1695/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1696/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1697 1698/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1699/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1700/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1701/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1702/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1703/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1704/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1705 1706_ASUNAME 1707 1708as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1709for as_dir in $PATH 1710do 1711 IFS=$as_save_IFS 1712 test -z "$as_dir" && as_dir=. 1713 $as_echo "PATH: $as_dir" 1714done 1715IFS=$as_save_IFS 1716 1717} >&5 1718 1719cat >&5 <<_ACEOF 1720 1721 1722## ----------- ## 1723## Core tests. ## 1724## ----------- ## 1725 1726_ACEOF 1727 1728 1729# Keep a trace of the command line. 1730# Strip out --no-create and --no-recursion so they do not pile up. 1731# Strip out --silent because we don't want to record it for future runs. 1732# Also quote any args containing shell meta-characters. 1733# Make two passes to allow for proper duplicate-argument suppression. 1734ac_configure_args= 1735ac_configure_args0= 1736ac_configure_args1= 1737ac_must_keep_next=false 1738for ac_pass in 1 2 1739do 1740 for ac_arg 1741 do 1742 case $ac_arg in 1743 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1744 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1745 | -silent | --silent | --silen | --sile | --sil) 1746 continue ;; 1747 *\'*) 1748 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1749 esac 1750 case $ac_pass in 1751 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1752 2) 1753 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1754 if test $ac_must_keep_next = true; then 1755 ac_must_keep_next=false # Got value, back to normal. 1756 else 1757 case $ac_arg in 1758 *=* | --config-cache | -C | -disable-* | --disable-* \ 1759 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1760 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1761 | -with-* | --with-* | -without-* | --without-* | --x) 1762 case "$ac_configure_args0 " in 1763 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1764 esac 1765 ;; 1766 -* ) ac_must_keep_next=true ;; 1767 esac 1768 fi 1769 ac_configure_args="$ac_configure_args '$ac_arg'" 1770 ;; 1771 esac 1772 done 1773done 1774$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1775$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1776 1777# When interrupted or exit'd, cleanup temporary files, and complete 1778# config.log. We remove comments because anyway the quotes in there 1779# would cause problems or look ugly. 1780# WARNING: Use '\'' to represent an apostrophe within the trap. 1781# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1782trap 'exit_status=$? 1783 # Save into config.log some information that might help in debugging. 1784 { 1785 echo 1786 1787 cat <<\_ASBOX 1788## ---------------- ## 1789## Cache variables. ## 1790## ---------------- ## 1791_ASBOX 1792 echo 1793 # The following way of writing the cache mishandles newlines in values, 1794( 1795 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1796 eval ac_val=\$$ac_var 1797 case $ac_val in #( 1798 *${as_nl}*) 1799 case $ac_var in #( 1800 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1801$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1802 esac 1803 case $ac_var in #( 1804 _ | IFS | as_nl) ;; #( 1805 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1806 *) $as_unset $ac_var ;; 1807 esac ;; 1808 esac 1809 done 1810 (set) 2>&1 | 1811 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1812 *${as_nl}ac_space=\ *) 1813 sed -n \ 1814 "s/'\''/'\''\\\\'\'''\''/g; 1815 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1816 ;; #( 1817 *) 1818 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1819 ;; 1820 esac | 1821 sort 1822) 1823 echo 1824 1825 cat <<\_ASBOX 1826## ----------------- ## 1827## Output variables. ## 1828## ----------------- ## 1829_ASBOX 1830 echo 1831 for ac_var in $ac_subst_vars 1832 do 1833 eval ac_val=\$$ac_var 1834 case $ac_val in 1835 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1836 esac 1837 $as_echo "$ac_var='\''$ac_val'\''" 1838 done | sort 1839 echo 1840 1841 if test -n "$ac_subst_files"; then 1842 cat <<\_ASBOX 1843## ------------------- ## 1844## File substitutions. ## 1845## ------------------- ## 1846_ASBOX 1847 echo 1848 for ac_var in $ac_subst_files 1849 do 1850 eval ac_val=\$$ac_var 1851 case $ac_val in 1852 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1853 esac 1854 $as_echo "$ac_var='\''$ac_val'\''" 1855 done | sort 1856 echo 1857 fi 1858 1859 if test -s confdefs.h; then 1860 cat <<\_ASBOX 1861## ----------- ## 1862## confdefs.h. ## 1863## ----------- ## 1864_ASBOX 1865 echo 1866 cat confdefs.h 1867 echo 1868 fi 1869 test "$ac_signal" != 0 && 1870 $as_echo "$as_me: caught signal $ac_signal" 1871 $as_echo "$as_me: exit $exit_status" 1872 } >&5 1873 rm -f core *.core core.conftest.* && 1874 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1875 exit $exit_status 1876' 0 1877for ac_signal in 1 2 13 15; do 1878 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1879done 1880ac_signal=0 1881 1882# confdefs.h avoids OS command line length limits that DEFS can exceed. 1883rm -f -r conftest* confdefs.h 1884 1885# Predefined preprocessor variables. 1886 1887cat >>confdefs.h <<_ACEOF 1888#define PACKAGE_NAME "$PACKAGE_NAME" 1889_ACEOF 1890 1891 1892cat >>confdefs.h <<_ACEOF 1893#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1894_ACEOF 1895 1896 1897cat >>confdefs.h <<_ACEOF 1898#define PACKAGE_VERSION "$PACKAGE_VERSION" 1899_ACEOF 1900 1901 1902cat >>confdefs.h <<_ACEOF 1903#define PACKAGE_STRING "$PACKAGE_STRING" 1904_ACEOF 1905 1906 1907cat >>confdefs.h <<_ACEOF 1908#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1909_ACEOF 1910 1911 1912# Let the site file select an alternate cache file if it wants to. 1913# Prefer an explicitly selected file to automatically selected ones. 1914ac_site_file1=NONE 1915ac_site_file2=NONE 1916if test -n "$CONFIG_SITE"; then 1917 ac_site_file1=$CONFIG_SITE 1918elif test "x$prefix" != xNONE; then 1919 ac_site_file1=$prefix/share/config.site 1920 ac_site_file2=$prefix/etc/config.site 1921else 1922 ac_site_file1=$ac_default_prefix/share/config.site 1923 ac_site_file2=$ac_default_prefix/etc/config.site 1924fi 1925for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1926do 1927 test "x$ac_site_file" = xNONE && continue 1928 if test -r "$ac_site_file"; then 1929 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1930$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1931 sed 's/^/| /' "$ac_site_file" >&5 1932 . "$ac_site_file" 1933 fi 1934done 1935 1936if test -r "$cache_file"; then 1937 # Some versions of bash will fail to source /dev/null (special 1938 # files actually), so we avoid doing that. 1939 if test -f "$cache_file"; then 1940 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 1941$as_echo "$as_me: loading cache $cache_file" >&6;} 1942 case $cache_file in 1943 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1944 *) . "./$cache_file";; 1945 esac 1946 fi 1947else 1948 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 1949$as_echo "$as_me: creating cache $cache_file" >&6;} 1950 >$cache_file 1951fi 1952 1953# Check that the precious variables saved in the cache have kept the same 1954# value. 1955ac_cache_corrupted=false 1956for ac_var in $ac_precious_vars; do 1957 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1958 eval ac_new_set=\$ac_env_${ac_var}_set 1959 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1960 eval ac_new_val=\$ac_env_${ac_var}_value 1961 case $ac_old_set,$ac_new_set in 1962 set,) 1963 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1964$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1965 ac_cache_corrupted=: ;; 1966 ,set) 1967 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1968$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1969 ac_cache_corrupted=: ;; 1970 ,);; 1971 *) 1972 if test "x$ac_old_val" != "x$ac_new_val"; then 1973 # differences in whitespace do not lead to failure. 1974 ac_old_val_w=`echo x $ac_old_val` 1975 ac_new_val_w=`echo x $ac_new_val` 1976 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1977 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1978$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1979 ac_cache_corrupted=: 1980 else 1981 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1982$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1983 eval $ac_var=\$ac_old_val 1984 fi 1985 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 1986$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1987 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 1988$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1989 fi;; 1990 esac 1991 # Pass precious variables to config.status. 1992 if test "$ac_new_set" = set; then 1993 case $ac_new_val in 1994 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1995 *) ac_arg=$ac_var=$ac_new_val ;; 1996 esac 1997 case " $ac_configure_args " in 1998 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1999 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2000 esac 2001 fi 2002done 2003if $ac_cache_corrupted; then 2004 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 2005$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2006 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 2007$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 2008 { (exit 1); exit 1; }; } 2009fi 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035ac_ext=c 2036ac_cpp='$CPP $CPPFLAGS' 2037ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2038ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2039ac_compiler_gnu=$ac_cv_c_compiler_gnu 2040 2041 2042 2043ac_aux_dir= 2044for ac_dir in build-aux "$srcdir"/build-aux; do 2045 if test -f "$ac_dir/install-sh"; then 2046 ac_aux_dir=$ac_dir 2047 ac_install_sh="$ac_aux_dir/install-sh -c" 2048 break 2049 elif test -f "$ac_dir/install.sh"; then 2050 ac_aux_dir=$ac_dir 2051 ac_install_sh="$ac_aux_dir/install.sh -c" 2052 break 2053 elif test -f "$ac_dir/shtool"; then 2054 ac_aux_dir=$ac_dir 2055 ac_install_sh="$ac_aux_dir/shtool install -c" 2056 break 2057 fi 2058done 2059if test -z "$ac_aux_dir"; then 2060 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&5 2061$as_echo "$as_me: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&2;} 2062 { (exit 1); exit 1; }; } 2063fi 2064 2065# These three variables are undocumented and unsupported, 2066# and are intended to be withdrawn in a future Autoconf release. 2067# They can cause serious problems if a builder's source tree is in a directory 2068# whose full name contains unusual characters. 2069ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2070ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2071ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2072 2073 2074 2075 2076am__api_version='1.10' 2077 2078# Find a good install program. We prefer a C program (faster), 2079# so one script is as good as another. But avoid the broken or 2080# incompatible versions: 2081# SysV /etc/install, /usr/sbin/install 2082# SunOS /usr/etc/install 2083# IRIX /sbin/install 2084# AIX /bin/install 2085# AmigaOS /C/install, which installs bootblocks on floppy discs 2086# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2087# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2088# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2089# OS/2's system install, which has a completely different semantic 2090# ./install, which can be erroneously created by make from ./install.sh. 2091# Reject install programs that cannot install multiple files. 2092{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2093$as_echo_n "checking for a BSD-compatible install... " >&6; } 2094if test -z "$INSTALL"; then 2095if test "${ac_cv_path_install+set}" = set; then 2096 $as_echo_n "(cached) " >&6 2097else 2098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2099for as_dir in $PATH 2100do 2101 IFS=$as_save_IFS 2102 test -z "$as_dir" && as_dir=. 2103 # Account for people who put trailing slashes in PATH elements. 2104case $as_dir/ in 2105 ./ | .// | /cC/* | \ 2106 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2107 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2108 /usr/ucb/* ) ;; 2109 *) 2110 # OSF1 and SCO ODT 3.0 have their own names for install. 2111 # Don't use installbsd from OSF since it installs stuff as root 2112 # by default. 2113 for ac_prog in ginstall scoinst install; do 2114 for ac_exec_ext in '' $ac_executable_extensions; do 2115 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2116 if test $ac_prog = install && 2117 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2118 # AIX install. It has an incompatible calling convention. 2119 : 2120 elif test $ac_prog = install && 2121 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2122 # program-specific install script used by HP pwplus--don't use. 2123 : 2124 else 2125 rm -rf conftest.one conftest.two conftest.dir 2126 echo one > conftest.one 2127 echo two > conftest.two 2128 mkdir conftest.dir 2129 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2130 test -s conftest.one && test -s conftest.two && 2131 test -s conftest.dir/conftest.one && 2132 test -s conftest.dir/conftest.two 2133 then 2134 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2135 break 3 2136 fi 2137 fi 2138 fi 2139 done 2140 done 2141 ;; 2142esac 2143 2144done 2145IFS=$as_save_IFS 2146 2147rm -rf conftest.one conftest.two conftest.dir 2148 2149fi 2150 if test "${ac_cv_path_install+set}" = set; then 2151 INSTALL=$ac_cv_path_install 2152 else 2153 # As a last resort, use the slow shell script. Don't cache a 2154 # value for INSTALL within a source directory, because that will 2155 # break other packages using the cache if that directory is 2156 # removed, or if the value is a relative name. 2157 INSTALL=$ac_install_sh 2158 fi 2159fi 2160{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 2161$as_echo "$INSTALL" >&6; } 2162 2163# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2164# It thinks the first close brace ends the variable substitution. 2165test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2166 2167test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2168 2169test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2170 2171{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 2172$as_echo_n "checking whether build environment is sane... " >&6; } 2173# Just in case 2174sleep 1 2175echo timestamp > conftest.file 2176# Do `set' in a subshell so we don't clobber the current shell's 2177# arguments. Must try -L first in case configure is actually a 2178# symlink; some systems play weird games with the mod time of symlinks 2179# (eg FreeBSD returns the mod time of the symlink's containing 2180# directory). 2181if ( 2182 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 2183 if test "$*" = "X"; then 2184 # -L didn't work. 2185 set X `ls -t $srcdir/configure conftest.file` 2186 fi 2187 rm -f conftest.file 2188 if test "$*" != "X $srcdir/configure conftest.file" \ 2189 && test "$*" != "X conftest.file $srcdir/configure"; then 2190 2191 # If neither matched, then we have a broken ls. This can happen 2192 # if, for instance, CONFIG_SHELL is bash and it inherits a 2193 # broken ls alias from the environment. This has actually 2194 # happened. Such a system could not be considered "sane". 2195 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 2196alias in your environment" >&5 2197$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 2198alias in your environment" >&2;} 2199 { (exit 1); exit 1; }; } 2200 fi 2201 2202 test "$2" = conftest.file 2203 ) 2204then 2205 # Ok. 2206 : 2207else 2208 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! 2209Check your system clock" >&5 2210$as_echo "$as_me: error: newly created file is older than distributed files! 2211Check your system clock" >&2;} 2212 { (exit 1); exit 1; }; } 2213fi 2214{ $as_echo "$as_me:$LINENO: result: yes" >&5 2215$as_echo "yes" >&6; } 2216test "$program_prefix" != NONE && 2217 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2218# Use a double $ so make ignores it. 2219test "$program_suffix" != NONE && 2220 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2221# Double any \ or $. 2222# By default was `s,x,x', remove it if useless. 2223ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2224program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2225 2226# expand $ac_aux_dir to an absolute path 2227am_aux_dir=`cd $ac_aux_dir && pwd` 2228 2229test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 2230# Use eval to expand $SHELL 2231if eval "$MISSING --run true"; then 2232 am_missing_run="$MISSING --run " 2233else 2234 am_missing_run= 2235 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 2236$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2237fi 2238 2239{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 2240$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2241if test -z "$MKDIR_P"; then 2242 if test "${ac_cv_path_mkdir+set}" = set; then 2243 $as_echo_n "(cached) " >&6 2244else 2245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2246for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2247do 2248 IFS=$as_save_IFS 2249 test -z "$as_dir" && as_dir=. 2250 for ac_prog in mkdir gmkdir; do 2251 for ac_exec_ext in '' $ac_executable_extensions; do 2252 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2253 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2254 'mkdir (GNU coreutils) '* | \ 2255 'mkdir (coreutils) '* | \ 2256 'mkdir (fileutils) '4.1*) 2257 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2258 break 3;; 2259 esac 2260 done 2261 done 2262done 2263IFS=$as_save_IFS 2264 2265fi 2266 2267 if test "${ac_cv_path_mkdir+set}" = set; then 2268 MKDIR_P="$ac_cv_path_mkdir -p" 2269 else 2270 # As a last resort, use the slow shell script. Don't cache a 2271 # value for MKDIR_P within a source directory, because that will 2272 # break other packages using the cache if that directory is 2273 # removed, or if the value is a relative name. 2274 test -d ./--version && rmdir ./--version 2275 MKDIR_P="$ac_install_sh -d" 2276 fi 2277fi 2278{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 2279$as_echo "$MKDIR_P" >&6; } 2280 2281mkdir_p="$MKDIR_P" 2282case $mkdir_p in 2283 [\\/$]* | ?:[\\/]*) ;; 2284 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2285esac 2286 2287for ac_prog in gawk mawk nawk awk 2288do 2289 # Extract the first word of "$ac_prog", so it can be a program name with args. 2290set dummy $ac_prog; ac_word=$2 2291{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2292$as_echo_n "checking for $ac_word... " >&6; } 2293if test "${ac_cv_prog_AWK+set}" = set; then 2294 $as_echo_n "(cached) " >&6 2295else 2296 if test -n "$AWK"; then 2297 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2298else 2299as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2300for as_dir in $PATH 2301do 2302 IFS=$as_save_IFS 2303 test -z "$as_dir" && as_dir=. 2304 for ac_exec_ext in '' $ac_executable_extensions; do 2305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2306 ac_cv_prog_AWK="$ac_prog" 2307 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2308 break 2 2309 fi 2310done 2311done 2312IFS=$as_save_IFS 2313 2314fi 2315fi 2316AWK=$ac_cv_prog_AWK 2317if test -n "$AWK"; then 2318 { $as_echo "$as_me:$LINENO: result: $AWK" >&5 2319$as_echo "$AWK" >&6; } 2320else 2321 { $as_echo "$as_me:$LINENO: result: no" >&5 2322$as_echo "no" >&6; } 2323fi 2324 2325 2326 test -n "$AWK" && break 2327done 2328 2329{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2330$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2331set x ${MAKE-make} 2332ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2333if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2334 $as_echo_n "(cached) " >&6 2335else 2336 cat >conftest.make <<\_ACEOF 2337SHELL = /bin/sh 2338all: 2339 @echo '@@@%%%=$(MAKE)=@@@%%%' 2340_ACEOF 2341# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2342case `${MAKE-make} -f conftest.make 2>/dev/null` in 2343 *@@@%%%=?*=@@@%%%*) 2344 eval ac_cv_prog_make_${ac_make}_set=yes;; 2345 *) 2346 eval ac_cv_prog_make_${ac_make}_set=no;; 2347esac 2348rm -f conftest.make 2349fi 2350if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2351 { $as_echo "$as_me:$LINENO: result: yes" >&5 2352$as_echo "yes" >&6; } 2353 SET_MAKE= 2354else 2355 { $as_echo "$as_me:$LINENO: result: no" >&5 2356$as_echo "no" >&6; } 2357 SET_MAKE="MAKE=${MAKE-make}" 2358fi 2359 2360rm -rf .tst 2>/dev/null 2361mkdir .tst 2>/dev/null 2362if test -d .tst; then 2363 am__leading_dot=. 2364else 2365 am__leading_dot=_ 2366fi 2367rmdir .tst 2>/dev/null 2368 2369if test "`cd $srcdir && pwd`" != "`pwd`"; then 2370 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2371 # is not polluted with repeated "-I." 2372 am__isrc=' -I$(srcdir)' 2373 # test to see if srcdir already configured 2374 if test -f $srcdir/config.status; then 2375 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2376$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2377 { (exit 1); exit 1; }; } 2378 fi 2379fi 2380 2381# test whether we have cygpath 2382if test -z "$CYGPATH_W"; then 2383 if (cygpath --version) >/dev/null 2>/dev/null; then 2384 CYGPATH_W='cygpath -w' 2385 else 2386 CYGPATH_W=echo 2387 fi 2388fi 2389 2390 2391# Define the identity of the package. 2392 PACKAGE='dvdid' 2393 VERSION='0.2.0a' 2394 2395 2396cat >>confdefs.h <<_ACEOF 2397#define PACKAGE "$PACKAGE" 2398_ACEOF 2399 2400 2401cat >>confdefs.h <<_ACEOF 2402#define VERSION "$VERSION" 2403_ACEOF 2404 2405# Some tools Automake needs. 2406 2407ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2408 2409 2410AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2411 2412 2413AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2414 2415 2416AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2417 2418 2419MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2420 2421install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} 2422 2423# Installed binaries are usually stripped using `strip' when the user 2424# run `make install-strip'. However `strip' might not be the right 2425# tool to use in cross-compilation environments, therefore Automake 2426# will honor the `STRIP' environment variable to overrule this program. 2427if test "$cross_compiling" != no; then 2428 if test -n "$ac_tool_prefix"; then 2429 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2430set dummy ${ac_tool_prefix}strip; ac_word=$2 2431{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2432$as_echo_n "checking for $ac_word... " >&6; } 2433if test "${ac_cv_prog_STRIP+set}" = set; then 2434 $as_echo_n "(cached) " >&6 2435else 2436 if test -n "$STRIP"; then 2437 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2438else 2439as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2440for as_dir in $PATH 2441do 2442 IFS=$as_save_IFS 2443 test -z "$as_dir" && as_dir=. 2444 for ac_exec_ext in '' $ac_executable_extensions; do 2445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2446 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2447 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2448 break 2 2449 fi 2450done 2451done 2452IFS=$as_save_IFS 2453 2454fi 2455fi 2456STRIP=$ac_cv_prog_STRIP 2457if test -n "$STRIP"; then 2458 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 2459$as_echo "$STRIP" >&6; } 2460else 2461 { $as_echo "$as_me:$LINENO: result: no" >&5 2462$as_echo "no" >&6; } 2463fi 2464 2465 2466fi 2467if test -z "$ac_cv_prog_STRIP"; then 2468 ac_ct_STRIP=$STRIP 2469 # Extract the first word of "strip", so it can be a program name with args. 2470set dummy strip; ac_word=$2 2471{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2472$as_echo_n "checking for $ac_word... " >&6; } 2473if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2474 $as_echo_n "(cached) " >&6 2475else 2476 if test -n "$ac_ct_STRIP"; then 2477 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2478else 2479as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2480for as_dir in $PATH 2481do 2482 IFS=$as_save_IFS 2483 test -z "$as_dir" && as_dir=. 2484 for ac_exec_ext in '' $ac_executable_extensions; do 2485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2486 ac_cv_prog_ac_ct_STRIP="strip" 2487 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2488 break 2 2489 fi 2490done 2491done 2492IFS=$as_save_IFS 2493 2494fi 2495fi 2496ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2497if test -n "$ac_ct_STRIP"; then 2498 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2499$as_echo "$ac_ct_STRIP" >&6; } 2500else 2501 { $as_echo "$as_me:$LINENO: result: no" >&5 2502$as_echo "no" >&6; } 2503fi 2504 2505 if test "x$ac_ct_STRIP" = x; then 2506 STRIP=":" 2507 else 2508 case $cross_compiling:$ac_tool_warned in 2509yes:) 2510{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2511whose name does not start with the host triplet. If you think this 2512configuration is useful to you, please write to autoconf@gnu.org." >&5 2513$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2514whose name does not start with the host triplet. If you think this 2515configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2516ac_tool_warned=yes ;; 2517esac 2518 STRIP=$ac_ct_STRIP 2519 fi 2520else 2521 STRIP="$ac_cv_prog_STRIP" 2522fi 2523 2524fi 2525INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2526 2527# We need awk for the "check" target. The system "awk" is bad on 2528# some platforms. 2529# Always define AMTAR for backward compatibility. 2530 2531AMTAR=${AMTAR-"${am_missing_run}tar"} 2532 2533am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2534 2535 2536 2537 2538 2539 2540ac_ext=c 2541ac_cpp='$CPP $CPPFLAGS' 2542ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2543ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2544ac_compiler_gnu=$ac_cv_c_compiler_gnu 2545if test -n "$ac_tool_prefix"; then 2546 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2547set dummy ${ac_tool_prefix}gcc; ac_word=$2 2548{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2549$as_echo_n "checking for $ac_word... " >&6; } 2550if test "${ac_cv_prog_CC+set}" = set; then 2551 $as_echo_n "(cached) " >&6 2552else 2553 if test -n "$CC"; then 2554 ac_cv_prog_CC="$CC" # Let the user override the test. 2555else 2556as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2557for as_dir in $PATH 2558do 2559 IFS=$as_save_IFS 2560 test -z "$as_dir" && as_dir=. 2561 for ac_exec_ext in '' $ac_executable_extensions; do 2562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2563 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2564 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2565 break 2 2566 fi 2567done 2568done 2569IFS=$as_save_IFS 2570 2571fi 2572fi 2573CC=$ac_cv_prog_CC 2574if test -n "$CC"; then 2575 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2576$as_echo "$CC" >&6; } 2577else 2578 { $as_echo "$as_me:$LINENO: result: no" >&5 2579$as_echo "no" >&6; } 2580fi 2581 2582 2583fi 2584if test -z "$ac_cv_prog_CC"; then 2585 ac_ct_CC=$CC 2586 # Extract the first word of "gcc", so it can be a program name with args. 2587set dummy gcc; ac_word=$2 2588{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2589$as_echo_n "checking for $ac_word... " >&6; } 2590if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2591 $as_echo_n "(cached) " >&6 2592else 2593 if test -n "$ac_ct_CC"; then 2594 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2595else 2596as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2597for as_dir in $PATH 2598do 2599 IFS=$as_save_IFS 2600 test -z "$as_dir" && as_dir=. 2601 for ac_exec_ext in '' $ac_executable_extensions; do 2602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2603 ac_cv_prog_ac_ct_CC="gcc" 2604 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2605 break 2 2606 fi 2607done 2608done 2609IFS=$as_save_IFS 2610 2611fi 2612fi 2613ac_ct_CC=$ac_cv_prog_ac_ct_CC 2614if test -n "$ac_ct_CC"; then 2615 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2616$as_echo "$ac_ct_CC" >&6; } 2617else 2618 { $as_echo "$as_me:$LINENO: result: no" >&5 2619$as_echo "no" >&6; } 2620fi 2621 2622 if test "x$ac_ct_CC" = x; then 2623 CC="" 2624 else 2625 case $cross_compiling:$ac_tool_warned in 2626yes:) 2627{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2628whose name does not start with the host triplet. If you think this 2629configuration is useful to you, please write to autoconf@gnu.org." >&5 2630$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2631whose name does not start with the host triplet. If you think this 2632configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2633ac_tool_warned=yes ;; 2634esac 2635 CC=$ac_ct_CC 2636 fi 2637else 2638 CC="$ac_cv_prog_CC" 2639fi 2640 2641if test -z "$CC"; then 2642 if test -n "$ac_tool_prefix"; then 2643 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2644set dummy ${ac_tool_prefix}cc; ac_word=$2 2645{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2646$as_echo_n "checking for $ac_word... " >&6; } 2647if test "${ac_cv_prog_CC+set}" = set; then 2648 $as_echo_n "(cached) " >&6 2649else 2650 if test -n "$CC"; then 2651 ac_cv_prog_CC="$CC" # Let the user override the test. 2652else 2653as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2654for as_dir in $PATH 2655do 2656 IFS=$as_save_IFS 2657 test -z "$as_dir" && as_dir=. 2658 for ac_exec_ext in '' $ac_executable_extensions; do 2659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2660 ac_cv_prog_CC="${ac_tool_prefix}cc" 2661 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2662 break 2 2663 fi 2664done 2665done 2666IFS=$as_save_IFS 2667 2668fi 2669fi 2670CC=$ac_cv_prog_CC 2671if test -n "$CC"; then 2672 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2673$as_echo "$CC" >&6; } 2674else 2675 { $as_echo "$as_me:$LINENO: result: no" >&5 2676$as_echo "no" >&6; } 2677fi 2678 2679 2680 fi 2681fi 2682if test -z "$CC"; then 2683 # Extract the first word of "cc", so it can be a program name with args. 2684set dummy cc; ac_word=$2 2685{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2686$as_echo_n "checking for $ac_word... " >&6; } 2687if test "${ac_cv_prog_CC+set}" = set; then 2688 $as_echo_n "(cached) " >&6 2689else 2690 if test -n "$CC"; then 2691 ac_cv_prog_CC="$CC" # Let the user override the test. 2692else 2693 ac_prog_rejected=no 2694as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2695for as_dir in $PATH 2696do 2697 IFS=$as_save_IFS 2698 test -z "$as_dir" && as_dir=. 2699 for ac_exec_ext in '' $ac_executable_extensions; do 2700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2701 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2702 ac_prog_rejected=yes 2703 continue 2704 fi 2705 ac_cv_prog_CC="cc" 2706 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2707 break 2 2708 fi 2709done 2710done 2711IFS=$as_save_IFS 2712 2713if test $ac_prog_rejected = yes; then 2714 # We found a bogon in the path, so make sure we never use it. 2715 set dummy $ac_cv_prog_CC 2716 shift 2717 if test $# != 0; then 2718 # We chose a different compiler from the bogus one. 2719 # However, it has the same basename, so the bogon will be chosen 2720 # first if we set CC to just the basename; use the full file name. 2721 shift 2722 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2723 fi 2724fi 2725fi 2726fi 2727CC=$ac_cv_prog_CC 2728if test -n "$CC"; then 2729 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2730$as_echo "$CC" >&6; } 2731else 2732 { $as_echo "$as_me:$LINENO: result: no" >&5 2733$as_echo "no" >&6; } 2734fi 2735 2736 2737fi 2738if test -z "$CC"; then 2739 if test -n "$ac_tool_prefix"; then 2740 for ac_prog in cl.exe 2741 do 2742 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2743set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2744{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2745$as_echo_n "checking for $ac_word... " >&6; } 2746if test "${ac_cv_prog_CC+set}" = set; then 2747 $as_echo_n "(cached) " >&6 2748else 2749 if test -n "$CC"; then 2750 ac_cv_prog_CC="$CC" # Let the user override the test. 2751else 2752as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2753for as_dir in $PATH 2754do 2755 IFS=$as_save_IFS 2756 test -z "$as_dir" && as_dir=. 2757 for ac_exec_ext in '' $ac_executable_extensions; do 2758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2759 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2760 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2761 break 2 2762 fi 2763done 2764done 2765IFS=$as_save_IFS 2766 2767fi 2768fi 2769CC=$ac_cv_prog_CC 2770if test -n "$CC"; then 2771 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2772$as_echo "$CC" >&6; } 2773else 2774 { $as_echo "$as_me:$LINENO: result: no" >&5 2775$as_echo "no" >&6; } 2776fi 2777 2778 2779 test -n "$CC" && break 2780 done 2781fi 2782if test -z "$CC"; then 2783 ac_ct_CC=$CC 2784 for ac_prog in cl.exe 2785do 2786 # Extract the first word of "$ac_prog", so it can be a program name with args. 2787set dummy $ac_prog; ac_word=$2 2788{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2789$as_echo_n "checking for $ac_word... " >&6; } 2790if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2791 $as_echo_n "(cached) " >&6 2792else 2793 if test -n "$ac_ct_CC"; then 2794 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2795else 2796as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2797for as_dir in $PATH 2798do 2799 IFS=$as_save_IFS 2800 test -z "$as_dir" && as_dir=. 2801 for ac_exec_ext in '' $ac_executable_extensions; do 2802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2803 ac_cv_prog_ac_ct_CC="$ac_prog" 2804 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2805 break 2 2806 fi 2807done 2808done 2809IFS=$as_save_IFS 2810 2811fi 2812fi 2813ac_ct_CC=$ac_cv_prog_ac_ct_CC 2814if test -n "$ac_ct_CC"; then 2815 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2816$as_echo "$ac_ct_CC" >&6; } 2817else 2818 { $as_echo "$as_me:$LINENO: result: no" >&5 2819$as_echo "no" >&6; } 2820fi 2821 2822 2823 test -n "$ac_ct_CC" && break 2824done 2825 2826 if test "x$ac_ct_CC" = x; then 2827 CC="" 2828 else 2829 case $cross_compiling:$ac_tool_warned in 2830yes:) 2831{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2832whose name does not start with the host triplet. If you think this 2833configuration is useful to you, please write to autoconf@gnu.org." >&5 2834$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2835whose name does not start with the host triplet. If you think this 2836configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2837ac_tool_warned=yes ;; 2838esac 2839 CC=$ac_ct_CC 2840 fi 2841fi 2842 2843fi 2844 2845 2846test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2847See \`config.log' for more details." >&5 2848$as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2849See \`config.log' for more details." >&2;} 2850 { (exit 1); exit 1; }; } 2851 2852# Provide some information about the compiler. 2853$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 2854set X $ac_compile 2855ac_compiler=$2 2856{ (ac_try="$ac_compiler --version >&5" 2857case "(($ac_try" in 2858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2859 *) ac_try_echo=$ac_try;; 2860esac 2861eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2862$as_echo "$ac_try_echo") >&5 2863 (eval "$ac_compiler --version >&5") 2>&5 2864 ac_status=$? 2865 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2866 (exit $ac_status); } 2867{ (ac_try="$ac_compiler -v >&5" 2868case "(($ac_try" in 2869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2870 *) ac_try_echo=$ac_try;; 2871esac 2872eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2873$as_echo "$ac_try_echo") >&5 2874 (eval "$ac_compiler -v >&5") 2>&5 2875 ac_status=$? 2876 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2877 (exit $ac_status); } 2878{ (ac_try="$ac_compiler -V >&5" 2879case "(($ac_try" in 2880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2881 *) ac_try_echo=$ac_try;; 2882esac 2883eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2884$as_echo "$ac_try_echo") >&5 2885 (eval "$ac_compiler -V >&5") 2>&5 2886 ac_status=$? 2887 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2888 (exit $ac_status); } 2889 2890cat >conftest.$ac_ext <<_ACEOF 2891/* confdefs.h. */ 2892_ACEOF 2893cat confdefs.h >>conftest.$ac_ext 2894cat >>conftest.$ac_ext <<_ACEOF 2895/* end confdefs.h. */ 2896 2897int 2898main () 2899{ 2900 2901 ; 2902 return 0; 2903} 2904_ACEOF 2905ac_clean_files_save=$ac_clean_files 2906ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2907# Try to create an executable without -o first, disregard a.out. 2908# It will help us diagnose broken compilers, and finding out an intuition 2909# of exeext. 2910{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2911$as_echo_n "checking for C compiler default output file name... " >&6; } 2912ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2913 2914# The possible output files: 2915ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2916 2917ac_rmfiles= 2918for ac_file in $ac_files 2919do 2920 case $ac_file in 2921 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2922 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2923 esac 2924done 2925rm -f $ac_rmfiles 2926 2927if { (ac_try="$ac_link_default" 2928case "(($ac_try" in 2929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2930 *) ac_try_echo=$ac_try;; 2931esac 2932eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2933$as_echo "$ac_try_echo") >&5 2934 (eval "$ac_link_default") 2>&5 2935 ac_status=$? 2936 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2937 (exit $ac_status); }; then 2938 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2939# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2940# in a Makefile. We should not override ac_cv_exeext if it was cached, 2941# so that the user can short-circuit this test for compilers unknown to 2942# Autoconf. 2943for ac_file in $ac_files '' 2944do 2945 test -f "$ac_file" || continue 2946 case $ac_file in 2947 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2948 ;; 2949 [ab].out ) 2950 # We found the default executable, but exeext='' is most 2951 # certainly right. 2952 break;; 2953 *.* ) 2954 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2955 then :; else 2956 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2957 fi 2958 # We set ac_cv_exeext here because the later test for it is not 2959 # safe: cross compilers may not add the suffix if given an `-o' 2960 # argument, so we may need to know it at that point already. 2961 # Even if this section looks crufty: it has the advantage of 2962 # actually working. 2963 break;; 2964 * ) 2965 break;; 2966 esac 2967done 2968test "$ac_cv_exeext" = no && ac_cv_exeext= 2969 2970else 2971 ac_file='' 2972fi 2973 2974{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2975$as_echo "$ac_file" >&6; } 2976if test -z "$ac_file"; then 2977 $as_echo "$as_me: failed program was:" >&5 2978sed 's/^/| /' conftest.$ac_ext >&5 2979 2980{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2981See \`config.log' for more details." >&5 2982$as_echo "$as_me: error: C compiler cannot create executables 2983See \`config.log' for more details." >&2;} 2984 { (exit 77); exit 77; }; } 2985fi 2986 2987ac_exeext=$ac_cv_exeext 2988 2989# Check that the compiler produces executables we can run. If not, either 2990# the compiler is broken, or we cross compile. 2991{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2992$as_echo_n "checking whether the C compiler works... " >&6; } 2993# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2994# If not cross compiling, check that we can run a simple program. 2995if test "$cross_compiling" != yes; then 2996 if { ac_try='./$ac_file' 2997 { (case "(($ac_try" in 2998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2999 *) ac_try_echo=$ac_try;; 3000esac 3001eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3002$as_echo "$ac_try_echo") >&5 3003 (eval "$ac_try") 2>&5 3004 ac_status=$? 3005 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3006 (exit $ac_status); }; }; then 3007 cross_compiling=no 3008 else 3009 if test "$cross_compiling" = maybe; then 3010 cross_compiling=yes 3011 else 3012 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 3013If you meant to cross compile, use \`--host'. 3014See \`config.log' for more details." >&5 3015$as_echo "$as_me: error: cannot run C compiled programs. 3016If you meant to cross compile, use \`--host'. 3017See \`config.log' for more details." >&2;} 3018 { (exit 1); exit 1; }; } 3019 fi 3020 fi 3021fi 3022{ $as_echo "$as_me:$LINENO: result: yes" >&5 3023$as_echo "yes" >&6; } 3024 3025rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3026ac_clean_files=$ac_clean_files_save 3027# Check that the compiler produces executables we can run. If not, either 3028# the compiler is broken, or we cross compile. 3029{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 3030$as_echo_n "checking whether we are cross compiling... " >&6; } 3031{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 3032$as_echo "$cross_compiling" >&6; } 3033 3034{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 3035$as_echo_n "checking for suffix of executables... " >&6; } 3036if { (ac_try="$ac_link" 3037case "(($ac_try" in 3038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3039 *) ac_try_echo=$ac_try;; 3040esac 3041eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3042$as_echo "$ac_try_echo") >&5 3043 (eval "$ac_link") 2>&5 3044 ac_status=$? 3045 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3046 (exit $ac_status); }; then 3047 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3048# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3049# work properly (i.e., refer to `conftest.exe'), while it won't with 3050# `rm'. 3051for ac_file in conftest.exe conftest conftest.*; do 3052 test -f "$ac_file" || continue 3053 case $ac_file in 3054 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3055 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3056 break;; 3057 * ) break;; 3058 esac 3059done 3060else 3061 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 3062See \`config.log' for more details." >&5 3063$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 3064See \`config.log' for more details." >&2;} 3065 { (exit 1); exit 1; }; } 3066fi 3067 3068rm -f conftest$ac_cv_exeext 3069{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3070$as_echo "$ac_cv_exeext" >&6; } 3071 3072rm -f conftest.$ac_ext 3073EXEEXT=$ac_cv_exeext 3074ac_exeext=$EXEEXT 3075{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 3076$as_echo_n "checking for suffix of object files... " >&6; } 3077if test "${ac_cv_objext+set}" = set; then 3078 $as_echo_n "(cached) " >&6 3079else 3080 cat >conftest.$ac_ext <<_ACEOF 3081/* confdefs.h. */ 3082_ACEOF 3083cat confdefs.h >>conftest.$ac_ext 3084cat >>conftest.$ac_ext <<_ACEOF 3085/* end confdefs.h. */ 3086 3087int 3088main () 3089{ 3090 3091 ; 3092 return 0; 3093} 3094_ACEOF 3095rm -f conftest.o conftest.obj 3096if { (ac_try="$ac_compile" 3097case "(($ac_try" in 3098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3099 *) ac_try_echo=$ac_try;; 3100esac 3101eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3102$as_echo "$ac_try_echo") >&5 3103 (eval "$ac_compile") 2>&5 3104 ac_status=$? 3105 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3106 (exit $ac_status); }; then 3107 for ac_file in conftest.o conftest.obj conftest.*; do 3108 test -f "$ac_file" || continue; 3109 case $ac_file in 3110 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3111 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3112 break;; 3113 esac 3114done 3115else 3116 $as_echo "$as_me: failed program was:" >&5 3117sed 's/^/| /' conftest.$ac_ext >&5 3118 3119{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 3120See \`config.log' for more details." >&5 3121$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 3122See \`config.log' for more details." >&2;} 3123 { (exit 1); exit 1; }; } 3124fi 3125 3126rm -f conftest.$ac_cv_objext conftest.$ac_ext 3127fi 3128{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3129$as_echo "$ac_cv_objext" >&6; } 3130OBJEXT=$ac_cv_objext 3131ac_objext=$OBJEXT 3132{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3133$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3134if test "${ac_cv_c_compiler_gnu+set}" = set; then 3135 $as_echo_n "(cached) " >&6 3136else 3137 cat >conftest.$ac_ext <<_ACEOF 3138/* confdefs.h. */ 3139_ACEOF 3140cat confdefs.h >>conftest.$ac_ext 3141cat >>conftest.$ac_ext <<_ACEOF 3142/* end confdefs.h. */ 3143 3144int 3145main () 3146{ 3147#ifndef __GNUC__ 3148 choke me 3149#endif 3150 3151 ; 3152 return 0; 3153} 3154_ACEOF 3155rm -f conftest.$ac_objext 3156if { (ac_try="$ac_compile" 3157case "(($ac_try" in 3158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3159 *) ac_try_echo=$ac_try;; 3160esac 3161eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3162$as_echo "$ac_try_echo") >&5 3163 (eval "$ac_compile") 2>conftest.er1 3164 ac_status=$? 3165 grep -v '^ *+' conftest.er1 >conftest.err 3166 rm -f conftest.er1 3167 cat conftest.err >&5 3168 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3169 (exit $ac_status); } && { 3170 test -z "$ac_c_werror_flag" || 3171 test ! -s conftest.err 3172 } && test -s conftest.$ac_objext; then 3173 ac_compiler_gnu=yes 3174else 3175 $as_echo "$as_me: failed program was:" >&5 3176sed 's/^/| /' conftest.$ac_ext >&5 3177 3178 ac_compiler_gnu=no 3179fi 3180 3181rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3182ac_cv_c_compiler_gnu=$ac_compiler_gnu 3183 3184fi 3185{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3186$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3187if test $ac_compiler_gnu = yes; then 3188 GCC=yes 3189else 3190 GCC= 3191fi 3192ac_test_CFLAGS=${CFLAGS+set} 3193ac_save_CFLAGS=$CFLAGS 3194{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3195$as_echo_n "checking whether $CC accepts -g... " >&6; } 3196if test "${ac_cv_prog_cc_g+set}" = set; then 3197 $as_echo_n "(cached) " >&6 3198else 3199 ac_save_c_werror_flag=$ac_c_werror_flag 3200 ac_c_werror_flag=yes 3201 ac_cv_prog_cc_g=no 3202 CFLAGS="-g" 3203 cat >conftest.$ac_ext <<_ACEOF 3204/* confdefs.h. */ 3205_ACEOF 3206cat confdefs.h >>conftest.$ac_ext 3207cat >>conftest.$ac_ext <<_ACEOF 3208/* end confdefs.h. */ 3209 3210int 3211main () 3212{ 3213 3214 ; 3215 return 0; 3216} 3217_ACEOF 3218rm -f conftest.$ac_objext 3219if { (ac_try="$ac_compile" 3220case "(($ac_try" in 3221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3222 *) ac_try_echo=$ac_try;; 3223esac 3224eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3225$as_echo "$ac_try_echo") >&5 3226 (eval "$ac_compile") 2>conftest.er1 3227 ac_status=$? 3228 grep -v '^ *+' conftest.er1 >conftest.err 3229 rm -f conftest.er1 3230 cat conftest.err >&5 3231 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3232 (exit $ac_status); } && { 3233 test -z "$ac_c_werror_flag" || 3234 test ! -s conftest.err 3235 } && test -s conftest.$ac_objext; then 3236 ac_cv_prog_cc_g=yes 3237else 3238 $as_echo "$as_me: failed program was:" >&5 3239sed 's/^/| /' conftest.$ac_ext >&5 3240 3241 CFLAGS="" 3242 cat >conftest.$ac_ext <<_ACEOF 3243/* confdefs.h. */ 3244_ACEOF 3245cat confdefs.h >>conftest.$ac_ext 3246cat >>conftest.$ac_ext <<_ACEOF 3247/* end confdefs.h. */ 3248 3249int 3250main () 3251{ 3252 3253 ; 3254 return 0; 3255} 3256_ACEOF 3257rm -f conftest.$ac_objext 3258if { (ac_try="$ac_compile" 3259case "(($ac_try" in 3260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3261 *) ac_try_echo=$ac_try;; 3262esac 3263eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3264$as_echo "$ac_try_echo") >&5 3265 (eval "$ac_compile") 2>conftest.er1 3266 ac_status=$? 3267 grep -v '^ *+' conftest.er1 >conftest.err 3268 rm -f conftest.er1 3269 cat conftest.err >&5 3270 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3271 (exit $ac_status); } && { 3272 test -z "$ac_c_werror_flag" || 3273 test ! -s conftest.err 3274 } && test -s conftest.$ac_objext; then 3275 : 3276else 3277 $as_echo "$as_me: failed program was:" >&5 3278sed 's/^/| /' conftest.$ac_ext >&5 3279 3280 ac_c_werror_flag=$ac_save_c_werror_flag 3281 CFLAGS="-g" 3282 cat >conftest.$ac_ext <<_ACEOF 3283/* confdefs.h. */ 3284_ACEOF 3285cat confdefs.h >>conftest.$ac_ext 3286cat >>conftest.$ac_ext <<_ACEOF 3287/* end confdefs.h. */ 3288 3289int 3290main () 3291{ 3292 3293 ; 3294 return 0; 3295} 3296_ACEOF 3297rm -f conftest.$ac_objext 3298if { (ac_try="$ac_compile" 3299case "(($ac_try" in 3300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3301 *) ac_try_echo=$ac_try;; 3302esac 3303eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3304$as_echo "$ac_try_echo") >&5 3305 (eval "$ac_compile") 2>conftest.er1 3306 ac_status=$? 3307 grep -v '^ *+' conftest.er1 >conftest.err 3308 rm -f conftest.er1 3309 cat conftest.err >&5 3310 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3311 (exit $ac_status); } && { 3312 test -z "$ac_c_werror_flag" || 3313 test ! -s conftest.err 3314 } && test -s conftest.$ac_objext; then 3315 ac_cv_prog_cc_g=yes 3316else 3317 $as_echo "$as_me: failed program was:" >&5 3318sed 's/^/| /' conftest.$ac_ext >&5 3319 3320 3321fi 3322 3323rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3324fi 3325 3326rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3327fi 3328 3329rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3330 ac_c_werror_flag=$ac_save_c_werror_flag 3331fi 3332{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3333$as_echo "$ac_cv_prog_cc_g" >&6; } 3334if test "$ac_test_CFLAGS" = set; then 3335 CFLAGS=$ac_save_CFLAGS 3336elif test $ac_cv_prog_cc_g = yes; then 3337 if test "$GCC" = yes; then 3338 CFLAGS="-g -O2" 3339 else 3340 CFLAGS="-g" 3341 fi 3342else 3343 if test "$GCC" = yes; then 3344 CFLAGS="-O2" 3345 else 3346 CFLAGS= 3347 fi 3348fi 3349{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3350$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3351if test "${ac_cv_prog_cc_c89+set}" = set; then 3352 $as_echo_n "(cached) " >&6 3353else 3354 ac_cv_prog_cc_c89=no 3355ac_save_CC=$CC 3356cat >conftest.$ac_ext <<_ACEOF 3357/* confdefs.h. */ 3358_ACEOF 3359cat confdefs.h >>conftest.$ac_ext 3360cat >>conftest.$ac_ext <<_ACEOF 3361/* end confdefs.h. */ 3362#include <stdarg.h> 3363#include <stdio.h> 3364#include <sys/types.h> 3365#include <sys/stat.h> 3366/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3367struct buf { int x; }; 3368FILE * (*rcsopen) (struct buf *, struct stat *, int); 3369static char *e (p, i) 3370 char **p; 3371 int i; 3372{ 3373 return p[i]; 3374} 3375static char *f (char * (*g) (char **, int), char **p, ...) 3376{ 3377 char *s; 3378 va_list v; 3379 va_start (v,p); 3380 s = g (p, va_arg (v,int)); 3381 va_end (v); 3382 return s; 3383} 3384 3385/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3386 function prototypes and stuff, but not '\xHH' hex character constants. 3387 These don't provoke an error unfortunately, instead are silently treated 3388 as 'x'. The following induces an error, until -std is added to get 3389 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3390 array size at least. It's necessary to write '\x00'==0 to get something 3391 that's true only with -std. */ 3392int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3393 3394/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3395 inside strings and character constants. */ 3396#define FOO(x) 'x' 3397int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3398 3399int test (int i, double x); 3400struct s1 {int (*f) (int a);}; 3401struct s2 {int (*f) (double a);}; 3402int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3403int argc; 3404char **argv; 3405int 3406main () 3407{ 3408return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3409 ; 3410 return 0; 3411} 3412_ACEOF 3413for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3414 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3415do 3416 CC="$ac_save_CC $ac_arg" 3417 rm -f conftest.$ac_objext 3418if { (ac_try="$ac_compile" 3419case "(($ac_try" in 3420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3421 *) ac_try_echo=$ac_try;; 3422esac 3423eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3424$as_echo "$ac_try_echo") >&5 3425 (eval "$ac_compile") 2>conftest.er1 3426 ac_status=$? 3427 grep -v '^ *+' conftest.er1 >conftest.err 3428 rm -f conftest.er1 3429 cat conftest.err >&5 3430 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3431 (exit $ac_status); } && { 3432 test -z "$ac_c_werror_flag" || 3433 test ! -s conftest.err 3434 } && test -s conftest.$ac_objext; then 3435 ac_cv_prog_cc_c89=$ac_arg 3436else 3437 $as_echo "$as_me: failed program was:" >&5 3438sed 's/^/| /' conftest.$ac_ext >&5 3439 3440 3441fi 3442 3443rm -f core conftest.err conftest.$ac_objext 3444 test "x$ac_cv_prog_cc_c89" != "xno" && break 3445done 3446rm -f conftest.$ac_ext 3447CC=$ac_save_CC 3448 3449fi 3450# AC_CACHE_VAL 3451case "x$ac_cv_prog_cc_c89" in 3452 x) 3453 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3454$as_echo "none needed" >&6; } ;; 3455 xno) 3456 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3457$as_echo "unsupported" >&6; } ;; 3458 *) 3459 CC="$CC $ac_cv_prog_cc_c89" 3460 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3461$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3462esac 3463 3464 3465ac_ext=c 3466ac_cpp='$CPP $CPPFLAGS' 3467ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3468ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3469ac_compiler_gnu=$ac_cv_c_compiler_gnu 3470DEPDIR="${am__leading_dot}deps" 3471 3472ac_config_commands="$ac_config_commands depfiles" 3473 3474 3475am_make=${MAKE-make} 3476cat > confinc << 'END' 3477am__doit: 3478 @echo done 3479.PHONY: am__doit 3480END 3481# If we don't find an include directive, just comment out the code. 3482{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 3483$as_echo_n "checking for style of include used by $am_make... " >&6; } 3484am__include="#" 3485am__quote= 3486_am_result=none 3487# First try GNU make style include. 3488echo "include confinc" > confmf 3489# We grep out `Entering directory' and `Leaving directory' 3490# messages which can occur if `w' ends up in MAKEFLAGS. 3491# In particular we don't look at `^make:' because GNU make might 3492# be invoked under some other name (usually "gmake"), in which 3493# case it prints its new name instead of `make'. 3494if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 3495 am__include=include 3496 am__quote= 3497 _am_result=GNU 3498fi 3499# Now try BSD make style include. 3500if test "$am__include" = "#"; then 3501 echo '.include "confinc"' > confmf 3502 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 3503 am__include=.include 3504 am__quote="\"" 3505 _am_result=BSD 3506 fi 3507fi 3508 3509 3510{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 3511$as_echo "$_am_result" >&6; } 3512rm -f confinc confmf 3513 3514# Check whether --enable-dependency-tracking was given. 3515if test "${enable_dependency_tracking+set}" = set; then 3516 enableval=$enable_dependency_tracking; 3517fi 3518 3519if test "x$enable_dependency_tracking" != xno; then 3520 am_depcomp="$ac_aux_dir/depcomp" 3521 AMDEPBACKSLASH='\' 3522fi 3523 if test "x$enable_dependency_tracking" != xno; then 3524 AMDEP_TRUE= 3525 AMDEP_FALSE='#' 3526else 3527 AMDEP_TRUE='#' 3528 AMDEP_FALSE= 3529fi 3530 3531 3532 3533depcc="$CC" am_compiler_list= 3534 3535{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3536$as_echo_n "checking dependency style of $depcc... " >&6; } 3537if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3538 $as_echo_n "(cached) " >&6 3539else 3540 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3541 # We make a subdir and do the tests there. Otherwise we can end up 3542 # making bogus files that we don't know about and never remove. For 3543 # instance it was reported that on HP-UX the gcc test will end up 3544 # making a dummy file named `D' -- because `-MD' means `put the output 3545 # in D'. 3546 mkdir conftest.dir 3547 # Copy depcomp to subdir because otherwise we won't find it if we're 3548 # using a relative directory. 3549 cp "$am_depcomp" conftest.dir 3550 cd conftest.dir 3551 # We will build objects and dependencies in a subdirectory because 3552 # it helps to detect inapplicable dependency modes. For instance 3553 # both Tru64's cc and ICC support -MD to output dependencies as a 3554 # side effect of compilation, but ICC will put the dependencies in 3555 # the current directory while Tru64 will put them in the object 3556 # directory. 3557 mkdir sub 3558 3559 am_cv_CC_dependencies_compiler_type=none 3560 if test "$am_compiler_list" = ""; then 3561 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3562 fi 3563 for depmode in $am_compiler_list; do 3564 # Setup a source with many dependencies, because some compilers 3565 # like to wrap large dependency lists on column 80 (with \), and 3566 # we should not choose a depcomp mode which is confused by this. 3567 # 3568 # We need to recreate these files for each test, as the compiler may 3569 # overwrite some of them when testing with obscure command lines. 3570 # This happens at least with the AIX C compiler. 3571 : > sub/conftest.c 3572 for i in 1 2 3 4 5 6; do 3573 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3574 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3575 # Solaris 8's {/usr,}/bin/sh. 3576 touch sub/conftst$i.h 3577 done 3578 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3579 3580 case $depmode in 3581 nosideeffect) 3582 # after this tag, mechanisms are not by side-effect, so they'll 3583 # only be used when explicitly requested 3584 if test "x$enable_dependency_tracking" = xyes; then 3585 continue 3586 else 3587 break 3588 fi 3589 ;; 3590 none) break ;; 3591 esac 3592 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3593 # mode. It turns out that the SunPro C++ compiler does not properly 3594 # handle `-M -o', and we need to detect this. 3595 if depmode=$depmode \ 3596 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3597 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3598 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3599 >/dev/null 2>conftest.err && 3600 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3601 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3602 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3603 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3604 # icc doesn't choke on unknown options, it will just issue warnings 3605 # or remarks (even with -Werror). So we grep stderr for any message 3606 # that says an option was ignored or not supported. 3607 # When given -MP, icc 7.0 and 7.1 complain thusly: 3608 # icc: Command line warning: ignoring option '-M'; no argument required 3609 # The diagnosis changed in icc 8.0: 3610 # icc: Command line remark: option '-MP' not supported 3611 if (grep 'ignoring option' conftest.err || 3612 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3613 am_cv_CC_dependencies_compiler_type=$depmode 3614 break 3615 fi 3616 fi 3617 done 3618 3619 cd .. 3620 rm -rf conftest.dir 3621else 3622 am_cv_CC_dependencies_compiler_type=none 3623fi 3624 3625fi 3626{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3627$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3628CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3629 3630 if 3631 test "x$enable_dependency_tracking" != xno \ 3632 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3633 am__fastdepCC_TRUE= 3634 am__fastdepCC_FALSE='#' 3635else 3636 am__fastdepCC_TRUE='#' 3637 am__fastdepCC_FALSE= 3638fi 3639 3640 3641 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5 3642$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 3643if test "${ac_cv_prog_cc_c99+set}" = set; then 3644 $as_echo_n "(cached) " >&6 3645else 3646 ac_cv_prog_cc_c99=no 3647ac_save_CC=$CC 3648cat >conftest.$ac_ext <<_ACEOF 3649/* confdefs.h. */ 3650_ACEOF 3651cat confdefs.h >>conftest.$ac_ext 3652cat >>conftest.$ac_ext <<_ACEOF 3653/* end confdefs.h. */ 3654#include <stdarg.h> 3655#include <stdbool.h> 3656#include <stdlib.h> 3657#include <wchar.h> 3658#include <stdio.h> 3659 3660// Check varargs macros. These examples are taken from C99 6.10.3.5. 3661#define debug(...) fprintf (stderr, __VA_ARGS__) 3662#define showlist(...) puts (#__VA_ARGS__) 3663#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 3664static void 3665test_varargs_macros (void) 3666{ 3667 int x = 1234; 3668 int y = 5678; 3669 debug ("Flag"); 3670 debug ("X = %d\n", x); 3671 showlist (The first, second, and third items.); 3672 report (x>y, "x is %d but y is %d", x, y); 3673} 3674 3675// Check long long types. 3676#define BIG64 18446744073709551615ull 3677#define BIG32 4294967295ul 3678#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 3679#if !BIG_OK 3680 your preprocessor is broken; 3681#endif 3682#if BIG_OK 3683#else 3684 your preprocessor is broken; 3685#endif 3686static long long int bignum = -9223372036854775807LL; 3687static unsigned long long int ubignum = BIG64; 3688 3689struct incomplete_array 3690{ 3691 int datasize; 3692 double data[]; 3693}; 3694 3695struct named_init { 3696 int number; 3697 const wchar_t *name; 3698 double average; 3699}; 3700 3701typedef const char *ccp; 3702 3703static inline int 3704test_restrict (ccp restrict text) 3705{ 3706 // See if C++-style comments work. 3707 // Iterate through items via the restricted pointer. 3708 // Also check for declarations in for loops. 3709 for (unsigned int i = 0; *(text+i) != '\0'; ++i) 3710 continue; 3711 return 0; 3712} 3713 3714// Check varargs and va_copy. 3715static void 3716test_varargs (const char *format, ...) 3717{ 3718 va_list args; 3719 va_start (args, format); 3720 va_list args_copy; 3721 va_copy (args_copy, args); 3722 3723 const char *str; 3724 int number; 3725 float fnumber; 3726 3727 while (*format) 3728 { 3729 switch (*format++) 3730 { 3731 case 's': // string 3732 str = va_arg (args_copy, const char *); 3733 break; 3734 case 'd': // int 3735 number = va_arg (args_copy, int); 3736 break; 3737 case 'f': // float 3738 fnumber = va_arg (args_copy, double); 3739 break; 3740 default: 3741 break; 3742 } 3743 } 3744 va_end (args_copy); 3745 va_end (args); 3746} 3747 3748int 3749main () 3750{ 3751 3752 // Check bool. 3753 _Bool success = false; 3754 3755 // Check restrict. 3756 if (test_restrict ("String literal") == 0) 3757 success = true; 3758 char *restrict newvar = "Another string"; 3759 3760 // Check varargs. 3761 test_varargs ("s, d' f .", "string", 65, 34.234); 3762 test_varargs_macros (); 3763 3764 // Check flexible array members. 3765 struct incomplete_array *ia = 3766 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 3767 ia->datasize = 10; 3768 for (int i = 0; i < ia->datasize; ++i) 3769 ia->data[i] = i * 1.234; 3770 3771 // Check named initializers. 3772 struct named_init ni = { 3773 .number = 34, 3774 .name = L"Test wide string", 3775 .average = 543.34343, 3776 }; 3777 3778 ni.number = 58; 3779 3780 int dynamic_array[ni.number]; 3781 dynamic_array[ni.number - 1] = 543; 3782 3783 // work around unused variable warnings 3784 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 3785 || dynamic_array[ni.number - 1] != 543); 3786 3787 ; 3788 return 0; 3789} 3790_ACEOF 3791for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 3792do 3793 CC="$ac_save_CC $ac_arg" 3794 rm -f conftest.$ac_objext 3795if { (ac_try="$ac_compile" 3796case "(($ac_try" in 3797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3798 *) ac_try_echo=$ac_try;; 3799esac 3800eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3801$as_echo "$ac_try_echo") >&5 3802 (eval "$ac_compile") 2>conftest.er1 3803 ac_status=$? 3804 grep -v '^ *+' conftest.er1 >conftest.err 3805 rm -f conftest.er1 3806 cat conftest.err >&5 3807 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3808 (exit $ac_status); } && { 3809 test -z "$ac_c_werror_flag" || 3810 test ! -s conftest.err 3811 } && test -s conftest.$ac_objext; then 3812 ac_cv_prog_cc_c99=$ac_arg 3813else 3814 $as_echo "$as_me: failed program was:" >&5 3815sed 's/^/| /' conftest.$ac_ext >&5 3816 3817 3818fi 3819 3820rm -f core conftest.err conftest.$ac_objext 3821 test "x$ac_cv_prog_cc_c99" != "xno" && break 3822done 3823rm -f conftest.$ac_ext 3824CC=$ac_save_CC 3825 3826fi 3827# AC_CACHE_VAL 3828case "x$ac_cv_prog_cc_c99" in 3829 x) 3830 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3831$as_echo "none needed" >&6; } ;; 3832 xno) 3833 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3834$as_echo "unsupported" >&6; } ;; 3835 *) 3836 CC="$CC $ac_cv_prog_cc_c99" 3837 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5 3838$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 3839esac 3840 3841 3842 3843# Find a good install program. We prefer a C program (faster), 3844# so one script is as good as another. But avoid the broken or 3845# incompatible versions: 3846# SysV /etc/install, /usr/sbin/install 3847# SunOS /usr/etc/install 3848# IRIX /sbin/install 3849# AIX /bin/install 3850# AmigaOS /C/install, which installs bootblocks on floppy discs 3851# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3852# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3853# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3854# OS/2's system install, which has a completely different semantic 3855# ./install, which can be erroneously created by make from ./install.sh. 3856# Reject install programs that cannot install multiple files. 3857{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3858$as_echo_n "checking for a BSD-compatible install... " >&6; } 3859if test -z "$INSTALL"; then 3860if test "${ac_cv_path_install+set}" = set; then 3861 $as_echo_n "(cached) " >&6 3862else 3863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3864for as_dir in $PATH 3865do 3866 IFS=$as_save_IFS 3867 test -z "$as_dir" && as_dir=. 3868 # Account for people who put trailing slashes in PATH elements. 3869case $as_dir/ in 3870 ./ | .// | /cC/* | \ 3871 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3872 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 3873 /usr/ucb/* ) ;; 3874 *) 3875 # OSF1 and SCO ODT 3.0 have their own names for install. 3876 # Don't use installbsd from OSF since it installs stuff as root 3877 # by default. 3878 for ac_prog in ginstall scoinst install; do 3879 for ac_exec_ext in '' $ac_executable_extensions; do 3880 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 3881 if test $ac_prog = install && 3882 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3883 # AIX install. It has an incompatible calling convention. 3884 : 3885 elif test $ac_prog = install && 3886 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3887 # program-specific install script used by HP pwplus--don't use. 3888 : 3889 else 3890 rm -rf conftest.one conftest.two conftest.dir 3891 echo one > conftest.one 3892 echo two > conftest.two 3893 mkdir conftest.dir 3894 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3895 test -s conftest.one && test -s conftest.two && 3896 test -s conftest.dir/conftest.one && 3897 test -s conftest.dir/conftest.two 3898 then 3899 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3900 break 3 3901 fi 3902 fi 3903 fi 3904 done 3905 done 3906 ;; 3907esac 3908 3909done 3910IFS=$as_save_IFS 3911 3912rm -rf conftest.one conftest.two conftest.dir 3913 3914fi 3915 if test "${ac_cv_path_install+set}" = set; then 3916 INSTALL=$ac_cv_path_install 3917 else 3918 # As a last resort, use the slow shell script. Don't cache a 3919 # value for INSTALL within a source directory, because that will 3920 # break other packages using the cache if that directory is 3921 # removed, or if the value is a relative name. 3922 INSTALL=$ac_install_sh 3923 fi 3924fi 3925{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 3926$as_echo "$INSTALL" >&6; } 3927 3928# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3929# It thinks the first close brace ends the variable substitution. 3930test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3931 3932test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3933 3934test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3935 3936case `pwd` in 3937 *\ * | *\ *) 3938 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 3939$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 3940esac 3941 3942 3943 3944macro_version='2.2.6' 3945macro_revision='1.3012' 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959ltmain="$ac_aux_dir/ltmain.sh" 3960 3961# Make sure we can run config.sub. 3962$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3963 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 3964$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 3965 { (exit 1); exit 1; }; } 3966 3967{ $as_echo "$as_me:$LINENO: checking build system type" >&5 3968$as_echo_n "checking build system type... " >&6; } 3969if test "${ac_cv_build+set}" = set; then 3970 $as_echo_n "(cached) " >&6 3971else 3972 ac_build_alias=$build_alias 3973test "x$ac_build_alias" = x && 3974 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3975test "x$ac_build_alias" = x && 3976 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 3977$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 3978 { (exit 1); exit 1; }; } 3979ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3980 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 3981$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 3982 { (exit 1); exit 1; }; } 3983 3984fi 3985{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3986$as_echo "$ac_cv_build" >&6; } 3987case $ac_cv_build in 3988*-*-*) ;; 3989*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 3990$as_echo "$as_me: error: invalid value of canonical build" >&2;} 3991 { (exit 1); exit 1; }; };; 3992esac 3993build=$ac_cv_build 3994ac_save_IFS=$IFS; IFS='-' 3995set x $ac_cv_build 3996shift 3997build_cpu=$1 3998build_vendor=$2 3999shift; shift 4000# Remember, the first character of IFS is used to create $*, 4001# except with old shells: 4002build_os=$* 4003IFS=$ac_save_IFS 4004case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4005 4006 4007{ $as_echo "$as_me:$LINENO: checking host system type" >&5 4008$as_echo_n "checking host system type... " >&6; } 4009if test "${ac_cv_host+set}" = set; then 4010 $as_echo_n "(cached) " >&6 4011else 4012 if test "x$host_alias" = x; then 4013 ac_cv_host=$ac_cv_build 4014else 4015 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4016 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 4017$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 4018 { (exit 1); exit 1; }; } 4019fi 4020 4021fi 4022{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 4023$as_echo "$ac_cv_host" >&6; } 4024case $ac_cv_host in 4025*-*-*) ;; 4026*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 4027$as_echo "$as_me: error: invalid value of canonical host" >&2;} 4028 { (exit 1); exit 1; }; };; 4029esac 4030host=$ac_cv_host 4031ac_save_IFS=$IFS; IFS='-' 4032set x $ac_cv_host 4033shift 4034host_cpu=$1 4035host_vendor=$2 4036shift; shift 4037# Remember, the first character of IFS is used to create $*, 4038# except with old shells: 4039host_os=$* 4040IFS=$ac_save_IFS 4041case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4042 4043 4044{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 4045$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4046if test "${ac_cv_path_SED+set}" = set; then 4047 $as_echo_n "(cached) " >&6 4048else 4049 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4050 for ac_i in 1 2 3 4 5 6 7; do 4051 ac_script="$ac_script$as_nl$ac_script" 4052 done 4053 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4054 $as_unset ac_script || ac_script= 4055 if test -z "$SED"; then 4056 ac_path_SED_found=false 4057 # Loop through the user's path and test for each of PROGNAME-LIST 4058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4059for as_dir in $PATH 4060do 4061 IFS=$as_save_IFS 4062 test -z "$as_dir" && as_dir=. 4063 for ac_prog in sed gsed; do 4064 for ac_exec_ext in '' $ac_executable_extensions; do 4065 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4066 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 4067# Check for GNU ac_path_SED and select it if it is found. 4068 # Check for GNU $ac_path_SED 4069case `"$ac_path_SED" --version 2>&1` in 4070*GNU*) 4071 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4072*) 4073 ac_count=0 4074 $as_echo_n 0123456789 >"conftest.in" 4075 while : 4076 do 4077 cat "conftest.in" "conftest.in" >"conftest.tmp" 4078 mv "conftest.tmp" "conftest.in" 4079 cp "conftest.in" "conftest.nl" 4080 $as_echo '' >> "conftest.nl" 4081 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4082 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4083 ac_count=`expr $ac_count + 1` 4084 if test $ac_count -gt ${ac_path_SED_max-0}; then 4085 # Best one so far, save it but keep looking for a better one 4086 ac_cv_path_SED="$ac_path_SED" 4087 ac_path_SED_max=$ac_count 4088 fi 4089 # 10*(2^10) chars as input seems more than enough 4090 test $ac_count -gt 10 && break 4091 done 4092 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4093esac 4094 4095 $ac_path_SED_found && break 3 4096 done 4097 done 4098done 4099IFS=$as_save_IFS 4100 if test -z "$ac_cv_path_SED"; then 4101 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5 4102$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;} 4103 { (exit 1); exit 1; }; } 4104 fi 4105else 4106 ac_cv_path_SED=$SED 4107fi 4108 4109fi 4110{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 4111$as_echo "$ac_cv_path_SED" >&6; } 4112 SED="$ac_cv_path_SED" 4113 rm -f conftest.sed 4114 4115test -z "$SED" && SED=sed 4116Xsed="$SED -e 1s/^X//" 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4129$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4130if test "${ac_cv_path_GREP+set}" = set; then 4131 $as_echo_n "(cached) " >&6 4132else 4133 if test -z "$GREP"; then 4134 ac_path_GREP_found=false 4135 # Loop through the user's path and test for each of PROGNAME-LIST 4136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4137for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4138do 4139 IFS=$as_save_IFS 4140 test -z "$as_dir" && as_dir=. 4141 for ac_prog in grep ggrep; do 4142 for ac_exec_ext in '' $ac_executable_extensions; do 4143 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4144 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4145# Check for GNU ac_path_GREP and select it if it is found. 4146 # Check for GNU $ac_path_GREP 4147case `"$ac_path_GREP" --version 2>&1` in 4148*GNU*) 4149 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4150*) 4151 ac_count=0 4152 $as_echo_n 0123456789 >"conftest.in" 4153 while : 4154 do 4155 cat "conftest.in" "conftest.in" >"conftest.tmp" 4156 mv "conftest.tmp" "conftest.in" 4157 cp "conftest.in" "conftest.nl" 4158 $as_echo 'GREP' >> "conftest.nl" 4159 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4160 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4161 ac_count=`expr $ac_count + 1` 4162 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4163 # Best one so far, save it but keep looking for a better one 4164 ac_cv_path_GREP="$ac_path_GREP" 4165 ac_path_GREP_max=$ac_count 4166 fi 4167 # 10*(2^10) chars as input seems more than enough 4168 test $ac_count -gt 10 && break 4169 done 4170 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4171esac 4172 4173 $ac_path_GREP_found && break 3 4174 done 4175 done 4176done 4177IFS=$as_save_IFS 4178 if test -z "$ac_cv_path_GREP"; then 4179 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4180$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4181 { (exit 1); exit 1; }; } 4182 fi 4183else 4184 ac_cv_path_GREP=$GREP 4185fi 4186 4187fi 4188{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4189$as_echo "$ac_cv_path_GREP" >&6; } 4190 GREP="$ac_cv_path_GREP" 4191 4192 4193{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 4194$as_echo_n "checking for egrep... " >&6; } 4195if test "${ac_cv_path_EGREP+set}" = set; then 4196 $as_echo_n "(cached) " >&6 4197else 4198 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4199 then ac_cv_path_EGREP="$GREP -E" 4200 else 4201 if test -z "$EGREP"; then 4202 ac_path_EGREP_found=false 4203 # Loop through the user's path and test for each of PROGNAME-LIST 4204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4205for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4206do 4207 IFS=$as_save_IFS 4208 test -z "$as_dir" && as_dir=. 4209 for ac_prog in egrep; do 4210 for ac_exec_ext in '' $ac_executable_extensions; do 4211 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4212 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4213# Check for GNU ac_path_EGREP and select it if it is found. 4214 # Check for GNU $ac_path_EGREP 4215case `"$ac_path_EGREP" --version 2>&1` in 4216*GNU*) 4217 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4218*) 4219 ac_count=0 4220 $as_echo_n 0123456789 >"conftest.in" 4221 while : 4222 do 4223 cat "conftest.in" "conftest.in" >"conftest.tmp" 4224 mv "conftest.tmp" "conftest.in" 4225 cp "conftest.in" "conftest.nl" 4226 $as_echo 'EGREP' >> "conftest.nl" 4227 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4228 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4229 ac_count=`expr $ac_count + 1` 4230 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4231 # Best one so far, save it but keep looking for a better one 4232 ac_cv_path_EGREP="$ac_path_EGREP" 4233 ac_path_EGREP_max=$ac_count 4234 fi 4235 # 10*(2^10) chars as input seems more than enough 4236 test $ac_count -gt 10 && break 4237 done 4238 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4239esac 4240 4241 $ac_path_EGREP_found && break 3 4242 done 4243 done 4244done 4245IFS=$as_save_IFS 4246 if test -z "$ac_cv_path_EGREP"; then 4247 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4248$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4249 { (exit 1); exit 1; }; } 4250 fi 4251else 4252 ac_cv_path_EGREP=$EGREP 4253fi 4254 4255 fi 4256fi 4257{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4258$as_echo "$ac_cv_path_EGREP" >&6; } 4259 EGREP="$ac_cv_path_EGREP" 4260 4261 4262{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5 4263$as_echo_n "checking for fgrep... " >&6; } 4264if test "${ac_cv_path_FGREP+set}" = set; then 4265 $as_echo_n "(cached) " >&6 4266else 4267 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4268 then ac_cv_path_FGREP="$GREP -F" 4269 else 4270 if test -z "$FGREP"; then 4271 ac_path_FGREP_found=false 4272 # Loop through the user's path and test for each of PROGNAME-LIST 4273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4274for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4275do 4276 IFS=$as_save_IFS 4277 test -z "$as_dir" && as_dir=. 4278 for ac_prog in fgrep; do 4279 for ac_exec_ext in '' $ac_executable_extensions; do 4280 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4281 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 4282# Check for GNU ac_path_FGREP and select it if it is found. 4283 # Check for GNU $ac_path_FGREP 4284case `"$ac_path_FGREP" --version 2>&1` in 4285*GNU*) 4286 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4287*) 4288 ac_count=0 4289 $as_echo_n 0123456789 >"conftest.in" 4290 while : 4291 do 4292 cat "conftest.in" "conftest.in" >"conftest.tmp" 4293 mv "conftest.tmp" "conftest.in" 4294 cp "conftest.in" "conftest.nl" 4295 $as_echo 'FGREP' >> "conftest.nl" 4296 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4297 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4298 ac_count=`expr $ac_count + 1` 4299 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4300 # Best one so far, save it but keep looking for a better one 4301 ac_cv_path_FGREP="$ac_path_FGREP" 4302 ac_path_FGREP_max=$ac_count 4303 fi 4304 # 10*(2^10) chars as input seems more than enough 4305 test $ac_count -gt 10 && break 4306 done 4307 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4308esac 4309 4310 $ac_path_FGREP_found && break 3 4311 done 4312 done 4313done 4314IFS=$as_save_IFS 4315 if test -z "$ac_cv_path_FGREP"; then 4316 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4317$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4318 { (exit 1); exit 1; }; } 4319 fi 4320else 4321 ac_cv_path_FGREP=$FGREP 4322fi 4323 4324 fi 4325fi 4326{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5 4327$as_echo "$ac_cv_path_FGREP" >&6; } 4328 FGREP="$ac_cv_path_FGREP" 4329 4330 4331test -z "$GREP" && GREP=grep 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351# Check whether --with-gnu-ld was given. 4352if test "${with_gnu_ld+set}" = set; then 4353 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4354else 4355 with_gnu_ld=no 4356fi 4357 4358ac_prog=ld 4359if test "$GCC" = yes; then 4360 # Check if gcc -print-prog-name=ld gives a path. 4361 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5 4362$as_echo_n "checking for ld used by $CC... " >&6; } 4363 case $host in 4364 *-*-mingw*) 4365 # gcc leaves a trailing carriage return which upsets mingw 4366 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4367 *) 4368 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4369 esac 4370 case $ac_prog in 4371 # Accept absolute paths. 4372 [\\/]* | ?:[\\/]*) 4373 re_direlt='/[^/][^/]*/\.\./' 4374 # Canonicalize the pathname of ld 4375 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4376 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4377 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4378 done 4379 test -z "$LD" && LD="$ac_prog" 4380 ;; 4381 "") 4382 # If it fails, then pretend we aren't using GCC. 4383 ac_prog=ld 4384 ;; 4385 *) 4386 # If it is relative, then search for the first ld in PATH. 4387 with_gnu_ld=unknown 4388 ;; 4389 esac 4390elif test "$with_gnu_ld" = yes; then 4391 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 4392$as_echo_n "checking for GNU ld... " >&6; } 4393else 4394 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 4395$as_echo_n "checking for non-GNU ld... " >&6; } 4396fi 4397if test "${lt_cv_path_LD+set}" = set; then 4398 $as_echo_n "(cached) " >&6 4399else 4400 if test -z "$LD"; then 4401 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4402 for ac_dir in $PATH; do 4403 IFS="$lt_save_ifs" 4404 test -z "$ac_dir" && ac_dir=. 4405 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4406 lt_cv_path_LD="$ac_dir/$ac_prog" 4407 # Check to see if the program is GNU ld. I'd rather use --version, 4408 # but apparently some variants of GNU ld only accept -v. 4409 # Break only if it was the GNU/non-GNU ld that we prefer. 4410 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4411 *GNU* | *'with BFD'*) 4412 test "$with_gnu_ld" != no && break 4413 ;; 4414 *) 4415 test "$with_gnu_ld" != yes && break 4416 ;; 4417 esac 4418 fi 4419 done 4420 IFS="$lt_save_ifs" 4421else 4422 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4423fi 4424fi 4425 4426LD="$lt_cv_path_LD" 4427if test -n "$LD"; then 4428 { $as_echo "$as_me:$LINENO: result: $LD" >&5 4429$as_echo "$LD" >&6; } 4430else 4431 { $as_echo "$as_me:$LINENO: result: no" >&5 4432$as_echo "no" >&6; } 4433fi 4434test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 4435$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 4436 { (exit 1); exit 1; }; } 4437{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 4438$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4439if test "${lt_cv_prog_gnu_ld+set}" = set; then 4440 $as_echo_n "(cached) " >&6 4441else 4442 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4443case `$LD -v 2>&1 </dev/null` in 4444*GNU* | *'with BFD'*) 4445 lt_cv_prog_gnu_ld=yes 4446 ;; 4447*) 4448 lt_cv_prog_gnu_ld=no 4449 ;; 4450esac 4451fi 4452{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 4453$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4454with_gnu_ld=$lt_cv_prog_gnu_ld 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5 4465$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4466if test "${lt_cv_path_NM+set}" = set; then 4467 $as_echo_n "(cached) " >&6 4468else 4469 if test -n "$NM"; then 4470 # Let the user override the test. 4471 lt_cv_path_NM="$NM" 4472else 4473 lt_nm_to_check="${ac_tool_prefix}nm" 4474 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4475 lt_nm_to_check="$lt_nm_to_check nm" 4476 fi 4477 for lt_tmp_nm in $lt_nm_to_check; do 4478 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4479 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4480 IFS="$lt_save_ifs" 4481 test -z "$ac_dir" && ac_dir=. 4482 tmp_nm="$ac_dir/$lt_tmp_nm" 4483 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4484 # Check to see if the nm accepts a BSD-compat flag. 4485 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4486 # nm: unknown option "B" ignored 4487 # Tru64's nm complains that /dev/null is an invalid object file 4488 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4489 */dev/null* | *'Invalid file or object type'*) 4490 lt_cv_path_NM="$tmp_nm -B" 4491 break 4492 ;; 4493 *) 4494 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4495 */dev/null*) 4496 lt_cv_path_NM="$tmp_nm -p" 4497 break 4498 ;; 4499 *) 4500 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4501 continue # so that we can try to find one that supports BSD flags 4502 ;; 4503 esac 4504 ;; 4505 esac 4506 fi 4507 done 4508 IFS="$lt_save_ifs" 4509 done 4510 : ${lt_cv_path_NM=no} 4511fi 4512fi 4513{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 4514$as_echo "$lt_cv_path_NM" >&6; } 4515if test "$lt_cv_path_NM" != "no"; then 4516 NM="$lt_cv_path_NM" 4517else 4518 # Didn't find any BSD compatible name lister, look for dumpbin. 4519 if test -n "$ac_tool_prefix"; then 4520 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 4521 do 4522 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4523set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4524{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4525$as_echo_n "checking for $ac_word... " >&6; } 4526if test "${ac_cv_prog_DUMPBIN+set}" = set; then 4527 $as_echo_n "(cached) " >&6 4528else 4529 if test -n "$DUMPBIN"; then 4530 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4531else 4532as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4533for as_dir in $PATH 4534do 4535 IFS=$as_save_IFS 4536 test -z "$as_dir" && as_dir=. 4537 for ac_exec_ext in '' $ac_executable_extensions; do 4538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4539 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4540 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4541 break 2 4542 fi 4543done 4544done 4545IFS=$as_save_IFS 4546 4547fi 4548fi 4549DUMPBIN=$ac_cv_prog_DUMPBIN 4550if test -n "$DUMPBIN"; then 4551 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5 4552$as_echo "$DUMPBIN" >&6; } 4553else 4554 { $as_echo "$as_me:$LINENO: result: no" >&5 4555$as_echo "no" >&6; } 4556fi 4557 4558 4559 test -n "$DUMPBIN" && break 4560 done 4561fi 4562if test -z "$DUMPBIN"; then 4563 ac_ct_DUMPBIN=$DUMPBIN 4564 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 4565do 4566 # Extract the first word of "$ac_prog", so it can be a program name with args. 4567set dummy $ac_prog; ac_word=$2 4568{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4569$as_echo_n "checking for $ac_word... " >&6; } 4570if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then 4571 $as_echo_n "(cached) " >&6 4572else 4573 if test -n "$ac_ct_DUMPBIN"; then 4574 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4575else 4576as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4577for as_dir in $PATH 4578do 4579 IFS=$as_save_IFS 4580 test -z "$as_dir" && as_dir=. 4581 for ac_exec_ext in '' $ac_executable_extensions; do 4582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4583 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4584 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4585 break 2 4586 fi 4587done 4588done 4589IFS=$as_save_IFS 4590 4591fi 4592fi 4593ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4594if test -n "$ac_ct_DUMPBIN"; then 4595 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5 4596$as_echo "$ac_ct_DUMPBIN" >&6; } 4597else 4598 { $as_echo "$as_me:$LINENO: result: no" >&5 4599$as_echo "no" >&6; } 4600fi 4601 4602 4603 test -n "$ac_ct_DUMPBIN" && break 4604done 4605 4606 if test "x$ac_ct_DUMPBIN" = x; then 4607 DUMPBIN=":" 4608 else 4609 case $cross_compiling:$ac_tool_warned in 4610yes:) 4611{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 4612whose name does not start with the host triplet. If you think this 4613configuration is useful to you, please write to autoconf@gnu.org." >&5 4614$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 4615whose name does not start with the host triplet. If you think this 4616configuration is useful to you, please write to autoconf@gnu.org." >&2;} 4617ac_tool_warned=yes ;; 4618esac 4619 DUMPBIN=$ac_ct_DUMPBIN 4620 fi 4621fi 4622 4623 4624 if test "$DUMPBIN" != ":"; then 4625 NM="$DUMPBIN" 4626 fi 4627fi 4628test -z "$NM" && NM=nm 4629 4630 4631 4632 4633 4634 4635{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5 4636$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4637if test "${lt_cv_nm_interface+set}" = set; then 4638 $as_echo_n "(cached) " >&6 4639else 4640 lt_cv_nm_interface="BSD nm" 4641 echo "int some_variable = 0;" > conftest.$ac_ext 4642 (eval echo "\"\$as_me:4642: $ac_compile\"" >&5) 4643 (eval "$ac_compile" 2>conftest.err) 4644 cat conftest.err >&5 4645 (eval echo "\"\$as_me:4645: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4646 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4647 cat conftest.err >&5 4648 (eval echo "\"\$as_me:4648: output\"" >&5) 4649 cat conftest.out >&5 4650 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4651 lt_cv_nm_interface="MS dumpbin" 4652 fi 4653 rm -f conftest* 4654fi 4655{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5 4656$as_echo "$lt_cv_nm_interface" >&6; } 4657 4658{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 4659$as_echo_n "checking whether ln -s works... " >&6; } 4660LN_S=$as_ln_s 4661if test "$LN_S" = "ln -s"; then 4662 { $as_echo "$as_me:$LINENO: result: yes" >&5 4663$as_echo "yes" >&6; } 4664else 4665 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 4666$as_echo "no, using $LN_S" >&6; } 4667fi 4668 4669# find the maximum length of command line arguments 4670{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 4671$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4672if test "${lt_cv_sys_max_cmd_len+set}" = set; then 4673 $as_echo_n "(cached) " >&6 4674else 4675 i=0 4676 teststring="ABCD" 4677 4678 case $build_os in 4679 msdosdjgpp*) 4680 # On DJGPP, this test can blow up pretty badly due to problems in libc 4681 # (any single argument exceeding 2000 bytes causes a buffer overrun 4682 # during glob expansion). Even if it were fixed, the result of this 4683 # check would be larger than it should be. 4684 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4685 ;; 4686 4687 gnu*) 4688 # Under GNU Hurd, this test is not required because there is 4689 # no limit to the length of command line arguments. 4690 # Libtool will interpret -1 as no limit whatsoever 4691 lt_cv_sys_max_cmd_len=-1; 4692 ;; 4693 4694 cygwin* | mingw* | cegcc*) 4695 # On Win9x/ME, this test blows up -- it succeeds, but takes 4696 # about 5 minutes as the teststring grows exponentially. 4697 # Worse, since 9x/ME are not pre-emptively multitasking, 4698 # you end up with a "frozen" computer, even though with patience 4699 # the test eventually succeeds (with a max line length of 256k). 4700 # Instead, let's just punt: use the minimum linelength reported by 4701 # all of the supported platforms: 8192 (on NT/2K/XP). 4702 lt_cv_sys_max_cmd_len=8192; 4703 ;; 4704 4705 amigaos*) 4706 # On AmigaOS with pdksh, this test takes hours, literally. 4707 # So we just punt and use a minimum line length of 8192. 4708 lt_cv_sys_max_cmd_len=8192; 4709 ;; 4710 4711 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 4712 # This has been around since 386BSD, at least. Likely further. 4713 if test -x /sbin/sysctl; then 4714 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4715 elif test -x /usr/sbin/sysctl; then 4716 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4717 else 4718 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4719 fi 4720 # And add a safety zone 4721 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4722 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4723 ;; 4724 4725 interix*) 4726 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4727 lt_cv_sys_max_cmd_len=196608 4728 ;; 4729 4730 osf*) 4731 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4732 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4733 # nice to cause kernel panics so lets avoid the loop below. 4734 # First set a reasonable default. 4735 lt_cv_sys_max_cmd_len=16384 4736 # 4737 if test -x /sbin/sysconfig; then 4738 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4739 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4740 esac 4741 fi 4742 ;; 4743 sco3.2v5*) 4744 lt_cv_sys_max_cmd_len=102400 4745 ;; 4746 sysv5* | sco5v6* | sysv4.2uw2*) 4747 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 4748 if test -n "$kargmax"; then 4749 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 4750 else 4751 lt_cv_sys_max_cmd_len=32768 4752 fi 4753 ;; 4754 *) 4755 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 4756 if test -n "$lt_cv_sys_max_cmd_len"; then 4757 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4758 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4759 else 4760 # Make teststring a little bigger before we do anything with it. 4761 # a 1K string should be a reasonable start. 4762 for i in 1 2 3 4 5 6 7 8 ; do 4763 teststring=$teststring$teststring 4764 done 4765 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 4766 # If test is not a shell built-in, we'll probably end up computing a 4767 # maximum length that is only half of the actual maximum length, but 4768 # we can't tell. 4769 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ 4770 = "XX$teststring$teststring"; } >/dev/null 2>&1 && 4771 test $i != 17 # 1/2 MB should be enough 4772 do 4773 i=`expr $i + 1` 4774 teststring=$teststring$teststring 4775 done 4776 # Only check the string length outside the loop. 4777 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 4778 teststring= 4779 # Add a significant safety factor because C++ compilers can tack on 4780 # massive amounts of additional arguments before passing them to the 4781 # linker. It appears as though 1/2 is a usable value. 4782 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 4783 fi 4784 ;; 4785 esac 4786 4787fi 4788 4789if test -n $lt_cv_sys_max_cmd_len ; then 4790 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 4791$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 4792else 4793 { $as_echo "$as_me:$LINENO: result: none" >&5 4794$as_echo "none" >&6; } 4795fi 4796max_cmd_len=$lt_cv_sys_max_cmd_len 4797 4798 4799 4800 4801 4802 4803: ${CP="cp -f"} 4804: ${MV="mv -f"} 4805: ${RM="rm -f"} 4806 4807{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5 4808$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 4809# Try some XSI features 4810xsi_shell=no 4811( _lt_dummy="a/b/c" 4812 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ 4813 = c,a/b,, \ 4814 && eval 'test $(( 1 + 1 )) -eq 2 \ 4815 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 4816 && xsi_shell=yes 4817{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5 4818$as_echo "$xsi_shell" >&6; } 4819 4820 4821{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5 4822$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 4823lt_shell_append=no 4824( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 4825 >/dev/null 2>&1 \ 4826 && lt_shell_append=yes 4827{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5 4828$as_echo "$lt_shell_append" >&6; } 4829 4830 4831if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4832 lt_unset=unset 4833else 4834 lt_unset=false 4835fi 4836 4837 4838 4839 4840 4841# test EBCDIC or ASCII 4842case `echo X|tr X '\101'` in 4843 A) # ASCII based system 4844 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 4845 lt_SP2NL='tr \040 \012' 4846 lt_NL2SP='tr \015\012 \040\040' 4847 ;; 4848 *) # EBCDIC based system 4849 lt_SP2NL='tr \100 \n' 4850 lt_NL2SP='tr \r\n \100\100' 4851 ;; 4852esac 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 4863$as_echo_n "checking for $LD option to reload object files... " >&6; } 4864if test "${lt_cv_ld_reload_flag+set}" = set; then 4865 $as_echo_n "(cached) " >&6 4866else 4867 lt_cv_ld_reload_flag='-r' 4868fi 4869{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 4870$as_echo "$lt_cv_ld_reload_flag" >&6; } 4871reload_flag=$lt_cv_ld_reload_flag 4872case $reload_flag in 4873"" | " "*) ;; 4874*) reload_flag=" $reload_flag" ;; 4875esac 4876reload_cmds='$LD$reload_flag -o $output$reload_objs' 4877case $host_os in 4878 darwin*) 4879 if test "$GCC" = yes; then 4880 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 4881 else 4882 reload_cmds='$LD$reload_flag -o $output$reload_objs' 4883 fi 4884 ;; 4885esac 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895if test -n "$ac_tool_prefix"; then 4896 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4897set dummy ${ac_tool_prefix}objdump; ac_word=$2 4898{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4899$as_echo_n "checking for $ac_word... " >&6; } 4900if test "${ac_cv_prog_OBJDUMP+set}" = set; then 4901 $as_echo_n "(cached) " >&6 4902else 4903 if test -n "$OBJDUMP"; then 4904 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4905else 4906as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4907for as_dir in $PATH 4908do 4909 IFS=$as_save_IFS 4910 test -z "$as_dir" && as_dir=. 4911 for ac_exec_ext in '' $ac_executable_extensions; do 4912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4913 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4914 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4915 break 2 4916 fi 4917done 4918done 4919IFS=$as_save_IFS 4920 4921fi 4922fi 4923OBJDUMP=$ac_cv_prog_OBJDUMP 4924if test -n "$OBJDUMP"; then 4925 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5 4926$as_echo "$OBJDUMP" >&6; } 4927else 4928 { $as_echo "$as_me:$LINENO: result: no" >&5 4929$as_echo "no" >&6; } 4930fi 4931 4932 4933fi 4934if test -z "$ac_cv_prog_OBJDUMP"; then 4935 ac_ct_OBJDUMP=$OBJDUMP 4936 # Extract the first word of "objdump", so it can be a program name with args. 4937set dummy objdump; ac_word=$2 4938{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4939$as_echo_n "checking for $ac_word... " >&6; } 4940if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then 4941 $as_echo_n "(cached) " >&6 4942else 4943 if test -n "$ac_ct_OBJDUMP"; then 4944 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4945else 4946as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4947for as_dir in $PATH 4948do 4949 IFS=$as_save_IFS 4950 test -z "$as_dir" && as_dir=. 4951 for ac_exec_ext in '' $ac_executable_extensions; do 4952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4953 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4954 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4955 break 2 4956 fi 4957done 4958done 4959IFS=$as_save_IFS 4960 4961fi 4962fi 4963ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4964if test -n "$ac_ct_OBJDUMP"; then 4965 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 4966$as_echo "$ac_ct_OBJDUMP" >&6; } 4967else 4968 { $as_echo "$as_me:$LINENO: result: no" >&5 4969$as_echo "no" >&6; } 4970fi 4971 4972 if test "x$ac_ct_OBJDUMP" = x; then 4973 OBJDUMP="false" 4974 else 4975 case $cross_compiling:$ac_tool_warned in 4976yes:) 4977{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 4978whose name does not start with the host triplet. If you think this 4979configuration is useful to you, please write to autoconf@gnu.org." >&5 4980$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 4981whose name does not start with the host triplet. If you think this 4982configuration is useful to you, please write to autoconf@gnu.org." >&2;} 4983ac_tool_warned=yes ;; 4984esac 4985 OBJDUMP=$ac_ct_OBJDUMP 4986 fi 4987else 4988 OBJDUMP="$ac_cv_prog_OBJDUMP" 4989fi 4990 4991test -z "$OBJDUMP" && OBJDUMP=objdump 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 5002$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5003if test "${lt_cv_deplibs_check_method+set}" = set; then 5004 $as_echo_n "(cached) " >&6 5005else 5006 lt_cv_file_magic_cmd='$MAGIC_CMD' 5007lt_cv_file_magic_test_file= 5008lt_cv_deplibs_check_method='unknown' 5009# Need to set the preceding variable on all platforms that support 5010# interlibrary dependencies. 5011# 'none' -- dependencies not supported. 5012# `unknown' -- same as none, but documents that we really don't know. 5013# 'pass_all' -- all dependencies passed with no checks. 5014# 'test_compile' -- check by making test program. 5015# 'file_magic [[regex]]' -- check by looking for files in library path 5016# which responds to the $file_magic_cmd with a given extended regex. 5017# If you have `file' or equivalent on your system and you're not sure 5018# whether `pass_all' will *always* work, you probably want this one. 5019 5020case $host_os in 5021aix[4-9]*) 5022 lt_cv_deplibs_check_method=pass_all 5023 ;; 5024 5025beos*) 5026 lt_cv_deplibs_check_method=pass_all 5027 ;; 5028 5029bsdi[45]*) 5030 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5031 lt_cv_file_magic_cmd='/usr/bin/file -L' 5032 lt_cv_file_magic_test_file=/shlib/libc.so 5033 ;; 5034 5035cygwin*) 5036 # func_win32_libid is a shell function defined in ltmain.sh 5037 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5038 lt_cv_file_magic_cmd='func_win32_libid' 5039 ;; 5040 5041mingw* | pw32*) 5042 # Base MSYS/MinGW do not provide the 'file' command needed by 5043 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5044 # unless we find 'file', for example because we are cross-compiling. 5045 if ( file / ) >/dev/null 2>&1; then 5046 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5047 lt_cv_file_magic_cmd='func_win32_libid' 5048 else 5049 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 5050 lt_cv_file_magic_cmd='$OBJDUMP -f' 5051 fi 5052 ;; 5053 5054cegcc) 5055 # use the weaker test based on 'objdump'. See mingw*. 5056 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5057 lt_cv_file_magic_cmd='$OBJDUMP -f' 5058 ;; 5059 5060darwin* | rhapsody*) 5061 lt_cv_deplibs_check_method=pass_all 5062 ;; 5063 5064freebsd* | dragonfly*) 5065 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5066 case $host_cpu in 5067 i*86 ) 5068 # Not sure whether the presence of OpenBSD here was a mistake. 5069 # Let's accept both of them until this is cleared up. 5070 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5071 lt_cv_file_magic_cmd=/usr/bin/file 5072 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5073 ;; 5074 esac 5075 else 5076 lt_cv_deplibs_check_method=pass_all 5077 fi 5078 ;; 5079 5080gnu*) 5081 lt_cv_deplibs_check_method=pass_all 5082 ;; 5083 5084hpux10.20* | hpux11*) 5085 lt_cv_file_magic_cmd=/usr/bin/file 5086 case $host_cpu in 5087 ia64*) 5088 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5089 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5090 ;; 5091 hppa*64*) 5092 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]' 5093 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5094 ;; 5095 *) 5096 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 5097 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5098 ;; 5099 esac 5100 ;; 5101 5102interix[3-9]*) 5103 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5104 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5105 ;; 5106 5107irix5* | irix6* | nonstopux*) 5108 case $LD in 5109 *-32|*"-32 ") libmagic=32-bit;; 5110 *-n32|*"-n32 ") libmagic=N32;; 5111 *-64|*"-64 ") libmagic=64-bit;; 5112 *) libmagic=never-match;; 5113 esac 5114 lt_cv_deplibs_check_method=pass_all 5115 ;; 5116 5117# This must be Linux ELF. 5118linux* | k*bsd*-gnu) 5119 lt_cv_deplibs_check_method=pass_all 5120 ;; 5121 5122netbsd*) 5123 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5124 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5125 else 5126 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5127 fi 5128 ;; 5129 5130newos6*) 5131 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5132 lt_cv_file_magic_cmd=/usr/bin/file 5133 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5134 ;; 5135 5136*nto* | *qnx*) 5137 lt_cv_deplibs_check_method=pass_all 5138 ;; 5139 5140openbsd*) 5141 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 5142 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5143 else 5144 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5145 fi 5146 ;; 5147 5148osf3* | osf4* | osf5*) 5149 lt_cv_deplibs_check_method=pass_all 5150 ;; 5151 5152rdos*) 5153 lt_cv_deplibs_check_method=pass_all 5154 ;; 5155 5156solaris*) 5157 lt_cv_deplibs_check_method=pass_all 5158 ;; 5159 5160sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5161 lt_cv_deplibs_check_method=pass_all 5162 ;; 5163 5164sysv4 | sysv4.3*) 5165 case $host_vendor in 5166 motorola) 5167 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]' 5168 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5169 ;; 5170 ncr) 5171 lt_cv_deplibs_check_method=pass_all 5172 ;; 5173 sequent) 5174 lt_cv_file_magic_cmd='/bin/file' 5175 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5176 ;; 5177 sni) 5178 lt_cv_file_magic_cmd='/bin/file' 5179 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5180 lt_cv_file_magic_test_file=/lib/libc.so 5181 ;; 5182 siemens) 5183 lt_cv_deplibs_check_method=pass_all 5184 ;; 5185 pc) 5186 lt_cv_deplibs_check_method=pass_all 5187 ;; 5188 esac 5189 ;; 5190 5191tpf*) 5192 lt_cv_deplibs_check_method=pass_all 5193 ;; 5194esac 5195 5196fi 5197{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 5198$as_echo "$lt_cv_deplibs_check_method" >&6; } 5199file_magic_cmd=$lt_cv_file_magic_cmd 5200deplibs_check_method=$lt_cv_deplibs_check_method 5201test -z "$deplibs_check_method" && deplibs_check_method=unknown 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214if test -n "$ac_tool_prefix"; then 5215 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 5216set dummy ${ac_tool_prefix}ar; ac_word=$2 5217{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5218$as_echo_n "checking for $ac_word... " >&6; } 5219if test "${ac_cv_prog_AR+set}" = set; then 5220 $as_echo_n "(cached) " >&6 5221else 5222 if test -n "$AR"; then 5223 ac_cv_prog_AR="$AR" # Let the user override the test. 5224else 5225as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5226for as_dir in $PATH 5227do 5228 IFS=$as_save_IFS 5229 test -z "$as_dir" && as_dir=. 5230 for ac_exec_ext in '' $ac_executable_extensions; do 5231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5232 ac_cv_prog_AR="${ac_tool_prefix}ar" 5233 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5234 break 2 5235 fi 5236done 5237done 5238IFS=$as_save_IFS 5239 5240fi 5241fi 5242AR=$ac_cv_prog_AR 5243if test -n "$AR"; then 5244 { $as_echo "$as_me:$LINENO: result: $AR" >&5 5245$as_echo "$AR" >&6; } 5246else 5247 { $as_echo "$as_me:$LINENO: result: no" >&5 5248$as_echo "no" >&6; } 5249fi 5250 5251 5252fi 5253if test -z "$ac_cv_prog_AR"; then 5254 ac_ct_AR=$AR 5255 # Extract the first word of "ar", so it can be a program name with args. 5256set dummy ar; ac_word=$2 5257{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5258$as_echo_n "checking for $ac_word... " >&6; } 5259if test "${ac_cv_prog_ac_ct_AR+set}" = set; then 5260 $as_echo_n "(cached) " >&6 5261else 5262 if test -n "$ac_ct_AR"; then 5263 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5264else 5265as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5266for as_dir in $PATH 5267do 5268 IFS=$as_save_IFS 5269 test -z "$as_dir" && as_dir=. 5270 for ac_exec_ext in '' $ac_executable_extensions; do 5271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5272 ac_cv_prog_ac_ct_AR="ar" 5273 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5274 break 2 5275 fi 5276done 5277done 5278IFS=$as_save_IFS 5279 5280fi 5281fi 5282ac_ct_AR=$ac_cv_prog_ac_ct_AR 5283if test -n "$ac_ct_AR"; then 5284 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 5285$as_echo "$ac_ct_AR" >&6; } 5286else 5287 { $as_echo "$as_me:$LINENO: result: no" >&5 5288$as_echo "no" >&6; } 5289fi 5290 5291 if test "x$ac_ct_AR" = x; then 5292 AR="false" 5293 else 5294 case $cross_compiling:$ac_tool_warned in 5295yes:) 5296{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 5297whose name does not start with the host triplet. If you think this 5298configuration is useful to you, please write to autoconf@gnu.org." >&5 5299$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 5300whose name does not start with the host triplet. If you think this 5301configuration is useful to you, please write to autoconf@gnu.org." >&2;} 5302ac_tool_warned=yes ;; 5303esac 5304 AR=$ac_ct_AR 5305 fi 5306else 5307 AR="$ac_cv_prog_AR" 5308fi 5309 5310test -z "$AR" && AR=ar 5311test -z "$AR_FLAGS" && AR_FLAGS=cru 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323if test -n "$ac_tool_prefix"; then 5324 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5325set dummy ${ac_tool_prefix}strip; ac_word=$2 5326{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5327$as_echo_n "checking for $ac_word... " >&6; } 5328if test "${ac_cv_prog_STRIP+set}" = set; then 5329 $as_echo_n "(cached) " >&6 5330else 5331 if test -n "$STRIP"; then 5332 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5333else 5334as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5335for as_dir in $PATH 5336do 5337 IFS=$as_save_IFS 5338 test -z "$as_dir" && as_dir=. 5339 for ac_exec_ext in '' $ac_executable_extensions; do 5340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5341 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5342 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5343 break 2 5344 fi 5345done 5346done 5347IFS=$as_save_IFS 5348 5349fi 5350fi 5351STRIP=$ac_cv_prog_STRIP 5352if test -n "$STRIP"; then 5353 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 5354$as_echo "$STRIP" >&6; } 5355else 5356 { $as_echo "$as_me:$LINENO: result: no" >&5 5357$as_echo "no" >&6; } 5358fi 5359 5360 5361fi 5362if test -z "$ac_cv_prog_STRIP"; then 5363 ac_ct_STRIP=$STRIP 5364 # Extract the first word of "strip", so it can be a program name with args. 5365set dummy strip; ac_word=$2 5366{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5367$as_echo_n "checking for $ac_word... " >&6; } 5368if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 5369 $as_echo_n "(cached) " >&6 5370else 5371 if test -n "$ac_ct_STRIP"; then 5372 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5373else 5374as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5375for as_dir in $PATH 5376do 5377 IFS=$as_save_IFS 5378 test -z "$as_dir" && as_dir=. 5379 for ac_exec_ext in '' $ac_executable_extensions; do 5380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5381 ac_cv_prog_ac_ct_STRIP="strip" 5382 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5383 break 2 5384 fi 5385done 5386done 5387IFS=$as_save_IFS 5388 5389fi 5390fi 5391ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5392if test -n "$ac_ct_STRIP"; then 5393 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 5394$as_echo "$ac_ct_STRIP" >&6; } 5395else 5396 { $as_echo "$as_me:$LINENO: result: no" >&5 5397$as_echo "no" >&6; } 5398fi 5399 5400 if test "x$ac_ct_STRIP" = x; then 5401 STRIP=":" 5402 else 5403 case $cross_compiling:$ac_tool_warned in 5404yes:) 5405{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 5406whose name does not start with the host triplet. If you think this 5407configuration is useful to you, please write to autoconf@gnu.org." >&5 5408$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 5409whose name does not start with the host triplet. If you think this 5410configuration is useful to you, please write to autoconf@gnu.org." >&2;} 5411ac_tool_warned=yes ;; 5412esac 5413 STRIP=$ac_ct_STRIP 5414 fi 5415else 5416 STRIP="$ac_cv_prog_STRIP" 5417fi 5418 5419test -z "$STRIP" && STRIP=: 5420 5421 5422 5423 5424 5425 5426if test -n "$ac_tool_prefix"; then 5427 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5428set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5429{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5430$as_echo_n "checking for $ac_word... " >&6; } 5431if test "${ac_cv_prog_RANLIB+set}" = set; then 5432 $as_echo_n "(cached) " >&6 5433else 5434 if test -n "$RANLIB"; then 5435 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5436else 5437as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5438for as_dir in $PATH 5439do 5440 IFS=$as_save_IFS 5441 test -z "$as_dir" && as_dir=. 5442 for ac_exec_ext in '' $ac_executable_extensions; do 5443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5444 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5445 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5446 break 2 5447 fi 5448done 5449done 5450IFS=$as_save_IFS 5451 5452fi 5453fi 5454RANLIB=$ac_cv_prog_RANLIB 5455if test -n "$RANLIB"; then 5456 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 5457$as_echo "$RANLIB" >&6; } 5458else 5459 { $as_echo "$as_me:$LINENO: result: no" >&5 5460$as_echo "no" >&6; } 5461fi 5462 5463 5464fi 5465if test -z "$ac_cv_prog_RANLIB"; then 5466 ac_ct_RANLIB=$RANLIB 5467 # Extract the first word of "ranlib", so it can be a program name with args. 5468set dummy ranlib; ac_word=$2 5469{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5470$as_echo_n "checking for $ac_word... " >&6; } 5471if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 5472 $as_echo_n "(cached) " >&6 5473else 5474 if test -n "$ac_ct_RANLIB"; then 5475 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5476else 5477as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5478for as_dir in $PATH 5479do 5480 IFS=$as_save_IFS 5481 test -z "$as_dir" && as_dir=. 5482 for ac_exec_ext in '' $ac_executable_extensions; do 5483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5484 ac_cv_prog_ac_ct_RANLIB="ranlib" 5485 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5486 break 2 5487 fi 5488done 5489done 5490IFS=$as_save_IFS 5491 5492fi 5493fi 5494ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5495if test -n "$ac_ct_RANLIB"; then 5496 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 5497$as_echo "$ac_ct_RANLIB" >&6; } 5498else 5499 { $as_echo "$as_me:$LINENO: result: no" >&5 5500$as_echo "no" >&6; } 5501fi 5502 5503 if test "x$ac_ct_RANLIB" = x; then 5504 RANLIB=":" 5505 else 5506 case $cross_compiling:$ac_tool_warned in 5507yes:) 5508{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 5509whose name does not start with the host triplet. If you think this 5510configuration is useful to you, please write to autoconf@gnu.org." >&5 5511$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 5512whose name does not start with the host triplet. If you think this 5513configuration is useful to you, please write to autoconf@gnu.org." >&2;} 5514ac_tool_warned=yes ;; 5515esac 5516 RANLIB=$ac_ct_RANLIB 5517 fi 5518else 5519 RANLIB="$ac_cv_prog_RANLIB" 5520fi 5521 5522test -z "$RANLIB" && RANLIB=: 5523 5524 5525 5526 5527 5528 5529# Determine commands to create old-style static archives. 5530old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 5531old_postinstall_cmds='chmod 644 $oldlib' 5532old_postuninstall_cmds= 5533 5534if test -n "$RANLIB"; then 5535 case $host_os in 5536 openbsd*) 5537 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 5538 ;; 5539 *) 5540 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 5541 ;; 5542 esac 5543 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 5544fi 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579# If no C compiler was specified, use CC. 5580LTCC=${LTCC-"$CC"} 5581 5582# If no C compiler flags were specified, use CFLAGS. 5583LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 5584 5585# Allow CC to be a program name with arguments. 5586compiler=$CC 5587 5588 5589# Check for command to grab the raw symbol name followed by C symbol from nm. 5590{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 5591$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 5592if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then 5593 $as_echo_n "(cached) " >&6 5594else 5595 5596# These are sane defaults that work on at least a few old systems. 5597# [They come from Ultrix. What could be older than Ultrix?!! ;)] 5598 5599# Character class describing NM global symbol codes. 5600symcode='[BCDEGRST]' 5601 5602# Regexp to match symbols that can be accessed directly from C. 5603sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 5604 5605# Define system-specific variables. 5606case $host_os in 5607aix*) 5608 symcode='[BCDT]' 5609 ;; 5610cygwin* | mingw* | pw32* | cegcc*) 5611 symcode='[ABCDGISTW]' 5612 ;; 5613hpux*) 5614 if test "$host_cpu" = ia64; then 5615 symcode='[ABCDEGRST]' 5616 fi 5617 ;; 5618irix* | nonstopux*) 5619 symcode='[BCDEGRST]' 5620 ;; 5621osf*) 5622 symcode='[BCDEGQRST]' 5623 ;; 5624solaris*) 5625 symcode='[BDRT]' 5626 ;; 5627sco3.2v5*) 5628 symcode='[DT]' 5629 ;; 5630sysv4.2uw2*) 5631 symcode='[DT]' 5632 ;; 5633sysv5* | sco5v6* | unixware* | OpenUNIX*) 5634 symcode='[ABDT]' 5635 ;; 5636sysv4) 5637 symcode='[DFNSTU]' 5638 ;; 5639esac 5640 5641# If we're using GNU nm, then use its standard symbol codes. 5642case `$NM -V 2>&1` in 5643*GNU* | *'with BFD'*) 5644 symcode='[ABCDGIRSTW]' ;; 5645esac 5646 5647# Transform an extracted symbol line into a proper C declaration. 5648# Some systems (esp. on ia64) link data and code symbols differently, 5649# so use this general approach. 5650lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 5651 5652# Transform an extracted symbol line into symbol name and symbol address 5653lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 5654lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" 5655 5656# Handle CRLF in mingw tool chain 5657opt_cr= 5658case $build_os in 5659mingw*) 5660 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 5661 ;; 5662esac 5663 5664# Try without a prefix underscore, then with it. 5665for ac_symprfx in "" "_"; do 5666 5667 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 5668 symxfrm="\\1 $ac_symprfx\\2 \\2" 5669 5670 # Write the raw and C identifiers. 5671 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 5672 # Fake it for dumpbin and say T for any non-static function 5673 # and D for any global variable. 5674 # Also find C++ and __fastcall symbols from MSVC++, 5675 # which start with @ or ?. 5676 lt_cv_sys_global_symbol_pipe="$AWK '"\ 5677" {last_section=section; section=\$ 3};"\ 5678" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 5679" \$ 0!~/External *\|/{next};"\ 5680" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 5681" {if(hide[section]) next};"\ 5682" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 5683" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 5684" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 5685" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 5686" ' prfx=^$ac_symprfx" 5687 else 5688 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 5689 fi 5690 5691 # Check to see that the pipe works correctly. 5692 pipe_works=no 5693 5694 rm -f conftest* 5695 cat > conftest.$ac_ext <<_LT_EOF 5696#ifdef __cplusplus 5697extern "C" { 5698#endif 5699char nm_test_var; 5700void nm_test_func(void); 5701void nm_test_func(void){} 5702#ifdef __cplusplus 5703} 5704#endif 5705int main(){nm_test_var='a';nm_test_func();return(0);} 5706_LT_EOF 5707 5708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5709 (eval $ac_compile) 2>&5 5710 ac_status=$? 5711 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5712 (exit $ac_status); }; then 5713 # Now try to grab the symbols. 5714 nlist=conftest.nm 5715 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 5716 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 5717 ac_status=$? 5718 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5719 (exit $ac_status); } && test -s "$nlist"; then 5720 # Try sorting and uniquifying the output. 5721 if sort "$nlist" | uniq > "$nlist"T; then 5722 mv -f "$nlist"T "$nlist" 5723 else 5724 rm -f "$nlist"T 5725 fi 5726 5727 # Make sure that we snagged all the symbols we need. 5728 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 5729 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 5730 cat <<_LT_EOF > conftest.$ac_ext 5731#ifdef __cplusplus 5732extern "C" { 5733#endif 5734 5735_LT_EOF 5736 # Now generate the symbol file. 5737 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 5738 5739 cat <<_LT_EOF >> conftest.$ac_ext 5740 5741/* The mapping between symbol names and symbols. */ 5742const struct { 5743 const char *name; 5744 void *address; 5745} 5746lt__PROGRAM__LTX_preloaded_symbols[] = 5747{ 5748 { "@PROGRAM@", (void *) 0 }, 5749_LT_EOF 5750 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 5751 cat <<\_LT_EOF >> conftest.$ac_ext 5752 {0, (void *) 0} 5753}; 5754 5755/* This works around a problem in FreeBSD linker */ 5756#ifdef FREEBSD_WORKAROUND 5757static const void *lt_preloaded_setup() { 5758 return lt__PROGRAM__LTX_preloaded_symbols; 5759} 5760#endif 5761 5762#ifdef __cplusplus 5763} 5764#endif 5765_LT_EOF 5766 # Now try linking the two files. 5767 mv conftest.$ac_objext conftstm.$ac_objext 5768 lt_save_LIBS="$LIBS" 5769 lt_save_CFLAGS="$CFLAGS" 5770 LIBS="conftstm.$ac_objext" 5771 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 5772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5773 (eval $ac_link) 2>&5 5774 ac_status=$? 5775 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5776 (exit $ac_status); } && test -s conftest${ac_exeext}; then 5777 pipe_works=yes 5778 fi 5779 LIBS="$lt_save_LIBS" 5780 CFLAGS="$lt_save_CFLAGS" 5781 else 5782 echo "cannot find nm_test_func in $nlist" >&5 5783 fi 5784 else 5785 echo "cannot find nm_test_var in $nlist" >&5 5786 fi 5787 else 5788 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 5789 fi 5790 else 5791 echo "$progname: failed program was:" >&5 5792 cat conftest.$ac_ext >&5 5793 fi 5794 rm -rf conftest* conftst* 5795 5796 # Do not use the global_symbol_pipe unless it works. 5797 if test "$pipe_works" = yes; then 5798 break 5799 else 5800 lt_cv_sys_global_symbol_pipe= 5801 fi 5802done 5803 5804fi 5805 5806if test -z "$lt_cv_sys_global_symbol_pipe"; then 5807 lt_cv_sys_global_symbol_to_cdecl= 5808fi 5809if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 5810 { $as_echo "$as_me:$LINENO: result: failed" >&5 5811$as_echo "failed" >&6; } 5812else 5813 { $as_echo "$as_me:$LINENO: result: ok" >&5 5814$as_echo "ok" >&6; } 5815fi 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839# Check whether --enable-libtool-lock was given. 5840if test "${enable_libtool_lock+set}" = set; then 5841 enableval=$enable_libtool_lock; 5842fi 5843 5844test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 5845 5846# Some flags need to be propagated to the compiler or linker for good 5847# libtool support. 5848case $host in 5849ia64-*-hpux*) 5850 # Find out which ABI we are using. 5851 echo 'int i;' > conftest.$ac_ext 5852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5853 (eval $ac_compile) 2>&5 5854 ac_status=$? 5855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5856 (exit $ac_status); }; then 5857 case `/usr/bin/file conftest.$ac_objext` in 5858 *ELF-32*) 5859 HPUX_IA64_MODE="32" 5860 ;; 5861 *ELF-64*) 5862 HPUX_IA64_MODE="64" 5863 ;; 5864 esac 5865 fi 5866 rm -rf conftest* 5867 ;; 5868*-*-irix6*) 5869 # Find out which ABI we are using. 5870 echo '#line 5870 "configure"' > conftest.$ac_ext 5871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5872 (eval $ac_compile) 2>&5 5873 ac_status=$? 5874 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5875 (exit $ac_status); }; then 5876 if test "$lt_cv_prog_gnu_ld" = yes; then 5877 case `/usr/bin/file conftest.$ac_objext` in 5878 *32-bit*) 5879 LD="${LD-ld} -melf32bsmip" 5880 ;; 5881 *N32*) 5882 LD="${LD-ld} -melf32bmipn32" 5883 ;; 5884 *64-bit*) 5885 LD="${LD-ld} -melf64bmip" 5886 ;; 5887 esac 5888 else 5889 case `/usr/bin/file conftest.$ac_objext` in 5890 *32-bit*) 5891 LD="${LD-ld} -32" 5892 ;; 5893 *N32*) 5894 LD="${LD-ld} -n32" 5895 ;; 5896 *64-bit*) 5897 LD="${LD-ld} -64" 5898 ;; 5899 esac 5900 fi 5901 fi 5902 rm -rf conftest* 5903 ;; 5904 5905x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 5906s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 5907 # Find out which ABI we are using. 5908 echo 'int i;' > conftest.$ac_ext 5909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5910 (eval $ac_compile) 2>&5 5911 ac_status=$? 5912 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5913 (exit $ac_status); }; then 5914 case `/usr/bin/file conftest.o` in 5915 *32-bit*) 5916 case $host in 5917 x86_64-*kfreebsd*-gnu) 5918 LD="${LD-ld} -m elf_i386_fbsd" 5919 ;; 5920 x86_64-*linux*) 5921 LD="${LD-ld} -m elf_i386" 5922 ;; 5923 ppc64-*linux*|powerpc64-*linux*) 5924 LD="${LD-ld} -m elf32ppclinux" 5925 ;; 5926 s390x-*linux*) 5927 LD="${LD-ld} -m elf_s390" 5928 ;; 5929 sparc64-*linux*) 5930 LD="${LD-ld} -m elf32_sparc" 5931 ;; 5932 esac 5933 ;; 5934 *64-bit*) 5935 case $host in 5936 x86_64-*kfreebsd*-gnu) 5937 LD="${LD-ld} -m elf_x86_64_fbsd" 5938 ;; 5939 x86_64-*linux*) 5940 LD="${LD-ld} -m elf_x86_64" 5941 ;; 5942 ppc*-*linux*|powerpc*-*linux*) 5943 LD="${LD-ld} -m elf64ppc" 5944 ;; 5945 s390*-*linux*|s390*-*tpf*) 5946 LD="${LD-ld} -m elf64_s390" 5947 ;; 5948 sparc*-*linux*) 5949 LD="${LD-ld} -m elf64_sparc" 5950 ;; 5951 esac 5952 ;; 5953 esac 5954 fi 5955 rm -rf conftest* 5956 ;; 5957 5958*-*-sco3.2v5*) 5959 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 5960 SAVE_CFLAGS="$CFLAGS" 5961 CFLAGS="$CFLAGS -belf" 5962 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 5963$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 5964if test "${lt_cv_cc_needs_belf+set}" = set; then 5965 $as_echo_n "(cached) " >&6 5966else 5967 ac_ext=c 5968ac_cpp='$CPP $CPPFLAGS' 5969ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5970ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5971ac_compiler_gnu=$ac_cv_c_compiler_gnu 5972 5973 cat >conftest.$ac_ext <<_ACEOF 5974/* confdefs.h. */ 5975_ACEOF 5976cat confdefs.h >>conftest.$ac_ext 5977cat >>conftest.$ac_ext <<_ACEOF 5978/* end confdefs.h. */ 5979 5980int 5981main () 5982{ 5983 5984 ; 5985 return 0; 5986} 5987_ACEOF 5988rm -f conftest.$ac_objext conftest$ac_exeext 5989if { (ac_try="$ac_link" 5990case "(($ac_try" in 5991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5992 *) ac_try_echo=$ac_try;; 5993esac 5994eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5995$as_echo "$ac_try_echo") >&5 5996 (eval "$ac_link") 2>conftest.er1 5997 ac_status=$? 5998 grep -v '^ *+' conftest.er1 >conftest.err 5999 rm -f conftest.er1 6000 cat conftest.err >&5 6001 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6002 (exit $ac_status); } && { 6003 test -z "$ac_c_werror_flag" || 6004 test ! -s conftest.err 6005 } && test -s conftest$ac_exeext && { 6006 test "$cross_compiling" = yes || 6007 $as_test_x conftest$ac_exeext 6008 }; then 6009 lt_cv_cc_needs_belf=yes 6010else 6011 $as_echo "$as_me: failed program was:" >&5 6012sed 's/^/| /' conftest.$ac_ext >&5 6013 6014 lt_cv_cc_needs_belf=no 6015fi 6016 6017rm -rf conftest.dSYM 6018rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6019 conftest$ac_exeext conftest.$ac_ext 6020 ac_ext=c 6021ac_cpp='$CPP $CPPFLAGS' 6022ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6023ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6024ac_compiler_gnu=$ac_cv_c_compiler_gnu 6025 6026fi 6027{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 6028$as_echo "$lt_cv_cc_needs_belf" >&6; } 6029 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6030 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6031 CFLAGS="$SAVE_CFLAGS" 6032 fi 6033 ;; 6034sparc*-*solaris*) 6035 # Find out which ABI we are using. 6036 echo 'int i;' > conftest.$ac_ext 6037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6038 (eval $ac_compile) 2>&5 6039 ac_status=$? 6040 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6041 (exit $ac_status); }; then 6042 case `/usr/bin/file conftest.o` in 6043 *64-bit*) 6044 case $lt_cv_prog_gnu_ld in 6045 yes*) LD="${LD-ld} -m elf64_sparc" ;; 6046 *) 6047 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6048 LD="${LD-ld} -64" 6049 fi 6050 ;; 6051 esac 6052 ;; 6053 esac 6054 fi 6055 rm -rf conftest* 6056 ;; 6057esac 6058 6059need_locks="$enable_libtool_lock" 6060 6061 6062 case $host_os in 6063 rhapsody* | darwin*) 6064 if test -n "$ac_tool_prefix"; then 6065 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6066set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6067{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6068$as_echo_n "checking for $ac_word... " >&6; } 6069if test "${ac_cv_prog_DSYMUTIL+set}" = set; then 6070 $as_echo_n "(cached) " >&6 6071else 6072 if test -n "$DSYMUTIL"; then 6073 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6074else 6075as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6076for as_dir in $PATH 6077do 6078 IFS=$as_save_IFS 6079 test -z "$as_dir" && as_dir=. 6080 for ac_exec_ext in '' $ac_executable_extensions; do 6081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6082 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6083 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6084 break 2 6085 fi 6086done 6087done 6088IFS=$as_save_IFS 6089 6090fi 6091fi 6092DSYMUTIL=$ac_cv_prog_DSYMUTIL 6093if test -n "$DSYMUTIL"; then 6094 { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 6095$as_echo "$DSYMUTIL" >&6; } 6096else 6097 { $as_echo "$as_me:$LINENO: result: no" >&5 6098$as_echo "no" >&6; } 6099fi 6100 6101 6102fi 6103if test -z "$ac_cv_prog_DSYMUTIL"; then 6104 ac_ct_DSYMUTIL=$DSYMUTIL 6105 # Extract the first word of "dsymutil", so it can be a program name with args. 6106set dummy dsymutil; ac_word=$2 6107{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6108$as_echo_n "checking for $ac_word... " >&6; } 6109if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then 6110 $as_echo_n "(cached) " >&6 6111else 6112 if test -n "$ac_ct_DSYMUTIL"; then 6113 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6114else 6115as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6116for as_dir in $PATH 6117do 6118 IFS=$as_save_IFS 6119 test -z "$as_dir" && as_dir=. 6120 for ac_exec_ext in '' $ac_executable_extensions; do 6121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6122 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6123 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6124 break 2 6125 fi 6126done 6127done 6128IFS=$as_save_IFS 6129 6130fi 6131fi 6132ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6133if test -n "$ac_ct_DSYMUTIL"; then 6134 { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 6135$as_echo "$ac_ct_DSYMUTIL" >&6; } 6136else 6137 { $as_echo "$as_me:$LINENO: result: no" >&5 6138$as_echo "no" >&6; } 6139fi 6140 6141 if test "x$ac_ct_DSYMUTIL" = x; then 6142 DSYMUTIL=":" 6143 else 6144 case $cross_compiling:$ac_tool_warned in 6145yes:) 6146{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 6147whose name does not start with the host triplet. If you think this 6148configuration is useful to you, please write to autoconf@gnu.org." >&5 6149$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 6150whose name does not start with the host triplet. If you think this 6151configuration is useful to you, please write to autoconf@gnu.org." >&2;} 6152ac_tool_warned=yes ;; 6153esac 6154 DSYMUTIL=$ac_ct_DSYMUTIL 6155 fi 6156else 6157 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6158fi 6159 6160 if test -n "$ac_tool_prefix"; then 6161 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6162set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6163{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6164$as_echo_n "checking for $ac_word... " >&6; } 6165if test "${ac_cv_prog_NMEDIT+set}" = set; then 6166 $as_echo_n "(cached) " >&6 6167else 6168 if test -n "$NMEDIT"; then 6169 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6170else 6171as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6172for as_dir in $PATH 6173do 6174 IFS=$as_save_IFS 6175 test -z "$as_dir" && as_dir=. 6176 for ac_exec_ext in '' $ac_executable_extensions; do 6177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6178 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6179 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6180 break 2 6181 fi 6182done 6183done 6184IFS=$as_save_IFS 6185 6186fi 6187fi 6188NMEDIT=$ac_cv_prog_NMEDIT 6189if test -n "$NMEDIT"; then 6190 { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5 6191$as_echo "$NMEDIT" >&6; } 6192else 6193 { $as_echo "$as_me:$LINENO: result: no" >&5 6194$as_echo "no" >&6; } 6195fi 6196 6197 6198fi 6199if test -z "$ac_cv_prog_NMEDIT"; then 6200 ac_ct_NMEDIT=$NMEDIT 6201 # Extract the first word of "nmedit", so it can be a program name with args. 6202set dummy nmedit; ac_word=$2 6203{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6204$as_echo_n "checking for $ac_word... " >&6; } 6205if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then 6206 $as_echo_n "(cached) " >&6 6207else 6208 if test -n "$ac_ct_NMEDIT"; then 6209 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6210else 6211as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6212for as_dir in $PATH 6213do 6214 IFS=$as_save_IFS 6215 test -z "$as_dir" && as_dir=. 6216 for ac_exec_ext in '' $ac_executable_extensions; do 6217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6218 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6219 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6220 break 2 6221 fi 6222done 6223done 6224IFS=$as_save_IFS 6225 6226fi 6227fi 6228ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6229if test -n "$ac_ct_NMEDIT"; then 6230 { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 6231$as_echo "$ac_ct_NMEDIT" >&6; } 6232else 6233 { $as_echo "$as_me:$LINENO: result: no" >&5 6234$as_echo "no" >&6; } 6235fi 6236 6237 if test "x$ac_ct_NMEDIT" = x; then 6238 NMEDIT=":" 6239 else 6240 case $cross_compiling:$ac_tool_warned in 6241yes:) 6242{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 6243whose name does not start with the host triplet. If you think this 6244configuration is useful to you, please write to autoconf@gnu.org." >&5 6245$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 6246whose name does not start with the host triplet. If you think this 6247configuration is useful to you, please write to autoconf@gnu.org." >&2;} 6248ac_tool_warned=yes ;; 6249esac 6250 NMEDIT=$ac_ct_NMEDIT 6251 fi 6252else 6253 NMEDIT="$ac_cv_prog_NMEDIT" 6254fi 6255 6256 if test -n "$ac_tool_prefix"; then 6257 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 6258set dummy ${ac_tool_prefix}lipo; ac_word=$2 6259{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6260$as_echo_n "checking for $ac_word... " >&6; } 6261if test "${ac_cv_prog_LIPO+set}" = set; then 6262 $as_echo_n "(cached) " >&6 6263else 6264 if test -n "$LIPO"; then 6265 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 6266else 6267as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6268for as_dir in $PATH 6269do 6270 IFS=$as_save_IFS 6271 test -z "$as_dir" && as_dir=. 6272 for ac_exec_ext in '' $ac_executable_extensions; do 6273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6274 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 6275 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6276 break 2 6277 fi 6278done 6279done 6280IFS=$as_save_IFS 6281 6282fi 6283fi 6284LIPO=$ac_cv_prog_LIPO 6285if test -n "$LIPO"; then 6286 { $as_echo "$as_me:$LINENO: result: $LIPO" >&5 6287$as_echo "$LIPO" >&6; } 6288else 6289 { $as_echo "$as_me:$LINENO: result: no" >&5 6290$as_echo "no" >&6; } 6291fi 6292 6293 6294fi 6295if test -z "$ac_cv_prog_LIPO"; then 6296 ac_ct_LIPO=$LIPO 6297 # Extract the first word of "lipo", so it can be a program name with args. 6298set dummy lipo; ac_word=$2 6299{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6300$as_echo_n "checking for $ac_word... " >&6; } 6301if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then 6302 $as_echo_n "(cached) " >&6 6303else 6304 if test -n "$ac_ct_LIPO"; then 6305 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 6306else 6307as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6308for as_dir in $PATH 6309do 6310 IFS=$as_save_IFS 6311 test -z "$as_dir" && as_dir=. 6312 for ac_exec_ext in '' $ac_executable_extensions; do 6313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6314 ac_cv_prog_ac_ct_LIPO="lipo" 6315 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6316 break 2 6317 fi 6318done 6319done 6320IFS=$as_save_IFS 6321 6322fi 6323fi 6324ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 6325if test -n "$ac_ct_LIPO"; then 6326 { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5 6327$as_echo "$ac_ct_LIPO" >&6; } 6328else 6329 { $as_echo "$as_me:$LINENO: result: no" >&5 6330$as_echo "no" >&6; } 6331fi 6332 6333 if test "x$ac_ct_LIPO" = x; then 6334 LIPO=":" 6335 else 6336 case $cross_compiling:$ac_tool_warned in 6337yes:) 6338{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 6339whose name does not start with the host triplet. If you think this 6340configuration is useful to you, please write to autoconf@gnu.org." >&5 6341$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 6342whose name does not start with the host triplet. If you think this 6343configuration is useful to you, please write to autoconf@gnu.org." >&2;} 6344ac_tool_warned=yes ;; 6345esac 6346 LIPO=$ac_ct_LIPO 6347 fi 6348else 6349 LIPO="$ac_cv_prog_LIPO" 6350fi 6351 6352 if test -n "$ac_tool_prefix"; then 6353 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 6354set dummy ${ac_tool_prefix}otool; ac_word=$2 6355{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6356$as_echo_n "checking for $ac_word... " >&6; } 6357if test "${ac_cv_prog_OTOOL+set}" = set; then 6358 $as_echo_n "(cached) " >&6 6359else 6360 if test -n "$OTOOL"; then 6361 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 6362else 6363as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6364for as_dir in $PATH 6365do 6366 IFS=$as_save_IFS 6367 test -z "$as_dir" && as_dir=. 6368 for ac_exec_ext in '' $ac_executable_extensions; do 6369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6370 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 6371 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6372 break 2 6373 fi 6374done 6375done 6376IFS=$as_save_IFS 6377 6378fi 6379fi 6380OTOOL=$ac_cv_prog_OTOOL 6381if test -n "$OTOOL"; then 6382 { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5 6383$as_echo "$OTOOL" >&6; } 6384else 6385 { $as_echo "$as_me:$LINENO: result: no" >&5 6386$as_echo "no" >&6; } 6387fi 6388 6389 6390fi 6391if test -z "$ac_cv_prog_OTOOL"; then 6392 ac_ct_OTOOL=$OTOOL 6393 # Extract the first word of "otool", so it can be a program name with args. 6394set dummy otool; ac_word=$2 6395{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6396$as_echo_n "checking for $ac_word... " >&6; } 6397if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then 6398 $as_echo_n "(cached) " >&6 6399else 6400 if test -n "$ac_ct_OTOOL"; then 6401 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 6402else 6403as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6404for as_dir in $PATH 6405do 6406 IFS=$as_save_IFS 6407 test -z "$as_dir" && as_dir=. 6408 for ac_exec_ext in '' $ac_executable_extensions; do 6409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6410 ac_cv_prog_ac_ct_OTOOL="otool" 6411 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6412 break 2 6413 fi 6414done 6415done 6416IFS=$as_save_IFS 6417 6418fi 6419fi 6420ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 6421if test -n "$ac_ct_OTOOL"; then 6422 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5 6423$as_echo "$ac_ct_OTOOL" >&6; } 6424else 6425 { $as_echo "$as_me:$LINENO: result: no" >&5 6426$as_echo "no" >&6; } 6427fi 6428 6429 if test "x$ac_ct_OTOOL" = x; then 6430 OTOOL=":" 6431 else 6432 case $cross_compiling:$ac_tool_warned in 6433yes:) 6434{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 6435whose name does not start with the host triplet. If you think this 6436configuration is useful to you, please write to autoconf@gnu.org." >&5 6437$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 6438whose name does not start with the host triplet. If you think this 6439configuration is useful to you, please write to autoconf@gnu.org." >&2;} 6440ac_tool_warned=yes ;; 6441esac 6442 OTOOL=$ac_ct_OTOOL 6443 fi 6444else 6445 OTOOL="$ac_cv_prog_OTOOL" 6446fi 6447 6448 if test -n "$ac_tool_prefix"; then 6449 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 6450set dummy ${ac_tool_prefix}otool64; ac_word=$2 6451{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6452$as_echo_n "checking for $ac_word... " >&6; } 6453if test "${ac_cv_prog_OTOOL64+set}" = set; then 6454 $as_echo_n "(cached) " >&6 6455else 6456 if test -n "$OTOOL64"; then 6457 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 6458else 6459as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6460for as_dir in $PATH 6461do 6462 IFS=$as_save_IFS 6463 test -z "$as_dir" && as_dir=. 6464 for ac_exec_ext in '' $ac_executable_extensions; do 6465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6466 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 6467 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6468 break 2 6469 fi 6470done 6471done 6472IFS=$as_save_IFS 6473 6474fi 6475fi 6476OTOOL64=$ac_cv_prog_OTOOL64 6477if test -n "$OTOOL64"; then 6478 { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5 6479$as_echo "$OTOOL64" >&6; } 6480else 6481 { $as_echo "$as_me:$LINENO: result: no" >&5 6482$as_echo "no" >&6; } 6483fi 6484 6485 6486fi 6487if test -z "$ac_cv_prog_OTOOL64"; then 6488 ac_ct_OTOOL64=$OTOOL64 6489 # Extract the first word of "otool64", so it can be a program name with args. 6490set dummy otool64; ac_word=$2 6491{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6492$as_echo_n "checking for $ac_word... " >&6; } 6493if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then 6494 $as_echo_n "(cached) " >&6 6495else 6496 if test -n "$ac_ct_OTOOL64"; then 6497 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 6498else 6499as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6500for as_dir in $PATH 6501do 6502 IFS=$as_save_IFS 6503 test -z "$as_dir" && as_dir=. 6504 for ac_exec_ext in '' $ac_executable_extensions; do 6505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6506 ac_cv_prog_ac_ct_OTOOL64="otool64" 6507 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6508 break 2 6509 fi 6510done 6511done 6512IFS=$as_save_IFS 6513 6514fi 6515fi 6516ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 6517if test -n "$ac_ct_OTOOL64"; then 6518 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5 6519$as_echo "$ac_ct_OTOOL64" >&6; } 6520else 6521 { $as_echo "$as_me:$LINENO: result: no" >&5 6522$as_echo "no" >&6; } 6523fi 6524 6525 if test "x$ac_ct_OTOOL64" = x; then 6526 OTOOL64=":" 6527 else 6528 case $cross_compiling:$ac_tool_warned in 6529yes:) 6530{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 6531whose name does not start with the host triplet. If you think this 6532configuration is useful to you, please write to autoconf@gnu.org." >&5 6533$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 6534whose name does not start with the host triplet. If you think this 6535configuration is useful to you, please write to autoconf@gnu.org." >&2;} 6536ac_tool_warned=yes ;; 6537esac 6538 OTOOL64=$ac_ct_OTOOL64 6539 fi 6540else 6541 OTOOL64="$ac_cv_prog_OTOOL64" 6542fi 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 6571$as_echo_n "checking for -single_module linker flag... " >&6; } 6572if test "${lt_cv_apple_cc_single_mod+set}" = set; then 6573 $as_echo_n "(cached) " >&6 6574else 6575 lt_cv_apple_cc_single_mod=no 6576 if test -z "${LT_MULTI_MODULE}"; then 6577 # By default we will add the -single_module flag. You can override 6578 # by either setting the environment variable LT_MULTI_MODULE 6579 # non-empty at configure time, or by adding -multi_module to the 6580 # link flags. 6581 rm -rf libconftest.dylib* 6582 echo "int foo(void){return 1;}" > conftest.c 6583 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 6584-dynamiclib -Wl,-single_module conftest.c" >&5 6585 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 6586 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 6587 _lt_result=$? 6588 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then 6589 lt_cv_apple_cc_single_mod=yes 6590 else 6591 cat conftest.err >&5 6592 fi 6593 rm -rf libconftest.dylib* 6594 rm -f conftest.* 6595 fi 6596fi 6597{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 6598$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 6599 { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 6600$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 6601if test "${lt_cv_ld_exported_symbols_list+set}" = set; then 6602 $as_echo_n "(cached) " >&6 6603else 6604 lt_cv_ld_exported_symbols_list=no 6605 save_LDFLAGS=$LDFLAGS 6606 echo "_main" > conftest.sym 6607 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 6608 cat >conftest.$ac_ext <<_ACEOF 6609/* confdefs.h. */ 6610_ACEOF 6611cat confdefs.h >>conftest.$ac_ext 6612cat >>conftest.$ac_ext <<_ACEOF 6613/* end confdefs.h. */ 6614 6615int 6616main () 6617{ 6618 6619 ; 6620 return 0; 6621} 6622_ACEOF 6623rm -f conftest.$ac_objext conftest$ac_exeext 6624if { (ac_try="$ac_link" 6625case "(($ac_try" in 6626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6627 *) ac_try_echo=$ac_try;; 6628esac 6629eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6630$as_echo "$ac_try_echo") >&5 6631 (eval "$ac_link") 2>conftest.er1 6632 ac_status=$? 6633 grep -v '^ *+' conftest.er1 >conftest.err 6634 rm -f conftest.er1 6635 cat conftest.err >&5 6636 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6637 (exit $ac_status); } && { 6638 test -z "$ac_c_werror_flag" || 6639 test ! -s conftest.err 6640 } && test -s conftest$ac_exeext && { 6641 test "$cross_compiling" = yes || 6642 $as_test_x conftest$ac_exeext 6643 }; then 6644 lt_cv_ld_exported_symbols_list=yes 6645else 6646 $as_echo "$as_me: failed program was:" >&5 6647sed 's/^/| /' conftest.$ac_ext >&5 6648 6649 lt_cv_ld_exported_symbols_list=no 6650fi 6651 6652rm -rf conftest.dSYM 6653rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6654 conftest$ac_exeext conftest.$ac_ext 6655 LDFLAGS="$save_LDFLAGS" 6656 6657fi 6658{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 6659$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 6660 case $host_os in 6661 rhapsody* | darwin1.[012]) 6662 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 6663 darwin1.*) 6664 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 6665 darwin*) # darwin 5.x on 6666 # if running on 10.5 or later, the deployment target defaults 6667 # to the OS version, if on x86, and 10.4, the deployment 6668 # target defaults to 10.4. Don't you love it? 6669 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 6670 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 6671 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 6672 10.[012]*) 6673 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 6674 10.*) 6675 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 6676 esac 6677 ;; 6678 esac 6679 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 6680 _lt_dar_single_mod='$single_module' 6681 fi 6682 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 6683 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 6684 else 6685 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 6686 fi 6687 if test "$DSYMUTIL" != ":"; then 6688 _lt_dsymutil='~$DSYMUTIL $lib || :' 6689 else 6690 _lt_dsymutil= 6691 fi 6692 ;; 6693 esac 6694 6695ac_ext=c 6696ac_cpp='$CPP $CPPFLAGS' 6697ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6698ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6699ac_compiler_gnu=$ac_cv_c_compiler_gnu 6700{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 6701$as_echo_n "checking how to run the C preprocessor... " >&6; } 6702# On Suns, sometimes $CPP names a directory. 6703if test -n "$CPP" && test -d "$CPP"; then 6704 CPP= 6705fi 6706if test -z "$CPP"; then 6707 if test "${ac_cv_prog_CPP+set}" = set; then 6708 $as_echo_n "(cached) " >&6 6709else 6710 # Double quotes because CPP needs to be expanded 6711 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 6712 do 6713 ac_preproc_ok=false 6714for ac_c_preproc_warn_flag in '' yes 6715do 6716 # Use a header file that comes with gcc, so configuring glibc 6717 # with a fresh cross-compiler works. 6718 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6719 # <limits.h> exists even on freestanding compilers. 6720 # On the NeXT, cc -E runs the code through the compiler's parser, 6721 # not just through cpp. "Syntax error" is here to catch this case. 6722 cat >conftest.$ac_ext <<_ACEOF 6723/* confdefs.h. */ 6724_ACEOF 6725cat confdefs.h >>conftest.$ac_ext 6726cat >>conftest.$ac_ext <<_ACEOF 6727/* end confdefs.h. */ 6728#ifdef __STDC__ 6729# include <limits.h> 6730#else 6731# include <assert.h> 6732#endif 6733 Syntax error 6734_ACEOF 6735if { (ac_try="$ac_cpp conftest.$ac_ext" 6736case "(($ac_try" in 6737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6738 *) ac_try_echo=$ac_try;; 6739esac 6740eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6741$as_echo "$ac_try_echo") >&5 6742 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6743 ac_status=$? 6744 grep -v '^ *+' conftest.er1 >conftest.err 6745 rm -f conftest.er1 6746 cat conftest.err >&5 6747 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6748 (exit $ac_status); } >/dev/null && { 6749 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6750 test ! -s conftest.err 6751 }; then 6752 : 6753else 6754 $as_echo "$as_me: failed program was:" >&5 6755sed 's/^/| /' conftest.$ac_ext >&5 6756 6757 # Broken: fails on valid input. 6758continue 6759fi 6760 6761rm -f conftest.err conftest.$ac_ext 6762 6763 # OK, works on sane cases. Now check whether nonexistent headers 6764 # can be detected and how. 6765 cat >conftest.$ac_ext <<_ACEOF 6766/* confdefs.h. */ 6767_ACEOF 6768cat confdefs.h >>conftest.$ac_ext 6769cat >>conftest.$ac_ext <<_ACEOF 6770/* end confdefs.h. */ 6771#include <ac_nonexistent.h> 6772_ACEOF 6773if { (ac_try="$ac_cpp conftest.$ac_ext" 6774case "(($ac_try" in 6775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6776 *) ac_try_echo=$ac_try;; 6777esac 6778eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6779$as_echo "$ac_try_echo") >&5 6780 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6781 ac_status=$? 6782 grep -v '^ *+' conftest.er1 >conftest.err 6783 rm -f conftest.er1 6784 cat conftest.err >&5 6785 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6786 (exit $ac_status); } >/dev/null && { 6787 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6788 test ! -s conftest.err 6789 }; then 6790 # Broken: success on invalid input. 6791continue 6792else 6793 $as_echo "$as_me: failed program was:" >&5 6794sed 's/^/| /' conftest.$ac_ext >&5 6795 6796 # Passes both tests. 6797ac_preproc_ok=: 6798break 6799fi 6800 6801rm -f conftest.err conftest.$ac_ext 6802 6803done 6804# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6805rm -f conftest.err conftest.$ac_ext 6806if $ac_preproc_ok; then 6807 break 6808fi 6809 6810 done 6811 ac_cv_prog_CPP=$CPP 6812 6813fi 6814 CPP=$ac_cv_prog_CPP 6815else 6816 ac_cv_prog_CPP=$CPP 6817fi 6818{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 6819$as_echo "$CPP" >&6; } 6820ac_preproc_ok=false 6821for ac_c_preproc_warn_flag in '' yes 6822do 6823 # Use a header file that comes with gcc, so configuring glibc 6824 # with a fresh cross-compiler works. 6825 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6826 # <limits.h> exists even on freestanding compilers. 6827 # On the NeXT, cc -E runs the code through the compiler's parser, 6828 # not just through cpp. "Syntax error" is here to catch this case. 6829 cat >conftest.$ac_ext <<_ACEOF 6830/* confdefs.h. */ 6831_ACEOF 6832cat confdefs.h >>conftest.$ac_ext 6833cat >>conftest.$ac_ext <<_ACEOF 6834/* end confdefs.h. */ 6835#ifdef __STDC__ 6836# include <limits.h> 6837#else 6838# include <assert.h> 6839#endif 6840 Syntax error 6841_ACEOF 6842if { (ac_try="$ac_cpp conftest.$ac_ext" 6843case "(($ac_try" in 6844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6845 *) ac_try_echo=$ac_try;; 6846esac 6847eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6848$as_echo "$ac_try_echo") >&5 6849 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6850 ac_status=$? 6851 grep -v '^ *+' conftest.er1 >conftest.err 6852 rm -f conftest.er1 6853 cat conftest.err >&5 6854 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6855 (exit $ac_status); } >/dev/null && { 6856 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6857 test ! -s conftest.err 6858 }; then 6859 : 6860else 6861 $as_echo "$as_me: failed program was:" >&5 6862sed 's/^/| /' conftest.$ac_ext >&5 6863 6864 # Broken: fails on valid input. 6865continue 6866fi 6867 6868rm -f conftest.err conftest.$ac_ext 6869 6870 # OK, works on sane cases. Now check whether nonexistent headers 6871 # can be detected and how. 6872 cat >conftest.$ac_ext <<_ACEOF 6873/* confdefs.h. */ 6874_ACEOF 6875cat confdefs.h >>conftest.$ac_ext 6876cat >>conftest.$ac_ext <<_ACEOF 6877/* end confdefs.h. */ 6878#include <ac_nonexistent.h> 6879_ACEOF 6880if { (ac_try="$ac_cpp conftest.$ac_ext" 6881case "(($ac_try" in 6882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6883 *) ac_try_echo=$ac_try;; 6884esac 6885eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6886$as_echo "$ac_try_echo") >&5 6887 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6888 ac_status=$? 6889 grep -v '^ *+' conftest.er1 >conftest.err 6890 rm -f conftest.er1 6891 cat conftest.err >&5 6892 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6893 (exit $ac_status); } >/dev/null && { 6894 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6895 test ! -s conftest.err 6896 }; then 6897 # Broken: success on invalid input. 6898continue 6899else 6900 $as_echo "$as_me: failed program was:" >&5 6901sed 's/^/| /' conftest.$ac_ext >&5 6902 6903 # Passes both tests. 6904ac_preproc_ok=: 6905break 6906fi 6907 6908rm -f conftest.err conftest.$ac_ext 6909 6910done 6911# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6912rm -f conftest.err conftest.$ac_ext 6913if $ac_preproc_ok; then 6914 : 6915else 6916 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 6917See \`config.log' for more details." >&5 6918$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 6919See \`config.log' for more details." >&2;} 6920 { (exit 1); exit 1; }; } 6921fi 6922 6923ac_ext=c 6924ac_cpp='$CPP $CPPFLAGS' 6925ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6926ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6927ac_compiler_gnu=$ac_cv_c_compiler_gnu 6928 6929 6930{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 6931$as_echo_n "checking for ANSI C header files... " >&6; } 6932if test "${ac_cv_header_stdc+set}" = set; then 6933 $as_echo_n "(cached) " >&6 6934else 6935 cat >conftest.$ac_ext <<_ACEOF 6936/* confdefs.h. */ 6937_ACEOF 6938cat confdefs.h >>conftest.$ac_ext 6939cat >>conftest.$ac_ext <<_ACEOF 6940/* end confdefs.h. */ 6941#include <stdlib.h> 6942#include <stdarg.h> 6943#include <string.h> 6944#include <float.h> 6945 6946int 6947main () 6948{ 6949 6950 ; 6951 return 0; 6952} 6953_ACEOF 6954rm -f conftest.$ac_objext 6955if { (ac_try="$ac_compile" 6956case "(($ac_try" in 6957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6958 *) ac_try_echo=$ac_try;; 6959esac 6960eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6961$as_echo "$ac_try_echo") >&5 6962 (eval "$ac_compile") 2>conftest.er1 6963 ac_status=$? 6964 grep -v '^ *+' conftest.er1 >conftest.err 6965 rm -f conftest.er1 6966 cat conftest.err >&5 6967 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6968 (exit $ac_status); } && { 6969 test -z "$ac_c_werror_flag" || 6970 test ! -s conftest.err 6971 } && test -s conftest.$ac_objext; then 6972 ac_cv_header_stdc=yes 6973else 6974 $as_echo "$as_me: failed program was:" >&5 6975sed 's/^/| /' conftest.$ac_ext >&5 6976 6977 ac_cv_header_stdc=no 6978fi 6979 6980rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6981 6982if test $ac_cv_header_stdc = yes; then 6983 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6984 cat >conftest.$ac_ext <<_ACEOF 6985/* confdefs.h. */ 6986_ACEOF 6987cat confdefs.h >>conftest.$ac_ext 6988cat >>conftest.$ac_ext <<_ACEOF 6989/* end confdefs.h. */ 6990#include <string.h> 6991 6992_ACEOF 6993if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6994 $EGREP "memchr" >/dev/null 2>&1; then 6995 : 6996else 6997 ac_cv_header_stdc=no 6998fi 6999rm -f conftest* 7000 7001fi 7002 7003if test $ac_cv_header_stdc = yes; then 7004 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7005 cat >conftest.$ac_ext <<_ACEOF 7006/* confdefs.h. */ 7007_ACEOF 7008cat confdefs.h >>conftest.$ac_ext 7009cat >>conftest.$ac_ext <<_ACEOF 7010/* end confdefs.h. */ 7011#include <stdlib.h> 7012 7013_ACEOF 7014if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7015 $EGREP "free" >/dev/null 2>&1; then 7016 : 7017else 7018 ac_cv_header_stdc=no 7019fi 7020rm -f conftest* 7021 7022fi 7023 7024if test $ac_cv_header_stdc = yes; then 7025 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7026 if test "$cross_compiling" = yes; then 7027 : 7028else 7029 cat >conftest.$ac_ext <<_ACEOF 7030/* confdefs.h. */ 7031_ACEOF 7032cat confdefs.h >>conftest.$ac_ext 7033cat >>conftest.$ac_ext <<_ACEOF 7034/* end confdefs.h. */ 7035#include <ctype.h> 7036#include <stdlib.h> 7037#if ((' ' & 0x0FF) == 0x020) 7038# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7039# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7040#else 7041# define ISLOWER(c) \ 7042 (('a' <= (c) && (c) <= 'i') \ 7043 || ('j' <= (c) && (c) <= 'r') \ 7044 || ('s' <= (c) && (c) <= 'z')) 7045# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7046#endif 7047 7048#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7049int 7050main () 7051{ 7052 int i; 7053 for (i = 0; i < 256; i++) 7054 if (XOR (islower (i), ISLOWER (i)) 7055 || toupper (i) != TOUPPER (i)) 7056 return 2; 7057 return 0; 7058} 7059_ACEOF 7060rm -f conftest$ac_exeext 7061if { (ac_try="$ac_link" 7062case "(($ac_try" in 7063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7064 *) ac_try_echo=$ac_try;; 7065esac 7066eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7067$as_echo "$ac_try_echo") >&5 7068 (eval "$ac_link") 2>&5 7069 ac_status=$? 7070 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7071 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7072 { (case "(($ac_try" in 7073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7074 *) ac_try_echo=$ac_try;; 7075esac 7076eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7077$as_echo "$ac_try_echo") >&5 7078 (eval "$ac_try") 2>&5 7079 ac_status=$? 7080 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7081 (exit $ac_status); }; }; then 7082 : 7083else 7084 $as_echo "$as_me: program exited with status $ac_status" >&5 7085$as_echo "$as_me: failed program was:" >&5 7086sed 's/^/| /' conftest.$ac_ext >&5 7087 7088( exit $ac_status ) 7089ac_cv_header_stdc=no 7090fi 7091rm -rf conftest.dSYM 7092rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7093fi 7094 7095 7096fi 7097fi 7098{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 7099$as_echo "$ac_cv_header_stdc" >&6; } 7100if test $ac_cv_header_stdc = yes; then 7101 7102cat >>confdefs.h <<\_ACEOF 7103#define STDC_HEADERS 1 7104_ACEOF 7105 7106fi 7107 7108# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7119 inttypes.h stdint.h unistd.h 7120do 7121as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7122{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7123$as_echo_n "checking for $ac_header... " >&6; } 7124if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7125 $as_echo_n "(cached) " >&6 7126else 7127 cat >conftest.$ac_ext <<_ACEOF 7128/* confdefs.h. */ 7129_ACEOF 7130cat confdefs.h >>conftest.$ac_ext 7131cat >>conftest.$ac_ext <<_ACEOF 7132/* end confdefs.h. */ 7133$ac_includes_default 7134 7135#include <$ac_header> 7136_ACEOF 7137rm -f conftest.$ac_objext 7138if { (ac_try="$ac_compile" 7139case "(($ac_try" in 7140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7141 *) ac_try_echo=$ac_try;; 7142esac 7143eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7144$as_echo "$ac_try_echo") >&5 7145 (eval "$ac_compile") 2>conftest.er1 7146 ac_status=$? 7147 grep -v '^ *+' conftest.er1 >conftest.err 7148 rm -f conftest.er1 7149 cat conftest.err >&5 7150 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7151 (exit $ac_status); } && { 7152 test -z "$ac_c_werror_flag" || 7153 test ! -s conftest.err 7154 } && test -s conftest.$ac_objext; then 7155 eval "$as_ac_Header=yes" 7156else 7157 $as_echo "$as_me: failed program was:" >&5 7158sed 's/^/| /' conftest.$ac_ext >&5 7159 7160 eval "$as_ac_Header=no" 7161fi 7162 7163rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7164fi 7165ac_res=`eval 'as_val=${'$as_ac_Header'} 7166 $as_echo "$as_val"'` 7167 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7168$as_echo "$ac_res" >&6; } 7169if test `eval 'as_val=${'$as_ac_Header'} 7170 $as_echo "$as_val"'` = yes; then 7171 cat >>confdefs.h <<_ACEOF 7172#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7173_ACEOF 7174 7175fi 7176 7177done 7178 7179 7180 7181for ac_header in dlfcn.h 7182do 7183as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7184{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7185$as_echo_n "checking for $ac_header... " >&6; } 7186if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7187 $as_echo_n "(cached) " >&6 7188else 7189 cat >conftest.$ac_ext <<_ACEOF 7190/* confdefs.h. */ 7191_ACEOF 7192cat confdefs.h >>conftest.$ac_ext 7193cat >>conftest.$ac_ext <<_ACEOF 7194/* end confdefs.h. */ 7195$ac_includes_default 7196 7197#include <$ac_header> 7198_ACEOF 7199rm -f conftest.$ac_objext 7200if { (ac_try="$ac_compile" 7201case "(($ac_try" in 7202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7203 *) ac_try_echo=$ac_try;; 7204esac 7205eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7206$as_echo "$ac_try_echo") >&5 7207 (eval "$ac_compile") 2>conftest.er1 7208 ac_status=$? 7209 grep -v '^ *+' conftest.er1 >conftest.err 7210 rm -f conftest.er1 7211 cat conftest.err >&5 7212 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7213 (exit $ac_status); } && { 7214 test -z "$ac_c_werror_flag" || 7215 test ! -s conftest.err 7216 } && test -s conftest.$ac_objext; then 7217 eval "$as_ac_Header=yes" 7218else 7219 $as_echo "$as_me: failed program was:" >&5 7220sed 's/^/| /' conftest.$ac_ext >&5 7221 7222 eval "$as_ac_Header=no" 7223fi 7224 7225rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7226fi 7227ac_res=`eval 'as_val=${'$as_ac_Header'} 7228 $as_echo "$as_val"'` 7229 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7230$as_echo "$ac_res" >&6; } 7231if test `eval 'as_val=${'$as_ac_Header'} 7232 $as_echo "$as_val"'` = yes; then 7233 cat >>confdefs.h <<_ACEOF 7234#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7235_ACEOF 7236 7237fi 7238 7239done 7240 7241 7242 7243# Set options 7244 7245 7246 7247 enable_dlopen=no 7248 7249 7250 enable_win32_dll=no 7251 7252 7253 # Check whether --enable-shared was given. 7254if test "${enable_shared+set}" = set; then 7255 enableval=$enable_shared; p=${PACKAGE-default} 7256 case $enableval in 7257 yes) enable_shared=yes ;; 7258 no) enable_shared=no ;; 7259 *) 7260 enable_shared=no 7261 # Look at the argument we got. We use all the common list separators. 7262 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7263 for pkg in $enableval; do 7264 IFS="$lt_save_ifs" 7265 if test "X$pkg" = "X$p"; then 7266 enable_shared=yes 7267 fi 7268 done 7269 IFS="$lt_save_ifs" 7270 ;; 7271 esac 7272else 7273 enable_shared=yes 7274fi 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 # Check whether --enable-static was given. 7285if test "${enable_static+set}" = set; then 7286 enableval=$enable_static; p=${PACKAGE-default} 7287 case $enableval in 7288 yes) enable_static=yes ;; 7289 no) enable_static=no ;; 7290 *) 7291 enable_static=no 7292 # Look at the argument we got. We use all the common list separators. 7293 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7294 for pkg in $enableval; do 7295 IFS="$lt_save_ifs" 7296 if test "X$pkg" = "X$p"; then 7297 enable_static=yes 7298 fi 7299 done 7300 IFS="$lt_save_ifs" 7301 ;; 7302 esac 7303else 7304 enable_static=yes 7305fi 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316# Check whether --with-pic was given. 7317if test "${with_pic+set}" = set; then 7318 withval=$with_pic; pic_mode="$withval" 7319else 7320 pic_mode=default 7321fi 7322 7323 7324test -z "$pic_mode" && pic_mode=default 7325 7326 7327 7328 7329 7330 7331 7332 # Check whether --enable-fast-install was given. 7333if test "${enable_fast_install+set}" = set; then 7334 enableval=$enable_fast_install; p=${PACKAGE-default} 7335 case $enableval in 7336 yes) enable_fast_install=yes ;; 7337 no) enable_fast_install=no ;; 7338 *) 7339 enable_fast_install=no 7340 # Look at the argument we got. We use all the common list separators. 7341 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7342 for pkg in $enableval; do 7343 IFS="$lt_save_ifs" 7344 if test "X$pkg" = "X$p"; then 7345 enable_fast_install=yes 7346 fi 7347 done 7348 IFS="$lt_save_ifs" 7349 ;; 7350 esac 7351else 7352 enable_fast_install=yes 7353fi 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365# This can be used to rebuild libtool when needed 7366LIBTOOL_DEPS="$ltmain" 7367 7368# Always use our own libtool. 7369LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395test -z "$LN_S" && LN_S="ln -s" 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410if test -n "${ZSH_VERSION+set}" ; then 7411 setopt NO_GLOB_SUBST 7412fi 7413 7414{ $as_echo "$as_me:$LINENO: checking for objdir" >&5 7415$as_echo_n "checking for objdir... " >&6; } 7416if test "${lt_cv_objdir+set}" = set; then 7417 $as_echo_n "(cached) " >&6 7418else 7419 rm -f .libs 2>/dev/null 7420mkdir .libs 2>/dev/null 7421if test -d .libs; then 7422 lt_cv_objdir=.libs 7423else 7424 # MS-DOS does not allow filenames that begin with a dot. 7425 lt_cv_objdir=_libs 7426fi 7427rmdir .libs 2>/dev/null 7428fi 7429{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 7430$as_echo "$lt_cv_objdir" >&6; } 7431objdir=$lt_cv_objdir 7432 7433 7434 7435 7436 7437cat >>confdefs.h <<_ACEOF 7438#define LT_OBJDIR "$lt_cv_objdir/" 7439_ACEOF 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457case $host_os in 7458aix3*) 7459 # AIX sometimes has problems with the GCC collect2 program. For some 7460 # reason, if we set the COLLECT_NAMES environment variable, the problems 7461 # vanish in a puff of smoke. 7462 if test "X${COLLECT_NAMES+set}" != Xset; then 7463 COLLECT_NAMES= 7464 export COLLECT_NAMES 7465 fi 7466 ;; 7467esac 7468 7469# Sed substitution that helps us do robust quoting. It backslashifies 7470# metacharacters that are still active within double-quoted strings. 7471sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 7472 7473# Same as above, but do not quote variable references. 7474double_quote_subst='s/\(["`\\]\)/\\\1/g' 7475 7476# Sed substitution to delay expansion of an escaped shell variable in a 7477# double_quote_subst'ed string. 7478delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 7479 7480# Sed substitution to delay expansion of an escaped single quote. 7481delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 7482 7483# Sed substitution to avoid accidental globbing in evaled expressions 7484no_glob_subst='s/\*/\\\*/g' 7485 7486# Global variables: 7487ofile=libtool 7488can_build_shared=yes 7489 7490# All known linkers require a `.a' archive for static linking (except MSVC, 7491# which needs '.lib'). 7492libext=a 7493 7494with_gnu_ld="$lt_cv_prog_gnu_ld" 7495 7496old_CC="$CC" 7497old_CFLAGS="$CFLAGS" 7498 7499# Set sane defaults for various variables 7500test -z "$CC" && CC=cc 7501test -z "$LTCC" && LTCC=$CC 7502test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7503test -z "$LD" && LD=ld 7504test -z "$ac_objext" && ac_objext=o 7505 7506for cc_temp in $compiler""; do 7507 case $cc_temp in 7508 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7509 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7510 \-*) ;; 7511 *) break;; 7512 esac 7513done 7514cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 7515 7516 7517# Only perform the check for file, if the check method requires it 7518test -z "$MAGIC_CMD" && MAGIC_CMD=file 7519case $deplibs_check_method in 7520file_magic*) 7521 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7522 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 7523$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7524if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 7525 $as_echo_n "(cached) " >&6 7526else 7527 case $MAGIC_CMD in 7528[\\/*] | ?:[\\/]*) 7529 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7530 ;; 7531*) 7532 lt_save_MAGIC_CMD="$MAGIC_CMD" 7533 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7534 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7535 for ac_dir in $ac_dummy; do 7536 IFS="$lt_save_ifs" 7537 test -z "$ac_dir" && ac_dir=. 7538 if test -f $ac_dir/${ac_tool_prefix}file; then 7539 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 7540 if test -n "$file_magic_test_file"; then 7541 case $deplibs_check_method in 7542 "file_magic "*) 7543 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7544 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7545 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7546 $EGREP "$file_magic_regex" > /dev/null; then 7547 : 7548 else 7549 cat <<_LT_EOF 1>&2 7550 7551*** Warning: the command libtool uses to detect shared libraries, 7552*** $file_magic_cmd, produces output that libtool cannot recognize. 7553*** The result is that libtool may fail to recognize shared libraries 7554*** as such. This will affect the creation of libtool libraries that 7555*** depend on shared libraries, but programs linked with such libtool 7556*** libraries will work regardless of this problem. Nevertheless, you 7557*** may want to report the problem to your system manager and/or to 7558*** bug-libtool@gnu.org 7559 7560_LT_EOF 7561 fi ;; 7562 esac 7563 fi 7564 break 7565 fi 7566 done 7567 IFS="$lt_save_ifs" 7568 MAGIC_CMD="$lt_save_MAGIC_CMD" 7569 ;; 7570esac 7571fi 7572 7573MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7574if test -n "$MAGIC_CMD"; then 7575 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 7576$as_echo "$MAGIC_CMD" >&6; } 7577else 7578 { $as_echo "$as_me:$LINENO: result: no" >&5 7579$as_echo "no" >&6; } 7580fi 7581 7582 7583 7584 7585 7586if test -z "$lt_cv_path_MAGIC_CMD"; then 7587 if test -n "$ac_tool_prefix"; then 7588 { $as_echo "$as_me:$LINENO: checking for file" >&5 7589$as_echo_n "checking for file... " >&6; } 7590if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 7591 $as_echo_n "(cached) " >&6 7592else 7593 case $MAGIC_CMD in 7594[\\/*] | ?:[\\/]*) 7595 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7596 ;; 7597*) 7598 lt_save_MAGIC_CMD="$MAGIC_CMD" 7599 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7600 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7601 for ac_dir in $ac_dummy; do 7602 IFS="$lt_save_ifs" 7603 test -z "$ac_dir" && ac_dir=. 7604 if test -f $ac_dir/file; then 7605 lt_cv_path_MAGIC_CMD="$ac_dir/file" 7606 if test -n "$file_magic_test_file"; then 7607 case $deplibs_check_method in 7608 "file_magic "*) 7609 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7610 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7611 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7612 $EGREP "$file_magic_regex" > /dev/null; then 7613 : 7614 else 7615 cat <<_LT_EOF 1>&2 7616 7617*** Warning: the command libtool uses to detect shared libraries, 7618*** $file_magic_cmd, produces output that libtool cannot recognize. 7619*** The result is that libtool may fail to recognize shared libraries 7620*** as such. This will affect the creation of libtool libraries that 7621*** depend on shared libraries, but programs linked with such libtool 7622*** libraries will work regardless of this problem. Nevertheless, you 7623*** may want to report the problem to your system manager and/or to 7624*** bug-libtool@gnu.org 7625 7626_LT_EOF 7627 fi ;; 7628 esac 7629 fi 7630 break 7631 fi 7632 done 7633 IFS="$lt_save_ifs" 7634 MAGIC_CMD="$lt_save_MAGIC_CMD" 7635 ;; 7636esac 7637fi 7638 7639MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7640if test -n "$MAGIC_CMD"; then 7641 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 7642$as_echo "$MAGIC_CMD" >&6; } 7643else 7644 { $as_echo "$as_me:$LINENO: result: no" >&5 7645$as_echo "no" >&6; } 7646fi 7647 7648 7649 else 7650 MAGIC_CMD=: 7651 fi 7652fi 7653 7654 fi 7655 ;; 7656esac 7657 7658# Use C for the default configuration in the libtool script 7659 7660lt_save_CC="$CC" 7661ac_ext=c 7662ac_cpp='$CPP $CPPFLAGS' 7663ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7664ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7665ac_compiler_gnu=$ac_cv_c_compiler_gnu 7666 7667 7668# Source file extension for C test sources. 7669ac_ext=c 7670 7671# Object file extension for compiled C test sources. 7672objext=o 7673objext=$objext 7674 7675# Code to be used in simple compile tests 7676lt_simple_compile_test_code="int some_variable = 0;" 7677 7678# Code to be used in simple link tests 7679lt_simple_link_test_code='int main(){return(0);}' 7680 7681 7682 7683 7684 7685 7686 7687# If no C compiler was specified, use CC. 7688LTCC=${LTCC-"$CC"} 7689 7690# If no C compiler flags were specified, use CFLAGS. 7691LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7692 7693# Allow CC to be a program name with arguments. 7694compiler=$CC 7695 7696# Save the default compiler, since it gets overwritten when the other 7697# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 7698compiler_DEFAULT=$CC 7699 7700# save warnings/boilerplate of simple test code 7701ac_outfile=conftest.$ac_objext 7702echo "$lt_simple_compile_test_code" >conftest.$ac_ext 7703eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7704_lt_compiler_boilerplate=`cat conftest.err` 7705$RM conftest* 7706 7707ac_outfile=conftest.$ac_objext 7708echo "$lt_simple_link_test_code" >conftest.$ac_ext 7709eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7710_lt_linker_boilerplate=`cat conftest.err` 7711$RM -r conftest* 7712 7713 7714## CAVEAT EMPTOR: 7715## There is no encapsulation within the following macros, do not change 7716## the running order or otherwise move them around unless you know exactly 7717## what you are doing... 7718if test -n "$compiler"; then 7719 7720lt_prog_compiler_no_builtin_flag= 7721 7722if test "$GCC" = yes; then 7723 lt_prog_compiler_no_builtin_flag=' -fno-builtin' 7724 7725 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 7726$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 7727if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then 7728 $as_echo_n "(cached) " >&6 7729else 7730 lt_cv_prog_compiler_rtti_exceptions=no 7731 ac_outfile=conftest.$ac_objext 7732 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7733 lt_compiler_flag="-fno-rtti -fno-exceptions" 7734 # Insert the option either (1) after the last *FLAGS variable, or 7735 # (2) before a word containing "conftest.", or (3) at the end. 7736 # Note that $ac_compile itself does not contain backslashes and begins 7737 # with a dollar sign (not a hyphen), so the echo should work correctly. 7738 # The option is referenced via a variable to avoid confusing sed. 7739 lt_compile=`echo "$ac_compile" | $SED \ 7740 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7741 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7742 -e 's:$: $lt_compiler_flag:'` 7743 (eval echo "\"\$as_me:7743: $lt_compile\"" >&5) 7744 (eval "$lt_compile" 2>conftest.err) 7745 ac_status=$? 7746 cat conftest.err >&5 7747 echo "$as_me:7747: \$? = $ac_status" >&5 7748 if (exit $ac_status) && test -s "$ac_outfile"; then 7749 # The compiler can only warn and ignore the option if not recognized 7750 # So say no if there are warnings other than the usual output. 7751 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 7752 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7753 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 7754 lt_cv_prog_compiler_rtti_exceptions=yes 7755 fi 7756 fi 7757 $RM conftest* 7758 7759fi 7760{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 7761$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 7762 7763if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 7764 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 7765else 7766 : 7767fi 7768 7769fi 7770 7771 7772 7773 7774 7775 7776 lt_prog_compiler_wl= 7777lt_prog_compiler_pic= 7778lt_prog_compiler_static= 7779 7780{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 7781$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 7782 7783 if test "$GCC" = yes; then 7784 lt_prog_compiler_wl='-Wl,' 7785 lt_prog_compiler_static='-static' 7786 7787 case $host_os in 7788 aix*) 7789 # All AIX code is PIC. 7790 if test "$host_cpu" = ia64; then 7791 # AIX 5 now supports IA64 processor 7792 lt_prog_compiler_static='-Bstatic' 7793 fi 7794 ;; 7795 7796 amigaos*) 7797 case $host_cpu in 7798 powerpc) 7799 # see comment about AmigaOS4 .so support 7800 lt_prog_compiler_pic='-fPIC' 7801 ;; 7802 m68k) 7803 # FIXME: we need at least 68020 code to build shared libraries, but 7804 # adding the `-m68020' flag to GCC prevents building anything better, 7805 # like `-m68040'. 7806 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 7807 ;; 7808 esac 7809 ;; 7810 7811 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 7812 # PIC is the default for these OSes. 7813 ;; 7814 7815 mingw* | cygwin* | pw32* | os2* | cegcc*) 7816 # This hack is so that the source file can tell whether it is being 7817 # built for inclusion in a dll (and should export symbols for example). 7818 # Although the cygwin gcc ignores -fPIC, still need this for old-style 7819 # (--disable-auto-import) libraries 7820 lt_prog_compiler_pic='-DDLL_EXPORT' 7821 ;; 7822 7823 darwin* | rhapsody*) 7824 # PIC is the default on this platform 7825 # Common symbols not allowed in MH_DYLIB files 7826 lt_prog_compiler_pic='-fno-common' 7827 ;; 7828 7829 hpux*) 7830 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 7831 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 7832 # sets the default TLS model and affects inlining. 7833 case $host_cpu in 7834 hppa*64*) 7835 # +Z the default 7836 ;; 7837 *) 7838 lt_prog_compiler_pic='-fPIC' 7839 ;; 7840 esac 7841 ;; 7842 7843 interix[3-9]*) 7844 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 7845 # Instead, we relocate shared libraries at runtime. 7846 ;; 7847 7848 msdosdjgpp*) 7849 # Just because we use GCC doesn't mean we suddenly get shared libraries 7850 # on systems that don't support them. 7851 lt_prog_compiler_can_build_shared=no 7852 enable_shared=no 7853 ;; 7854 7855 *nto* | *qnx*) 7856 # QNX uses GNU C++, but need to define -shared option too, otherwise 7857 # it will coredump. 7858 lt_prog_compiler_pic='-fPIC -shared' 7859 ;; 7860 7861 sysv4*MP*) 7862 if test -d /usr/nec; then 7863 lt_prog_compiler_pic=-Kconform_pic 7864 fi 7865 ;; 7866 7867 *) 7868 lt_prog_compiler_pic='-fPIC' 7869 ;; 7870 esac 7871 else 7872 # PORTME Check for flag to pass linker flags through the system compiler. 7873 case $host_os in 7874 aix*) 7875 lt_prog_compiler_wl='-Wl,' 7876 if test "$host_cpu" = ia64; then 7877 # AIX 5 now supports IA64 processor 7878 lt_prog_compiler_static='-Bstatic' 7879 else 7880 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 7881 fi 7882 ;; 7883 7884 mingw* | cygwin* | pw32* | os2* | cegcc*) 7885 # This hack is so that the source file can tell whether it is being 7886 # built for inclusion in a dll (and should export symbols for example). 7887 lt_prog_compiler_pic='-DDLL_EXPORT' 7888 ;; 7889 7890 hpux9* | hpux10* | hpux11*) 7891 lt_prog_compiler_wl='-Wl,' 7892 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 7893 # not for PA HP-UX. 7894 case $host_cpu in 7895 hppa*64*|ia64*) 7896 # +Z the default 7897 ;; 7898 *) 7899 lt_prog_compiler_pic='+Z' 7900 ;; 7901 esac 7902 # Is there a better lt_prog_compiler_static that works with the bundled CC? 7903 lt_prog_compiler_static='${wl}-a ${wl}archive' 7904 ;; 7905 7906 irix5* | irix6* | nonstopux*) 7907 lt_prog_compiler_wl='-Wl,' 7908 # PIC (with -KPIC) is the default. 7909 lt_prog_compiler_static='-non_shared' 7910 ;; 7911 7912 linux* | k*bsd*-gnu) 7913 case $cc_basename in 7914 # old Intel for x86_64 which still supported -KPIC. 7915 ecc*) 7916 lt_prog_compiler_wl='-Wl,' 7917 lt_prog_compiler_pic='-KPIC' 7918 lt_prog_compiler_static='-static' 7919 ;; 7920 # icc used to be incompatible with GCC. 7921 # ICC 10 doesn't accept -KPIC any more. 7922 icc* | ifort*) 7923 lt_prog_compiler_wl='-Wl,' 7924 lt_prog_compiler_pic='-fPIC' 7925 lt_prog_compiler_static='-static' 7926 ;; 7927 # Lahey Fortran 8.1. 7928 lf95*) 7929 lt_prog_compiler_wl='-Wl,' 7930 lt_prog_compiler_pic='--shared' 7931 lt_prog_compiler_static='--static' 7932 ;; 7933 pgcc* | pgf77* | pgf90* | pgf95*) 7934 # Portland Group compilers (*not* the Pentium gcc compiler, 7935 # which looks to be a dead project) 7936 lt_prog_compiler_wl='-Wl,' 7937 lt_prog_compiler_pic='-fpic' 7938 lt_prog_compiler_static='-Bstatic' 7939 ;; 7940 ccc*) 7941 lt_prog_compiler_wl='-Wl,' 7942 # All Alpha code is PIC. 7943 lt_prog_compiler_static='-non_shared' 7944 ;; 7945 xl*) 7946 # IBM XL C 8.0/Fortran 10.1 on PPC 7947 lt_prog_compiler_wl='-Wl,' 7948 lt_prog_compiler_pic='-qpic' 7949 lt_prog_compiler_static='-qstaticlink' 7950 ;; 7951 *) 7952 case `$CC -V 2>&1 | sed 5q` in 7953 *Sun\ C*) 7954 # Sun C 5.9 7955 lt_prog_compiler_pic='-KPIC' 7956 lt_prog_compiler_static='-Bstatic' 7957 lt_prog_compiler_wl='-Wl,' 7958 ;; 7959 *Sun\ F*) 7960 # Sun Fortran 8.3 passes all unrecognized flags to the linker 7961 lt_prog_compiler_pic='-KPIC' 7962 lt_prog_compiler_static='-Bstatic' 7963 lt_prog_compiler_wl='' 7964 ;; 7965 esac 7966 ;; 7967 esac 7968 ;; 7969 7970 newsos6) 7971 lt_prog_compiler_pic='-KPIC' 7972 lt_prog_compiler_static='-Bstatic' 7973 ;; 7974 7975 *nto* | *qnx*) 7976 # QNX uses GNU C++, but need to define -shared option too, otherwise 7977 # it will coredump. 7978 lt_prog_compiler_pic='-fPIC -shared' 7979 ;; 7980 7981 osf3* | osf4* | osf5*) 7982 lt_prog_compiler_wl='-Wl,' 7983 # All OSF/1 code is PIC. 7984 lt_prog_compiler_static='-non_shared' 7985 ;; 7986 7987 rdos*) 7988 lt_prog_compiler_static='-non_shared' 7989 ;; 7990 7991 solaris*) 7992 lt_prog_compiler_pic='-KPIC' 7993 lt_prog_compiler_static='-Bstatic' 7994 case $cc_basename in 7995 f77* | f90* | f95*) 7996 lt_prog_compiler_wl='-Qoption ld ';; 7997 *) 7998 lt_prog_compiler_wl='-Wl,';; 7999 esac 8000 ;; 8001 8002 sunos4*) 8003 lt_prog_compiler_wl='-Qoption ld ' 8004 lt_prog_compiler_pic='-PIC' 8005 lt_prog_compiler_static='-Bstatic' 8006 ;; 8007 8008 sysv4 | sysv4.2uw2* | sysv4.3*) 8009 lt_prog_compiler_wl='-Wl,' 8010 lt_prog_compiler_pic='-KPIC' 8011 lt_prog_compiler_static='-Bstatic' 8012 ;; 8013 8014 sysv4*MP*) 8015 if test -d /usr/nec ;then 8016 lt_prog_compiler_pic='-Kconform_pic' 8017 lt_prog_compiler_static='-Bstatic' 8018 fi 8019 ;; 8020 8021 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8022 lt_prog_compiler_wl='-Wl,' 8023 lt_prog_compiler_pic='-KPIC' 8024 lt_prog_compiler_static='-Bstatic' 8025 ;; 8026 8027 unicos*) 8028 lt_prog_compiler_wl='-Wl,' 8029 lt_prog_compiler_can_build_shared=no 8030 ;; 8031 8032 uts4*) 8033 lt_prog_compiler_pic='-pic' 8034 lt_prog_compiler_static='-Bstatic' 8035 ;; 8036 8037 *) 8038 lt_prog_compiler_can_build_shared=no 8039 ;; 8040 esac 8041 fi 8042 8043case $host_os in 8044 # For platforms which do not support PIC, -DPIC is meaningless: 8045 *djgpp*) 8046 lt_prog_compiler_pic= 8047 ;; 8048 *) 8049 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8050 ;; 8051esac 8052{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 8053$as_echo "$lt_prog_compiler_pic" >&6; } 8054 8055 8056 8057 8058 8059 8060# 8061# Check to make sure the PIC flag actually works. 8062# 8063if test -n "$lt_prog_compiler_pic"; then 8064 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8065$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8066if test "${lt_cv_prog_compiler_pic_works+set}" = set; then 8067 $as_echo_n "(cached) " >&6 8068else 8069 lt_cv_prog_compiler_pic_works=no 8070 ac_outfile=conftest.$ac_objext 8071 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8072 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 8073 # Insert the option either (1) after the last *FLAGS variable, or 8074 # (2) before a word containing "conftest.", or (3) at the end. 8075 # Note that $ac_compile itself does not contain backslashes and begins 8076 # with a dollar sign (not a hyphen), so the echo should work correctly. 8077 # The option is referenced via a variable to avoid confusing sed. 8078 lt_compile=`echo "$ac_compile" | $SED \ 8079 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8080 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8081 -e 's:$: $lt_compiler_flag:'` 8082 (eval echo "\"\$as_me:8082: $lt_compile\"" >&5) 8083 (eval "$lt_compile" 2>conftest.err) 8084 ac_status=$? 8085 cat conftest.err >&5 8086 echo "$as_me:8086: \$? = $ac_status" >&5 8087 if (exit $ac_status) && test -s "$ac_outfile"; then 8088 # The compiler can only warn and ignore the option if not recognized 8089 # So say no if there are warnings other than the usual output. 8090 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 8091 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8092 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8093 lt_cv_prog_compiler_pic_works=yes 8094 fi 8095 fi 8096 $RM conftest* 8097 8098fi 8099{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 8100$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8101 8102if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8103 case $lt_prog_compiler_pic in 8104 "" | " "*) ;; 8105 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8106 esac 8107else 8108 lt_prog_compiler_pic= 8109 lt_prog_compiler_can_build_shared=no 8110fi 8111 8112fi 8113 8114 8115 8116 8117 8118 8119# 8120# Check to make sure the static flag actually works. 8121# 8122wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8123{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8124$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8125if test "${lt_cv_prog_compiler_static_works+set}" = set; then 8126 $as_echo_n "(cached) " >&6 8127else 8128 lt_cv_prog_compiler_static_works=no 8129 save_LDFLAGS="$LDFLAGS" 8130 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8131 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8132 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8133 # The linker can only warn and ignore the option if not recognized 8134 # So say no if there are warnings 8135 if test -s conftest.err; then 8136 # Append any errors to the config.log. 8137 cat conftest.err 1>&5 8138 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 8139 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8140 if diff conftest.exp conftest.er2 >/dev/null; then 8141 lt_cv_prog_compiler_static_works=yes 8142 fi 8143 else 8144 lt_cv_prog_compiler_static_works=yes 8145 fi 8146 fi 8147 $RM -r conftest* 8148 LDFLAGS="$save_LDFLAGS" 8149 8150fi 8151{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 8152$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8153 8154if test x"$lt_cv_prog_compiler_static_works" = xyes; then 8155 : 8156else 8157 lt_prog_compiler_static= 8158fi 8159 8160 8161 8162 8163 8164 8165 8166 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 8167$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8168if test "${lt_cv_prog_compiler_c_o+set}" = set; then 8169 $as_echo_n "(cached) " >&6 8170else 8171 lt_cv_prog_compiler_c_o=no 8172 $RM -r conftest 2>/dev/null 8173 mkdir conftest 8174 cd conftest 8175 mkdir out 8176 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8177 8178 lt_compiler_flag="-o out/conftest2.$ac_objext" 8179 # Insert the option either (1) after the last *FLAGS variable, or 8180 # (2) before a word containing "conftest.", or (3) at the end. 8181 # Note that $ac_compile itself does not contain backslashes and begins 8182 # with a dollar sign (not a hyphen), so the echo should work correctly. 8183 lt_compile=`echo "$ac_compile" | $SED \ 8184 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8185 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8186 -e 's:$: $lt_compiler_flag:'` 8187 (eval echo "\"\$as_me:8187: $lt_compile\"" >&5) 8188 (eval "$lt_compile" 2>out/conftest.err) 8189 ac_status=$? 8190 cat out/conftest.err >&5 8191 echo "$as_me:8191: \$? = $ac_status" >&5 8192 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8193 then 8194 # The compiler can only warn and ignore the option if not recognized 8195 # So say no if there are warnings 8196 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 8197 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8198 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8199 lt_cv_prog_compiler_c_o=yes 8200 fi 8201 fi 8202 chmod u+w . 2>&5 8203 $RM conftest* 8204 # SGI C++ compiler will create directory out/ii_files/ for 8205 # template instantiation 8206 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8207 $RM out/* && rmdir out 8208 cd .. 8209 $RM -r conftest 8210 $RM conftest* 8211 8212fi 8213{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 8214$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8215 8216 8217 8218 8219 8220 8221 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 8222$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8223if test "${lt_cv_prog_compiler_c_o+set}" = set; then 8224 $as_echo_n "(cached) " >&6 8225else 8226 lt_cv_prog_compiler_c_o=no 8227 $RM -r conftest 2>/dev/null 8228 mkdir conftest 8229 cd conftest 8230 mkdir out 8231 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8232 8233 lt_compiler_flag="-o out/conftest2.$ac_objext" 8234 # Insert the option either (1) after the last *FLAGS variable, or 8235 # (2) before a word containing "conftest.", or (3) at the end. 8236 # Note that $ac_compile itself does not contain backslashes and begins 8237 # with a dollar sign (not a hyphen), so the echo should work correctly. 8238 lt_compile=`echo "$ac_compile" | $SED \ 8239 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8240 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8241 -e 's:$: $lt_compiler_flag:'` 8242 (eval echo "\"\$as_me:8242: $lt_compile\"" >&5) 8243 (eval "$lt_compile" 2>out/conftest.err) 8244 ac_status=$? 8245 cat out/conftest.err >&5 8246 echo "$as_me:8246: \$? = $ac_status" >&5 8247 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8248 then 8249 # The compiler can only warn and ignore the option if not recognized 8250 # So say no if there are warnings 8251 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 8252 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8253 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8254 lt_cv_prog_compiler_c_o=yes 8255 fi 8256 fi 8257 chmod u+w . 2>&5 8258 $RM conftest* 8259 # SGI C++ compiler will create directory out/ii_files/ for 8260 # template instantiation 8261 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8262 $RM out/* && rmdir out 8263 cd .. 8264 $RM -r conftest 8265 $RM conftest* 8266 8267fi 8268{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 8269$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8270 8271 8272 8273 8274hard_links="nottested" 8275if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 8276 # do not overwrite the value of need_locks provided by the user 8277 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 8278$as_echo_n "checking if we can lock with hard links... " >&6; } 8279 hard_links=yes 8280 $RM conftest* 8281 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8282 touch conftest.a 8283 ln conftest.a conftest.b 2>&5 || hard_links=no 8284 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8285 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5 8286$as_echo "$hard_links" >&6; } 8287 if test "$hard_links" = no; then 8288 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8289$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8290 need_locks=warn 8291 fi 8292else 8293 need_locks=no 8294fi 8295 8296 8297 8298 8299 8300 8301 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8302$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8303 8304 runpath_var= 8305 allow_undefined_flag= 8306 always_export_symbols=no 8307 archive_cmds= 8308 archive_expsym_cmds= 8309 compiler_needs_object=no 8310 enable_shared_with_static_runtimes=no 8311 export_dynamic_flag_spec= 8312 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8313 hardcode_automatic=no 8314 hardcode_direct=no 8315 hardcode_direct_absolute=no 8316 hardcode_libdir_flag_spec= 8317 hardcode_libdir_flag_spec_ld= 8318 hardcode_libdir_separator= 8319 hardcode_minus_L=no 8320 hardcode_shlibpath_var=unsupported 8321 inherit_rpath=no 8322 link_all_deplibs=unknown 8323 module_cmds= 8324 module_expsym_cmds= 8325 old_archive_from_new_cmds= 8326 old_archive_from_expsyms_cmds= 8327 thread_safe_flag_spec= 8328 whole_archive_flag_spec= 8329 # include_expsyms should be a list of space-separated symbols to be *always* 8330 # included in the symbol list 8331 include_expsyms= 8332 # exclude_expsyms can be an extended regexp of symbols to exclude 8333 # it will be wrapped by ` (' and `)$', so one must not match beginning or 8334 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 8335 # as well as any symbol that contains `d'. 8336 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8337 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8338 # platforms (ab)use it in PIC code, but their linkers get confused if 8339 # the symbol is explicitly referenced. Since portable code cannot 8340 # rely on this symbol name, it's probably fine to never include it in 8341 # preloaded symbol tables. 8342 # Exclude shared library initialization/finalization symbols. 8343 extract_expsyms_cmds= 8344 8345 case $host_os in 8346 cygwin* | mingw* | pw32* | cegcc*) 8347 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8348 # When not using gcc, we currently assume that we are using 8349 # Microsoft Visual C++. 8350 if test "$GCC" != yes; then 8351 with_gnu_ld=no 8352 fi 8353 ;; 8354 interix*) 8355 # we just hope/assume this is gcc and not c89 (= MSVC++) 8356 with_gnu_ld=yes 8357 ;; 8358 openbsd*) 8359 with_gnu_ld=no 8360 ;; 8361 esac 8362 8363 ld_shlibs=yes 8364 if test "$with_gnu_ld" = yes; then 8365 # If archive_cmds runs LD, not CC, wlarc should be empty 8366 wlarc='${wl}' 8367 8368 # Set some defaults for GNU ld with shared library support. These 8369 # are reset later if shared libraries are not supported. Putting them 8370 # here allows them to be overridden if necessary. 8371 runpath_var=LD_RUN_PATH 8372 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8373 export_dynamic_flag_spec='${wl}--export-dynamic' 8374 # ancient GNU ld didn't support --whole-archive et. al. 8375 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 8376 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 8377 else 8378 whole_archive_flag_spec= 8379 fi 8380 supports_anon_versioning=no 8381 case `$LD -v 2>&1` in 8382 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8383 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8384 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8385 *\ 2.11.*) ;; # other 2.11 versions 8386 *) supports_anon_versioning=yes ;; 8387 esac 8388 8389 # See if GNU ld supports shared libraries. 8390 case $host_os in 8391 aix[3-9]*) 8392 # On AIX/PPC, the GNU linker is very broken 8393 if test "$host_cpu" != ia64; then 8394 ld_shlibs=no 8395 cat <<_LT_EOF 1>&2 8396 8397*** Warning: the GNU linker, at least up to release 2.9.1, is reported 8398*** to be unable to reliably create shared libraries on AIX. 8399*** Therefore, libtool is disabling shared libraries support. If you 8400*** really care for shared libraries, you may want to modify your PATH 8401*** so that a non-GNU linker is found, and then restart. 8402 8403_LT_EOF 8404 fi 8405 ;; 8406 8407 amigaos*) 8408 case $host_cpu in 8409 powerpc) 8410 # see comment about AmigaOS4 .so support 8411 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8412 archive_expsym_cmds='' 8413 ;; 8414 m68k) 8415 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)' 8416 hardcode_libdir_flag_spec='-L$libdir' 8417 hardcode_minus_L=yes 8418 ;; 8419 esac 8420 ;; 8421 8422 beos*) 8423 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8424 allow_undefined_flag=unsupported 8425 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 8426 # support --undefined. This deserves some investigation. FIXME 8427 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8428 else 8429 ld_shlibs=no 8430 fi 8431 ;; 8432 8433 cygwin* | mingw* | pw32* | cegcc*) 8434 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8435 # as there is no search path for DLLs. 8436 hardcode_libdir_flag_spec='-L$libdir' 8437 allow_undefined_flag=unsupported 8438 always_export_symbols=no 8439 enable_shared_with_static_runtimes=yes 8440 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 8441 8442 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 8443 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8444 # If the export-symbols file already is a .def file (1st line 8445 # is EXPORTS), use it as is; otherwise, prepend... 8446 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 8447 cp $export_symbols $output_objdir/$soname.def; 8448 else 8449 echo EXPORTS > $output_objdir/$soname.def; 8450 cat $export_symbols >> $output_objdir/$soname.def; 8451 fi~ 8452 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8453 else 8454 ld_shlibs=no 8455 fi 8456 ;; 8457 8458 interix[3-9]*) 8459 hardcode_direct=no 8460 hardcode_shlibpath_var=no 8461 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8462 export_dynamic_flag_spec='${wl}-E' 8463 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 8464 # Instead, shared libraries are loaded at an image base (0x10000000 by 8465 # default) and relocated if they conflict, which is a slow very memory 8466 # consuming and fragmenting process. To avoid this, we pick a random, 8467 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 8468 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8469 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8470 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' 8471 ;; 8472 8473 gnu* | linux* | tpf* | k*bsd*-gnu) 8474 tmp_diet=no 8475 if test "$host_os" = linux-dietlibc; then 8476 case $cc_basename in 8477 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 8478 esac 8479 fi 8480 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 8481 && test "$tmp_diet" = no 8482 then 8483 tmp_addflag= 8484 tmp_sharedflag='-shared' 8485 case $cc_basename,$host_cpu in 8486 pgcc*) # Portland Group C compiler 8487 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' 8488 tmp_addflag=' $pic_flag' 8489 ;; 8490 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 8491 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' 8492 tmp_addflag=' $pic_flag -Mnomain' ;; 8493 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 8494 tmp_addflag=' -i_dynamic' ;; 8495 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 8496 tmp_addflag=' -i_dynamic -nofor_main' ;; 8497 ifc* | ifort*) # Intel Fortran compiler 8498 tmp_addflag=' -nofor_main' ;; 8499 lf95*) # Lahey Fortran 8.1 8500 whole_archive_flag_spec= 8501 tmp_sharedflag='--shared' ;; 8502 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 8503 tmp_sharedflag='-qmkshrobj' 8504 tmp_addflag= ;; 8505 esac 8506 case `$CC -V 2>&1 | sed 5q` in 8507 *Sun\ C*) # Sun C 5.9 8508 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' 8509 compiler_needs_object=yes 8510 tmp_sharedflag='-G' ;; 8511 *Sun\ F*) # Sun Fortran 8.3 8512 tmp_sharedflag='-G' ;; 8513 esac 8514 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8515 8516 if test "x$supports_anon_versioning" = xyes; then 8517 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8518 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8519 echo "local: *; };" >> $output_objdir/$libname.ver~ 8520 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 8521 fi 8522 8523 case $cc_basename in 8524 xlf*) 8525 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 8526 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 8527 hardcode_libdir_flag_spec= 8528 hardcode_libdir_flag_spec_ld='-rpath $libdir' 8529 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' 8530 if test "x$supports_anon_versioning" = xyes; then 8531 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8532 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8533 echo "local: *; };" >> $output_objdir/$libname.ver~ 8534 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 8535 fi 8536 ;; 8537 esac 8538 else 8539 ld_shlibs=no 8540 fi 8541 ;; 8542 8543 netbsd*) 8544 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 8545 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 8546 wlarc= 8547 else 8548 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8549 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8550 fi 8551 ;; 8552 8553 solaris*) 8554 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 8555 ld_shlibs=no 8556 cat <<_LT_EOF 1>&2 8557 8558*** Warning: The releases 2.8.* of the GNU linker cannot reliably 8559*** create shared libraries on Solaris systems. Therefore, libtool 8560*** is disabling shared libraries support. We urge you to upgrade GNU 8561*** binutils to release 2.9.1 or newer. Another option is to modify 8562*** your PATH or compiler configuration so that the native linker is 8563*** used, and then restart. 8564 8565_LT_EOF 8566 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8567 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8568 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8569 else 8570 ld_shlibs=no 8571 fi 8572 ;; 8573 8574 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 8575 case `$LD -v 2>&1` in 8576 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 8577 ld_shlibs=no 8578 cat <<_LT_EOF 1>&2 8579 8580*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 8581*** reliably create shared libraries on SCO systems. Therefore, libtool 8582*** is disabling shared libraries support. We urge you to upgrade GNU 8583*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 8584*** your PATH or compiler configuration so that the native linker is 8585*** used, and then restart. 8586 8587_LT_EOF 8588 ;; 8589 *) 8590 # For security reasons, it is highly recommended that you always 8591 # use absolute paths for naming shared libraries, and exclude the 8592 # DT_RUNPATH tag from executables and libraries. But doing so 8593 # requires that you compile everything twice, which is a pain. 8594 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8595 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8596 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8597 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8598 else 8599 ld_shlibs=no 8600 fi 8601 ;; 8602 esac 8603 ;; 8604 8605 sunos4*) 8606 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8607 wlarc= 8608 hardcode_direct=yes 8609 hardcode_shlibpath_var=no 8610 ;; 8611 8612 *) 8613 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8614 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8615 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8616 else 8617 ld_shlibs=no 8618 fi 8619 ;; 8620 esac 8621 8622 if test "$ld_shlibs" = no; then 8623 runpath_var= 8624 hardcode_libdir_flag_spec= 8625 export_dynamic_flag_spec= 8626 whole_archive_flag_spec= 8627 fi 8628 else 8629 # PORTME fill in a description of your system's linker (not GNU ld) 8630 case $host_os in 8631 aix3*) 8632 allow_undefined_flag=unsupported 8633 always_export_symbols=yes 8634 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' 8635 # Note: this linker hardcodes the directories in LIBPATH if there 8636 # are no directories specified by -L. 8637 hardcode_minus_L=yes 8638 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 8639 # Neither direct hardcoding nor static linking is supported with a 8640 # broken collect2. 8641 hardcode_direct=unsupported 8642 fi 8643 ;; 8644 8645 aix[4-9]*) 8646 if test "$host_cpu" = ia64; then 8647 # On IA64, the linker does run time linking by default, so we don't 8648 # have to do anything special. 8649 aix_use_runtimelinking=no 8650 exp_sym_flag='-Bexport' 8651 no_entry_flag="" 8652 else 8653 # If we're using GNU nm, then we don't want the "-C" option. 8654 # -C means demangle to AIX nm, but means don't demangle with GNU nm 8655 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 8656 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' 8657 else 8658 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' 8659 fi 8660 aix_use_runtimelinking=no 8661 8662 # Test if we are trying to use run time linking or normal 8663 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 8664 # need to do runtime linking. 8665 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 8666 for ld_flag in $LDFLAGS; do 8667 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 8668 aix_use_runtimelinking=yes 8669 break 8670 fi 8671 done 8672 ;; 8673 esac 8674 8675 exp_sym_flag='-bexport' 8676 no_entry_flag='-bnoentry' 8677 fi 8678 8679 # When large executables or shared objects are built, AIX ld can 8680 # have problems creating the table of contents. If linking a library 8681 # or program results in "error TOC overflow" add -mminimal-toc to 8682 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 8683 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 8684 8685 archive_cmds='' 8686 hardcode_direct=yes 8687 hardcode_direct_absolute=yes 8688 hardcode_libdir_separator=':' 8689 link_all_deplibs=yes 8690 file_list_spec='${wl}-f,' 8691 8692 if test "$GCC" = yes; then 8693 case $host_os in aix4.[012]|aix4.[012].*) 8694 # We only want to do this on AIX 4.2 and lower, the check 8695 # below for broken collect2 doesn't work under 4.3+ 8696 collect2name=`${CC} -print-prog-name=collect2` 8697 if test -f "$collect2name" && 8698 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 8699 then 8700 # We have reworked collect2 8701 : 8702 else 8703 # We have old collect2 8704 hardcode_direct=unsupported 8705 # It fails to find uninstalled libraries when the uninstalled 8706 # path is not listed in the libpath. Setting hardcode_minus_L 8707 # to unsupported forces relinking 8708 hardcode_minus_L=yes 8709 hardcode_libdir_flag_spec='-L$libdir' 8710 hardcode_libdir_separator= 8711 fi 8712 ;; 8713 esac 8714 shared_flag='-shared' 8715 if test "$aix_use_runtimelinking" = yes; then 8716 shared_flag="$shared_flag "'${wl}-G' 8717 fi 8718 else 8719 # not using gcc 8720 if test "$host_cpu" = ia64; then 8721 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 8722 # chokes on -Wl,-G. The following line is correct: 8723 shared_flag='-G' 8724 else 8725 if test "$aix_use_runtimelinking" = yes; then 8726 shared_flag='${wl}-G' 8727 else 8728 shared_flag='${wl}-bM:SRE' 8729 fi 8730 fi 8731 fi 8732 8733 export_dynamic_flag_spec='${wl}-bexpall' 8734 # It seems that -bexpall does not export symbols beginning with 8735 # underscore (_), so it is better to generate a list of symbols to export. 8736 always_export_symbols=yes 8737 if test "$aix_use_runtimelinking" = yes; then 8738 # Warning - without using the other runtime loading flags (-brtl), 8739 # -berok will link without error, but may produce a broken library. 8740 allow_undefined_flag='-berok' 8741 # Determine the default libpath from the value encoded in an 8742 # empty executable. 8743 cat >conftest.$ac_ext <<_ACEOF 8744/* confdefs.h. */ 8745_ACEOF 8746cat confdefs.h >>conftest.$ac_ext 8747cat >>conftest.$ac_ext <<_ACEOF 8748/* end confdefs.h. */ 8749 8750int 8751main () 8752{ 8753 8754 ; 8755 return 0; 8756} 8757_ACEOF 8758rm -f conftest.$ac_objext conftest$ac_exeext 8759if { (ac_try="$ac_link" 8760case "(($ac_try" in 8761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8762 *) ac_try_echo=$ac_try;; 8763esac 8764eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8765$as_echo "$ac_try_echo") >&5 8766 (eval "$ac_link") 2>conftest.er1 8767 ac_status=$? 8768 grep -v '^ *+' conftest.er1 >conftest.err 8769 rm -f conftest.er1 8770 cat conftest.err >&5 8771 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8772 (exit $ac_status); } && { 8773 test -z "$ac_c_werror_flag" || 8774 test ! -s conftest.err 8775 } && test -s conftest$ac_exeext && { 8776 test "$cross_compiling" = yes || 8777 $as_test_x conftest$ac_exeext 8778 }; then 8779 8780lt_aix_libpath_sed=' 8781 /Import File Strings/,/^$/ { 8782 /^0/ { 8783 s/^0 *\(.*\)$/\1/ 8784 p 8785 } 8786 }' 8787aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8788# Check for a 64-bit object if we didn't find anything. 8789if test -z "$aix_libpath"; then 8790 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8791fi 8792else 8793 $as_echo "$as_me: failed program was:" >&5 8794sed 's/^/| /' conftest.$ac_ext >&5 8795 8796 8797fi 8798 8799rm -rf conftest.dSYM 8800rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8801 conftest$ac_exeext conftest.$ac_ext 8802if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8803 8804 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8805 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 8806 else 8807 if test "$host_cpu" = ia64; then 8808 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 8809 allow_undefined_flag="-z nodefs" 8810 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" 8811 else 8812 # Determine the default libpath from the value encoded in an 8813 # empty executable. 8814 cat >conftest.$ac_ext <<_ACEOF 8815/* confdefs.h. */ 8816_ACEOF 8817cat confdefs.h >>conftest.$ac_ext 8818cat >>conftest.$ac_ext <<_ACEOF 8819/* end confdefs.h. */ 8820 8821int 8822main () 8823{ 8824 8825 ; 8826 return 0; 8827} 8828_ACEOF 8829rm -f conftest.$ac_objext conftest$ac_exeext 8830if { (ac_try="$ac_link" 8831case "(($ac_try" in 8832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8833 *) ac_try_echo=$ac_try;; 8834esac 8835eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8836$as_echo "$ac_try_echo") >&5 8837 (eval "$ac_link") 2>conftest.er1 8838 ac_status=$? 8839 grep -v '^ *+' conftest.er1 >conftest.err 8840 rm -f conftest.er1 8841 cat conftest.err >&5 8842 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8843 (exit $ac_status); } && { 8844 test -z "$ac_c_werror_flag" || 8845 test ! -s conftest.err 8846 } && test -s conftest$ac_exeext && { 8847 test "$cross_compiling" = yes || 8848 $as_test_x conftest$ac_exeext 8849 }; then 8850 8851lt_aix_libpath_sed=' 8852 /Import File Strings/,/^$/ { 8853 /^0/ { 8854 s/^0 *\(.*\)$/\1/ 8855 p 8856 } 8857 }' 8858aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8859# Check for a 64-bit object if we didn't find anything. 8860if test -z "$aix_libpath"; then 8861 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8862fi 8863else 8864 $as_echo "$as_me: failed program was:" >&5 8865sed 's/^/| /' conftest.$ac_ext >&5 8866 8867 8868fi 8869 8870rm -rf conftest.dSYM 8871rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8872 conftest$ac_exeext conftest.$ac_ext 8873if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8874 8875 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8876 # Warning - without using the other run time loading flags, 8877 # -berok will link without error, but may produce a broken library. 8878 no_undefined_flag=' ${wl}-bernotok' 8879 allow_undefined_flag=' ${wl}-berok' 8880 # Exported symbols can be pulled into shared objects from archives 8881 whole_archive_flag_spec='$convenience' 8882 archive_cmds_need_lc=yes 8883 # This is similar to how AIX traditionally builds its shared libraries. 8884 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' 8885 fi 8886 fi 8887 ;; 8888 8889 amigaos*) 8890 case $host_cpu in 8891 powerpc) 8892 # see comment about AmigaOS4 .so support 8893 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8894 archive_expsym_cmds='' 8895 ;; 8896 m68k) 8897 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)' 8898 hardcode_libdir_flag_spec='-L$libdir' 8899 hardcode_minus_L=yes 8900 ;; 8901 esac 8902 ;; 8903 8904 bsdi[45]*) 8905 export_dynamic_flag_spec=-rdynamic 8906 ;; 8907 8908 cygwin* | mingw* | pw32* | cegcc*) 8909 # When not using gcc, we currently assume that we are using 8910 # Microsoft Visual C++. 8911 # hardcode_libdir_flag_spec is actually meaningless, as there is 8912 # no search path for DLLs. 8913 hardcode_libdir_flag_spec=' ' 8914 allow_undefined_flag=unsupported 8915 # Tell ltmain to make .lib files, not .a files. 8916 libext=lib 8917 # Tell ltmain to make .dll files, not .so files. 8918 shrext_cmds=".dll" 8919 # FIXME: Setting linknames here is a bad hack. 8920 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' 8921 # The linker will automatically build a .lib file if we build a DLL. 8922 old_archive_from_new_cmds='true' 8923 # FIXME: Should let the user specify the lib program. 8924 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 8925 fix_srcfile_path='`cygpath -w "$srcfile"`' 8926 enable_shared_with_static_runtimes=yes 8927 ;; 8928 8929 darwin* | rhapsody*) 8930 8931 8932 archive_cmds_need_lc=no 8933 hardcode_direct=no 8934 hardcode_automatic=yes 8935 hardcode_shlibpath_var=unsupported 8936 whole_archive_flag_spec='' 8937 link_all_deplibs=yes 8938 allow_undefined_flag="$_lt_dar_allow_undefined" 8939 case $cc_basename in 8940 ifort*) _lt_dar_can_shared=yes ;; 8941 *) _lt_dar_can_shared=$GCC ;; 8942 esac 8943 if test "$_lt_dar_can_shared" = "yes"; then 8944 output_verbose_link_cmd=echo 8945 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 8946 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 8947 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" 8948 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" 8949 8950 else 8951 ld_shlibs=no 8952 fi 8953 8954 ;; 8955 8956 dgux*) 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 freebsd1*) 8963 ld_shlibs=no 8964 ;; 8965 8966 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 8967 # support. Future versions do this automatically, but an explicit c++rt0.o 8968 # does not break anything, and helps significantly (at the cost of a little 8969 # extra space). 8970 freebsd2.2*) 8971 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 8972 hardcode_libdir_flag_spec='-R$libdir' 8973 hardcode_direct=yes 8974 hardcode_shlibpath_var=no 8975 ;; 8976 8977 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 8978 freebsd2*) 8979 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8980 hardcode_direct=yes 8981 hardcode_minus_L=yes 8982 hardcode_shlibpath_var=no 8983 ;; 8984 8985 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 8986 freebsd* | dragonfly*) 8987 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 8988 hardcode_libdir_flag_spec='-R$libdir' 8989 hardcode_direct=yes 8990 hardcode_shlibpath_var=no 8991 ;; 8992 8993 hpux9*) 8994 if test "$GCC" = yes; then 8995 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' 8996 else 8997 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' 8998 fi 8999 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9000 hardcode_libdir_separator=: 9001 hardcode_direct=yes 9002 9003 # hardcode_minus_L: Not really in the search PATH, 9004 # but as the default location of the library. 9005 hardcode_minus_L=yes 9006 export_dynamic_flag_spec='${wl}-E' 9007 ;; 9008 9009 hpux10*) 9010 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 9011 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9012 else 9013 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9014 fi 9015 if test "$with_gnu_ld" = no; then 9016 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9017 hardcode_libdir_flag_spec_ld='+b $libdir' 9018 hardcode_libdir_separator=: 9019 hardcode_direct=yes 9020 hardcode_direct_absolute=yes 9021 export_dynamic_flag_spec='${wl}-E' 9022 # hardcode_minus_L: Not really in the search PATH, 9023 # but as the default location of the library. 9024 hardcode_minus_L=yes 9025 fi 9026 ;; 9027 9028 hpux11*) 9029 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 9030 case $host_cpu in 9031 hppa*64*) 9032 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9033 ;; 9034 ia64*) 9035 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9036 ;; 9037 *) 9038 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9039 ;; 9040 esac 9041 else 9042 case $host_cpu in 9043 hppa*64*) 9044 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9045 ;; 9046 ia64*) 9047 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9048 ;; 9049 *) 9050 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9051 ;; 9052 esac 9053 fi 9054 if test "$with_gnu_ld" = no; then 9055 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9056 hardcode_libdir_separator=: 9057 9058 case $host_cpu in 9059 hppa*64*|ia64*) 9060 hardcode_direct=no 9061 hardcode_shlibpath_var=no 9062 ;; 9063 *) 9064 hardcode_direct=yes 9065 hardcode_direct_absolute=yes 9066 export_dynamic_flag_spec='${wl}-E' 9067 9068 # hardcode_minus_L: Not really in the search PATH, 9069 # but as the default location of the library. 9070 hardcode_minus_L=yes 9071 ;; 9072 esac 9073 fi 9074 ;; 9075 9076 irix5* | irix6* | nonstopux*) 9077 if test "$GCC" = yes; then 9078 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 9079 # Try to use the -exported_symbol ld option, if it does not 9080 # work, assume that -exports_file does not work either and 9081 # implicitly export all symbols. 9082 save_LDFLAGS="$LDFLAGS" 9083 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9084 cat >conftest.$ac_ext <<_ACEOF 9085int foo(void) {} 9086_ACEOF 9087rm -f conftest.$ac_objext conftest$ac_exeext 9088if { (ac_try="$ac_link" 9089case "(($ac_try" in 9090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9091 *) ac_try_echo=$ac_try;; 9092esac 9093eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9094$as_echo "$ac_try_echo") >&5 9095 (eval "$ac_link") 2>conftest.er1 9096 ac_status=$? 9097 grep -v '^ *+' conftest.er1 >conftest.err 9098 rm -f conftest.er1 9099 cat conftest.err >&5 9100 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9101 (exit $ac_status); } && { 9102 test -z "$ac_c_werror_flag" || 9103 test ! -s conftest.err 9104 } && test -s conftest$ac_exeext && { 9105 test "$cross_compiling" = yes || 9106 $as_test_x conftest$ac_exeext 9107 }; then 9108 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' 9109 9110else 9111 $as_echo "$as_me: failed program was:" >&5 9112sed 's/^/| /' conftest.$ac_ext >&5 9113 9114 9115fi 9116 9117rm -rf conftest.dSYM 9118rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9119 conftest$ac_exeext conftest.$ac_ext 9120 LDFLAGS="$save_LDFLAGS" 9121 else 9122 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 9123 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' 9124 fi 9125 archive_cmds_need_lc='no' 9126 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9127 hardcode_libdir_separator=: 9128 inherit_rpath=yes 9129 link_all_deplibs=yes 9130 ;; 9131 9132 netbsd*) 9133 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9134 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9135 else 9136 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9137 fi 9138 hardcode_libdir_flag_spec='-R$libdir' 9139 hardcode_direct=yes 9140 hardcode_shlibpath_var=no 9141 ;; 9142 9143 newsos6) 9144 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9145 hardcode_direct=yes 9146 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9147 hardcode_libdir_separator=: 9148 hardcode_shlibpath_var=no 9149 ;; 9150 9151 *nto* | *qnx*) 9152 ;; 9153 9154 openbsd*) 9155 if test -f /usr/libexec/ld.so; then 9156 hardcode_direct=yes 9157 hardcode_shlibpath_var=no 9158 hardcode_direct_absolute=yes 9159 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9160 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9161 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 9162 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9163 export_dynamic_flag_spec='${wl}-E' 9164 else 9165 case $host_os in 9166 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 9167 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9168 hardcode_libdir_flag_spec='-R$libdir' 9169 ;; 9170 *) 9171 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9172 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9173 ;; 9174 esac 9175 fi 9176 else 9177 ld_shlibs=no 9178 fi 9179 ;; 9180 9181 os2*) 9182 hardcode_libdir_flag_spec='-L$libdir' 9183 hardcode_minus_L=yes 9184 allow_undefined_flag=unsupported 9185 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' 9186 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 9187 ;; 9188 9189 osf3*) 9190 if test "$GCC" = yes; then 9191 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9192 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 9193 else 9194 allow_undefined_flag=' -expect_unresolved \*' 9195 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 9196 fi 9197 archive_cmds_need_lc='no' 9198 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9199 hardcode_libdir_separator=: 9200 ;; 9201 9202 osf4* | osf5*) # as osf3* with the addition of -msym flag 9203 if test "$GCC" = yes; then 9204 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9205 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 9206 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9207 else 9208 allow_undefined_flag=' -expect_unresolved \*' 9209 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 9210 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ 9211 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' 9212 9213 # Both c and cxx compiler support -rpath directly 9214 hardcode_libdir_flag_spec='-rpath $libdir' 9215 fi 9216 archive_cmds_need_lc='no' 9217 hardcode_libdir_separator=: 9218 ;; 9219 9220 solaris*) 9221 no_undefined_flag=' -z defs' 9222 if test "$GCC" = yes; then 9223 wlarc='${wl}' 9224 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9225 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9226 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9227 else 9228 case `$CC -V 2>&1` in 9229 *"Compilers 5.0"*) 9230 wlarc='' 9231 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 9232 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9233 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 9234 ;; 9235 *) 9236 wlarc='${wl}' 9237 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 9238 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9239 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9240 ;; 9241 esac 9242 fi 9243 hardcode_libdir_flag_spec='-R$libdir' 9244 hardcode_shlibpath_var=no 9245 case $host_os in 9246 solaris2.[0-5] | solaris2.[0-5].*) ;; 9247 *) 9248 # The compiler driver will combine and reorder linker options, 9249 # but understands `-z linker_flag'. GCC discards it without `$wl', 9250 # but is careful enough not to reorder. 9251 # Supported since Solaris 2.6 (maybe 2.5.1?) 9252 if test "$GCC" = yes; then 9253 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 9254 else 9255 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 9256 fi 9257 ;; 9258 esac 9259 link_all_deplibs=yes 9260 ;; 9261 9262 sunos4*) 9263 if test "x$host_vendor" = xsequent; then 9264 # Use $CC to link under sequent, because it throws in some extra .o 9265 # files that make .init and .fini sections work. 9266 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 9267 else 9268 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 9269 fi 9270 hardcode_libdir_flag_spec='-L$libdir' 9271 hardcode_direct=yes 9272 hardcode_minus_L=yes 9273 hardcode_shlibpath_var=no 9274 ;; 9275 9276 sysv4) 9277 case $host_vendor in 9278 sni) 9279 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9280 hardcode_direct=yes # is this really true??? 9281 ;; 9282 siemens) 9283 ## LD is ld it makes a PLAMLIB 9284 ## CC just makes a GrossModule. 9285 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 9286 reload_cmds='$CC -r -o $output$reload_objs' 9287 hardcode_direct=no 9288 ;; 9289 motorola) 9290 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9291 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 9292 ;; 9293 esac 9294 runpath_var='LD_RUN_PATH' 9295 hardcode_shlibpath_var=no 9296 ;; 9297 9298 sysv4.3*) 9299 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9300 hardcode_shlibpath_var=no 9301 export_dynamic_flag_spec='-Bexport' 9302 ;; 9303 9304 sysv4*MP*) 9305 if test -d /usr/nec; then 9306 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9307 hardcode_shlibpath_var=no 9308 runpath_var=LD_RUN_PATH 9309 hardcode_runpath_var=yes 9310 ld_shlibs=yes 9311 fi 9312 ;; 9313 9314 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 9315 no_undefined_flag='${wl}-z,text' 9316 archive_cmds_need_lc=no 9317 hardcode_shlibpath_var=no 9318 runpath_var='LD_RUN_PATH' 9319 9320 if test "$GCC" = yes; then 9321 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9322 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9323 else 9324 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9325 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9326 fi 9327 ;; 9328 9329 sysv5* | sco3.2v5* | sco5v6*) 9330 # Note: We can NOT use -z defs as we might desire, because we do not 9331 # link with -lc, and that would cause any symbols used from libc to 9332 # always be unresolved, which means just about no library would 9333 # ever link correctly. If we're not using GNU ld we use -z text 9334 # though, which does catch some bad symbols but isn't as heavy-handed 9335 # as -z defs. 9336 no_undefined_flag='${wl}-z,text' 9337 allow_undefined_flag='${wl}-z,nodefs' 9338 archive_cmds_need_lc=no 9339 hardcode_shlibpath_var=no 9340 hardcode_libdir_flag_spec='${wl}-R,$libdir' 9341 hardcode_libdir_separator=':' 9342 link_all_deplibs=yes 9343 export_dynamic_flag_spec='${wl}-Bexport' 9344 runpath_var='LD_RUN_PATH' 9345 9346 if test "$GCC" = yes; then 9347 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9348 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9349 else 9350 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9351 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9352 fi 9353 ;; 9354 9355 uts4*) 9356 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9357 hardcode_libdir_flag_spec='-L$libdir' 9358 hardcode_shlibpath_var=no 9359 ;; 9360 9361 *) 9362 ld_shlibs=no 9363 ;; 9364 esac 9365 9366 if test x$host_vendor = xsni; then 9367 case $host in 9368 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 9369 export_dynamic_flag_spec='${wl}-Blargedynsym' 9370 ;; 9371 esac 9372 fi 9373 fi 9374 9375{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5 9376$as_echo "$ld_shlibs" >&6; } 9377test "$ld_shlibs" = no && can_build_shared=no 9378 9379with_gnu_ld=$with_gnu_ld 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395# 9396# Do we need to explicitly link libc? 9397# 9398case "x$archive_cmds_need_lc" in 9399x|xyes) 9400 # Assume -lc should be added 9401 archive_cmds_need_lc=yes 9402 9403 if test "$enable_shared" = yes && test "$GCC" = yes; then 9404 case $archive_cmds in 9405 *'~'*) 9406 # FIXME: we may have to deal with multi-command sequences. 9407 ;; 9408 '$CC '*) 9409 # Test whether the compiler implicitly links with -lc since on some 9410 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9411 # to ld, don't add -lc before -lgcc. 9412 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 9413$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 9414 $RM conftest* 9415 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9416 9417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9418 (eval $ac_compile) 2>&5 9419 ac_status=$? 9420 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9421 (exit $ac_status); } 2>conftest.err; then 9422 soname=conftest 9423 lib=conftest 9424 libobjs=conftest.$ac_objext 9425 deplibs= 9426 wl=$lt_prog_compiler_wl 9427 pic_flag=$lt_prog_compiler_pic 9428 compiler_flags=-v 9429 linker_flags=-v 9430 verstring= 9431 output_objdir=. 9432 libname=conftest 9433 lt_save_allow_undefined_flag=$allow_undefined_flag 9434 allow_undefined_flag= 9435 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 9436 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 9437 ac_status=$? 9438 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9439 (exit $ac_status); } 9440 then 9441 archive_cmds_need_lc=no 9442 else 9443 archive_cmds_need_lc=yes 9444 fi 9445 allow_undefined_flag=$lt_save_allow_undefined_flag 9446 else 9447 cat conftest.err 1>&5 9448 fi 9449 $RM conftest* 9450 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 9451$as_echo "$archive_cmds_need_lc" >&6; } 9452 ;; 9453 esac 9454 fi 9455 ;; 9456esac 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 9615$as_echo_n "checking dynamic linker characteristics... " >&6; } 9616 9617if test "$GCC" = yes; then 9618 case $host_os in 9619 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 9620 *) lt_awk_arg="/^libraries:/" ;; 9621 esac 9622 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` 9623 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then 9624 # if the path contains ";" then we assume it to be the separator 9625 # otherwise default to the standard path separator (i.e. ":") - it is 9626 # assumed that no part of a normal pathname contains ";" but that should 9627 # okay in the real world where ";" in dirpaths is itself problematic. 9628 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` 9629 else 9630 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 9631 fi 9632 # Ok, now we have the path, separated by spaces, we can step through it 9633 # and add multilib dir if necessary. 9634 lt_tmp_lt_search_path_spec= 9635 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 9636 for lt_sys_path in $lt_search_path_spec; do 9637 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 9638 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 9639 else 9640 test -d "$lt_sys_path" && \ 9641 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 9642 fi 9643 done 9644 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' 9645BEGIN {RS=" "; FS="/|\n";} { 9646 lt_foo=""; 9647 lt_count=0; 9648 for (lt_i = NF; lt_i > 0; lt_i--) { 9649 if ($lt_i != "" && $lt_i != ".") { 9650 if ($lt_i == "..") { 9651 lt_count++; 9652 } else { 9653 if (lt_count == 0) { 9654 lt_foo="/" $lt_i lt_foo; 9655 } else { 9656 lt_count--; 9657 } 9658 } 9659 } 9660 } 9661 if (lt_foo != "") { lt_freq[lt_foo]++; } 9662 if (lt_freq[lt_foo] == 1) { print lt_foo; } 9663}'` 9664 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` 9665else 9666 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 9667fi 9668library_names_spec= 9669libname_spec='lib$name' 9670soname_spec= 9671shrext_cmds=".so" 9672postinstall_cmds= 9673postuninstall_cmds= 9674finish_cmds= 9675finish_eval= 9676shlibpath_var= 9677shlibpath_overrides_runpath=unknown 9678version_type=none 9679dynamic_linker="$host_os ld.so" 9680sys_lib_dlsearch_path_spec="/lib /usr/lib" 9681need_lib_prefix=unknown 9682hardcode_into_libs=no 9683 9684# when you set need_version to no, make sure it does not cause -set_version 9685# flags to be left without arguments 9686need_version=unknown 9687 9688case $host_os in 9689aix3*) 9690 version_type=linux 9691 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 9692 shlibpath_var=LIBPATH 9693 9694 # AIX 3 has no versioning support, so we append a major version to the name. 9695 soname_spec='${libname}${release}${shared_ext}$major' 9696 ;; 9697 9698aix[4-9]*) 9699 version_type=linux 9700 need_lib_prefix=no 9701 need_version=no 9702 hardcode_into_libs=yes 9703 if test "$host_cpu" = ia64; then 9704 # AIX 5 supports IA64 9705 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 9706 shlibpath_var=LD_LIBRARY_PATH 9707 else 9708 # With GCC up to 2.95.x, collect2 would create an import file 9709 # for dependence libraries. The import file would start with 9710 # the line `#! .'. This would cause the generated library to 9711 # depend on `.', always an invalid library. This was fixed in 9712 # development snapshots of GCC prior to 3.0. 9713 case $host_os in 9714 aix4 | aix4.[01] | aix4.[01].*) 9715 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 9716 echo ' yes ' 9717 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 9718 : 9719 else 9720 can_build_shared=no 9721 fi 9722 ;; 9723 esac 9724 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 9725 # soname into executable. Probably we can add versioning support to 9726 # collect2, so additional links can be useful in future. 9727 if test "$aix_use_runtimelinking" = yes; then 9728 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 9729 # instead of lib<name>.a to let people know that these are not 9730 # typical AIX shared libraries. 9731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9732 else 9733 # We preserve .a as extension for shared libraries through AIX4.2 9734 # and later when we are not doing run time linking. 9735 library_names_spec='${libname}${release}.a $libname.a' 9736 soname_spec='${libname}${release}${shared_ext}$major' 9737 fi 9738 shlibpath_var=LIBPATH 9739 fi 9740 ;; 9741 9742amigaos*) 9743 case $host_cpu in 9744 powerpc) 9745 # Since July 2007 AmigaOS4 officially supports .so libraries. 9746 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 9747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9748 ;; 9749 m68k) 9750 library_names_spec='$libname.ixlibrary $libname.a' 9751 # Create ${libname}_ixlibrary.a entries in /sys/libs. 9752 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' 9753 ;; 9754 esac 9755 ;; 9756 9757beos*) 9758 library_names_spec='${libname}${shared_ext}' 9759 dynamic_linker="$host_os ld.so" 9760 shlibpath_var=LIBRARY_PATH 9761 ;; 9762 9763bsdi[45]*) 9764 version_type=linux 9765 need_version=no 9766 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9767 soname_spec='${libname}${release}${shared_ext}$major' 9768 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 9769 shlibpath_var=LD_LIBRARY_PATH 9770 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 9771 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 9772 # the default ld.so.conf also contains /usr/contrib/lib and 9773 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 9774 # libtool to hard-code these into programs 9775 ;; 9776 9777cygwin* | mingw* | pw32* | cegcc*) 9778 version_type=windows 9779 shrext_cmds=".dll" 9780 need_version=no 9781 need_lib_prefix=no 9782 9783 case $GCC,$host_os in 9784 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) 9785 library_names_spec='$libname.dll.a' 9786 # DLL is installed to $(libdir)/../bin by postinstall_cmds 9787 postinstall_cmds='base_file=`basename \${file}`~ 9788 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 9789 dldir=$destdir/`dirname \$dlpath`~ 9790 test -d \$dldir || mkdir -p \$dldir~ 9791 $install_prog $dir/$dlname \$dldir/$dlname~ 9792 chmod a+x \$dldir/$dlname~ 9793 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 9794 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 9795 fi' 9796 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 9797 dlpath=$dir/\$dldll~ 9798 $RM \$dlpath' 9799 shlibpath_overrides_runpath=yes 9800 9801 case $host_os in 9802 cygwin*) 9803 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 9804 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9805 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 9806 ;; 9807 mingw* | cegcc*) 9808 # MinGW DLLs use traditional 'lib' prefix 9809 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9810 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 9811 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 9812 # It is most probably a Windows format PATH printed by 9813 # mingw gcc, but we are running on Cygwin. Gcc prints its search 9814 # path with ; separators, and with drive letters. We can handle the 9815 # drive letters (cygwin fileutils understands them), so leave them, 9816 # especially as we might pass files found there to a mingw objdump, 9817 # which wouldn't understand a cygwinified path. Ahh. 9818 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 9819 else 9820 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 9821 fi 9822 ;; 9823 pw32*) 9824 # pw32 DLLs use 'pw' prefix rather than 'lib' 9825 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9826 ;; 9827 esac 9828 ;; 9829 9830 *) 9831 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 9832 ;; 9833 esac 9834 dynamic_linker='Win32 ld.exe' 9835 # FIXME: first we should search . and the directory the executable is in 9836 shlibpath_var=PATH 9837 ;; 9838 9839darwin* | rhapsody*) 9840 dynamic_linker="$host_os dyld" 9841 version_type=darwin 9842 need_lib_prefix=no 9843 need_version=no 9844 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 9845 soname_spec='${libname}${release}${major}$shared_ext' 9846 shlibpath_overrides_runpath=yes 9847 shlibpath_var=DYLD_LIBRARY_PATH 9848 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 9849 9850 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 9851 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 9852 ;; 9853 9854dgux*) 9855 version_type=linux 9856 need_lib_prefix=no 9857 need_version=no 9858 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 9859 soname_spec='${libname}${release}${shared_ext}$major' 9860 shlibpath_var=LD_LIBRARY_PATH 9861 ;; 9862 9863freebsd1*) 9864 dynamic_linker=no 9865 ;; 9866 9867freebsd* | dragonfly*) 9868 # DragonFly does not have aout. When/if they implement a new 9869 # versioning mechanism, adjust this. 9870 if test -x /usr/bin/objformat; then 9871 objformat=`/usr/bin/objformat` 9872 else 9873 case $host_os in 9874 freebsd[123]*) objformat=aout ;; 9875 *) objformat=elf ;; 9876 esac 9877 fi 9878 version_type=freebsd-$objformat 9879 case $version_type in 9880 freebsd-elf*) 9881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 9882 need_version=no 9883 need_lib_prefix=no 9884 ;; 9885 freebsd-*) 9886 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 9887 need_version=yes 9888 ;; 9889 esac 9890 shlibpath_var=LD_LIBRARY_PATH 9891 case $host_os in 9892 freebsd2*) 9893 shlibpath_overrides_runpath=yes 9894 ;; 9895 freebsd3.[01]* | freebsdelf3.[01]*) 9896 shlibpath_overrides_runpath=yes 9897 hardcode_into_libs=yes 9898 ;; 9899 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 9900 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 9901 shlibpath_overrides_runpath=no 9902 hardcode_into_libs=yes 9903 ;; 9904 *) # from 4.6 on, and DragonFly 9905 shlibpath_overrides_runpath=yes 9906 hardcode_into_libs=yes 9907 ;; 9908 esac 9909 ;; 9910 9911gnu*) 9912 version_type=linux 9913 need_lib_prefix=no 9914 need_version=no 9915 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 9916 soname_spec='${libname}${release}${shared_ext}$major' 9917 shlibpath_var=LD_LIBRARY_PATH 9918 hardcode_into_libs=yes 9919 ;; 9920 9921hpux9* | hpux10* | hpux11*) 9922 # Give a soname corresponding to the major version so that dld.sl refuses to 9923 # link against other versions. 9924 version_type=sunos 9925 need_lib_prefix=no 9926 need_version=no 9927 case $host_cpu in 9928 ia64*) 9929 shrext_cmds='.so' 9930 hardcode_into_libs=yes 9931 dynamic_linker="$host_os dld.so" 9932 shlibpath_var=LD_LIBRARY_PATH 9933 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 9934 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9935 soname_spec='${libname}${release}${shared_ext}$major' 9936 if test "X$HPUX_IA64_MODE" = X32; then 9937 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 9938 else 9939 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 9940 fi 9941 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 9942 ;; 9943 hppa*64*) 9944 shrext_cmds='.sl' 9945 hardcode_into_libs=yes 9946 dynamic_linker="$host_os dld.sl" 9947 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 9948 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 9949 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9950 soname_spec='${libname}${release}${shared_ext}$major' 9951 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 9952 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 9953 ;; 9954 *) 9955 shrext_cmds='.sl' 9956 dynamic_linker="$host_os dld.sl" 9957 shlibpath_var=SHLIB_PATH 9958 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 9959 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9960 soname_spec='${libname}${release}${shared_ext}$major' 9961 ;; 9962 esac 9963 # HP-UX runs *really* slowly unless shared libraries are mode 555. 9964 postinstall_cmds='chmod 555 $lib' 9965 ;; 9966 9967interix[3-9]*) 9968 version_type=linux 9969 need_lib_prefix=no 9970 need_version=no 9971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 9972 soname_spec='${libname}${release}${shared_ext}$major' 9973 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 9974 shlibpath_var=LD_LIBRARY_PATH 9975 shlibpath_overrides_runpath=no 9976 hardcode_into_libs=yes 9977 ;; 9978 9979irix5* | irix6* | nonstopux*) 9980 case $host_os in 9981 nonstopux*) version_type=nonstopux ;; 9982 *) 9983 if test "$lt_cv_prog_gnu_ld" = yes; then 9984 version_type=linux 9985 else 9986 version_type=irix 9987 fi ;; 9988 esac 9989 need_lib_prefix=no 9990 need_version=no 9991 soname_spec='${libname}${release}${shared_ext}$major' 9992 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 9993 case $host_os in 9994 irix5* | nonstopux*) 9995 libsuff= shlibsuff= 9996 ;; 9997 *) 9998 case $LD in # libtool.m4 will add one of these switches to LD 9999 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10000 libsuff= shlibsuff= libmagic=32-bit;; 10001 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10002 libsuff=32 shlibsuff=N32 libmagic=N32;; 10003 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10004 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10005 *) libsuff= shlibsuff= libmagic=never-match;; 10006 esac 10007 ;; 10008 esac 10009 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10010 shlibpath_overrides_runpath=no 10011 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 10012 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 10013 hardcode_into_libs=yes 10014 ;; 10015 10016# No shared lib support for Linux oldld, aout, or coff. 10017linux*oldld* | linux*aout* | linux*coff*) 10018 dynamic_linker=no 10019 ;; 10020 10021# This must be Linux ELF. 10022linux* | k*bsd*-gnu) 10023 version_type=linux 10024 need_lib_prefix=no 10025 need_version=no 10026 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10027 soname_spec='${libname}${release}${shared_ext}$major' 10028 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10029 shlibpath_var=LD_LIBRARY_PATH 10030 shlibpath_overrides_runpath=no 10031 # Some binutils ld are patched to set DT_RUNPATH 10032 save_LDFLAGS=$LDFLAGS 10033 save_libdir=$libdir 10034 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10035 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10036 cat >conftest.$ac_ext <<_ACEOF 10037/* confdefs.h. */ 10038_ACEOF 10039cat confdefs.h >>conftest.$ac_ext 10040cat >>conftest.$ac_ext <<_ACEOF 10041/* end confdefs.h. */ 10042 10043int 10044main () 10045{ 10046 10047 ; 10048 return 0; 10049} 10050_ACEOF 10051rm -f conftest.$ac_objext conftest$ac_exeext 10052if { (ac_try="$ac_link" 10053case "(($ac_try" in 10054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10055 *) ac_try_echo=$ac_try;; 10056esac 10057eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10058$as_echo "$ac_try_echo") >&5 10059 (eval "$ac_link") 2>conftest.er1 10060 ac_status=$? 10061 grep -v '^ *+' conftest.er1 >conftest.err 10062 rm -f conftest.er1 10063 cat conftest.err >&5 10064 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10065 (exit $ac_status); } && { 10066 test -z "$ac_c_werror_flag" || 10067 test ! -s conftest.err 10068 } && test -s conftest$ac_exeext && { 10069 test "$cross_compiling" = yes || 10070 $as_test_x conftest$ac_exeext 10071 }; then 10072 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then 10073 shlibpath_overrides_runpath=yes 10074fi 10075 10076else 10077 $as_echo "$as_me: failed program was:" >&5 10078sed 's/^/| /' conftest.$ac_ext >&5 10079 10080 10081fi 10082 10083rm -rf conftest.dSYM 10084rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10085 conftest$ac_exeext conftest.$ac_ext 10086 LDFLAGS=$save_LDFLAGS 10087 libdir=$save_libdir 10088 10089 # This implies no fast_install, which is unacceptable. 10090 # Some rework will be needed to allow for fast_install 10091 # before this can be enabled. 10092 hardcode_into_libs=yes 10093 10094 # Append ld.so.conf contents to the search path 10095 if test -f /etc/ld.so.conf; then 10096 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` 10097 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 10098 fi 10099 10100 # We used to test for /lib/ld.so.1 and disable shared libraries on 10101 # powerpc, because MkLinux only supported shared libraries with the 10102 # GNU dynamic linker. Since this was broken with cross compilers, 10103 # most powerpc-linux boxes support dynamic linking these days and 10104 # people can always --disable-shared, the test was removed, and we 10105 # assume the GNU/Linux dynamic linker is in use. 10106 dynamic_linker='GNU/Linux ld.so' 10107 ;; 10108 10109netbsd*) 10110 version_type=sunos 10111 need_lib_prefix=no 10112 need_version=no 10113 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10114 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10115 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10116 dynamic_linker='NetBSD (a.out) ld.so' 10117 else 10118 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10119 soname_spec='${libname}${release}${shared_ext}$major' 10120 dynamic_linker='NetBSD ld.elf_so' 10121 fi 10122 shlibpath_var=LD_LIBRARY_PATH 10123 shlibpath_overrides_runpath=yes 10124 hardcode_into_libs=yes 10125 ;; 10126 10127newsos6) 10128 version_type=linux 10129 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10130 shlibpath_var=LD_LIBRARY_PATH 10131 shlibpath_overrides_runpath=yes 10132 ;; 10133 10134*nto* | *qnx*) 10135 version_type=qnx 10136 need_lib_prefix=no 10137 need_version=no 10138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10139 soname_spec='${libname}${release}${shared_ext}$major' 10140 shlibpath_var=LD_LIBRARY_PATH 10141 shlibpath_overrides_runpath=no 10142 hardcode_into_libs=yes 10143 dynamic_linker='ldqnx.so' 10144 ;; 10145 10146openbsd*) 10147 version_type=sunos 10148 sys_lib_dlsearch_path_spec="/usr/lib" 10149 need_lib_prefix=no 10150 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 10151 case $host_os in 10152 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 10153 *) need_version=no ;; 10154 esac 10155 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10156 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10157 shlibpath_var=LD_LIBRARY_PATH 10158 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10159 case $host_os in 10160 openbsd2.[89] | openbsd2.[89].*) 10161 shlibpath_overrides_runpath=no 10162 ;; 10163 *) 10164 shlibpath_overrides_runpath=yes 10165 ;; 10166 esac 10167 else 10168 shlibpath_overrides_runpath=yes 10169 fi 10170 ;; 10171 10172os2*) 10173 libname_spec='$name' 10174 shrext_cmds=".dll" 10175 need_lib_prefix=no 10176 library_names_spec='$libname${shared_ext} $libname.a' 10177 dynamic_linker='OS/2 ld.exe' 10178 shlibpath_var=LIBPATH 10179 ;; 10180 10181osf3* | osf4* | osf5*) 10182 version_type=osf 10183 need_lib_prefix=no 10184 need_version=no 10185 soname_spec='${libname}${release}${shared_ext}$major' 10186 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10187 shlibpath_var=LD_LIBRARY_PATH 10188 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 10189 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 10190 ;; 10191 10192rdos*) 10193 dynamic_linker=no 10194 ;; 10195 10196solaris*) 10197 version_type=linux 10198 need_lib_prefix=no 10199 need_version=no 10200 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10201 soname_spec='${libname}${release}${shared_ext}$major' 10202 shlibpath_var=LD_LIBRARY_PATH 10203 shlibpath_overrides_runpath=yes 10204 hardcode_into_libs=yes 10205 # ldd complains unless libraries are executable 10206 postinstall_cmds='chmod +x $lib' 10207 ;; 10208 10209sunos4*) 10210 version_type=sunos 10211 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10212 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 10213 shlibpath_var=LD_LIBRARY_PATH 10214 shlibpath_overrides_runpath=yes 10215 if test "$with_gnu_ld" = yes; then 10216 need_lib_prefix=no 10217 fi 10218 need_version=yes 10219 ;; 10220 10221sysv4 | sysv4.3*) 10222 version_type=linux 10223 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10224 soname_spec='${libname}${release}${shared_ext}$major' 10225 shlibpath_var=LD_LIBRARY_PATH 10226 case $host_vendor in 10227 sni) 10228 shlibpath_overrides_runpath=no 10229 need_lib_prefix=no 10230 runpath_var=LD_RUN_PATH 10231 ;; 10232 siemens) 10233 need_lib_prefix=no 10234 ;; 10235 motorola) 10236 need_lib_prefix=no 10237 need_version=no 10238 shlibpath_overrides_runpath=no 10239 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 10240 ;; 10241 esac 10242 ;; 10243 10244sysv4*MP*) 10245 if test -d /usr/nec ;then 10246 version_type=linux 10247 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 10248 soname_spec='$libname${shared_ext}.$major' 10249 shlibpath_var=LD_LIBRARY_PATH 10250 fi 10251 ;; 10252 10253sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 10254 version_type=freebsd-elf 10255 need_lib_prefix=no 10256 need_version=no 10257 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10258 soname_spec='${libname}${release}${shared_ext}$major' 10259 shlibpath_var=LD_LIBRARY_PATH 10260 shlibpath_overrides_runpath=yes 10261 hardcode_into_libs=yes 10262 if test "$with_gnu_ld" = yes; then 10263 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 10264 else 10265 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 10266 case $host_os in 10267 sco3.2v5*) 10268 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 10269 ;; 10270 esac 10271 fi 10272 sys_lib_dlsearch_path_spec='/usr/lib' 10273 ;; 10274 10275tpf*) 10276 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 10277 version_type=linux 10278 need_lib_prefix=no 10279 need_version=no 10280 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10281 shlibpath_var=LD_LIBRARY_PATH 10282 shlibpath_overrides_runpath=no 10283 hardcode_into_libs=yes 10284 ;; 10285 10286uts4*) 10287 version_type=linux 10288 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10289 soname_spec='${libname}${release}${shared_ext}$major' 10290 shlibpath_var=LD_LIBRARY_PATH 10291 ;; 10292 10293*) 10294 dynamic_linker=no 10295 ;; 10296esac 10297{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 10298$as_echo "$dynamic_linker" >&6; } 10299test "$dynamic_linker" = no && can_build_shared=no 10300 10301variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 10302if test "$GCC" = yes; then 10303 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 10304fi 10305 10306if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 10307 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 10308fi 10309if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 10310 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 10311fi 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 10400$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 10401hardcode_action= 10402if test -n "$hardcode_libdir_flag_spec" || 10403 test -n "$runpath_var" || 10404 test "X$hardcode_automatic" = "Xyes" ; then 10405 10406 # We can hardcode non-existent directories. 10407 if test "$hardcode_direct" != no && 10408 # If the only mechanism to avoid hardcoding is shlibpath_var, we 10409 # have to relink, otherwise we might link with an installed library 10410 # when we should be linking with a yet-to-be-installed one 10411 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 10412 test "$hardcode_minus_L" != no; then 10413 # Linking always hardcodes the temporary library directory. 10414 hardcode_action=relink 10415 else 10416 # We can link without hardcoding, and we can hardcode nonexisting dirs. 10417 hardcode_action=immediate 10418 fi 10419else 10420 # We cannot hardcode anything, or else we can only hardcode existing 10421 # directories. 10422 hardcode_action=unsupported 10423fi 10424{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5 10425$as_echo "$hardcode_action" >&6; } 10426 10427if test "$hardcode_action" = relink || 10428 test "$inherit_rpath" = yes; then 10429 # Fast installation is not supported 10430 enable_fast_install=no 10431elif test "$shlibpath_overrides_runpath" = yes || 10432 test "$enable_shared" = no; then 10433 # Fast installation is not necessary 10434 enable_fast_install=needless 10435fi 10436 10437 10438 10439 10440 10441 10442 if test "x$enable_dlopen" != xyes; then 10443 enable_dlopen=unknown 10444 enable_dlopen_self=unknown 10445 enable_dlopen_self_static=unknown 10446else 10447 lt_cv_dlopen=no 10448 lt_cv_dlopen_libs= 10449 10450 case $host_os in 10451 beos*) 10452 lt_cv_dlopen="load_add_on" 10453 lt_cv_dlopen_libs= 10454 lt_cv_dlopen_self=yes 10455 ;; 10456 10457 mingw* | pw32* | cegcc*) 10458 lt_cv_dlopen="LoadLibrary" 10459 lt_cv_dlopen_libs= 10460 ;; 10461 10462 cygwin*) 10463 lt_cv_dlopen="dlopen" 10464 lt_cv_dlopen_libs= 10465 ;; 10466 10467 darwin*) 10468 # if libdl is installed we need to link against it 10469 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 10470$as_echo_n "checking for dlopen in -ldl... " >&6; } 10471if test "${ac_cv_lib_dl_dlopen+set}" = set; then 10472 $as_echo_n "(cached) " >&6 10473else 10474 ac_check_lib_save_LIBS=$LIBS 10475LIBS="-ldl $LIBS" 10476cat >conftest.$ac_ext <<_ACEOF 10477/* confdefs.h. */ 10478_ACEOF 10479cat confdefs.h >>conftest.$ac_ext 10480cat >>conftest.$ac_ext <<_ACEOF 10481/* end confdefs.h. */ 10482 10483/* Override any GCC internal prototype to avoid an error. 10484 Use char because int might match the return type of a GCC 10485 builtin and then its argument prototype would still apply. */ 10486#ifdef __cplusplus 10487extern "C" 10488#endif 10489char dlopen (); 10490int 10491main () 10492{ 10493return dlopen (); 10494 ; 10495 return 0; 10496} 10497_ACEOF 10498rm -f conftest.$ac_objext conftest$ac_exeext 10499if { (ac_try="$ac_link" 10500case "(($ac_try" in 10501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10502 *) ac_try_echo=$ac_try;; 10503esac 10504eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10505$as_echo "$ac_try_echo") >&5 10506 (eval "$ac_link") 2>conftest.er1 10507 ac_status=$? 10508 grep -v '^ *+' conftest.er1 >conftest.err 10509 rm -f conftest.er1 10510 cat conftest.err >&5 10511 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10512 (exit $ac_status); } && { 10513 test -z "$ac_c_werror_flag" || 10514 test ! -s conftest.err 10515 } && test -s conftest$ac_exeext && { 10516 test "$cross_compiling" = yes || 10517 $as_test_x conftest$ac_exeext 10518 }; then 10519 ac_cv_lib_dl_dlopen=yes 10520else 10521 $as_echo "$as_me: failed program was:" >&5 10522sed 's/^/| /' conftest.$ac_ext >&5 10523 10524 ac_cv_lib_dl_dlopen=no 10525fi 10526 10527rm -rf conftest.dSYM 10528rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10529 conftest$ac_exeext conftest.$ac_ext 10530LIBS=$ac_check_lib_save_LIBS 10531fi 10532{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 10533$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10534if test $ac_cv_lib_dl_dlopen = yes; then 10535 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10536else 10537 10538 lt_cv_dlopen="dyld" 10539 lt_cv_dlopen_libs= 10540 lt_cv_dlopen_self=yes 10541 10542fi 10543 10544 ;; 10545 10546 *) 10547 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5 10548$as_echo_n "checking for shl_load... " >&6; } 10549if test "${ac_cv_func_shl_load+set}" = set; then 10550 $as_echo_n "(cached) " >&6 10551else 10552 cat >conftest.$ac_ext <<_ACEOF 10553/* confdefs.h. */ 10554_ACEOF 10555cat confdefs.h >>conftest.$ac_ext 10556cat >>conftest.$ac_ext <<_ACEOF 10557/* end confdefs.h. */ 10558/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. 10559 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 10560#define shl_load innocuous_shl_load 10561 10562/* System header to define __stub macros and hopefully few prototypes, 10563 which can conflict with char shl_load (); below. 10564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 10565 <limits.h> exists even on freestanding compilers. */ 10566 10567#ifdef __STDC__ 10568# include <limits.h> 10569#else 10570# include <assert.h> 10571#endif 10572 10573#undef shl_load 10574 10575/* Override any GCC internal prototype to avoid an error. 10576 Use char because int might match the return type of a GCC 10577 builtin and then its argument prototype would still apply. */ 10578#ifdef __cplusplus 10579extern "C" 10580#endif 10581char shl_load (); 10582/* The GNU C library defines this for functions which it implements 10583 to always fail with ENOSYS. Some functions are actually named 10584 something starting with __ and the normal name is an alias. */ 10585#if defined __stub_shl_load || defined __stub___shl_load 10586choke me 10587#endif 10588 10589int 10590main () 10591{ 10592return shl_load (); 10593 ; 10594 return 0; 10595} 10596_ACEOF 10597rm -f conftest.$ac_objext conftest$ac_exeext 10598if { (ac_try="$ac_link" 10599case "(($ac_try" in 10600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10601 *) ac_try_echo=$ac_try;; 10602esac 10603eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10604$as_echo "$ac_try_echo") >&5 10605 (eval "$ac_link") 2>conftest.er1 10606 ac_status=$? 10607 grep -v '^ *+' conftest.er1 >conftest.err 10608 rm -f conftest.er1 10609 cat conftest.err >&5 10610 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10611 (exit $ac_status); } && { 10612 test -z "$ac_c_werror_flag" || 10613 test ! -s conftest.err 10614 } && test -s conftest$ac_exeext && { 10615 test "$cross_compiling" = yes || 10616 $as_test_x conftest$ac_exeext 10617 }; then 10618 ac_cv_func_shl_load=yes 10619else 10620 $as_echo "$as_me: failed program was:" >&5 10621sed 's/^/| /' conftest.$ac_ext >&5 10622 10623 ac_cv_func_shl_load=no 10624fi 10625 10626rm -rf conftest.dSYM 10627rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10628 conftest$ac_exeext conftest.$ac_ext 10629fi 10630{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 10631$as_echo "$ac_cv_func_shl_load" >&6; } 10632if test $ac_cv_func_shl_load = yes; then 10633 lt_cv_dlopen="shl_load" 10634else 10635 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 10636$as_echo_n "checking for shl_load in -ldld... " >&6; } 10637if test "${ac_cv_lib_dld_shl_load+set}" = set; then 10638 $as_echo_n "(cached) " >&6 10639else 10640 ac_check_lib_save_LIBS=$LIBS 10641LIBS="-ldld $LIBS" 10642cat >conftest.$ac_ext <<_ACEOF 10643/* confdefs.h. */ 10644_ACEOF 10645cat confdefs.h >>conftest.$ac_ext 10646cat >>conftest.$ac_ext <<_ACEOF 10647/* end confdefs.h. */ 10648 10649/* Override any GCC internal prototype to avoid an error. 10650 Use char because int might match the return type of a GCC 10651 builtin and then its argument prototype would still apply. */ 10652#ifdef __cplusplus 10653extern "C" 10654#endif 10655char shl_load (); 10656int 10657main () 10658{ 10659return shl_load (); 10660 ; 10661 return 0; 10662} 10663_ACEOF 10664rm -f conftest.$ac_objext conftest$ac_exeext 10665if { (ac_try="$ac_link" 10666case "(($ac_try" in 10667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10668 *) ac_try_echo=$ac_try;; 10669esac 10670eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10671$as_echo "$ac_try_echo") >&5 10672 (eval "$ac_link") 2>conftest.er1 10673 ac_status=$? 10674 grep -v '^ *+' conftest.er1 >conftest.err 10675 rm -f conftest.er1 10676 cat conftest.err >&5 10677 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10678 (exit $ac_status); } && { 10679 test -z "$ac_c_werror_flag" || 10680 test ! -s conftest.err 10681 } && test -s conftest$ac_exeext && { 10682 test "$cross_compiling" = yes || 10683 $as_test_x conftest$ac_exeext 10684 }; then 10685 ac_cv_lib_dld_shl_load=yes 10686else 10687 $as_echo "$as_me: failed program was:" >&5 10688sed 's/^/| /' conftest.$ac_ext >&5 10689 10690 ac_cv_lib_dld_shl_load=no 10691fi 10692 10693rm -rf conftest.dSYM 10694rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10695 conftest$ac_exeext conftest.$ac_ext 10696LIBS=$ac_check_lib_save_LIBS 10697fi 10698{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 10699$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 10700if test $ac_cv_lib_dld_shl_load = yes; then 10701 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 10702else 10703 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5 10704$as_echo_n "checking for dlopen... " >&6; } 10705if test "${ac_cv_func_dlopen+set}" = set; then 10706 $as_echo_n "(cached) " >&6 10707else 10708 cat >conftest.$ac_ext <<_ACEOF 10709/* confdefs.h. */ 10710_ACEOF 10711cat confdefs.h >>conftest.$ac_ext 10712cat >>conftest.$ac_ext <<_ACEOF 10713/* end confdefs.h. */ 10714/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. 10715 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 10716#define dlopen innocuous_dlopen 10717 10718/* System header to define __stub macros and hopefully few prototypes, 10719 which can conflict with char dlopen (); below. 10720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 10721 <limits.h> exists even on freestanding compilers. */ 10722 10723#ifdef __STDC__ 10724# include <limits.h> 10725#else 10726# include <assert.h> 10727#endif 10728 10729#undef dlopen 10730 10731/* Override any GCC internal prototype to avoid an error. 10732 Use char because int might match the return type of a GCC 10733 builtin and then its argument prototype would still apply. */ 10734#ifdef __cplusplus 10735extern "C" 10736#endif 10737char dlopen (); 10738/* The GNU C library defines this for functions which it implements 10739 to always fail with ENOSYS. Some functions are actually named 10740 something starting with __ and the normal name is an alias. */ 10741#if defined __stub_dlopen || defined __stub___dlopen 10742choke me 10743#endif 10744 10745int 10746main () 10747{ 10748return dlopen (); 10749 ; 10750 return 0; 10751} 10752_ACEOF 10753rm -f conftest.$ac_objext conftest$ac_exeext 10754if { (ac_try="$ac_link" 10755case "(($ac_try" in 10756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10757 *) ac_try_echo=$ac_try;; 10758esac 10759eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10760$as_echo "$ac_try_echo") >&5 10761 (eval "$ac_link") 2>conftest.er1 10762 ac_status=$? 10763 grep -v '^ *+' conftest.er1 >conftest.err 10764 rm -f conftest.er1 10765 cat conftest.err >&5 10766 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10767 (exit $ac_status); } && { 10768 test -z "$ac_c_werror_flag" || 10769 test ! -s conftest.err 10770 } && test -s conftest$ac_exeext && { 10771 test "$cross_compiling" = yes || 10772 $as_test_x conftest$ac_exeext 10773 }; then 10774 ac_cv_func_dlopen=yes 10775else 10776 $as_echo "$as_me: failed program was:" >&5 10777sed 's/^/| /' conftest.$ac_ext >&5 10778 10779 ac_cv_func_dlopen=no 10780fi 10781 10782rm -rf conftest.dSYM 10783rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10784 conftest$ac_exeext conftest.$ac_ext 10785fi 10786{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 10787$as_echo "$ac_cv_func_dlopen" >&6; } 10788if test $ac_cv_func_dlopen = yes; then 10789 lt_cv_dlopen="dlopen" 10790else 10791 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 10792$as_echo_n "checking for dlopen in -ldl... " >&6; } 10793if test "${ac_cv_lib_dl_dlopen+set}" = set; then 10794 $as_echo_n "(cached) " >&6 10795else 10796 ac_check_lib_save_LIBS=$LIBS 10797LIBS="-ldl $LIBS" 10798cat >conftest.$ac_ext <<_ACEOF 10799/* confdefs.h. */ 10800_ACEOF 10801cat confdefs.h >>conftest.$ac_ext 10802cat >>conftest.$ac_ext <<_ACEOF 10803/* end confdefs.h. */ 10804 10805/* Override any GCC internal prototype to avoid an error. 10806 Use char because int might match the return type of a GCC 10807 builtin and then its argument prototype would still apply. */ 10808#ifdef __cplusplus 10809extern "C" 10810#endif 10811char dlopen (); 10812int 10813main () 10814{ 10815return dlopen (); 10816 ; 10817 return 0; 10818} 10819_ACEOF 10820rm -f conftest.$ac_objext conftest$ac_exeext 10821if { (ac_try="$ac_link" 10822case "(($ac_try" in 10823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10824 *) ac_try_echo=$ac_try;; 10825esac 10826eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10827$as_echo "$ac_try_echo") >&5 10828 (eval "$ac_link") 2>conftest.er1 10829 ac_status=$? 10830 grep -v '^ *+' conftest.er1 >conftest.err 10831 rm -f conftest.er1 10832 cat conftest.err >&5 10833 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10834 (exit $ac_status); } && { 10835 test -z "$ac_c_werror_flag" || 10836 test ! -s conftest.err 10837 } && test -s conftest$ac_exeext && { 10838 test "$cross_compiling" = yes || 10839 $as_test_x conftest$ac_exeext 10840 }; then 10841 ac_cv_lib_dl_dlopen=yes 10842else 10843 $as_echo "$as_me: failed program was:" >&5 10844sed 's/^/| /' conftest.$ac_ext >&5 10845 10846 ac_cv_lib_dl_dlopen=no 10847fi 10848 10849rm -rf conftest.dSYM 10850rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10851 conftest$ac_exeext conftest.$ac_ext 10852LIBS=$ac_check_lib_save_LIBS 10853fi 10854{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 10855$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10856if test $ac_cv_lib_dl_dlopen = yes; then 10857 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10858else 10859 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 10860$as_echo_n "checking for dlopen in -lsvld... " >&6; } 10861if test "${ac_cv_lib_svld_dlopen+set}" = set; then 10862 $as_echo_n "(cached) " >&6 10863else 10864 ac_check_lib_save_LIBS=$LIBS 10865LIBS="-lsvld $LIBS" 10866cat >conftest.$ac_ext <<_ACEOF 10867/* confdefs.h. */ 10868_ACEOF 10869cat confdefs.h >>conftest.$ac_ext 10870cat >>conftest.$ac_ext <<_ACEOF 10871/* end confdefs.h. */ 10872 10873/* Override any GCC internal prototype to avoid an error. 10874 Use char because int might match the return type of a GCC 10875 builtin and then its argument prototype would still apply. */ 10876#ifdef __cplusplus 10877extern "C" 10878#endif 10879char dlopen (); 10880int 10881main () 10882{ 10883return dlopen (); 10884 ; 10885 return 0; 10886} 10887_ACEOF 10888rm -f conftest.$ac_objext conftest$ac_exeext 10889if { (ac_try="$ac_link" 10890case "(($ac_try" in 10891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10892 *) ac_try_echo=$ac_try;; 10893esac 10894eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10895$as_echo "$ac_try_echo") >&5 10896 (eval "$ac_link") 2>conftest.er1 10897 ac_status=$? 10898 grep -v '^ *+' conftest.er1 >conftest.err 10899 rm -f conftest.er1 10900 cat conftest.err >&5 10901 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10902 (exit $ac_status); } && { 10903 test -z "$ac_c_werror_flag" || 10904 test ! -s conftest.err 10905 } && test -s conftest$ac_exeext && { 10906 test "$cross_compiling" = yes || 10907 $as_test_x conftest$ac_exeext 10908 }; then 10909 ac_cv_lib_svld_dlopen=yes 10910else 10911 $as_echo "$as_me: failed program was:" >&5 10912sed 's/^/| /' conftest.$ac_ext >&5 10913 10914 ac_cv_lib_svld_dlopen=no 10915fi 10916 10917rm -rf conftest.dSYM 10918rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10919 conftest$ac_exeext conftest.$ac_ext 10920LIBS=$ac_check_lib_save_LIBS 10921fi 10922{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 10923$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 10924if test $ac_cv_lib_svld_dlopen = yes; then 10925 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 10926else 10927 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 10928$as_echo_n "checking for dld_link in -ldld... " >&6; } 10929if test "${ac_cv_lib_dld_dld_link+set}" = set; then 10930 $as_echo_n "(cached) " >&6 10931else 10932 ac_check_lib_save_LIBS=$LIBS 10933LIBS="-ldld $LIBS" 10934cat >conftest.$ac_ext <<_ACEOF 10935/* confdefs.h. */ 10936_ACEOF 10937cat confdefs.h >>conftest.$ac_ext 10938cat >>conftest.$ac_ext <<_ACEOF 10939/* end confdefs.h. */ 10940 10941/* Override any GCC internal prototype to avoid an error. 10942 Use char because int might match the return type of a GCC 10943 builtin and then its argument prototype would still apply. */ 10944#ifdef __cplusplus 10945extern "C" 10946#endif 10947char dld_link (); 10948int 10949main () 10950{ 10951return dld_link (); 10952 ; 10953 return 0; 10954} 10955_ACEOF 10956rm -f conftest.$ac_objext conftest$ac_exeext 10957if { (ac_try="$ac_link" 10958case "(($ac_try" in 10959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10960 *) ac_try_echo=$ac_try;; 10961esac 10962eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10963$as_echo "$ac_try_echo") >&5 10964 (eval "$ac_link") 2>conftest.er1 10965 ac_status=$? 10966 grep -v '^ *+' conftest.er1 >conftest.err 10967 rm -f conftest.er1 10968 cat conftest.err >&5 10969 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10970 (exit $ac_status); } && { 10971 test -z "$ac_c_werror_flag" || 10972 test ! -s conftest.err 10973 } && test -s conftest$ac_exeext && { 10974 test "$cross_compiling" = yes || 10975 $as_test_x conftest$ac_exeext 10976 }; then 10977 ac_cv_lib_dld_dld_link=yes 10978else 10979 $as_echo "$as_me: failed program was:" >&5 10980sed 's/^/| /' conftest.$ac_ext >&5 10981 10982 ac_cv_lib_dld_dld_link=no 10983fi 10984 10985rm -rf conftest.dSYM 10986rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10987 conftest$ac_exeext conftest.$ac_ext 10988LIBS=$ac_check_lib_save_LIBS 10989fi 10990{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 10991$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 10992if test $ac_cv_lib_dld_dld_link = yes; then 10993 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 10994fi 10995 10996 10997fi 10998 10999 11000fi 11001 11002 11003fi 11004 11005 11006fi 11007 11008 11009fi 11010 11011 ;; 11012 esac 11013 11014 if test "x$lt_cv_dlopen" != xno; then 11015 enable_dlopen=yes 11016 else 11017 enable_dlopen=no 11018 fi 11019 11020 case $lt_cv_dlopen in 11021 dlopen) 11022 save_CPPFLAGS="$CPPFLAGS" 11023 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11024 11025 save_LDFLAGS="$LDFLAGS" 11026 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11027 11028 save_LIBS="$LIBS" 11029 LIBS="$lt_cv_dlopen_libs $LIBS" 11030 11031 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 11032$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11033if test "${lt_cv_dlopen_self+set}" = set; then 11034 $as_echo_n "(cached) " >&6 11035else 11036 if test "$cross_compiling" = yes; then : 11037 lt_cv_dlopen_self=cross 11038else 11039 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11040 lt_status=$lt_dlunknown 11041 cat > conftest.$ac_ext <<_LT_EOF 11042#line 11042 "configure" 11043#include "confdefs.h" 11044 11045#if HAVE_DLFCN_H 11046#include <dlfcn.h> 11047#endif 11048 11049#include <stdio.h> 11050 11051#ifdef RTLD_GLOBAL 11052# define LT_DLGLOBAL RTLD_GLOBAL 11053#else 11054# ifdef DL_GLOBAL 11055# define LT_DLGLOBAL DL_GLOBAL 11056# else 11057# define LT_DLGLOBAL 0 11058# endif 11059#endif 11060 11061/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11062 find out it does not work in some platform. */ 11063#ifndef LT_DLLAZY_OR_NOW 11064# ifdef RTLD_LAZY 11065# define LT_DLLAZY_OR_NOW RTLD_LAZY 11066# else 11067# ifdef DL_LAZY 11068# define LT_DLLAZY_OR_NOW DL_LAZY 11069# else 11070# ifdef RTLD_NOW 11071# define LT_DLLAZY_OR_NOW RTLD_NOW 11072# else 11073# ifdef DL_NOW 11074# define LT_DLLAZY_OR_NOW DL_NOW 11075# else 11076# define LT_DLLAZY_OR_NOW 0 11077# endif 11078# endif 11079# endif 11080# endif 11081#endif 11082 11083void fnord() { int i=42;} 11084int main () 11085{ 11086 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11087 int status = $lt_dlunknown; 11088 11089 if (self) 11090 { 11091 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11092 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11093 /* dlclose (self); */ 11094 } 11095 else 11096 puts (dlerror ()); 11097 11098 return status; 11099} 11100_LT_EOF 11101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11102 (eval $ac_link) 2>&5 11103 ac_status=$? 11104 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11105 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 11106 (./conftest; exit; ) >&5 2>/dev/null 11107 lt_status=$? 11108 case x$lt_status in 11109 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11110 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11111 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11112 esac 11113 else : 11114 # compilation failed 11115 lt_cv_dlopen_self=no 11116 fi 11117fi 11118rm -fr conftest* 11119 11120 11121fi 11122{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 11123$as_echo "$lt_cv_dlopen_self" >&6; } 11124 11125 if test "x$lt_cv_dlopen_self" = xyes; then 11126 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11127 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 11128$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11129if test "${lt_cv_dlopen_self_static+set}" = set; then 11130 $as_echo_n "(cached) " >&6 11131else 11132 if test "$cross_compiling" = yes; then : 11133 lt_cv_dlopen_self_static=cross 11134else 11135 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11136 lt_status=$lt_dlunknown 11137 cat > conftest.$ac_ext <<_LT_EOF 11138#line 11138 "configure" 11139#include "confdefs.h" 11140 11141#if HAVE_DLFCN_H 11142#include <dlfcn.h> 11143#endif 11144 11145#include <stdio.h> 11146 11147#ifdef RTLD_GLOBAL 11148# define LT_DLGLOBAL RTLD_GLOBAL 11149#else 11150# ifdef DL_GLOBAL 11151# define LT_DLGLOBAL DL_GLOBAL 11152# else 11153# define LT_DLGLOBAL 0 11154# endif 11155#endif 11156 11157/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11158 find out it does not work in some platform. */ 11159#ifndef LT_DLLAZY_OR_NOW 11160# ifdef RTLD_LAZY 11161# define LT_DLLAZY_OR_NOW RTLD_LAZY 11162# else 11163# ifdef DL_LAZY 11164# define LT_DLLAZY_OR_NOW DL_LAZY 11165# else 11166# ifdef RTLD_NOW 11167# define LT_DLLAZY_OR_NOW RTLD_NOW 11168# else 11169# ifdef DL_NOW 11170# define LT_DLLAZY_OR_NOW DL_NOW 11171# else 11172# define LT_DLLAZY_OR_NOW 0 11173# endif 11174# endif 11175# endif 11176# endif 11177#endif 11178 11179void fnord() { int i=42;} 11180int main () 11181{ 11182 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11183 int status = $lt_dlunknown; 11184 11185 if (self) 11186 { 11187 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11188 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11189 /* dlclose (self); */ 11190 } 11191 else 11192 puts (dlerror ()); 11193 11194 return status; 11195} 11196_LT_EOF 11197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11198 (eval $ac_link) 2>&5 11199 ac_status=$? 11200 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11201 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 11202 (./conftest; exit; ) >&5 2>/dev/null 11203 lt_status=$? 11204 case x$lt_status in 11205 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11206 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11207 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11208 esac 11209 else : 11210 # compilation failed 11211 lt_cv_dlopen_self_static=no 11212 fi 11213fi 11214rm -fr conftest* 11215 11216 11217fi 11218{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 11219$as_echo "$lt_cv_dlopen_self_static" >&6; } 11220 fi 11221 11222 CPPFLAGS="$save_CPPFLAGS" 11223 LDFLAGS="$save_LDFLAGS" 11224 LIBS="$save_LIBS" 11225 ;; 11226 esac 11227 11228 case $lt_cv_dlopen_self in 11229 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11230 *) enable_dlopen_self=unknown ;; 11231 esac 11232 11233 case $lt_cv_dlopen_self_static in 11234 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11235 *) enable_dlopen_self_static=unknown ;; 11236 esac 11237fi 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255striplib= 11256old_striplib= 11257{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 11258$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11259if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11260 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11261 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11262 { $as_echo "$as_me:$LINENO: result: yes" >&5 11263$as_echo "yes" >&6; } 11264else 11265# FIXME - insert some real tests, host_os isn't really good enough 11266 case $host_os in 11267 darwin*) 11268 if test -n "$STRIP" ; then 11269 striplib="$STRIP -x" 11270 old_striplib="$STRIP -S" 11271 { $as_echo "$as_me:$LINENO: result: yes" >&5 11272$as_echo "yes" >&6; } 11273 else 11274 { $as_echo "$as_me:$LINENO: result: no" >&5 11275$as_echo "no" >&6; } 11276 fi 11277 ;; 11278 *) 11279 { $as_echo "$as_me:$LINENO: result: no" >&5 11280$as_echo "no" >&6; } 11281 ;; 11282 esac 11283fi 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 # Report which library types will actually be built 11297 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 11298$as_echo_n "checking if libtool supports shared libraries... " >&6; } 11299 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5 11300$as_echo "$can_build_shared" >&6; } 11301 11302 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 11303$as_echo_n "checking whether to build shared libraries... " >&6; } 11304 test "$can_build_shared" = "no" && enable_shared=no 11305 11306 # On AIX, shared libraries and static libraries use the same namespace, and 11307 # are all built from PIC. 11308 case $host_os in 11309 aix3*) 11310 test "$enable_shared" = yes && enable_static=no 11311 if test -n "$RANLIB"; then 11312 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11313 postinstall_cmds='$RANLIB $lib' 11314 fi 11315 ;; 11316 11317 aix[4-9]*) 11318 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 11319 test "$enable_shared" = yes && enable_static=no 11320 fi 11321 ;; 11322 esac 11323 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5 11324$as_echo "$enable_shared" >&6; } 11325 11326 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5 11327$as_echo_n "checking whether to build static libraries... " >&6; } 11328 # Make sure either enable_shared or enable_static is yes. 11329 test "$enable_shared" = yes || enable_static=yes 11330 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5 11331$as_echo "$enable_static" >&6; } 11332 11333 11334 11335 11336fi 11337ac_ext=c 11338ac_cpp='$CPP $CPPFLAGS' 11339ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11340ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11341ac_compiler_gnu=$ac_cv_c_compiler_gnu 11342 11343CC="$lt_save_CC" 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 ac_config_commands="$ac_config_commands libtool" 11358 11359 11360 11361 11362# Only expand once: 11363 11364 11365 11366 # Extract the first word of "zip", so it can be a program name with args. 11367set dummy zip; ac_word=$2 11368{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 11369$as_echo_n "checking for $ac_word... " >&6; } 11370if test "${ac_cv_prog_ZIP+set}" = set; then 11371 $as_echo_n "(cached) " >&6 11372else 11373 if test -n "$ZIP"; then 11374 ac_cv_prog_ZIP="$ZIP" # Let the user override the test. 11375else 11376as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11377for as_dir in $PATH 11378do 11379 IFS=$as_save_IFS 11380 test -z "$as_dir" && as_dir=. 11381 for ac_exec_ext in '' $ac_executable_extensions; do 11382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11383 ac_cv_prog_ZIP="zip" 11384 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 11385 break 2 11386 fi 11387done 11388done 11389IFS=$as_save_IFS 11390 11391 test -z "$ac_cv_prog_ZIP" && ac_cv_prog_ZIP="no" 11392fi 11393fi 11394ZIP=$ac_cv_prog_ZIP 11395if test -n "$ZIP"; then 11396 { $as_echo "$as_me:$LINENO: result: $ZIP" >&5 11397$as_echo "$ZIP" >&6; } 11398else 11399 { $as_echo "$as_me:$LINENO: result: no" >&5 11400$as_echo "no" >&6; } 11401fi 11402 11403 11404 test -z "${ZIP}" && { { $as_echo "$as_me:$LINENO: error: zip was not found on this system" >&5 11405$as_echo "$as_me: error: zip was not found on this system" >&2;} 11406 { (exit 1); exit 1; }; } 11407 11408 11409{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 11410$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 11411if test "${ac_cv_c_const+set}" = set; then 11412 $as_echo_n "(cached) " >&6 11413else 11414 cat >conftest.$ac_ext <<_ACEOF 11415/* confdefs.h. */ 11416_ACEOF 11417cat confdefs.h >>conftest.$ac_ext 11418cat >>conftest.$ac_ext <<_ACEOF 11419/* end confdefs.h. */ 11420 11421int 11422main () 11423{ 11424/* FIXME: Include the comments suggested by Paul. */ 11425#ifndef __cplusplus 11426 /* Ultrix mips cc rejects this. */ 11427 typedef int charset[2]; 11428 const charset cs; 11429 /* SunOS 4.1.1 cc rejects this. */ 11430 char const *const *pcpcc; 11431 char **ppc; 11432 /* NEC SVR4.0.2 mips cc rejects this. */ 11433 struct point {int x, y;}; 11434 static struct point const zero = {0,0}; 11435 /* AIX XL C 1.02.0.0 rejects this. 11436 It does not let you subtract one const X* pointer from another in 11437 an arm of an if-expression whose if-part is not a constant 11438 expression */ 11439 const char *g = "string"; 11440 pcpcc = &g + (g ? g-g : 0); 11441 /* HPUX 7.0 cc rejects these. */ 11442 ++pcpcc; 11443 ppc = (char**) pcpcc; 11444 pcpcc = (char const *const *) ppc; 11445 { /* SCO 3.2v4 cc rejects this. */ 11446 char *t; 11447 char const *s = 0 ? (char *) 0 : (char const *) 0; 11448 11449 *t++ = 0; 11450 if (s) return 0; 11451 } 11452 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 11453 int x[] = {25, 17}; 11454 const int *foo = &x[0]; 11455 ++foo; 11456 } 11457 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 11458 typedef const int *iptr; 11459 iptr p = 0; 11460 ++p; 11461 } 11462 { /* AIX XL C 1.02.0.0 rejects this saying 11463 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 11464 struct s { int j; const int *ap[3]; }; 11465 struct s *b; b->j = 5; 11466 } 11467 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 11468 const int foo = 10; 11469 if (!foo) return 0; 11470 } 11471 return !cs[0] && !zero.x; 11472#endif 11473 11474 ; 11475 return 0; 11476} 11477_ACEOF 11478rm -f conftest.$ac_objext 11479if { (ac_try="$ac_compile" 11480case "(($ac_try" in 11481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11482 *) ac_try_echo=$ac_try;; 11483esac 11484eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11485$as_echo "$ac_try_echo") >&5 11486 (eval "$ac_compile") 2>conftest.er1 11487 ac_status=$? 11488 grep -v '^ *+' conftest.er1 >conftest.err 11489 rm -f conftest.er1 11490 cat conftest.err >&5 11491 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11492 (exit $ac_status); } && { 11493 test -z "$ac_c_werror_flag" || 11494 test ! -s conftest.err 11495 } && test -s conftest.$ac_objext; then 11496 ac_cv_c_const=yes 11497else 11498 $as_echo "$as_me: failed program was:" >&5 11499sed 's/^/| /' conftest.$ac_ext >&5 11500 11501 ac_cv_c_const=no 11502fi 11503 11504rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11505fi 11506{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 11507$as_echo "$ac_cv_c_const" >&6; } 11508if test $ac_cv_c_const = no; then 11509 11510cat >>confdefs.h <<\_ACEOF 11511#define const /**/ 11512_ACEOF 11513 11514fi 11515 11516{ $as_echo "$as_me:$LINENO: checking for inline" >&5 11517$as_echo_n "checking for inline... " >&6; } 11518if test "${ac_cv_c_inline+set}" = set; then 11519 $as_echo_n "(cached) " >&6 11520else 11521 ac_cv_c_inline=no 11522for ac_kw in inline __inline__ __inline; do 11523 cat >conftest.$ac_ext <<_ACEOF 11524/* confdefs.h. */ 11525_ACEOF 11526cat confdefs.h >>conftest.$ac_ext 11527cat >>conftest.$ac_ext <<_ACEOF 11528/* end confdefs.h. */ 11529#ifndef __cplusplus 11530typedef int foo_t; 11531static $ac_kw foo_t static_foo () {return 0; } 11532$ac_kw foo_t foo () {return 0; } 11533#endif 11534 11535_ACEOF 11536rm -f conftest.$ac_objext 11537if { (ac_try="$ac_compile" 11538case "(($ac_try" in 11539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11540 *) ac_try_echo=$ac_try;; 11541esac 11542eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11543$as_echo "$ac_try_echo") >&5 11544 (eval "$ac_compile") 2>conftest.er1 11545 ac_status=$? 11546 grep -v '^ *+' conftest.er1 >conftest.err 11547 rm -f conftest.er1 11548 cat conftest.err >&5 11549 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11550 (exit $ac_status); } && { 11551 test -z "$ac_c_werror_flag" || 11552 test ! -s conftest.err 11553 } && test -s conftest.$ac_objext; then 11554 ac_cv_c_inline=$ac_kw 11555else 11556 $as_echo "$as_me: failed program was:" >&5 11557sed 's/^/| /' conftest.$ac_ext >&5 11558 11559 11560fi 11561 11562rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11563 test "$ac_cv_c_inline" != no && break 11564done 11565 11566fi 11567{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 11568$as_echo "$ac_cv_c_inline" >&6; } 11569 11570 11571case $ac_cv_c_inline in 11572 inline | yes) ;; 11573 *) 11574 case $ac_cv_c_inline in 11575 no) ac_val=;; 11576 *) ac_val=$ac_cv_c_inline;; 11577 esac 11578 cat >>confdefs.h <<_ACEOF 11579#ifndef __cplusplus 11580#define inline $ac_val 11581#endif 11582_ACEOF 11583 ;; 11584esac 11585 11586 11587if test "${ac_cv_header_inttypes_h+set}" = set; then 11588 { $as_echo "$as_me:$LINENO: checking for inttypes.h" >&5 11589$as_echo_n "checking for inttypes.h... " >&6; } 11590if test "${ac_cv_header_inttypes_h+set}" = set; then 11591 $as_echo_n "(cached) " >&6 11592fi 11593{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_inttypes_h" >&5 11594$as_echo "$ac_cv_header_inttypes_h" >&6; } 11595else 11596 # Is the header compilable? 11597{ $as_echo "$as_me:$LINENO: checking inttypes.h usability" >&5 11598$as_echo_n "checking inttypes.h usability... " >&6; } 11599cat >conftest.$ac_ext <<_ACEOF 11600/* confdefs.h. */ 11601_ACEOF 11602cat confdefs.h >>conftest.$ac_ext 11603cat >>conftest.$ac_ext <<_ACEOF 11604/* end confdefs.h. */ 11605$ac_includes_default 11606#include <inttypes.h> 11607_ACEOF 11608rm -f conftest.$ac_objext 11609if { (ac_try="$ac_compile" 11610case "(($ac_try" in 11611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11612 *) ac_try_echo=$ac_try;; 11613esac 11614eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11615$as_echo "$ac_try_echo") >&5 11616 (eval "$ac_compile") 2>conftest.er1 11617 ac_status=$? 11618 grep -v '^ *+' conftest.er1 >conftest.err 11619 rm -f conftest.er1 11620 cat conftest.err >&5 11621 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11622 (exit $ac_status); } && { 11623 test -z "$ac_c_werror_flag" || 11624 test ! -s conftest.err 11625 } && test -s conftest.$ac_objext; then 11626 ac_header_compiler=yes 11627else 11628 $as_echo "$as_me: failed program was:" >&5 11629sed 's/^/| /' conftest.$ac_ext >&5 11630 11631 ac_header_compiler=no 11632fi 11633 11634rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11635{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11636$as_echo "$ac_header_compiler" >&6; } 11637 11638# Is the header present? 11639{ $as_echo "$as_me:$LINENO: checking inttypes.h presence" >&5 11640$as_echo_n "checking inttypes.h presence... " >&6; } 11641cat >conftest.$ac_ext <<_ACEOF 11642/* confdefs.h. */ 11643_ACEOF 11644cat confdefs.h >>conftest.$ac_ext 11645cat >>conftest.$ac_ext <<_ACEOF 11646/* end confdefs.h. */ 11647#include <inttypes.h> 11648_ACEOF 11649if { (ac_try="$ac_cpp conftest.$ac_ext" 11650case "(($ac_try" in 11651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11652 *) ac_try_echo=$ac_try;; 11653esac 11654eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11655$as_echo "$ac_try_echo") >&5 11656 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11657 ac_status=$? 11658 grep -v '^ *+' conftest.er1 >conftest.err 11659 rm -f conftest.er1 11660 cat conftest.err >&5 11661 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11662 (exit $ac_status); } >/dev/null && { 11663 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 11664 test ! -s conftest.err 11665 }; then 11666 ac_header_preproc=yes 11667else 11668 $as_echo "$as_me: failed program was:" >&5 11669sed 's/^/| /' conftest.$ac_ext >&5 11670 11671 ac_header_preproc=no 11672fi 11673 11674rm -f conftest.err conftest.$ac_ext 11675{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11676$as_echo "$ac_header_preproc" >&6; } 11677 11678# So? What about this header? 11679case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 11680 yes:no: ) 11681 { $as_echo "$as_me:$LINENO: WARNING: inttypes.h: accepted by the compiler, rejected by the preprocessor!" >&5 11682$as_echo "$as_me: WARNING: inttypes.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11683 { $as_echo "$as_me:$LINENO: WARNING: inttypes.h: proceeding with the compiler's result" >&5 11684$as_echo "$as_me: WARNING: inttypes.h: proceeding with the compiler's result" >&2;} 11685 ac_header_preproc=yes 11686 ;; 11687 no:yes:* ) 11688 { $as_echo "$as_me:$LINENO: WARNING: inttypes.h: present but cannot be compiled" >&5 11689$as_echo "$as_me: WARNING: inttypes.h: present but cannot be compiled" >&2;} 11690 { $as_echo "$as_me:$LINENO: WARNING: inttypes.h: check for missing prerequisite headers?" >&5 11691$as_echo "$as_me: WARNING: inttypes.h: check for missing prerequisite headers?" >&2;} 11692 { $as_echo "$as_me:$LINENO: WARNING: inttypes.h: see the Autoconf documentation" >&5 11693$as_echo "$as_me: WARNING: inttypes.h: see the Autoconf documentation" >&2;} 11694 { $as_echo "$as_me:$LINENO: WARNING: inttypes.h: section \"Present But Cannot Be Compiled\"" >&5 11695$as_echo "$as_me: WARNING: inttypes.h: section \"Present But Cannot Be Compiled\"" >&2;} 11696 { $as_echo "$as_me:$LINENO: WARNING: inttypes.h: proceeding with the preprocessor's result" >&5 11697$as_echo "$as_me: WARNING: inttypes.h: proceeding with the preprocessor's result" >&2;} 11698 { $as_echo "$as_me:$LINENO: WARNING: inttypes.h: in the future, the compiler will take precedence" >&5 11699$as_echo "$as_me: WARNING: inttypes.h: in the future, the compiler will take precedence" >&2;} 11700 ( cat <<\_ASBOX 11701## ------------------------------ ## 11702## Report this to cjk32@cam.ac.uk ## 11703## ------------------------------ ## 11704_ASBOX 11705 ) | sed "s/^/$as_me: WARNING: /" >&2 11706 ;; 11707esac 11708{ $as_echo "$as_me:$LINENO: checking for inttypes.h" >&5 11709$as_echo_n "checking for inttypes.h... " >&6; } 11710if test "${ac_cv_header_inttypes_h+set}" = set; then 11711 $as_echo_n "(cached) " >&6 11712else 11713 ac_cv_header_inttypes_h=$ac_header_preproc 11714fi 11715{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_inttypes_h" >&5 11716$as_echo "$ac_cv_header_inttypes_h" >&6; } 11717 11718fi 11719 11720 11721 11722 11723 { $as_echo "$as_me:$LINENO: checking for uint8_t" >&5 11724$as_echo_n "checking for uint8_t... " >&6; } 11725if test "${ac_cv_c_uint8_t+set}" = set; then 11726 $as_echo_n "(cached) " >&6 11727else 11728 ac_cv_c_uint8_t=no 11729 for ac_type in 'uint8_t' 'unsigned int' 'unsigned long int' \ 11730 'unsigned long long int' 'unsigned short int' 'unsigned char'; do 11731 cat >conftest.$ac_ext <<_ACEOF 11732/* confdefs.h. */ 11733_ACEOF 11734cat confdefs.h >>conftest.$ac_ext 11735cat >>conftest.$ac_ext <<_ACEOF 11736/* end confdefs.h. */ 11737$ac_includes_default 11738int 11739main () 11740{ 11741static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)]; 11742test_array [0] = 0 11743 11744 ; 11745 return 0; 11746} 11747_ACEOF 11748rm -f conftest.$ac_objext 11749if { (ac_try="$ac_compile" 11750case "(($ac_try" in 11751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11752 *) ac_try_echo=$ac_try;; 11753esac 11754eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11755$as_echo "$ac_try_echo") >&5 11756 (eval "$ac_compile") 2>conftest.er1 11757 ac_status=$? 11758 grep -v '^ *+' conftest.er1 >conftest.err 11759 rm -f conftest.er1 11760 cat conftest.err >&5 11761 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11762 (exit $ac_status); } && { 11763 test -z "$ac_c_werror_flag" || 11764 test ! -s conftest.err 11765 } && test -s conftest.$ac_objext; then 11766 case $ac_type in 11767 uint8_t) ac_cv_c_uint8_t=yes ;; 11768 *) ac_cv_c_uint8_t=$ac_type ;; 11769esac 11770 11771else 11772 $as_echo "$as_me: failed program was:" >&5 11773sed 's/^/| /' conftest.$ac_ext >&5 11774 11775 11776fi 11777 11778rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11779 test "$ac_cv_c_uint8_t" != no && break 11780 done 11781fi 11782{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5 11783$as_echo "$ac_cv_c_uint8_t" >&6; } 11784 case $ac_cv_c_uint8_t in #( 11785 no|yes) ;; #( 11786 *) 11787 11788cat >>confdefs.h <<\_ACEOF 11789#define _UINT8_T 1 11790_ACEOF 11791 11792 11793cat >>confdefs.h <<_ACEOF 11794#define uint8_t $ac_cv_c_uint8_t 11795_ACEOF 11796;; 11797 esac 11798 11799 11800 { $as_echo "$as_me:$LINENO: checking for uint32_t" >&5 11801$as_echo_n "checking for uint32_t... " >&6; } 11802if test "${ac_cv_c_uint32_t+set}" = set; then 11803 $as_echo_n "(cached) " >&6 11804else 11805 ac_cv_c_uint32_t=no 11806 for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \ 11807 'unsigned long long int' 'unsigned short int' 'unsigned char'; do 11808 cat >conftest.$ac_ext <<_ACEOF 11809/* confdefs.h. */ 11810_ACEOF 11811cat confdefs.h >>conftest.$ac_ext 11812cat >>conftest.$ac_ext <<_ACEOF 11813/* end confdefs.h. */ 11814$ac_includes_default 11815int 11816main () 11817{ 11818static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)]; 11819test_array [0] = 0 11820 11821 ; 11822 return 0; 11823} 11824_ACEOF 11825rm -f conftest.$ac_objext 11826if { (ac_try="$ac_compile" 11827case "(($ac_try" in 11828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11829 *) ac_try_echo=$ac_try;; 11830esac 11831eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11832$as_echo "$ac_try_echo") >&5 11833 (eval "$ac_compile") 2>conftest.er1 11834 ac_status=$? 11835 grep -v '^ *+' conftest.er1 >conftest.err 11836 rm -f conftest.er1 11837 cat conftest.err >&5 11838 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11839 (exit $ac_status); } && { 11840 test -z "$ac_c_werror_flag" || 11841 test ! -s conftest.err 11842 } && test -s conftest.$ac_objext; then 11843 case $ac_type in 11844 uint32_t) ac_cv_c_uint32_t=yes ;; 11845 *) ac_cv_c_uint32_t=$ac_type ;; 11846esac 11847 11848else 11849 $as_echo "$as_me: failed program was:" >&5 11850sed 's/^/| /' conftest.$ac_ext >&5 11851 11852 11853fi 11854 11855rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11856 test "$ac_cv_c_uint32_t" != no && break 11857 done 11858fi 11859{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5 11860$as_echo "$ac_cv_c_uint32_t" >&6; } 11861 case $ac_cv_c_uint32_t in #( 11862 no|yes) ;; #( 11863 *) 11864 11865cat >>confdefs.h <<\_ACEOF 11866#define _UINT32_T 1 11867_ACEOF 11868 11869 11870cat >>confdefs.h <<_ACEOF 11871#define uint32_t $ac_cv_c_uint32_t 11872_ACEOF 11873;; 11874 esac 11875 11876 11877 { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5 11878$as_echo_n "checking for uint64_t... " >&6; } 11879if test "${ac_cv_c_uint64_t+set}" = set; then 11880 $as_echo_n "(cached) " >&6 11881else 11882 ac_cv_c_uint64_t=no 11883 for ac_type in 'uint64_t' 'unsigned int' 'unsigned long int' \ 11884 'unsigned long long int' 'unsigned short int' 'unsigned char'; do 11885 cat >conftest.$ac_ext <<_ACEOF 11886/* confdefs.h. */ 11887_ACEOF 11888cat confdefs.h >>conftest.$ac_ext 11889cat >>conftest.$ac_ext <<_ACEOF 11890/* end confdefs.h. */ 11891$ac_includes_default 11892int 11893main () 11894{ 11895static int test_array [1 - 2 * !(($ac_type) -1 >> (64 - 1) == 1)]; 11896test_array [0] = 0 11897 11898 ; 11899 return 0; 11900} 11901_ACEOF 11902rm -f conftest.$ac_objext 11903if { (ac_try="$ac_compile" 11904case "(($ac_try" in 11905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11906 *) ac_try_echo=$ac_try;; 11907esac 11908eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11909$as_echo "$ac_try_echo") >&5 11910 (eval "$ac_compile") 2>conftest.er1 11911 ac_status=$? 11912 grep -v '^ *+' conftest.er1 >conftest.err 11913 rm -f conftest.er1 11914 cat conftest.err >&5 11915 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11916 (exit $ac_status); } && { 11917 test -z "$ac_c_werror_flag" || 11918 test ! -s conftest.err 11919 } && test -s conftest.$ac_objext; then 11920 case $ac_type in 11921 uint64_t) ac_cv_c_uint64_t=yes ;; 11922 *) ac_cv_c_uint64_t=$ac_type ;; 11923esac 11924 11925else 11926 $as_echo "$as_me: failed program was:" >&5 11927sed 's/^/| /' conftest.$ac_ext >&5 11928 11929 11930fi 11931 11932rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11933 test "$ac_cv_c_uint64_t" != no && break 11934 done 11935fi 11936{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint64_t" >&5 11937$as_echo "$ac_cv_c_uint64_t" >&6; } 11938 case $ac_cv_c_uint64_t in #( 11939 no|yes) ;; #( 11940 *) 11941 11942cat >>confdefs.h <<\_ACEOF 11943#define _UINT64_T 1 11944_ACEOF 11945 11946 11947cat >>confdefs.h <<_ACEOF 11948#define uint64_t $ac_cv_c_uint64_t 11949_ACEOF 11950;; 11951 esac 11952 11953{ $as_echo "$as_me:$LINENO: checking for size_t" >&5 11954$as_echo_n "checking for size_t... " >&6; } 11955if test "${ac_cv_type_size_t+set}" = set; then 11956 $as_echo_n "(cached) " >&6 11957else 11958 ac_cv_type_size_t=no 11959cat >conftest.$ac_ext <<_ACEOF 11960/* confdefs.h. */ 11961_ACEOF 11962cat confdefs.h >>conftest.$ac_ext 11963cat >>conftest.$ac_ext <<_ACEOF 11964/* end confdefs.h. */ 11965$ac_includes_default 11966int 11967main () 11968{ 11969if (sizeof (size_t)) 11970 return 0; 11971 ; 11972 return 0; 11973} 11974_ACEOF 11975rm -f conftest.$ac_objext 11976if { (ac_try="$ac_compile" 11977case "(($ac_try" in 11978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11979 *) ac_try_echo=$ac_try;; 11980esac 11981eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11982$as_echo "$ac_try_echo") >&5 11983 (eval "$ac_compile") 2>conftest.er1 11984 ac_status=$? 11985 grep -v '^ *+' conftest.er1 >conftest.err 11986 rm -f conftest.er1 11987 cat conftest.err >&5 11988 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11989 (exit $ac_status); } && { 11990 test -z "$ac_c_werror_flag" || 11991 test ! -s conftest.err 11992 } && test -s conftest.$ac_objext; then 11993 cat >conftest.$ac_ext <<_ACEOF 11994/* confdefs.h. */ 11995_ACEOF 11996cat confdefs.h >>conftest.$ac_ext 11997cat >>conftest.$ac_ext <<_ACEOF 11998/* end confdefs.h. */ 11999$ac_includes_default 12000int 12001main () 12002{ 12003if (sizeof ((size_t))) 12004 return 0; 12005 ; 12006 return 0; 12007} 12008_ACEOF 12009rm -f conftest.$ac_objext 12010if { (ac_try="$ac_compile" 12011case "(($ac_try" in 12012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12013 *) ac_try_echo=$ac_try;; 12014esac 12015eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12016$as_echo "$ac_try_echo") >&5 12017 (eval "$ac_compile") 2>conftest.er1 12018 ac_status=$? 12019 grep -v '^ *+' conftest.er1 >conftest.err 12020 rm -f conftest.er1 12021 cat conftest.err >&5 12022 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12023 (exit $ac_status); } && { 12024 test -z "$ac_c_werror_flag" || 12025 test ! -s conftest.err 12026 } && test -s conftest.$ac_objext; then 12027 : 12028else 12029 $as_echo "$as_me: failed program was:" >&5 12030sed 's/^/| /' conftest.$ac_ext >&5 12031 12032 ac_cv_type_size_t=yes 12033fi 12034 12035rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12036else 12037 $as_echo "$as_me: failed program was:" >&5 12038sed 's/^/| /' conftest.$ac_ext >&5 12039 12040 12041fi 12042 12043rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12044fi 12045{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 12046$as_echo "$ac_cv_type_size_t" >&6; } 12047if test $ac_cv_type_size_t = yes; then 12048 : 12049else 12050 12051cat >>confdefs.h <<_ACEOF 12052#define size_t unsigned int 12053_ACEOF 12054 12055fi 12056 12057 12058 12059for ac_header in stdlib.h 12060do 12061as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12062if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12063 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12064$as_echo_n "checking for $ac_header... " >&6; } 12065if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12066 $as_echo_n "(cached) " >&6 12067fi 12068ac_res=`eval 'as_val=${'$as_ac_Header'} 12069 $as_echo "$as_val"'` 12070 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12071$as_echo "$ac_res" >&6; } 12072else 12073 # Is the header compilable? 12074{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 12075$as_echo_n "checking $ac_header usability... " >&6; } 12076cat >conftest.$ac_ext <<_ACEOF 12077/* confdefs.h. */ 12078_ACEOF 12079cat confdefs.h >>conftest.$ac_ext 12080cat >>conftest.$ac_ext <<_ACEOF 12081/* end confdefs.h. */ 12082$ac_includes_default 12083#include <$ac_header> 12084_ACEOF 12085rm -f conftest.$ac_objext 12086if { (ac_try="$ac_compile" 12087case "(($ac_try" in 12088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12089 *) ac_try_echo=$ac_try;; 12090esac 12091eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12092$as_echo "$ac_try_echo") >&5 12093 (eval "$ac_compile") 2>conftest.er1 12094 ac_status=$? 12095 grep -v '^ *+' conftest.er1 >conftest.err 12096 rm -f conftest.er1 12097 cat conftest.err >&5 12098 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12099 (exit $ac_status); } && { 12100 test -z "$ac_c_werror_flag" || 12101 test ! -s conftest.err 12102 } && test -s conftest.$ac_objext; then 12103 ac_header_compiler=yes 12104else 12105 $as_echo "$as_me: failed program was:" >&5 12106sed 's/^/| /' conftest.$ac_ext >&5 12107 12108 ac_header_compiler=no 12109fi 12110 12111rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12112{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 12113$as_echo "$ac_header_compiler" >&6; } 12114 12115# Is the header present? 12116{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 12117$as_echo_n "checking $ac_header presence... " >&6; } 12118cat >conftest.$ac_ext <<_ACEOF 12119/* confdefs.h. */ 12120_ACEOF 12121cat confdefs.h >>conftest.$ac_ext 12122cat >>conftest.$ac_ext <<_ACEOF 12123/* end confdefs.h. */ 12124#include <$ac_header> 12125_ACEOF 12126if { (ac_try="$ac_cpp conftest.$ac_ext" 12127case "(($ac_try" in 12128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12129 *) ac_try_echo=$ac_try;; 12130esac 12131eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12132$as_echo "$ac_try_echo") >&5 12133 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 12134 ac_status=$? 12135 grep -v '^ *+' conftest.er1 >conftest.err 12136 rm -f conftest.er1 12137 cat conftest.err >&5 12138 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12139 (exit $ac_status); } >/dev/null && { 12140 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 12141 test ! -s conftest.err 12142 }; then 12143 ac_header_preproc=yes 12144else 12145 $as_echo "$as_me: failed program was:" >&5 12146sed 's/^/| /' conftest.$ac_ext >&5 12147 12148 ac_header_preproc=no 12149fi 12150 12151rm -f conftest.err conftest.$ac_ext 12152{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 12153$as_echo "$ac_header_preproc" >&6; } 12154 12155# So? What about this header? 12156case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 12157 yes:no: ) 12158 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 12159$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 12160 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 12161$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 12162 ac_header_preproc=yes 12163 ;; 12164 no:yes:* ) 12165 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 12166$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 12167 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 12168$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 12169 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 12170$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 12171 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 12172$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 12173 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 12174$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 12175 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 12176$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 12177 ( cat <<\_ASBOX 12178## ------------------------------ ## 12179## Report this to cjk32@cam.ac.uk ## 12180## ------------------------------ ## 12181_ASBOX 12182 ) | sed "s/^/$as_me: WARNING: /" >&2 12183 ;; 12184esac 12185{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12186$as_echo_n "checking for $ac_header... " >&6; } 12187if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12188 $as_echo_n "(cached) " >&6 12189else 12190 eval "$as_ac_Header=\$ac_header_preproc" 12191fi 12192ac_res=`eval 'as_val=${'$as_ac_Header'} 12193 $as_echo "$as_val"'` 12194 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12195$as_echo "$ac_res" >&6; } 12196 12197fi 12198if test `eval 'as_val=${'$as_ac_Header'} 12199 $as_echo "$as_val"'` = yes; then 12200 cat >>confdefs.h <<_ACEOF 12201#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12202_ACEOF 12203 12204fi 12205 12206done 12207 12208{ $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 12209$as_echo_n "checking for GNU libc compatible malloc... " >&6; } 12210if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then 12211 $as_echo_n "(cached) " >&6 12212else 12213 if test "$cross_compiling" = yes; then 12214 ac_cv_func_malloc_0_nonnull=no 12215else 12216 cat >conftest.$ac_ext <<_ACEOF 12217/* confdefs.h. */ 12218_ACEOF 12219cat confdefs.h >>conftest.$ac_ext 12220cat >>conftest.$ac_ext <<_ACEOF 12221/* end confdefs.h. */ 12222#if defined STDC_HEADERS || defined HAVE_STDLIB_H 12223# include <stdlib.h> 12224#else 12225char *malloc (); 12226#endif 12227 12228int 12229main () 12230{ 12231return ! malloc (0); 12232 ; 12233 return 0; 12234} 12235_ACEOF 12236rm -f conftest$ac_exeext 12237if { (ac_try="$ac_link" 12238case "(($ac_try" in 12239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12240 *) ac_try_echo=$ac_try;; 12241esac 12242eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12243$as_echo "$ac_try_echo") >&5 12244 (eval "$ac_link") 2>&5 12245 ac_status=$? 12246 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12247 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12248 { (case "(($ac_try" in 12249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12250 *) ac_try_echo=$ac_try;; 12251esac 12252eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12253$as_echo "$ac_try_echo") >&5 12254 (eval "$ac_try") 2>&5 12255 ac_status=$? 12256 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12257 (exit $ac_status); }; }; then 12258 ac_cv_func_malloc_0_nonnull=yes 12259else 12260 $as_echo "$as_me: program exited with status $ac_status" >&5 12261$as_echo "$as_me: failed program was:" >&5 12262sed 's/^/| /' conftest.$ac_ext >&5 12263 12264( exit $ac_status ) 12265ac_cv_func_malloc_0_nonnull=no 12266fi 12267rm -rf conftest.dSYM 12268rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12269fi 12270 12271 12272fi 12273{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5 12274$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } 12275if test $ac_cv_func_malloc_0_nonnull = yes; then 12276 12277cat >>confdefs.h <<\_ACEOF 12278#define HAVE_MALLOC 1 12279_ACEOF 12280 12281else 12282 cat >>confdefs.h <<\_ACEOF 12283#define HAVE_MALLOC 0 12284_ACEOF 12285 12286 case " $LIBOBJS " in 12287 *" malloc.$ac_objext "* ) ;; 12288 *) LIBOBJS="$LIBOBJS malloc.$ac_objext" 12289 ;; 12290esac 12291 12292 12293cat >>confdefs.h <<\_ACEOF 12294#define malloc rpl_malloc 12295_ACEOF 12296 12297fi 12298 12299 12300 12301 12302 12303 12304# Check whether --with-windist-binpath was given. 12305if test "${with_windist_binpath+set}" = set; then 12306 withval=$with_windist_binpath; WINDIST_BINPATH=$withval 12307else 12308 WINDIST_BINPATH="build" 12309fi 12310 12311 12312 12313 12314# Check whether --with-windist-config was given. 12315if test "${with_windist_config+set}" = set; then 12316 withval=$with_windist_config; WINDIST_CONFIG=$withval 12317else 12318 WINDIST_CONFIG="Release" 12319fi 12320 12321 12322 12323# Check whether --with-windist-platform was given. 12324if test "${with_windist_platform+set}" = set; then 12325 withval=$with_windist_platform; WINDIST_PLATFORM=$withval 12326else 12327 WINDIST_PLATFORM="Win32 x64" 12328fi 12329 12330 12331 12332# Check whether --with-windist-dev-config was given. 12333if test "${with_windist_dev_config+set}" = set; then 12334 withval=$with_windist_dev_config; WINDIST_DEV_CONFIG=$withval 12335else 12336 WINDIST_DEV_CONFIG="Release" 12337fi 12338 12339 12340 12341# Check whether --with-windist-dev-platform was given. 12342if test "${with_windist_dev_platform+set}" = set; then 12343 withval=$with_windist_dev_platform; WINDIST_DEV_PLATFORM=$withval 12344else 12345 WINDIST_DEV_PLATFORM="Win32 x64" 12346fi 12347 12348 12349 12350 12351ac_config_files="$ac_config_files Makefile doc/Makefile doc/html/Makefile include/Makefile include/dvdid/Makefile m4/Makefile src/Makefile src/dvdid/Makefile src/libdvdid/Makefile" 12352 12353cat >confcache <<\_ACEOF 12354# This file is a shell script that caches the results of configure 12355# tests run on this system so they can be shared between configure 12356# scripts and configure runs, see configure's option --config-cache. 12357# It is not useful on other systems. If it contains results you don't 12358# want to keep, you may remove or edit it. 12359# 12360# config.status only pays attention to the cache file if you give it 12361# the --recheck option to rerun configure. 12362# 12363# `ac_cv_env_foo' variables (set or unset) will be overridden when 12364# loading this file, other *unset* `ac_cv_foo' will be assigned the 12365# following values. 12366 12367_ACEOF 12368 12369# The following way of writing the cache mishandles newlines in values, 12370# but we know of no workaround that is simple, portable, and efficient. 12371# So, we kill variables containing newlines. 12372# Ultrix sh set writes to stderr and can't be redirected directly, 12373# and sets the high bit in the cache file unless we assign to the vars. 12374( 12375 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 12376 eval ac_val=\$$ac_var 12377 case $ac_val in #( 12378 *${as_nl}*) 12379 case $ac_var in #( 12380 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 12381$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 12382 esac 12383 case $ac_var in #( 12384 _ | IFS | as_nl) ;; #( 12385 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 12386 *) $as_unset $ac_var ;; 12387 esac ;; 12388 esac 12389 done 12390 12391 (set) 2>&1 | 12392 case $as_nl`(ac_space=' '; set) 2>&1` in #( 12393 *${as_nl}ac_space=\ *) 12394 # `set' does not quote correctly, so add quotes (double-quote 12395 # substitution turns \\\\ into \\, and sed turns \\ into \). 12396 sed -n \ 12397 "s/'/'\\\\''/g; 12398 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 12399 ;; #( 12400 *) 12401 # `set' quotes correctly as required by POSIX, so do not add quotes. 12402 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 12403 ;; 12404 esac | 12405 sort 12406) | 12407 sed ' 12408 /^ac_cv_env_/b end 12409 t clear 12410 :clear 12411 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 12412 t end 12413 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 12414 :end' >>confcache 12415if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 12416 if test -w "$cache_file"; then 12417 test "x$cache_file" != "x/dev/null" && 12418 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 12419$as_echo "$as_me: updating cache $cache_file" >&6;} 12420 cat confcache >$cache_file 12421 else 12422 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 12423$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 12424 fi 12425fi 12426rm -f confcache 12427 12428test "x$prefix" = xNONE && prefix=$ac_default_prefix 12429# Let make expand exec_prefix. 12430test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 12431 12432# Transform confdefs.h into DEFS. 12433# Protect against shell expansion while executing Makefile rules. 12434# Protect against Makefile macro expansion. 12435# 12436# If the first sed substitution is executed (which looks for macros that 12437# take arguments), then branch to the quote section. Otherwise, 12438# look for a macro that doesn't take arguments. 12439ac_script=' 12440:mline 12441/\\$/{ 12442 N 12443 s,\\\n,, 12444 b mline 12445} 12446t clear 12447:clear 12448s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 12449t quote 12450s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 12451t quote 12452b any 12453:quote 12454s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 12455s/\[/\\&/g 12456s/\]/\\&/g 12457s/\$/$$/g 12458H 12459:any 12460${ 12461 g 12462 s/^\n// 12463 s/\n/ /g 12464 p 12465} 12466' 12467DEFS=`sed -n "$ac_script" confdefs.h` 12468 12469 12470ac_libobjs= 12471ac_ltlibobjs= 12472for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 12473 # 1. Remove the extension, and $U if already installed. 12474 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 12475 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 12476 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 12477 # will be set to the directory where LIBOBJS objects are built. 12478 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 12479 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 12480done 12481LIBOBJS=$ac_libobjs 12482 12483LTLIBOBJS=$ac_ltlibobjs 12484 12485 12486if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 12487 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 12488Usually this means the macro was only invoked conditionally." >&5 12489$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. 12490Usually this means the macro was only invoked conditionally." >&2;} 12491 { (exit 1); exit 1; }; } 12492fi 12493if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 12494 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 12495Usually this means the macro was only invoked conditionally." >&5 12496$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 12497Usually this means the macro was only invoked conditionally." >&2;} 12498 { (exit 1); exit 1; }; } 12499fi 12500 12501: ${CONFIG_STATUS=./config.status} 12502ac_write_fail=0 12503ac_clean_files_save=$ac_clean_files 12504ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12505{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 12506$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 12507cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12508#! $SHELL 12509# Generated by $as_me. 12510# Run this file to recreate the current configuration. 12511# Compiler output produced by configure, useful for debugging 12512# configure, is in config.log if it exists. 12513 12514debug=false 12515ac_cs_recheck=false 12516ac_cs_silent=false 12517SHELL=\${CONFIG_SHELL-$SHELL} 12518_ACEOF 12519 12520cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12521## --------------------- ## 12522## M4sh Initialization. ## 12523## --------------------- ## 12524 12525# Be more Bourne compatible 12526DUALCASE=1; export DUALCASE # for MKS sh 12527if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 12528 emulate sh 12529 NULLCMD=: 12530 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 12531 # is contrary to our usage. Disable this feature. 12532 alias -g '${1+"$@"}'='"$@"' 12533 setopt NO_GLOB_SUBST 12534else 12535 case `(set -o) 2>/dev/null` in 12536 *posix*) set -o posix ;; 12537esac 12538 12539fi 12540 12541 12542 12543 12544# PATH needs CR 12545# Avoid depending upon Character Ranges. 12546as_cr_letters='abcdefghijklmnopqrstuvwxyz' 12547as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 12548as_cr_Letters=$as_cr_letters$as_cr_LETTERS 12549as_cr_digits='0123456789' 12550as_cr_alnum=$as_cr_Letters$as_cr_digits 12551 12552as_nl=' 12553' 12554export as_nl 12555# Printing a long string crashes Solaris 7 /usr/bin/printf. 12556as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 12557as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 12558as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 12559if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 12560 as_echo='printf %s\n' 12561 as_echo_n='printf %s' 12562else 12563 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 12564 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 12565 as_echo_n='/usr/ucb/echo -n' 12566 else 12567 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 12568 as_echo_n_body='eval 12569 arg=$1; 12570 case $arg in 12571 *"$as_nl"*) 12572 expr "X$arg" : "X\\(.*\\)$as_nl"; 12573 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 12574 esac; 12575 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 12576 ' 12577 export as_echo_n_body 12578 as_echo_n='sh -c $as_echo_n_body as_echo' 12579 fi 12580 export as_echo_body 12581 as_echo='sh -c $as_echo_body as_echo' 12582fi 12583 12584# The user is always right. 12585if test "${PATH_SEPARATOR+set}" != set; then 12586 PATH_SEPARATOR=: 12587 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 12588 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 12589 PATH_SEPARATOR=';' 12590 } 12591fi 12592 12593# Support unset when possible. 12594if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 12595 as_unset=unset 12596else 12597 as_unset=false 12598fi 12599 12600 12601# IFS 12602# We need space, tab and new line, in precisely that order. Quoting is 12603# there to prevent editors from complaining about space-tab. 12604# (If _AS_PATH_WALK were called with IFS unset, it would disable word 12605# splitting by setting IFS to empty value.) 12606IFS=" "" $as_nl" 12607 12608# Find who we are. Look in the path if we contain no directory separator. 12609case $0 in 12610 *[\\/]* ) as_myself=$0 ;; 12611 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12612for as_dir in $PATH 12613do 12614 IFS=$as_save_IFS 12615 test -z "$as_dir" && as_dir=. 12616 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 12617done 12618IFS=$as_save_IFS 12619 12620 ;; 12621esac 12622# We did not find ourselves, most probably we were run as `sh COMMAND' 12623# in which case we are not to be found in the path. 12624if test "x$as_myself" = x; then 12625 as_myself=$0 12626fi 12627if test ! -f "$as_myself"; then 12628 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 12629 { (exit 1); exit 1; } 12630fi 12631 12632# Work around bugs in pre-3.0 UWIN ksh. 12633for as_var in ENV MAIL MAILPATH 12634do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 12635done 12636PS1='$ ' 12637PS2='> ' 12638PS4='+ ' 12639 12640# NLS nuisances. 12641LC_ALL=C 12642export LC_ALL 12643LANGUAGE=C 12644export LANGUAGE 12645 12646# Required to use basename. 12647if expr a : '\(a\)' >/dev/null 2>&1 && 12648 test "X`expr 00001 : '.*\(...\)'`" = X001; then 12649 as_expr=expr 12650else 12651 as_expr=false 12652fi 12653 12654if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 12655 as_basename=basename 12656else 12657 as_basename=false 12658fi 12659 12660 12661# Name of the executable. 12662as_me=`$as_basename -- "$0" || 12663$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 12664 X"$0" : 'X\(//\)$' \| \ 12665 X"$0" : 'X\(/\)' \| . 2>/dev/null || 12666$as_echo X/"$0" | 12667 sed '/^.*\/\([^/][^/]*\)\/*$/{ 12668 s//\1/ 12669 q 12670 } 12671 /^X\/\(\/\/\)$/{ 12672 s//\1/ 12673 q 12674 } 12675 /^X\/\(\/\).*/{ 12676 s//\1/ 12677 q 12678 } 12679 s/.*/./; q'` 12680 12681# CDPATH. 12682$as_unset CDPATH 12683 12684 12685 12686 as_lineno_1=$LINENO 12687 as_lineno_2=$LINENO 12688 test "x$as_lineno_1" != "x$as_lineno_2" && 12689 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 12690 12691 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 12692 # uniformly replaced by the line number. The first 'sed' inserts a 12693 # line-number line after each line using $LINENO; the second 'sed' 12694 # does the real work. The second script uses 'N' to pair each 12695 # line-number line with the line containing $LINENO, and appends 12696 # trailing '-' during substitution so that $LINENO is not a special 12697 # case at line end. 12698 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 12699 # scripts with optimization help from Paolo Bonzini. Blame Lee 12700 # E. McMahon (1931-1989) for sed's syntax. :-) 12701 sed -n ' 12702 p 12703 /[$]LINENO/= 12704 ' <$as_myself | 12705 sed ' 12706 s/[$]LINENO.*/&-/ 12707 t lineno 12708 b 12709 :lineno 12710 N 12711 :loop 12712 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 12713 t loop 12714 s/-\n.*// 12715 ' >$as_me.lineno && 12716 chmod +x "$as_me.lineno" || 12717 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 12718 { (exit 1); exit 1; }; } 12719 12720 # Don't try to exec as it changes $[0], causing all sort of problems 12721 # (the dirname of $[0] is not the place where we might find the 12722 # original and so on. Autoconf is especially sensitive to this). 12723 . "./$as_me.lineno" 12724 # Exit status is that of the last command. 12725 exit 12726} 12727 12728 12729if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 12730 as_dirname=dirname 12731else 12732 as_dirname=false 12733fi 12734 12735ECHO_C= ECHO_N= ECHO_T= 12736case `echo -n x` in 12737-n*) 12738 case `echo 'x\c'` in 12739 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 12740 *) ECHO_C='\c';; 12741 esac;; 12742*) 12743 ECHO_N='-n';; 12744esac 12745if expr a : '\(a\)' >/dev/null 2>&1 && 12746 test "X`expr 00001 : '.*\(...\)'`" = X001; then 12747 as_expr=expr 12748else 12749 as_expr=false 12750fi 12751 12752rm -f conf$$ conf$$.exe conf$$.file 12753if test -d conf$$.dir; then 12754 rm -f conf$$.dir/conf$$.file 12755else 12756 rm -f conf$$.dir 12757 mkdir conf$$.dir 2>/dev/null 12758fi 12759if (echo >conf$$.file) 2>/dev/null; then 12760 if ln -s conf$$.file conf$$ 2>/dev/null; then 12761 as_ln_s='ln -s' 12762 # ... but there are two gotchas: 12763 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 12764 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 12765 # In both cases, we have to default to `cp -p'. 12766 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 12767 as_ln_s='cp -p' 12768 elif ln conf$$.file conf$$ 2>/dev/null; then 12769 as_ln_s=ln 12770 else 12771 as_ln_s='cp -p' 12772 fi 12773else 12774 as_ln_s='cp -p' 12775fi 12776rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 12777rmdir conf$$.dir 2>/dev/null 12778 12779if mkdir -p . 2>/dev/null; then 12780 as_mkdir_p=: 12781else 12782 test -d ./-p && rmdir ./-p 12783 as_mkdir_p=false 12784fi 12785 12786if test -x / >/dev/null 2>&1; then 12787 as_test_x='test -x' 12788else 12789 if ls -dL / >/dev/null 2>&1; then 12790 as_ls_L_option=L 12791 else 12792 as_ls_L_option= 12793 fi 12794 as_test_x=' 12795 eval sh -c '\'' 12796 if test -d "$1"; then 12797 test -d "$1/."; 12798 else 12799 case $1 in 12800 -*)set "./$1";; 12801 esac; 12802 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 12803 ???[sx]*):;;*)false;;esac;fi 12804 '\'' sh 12805 ' 12806fi 12807as_executable_p=$as_test_x 12808 12809# Sed expression to map a string onto a valid CPP name. 12810as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 12811 12812# Sed expression to map a string onto a valid variable name. 12813as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 12814 12815 12816exec 6>&1 12817 12818# Save the log message, to keep $[0] and so on meaningful, and to 12819# report actual input values of CONFIG_FILES etc. instead of their 12820# values after options handling. 12821ac_log=" 12822This file was extended by dvdid $as_me 0.2.0a, which was 12823generated by GNU Autoconf 2.62. Invocation command line was 12824 12825 CONFIG_FILES = $CONFIG_FILES 12826 CONFIG_HEADERS = $CONFIG_HEADERS 12827 CONFIG_LINKS = $CONFIG_LINKS 12828 CONFIG_COMMANDS = $CONFIG_COMMANDS 12829 $ $0 $@ 12830 12831on `(hostname || uname -n) 2>/dev/null | sed 1q` 12832" 12833 12834_ACEOF 12835 12836cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12837# Files that config.status was made for. 12838config_files="$ac_config_files" 12839config_commands="$ac_config_commands" 12840 12841_ACEOF 12842 12843cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12844ac_cs_usage="\ 12845\`$as_me' instantiates files from templates according to the 12846current configuration. 12847 12848Usage: $0 [OPTIONS] [FILE]... 12849 12850 -h, --help print this help, then exit 12851 -V, --version print version number and configuration settings, then exit 12852 -q, --quiet do not print progress messages 12853 -d, --debug don't remove temporary files 12854 --recheck update $as_me by reconfiguring in the same conditions 12855 --file=FILE[:TEMPLATE] 12856 instantiate the configuration file FILE 12857 12858Configuration files: 12859$config_files 12860 12861Configuration commands: 12862$config_commands 12863 12864Report bugs to <bug-autoconf@gnu.org>." 12865 12866_ACEOF 12867cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12868ac_cs_version="\\ 12869dvdid config.status 0.2.0a 12870configured by $0, generated by GNU Autoconf 2.62, 12871 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 12872 12873Copyright (C) 2008 Free Software Foundation, Inc. 12874This config.status script is free software; the Free Software Foundation 12875gives unlimited permission to copy, distribute and modify it." 12876 12877ac_pwd='$ac_pwd' 12878srcdir='$srcdir' 12879INSTALL='$INSTALL' 12880MKDIR_P='$MKDIR_P' 12881AWK='$AWK' 12882test -n "\$AWK" || AWK=awk 12883_ACEOF 12884 12885cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12886# The default lists apply if the user does not specify any file. 12887ac_need_defaults=: 12888while test $# != 0 12889do 12890 case $1 in 12891 --*=*) 12892 ac_option=`expr "X$1" : 'X\([^=]*\)='` 12893 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 12894 ac_shift=: 12895 ;; 12896 *) 12897 ac_option=$1 12898 ac_optarg=$2 12899 ac_shift=shift 12900 ;; 12901 esac 12902 12903 case $ac_option in 12904 # Handling of the options. 12905 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 12906 ac_cs_recheck=: ;; 12907 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 12908 $as_echo "$ac_cs_version"; exit ;; 12909 --debug | --debu | --deb | --de | --d | -d ) 12910 debug=: ;; 12911 --file | --fil | --fi | --f ) 12912 $ac_shift 12913 case $ac_optarg in 12914 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 12915 esac 12916 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 12917 ac_need_defaults=false;; 12918 --he | --h | --help | --hel | -h ) 12919 $as_echo "$ac_cs_usage"; exit ;; 12920 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 12921 | -silent | --silent | --silen | --sile | --sil | --si | --s) 12922 ac_cs_silent=: ;; 12923 12924 # This is an error. 12925 -*) { $as_echo "$as_me: error: unrecognized option: $1 12926Try \`$0 --help' for more information." >&2 12927 { (exit 1); exit 1; }; } ;; 12928 12929 *) ac_config_targets="$ac_config_targets $1" 12930 ac_need_defaults=false ;; 12931 12932 esac 12933 shift 12934done 12935 12936ac_configure_extra_args= 12937 12938if $ac_cs_silent; then 12939 exec 6>/dev/null 12940 ac_configure_extra_args="$ac_configure_extra_args --silent" 12941fi 12942 12943_ACEOF 12944cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12945if \$ac_cs_recheck; then 12946 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 12947 shift 12948 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 12949 CONFIG_SHELL='$SHELL' 12950 export CONFIG_SHELL 12951 exec "\$@" 12952fi 12953 12954_ACEOF 12955cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12956exec 5>>config.log 12957{ 12958 echo 12959 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 12960## Running $as_me. ## 12961_ASBOX 12962 $as_echo "$ac_log" 12963} >&5 12964 12965_ACEOF 12966cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12967# 12968# INIT-COMMANDS 12969# 12970AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 12971 12972 12973# The HP-UX ksh and POSIX shell print the target directory to stdout 12974# if CDPATH is set. 12975(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 12976 12977sed_quote_subst='$sed_quote_subst' 12978double_quote_subst='$double_quote_subst' 12979delay_variable_subst='$delay_variable_subst' 12980macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' 12981macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' 12982enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' 12983enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' 12984pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' 12985enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' 12986host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' 12987host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' 12988host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' 12989build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' 12990build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' 12991build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' 12992SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' 12993Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' 12994GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' 12995EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' 12996FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' 12997LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' 12998NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' 12999LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' 13000max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' 13001ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' 13002exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' 13003lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' 13004lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' 13005lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' 13006reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' 13007reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13008OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' 13009deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' 13010file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' 13011AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' 13012AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' 13013STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' 13014RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' 13015old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13016old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13017old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13018CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' 13019CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' 13020compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' 13021GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' 13022lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' 13023lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' 13024lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`' 13025lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' 13026objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' 13027SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' 13028ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' 13029MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' 13030lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' 13031lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' 13032lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' 13033lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' 13034lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' 13035need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' 13036DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' 13037NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' 13038LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' 13039OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' 13040OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' 13041libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' 13042shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13043extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13044archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' 13045enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' 13046export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 13047whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 13048compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' 13049old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13050old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13051archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13052archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13053module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13054module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13055with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' 13056allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 13057no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 13058hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 13059hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' 13060hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' 13061hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' 13062hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' 13063hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' 13064hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 13065hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' 13066inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' 13067link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' 13068fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' 13069always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' 13070export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13071exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 13072include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 13073prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13074file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' 13075variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' 13076need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' 13077need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' 13078version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' 13079runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' 13080shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 13081shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' 13082libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' 13083library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' 13084soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' 13085postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13086postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13087finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13088finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' 13089hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' 13090sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 13091sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 13092hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' 13093enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' 13094enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' 13095enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' 13096old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' 13097striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' 13098 13099LTCC='$LTCC' 13100LTCFLAGS='$LTCFLAGS' 13101compiler='$compiler_DEFAULT' 13102 13103# Quote evaled strings. 13104for var in SED \ 13105GREP \ 13106EGREP \ 13107FGREP \ 13108LD \ 13109NM \ 13110LN_S \ 13111lt_SP2NL \ 13112lt_NL2SP \ 13113reload_flag \ 13114OBJDUMP \ 13115deplibs_check_method \ 13116file_magic_cmd \ 13117AR \ 13118AR_FLAGS \ 13119STRIP \ 13120RANLIB \ 13121CC \ 13122CFLAGS \ 13123compiler \ 13124lt_cv_sys_global_symbol_pipe \ 13125lt_cv_sys_global_symbol_to_cdecl \ 13126lt_cv_sys_global_symbol_to_c_name_address \ 13127lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 13128SHELL \ 13129ECHO \ 13130lt_prog_compiler_no_builtin_flag \ 13131lt_prog_compiler_wl \ 13132lt_prog_compiler_pic \ 13133lt_prog_compiler_static \ 13134lt_cv_prog_compiler_c_o \ 13135need_locks \ 13136DSYMUTIL \ 13137NMEDIT \ 13138LIPO \ 13139OTOOL \ 13140OTOOL64 \ 13141shrext_cmds \ 13142export_dynamic_flag_spec \ 13143whole_archive_flag_spec \ 13144compiler_needs_object \ 13145with_gnu_ld \ 13146allow_undefined_flag \ 13147no_undefined_flag \ 13148hardcode_libdir_flag_spec \ 13149hardcode_libdir_flag_spec_ld \ 13150hardcode_libdir_separator \ 13151fix_srcfile_path \ 13152exclude_expsyms \ 13153include_expsyms \ 13154file_list_spec \ 13155variables_saved_for_relink \ 13156libname_spec \ 13157library_names_spec \ 13158soname_spec \ 13159finish_eval \ 13160old_striplib \ 13161striplib; do 13162 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 13163 *[\\\\\\\`\\"\\\$]*) 13164 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 13165 ;; 13166 *) 13167 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13168 ;; 13169 esac 13170done 13171 13172# Double-quote double-evaled strings. 13173for var in reload_cmds \ 13174old_postinstall_cmds \ 13175old_postuninstall_cmds \ 13176old_archive_cmds \ 13177extract_expsyms_cmds \ 13178old_archive_from_new_cmds \ 13179old_archive_from_expsyms_cmds \ 13180archive_cmds \ 13181archive_expsym_cmds \ 13182module_cmds \ 13183module_expsym_cmds \ 13184export_symbols_cmds \ 13185prelink_cmds \ 13186postinstall_cmds \ 13187postuninstall_cmds \ 13188finish_cmds \ 13189sys_lib_search_path_spec \ 13190sys_lib_dlsearch_path_spec; do 13191 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 13192 *[\\\\\\\`\\"\\\$]*) 13193 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 13194 ;; 13195 *) 13196 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13197 ;; 13198 esac 13199done 13200 13201# Fix-up fallback echo if it was mangled by the above quoting rules. 13202case \$lt_ECHO in 13203*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` 13204 ;; 13205esac 13206 13207ac_aux_dir='$ac_aux_dir' 13208xsi_shell='$xsi_shell' 13209lt_shell_append='$lt_shell_append' 13210 13211# See if we are running on zsh, and set the options which allow our 13212# commands through without removal of \ escapes INIT. 13213if test -n "\${ZSH_VERSION+set}" ; then 13214 setopt NO_GLOB_SUBST 13215fi 13216 13217 13218 PACKAGE='$PACKAGE' 13219 VERSION='$VERSION' 13220 TIMESTAMP='$TIMESTAMP' 13221 RM='$RM' 13222 ofile='$ofile' 13223 13224 13225 13226 13227_ACEOF 13228 13229cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13230 13231# Handling of arguments. 13232for ac_config_target in $ac_config_targets 13233do 13234 case $ac_config_target in 13235 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 13236 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 13237 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 13238 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 13239 "doc/html/Makefile") CONFIG_FILES="$CONFIG_FILES doc/html/Makefile" ;; 13240 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; 13241 "include/dvdid/Makefile") CONFIG_FILES="$CONFIG_FILES include/dvdid/Makefile" ;; 13242 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; 13243 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 13244 "src/dvdid/Makefile") CONFIG_FILES="$CONFIG_FILES src/dvdid/Makefile" ;; 13245 "src/libdvdid/Makefile") CONFIG_FILES="$CONFIG_FILES src/libdvdid/Makefile" ;; 13246 13247 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 13248$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 13249 { (exit 1); exit 1; }; };; 13250 esac 13251done 13252 13253 13254# If the user did not use the arguments to specify the items to instantiate, 13255# then the envvar interface is used. Set only those that are not. 13256# We use the long form for the default assignment because of an extremely 13257# bizarre bug on SunOS 4.1.3. 13258if $ac_need_defaults; then 13259 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 13260 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 13261fi 13262 13263# Have a temporary directory for convenience. Make it in the build tree 13264# simply because there is no reason against having it here, and in addition, 13265# creating and moving files from /tmp can sometimes cause problems. 13266# Hook for its removal unless debugging. 13267# Note that there is a small window in which the directory will not be cleaned: 13268# after its creation but before its name has been assigned to `$tmp'. 13269$debug || 13270{ 13271 tmp= 13272 trap 'exit_status=$? 13273 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 13274' 0 13275 trap '{ (exit 1); exit 1; }' 1 2 13 15 13276} 13277# Create a (secure) tmp directory for tmp files. 13278 13279{ 13280 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 13281 test -n "$tmp" && test -d "$tmp" 13282} || 13283{ 13284 tmp=./conf$$-$RANDOM 13285 (umask 077 && mkdir "$tmp") 13286} || 13287{ 13288 $as_echo "$as_me: cannot create a temporary directory in ." >&2 13289 { (exit 1); exit 1; } 13290} 13291 13292# Set up the scripts for CONFIG_FILES section. 13293# No need to generate them if there are no CONFIG_FILES. 13294# This happens for instance with `./config.status config.h'. 13295if test -n "$CONFIG_FILES"; then 13296 13297 13298ac_cr=' 13299' 13300ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 13301if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 13302 ac_cs_awk_cr='\\r' 13303else 13304 ac_cs_awk_cr=$ac_cr 13305fi 13306 13307echo 'BEGIN {' >"$tmp/subs1.awk" && 13308_ACEOF 13309 13310 13311{ 13312 echo "cat >conf$$subs.awk <<_ACEOF" && 13313 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 13314 echo "_ACEOF" 13315} >conf$$subs.sh || 13316 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 13317$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 13318 { (exit 1); exit 1; }; } 13319ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 13320ac_delim='%!_!# ' 13321for ac_last_try in false false false false false :; do 13322 . ./conf$$subs.sh || 13323 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 13324$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 13325 { (exit 1); exit 1; }; } 13326 13327 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then 13328 break 13329 elif $ac_last_try; then 13330 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 13331$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 13332 { (exit 1); exit 1; }; } 13333 else 13334 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13335 fi 13336done 13337rm -f conf$$subs.sh 13338 13339cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13340cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 13341_ACEOF 13342sed -n ' 13343h 13344s/^/S["/; s/!.*/"]=/ 13345p 13346g 13347s/^[^!]*!// 13348:repl 13349t repl 13350s/'"$ac_delim"'$// 13351t delim 13352:nl 13353h 13354s/\(.\{148\}\).*/\1/ 13355t more1 13356s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 13357p 13358n 13359b repl 13360:more1 13361s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13362p 13363g 13364s/.\{148\}// 13365t nl 13366:delim 13367h 13368s/\(.\{148\}\).*/\1/ 13369t more2 13370s/["\\]/\\&/g; s/^/"/; s/$/"/ 13371p 13372b 13373:more2 13374s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13375p 13376g 13377s/.\{148\}// 13378t delim 13379' <conf$$subs.awk | sed ' 13380/^[^""]/{ 13381 N 13382 s/\n// 13383} 13384' >>$CONFIG_STATUS || ac_write_fail=1 13385rm -f conf$$subs.awk 13386cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13387_ACAWK 13388cat >>"\$tmp/subs1.awk" <<_ACAWK && 13389 for (key in S) S_is_set[key] = 1 13390 FS = "" 13391 13392} 13393{ 13394 line = $ 0 13395 nfields = split(line, field, "@") 13396 substed = 0 13397 len = length(field[1]) 13398 for (i = 2; i < nfields; i++) { 13399 key = field[i] 13400 keylen = length(key) 13401 if (S_is_set[key]) { 13402 value = S[key] 13403 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 13404 len += length(value) + length(field[++i]) 13405 substed = 1 13406 } else 13407 len += 1 + keylen 13408 } 13409 13410 print line 13411} 13412 13413_ACAWK 13414_ACEOF 13415cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13416if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 13417 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 13418else 13419 cat 13420fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 13421 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 13422$as_echo "$as_me: error: could not setup config files machinery" >&2;} 13423 { (exit 1); exit 1; }; } 13424_ACEOF 13425 13426# VPATH may cause trouble with some makes, so we remove $(srcdir), 13427# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 13428# trailing colons and then remove the whole line if VPATH becomes empty 13429# (actually we leave an empty line to preserve line numbers). 13430if test "x$srcdir" = x.; then 13431 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 13432s/:*\$(srcdir):*/:/ 13433s/:*\${srcdir}:*/:/ 13434s/:*@srcdir@:*/:/ 13435s/^\([^=]*=[ ]*\):*/\1/ 13436s/:*$// 13437s/^[^=]*=[ ]*$// 13438}' 13439fi 13440 13441cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13442fi # test -n "$CONFIG_FILES" 13443 13444 13445eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 13446shift 13447for ac_tag 13448do 13449 case $ac_tag in 13450 :[FHLC]) ac_mode=$ac_tag; continue;; 13451 esac 13452 case $ac_mode$ac_tag in 13453 :[FHL]*:*);; 13454 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 13455$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;} 13456 { (exit 1); exit 1; }; };; 13457 :[FH]-) ac_tag=-:-;; 13458 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 13459 esac 13460 ac_save_IFS=$IFS 13461 IFS=: 13462 set x $ac_tag 13463 IFS=$ac_save_IFS 13464 shift 13465 ac_file=$1 13466 shift 13467 13468 case $ac_mode in 13469 :L) ac_source=$1;; 13470 :[FH]) 13471 ac_file_inputs= 13472 for ac_f 13473 do 13474 case $ac_f in 13475 -) ac_f="$tmp/stdin";; 13476 *) # Look for the file first in the build tree, then in the source tree 13477 # (if the path is not absolute). The absolute path cannot be DOS-style, 13478 # because $ac_f cannot contain `:'. 13479 test -f "$ac_f" || 13480 case $ac_f in 13481 [\\/$]*) false;; 13482 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 13483 esac || 13484 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 13485$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 13486 { (exit 1); exit 1; }; };; 13487 esac 13488 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 13489 ac_file_inputs="$ac_file_inputs '$ac_f'" 13490 done 13491 13492 # Let's still pretend it is `configure' which instantiates (i.e., don't 13493 # use $as_me), people would be surprised to read: 13494 # /* config.h. Generated by config.status. */ 13495 configure_input='Generated from '` 13496 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 13497 `' by configure.' 13498 if test x"$ac_file" != x-; then 13499 configure_input="$ac_file. $configure_input" 13500 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 13501$as_echo "$as_me: creating $ac_file" >&6;} 13502 fi 13503 # Neutralize special characters interpreted by sed in replacement strings. 13504 case $configure_input in #( 13505 *\&* | *\|* | *\\* ) 13506 ac_sed_conf_input=`$as_echo "$configure_input" | 13507 sed 's/[\\\\&|]/\\\\&/g'`;; #( 13508 *) ac_sed_conf_input=$configure_input;; 13509 esac 13510 13511 case $ac_tag in 13512 *:-:* | *:-) cat >"$tmp/stdin" \ 13513 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 13514$as_echo "$as_me: error: could not create $ac_file" >&2;} 13515 { (exit 1); exit 1; }; } ;; 13516 esac 13517 ;; 13518 esac 13519 13520 ac_dir=`$as_dirname -- "$ac_file" || 13521$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13522 X"$ac_file" : 'X\(//\)[^/]' \| \ 13523 X"$ac_file" : 'X\(//\)$' \| \ 13524 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 13525$as_echo X"$ac_file" | 13526 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13527 s//\1/ 13528 q 13529 } 13530 /^X\(\/\/\)[^/].*/{ 13531 s//\1/ 13532 q 13533 } 13534 /^X\(\/\/\)$/{ 13535 s//\1/ 13536 q 13537 } 13538 /^X\(\/\).*/{ 13539 s//\1/ 13540 q 13541 } 13542 s/.*/./; q'` 13543 { as_dir="$ac_dir" 13544 case $as_dir in #( 13545 -*) as_dir=./$as_dir;; 13546 esac 13547 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 13548 as_dirs= 13549 while :; do 13550 case $as_dir in #( 13551 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 13552 *) as_qdir=$as_dir;; 13553 esac 13554 as_dirs="'$as_qdir' $as_dirs" 13555 as_dir=`$as_dirname -- "$as_dir" || 13556$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13557 X"$as_dir" : 'X\(//\)[^/]' \| \ 13558 X"$as_dir" : 'X\(//\)$' \| \ 13559 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 13560$as_echo X"$as_dir" | 13561 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13562 s//\1/ 13563 q 13564 } 13565 /^X\(\/\/\)[^/].*/{ 13566 s//\1/ 13567 q 13568 } 13569 /^X\(\/\/\)$/{ 13570 s//\1/ 13571 q 13572 } 13573 /^X\(\/\).*/{ 13574 s//\1/ 13575 q 13576 } 13577 s/.*/./; q'` 13578 test -d "$as_dir" && break 13579 done 13580 test -z "$as_dirs" || eval "mkdir $as_dirs" 13581 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 13582$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 13583 { (exit 1); exit 1; }; }; } 13584 ac_builddir=. 13585 13586case "$ac_dir" in 13587.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 13588*) 13589 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 13590 # A ".." for each directory in $ac_dir_suffix. 13591 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 13592 case $ac_top_builddir_sub in 13593 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 13594 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 13595 esac ;; 13596esac 13597ac_abs_top_builddir=$ac_pwd 13598ac_abs_builddir=$ac_pwd$ac_dir_suffix 13599# for backward compatibility: 13600ac_top_builddir=$ac_top_build_prefix 13601 13602case $srcdir in 13603 .) # We are building in place. 13604 ac_srcdir=. 13605 ac_top_srcdir=$ac_top_builddir_sub 13606 ac_abs_top_srcdir=$ac_pwd ;; 13607 [\\/]* | ?:[\\/]* ) # Absolute name. 13608 ac_srcdir=$srcdir$ac_dir_suffix; 13609 ac_top_srcdir=$srcdir 13610 ac_abs_top_srcdir=$srcdir ;; 13611 *) # Relative name. 13612 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 13613 ac_top_srcdir=$ac_top_build_prefix$srcdir 13614 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 13615esac 13616ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 13617 13618 13619 case $ac_mode in 13620 :F) 13621 # 13622 # CONFIG_FILE 13623 # 13624 13625 case $INSTALL in 13626 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 13627 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 13628 esac 13629 ac_MKDIR_P=$MKDIR_P 13630 case $MKDIR_P in 13631 [\\/$]* | ?:[\\/]* ) ;; 13632 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 13633 esac 13634_ACEOF 13635 13636cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13637# If the template does not know about datarootdir, expand it. 13638# FIXME: This hack should be removed a few years after 2.60. 13639ac_datarootdir_hack=; ac_datarootdir_seen= 13640 13641ac_sed_dataroot=' 13642/datarootdir/ { 13643 p 13644 q 13645} 13646/@datadir@/p 13647/@docdir@/p 13648/@infodir@/p 13649/@localedir@/p 13650/@mandir@/p 13651' 13652case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 13653*datarootdir*) ac_datarootdir_seen=yes;; 13654*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 13655 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 13656$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 13657_ACEOF 13658cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13659 ac_datarootdir_hack=' 13660 s&@datadir@&$datadir&g 13661 s&@docdir@&$docdir&g 13662 s&@infodir@&$infodir&g 13663 s&@localedir@&$localedir&g 13664 s&@mandir@&$mandir&g 13665 s&\\\${datarootdir}&$datarootdir&g' ;; 13666esac 13667_ACEOF 13668 13669# Neutralize VPATH when `$srcdir' = `.'. 13670# Shell code in configure.ac might set extrasub. 13671# FIXME: do we really want to maintain this feature? 13672cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13673ac_sed_extra="$ac_vpsub 13674$extrasub 13675_ACEOF 13676cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13677:t 13678/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 13679s|@configure_input@|$ac_sed_conf_input|;t t 13680s&@top_builddir@&$ac_top_builddir_sub&;t t 13681s&@top_build_prefix@&$ac_top_build_prefix&;t t 13682s&@srcdir@&$ac_srcdir&;t t 13683s&@abs_srcdir@&$ac_abs_srcdir&;t t 13684s&@top_srcdir@&$ac_top_srcdir&;t t 13685s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 13686s&@builddir@&$ac_builddir&;t t 13687s&@abs_builddir@&$ac_abs_builddir&;t t 13688s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 13689s&@INSTALL@&$ac_INSTALL&;t t 13690s&@MKDIR_P@&$ac_MKDIR_P&;t t 13691$ac_datarootdir_hack 13692" 13693eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 13694 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 13695$as_echo "$as_me: error: could not create $ac_file" >&2;} 13696 { (exit 1); exit 1; }; } 13697 13698test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 13699 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 13700 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 13701 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13702which seems to be undefined. Please make sure it is defined." >&5 13703$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13704which seems to be undefined. Please make sure it is defined." >&2;} 13705 13706 rm -f "$tmp/stdin" 13707 case $ac_file in 13708 -) cat "$tmp/out" && rm -f "$tmp/out";; 13709 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 13710 esac \ 13711 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 13712$as_echo "$as_me: error: could not create $ac_file" >&2;} 13713 { (exit 1); exit 1; }; } 13714 ;; 13715 13716 13717 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 13718$as_echo "$as_me: executing $ac_file commands" >&6;} 13719 ;; 13720 esac 13721 13722 13723 case $ac_file$ac_mode in 13724 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 13725 # Strip MF so we end up with the name of the file. 13726 mf=`echo "$mf" | sed -e 's/:.*$//'` 13727 # Check whether this is an Automake generated Makefile or not. 13728 # We used to match only the files named `Makefile.in', but 13729 # some people rename them; so instead we look at the file content. 13730 # Grep'ing the first line is not enough: some people post-process 13731 # each Makefile.in and add a new line on top of each file to say so. 13732 # Grep'ing the whole file is not good either: AIX grep has a line 13733 # limit of 2048, but all sed's we know have understand at least 4000. 13734 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 13735 dirpart=`$as_dirname -- "$mf" || 13736$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13737 X"$mf" : 'X\(//\)[^/]' \| \ 13738 X"$mf" : 'X\(//\)$' \| \ 13739 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 13740$as_echo X"$mf" | 13741 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13742 s//\1/ 13743 q 13744 } 13745 /^X\(\/\/\)[^/].*/{ 13746 s//\1/ 13747 q 13748 } 13749 /^X\(\/\/\)$/{ 13750 s//\1/ 13751 q 13752 } 13753 /^X\(\/\).*/{ 13754 s//\1/ 13755 q 13756 } 13757 s/.*/./; q'` 13758 else 13759 continue 13760 fi 13761 # Extract the definition of DEPDIR, am__include, and am__quote 13762 # from the Makefile without running `make'. 13763 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 13764 test -z "$DEPDIR" && continue 13765 am__include=`sed -n 's/^am__include = //p' < "$mf"` 13766 test -z "am__include" && continue 13767 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 13768 # When using ansi2knr, U may be empty or an underscore; expand it 13769 U=`sed -n 's/^U = //p' < "$mf"` 13770 # Find all dependency output files, they are included files with 13771 # $(DEPDIR) in their names. We invoke sed twice because it is the 13772 # simplest approach to changing $(DEPDIR) to its actual value in the 13773 # expansion. 13774 for file in `sed -n " 13775 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 13776 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 13777 # Make sure the directory exists. 13778 test -f "$dirpart/$file" && continue 13779 fdir=`$as_dirname -- "$file" || 13780$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13781 X"$file" : 'X\(//\)[^/]' \| \ 13782 X"$file" : 'X\(//\)$' \| \ 13783 X"$file" : 'X\(/\)' \| . 2>/dev/null || 13784$as_echo X"$file" | 13785 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13786 s//\1/ 13787 q 13788 } 13789 /^X\(\/\/\)[^/].*/{ 13790 s//\1/ 13791 q 13792 } 13793 /^X\(\/\/\)$/{ 13794 s//\1/ 13795 q 13796 } 13797 /^X\(\/\).*/{ 13798 s//\1/ 13799 q 13800 } 13801 s/.*/./; q'` 13802 { as_dir=$dirpart/$fdir 13803 case $as_dir in #( 13804 -*) as_dir=./$as_dir;; 13805 esac 13806 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 13807 as_dirs= 13808 while :; do 13809 case $as_dir in #( 13810 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 13811 *) as_qdir=$as_dir;; 13812 esac 13813 as_dirs="'$as_qdir' $as_dirs" 13814 as_dir=`$as_dirname -- "$as_dir" || 13815$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13816 X"$as_dir" : 'X\(//\)[^/]' \| \ 13817 X"$as_dir" : 'X\(//\)$' \| \ 13818 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 13819$as_echo X"$as_dir" | 13820 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13821 s//\1/ 13822 q 13823 } 13824 /^X\(\/\/\)[^/].*/{ 13825 s//\1/ 13826 q 13827 } 13828 /^X\(\/\/\)$/{ 13829 s//\1/ 13830 q 13831 } 13832 /^X\(\/\).*/{ 13833 s//\1/ 13834 q 13835 } 13836 s/.*/./; q'` 13837 test -d "$as_dir" && break 13838 done 13839 test -z "$as_dirs" || eval "mkdir $as_dirs" 13840 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 13841$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 13842 { (exit 1); exit 1; }; }; } 13843 # echo "creating $dirpart/$file" 13844 echo '# dummy' > "$dirpart/$file" 13845 done 13846done 13847 ;; 13848 "libtool":C) 13849 13850 # See if we are running on zsh, and set the options which allow our 13851 # commands through without removal of \ escapes. 13852 if test -n "${ZSH_VERSION+set}" ; then 13853 setopt NO_GLOB_SUBST 13854 fi 13855 13856 cfgfile="${ofile}T" 13857 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 13858 $RM "$cfgfile" 13859 13860 cat <<_LT_EOF >> "$cfgfile" 13861#! $SHELL 13862 13863# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 13864# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 13865# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 13866# NOTE: Changes made to this file will be lost: look at ltmain.sh. 13867# 13868# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 13869# 2006, 2007, 2008 Free Software Foundation, Inc. 13870# Written by Gordon Matzigkeit, 1996 13871# 13872# This file is part of GNU Libtool. 13873# 13874# GNU Libtool is free software; you can redistribute it and/or 13875# modify it under the terms of the GNU General Public License as 13876# published by the Free Software Foundation; either version 2 of 13877# the License, or (at your option) any later version. 13878# 13879# As a special exception to the GNU General Public License, 13880# if you distribute this file as part of a program or library that 13881# is built using GNU Libtool, you may include this file under the 13882# same distribution terms that you use for the rest of that program. 13883# 13884# GNU Libtool is distributed in the hope that it will be useful, 13885# but WITHOUT ANY WARRANTY; without even the implied warranty of 13886# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13887# GNU General Public License for more details. 13888# 13889# You should have received a copy of the GNU General Public License 13890# along with GNU Libtool; see the file COPYING. If not, a copy 13891# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 13892# obtained by writing to the Free Software Foundation, Inc., 13893# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 13894 13895 13896# The names of the tagged configurations supported by this script. 13897available_tags="" 13898 13899# ### BEGIN LIBTOOL CONFIG 13900 13901# Which release of libtool.m4 was used? 13902macro_version=$macro_version 13903macro_revision=$macro_revision 13904 13905# Whether or not to build shared libraries. 13906build_libtool_libs=$enable_shared 13907 13908# Whether or not to build static libraries. 13909build_old_libs=$enable_static 13910 13911# What type of objects to build. 13912pic_mode=$pic_mode 13913 13914# Whether or not to optimize for fast installation. 13915fast_install=$enable_fast_install 13916 13917# The host system. 13918host_alias=$host_alias 13919host=$host 13920host_os=$host_os 13921 13922# The build system. 13923build_alias=$build_alias 13924build=$build 13925build_os=$build_os 13926 13927# A sed program that does not truncate output. 13928SED=$lt_SED 13929 13930# Sed that helps us avoid accidentally triggering echo(1) options like -n. 13931Xsed="\$SED -e 1s/^X//" 13932 13933# A grep program that handles long lines. 13934GREP=$lt_GREP 13935 13936# An ERE matcher. 13937EGREP=$lt_EGREP 13938 13939# A literal string matcher. 13940FGREP=$lt_FGREP 13941 13942# A BSD- or MS-compatible name lister. 13943NM=$lt_NM 13944 13945# Whether we need soft or hard links. 13946LN_S=$lt_LN_S 13947 13948# What is the maximum length of a command? 13949max_cmd_len=$max_cmd_len 13950 13951# Object file suffix (normally "o"). 13952objext=$ac_objext 13953 13954# Executable file suffix (normally ""). 13955exeext=$exeext 13956 13957# whether the shell understands "unset". 13958lt_unset=$lt_unset 13959 13960# turn spaces into newlines. 13961SP2NL=$lt_lt_SP2NL 13962 13963# turn newlines into spaces. 13964NL2SP=$lt_lt_NL2SP 13965 13966# How to create reloadable object files. 13967reload_flag=$lt_reload_flag 13968reload_cmds=$lt_reload_cmds 13969 13970# An object symbol dumper. 13971OBJDUMP=$lt_OBJDUMP 13972 13973# Method to check whether dependent libraries are shared objects. 13974deplibs_check_method=$lt_deplibs_check_method 13975 13976# Command to use when deplibs_check_method == "file_magic". 13977file_magic_cmd=$lt_file_magic_cmd 13978 13979# The archiver. 13980AR=$lt_AR 13981AR_FLAGS=$lt_AR_FLAGS 13982 13983# A symbol stripping program. 13984STRIP=$lt_STRIP 13985 13986# Commands used to install an old-style archive. 13987RANLIB=$lt_RANLIB 13988old_postinstall_cmds=$lt_old_postinstall_cmds 13989old_postuninstall_cmds=$lt_old_postuninstall_cmds 13990 13991# A C compiler. 13992LTCC=$lt_CC 13993 13994# LTCC compiler flags. 13995LTCFLAGS=$lt_CFLAGS 13996 13997# Take the output of nm and produce a listing of raw symbols and C names. 13998global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 13999 14000# Transform the output of nm in a proper C declaration. 14001global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 14002 14003# Transform the output of nm in a C name address pair. 14004global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 14005 14006# Transform the output of nm in a C name address pair when lib prefix is needed. 14007global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 14008 14009# The name of the directory that contains temporary libtool files. 14010objdir=$objdir 14011 14012# Shell to use when invoking shell scripts. 14013SHELL=$lt_SHELL 14014 14015# An echo program that does not interpret backslashes. 14016ECHO=$lt_ECHO 14017 14018# Used to examine libraries when file_magic_cmd begins with "file". 14019MAGIC_CMD=$MAGIC_CMD 14020 14021# Must we lock files when doing compilation? 14022need_locks=$lt_need_locks 14023 14024# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 14025DSYMUTIL=$lt_DSYMUTIL 14026 14027# Tool to change global to local symbols on Mac OS X. 14028NMEDIT=$lt_NMEDIT 14029 14030# Tool to manipulate fat objects and archives on Mac OS X. 14031LIPO=$lt_LIPO 14032 14033# ldd/readelf like tool for Mach-O binaries on Mac OS X. 14034OTOOL=$lt_OTOOL 14035 14036# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 14037OTOOL64=$lt_OTOOL64 14038 14039# Old archive suffix (normally "a"). 14040libext=$libext 14041 14042# Shared library suffix (normally ".so"). 14043shrext_cmds=$lt_shrext_cmds 14044 14045# The commands to extract the exported symbol list from a shared archive. 14046extract_expsyms_cmds=$lt_extract_expsyms_cmds 14047 14048# Variables whose values should be saved in libtool wrapper scripts and 14049# restored at link time. 14050variables_saved_for_relink=$lt_variables_saved_for_relink 14051 14052# Do we need the "lib" prefix for modules? 14053need_lib_prefix=$need_lib_prefix 14054 14055# Do we need a version for libraries? 14056need_version=$need_version 14057 14058# Library versioning type. 14059version_type=$version_type 14060 14061# Shared library runtime path variable. 14062runpath_var=$runpath_var 14063 14064# Shared library path variable. 14065shlibpath_var=$shlibpath_var 14066 14067# Is shlibpath searched before the hard-coded library search path? 14068shlibpath_overrides_runpath=$shlibpath_overrides_runpath 14069 14070# Format of library name prefix. 14071libname_spec=$lt_libname_spec 14072 14073# List of archive names. First name is the real one, the rest are links. 14074# The last name is the one that the linker finds with -lNAME 14075library_names_spec=$lt_library_names_spec 14076 14077# The coded name of the library, if different from the real name. 14078soname_spec=$lt_soname_spec 14079 14080# Command to use after installation of a shared archive. 14081postinstall_cmds=$lt_postinstall_cmds 14082 14083# Command to use after uninstallation of a shared archive. 14084postuninstall_cmds=$lt_postuninstall_cmds 14085 14086# Commands used to finish a libtool library installation in a directory. 14087finish_cmds=$lt_finish_cmds 14088 14089# As "finish_cmds", except a single script fragment to be evaled but 14090# not shown. 14091finish_eval=$lt_finish_eval 14092 14093# Whether we should hardcode library paths into libraries. 14094hardcode_into_libs=$hardcode_into_libs 14095 14096# Compile-time system search path for libraries. 14097sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 14098 14099# Run-time system search path for libraries. 14100sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 14101 14102# Whether dlopen is supported. 14103dlopen_support=$enable_dlopen 14104 14105# Whether dlopen of programs is supported. 14106dlopen_self=$enable_dlopen_self 14107 14108# Whether dlopen of statically linked programs is supported. 14109dlopen_self_static=$enable_dlopen_self_static 14110 14111# Commands to strip libraries. 14112old_striplib=$lt_old_striplib 14113striplib=$lt_striplib 14114 14115 14116# The linker used to build libraries. 14117LD=$lt_LD 14118 14119# Commands used to build an old-style archive. 14120old_archive_cmds=$lt_old_archive_cmds 14121 14122# A language specific compiler. 14123CC=$lt_compiler 14124 14125# Is the compiler the GNU compiler? 14126with_gcc=$GCC 14127 14128# Compiler flag to turn off builtin functions. 14129no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 14130 14131# How to pass a linker flag through the compiler. 14132wl=$lt_lt_prog_compiler_wl 14133 14134# Additional compiler flags for building library objects. 14135pic_flag=$lt_lt_prog_compiler_pic 14136 14137# Compiler flag to prevent dynamic linking. 14138link_static_flag=$lt_lt_prog_compiler_static 14139 14140# Does compiler simultaneously support -c and -o options? 14141compiler_c_o=$lt_lt_cv_prog_compiler_c_o 14142 14143# Whether or not to add -lc for building shared libraries. 14144build_libtool_need_lc=$archive_cmds_need_lc 14145 14146# Whether or not to disallow shared libs when runtime libs are static. 14147allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 14148 14149# Compiler flag to allow reflexive dlopens. 14150export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 14151 14152# Compiler flag to generate shared objects directly from archives. 14153whole_archive_flag_spec=$lt_whole_archive_flag_spec 14154 14155# Whether the compiler copes with passing no objects directly. 14156compiler_needs_object=$lt_compiler_needs_object 14157 14158# Create an old-style archive from a shared archive. 14159old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 14160 14161# Create a temporary old-style archive to link instead of a shared archive. 14162old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 14163 14164# Commands used to build a shared archive. 14165archive_cmds=$lt_archive_cmds 14166archive_expsym_cmds=$lt_archive_expsym_cmds 14167 14168# Commands used to build a loadable module if different from building 14169# a shared archive. 14170module_cmds=$lt_module_cmds 14171module_expsym_cmds=$lt_module_expsym_cmds 14172 14173# Whether we are building with GNU ld or not. 14174with_gnu_ld=$lt_with_gnu_ld 14175 14176# Flag that allows shared libraries with undefined symbols to be built. 14177allow_undefined_flag=$lt_allow_undefined_flag 14178 14179# Flag that enforces no undefined symbols. 14180no_undefined_flag=$lt_no_undefined_flag 14181 14182# Flag to hardcode \$libdir into a binary during linking. 14183# This must work even if \$libdir does not exist 14184hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 14185 14186# If ld is used when linking, flag to hardcode \$libdir into a binary 14187# during linking. This must work even if \$libdir does not exist. 14188hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 14189 14190# Whether we need a single "-rpath" flag with a separated argument. 14191hardcode_libdir_separator=$lt_hardcode_libdir_separator 14192 14193# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 14194# DIR into the resulting binary. 14195hardcode_direct=$hardcode_direct 14196 14197# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 14198# DIR into the resulting binary and the resulting library dependency is 14199# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 14200# library is relocated. 14201hardcode_direct_absolute=$hardcode_direct_absolute 14202 14203# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 14204# into the resulting binary. 14205hardcode_minus_L=$hardcode_minus_L 14206 14207# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 14208# into the resulting binary. 14209hardcode_shlibpath_var=$hardcode_shlibpath_var 14210 14211# Set to "yes" if building a shared library automatically hardcodes DIR 14212# into the library and all subsequent libraries and executables linked 14213# against it. 14214hardcode_automatic=$hardcode_automatic 14215 14216# Set to yes if linker adds runtime paths of dependent libraries 14217# to runtime path list. 14218inherit_rpath=$inherit_rpath 14219 14220# Whether libtool must link a program against all its dependency libraries. 14221link_all_deplibs=$link_all_deplibs 14222 14223# Fix the shell variable \$srcfile for the compiler. 14224fix_srcfile_path=$lt_fix_srcfile_path 14225 14226# Set to "yes" if exported symbols are required. 14227always_export_symbols=$always_export_symbols 14228 14229# The commands to list exported symbols. 14230export_symbols_cmds=$lt_export_symbols_cmds 14231 14232# Symbols that should not be listed in the preloaded symbols. 14233exclude_expsyms=$lt_exclude_expsyms 14234 14235# Symbols that must always be exported. 14236include_expsyms=$lt_include_expsyms 14237 14238# Commands necessary for linking programs (against libraries) with templates. 14239prelink_cmds=$lt_prelink_cmds 14240 14241# Specify filename containing input files. 14242file_list_spec=$lt_file_list_spec 14243 14244# How to hardcode a shared library path into an executable. 14245hardcode_action=$hardcode_action 14246 14247# ### END LIBTOOL CONFIG 14248 14249_LT_EOF 14250 14251 case $host_os in 14252 aix3*) 14253 cat <<\_LT_EOF >> "$cfgfile" 14254# AIX sometimes has problems with the GCC collect2 program. For some 14255# reason, if we set the COLLECT_NAMES environment variable, the problems 14256# vanish in a puff of smoke. 14257if test "X${COLLECT_NAMES+set}" != Xset; then 14258 COLLECT_NAMES= 14259 export COLLECT_NAMES 14260fi 14261_LT_EOF 14262 ;; 14263 esac 14264 14265 14266ltmain="$ac_aux_dir/ltmain.sh" 14267 14268 14269 # We use sed instead of cat because bash on DJGPP gets confused if 14270 # if finds mixed CR/LF and LF-only lines. Since sed operates in 14271 # text mode, it properly converts lines to CR/LF. This bash problem 14272 # is reportedly fixed, but why not run on old versions too? 14273 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ 14274 || (rm -f "$cfgfile"; exit 1) 14275 14276 case $xsi_shell in 14277 yes) 14278 cat << \_LT_EOF >> "$cfgfile" 14279 14280# func_dirname file append nondir_replacement 14281# Compute the dirname of FILE. If nonempty, add APPEND to the result, 14282# otherwise set result to NONDIR_REPLACEMENT. 14283func_dirname () 14284{ 14285 case ${1} in 14286 */*) func_dirname_result="${1%/*}${2}" ;; 14287 * ) func_dirname_result="${3}" ;; 14288 esac 14289} 14290 14291# func_basename file 14292func_basename () 14293{ 14294 func_basename_result="${1##*/}" 14295} 14296 14297# func_dirname_and_basename file append nondir_replacement 14298# perform func_basename and func_dirname in a single function 14299# call: 14300# dirname: Compute the dirname of FILE. If nonempty, 14301# add APPEND to the result, otherwise set result 14302# to NONDIR_REPLACEMENT. 14303# value returned in "$func_dirname_result" 14304# basename: Compute filename of FILE. 14305# value retuned in "$func_basename_result" 14306# Implementation must be kept synchronized with func_dirname 14307# and func_basename. For efficiency, we do not delegate to 14308# those functions but instead duplicate the functionality here. 14309func_dirname_and_basename () 14310{ 14311 case ${1} in 14312 */*) func_dirname_result="${1%/*}${2}" ;; 14313 * ) func_dirname_result="${3}" ;; 14314 esac 14315 func_basename_result="${1##*/}" 14316} 14317 14318# func_stripname prefix suffix name 14319# strip PREFIX and SUFFIX off of NAME. 14320# PREFIX and SUFFIX must not contain globbing or regex special 14321# characters, hashes, percent signs, but SUFFIX may contain a leading 14322# dot (in which case that matches only a dot). 14323func_stripname () 14324{ 14325 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are 14326 # positional parameters, so assign one to ordinary parameter first. 14327 func_stripname_result=${3} 14328 func_stripname_result=${func_stripname_result#"${1}"} 14329 func_stripname_result=${func_stripname_result%"${2}"} 14330} 14331 14332# func_opt_split 14333func_opt_split () 14334{ 14335 func_opt_split_opt=${1%%=*} 14336 func_opt_split_arg=${1#*=} 14337} 14338 14339# func_lo2o object 14340func_lo2o () 14341{ 14342 case ${1} in 14343 *.lo) func_lo2o_result=${1%.lo}.${objext} ;; 14344 *) func_lo2o_result=${1} ;; 14345 esac 14346} 14347 14348# func_xform libobj-or-source 14349func_xform () 14350{ 14351 func_xform_result=${1%.*}.lo 14352} 14353 14354# func_arith arithmetic-term... 14355func_arith () 14356{ 14357 func_arith_result=$(( $* )) 14358} 14359 14360# func_len string 14361# STRING may not start with a hyphen. 14362func_len () 14363{ 14364 func_len_result=${#1} 14365} 14366 14367_LT_EOF 14368 ;; 14369 *) # Bourne compatible functions. 14370 cat << \_LT_EOF >> "$cfgfile" 14371 14372# func_dirname file append nondir_replacement 14373# Compute the dirname of FILE. If nonempty, add APPEND to the result, 14374# otherwise set result to NONDIR_REPLACEMENT. 14375func_dirname () 14376{ 14377 # Extract subdirectory from the argument. 14378 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` 14379 if test "X$func_dirname_result" = "X${1}"; then 14380 func_dirname_result="${3}" 14381 else 14382 func_dirname_result="$func_dirname_result${2}" 14383 fi 14384} 14385 14386# func_basename file 14387func_basename () 14388{ 14389 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` 14390} 14391 14392 14393# func_stripname prefix suffix name 14394# strip PREFIX and SUFFIX off of NAME. 14395# PREFIX and SUFFIX must not contain globbing or regex special 14396# characters, hashes, percent signs, but SUFFIX may contain a leading 14397# dot (in which case that matches only a dot). 14398# func_strip_suffix prefix name 14399func_stripname () 14400{ 14401 case ${2} in 14402 .*) func_stripname_result=`$ECHO "X${3}" \ 14403 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; 14404 *) func_stripname_result=`$ECHO "X${3}" \ 14405 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; 14406 esac 14407} 14408 14409# sed scripts: 14410my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' 14411my_sed_long_arg='1s/^-[^=]*=//' 14412 14413# func_opt_split 14414func_opt_split () 14415{ 14416 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` 14417 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` 14418} 14419 14420# func_lo2o object 14421func_lo2o () 14422{ 14423 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` 14424} 14425 14426# func_xform libobj-or-source 14427func_xform () 14428{ 14429 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` 14430} 14431 14432# func_arith arithmetic-term... 14433func_arith () 14434{ 14435 func_arith_result=`expr "$@"` 14436} 14437 14438# func_len string 14439# STRING may not start with a hyphen. 14440func_len () 14441{ 14442 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` 14443} 14444 14445_LT_EOF 14446esac 14447 14448case $lt_shell_append in 14449 yes) 14450 cat << \_LT_EOF >> "$cfgfile" 14451 14452# func_append var value 14453# Append VALUE to the end of shell variable VAR. 14454func_append () 14455{ 14456 eval "$1+=\$2" 14457} 14458_LT_EOF 14459 ;; 14460 *) 14461 cat << \_LT_EOF >> "$cfgfile" 14462 14463# func_append var value 14464# Append VALUE to the end of shell variable VAR. 14465func_append () 14466{ 14467 eval "$1=\$$1\$2" 14468} 14469 14470_LT_EOF 14471 ;; 14472 esac 14473 14474 14475 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ 14476 || (rm -f "$cfgfile"; exit 1) 14477 14478 mv -f "$cfgfile" "$ofile" || 14479 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 14480 chmod +x "$ofile" 14481 14482 ;; 14483 14484 esac 14485done # for ac_tag 14486 14487 14488{ (exit 0); exit 0; } 14489_ACEOF 14490chmod +x $CONFIG_STATUS 14491ac_clean_files=$ac_clean_files_save 14492 14493test $ac_write_fail = 0 || 14494 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 14495$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 14496 { (exit 1); exit 1; }; } 14497 14498 14499# configure is writing to config.log, and then calls config.status. 14500# config.status does its own redirection, appending to config.log. 14501# Unfortunately, on DOS this fails, as config.log is still kept open 14502# by configure, so config.status won't be able to write to it; its 14503# output is simply discarded. So we exec the FD to /dev/null, 14504# effectively closing config.log, so it can be properly (re)opened and 14505# appended to by config.status. When coming back to configure, we 14506# need to make the FD available again. 14507if test "$no_create" != yes; then 14508 ac_cs_success=: 14509 ac_config_status_args= 14510 test "$silent" = yes && 14511 ac_config_status_args="$ac_config_status_args --quiet" 14512 exec 5>/dev/null 14513 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 14514 exec 5>>config.log 14515 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 14516 # would make configure fail if this is the last instruction. 14517 $ac_cs_success || { (exit 1); exit 1; } 14518fi 14519if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 14520 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5 14521$as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;} 14522fi 14523 14524