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