1 #! /bin/sh 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.60. 4 # 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 7 # This configure script is free software; the Free Software Foundation 8 # gives unlimited permission to copy, distribute and modify it. 9 ## --------------------- ## 10 ## M4sh Initialization. ## 11 ## --------------------- ## 12 13 # Be Bourne compatible 14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 15 emulate sh 16 NULLCMD=: 17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 18 # is contrary to our usage. Disable this feature. 19 alias -g '${1+"$@"}'='"$@"' 20 setopt NO_GLOB_SUBST 21 else 22 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 23 fi 24 BIN_SH=xpg4; export BIN_SH # for Tru64 25 DUALCASE=1; export DUALCASE # for MKS sh 26 27 28 # PATH needs CR 29 # Avoid depending upon Character Ranges. 30 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 31 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 32 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 33 as_cr_digits='0123456789' 34 as_cr_alnum=$as_cr_Letters$as_cr_digits 35 36 # The user is always right. 37 if test "${PATH_SEPARATOR+set}" != set; then 38 echo "#! /bin/sh" >conf$$.sh 39 echo "exit 0" >>conf$$.sh 40 chmod +x conf$$.sh 41 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 42 PATH_SEPARATOR=';' 43 else 44 PATH_SEPARATOR=: 45 fi 46 rm -f conf$$.sh 47 fi 48 49 # Support unset when possible. 50 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 51 as_unset=unset 52 else 53 as_unset=false 54 fi 55 56 57 # IFS 58 # We need space, tab and new line, in precisely that order. Quoting is 59 # there to prevent editors from complaining about space-tab. 60 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 61 # splitting by setting IFS to empty value.) 62 as_nl=' 63 ' 64 IFS=" "" $as_nl" 65 66 # Find who we are. Look in the path if we contain no directory separator. 67 case $0 in 68 *[\\/]* ) as_myself=$0 ;; 69 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 70 for as_dir in $PATH 71 do 72 IFS=$as_save_IFS 73 test -z "$as_dir" && as_dir=. 74 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 75 done 76 IFS=$as_save_IFS 77 78 ;; 79 esac 80 # We did not find ourselves, most probably we were run as `sh COMMAND' 81 # in which case we are not to be found in the path. 82 if test "x$as_myself" = x; then 83 as_myself=$0 84 fi 85 if test ! -f "$as_myself"; then 86 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 87 { (exit 1); exit 1; } 88 fi 89 90 # Work around bugs in pre-3.0 UWIN ksh. 91 for as_var in ENV MAIL MAILPATH 92 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 93 done 94 PS1='$ ' 95 PS2='> ' 96 PS4='+ ' 97 98 # NLS nuisances. 99 for as_var in \ 100 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 101 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 102 LC_TELEPHONE LC_TIME 103 do 104 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 105 eval $as_var=C; export $as_var 106 else 107 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 108 fi 109 done 110 111 # Required to use basename. 112 if expr a : '\(a\)' >/dev/null 2>&1 && 113 test "X`expr 00001 : '.*\(...\)'`" = X001; then 114 as_expr=expr 115 else 116 as_expr=false 117 fi 118 119 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 120 as_basename=basename 121 else 122 as_basename=false 123 fi 124 125 126 # Name of the executable. 127 as_me=`$as_basename -- "$0" || 128 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 129 X"$0" : 'X\(//\)$' \| \ 130 X"$0" : 'X\(/\)' \| . 2>/dev/null || 131 echo X/"$0" | 132 sed '/^.*\/\([^/][^/]*\)\/*$/{ 133 s//\1/ 134 q 135 } 136 /^X\/\(\/\/\)$/{ 137 s//\1/ 138 q 139 } 140 /^X\/\(\/\).*/{ 141 s//\1/ 142 q 143 } 144 s/.*/./; q'` 145 146 # CDPATH. 147 $as_unset CDPATH 148 149 150 if test "x$CONFIG_SHELL" = x; then 151 if (eval ":") 2>/dev/null; then 152 as_have_required=yes 153 else 154 as_have_required=no 155 fi 156 157 if test $as_have_required = yes && (eval ": 158 (as_func_return () { 159 (exit \$1) 160 } 161 as_func_success () { 162 as_func_return 0 163 } 164 as_func_failure () { 165 as_func_return 1 166 } 167 as_func_ret_success () { 168 return 0 169 } 170 as_func_ret_failure () { 171 return 1 172 } 173 174 exitcode=0 175 if as_func_success; then 176 : 177 else 178 exitcode=1 179 echo as_func_success failed. 180 fi 181 182 if as_func_failure; then 183 exitcode=1 184 echo as_func_failure succeeded. 185 fi 186 187 if as_func_ret_success; then 188 : 189 else 190 exitcode=1 191 echo as_func_ret_success failed. 192 fi 193 194 if as_func_ret_failure; then 195 exitcode=1 196 echo as_func_ret_failure succeeded. 197 fi 198 199 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 200 : 201 else 202 exitcode=1 203 echo positional parameters were not saved. 204 fi 205 206 test \$exitcode = 0) || { (exit 1); exit 1; } 207 208 ( 209 as_lineno_1=\$LINENO 210 as_lineno_2=\$LINENO 211 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 212 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 213 ") 2> /dev/null; then 214 : 215 else 216 as_candidate_shells= 217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 218 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 219 do 220 IFS=$as_save_IFS 221 test -z "$as_dir" && as_dir=. 222 case $as_dir in 223 /*) 224 for as_base in sh bash ksh sh5; do 225 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 226 done;; 227 esac 228 done 229 IFS=$as_save_IFS 230 231 232 for as_shell in $as_candidate_shells $SHELL; do 233 # Try only shells that exist, to save several forks. 234 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 235 { ("$as_shell") 2> /dev/null <<\_ASEOF 236 # Be Bourne compatible 237 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 238 emulate sh 239 NULLCMD=: 240 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 241 # is contrary to our usage. Disable this feature. 242 alias -g '${1+"$@"}'='"$@"' 243 setopt NO_GLOB_SUBST 244 else 245 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 246 fi 247 BIN_SH=xpg4; export BIN_SH # for Tru64 248 DUALCASE=1; export DUALCASE # for MKS sh 249 250 : 251 _ASEOF 252 }; then 253 CONFIG_SHELL=$as_shell 254 as_have_required=yes 255 if { "$as_shell" 2> /dev/null <<\_ASEOF 256 # Be Bourne compatible 257 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 258 emulate sh 259 NULLCMD=: 260 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 261 # is contrary to our usage. Disable this feature. 262 alias -g '${1+"$@"}'='"$@"' 263 setopt NO_GLOB_SUBST 264 else 265 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 266 fi 267 BIN_SH=xpg4; export BIN_SH # for Tru64 268 DUALCASE=1; export DUALCASE # for MKS sh 269 270 : 271 (as_func_return () { 272 (exit $1) 273 } 274 as_func_success () { 275 as_func_return 0 276 } 277 as_func_failure () { 278 as_func_return 1 279 } 280 as_func_ret_success () { 281 return 0 282 } 283 as_func_ret_failure () { 284 return 1 285 } 286 287 exitcode=0 288 if as_func_success; then 289 : 290 else 291 exitcode=1 292 echo as_func_success failed. 293 fi 294 295 if as_func_failure; then 296 exitcode=1 297 echo as_func_failure succeeded. 298 fi 299 300 if as_func_ret_success; then 301 : 302 else 303 exitcode=1 304 echo as_func_ret_success failed. 305 fi 306 307 if as_func_ret_failure; then 308 exitcode=1 309 echo as_func_ret_failure succeeded. 310 fi 311 312 if ( set x; as_func_ret_success y && test x = "$1" ); then 313 : 314 else 315 exitcode=1 316 echo positional parameters were not saved. 317 fi 318 319 test $exitcode = 0) || { (exit 1); exit 1; } 320 321 ( 322 as_lineno_1=$LINENO 323 as_lineno_2=$LINENO 324 test "x$as_lineno_1" != "x$as_lineno_2" && 325 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 326 327 _ASEOF 328 }; then 329 break 330 fi 331 332 fi 333 334 done 335 336 if test "x$CONFIG_SHELL" != x; then 337 for as_var in BASH_ENV ENV 338 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 339 done 340 export CONFIG_SHELL 341 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 342 fi 343 344 345 if test $as_have_required = no; then 346 echo This script requires a shell more modern than all the 347 echo shells that I found on your system. Please install a 348 echo modern shell, or manually run the script under such a 349 echo shell if you do have one. 350 { (exit 1); exit 1; } 351 fi 352 353 354 fi 355 356 fi 357 358 359 360 (eval "as_func_return () { 361 (exit \$1) 362 } 363 as_func_success () { 364 as_func_return 0 365 } 366 as_func_failure () { 367 as_func_return 1 368 } 369 as_func_ret_success () { 370 return 0 371 } 372 as_func_ret_failure () { 373 return 1 374 } 375 376 exitcode=0 377 if as_func_success; then 378 : 379 else 380 exitcode=1 381 echo as_func_success failed. 382 fi 383 384 if as_func_failure; then 385 exitcode=1 386 echo as_func_failure succeeded. 387 fi 388 389 if as_func_ret_success; then 390 : 391 else 392 exitcode=1 393 echo as_func_ret_success failed. 394 fi 395 396 if as_func_ret_failure; then 397 exitcode=1 398 echo as_func_ret_failure succeeded. 399 fi 400 401 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 402 : 403 else 404 exitcode=1 405 echo positional parameters were not saved. 406 fi 407 408 test \$exitcode = 0") || { 409 echo No shell found that supports shell functions. 410 echo Please tell autoconf@gnu.org about your system, 411 echo including any error possibly output before this 412 echo message 413 } 414 415 416 417 as_lineno_1=$LINENO 418 as_lineno_2=$LINENO 419 test "x$as_lineno_1" != "x$as_lineno_2" && 420 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 421 422 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 423 # uniformly replaced by the line number. The first 'sed' inserts a 424 # line-number line after each line using $LINENO; the second 'sed' 425 # does the real work. The second script uses 'N' to pair each 426 # line-number line with the line containing $LINENO, and appends 427 # trailing '-' during substitution so that $LINENO is not a special 428 # case at line end. 429 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 430 # scripts with optimization help from Paolo Bonzini. Blame Lee 431 # E. McMahon (1931-1989) for sed's syntax. :-) 432 sed -n ' 433 p 434 /[$]LINENO/= 435 ' <$as_myself | 436 sed ' 437 s/[$]LINENO.*/&-/ 438 t lineno 439 b 440 :lineno 441 N 442 :loop 443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 444 t loop 445 s/-\n.*// 446 ' >$as_me.lineno && 447 chmod +x "$as_me.lineno" || 448 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 449 { (exit 1); exit 1; }; } 450 451 # Don't try to exec as it changes $[0], causing all sort of problems 452 # (the dirname of $[0] is not the place where we might find the 453 # original and so on. Autoconf is especially sensitive to this). 454 . "./$as_me.lineno" 455 # Exit status is that of the last command. 456 exit 457 } 458 459 460 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 461 as_dirname=dirname 462 else 463 as_dirname=false 464 fi 465 466 ECHO_C= ECHO_N= ECHO_T= 467 case `echo -n x` in 468 -n*) 469 case `echo 'x\c'` in 470 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 471 *) ECHO_C='\c';; 472 esac;; 473 *) 474 ECHO_N='-n';; 475 esac 476 477 if expr a : '\(a\)' >/dev/null 2>&1 && 478 test "X`expr 00001 : '.*\(...\)'`" = X001; then 479 as_expr=expr 480 else 481 as_expr=false 482 fi 483 484 rm -f conf$$ conf$$.exe conf$$.file 485 if test -d conf$$.dir; then 486 rm -f conf$$.dir/conf$$.file 487 else 488 rm -f conf$$.dir 489 mkdir conf$$.dir 490 fi 491 echo >conf$$.file 492 if ln -s conf$$.file conf$$ 2>/dev/null; then 493 as_ln_s='ln -s' 494 # ... but there are two gotchas: 495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 497 # In both cases, we have to default to `cp -p'. 498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 499 as_ln_s='cp -p' 500 elif ln conf$$.file conf$$ 2>/dev/null; then 501 as_ln_s=ln 502 else 503 as_ln_s='cp -p' 504 fi 505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 506 rmdir conf$$.dir 2>/dev/null 507 508 if mkdir -p . 2>/dev/null; then 509 as_mkdir_p=: 510 else 511 test -d ./-p && rmdir ./-p 512 as_mkdir_p=false 513 fi 514 515 # Find out whether ``test -x'' works. Don't use a zero-byte file, as 516 # systems may use methods other than mode bits to determine executability. 517 cat >conf$$.file <<_ASEOF 518 #! /bin/sh 519 exit 0 520 _ASEOF 521 chmod +x conf$$.file 522 if test -x conf$$.file >/dev/null 2>&1; then 523 as_executable_p="test -x" 524 else 525 as_executable_p=: 526 fi 527 rm -f conf$$.file 528 529 # Sed expression to map a string onto a valid CPP name. 530 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 531 532 # Sed expression to map a string onto a valid variable name. 533 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 534 535 536 537 exec 7<&0 </dev/null 6>&1 538 539 # Name of the host. 540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 541 # so uname gets run too. 542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 543 544 # 545 # Initializations. 546 # 547 ac_default_prefix=/usr/local 548 ac_clean_files= 549 ac_config_libobj_dir=. 550 LIBOBJS= 551 cross_compiling=no 552 subdirs= 553 MFLAGS= 554 MAKEFLAGS= 555 SHELL=${CONFIG_SHELL-/bin/sh} 556 557 # Identity of this package. 558 PACKAGE_NAME= 559 PACKAGE_TARNAME= 560 PACKAGE_VERSION= 561 PACKAGE_STRING= 562 PACKAGE_BUGREPORT= 563 564 ac_unique_file="configure.ac" 565 ac_subst_vars='SHELL 566 PATH_SEPARATOR 567 PACKAGE_NAME 568 PACKAGE_TARNAME 569 PACKAGE_VERSION 570 PACKAGE_STRING 571 PACKAGE_BUGREPORT 572 exec_prefix 573 prefix 574 program_transform_name 575 bindir 576 sbindir 577 libexecdir 578 datarootdir 579 datadir 580 sysconfdir 581 sharedstatedir 582 localstatedir 583 includedir 584 oldincludedir 585 docdir 586 infodir 587 htmldir 588 dvidir 589 pdfdir 590 psdir 591 libdir 592 localedir 593 mandir 594 DEFS 595 ECHO_C 596 ECHO_N 597 ECHO_T 598 LIBS 599 build_alias 600 host_alias 601 target_alias 602 INSTALL_PROGRAM 603 INSTALL_SCRIPT 604 INSTALL_DATA 605 am__isrc 606 CYGPATH_W 607 PACKAGE 608 VERSION 609 ACLOCAL 610 AUTOCONF 611 AUTOMAKE 612 AUTOHEADER 613 MAKEINFO 614 install_sh 615 STRIP 616 INSTALL_STRIP_PROGRAM 617 mkdir_p 618 AWK 619 SET_MAKE 620 am__leading_dot 621 AMTAR 622 am__tar 623 am__untar 624 CC 625 CFLAGS 626 LDFLAGS 627 CPPFLAGS 628 ac_ct_CC 629 EXEEXT 630 OBJEXT 631 DEPDIR 632 am__include 633 am__quote 634 AMDEP_TRUE 635 AMDEP_FALSE 636 AMDEPBACKSLASH 637 CCDEPMODE 638 am__fastdepCC_TRUE 639 am__fastdepCC_FALSE 640 build 641 build_cpu 642 build_vendor 643 build_os 644 host 645 host_cpu 646 host_vendor 647 host_os 648 LIBRPATHX 649 LTLIBRPATHX 650 LIBRPATHY 651 LTLIBRPATHY 652 LIBRPATHZ 653 LTLIBRPATHZ 654 global_top_auxdir 655 LIBOBJS 656 LTLIBOBJS' 657 ac_subst_files='' 658 ac_precious_vars='build_alias 659 host_alias 660 target_alias 661 CC 662 CFLAGS 663 LDFLAGS 664 CPPFLAGS' 665 666 667 # Initialize some variables set by options. 668 ac_init_help= 669 ac_init_version=false 670 # The variables have the same names as the options, with 671 # dashes changed to underlines. 672 cache_file=/dev/null 673 exec_prefix=NONE 674 no_create= 675 no_recursion= 676 prefix=NONE 677 program_prefix=NONE 678 program_suffix=NONE 679 program_transform_name=s,x,x, 680 silent= 681 site= 682 srcdir= 683 verbose= 684 x_includes=NONE 685 x_libraries=NONE 686 687 # Installation directory options. 688 # These are left unexpanded so users can "make install exec_prefix=/foo" 689 # and all the variables that are supposed to be based on exec_prefix 690 # by default will actually change. 691 # Use braces instead of parens because sh, perl, etc. also accept them. 692 # (The list follows the same order as the GNU Coding Standards.) 693 bindir='${exec_prefix}/bin' 694 sbindir='${exec_prefix}/sbin' 695 libexecdir='${exec_prefix}/libexec' 696 datarootdir='${prefix}/share' 697 datadir='${datarootdir}' 698 sysconfdir='${prefix}/etc' 699 sharedstatedir='${prefix}/com' 700 localstatedir='${prefix}/var' 701 includedir='${prefix}/include' 702 oldincludedir='/usr/include' 703 docdir='${datarootdir}/doc/${PACKAGE}' 704 infodir='${datarootdir}/info' 705 htmldir='${docdir}' 706 dvidir='${docdir}' 707 pdfdir='${docdir}' 708 psdir='${docdir}' 709 libdir='${exec_prefix}/lib' 710 localedir='${datarootdir}/locale' 711 mandir='${datarootdir}/man' 712 713 ac_prev= 714 ac_dashdash= 715 for ac_option 716 do 717 # If the previous option needs an argument, assign it. 718 if test -n "$ac_prev"; then 719 eval $ac_prev=\$ac_option 720 ac_prev= 721 continue 722 fi 723 724 case $ac_option in 725 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 726 *) ac_optarg=yes ;; 727 esac 728 729 # Accept the important Cygnus configure options, so we can diagnose typos. 730 731 case $ac_dashdash$ac_option in 732 --) 733 ac_dashdash=yes ;; 734 735 -bindir | --bindir | --bindi | --bind | --bin | --bi) 736 ac_prev=bindir ;; 737 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 738 bindir=$ac_optarg ;; 739 740 -build | --build | --buil | --bui | --bu) 741 ac_prev=build_alias ;; 742 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 743 build_alias=$ac_optarg ;; 744 745 -cache-file | --cache-file | --cache-fil | --cache-fi \ 746 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 747 ac_prev=cache_file ;; 748 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 749 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 750 cache_file=$ac_optarg ;; 751 752 --config-cache | -C) 753 cache_file=config.cache ;; 754 755 -datadir | --datadir | --datadi | --datad) 756 ac_prev=datadir ;; 757 -datadir=* | --datadir=* | --datadi=* | --datad=*) 758 datadir=$ac_optarg ;; 759 760 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 761 | --dataroo | --dataro | --datar) 762 ac_prev=datarootdir ;; 763 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 764 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 765 datarootdir=$ac_optarg ;; 766 767 -disable-* | --disable-*) 768 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 769 # Reject names that are not valid shell variable names. 770 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 771 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 772 { (exit 1); exit 1; }; } 773 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 774 eval enable_$ac_feature=no ;; 775 776 -docdir | --docdir | --docdi | --doc | --do) 777 ac_prev=docdir ;; 778 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 779 docdir=$ac_optarg ;; 780 781 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 782 ac_prev=dvidir ;; 783 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 784 dvidir=$ac_optarg ;; 785 786 -enable-* | --enable-*) 787 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 788 # Reject names that are not valid shell variable names. 789 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 790 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 791 { (exit 1); exit 1; }; } 792 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 793 eval enable_$ac_feature=\$ac_optarg ;; 794 795 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 796 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 797 | --exec | --exe | --ex) 798 ac_prev=exec_prefix ;; 799 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 800 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 801 | --exec=* | --exe=* | --ex=*) 802 exec_prefix=$ac_optarg ;; 803 804 -gas | --gas | --ga | --g) 805 # Obsolete; use --with-gas. 806 with_gas=yes ;; 807 808 -help | --help | --hel | --he | -h) 809 ac_init_help=long ;; 810 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 811 ac_init_help=recursive ;; 812 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 813 ac_init_help=short ;; 814 815 -host | --host | --hos | --ho) 816 ac_prev=host_alias ;; 817 -host=* | --host=* | --hos=* | --ho=*) 818 host_alias=$ac_optarg ;; 819 820 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 821 ac_prev=htmldir ;; 822 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 823 | --ht=*) 824 htmldir=$ac_optarg ;; 825 826 -includedir | --includedir | --includedi | --included | --include \ 827 | --includ | --inclu | --incl | --inc) 828 ac_prev=includedir ;; 829 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 830 | --includ=* | --inclu=* | --incl=* | --inc=*) 831 includedir=$ac_optarg ;; 832 833 -infodir | --infodir | --infodi | --infod | --info | --inf) 834 ac_prev=infodir ;; 835 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 836 infodir=$ac_optarg ;; 837 838 -libdir | --libdir | --libdi | --libd) 839 ac_prev=libdir ;; 840 -libdir=* | --libdir=* | --libdi=* | --libd=*) 841 libdir=$ac_optarg ;; 842 843 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 844 | --libexe | --libex | --libe) 845 ac_prev=libexecdir ;; 846 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 847 | --libexe=* | --libex=* | --libe=*) 848 libexecdir=$ac_optarg ;; 849 850 -localedir | --localedir | --localedi | --localed | --locale) 851 ac_prev=localedir ;; 852 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 853 localedir=$ac_optarg ;; 854 855 -localstatedir | --localstatedir | --localstatedi | --localstated \ 856 | --localstate | --localstat | --localsta | --localst | --locals) 857 ac_prev=localstatedir ;; 858 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 859 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 860 localstatedir=$ac_optarg ;; 861 862 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 863 ac_prev=mandir ;; 864 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 865 mandir=$ac_optarg ;; 866 867 -nfp | --nfp | --nf) 868 # Obsolete; use --without-fp. 869 with_fp=no ;; 870 871 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 872 | --no-cr | --no-c | -n) 873 no_create=yes ;; 874 875 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 876 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 877 no_recursion=yes ;; 878 879 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 880 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 881 | --oldin | --oldi | --old | --ol | --o) 882 ac_prev=oldincludedir ;; 883 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 884 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 885 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 886 oldincludedir=$ac_optarg ;; 887 888 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 889 ac_prev=prefix ;; 890 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 891 prefix=$ac_optarg ;; 892 893 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 894 | --program-pre | --program-pr | --program-p) 895 ac_prev=program_prefix ;; 896 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 897 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 898 program_prefix=$ac_optarg ;; 899 900 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 901 | --program-suf | --program-su | --program-s) 902 ac_prev=program_suffix ;; 903 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 904 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 905 program_suffix=$ac_optarg ;; 906 907 -program-transform-name | --program-transform-name \ 908 | --program-transform-nam | --program-transform-na \ 909 | --program-transform-n | --program-transform- \ 910 | --program-transform | --program-transfor \ 911 | --program-transfo | --program-transf \ 912 | --program-trans | --program-tran \ 913 | --progr-tra | --program-tr | --program-t) 914 ac_prev=program_transform_name ;; 915 -program-transform-name=* | --program-transform-name=* \ 916 | --program-transform-nam=* | --program-transform-na=* \ 917 | --program-transform-n=* | --program-transform-=* \ 918 | --program-transform=* | --program-transfor=* \ 919 | --program-transfo=* | --program-transf=* \ 920 | --program-trans=* | --program-tran=* \ 921 | --progr-tra=* | --program-tr=* | --program-t=*) 922 program_transform_name=$ac_optarg ;; 923 924 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 925 ac_prev=pdfdir ;; 926 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 927 pdfdir=$ac_optarg ;; 928 929 -psdir | --psdir | --psdi | --psd | --ps) 930 ac_prev=psdir ;; 931 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 932 psdir=$ac_optarg ;; 933 934 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 935 | -silent | --silent | --silen | --sile | --sil) 936 silent=yes ;; 937 938 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 939 ac_prev=sbindir ;; 940 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 941 | --sbi=* | --sb=*) 942 sbindir=$ac_optarg ;; 943 944 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 945 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 946 | --sharedst | --shareds | --shared | --share | --shar \ 947 | --sha | --sh) 948 ac_prev=sharedstatedir ;; 949 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 950 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 951 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 952 | --sha=* | --sh=*) 953 sharedstatedir=$ac_optarg ;; 954 955 -site | --site | --sit) 956 ac_prev=site ;; 957 -site=* | --site=* | --sit=*) 958 site=$ac_optarg ;; 959 960 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 961 ac_prev=srcdir ;; 962 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 963 srcdir=$ac_optarg ;; 964 965 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 966 | --syscon | --sysco | --sysc | --sys | --sy) 967 ac_prev=sysconfdir ;; 968 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 969 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 970 sysconfdir=$ac_optarg ;; 971 972 -target | --target | --targe | --targ | --tar | --ta | --t) 973 ac_prev=target_alias ;; 974 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 975 target_alias=$ac_optarg ;; 976 977 -v | -verbose | --verbose | --verbos | --verbo | --verb) 978 verbose=yes ;; 979 980 -version | --version | --versio | --versi | --vers | -V) 981 ac_init_version=: ;; 982 983 -with-* | --with-*) 984 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 985 # Reject names that are not valid shell variable names. 986 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 987 { echo "$as_me: error: invalid package name: $ac_package" >&2 988 { (exit 1); exit 1; }; } 989 ac_package=`echo $ac_package| sed 's/-/_/g'` 990 eval with_$ac_package=\$ac_optarg ;; 991 992 -without-* | --without-*) 993 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 994 # Reject names that are not valid shell variable names. 995 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 996 { echo "$as_me: error: invalid package name: $ac_package" >&2 997 { (exit 1); exit 1; }; } 998 ac_package=`echo $ac_package | sed 's/-/_/g'` 999 eval with_$ac_package=no ;; 1000 1001 --x) 1002 # Obsolete; use --with-x. 1003 with_x=yes ;; 1004 1005 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1006 | --x-incl | --x-inc | --x-in | --x-i) 1007 ac_prev=x_includes ;; 1008 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1009 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1010 x_includes=$ac_optarg ;; 1011 1012 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1013 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1014 ac_prev=x_libraries ;; 1015 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1016 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1017 x_libraries=$ac_optarg ;; 1018 1019 -*) { echo "$as_me: error: unrecognized option: $ac_option 1020 Try \`$0 --help' for more information." >&2 1021 { (exit 1); exit 1; }; } 1022 ;; 1023 1024 *=*) 1025 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1026 # Reject names that are not valid shell variable names. 1027 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1028 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1029 { (exit 1); exit 1; }; } 1030 eval $ac_envvar=\$ac_optarg 1031 export $ac_envvar ;; 1032 1033 *) 1034 # FIXME: should be removed in autoconf 3.0. 1035 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1036 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1037 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1038 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1039 ;; 1040 1041 esac 1042 done 1043 1044 if test -n "$ac_prev"; then 1045 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1046 { echo "$as_me: error: missing argument to $ac_option" >&2 1047 { (exit 1); exit 1; }; } 1048 fi 1049 1050 # Be sure to have absolute directory names. 1051 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1052 datadir sysconfdir sharedstatedir localstatedir includedir \ 1053 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1054 libdir localedir mandir 1055 do 1056 eval ac_val=\$$ac_var 1057 case $ac_val in 1058 [\\/$]* | ?:[\\/]* ) continue;; 1059 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1060 esac 1061 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1062 { (exit 1); exit 1; }; } 1063 done 1064 1065 # There might be people who depend on the old broken behavior: `$host' 1066 # used to hold the argument of --host etc. 1067 # FIXME: To remove some day. 1068 build=$build_alias 1069 host=$host_alias 1070 target=$target_alias 1071 1072 # FIXME: To remove some day. 1073 if test "x$host_alias" != x; then 1074 if test "x$build_alias" = x; then 1075 cross_compiling=maybe 1076 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1077 If a cross compiler is detected then cross compile mode will be used." >&2 1078 elif test "x$build_alias" != "x$host_alias"; then 1079 cross_compiling=yes 1080 fi 1081 fi 1082 1083 ac_tool_prefix= 1084 test -n "$host_alias" && ac_tool_prefix=$host_alias- 1085 1086 test "$silent" = yes && exec 6>/dev/null 1087 1088 1089 ac_pwd=`pwd` && test -n "$ac_pwd" && 1090 ac_ls_di=`ls -di .` && 1091 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1092 { echo "$as_me: error: Working directory cannot be determined" >&2 1093 { (exit 1); exit 1; }; } 1094 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1095 { echo "$as_me: error: pwd does not report name of working directory" >&2 1096 { (exit 1); exit 1; }; } 1097 1098 1099 # Find the source files, if location was not specified. 1100 if test -z "$srcdir"; then 1101 ac_srcdir_defaulted=yes 1102 # Try the directory containing this script, then the parent directory. 1103 ac_confdir=`$as_dirname -- "$0" || 1104 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1105 X"$0" : 'X\(//\)[^/]' \| \ 1106 X"$0" : 'X\(//\)$' \| \ 1107 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1108 echo X"$0" | 1109 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1110 s//\1/ 1111 q 1112 } 1113 /^X\(\/\/\)[^/].*/{ 1114 s//\1/ 1115 q 1116 } 1117 /^X\(\/\/\)$/{ 1118 s//\1/ 1119 q 1120 } 1121 /^X\(\/\).*/{ 1122 s//\1/ 1123 q 1124 } 1125 s/.*/./; q'` 1126 srcdir=$ac_confdir 1127 if test ! -r "$srcdir/$ac_unique_file"; then 1128 srcdir=.. 1129 fi 1130 else 1131 ac_srcdir_defaulted=no 1132 fi 1133 if test ! -r "$srcdir/$ac_unique_file"; then 1134 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1135 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1136 { (exit 1); exit 1; }; } 1137 fi 1138 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1139 ac_abs_confdir=`( 1140 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1141 { (exit 1); exit 1; }; } 1142 pwd)` 1143 # When building in place, set srcdir=. 1144 if test "$ac_abs_confdir" = "$ac_pwd"; then 1145 srcdir=. 1146 fi 1147 # Remove unnecessary trailing slashes from srcdir. 1148 # Double slashes in file names in object file debugging info 1149 # mess up M-x gdb in Emacs. 1150 case $srcdir in 1151 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1152 esac 1153 for ac_var in $ac_precious_vars; do 1154 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1155 eval ac_env_${ac_var}_value=\$${ac_var} 1156 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1157 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1158 done 1159 1160 # 1161 # Report the --help message. 1162 # 1163 if test "$ac_init_help" = "long"; then 1164 # Omit some internal or obsolete options to make the list less imposing. 1165 # This message is too long to be a string in the A/UX 3.1 sh. 1166 cat <<_ACEOF 1167 \`configure' configures this package to adapt to many kinds of systems. 1168 1169 Usage: $0 [OPTION]... [VAR=VALUE]... 1170 1171 To assign environment variables (e.g., CC, CFLAGS...), specify them as 1172 VAR=VALUE. See below for descriptions of some of the useful variables. 1173 1174 Defaults for the options are specified in brackets. 1175 1176 Configuration: 1177 -h, --help display this help and exit 1178 --help=short display options specific to this package 1179 --help=recursive display the short help of all the included packages 1180 -V, --version display version information and exit 1181 -q, --quiet, --silent do not print \`checking...' messages 1182 --cache-file=FILE cache test results in FILE [disabled] 1183 -C, --config-cache alias for \`--cache-file=config.cache' 1184 -n, --no-create do not create output files 1185 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1186 1187 Installation directories: 1188 --prefix=PREFIX install architecture-independent files in PREFIX 1189 [$ac_default_prefix] 1190 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1191 [PREFIX] 1192 1193 By default, \`make install' will install all the files in 1194 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1195 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1196 for instance \`--prefix=\$HOME'. 1197 1198 For better control, use the options below. 1199 1200 Fine tuning of the installation directories: 1201 --bindir=DIR user executables [EPREFIX/bin] 1202 --sbindir=DIR system admin executables [EPREFIX/sbin] 1203 --libexecdir=DIR program executables [EPREFIX/libexec] 1204 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1205 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1206 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1207 --libdir=DIR object code libraries [EPREFIX/lib] 1208 --includedir=DIR C header files [PREFIX/include] 1209 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1210 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1211 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1212 --infodir=DIR info documentation [DATAROOTDIR/info] 1213 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1214 --mandir=DIR man documentation [DATAROOTDIR/man] 1215 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1216 --htmldir=DIR html documentation [DOCDIR] 1217 --dvidir=DIR dvi documentation [DOCDIR] 1218 --pdfdir=DIR pdf documentation [DOCDIR] 1219 --psdir=DIR ps documentation [DOCDIR] 1220 _ACEOF 1221 1222 cat <<\_ACEOF 1223 1224 Program names: 1225 --program-prefix=PREFIX prepend PREFIX to installed program names 1226 --program-suffix=SUFFIX append SUFFIX to installed program names 1227 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1228 1229 System types: 1230 --build=BUILD configure for building on BUILD [guessed] 1231 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1232 _ACEOF 1233 fi 1234 1235 if test -n "$ac_init_help"; then 1236 1237 cat <<\_ACEOF 1238 1239 Optional Features: 1240 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1241 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1242 --disable-dependency-tracking speeds up one-time build 1243 --enable-dependency-tracking do not reject slow dependency extractors 1244 --disable-rpath do not hardcode runtime library paths 1245 1246 Optional Packages: 1247 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1248 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1249 --with-gnu-ld assume the C compiler uses GNU ld default=no 1250 --with-librpathx-prefix[=DIR] search for librpathx in DIR/include and DIR/lib 1251 --without-librpathx-prefix don't search for librpathx in includedir and libdir 1252 --with-librpathy-prefix[=DIR] search for librpathy in DIR/include and DIR/lib 1253 --without-librpathy-prefix don't search for librpathy in includedir and libdir 1254 --with-librpathz-prefix[=DIR] search for librpathz in DIR/include and DIR/lib 1255 --without-librpathz-prefix don't search for librpathz in includedir and libdir 1256 1257 Some influential environment variables: 1258 CC C compiler command 1259 CFLAGS C compiler flags 1260 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1261 nonstandard directory <lib dir> 1262 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1263 you have headers in a nonstandard directory <include dir> 1264 1265 Use these variables to override the choices made by `configure' or to help 1266 it to find libraries and programs with nonstandard names/locations. 1267 1268 _ACEOF 1269 ac_status=$? 1270 fi 1271 1272 if test "$ac_init_help" = "recursive"; then 1273 # If there are subdirs, report their specific --help. 1274 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1275 test -d "$ac_dir" || continue 1276 ac_builddir=. 1277 1278 case "$ac_dir" in 1279 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1280 *) 1281 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1282 # A ".." for each directory in $ac_dir_suffix. 1283 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1284 case $ac_top_builddir_sub in 1285 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1286 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1287 esac ;; 1288 esac 1289 ac_abs_top_builddir=$ac_pwd 1290 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1291 # for backward compatibility: 1292 ac_top_builddir=$ac_top_build_prefix 1293 1294 case $srcdir in 1295 .) # We are building in place. 1296 ac_srcdir=. 1297 ac_top_srcdir=$ac_top_builddir_sub 1298 ac_abs_top_srcdir=$ac_pwd ;; 1299 [\\/]* | ?:[\\/]* ) # Absolute name. 1300 ac_srcdir=$srcdir$ac_dir_suffix; 1301 ac_top_srcdir=$srcdir 1302 ac_abs_top_srcdir=$srcdir ;; 1303 *) # Relative name. 1304 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1305 ac_top_srcdir=$ac_top_build_prefix$srcdir 1306 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1307 esac 1308 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1309 1310 cd "$ac_dir" || { ac_status=$?; continue; } 1311 # Check for guested configure. 1312 if test -f "$ac_srcdir/configure.gnu"; then 1313 echo && 1314 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1315 elif test -f "$ac_srcdir/configure"; then 1316 echo && 1317 $SHELL "$ac_srcdir/configure" --help=recursive 1318 else 1319 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1320 fi || ac_status=$? 1321 cd "$ac_pwd" || { ac_status=$?; break; } 1322 done 1323 fi 1324 1325 test -n "$ac_init_help" && exit $ac_status 1326 if $ac_init_version; then 1327 cat <<\_ACEOF 1328 configure 1329 generated by GNU Autoconf 2.60 1330 1331 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1332 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1333 This configure script is free software; the Free Software Foundation 1334 gives unlimited permission to copy, distribute and modify it. 1335 _ACEOF 1336 exit 1337 fi 1338 cat >config.log <<_ACEOF 1339 This file contains any messages produced by compilers while 1340 running configure, to aid debugging if configure makes a mistake. 1341 1342 It was created by $as_me, which was 1343 generated by GNU Autoconf 2.60. Invocation command line was 1344 1345 $ $0 $@ 1346 1347 _ACEOF 1348 exec 5>>config.log 1349 { 1350 cat <<_ASUNAME 1351 ## --------- ## 1352 ## Platform. ## 1353 ## --------- ## 1354 1355 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1356 uname -m = `(uname -m) 2>/dev/null || echo unknown` 1357 uname -r = `(uname -r) 2>/dev/null || echo unknown` 1358 uname -s = `(uname -s) 2>/dev/null || echo unknown` 1359 uname -v = `(uname -v) 2>/dev/null || echo unknown` 1360 1361 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1362 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1363 1364 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1365 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1366 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1367 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1368 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1369 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1370 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1371 1372 _ASUNAME 1373 1374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1375 for as_dir in $PATH 1376 do 1377 IFS=$as_save_IFS 1378 test -z "$as_dir" && as_dir=. 1379 echo "PATH: $as_dir" 1380 done 1381 IFS=$as_save_IFS 1382 1383 } >&5 1384 1385 cat >&5 <<_ACEOF 1386 1387 1388 ## ----------- ## 1389 ## Core tests. ## 1390 ## ----------- ## 1391 1392 _ACEOF 1393 1394 1395 # Keep a trace of the command line. 1396 # Strip out --no-create and --no-recursion so they do not pile up. 1397 # Strip out --silent because we don't want to record it for future runs. 1398 # Also quote any args containing shell meta-characters. 1399 # Make two passes to allow for proper duplicate-argument suppression. 1400 ac_configure_args= 1401 ac_configure_args0= 1402 ac_configure_args1= 1403 ac_must_keep_next=false 1404 for ac_pass in 1 2 1405 do 1406 for ac_arg 1407 do 1408 case $ac_arg in 1409 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1410 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1411 | -silent | --silent | --silen | --sile | --sil) 1412 continue ;; 1413 *\'*) 1414 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1415 esac 1416 case $ac_pass in 1417 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1418 2) 1419 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1420 if test $ac_must_keep_next = true; then 1421 ac_must_keep_next=false # Got value, back to normal. 1422 else 1423 case $ac_arg in 1424 *=* | --config-cache | -C | -disable-* | --disable-* \ 1425 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1426 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1427 | -with-* | --with-* | -without-* | --without-* | --x) 1428 case "$ac_configure_args0 " in 1429 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1430 esac 1431 ;; 1432 -* ) ac_must_keep_next=true ;; 1433 esac 1434 fi 1435 ac_configure_args="$ac_configure_args '$ac_arg'" 1436 ;; 1437 esac 1438 done 1439 done 1440 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1441 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1442 1443 # When interrupted or exit'd, cleanup temporary files, and complete 1444 # config.log. We remove comments because anyway the quotes in there 1445 # would cause problems or look ugly. 1446 # WARNING: Use '\'' to represent an apostrophe within the trap. 1447 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1448 trap 'exit_status=$? 1449 # Save into config.log some information that might help in debugging. 1450 { 1451 echo 1452 1453 cat <<\_ASBOX 1454 ## ---------------- ## 1455 ## Cache variables. ## 1456 ## ---------------- ## 1457 _ASBOX 1458 echo 1459 # The following way of writing the cache mishandles newlines in values, 1460 ( 1461 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1462 eval ac_val=\$$ac_var 1463 case $ac_val in #( 1464 *${as_nl}*) 1465 case $ac_var in #( 1466 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1467 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1468 esac 1469 case $ac_var in #( 1470 _ | IFS | as_nl) ;; #( 1471 *) $as_unset $ac_var ;; 1472 esac ;; 1473 esac 1474 done 1475 (set) 2>&1 | 1476 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1477 *${as_nl}ac_space=\ *) 1478 sed -n \ 1479 "s/'\''/'\''\\\\'\'''\''/g; 1480 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1481 ;; #( 1482 *) 1483 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1484 ;; 1485 esac | 1486 sort 1487 ) 1488 echo 1489 1490 cat <<\_ASBOX 1491 ## ----------------- ## 1492 ## Output variables. ## 1493 ## ----------------- ## 1494 _ASBOX 1495 echo 1496 for ac_var in $ac_subst_vars 1497 do 1498 eval ac_val=\$$ac_var 1499 case $ac_val in 1500 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1501 esac 1502 echo "$ac_var='\''$ac_val'\''" 1503 done | sort 1504 echo 1505 1506 if test -n "$ac_subst_files"; then 1507 cat <<\_ASBOX 1508 ## ------------------- ## 1509 ## File substitutions. ## 1510 ## ------------------- ## 1511 _ASBOX 1512 echo 1513 for ac_var in $ac_subst_files 1514 do 1515 eval ac_val=\$$ac_var 1516 case $ac_val in 1517 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1518 esac 1519 echo "$ac_var='\''$ac_val'\''" 1520 done | sort 1521 echo 1522 fi 1523 1524 if test -s confdefs.h; then 1525 cat <<\_ASBOX 1526 ## ----------- ## 1527 ## confdefs.h. ## 1528 ## ----------- ## 1529 _ASBOX 1530 echo 1531 cat confdefs.h 1532 echo 1533 fi 1534 test "$ac_signal" != 0 && 1535 echo "$as_me: caught signal $ac_signal" 1536 echo "$as_me: exit $exit_status" 1537 } >&5 1538 rm -f core *.core core.conftest.* && 1539 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1540 exit $exit_status 1541 ' 0 1542 for ac_signal in 1 2 13 15; do 1543 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1544 done 1545 ac_signal=0 1546 1547 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1548 rm -f -r conftest* confdefs.h 1549 1550 # Predefined preprocessor variables. 1551 1552 cat >>confdefs.h <<_ACEOF 1553 #define PACKAGE_NAME "$PACKAGE_NAME" 1554 _ACEOF 1555 1556 1557 cat >>confdefs.h <<_ACEOF 1558 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1559 _ACEOF 1560 1561 1562 cat >>confdefs.h <<_ACEOF 1563 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1564 _ACEOF 1565 1566 1567 cat >>confdefs.h <<_ACEOF 1568 #define PACKAGE_STRING "$PACKAGE_STRING" 1569 _ACEOF 1570 1571 1572 cat >>confdefs.h <<_ACEOF 1573 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1574 _ACEOF 1575 1576 1577 # Let the site file select an alternate cache file if it wants to. 1578 # Prefer explicitly selected file to automatically selected ones. 1579 if test -n "$CONFIG_SITE"; then 1580 set x "$CONFIG_SITE" 1581 elif test "x$prefix" != xNONE; then 1582 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1583 else 1584 set x "$ac_default_prefix/share/config.site" \ 1585 "$ac_default_prefix/etc/config.site" 1586 fi 1587 shift 1588 for ac_site_file 1589 do 1590 if test -r "$ac_site_file"; then 1591 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1592 echo "$as_me: loading site script $ac_site_file" >&6;} 1593 sed 's/^/| /' "$ac_site_file" >&5 1594 . "$ac_site_file" 1595 fi 1596 done 1597 1598 if test -r "$cache_file"; then 1599 # Some versions of bash will fail to source /dev/null (special 1600 # files actually), so we avoid doing that. 1601 if test -f "$cache_file"; then 1602 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1603 echo "$as_me: loading cache $cache_file" >&6;} 1604 case $cache_file in 1605 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1606 *) . "./$cache_file";; 1607 esac 1608 fi 1609 else 1610 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1611 echo "$as_me: creating cache $cache_file" >&6;} 1612 >$cache_file 1613 fi 1614 1615 # Check that the precious variables saved in the cache have kept the same 1616 # value. 1617 ac_cache_corrupted=false 1618 for ac_var in $ac_precious_vars; do 1619 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1620 eval ac_new_set=\$ac_env_${ac_var}_set 1621 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1622 eval ac_new_val=\$ac_env_${ac_var}_value 1623 case $ac_old_set,$ac_new_set in 1624 set,) 1625 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1626 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1627 ac_cache_corrupted=: ;; 1628 ,set) 1629 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1630 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1631 ac_cache_corrupted=: ;; 1632 ,);; 1633 *) 1634 if test "x$ac_old_val" != "x$ac_new_val"; then 1635 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1636 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1637 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1638 echo "$as_me: former value: $ac_old_val" >&2;} 1639 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1640 echo "$as_me: current value: $ac_new_val" >&2;} 1641 ac_cache_corrupted=: 1642 fi;; 1643 esac 1644 # Pass precious variables to config.status. 1645 if test "$ac_new_set" = set; then 1646 case $ac_new_val in 1647 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1648 *) ac_arg=$ac_var=$ac_new_val ;; 1649 esac 1650 case " $ac_configure_args " in 1651 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1652 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1653 esac 1654 fi 1655 done 1656 if $ac_cache_corrupted; then 1657 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1658 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1659 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1660 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1661 { (exit 1); exit 1; }; } 1662 fi 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 ac_ext=c 1681 ac_cpp='$CPP $CPPFLAGS' 1682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1684 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1685 1686 1687 ac_aux_dir= 1688 for ac_dir in ../../../build-aux "$srcdir"/../../../build-aux; do 1689 if test -f "$ac_dir/install-sh"; then 1690 ac_aux_dir=$ac_dir 1691 ac_install_sh="$ac_aux_dir/install-sh -c" 1692 break 1693 elif test -f "$ac_dir/install.sh"; then 1694 ac_aux_dir=$ac_dir 1695 ac_install_sh="$ac_aux_dir/install.sh -c" 1696 break 1697 elif test -f "$ac_dir/shtool"; then 1698 ac_aux_dir=$ac_dir 1699 ac_install_sh="$ac_aux_dir/shtool install -c" 1700 break 1701 fi 1702 done 1703 if test -z "$ac_aux_dir"; then 1704 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../../build-aux \"$srcdir\"/../../../build-aux" >&5 1705 echo "$as_me: error: cannot find install-sh or install.sh in ../../../build-aux \"$srcdir\"/../../../build-aux" >&2;} 1706 { (exit 1); exit 1; }; } 1707 fi 1708 1709 # These three variables are undocumented and unsupported, 1710 # and are intended to be withdrawn in a future Autoconf release. 1711 # They can cause serious problems if a builder's source tree is in a directory 1712 # whose full name contains unusual characters. 1713 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1714 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1715 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1716 1717 1718 am__api_version='1.10' 1719 1720 # Find a good install program. We prefer a C program (faster), 1721 # so one script is as good as another. But avoid the broken or 1722 # incompatible versions: 1723 # SysV /etc/install, /usr/sbin/install 1724 # SunOS /usr/etc/install 1725 # IRIX /sbin/install 1726 # AIX /bin/install 1727 # AmigaOS /C/install, which installs bootblocks on floppy discs 1728 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1729 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 1730 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1731 # OS/2's system install, which has a completely different semantic 1732 # ./install, which can be erroneously created by make from ./install.sh. 1733 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1734 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 1735 if test -z "$INSTALL"; then 1736 if test "${ac_cv_path_install+set}" = set; then 1737 echo $ECHO_N "(cached) $ECHO_C" >&6 1738 else 1739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1740 for as_dir in $PATH 1741 do 1742 IFS=$as_save_IFS 1743 test -z "$as_dir" && as_dir=. 1744 # Account for people who put trailing slashes in PATH elements. 1745 case $as_dir/ in 1746 ./ | .// | /cC/* | \ 1747 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1748 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1749 /usr/ucb/* ) ;; 1750 *) 1751 # OSF1 and SCO ODT 3.0 have their own names for install. 1752 # Don't use installbsd from OSF since it installs stuff as root 1753 # by default. 1754 for ac_prog in ginstall scoinst install; do 1755 for ac_exec_ext in '' $ac_executable_extensions; do 1756 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then 1757 if test $ac_prog = install && 1758 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1759 # AIX install. It has an incompatible calling convention. 1760 : 1761 elif test $ac_prog = install && 1762 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1763 # program-specific install script used by HP pwplus--don't use. 1764 : 1765 else 1766 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1767 break 3 1768 fi 1769 fi 1770 done 1771 done 1772 ;; 1773 esac 1774 done 1775 IFS=$as_save_IFS 1776 1777 1778 fi 1779 if test "${ac_cv_path_install+set}" = set; then 1780 INSTALL=$ac_cv_path_install 1781 else 1782 # As a last resort, use the slow shell script. Don't cache a 1783 # value for INSTALL within a source directory, because that will 1784 # break other packages using the cache if that directory is 1785 # removed, or if the value is a relative name. 1786 INSTALL=$ac_install_sh 1787 fi 1788 fi 1789 { echo "$as_me:$LINENO: result: $INSTALL" >&5 1790 echo "${ECHO_T}$INSTALL" >&6; } 1791 1792 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1793 # It thinks the first close brace ends the variable substitution. 1794 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1795 1796 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1797 1798 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1799 1800 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5 1801 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } 1802 # Just in case 1803 sleep 1 1804 echo timestamp > conftest.file 1805 # Do `set' in a subshell so we don't clobber the current shell's 1806 # arguments. Must try -L first in case configure is actually a 1807 # symlink; some systems play weird games with the mod time of symlinks 1808 # (eg FreeBSD returns the mod time of the symlink's containing 1809 # directory). 1810 if ( 1811 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1812 if test "$*" = "X"; then 1813 # -L didn't work. 1814 set X `ls -t $srcdir/configure conftest.file` 1815 fi 1816 rm -f conftest.file 1817 if test "$*" != "X $srcdir/configure conftest.file" \ 1818 && test "$*" != "X conftest.file $srcdir/configure"; then 1819 1820 # If neither matched, then we have a broken ls. This can happen 1821 # if, for instance, CONFIG_SHELL is bash and it inherits a 1822 # broken ls alias from the environment. This has actually 1823 # happened. Such a system could not be considered "sane". 1824 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 1825 alias in your environment" >&5 1826 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1827 alias in your environment" >&2;} 1828 { (exit 1); exit 1; }; } 1829 fi 1830 1831 test "$2" = conftest.file 1832 ) 1833 then 1834 # Ok. 1835 : 1836 else 1837 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 1838 Check your system clock" >&5 1839 echo "$as_me: error: newly created file is older than distributed files! 1840 Check your system clock" >&2;} 1841 { (exit 1); exit 1; }; } 1842 fi 1843 { echo "$as_me:$LINENO: result: yes" >&5 1844 echo "${ECHO_T}yes" >&6; } 1845 test "$program_prefix" != NONE && 1846 program_transform_name="s&^&$program_prefix&;$program_transform_name" 1847 # Use a double $ so make ignores it. 1848 test "$program_suffix" != NONE && 1849 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 1850 # Double any \ or $. echo might interpret backslashes. 1851 # By default was `s,x,x', remove it if useless. 1852 cat <<\_ACEOF >conftest.sed 1853 s/[\\$]/&&/g;s/;s,x,x,$// 1854 _ACEOF 1855 program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1856 rm -f conftest.sed 1857 1858 # expand $ac_aux_dir to an absolute path 1859 am_aux_dir=`cd $ac_aux_dir && pwd` 1860 1861 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1862 # Use eval to expand $SHELL 1863 if eval "$MISSING --run true"; then 1864 am_missing_run="$MISSING --run " 1865 else 1866 am_missing_run= 1867 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1868 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1869 fi 1870 1871 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 1872 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } 1873 if test -z "$MKDIR_P"; then 1874 if test "${ac_cv_path_mkdir+set}" = set; then 1875 echo $ECHO_N "(cached) $ECHO_C" >&6 1876 else 1877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1878 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 1879 do 1880 IFS=$as_save_IFS 1881 test -z "$as_dir" && as_dir=. 1882 for ac_prog in mkdir gmkdir; do 1883 for ac_exec_ext in '' $ac_executable_extensions; do 1884 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; } || continue 1885 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 1886 'mkdir (GNU coreutils) '* | \ 1887 'mkdir (coreutils) '* | \ 1888 'mkdir (fileutils) '4.1*) 1889 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 1890 break 3;; 1891 esac 1892 done 1893 done 1894 done 1895 IFS=$as_save_IFS 1896 1897 fi 1898 1899 if test "${ac_cv_path_mkdir+set}" = set; then 1900 MKDIR_P="$ac_cv_path_mkdir -p" 1901 else 1902 # As a last resort, use the slow shell script. Don't cache a 1903 # value for MKDIR_P within a source directory, because that will 1904 # break other packages using the cache if that directory is 1905 # removed, or if the value is a relative name. 1906 test -d ./--version && rmdir ./--version 1907 MKDIR_P="$ac_install_sh -d" 1908 fi 1909 fi 1910 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5 1911 echo "${ECHO_T}$MKDIR_P" >&6; } 1912 1913 mkdir_p="$MKDIR_P" 1914 case $mkdir_p in 1915 [\\/$]* | ?:[\\/]*) ;; 1916 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 1917 esac 1918 1919 for ac_prog in gawk mawk nawk awk 1920 do 1921 # Extract the first word of "$ac_prog", so it can be a program name with args. 1922 set dummy $ac_prog; ac_word=$2 1923 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1925 if test "${ac_cv_prog_AWK+set}" = set; then 1926 echo $ECHO_N "(cached) $ECHO_C" >&6 1927 else 1928 if test -n "$AWK"; then 1929 ac_cv_prog_AWK="$AWK" # Let the user override the test. 1930 else 1931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1932 for as_dir in $PATH 1933 do 1934 IFS=$as_save_IFS 1935 test -z "$as_dir" && as_dir=. 1936 for ac_exec_ext in '' $ac_executable_extensions; do 1937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 1938 ac_cv_prog_AWK="$ac_prog" 1939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1940 break 2 1941 fi 1942 done 1943 done 1944 IFS=$as_save_IFS 1945 1946 fi 1947 fi 1948 AWK=$ac_cv_prog_AWK 1949 if test -n "$AWK"; then 1950 { echo "$as_me:$LINENO: result: $AWK" >&5 1951 echo "${ECHO_T}$AWK" >&6; } 1952 else 1953 { echo "$as_me:$LINENO: result: no" >&5 1954 echo "${ECHO_T}no" >&6; } 1955 fi 1956 1957 1958 test -n "$AWK" && break 1959 done 1960 1961 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1962 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 1963 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 1964 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 1965 echo $ECHO_N "(cached) $ECHO_C" >&6 1966 else 1967 cat >conftest.make <<\_ACEOF 1968 SHELL = /bin/sh 1969 all: 1970 @echo '@@@%%%=$(MAKE)=@@@%%%' 1971 _ACEOF 1972 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1973 case `${MAKE-make} -f conftest.make 2>/dev/null` in 1974 *@@@%%%=?*=@@@%%%*) 1975 eval ac_cv_prog_make_${ac_make}_set=yes;; 1976 *) 1977 eval ac_cv_prog_make_${ac_make}_set=no;; 1978 esac 1979 rm -f conftest.make 1980 fi 1981 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 1982 { echo "$as_me:$LINENO: result: yes" >&5 1983 echo "${ECHO_T}yes" >&6; } 1984 SET_MAKE= 1985 else 1986 { echo "$as_me:$LINENO: result: no" >&5 1987 echo "${ECHO_T}no" >&6; } 1988 SET_MAKE="MAKE=${MAKE-make}" 1989 fi 1990 1991 rm -rf .tst 2>/dev/null 1992 mkdir .tst 2>/dev/null 1993 if test -d .tst; then 1994 am__leading_dot=. 1995 else 1996 am__leading_dot=_ 1997 fi 1998 rmdir .tst 2>/dev/null 1999 2000 if test "`cd $srcdir && pwd`" != "`pwd`"; then 2001 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2002 # is not polluted with repeated "-I." 2003 am__isrc=' -I$(srcdir)' 2004 # test to see if srcdir already configured 2005 if test -f $srcdir/config.status; then 2006 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2007 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2008 { (exit 1); exit 1; }; } 2009 fi 2010 fi 2011 2012 # test whether we have cygpath 2013 if test -z "$CYGPATH_W"; then 2014 if (cygpath --version) >/dev/null 2>/dev/null; then 2015 CYGPATH_W='cygpath -w' 2016 else 2017 CYGPATH_W=echo 2018 fi 2019 fi 2020 2021 2022 # Define the identity of the package. 2023 PACKAGE=gettext_rpathlzyx 2024 VERSION=0 2025 2026 2027 cat >>confdefs.h <<_ACEOF 2028 #define PACKAGE "$PACKAGE" 2029 _ACEOF 2030 2031 2032 cat >>confdefs.h <<_ACEOF 2033 #define VERSION "$VERSION" 2034 _ACEOF 2035 2036 # Some tools Automake needs. 2037 2038 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2039 2040 2041 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2042 2043 2044 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2045 2046 2047 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2048 2049 2050 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2051 2052 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} 2053 2054 # Installed binaries are usually stripped using `strip' when the user 2055 # run `make install-strip'. However `strip' might not be the right 2056 # tool to use in cross-compilation environments, therefore Automake 2057 # will honor the `STRIP' environment variable to overrule this program. 2058 if test "$cross_compiling" != no; then 2059 if test -n "$ac_tool_prefix"; then 2060 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2061 set dummy ${ac_tool_prefix}strip; ac_word=$2 2062 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2064 if test "${ac_cv_prog_STRIP+set}" = set; then 2065 echo $ECHO_N "(cached) $ECHO_C" >&6 2066 else 2067 if test -n "$STRIP"; then 2068 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2069 else 2070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2071 for as_dir in $PATH 2072 do 2073 IFS=$as_save_IFS 2074 test -z "$as_dir" && as_dir=. 2075 for ac_exec_ext in '' $ac_executable_extensions; do 2076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2077 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2079 break 2 2080 fi 2081 done 2082 done 2083 IFS=$as_save_IFS 2084 2085 fi 2086 fi 2087 STRIP=$ac_cv_prog_STRIP 2088 if test -n "$STRIP"; then 2089 { echo "$as_me:$LINENO: result: $STRIP" >&5 2090 echo "${ECHO_T}$STRIP" >&6; } 2091 else 2092 { echo "$as_me:$LINENO: result: no" >&5 2093 echo "${ECHO_T}no" >&6; } 2094 fi 2095 2096 2097 fi 2098 if test -z "$ac_cv_prog_STRIP"; then 2099 ac_ct_STRIP=$STRIP 2100 # Extract the first word of "strip", so it can be a program name with args. 2101 set dummy strip; ac_word=$2 2102 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2104 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2105 echo $ECHO_N "(cached) $ECHO_C" >&6 2106 else 2107 if test -n "$ac_ct_STRIP"; then 2108 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2109 else 2110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2111 for as_dir in $PATH 2112 do 2113 IFS=$as_save_IFS 2114 test -z "$as_dir" && as_dir=. 2115 for ac_exec_ext in '' $ac_executable_extensions; do 2116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2117 ac_cv_prog_ac_ct_STRIP="strip" 2118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2119 break 2 2120 fi 2121 done 2122 done 2123 IFS=$as_save_IFS 2124 2125 fi 2126 fi 2127 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2128 if test -n "$ac_ct_STRIP"; then 2129 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2130 echo "${ECHO_T}$ac_ct_STRIP" >&6; } 2131 else 2132 { echo "$as_me:$LINENO: result: no" >&5 2133 echo "${ECHO_T}no" >&6; } 2134 fi 2135 2136 if test "x$ac_ct_STRIP" = x; then 2137 STRIP=":" 2138 else 2139 case $cross_compiling:$ac_tool_warned in 2140 yes:) 2141 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2142 whose name does not start with the host triplet. If you think this 2143 configuration is useful to you, please write to autoconf (at] gnu.org." >&5 2144 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2145 whose name does not start with the host triplet. If you think this 2146 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;} 2147 ac_tool_warned=yes ;; 2148 esac 2149 STRIP=$ac_ct_STRIP 2150 fi 2151 else 2152 STRIP="$ac_cv_prog_STRIP" 2153 fi 2154 2155 fi 2156 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2157 2158 # We need awk for the "check" target. The system "awk" is bad on 2159 # some platforms. 2160 # Always define AMTAR for backward compatibility. 2161 2162 AMTAR=${AMTAR-"${am_missing_run}tar"} 2163 2164 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2165 2166 2167 2168 2169 2170 ac_ext=c 2171 ac_cpp='$CPP $CPPFLAGS' 2172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2174 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2175 if test -n "$ac_tool_prefix"; then 2176 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2177 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2178 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2180 if test "${ac_cv_prog_CC+set}" = set; then 2181 echo $ECHO_N "(cached) $ECHO_C" >&6 2182 else 2183 if test -n "$CC"; then 2184 ac_cv_prog_CC="$CC" # Let the user override the test. 2185 else 2186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2187 for as_dir in $PATH 2188 do 2189 IFS=$as_save_IFS 2190 test -z "$as_dir" && as_dir=. 2191 for ac_exec_ext in '' $ac_executable_extensions; do 2192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2193 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2195 break 2 2196 fi 2197 done 2198 done 2199 IFS=$as_save_IFS 2200 2201 fi 2202 fi 2203 CC=$ac_cv_prog_CC 2204 if test -n "$CC"; then 2205 { echo "$as_me:$LINENO: result: $CC" >&5 2206 echo "${ECHO_T}$CC" >&6; } 2207 else 2208 { echo "$as_me:$LINENO: result: no" >&5 2209 echo "${ECHO_T}no" >&6; } 2210 fi 2211 2212 2213 fi 2214 if test -z "$ac_cv_prog_CC"; then 2215 ac_ct_CC=$CC 2216 # Extract the first word of "gcc", so it can be a program name with args. 2217 set dummy gcc; ac_word=$2 2218 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2220 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2221 echo $ECHO_N "(cached) $ECHO_C" >&6 2222 else 2223 if test -n "$ac_ct_CC"; then 2224 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2225 else 2226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2227 for as_dir in $PATH 2228 do 2229 IFS=$as_save_IFS 2230 test -z "$as_dir" && as_dir=. 2231 for ac_exec_ext in '' $ac_executable_extensions; do 2232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2233 ac_cv_prog_ac_ct_CC="gcc" 2234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2235 break 2 2236 fi 2237 done 2238 done 2239 IFS=$as_save_IFS 2240 2241 fi 2242 fi 2243 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2244 if test -n "$ac_ct_CC"; then 2245 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2246 echo "${ECHO_T}$ac_ct_CC" >&6; } 2247 else 2248 { echo "$as_me:$LINENO: result: no" >&5 2249 echo "${ECHO_T}no" >&6; } 2250 fi 2251 2252 if test "x$ac_ct_CC" = x; then 2253 CC="" 2254 else 2255 case $cross_compiling:$ac_tool_warned in 2256 yes:) 2257 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2258 whose name does not start with the host triplet. If you think this 2259 configuration is useful to you, please write to autoconf (at] gnu.org." >&5 2260 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2261 whose name does not start with the host triplet. If you think this 2262 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;} 2263 ac_tool_warned=yes ;; 2264 esac 2265 CC=$ac_ct_CC 2266 fi 2267 else 2268 CC="$ac_cv_prog_CC" 2269 fi 2270 2271 if test -z "$CC"; then 2272 if test -n "$ac_tool_prefix"; then 2273 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2274 set dummy ${ac_tool_prefix}cc; ac_word=$2 2275 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2277 if test "${ac_cv_prog_CC+set}" = set; then 2278 echo $ECHO_N "(cached) $ECHO_C" >&6 2279 else 2280 if test -n "$CC"; then 2281 ac_cv_prog_CC="$CC" # Let the user override the test. 2282 else 2283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2284 for as_dir in $PATH 2285 do 2286 IFS=$as_save_IFS 2287 test -z "$as_dir" && as_dir=. 2288 for ac_exec_ext in '' $ac_executable_extensions; do 2289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2290 ac_cv_prog_CC="${ac_tool_prefix}cc" 2291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2292 break 2 2293 fi 2294 done 2295 done 2296 IFS=$as_save_IFS 2297 2298 fi 2299 fi 2300 CC=$ac_cv_prog_CC 2301 if test -n "$CC"; then 2302 { echo "$as_me:$LINENO: result: $CC" >&5 2303 echo "${ECHO_T}$CC" >&6; } 2304 else 2305 { echo "$as_me:$LINENO: result: no" >&5 2306 echo "${ECHO_T}no" >&6; } 2307 fi 2308 2309 2310 fi 2311 fi 2312 if test -z "$CC"; then 2313 # Extract the first word of "cc", so it can be a program name with args. 2314 set dummy cc; ac_word=$2 2315 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2317 if test "${ac_cv_prog_CC+set}" = set; then 2318 echo $ECHO_N "(cached) $ECHO_C" >&6 2319 else 2320 if test -n "$CC"; then 2321 ac_cv_prog_CC="$CC" # Let the user override the test. 2322 else 2323 ac_prog_rejected=no 2324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2325 for as_dir in $PATH 2326 do 2327 IFS=$as_save_IFS 2328 test -z "$as_dir" && as_dir=. 2329 for ac_exec_ext in '' $ac_executable_extensions; do 2330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2331 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2332 ac_prog_rejected=yes 2333 continue 2334 fi 2335 ac_cv_prog_CC="cc" 2336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2337 break 2 2338 fi 2339 done 2340 done 2341 IFS=$as_save_IFS 2342 2343 if test $ac_prog_rejected = yes; then 2344 # We found a bogon in the path, so make sure we never use it. 2345 set dummy $ac_cv_prog_CC 2346 shift 2347 if test $# != 0; then 2348 # We chose a different compiler from the bogus one. 2349 # However, it has the same basename, so the bogon will be chosen 2350 # first if we set CC to just the basename; use the full file name. 2351 shift 2352 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2353 fi 2354 fi 2355 fi 2356 fi 2357 CC=$ac_cv_prog_CC 2358 if test -n "$CC"; then 2359 { echo "$as_me:$LINENO: result: $CC" >&5 2360 echo "${ECHO_T}$CC" >&6; } 2361 else 2362 { echo "$as_me:$LINENO: result: no" >&5 2363 echo "${ECHO_T}no" >&6; } 2364 fi 2365 2366 2367 fi 2368 if test -z "$CC"; then 2369 if test -n "$ac_tool_prefix"; then 2370 for ac_prog in cl.exe 2371 do 2372 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2373 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2374 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2376 if test "${ac_cv_prog_CC+set}" = set; then 2377 echo $ECHO_N "(cached) $ECHO_C" >&6 2378 else 2379 if test -n "$CC"; then 2380 ac_cv_prog_CC="$CC" # Let the user override the test. 2381 else 2382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2383 for as_dir in $PATH 2384 do 2385 IFS=$as_save_IFS 2386 test -z "$as_dir" && as_dir=. 2387 for ac_exec_ext in '' $ac_executable_extensions; do 2388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2389 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2391 break 2 2392 fi 2393 done 2394 done 2395 IFS=$as_save_IFS 2396 2397 fi 2398 fi 2399 CC=$ac_cv_prog_CC 2400 if test -n "$CC"; then 2401 { echo "$as_me:$LINENO: result: $CC" >&5 2402 echo "${ECHO_T}$CC" >&6; } 2403 else 2404 { echo "$as_me:$LINENO: result: no" >&5 2405 echo "${ECHO_T}no" >&6; } 2406 fi 2407 2408 2409 test -n "$CC" && break 2410 done 2411 fi 2412 if test -z "$CC"; then 2413 ac_ct_CC=$CC 2414 for ac_prog in cl.exe 2415 do 2416 # Extract the first word of "$ac_prog", so it can be a program name with args. 2417 set dummy $ac_prog; ac_word=$2 2418 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2420 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2421 echo $ECHO_N "(cached) $ECHO_C" >&6 2422 else 2423 if test -n "$ac_ct_CC"; then 2424 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2425 else 2426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2427 for as_dir in $PATH 2428 do 2429 IFS=$as_save_IFS 2430 test -z "$as_dir" && as_dir=. 2431 for ac_exec_ext in '' $ac_executable_extensions; do 2432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2433 ac_cv_prog_ac_ct_CC="$ac_prog" 2434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2435 break 2 2436 fi 2437 done 2438 done 2439 IFS=$as_save_IFS 2440 2441 fi 2442 fi 2443 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2444 if test -n "$ac_ct_CC"; then 2445 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2446 echo "${ECHO_T}$ac_ct_CC" >&6; } 2447 else 2448 { echo "$as_me:$LINENO: result: no" >&5 2449 echo "${ECHO_T}no" >&6; } 2450 fi 2451 2452 2453 test -n "$ac_ct_CC" && break 2454 done 2455 2456 if test "x$ac_ct_CC" = x; then 2457 CC="" 2458 else 2459 case $cross_compiling:$ac_tool_warned in 2460 yes:) 2461 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2462 whose name does not start with the host triplet. If you think this 2463 configuration is useful to you, please write to autoconf (at] gnu.org." >&5 2464 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2465 whose name does not start with the host triplet. If you think this 2466 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;} 2467 ac_tool_warned=yes ;; 2468 esac 2469 CC=$ac_ct_CC 2470 fi 2471 fi 2472 2473 fi 2474 2475 2476 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2477 See \`config.log' for more details." >&5 2478 echo "$as_me: error: no acceptable C compiler found in \$PATH 2479 See \`config.log' for more details." >&2;} 2480 { (exit 1); exit 1; }; } 2481 2482 # Provide some information about the compiler. 2483 echo "$as_me:$LINENO: checking for C compiler version" >&5 2484 ac_compiler=`set X $ac_compile; echo $2` 2485 { (ac_try="$ac_compiler --version >&5" 2486 case "(($ac_try" in 2487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2488 *) ac_try_echo=$ac_try;; 2489 esac 2490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2491 (eval "$ac_compiler --version >&5") 2>&5 2492 ac_status=$? 2493 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2494 (exit $ac_status); } 2495 { (ac_try="$ac_compiler -v >&5" 2496 case "(($ac_try" in 2497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2498 *) ac_try_echo=$ac_try;; 2499 esac 2500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2501 (eval "$ac_compiler -v >&5") 2>&5 2502 ac_status=$? 2503 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2504 (exit $ac_status); } 2505 { (ac_try="$ac_compiler -V >&5" 2506 case "(($ac_try" in 2507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2508 *) ac_try_echo=$ac_try;; 2509 esac 2510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2511 (eval "$ac_compiler -V >&5") 2>&5 2512 ac_status=$? 2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2514 (exit $ac_status); } 2515 2516 cat >conftest.$ac_ext <<_ACEOF 2517 /* confdefs.h. */ 2518 _ACEOF 2519 cat confdefs.h >>conftest.$ac_ext 2520 cat >>conftest.$ac_ext <<_ACEOF 2521 /* end confdefs.h. */ 2522 2523 int 2524 main () 2525 { 2526 2527 ; 2528 return 0; 2529 } 2530 _ACEOF 2531 ac_clean_files_save=$ac_clean_files 2532 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2533 # Try to create an executable without -o first, disregard a.out. 2534 # It will help us diagnose broken compilers, and finding out an intuition 2535 # of exeext. 2536 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2537 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2538 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2539 # 2540 # List of possible output files, starting from the most likely. 2541 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2542 # only as a last resort. b.out is created by i960 compilers. 2543 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2544 # 2545 # The IRIX 6 linker writes into existing files which may not be 2546 # executable, retaining their permissions. Remove them first so a 2547 # subsequent execution test works. 2548 ac_rmfiles= 2549 for ac_file in $ac_files 2550 do 2551 case $ac_file in 2552 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2553 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2554 esac 2555 done 2556 rm -f $ac_rmfiles 2557 2558 if { (ac_try="$ac_link_default" 2559 case "(($ac_try" in 2560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2561 *) ac_try_echo=$ac_try;; 2562 esac 2563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2564 (eval "$ac_link_default") 2>&5 2565 ac_status=$? 2566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2567 (exit $ac_status); }; then 2568 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2569 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2570 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2571 # so that the user can short-circuit this test for compilers unknown to 2572 # Autoconf. 2573 for ac_file in $ac_files 2574 do 2575 test -f "$ac_file" || continue 2576 case $ac_file in 2577 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 2578 ;; 2579 [ab].out ) 2580 # We found the default executable, but exeext='' is most 2581 # certainly right. 2582 break;; 2583 *.* ) 2584 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2585 then :; else 2586 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2587 fi 2588 # We set ac_cv_exeext here because the later test for it is not 2589 # safe: cross compilers may not add the suffix if given an `-o' 2590 # argument, so we may need to know it at that point already. 2591 # Even if this section looks crufty: it has the advantage of 2592 # actually working. 2593 break;; 2594 * ) 2595 break;; 2596 esac 2597 done 2598 test "$ac_cv_exeext" = no && ac_cv_exeext= 2599 2600 else 2601 echo "$as_me: failed program was:" >&5 2602 sed 's/^/| /' conftest.$ac_ext >&5 2603 2604 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2605 See \`config.log' for more details." >&5 2606 echo "$as_me: error: C compiler cannot create executables 2607 See \`config.log' for more details." >&2;} 2608 { (exit 77); exit 77; }; } 2609 fi 2610 2611 ac_exeext=$ac_cv_exeext 2612 { echo "$as_me:$LINENO: result: $ac_file" >&5 2613 echo "${ECHO_T}$ac_file" >&6; } 2614 2615 # Check that the compiler produces executables we can run. If not, either 2616 # the compiler is broken, or we cross compile. 2617 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2618 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2619 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2620 # If not cross compiling, check that we can run a simple program. 2621 if test "$cross_compiling" != yes; then 2622 if { ac_try='./$ac_file' 2623 { (case "(($ac_try" in 2624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2625 *) ac_try_echo=$ac_try;; 2626 esac 2627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2628 (eval "$ac_try") 2>&5 2629 ac_status=$? 2630 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2631 (exit $ac_status); }; }; then 2632 cross_compiling=no 2633 else 2634 if test "$cross_compiling" = maybe; then 2635 cross_compiling=yes 2636 else 2637 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2638 If you meant to cross compile, use \`--host'. 2639 See \`config.log' for more details." >&5 2640 echo "$as_me: error: cannot run C compiled programs. 2641 If you meant to cross compile, use \`--host'. 2642 See \`config.log' for more details." >&2;} 2643 { (exit 1); exit 1; }; } 2644 fi 2645 fi 2646 fi 2647 { echo "$as_me:$LINENO: result: yes" >&5 2648 echo "${ECHO_T}yes" >&6; } 2649 2650 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2651 ac_clean_files=$ac_clean_files_save 2652 # Check that the compiler produces executables we can run. If not, either 2653 # the compiler is broken, or we cross compile. 2654 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2655 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2656 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2657 echo "${ECHO_T}$cross_compiling" >&6; } 2658 2659 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2660 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2661 if { (ac_try="$ac_link" 2662 case "(($ac_try" in 2663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2664 *) ac_try_echo=$ac_try;; 2665 esac 2666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2667 (eval "$ac_link") 2>&5 2668 ac_status=$? 2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2670 (exit $ac_status); }; then 2671 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2672 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2673 # work properly (i.e., refer to `conftest.exe'), while it won't with 2674 # `rm'. 2675 for ac_file in conftest.exe conftest conftest.*; do 2676 test -f "$ac_file" || continue 2677 case $ac_file in 2678 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2679 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2680 break;; 2681 * ) break;; 2682 esac 2683 done 2684 else 2685 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2686 See \`config.log' for more details." >&5 2687 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2688 See \`config.log' for more details." >&2;} 2689 { (exit 1); exit 1; }; } 2690 fi 2691 2692 rm -f conftest$ac_cv_exeext 2693 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2694 echo "${ECHO_T}$ac_cv_exeext" >&6; } 2695 2696 rm -f conftest.$ac_ext 2697 EXEEXT=$ac_cv_exeext 2698 ac_exeext=$EXEEXT 2699 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2700 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2701 if test "${ac_cv_objext+set}" = set; then 2702 echo $ECHO_N "(cached) $ECHO_C" >&6 2703 else 2704 cat >conftest.$ac_ext <<_ACEOF 2705 /* confdefs.h. */ 2706 _ACEOF 2707 cat confdefs.h >>conftest.$ac_ext 2708 cat >>conftest.$ac_ext <<_ACEOF 2709 /* end confdefs.h. */ 2710 2711 int 2712 main () 2713 { 2714 2715 ; 2716 return 0; 2717 } 2718 _ACEOF 2719 rm -f conftest.o conftest.obj 2720 if { (ac_try="$ac_compile" 2721 case "(($ac_try" in 2722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2723 *) ac_try_echo=$ac_try;; 2724 esac 2725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2726 (eval "$ac_compile") 2>&5 2727 ac_status=$? 2728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2729 (exit $ac_status); }; then 2730 for ac_file in conftest.o conftest.obj conftest.*; do 2731 test -f "$ac_file" || continue; 2732 case $ac_file in 2733 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 2734 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2735 break;; 2736 esac 2737 done 2738 else 2739 echo "$as_me: failed program was:" >&5 2740 sed 's/^/| /' conftest.$ac_ext >&5 2741 2742 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2743 See \`config.log' for more details." >&5 2744 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2745 See \`config.log' for more details." >&2;} 2746 { (exit 1); exit 1; }; } 2747 fi 2748 2749 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2750 fi 2751 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2752 echo "${ECHO_T}$ac_cv_objext" >&6; } 2753 OBJEXT=$ac_cv_objext 2754 ac_objext=$OBJEXT 2755 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2756 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2757 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2758 echo $ECHO_N "(cached) $ECHO_C" >&6 2759 else 2760 cat >conftest.$ac_ext <<_ACEOF 2761 /* confdefs.h. */ 2762 _ACEOF 2763 cat confdefs.h >>conftest.$ac_ext 2764 cat >>conftest.$ac_ext <<_ACEOF 2765 /* end confdefs.h. */ 2766 2767 int 2768 main () 2769 { 2770 #ifndef __GNUC__ 2771 choke me 2772 #endif 2773 2774 ; 2775 return 0; 2776 } 2777 _ACEOF 2778 rm -f conftest.$ac_objext 2779 if { (ac_try="$ac_compile" 2780 case "(($ac_try" in 2781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2782 *) ac_try_echo=$ac_try;; 2783 esac 2784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2785 (eval "$ac_compile") 2>conftest.er1 2786 ac_status=$? 2787 grep -v '^ *+' conftest.er1 >conftest.err 2788 rm -f conftest.er1 2789 cat conftest.err >&5 2790 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2791 (exit $ac_status); } && 2792 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2793 { (case "(($ac_try" in 2794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2795 *) ac_try_echo=$ac_try;; 2796 esac 2797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2798 (eval "$ac_try") 2>&5 2799 ac_status=$? 2800 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2801 (exit $ac_status); }; } && 2802 { ac_try='test -s conftest.$ac_objext' 2803 { (case "(($ac_try" in 2804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2805 *) ac_try_echo=$ac_try;; 2806 esac 2807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2808 (eval "$ac_try") 2>&5 2809 ac_status=$? 2810 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2811 (exit $ac_status); }; }; then 2812 ac_compiler_gnu=yes 2813 else 2814 echo "$as_me: failed program was:" >&5 2815 sed 's/^/| /' conftest.$ac_ext >&5 2816 2817 ac_compiler_gnu=no 2818 fi 2819 2820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2821 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2822 2823 fi 2824 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2825 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2826 GCC=`test $ac_compiler_gnu = yes && echo yes` 2827 ac_test_CFLAGS=${CFLAGS+set} 2828 ac_save_CFLAGS=$CFLAGS 2829 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2830 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2831 if test "${ac_cv_prog_cc_g+set}" = set; then 2832 echo $ECHO_N "(cached) $ECHO_C" >&6 2833 else 2834 ac_save_c_werror_flag=$ac_c_werror_flag 2835 ac_c_werror_flag=yes 2836 ac_cv_prog_cc_g=no 2837 CFLAGS="-g" 2838 cat >conftest.$ac_ext <<_ACEOF 2839 /* confdefs.h. */ 2840 _ACEOF 2841 cat confdefs.h >>conftest.$ac_ext 2842 cat >>conftest.$ac_ext <<_ACEOF 2843 /* end confdefs.h. */ 2844 2845 int 2846 main () 2847 { 2848 2849 ; 2850 return 0; 2851 } 2852 _ACEOF 2853 rm -f conftest.$ac_objext 2854 if { (ac_try="$ac_compile" 2855 case "(($ac_try" in 2856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2857 *) ac_try_echo=$ac_try;; 2858 esac 2859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2860 (eval "$ac_compile") 2>conftest.er1 2861 ac_status=$? 2862 grep -v '^ *+' conftest.er1 >conftest.err 2863 rm -f conftest.er1 2864 cat conftest.err >&5 2865 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2866 (exit $ac_status); } && 2867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2868 { (case "(($ac_try" in 2869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2870 *) ac_try_echo=$ac_try;; 2871 esac 2872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2873 (eval "$ac_try") 2>&5 2874 ac_status=$? 2875 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2876 (exit $ac_status); }; } && 2877 { ac_try='test -s conftest.$ac_objext' 2878 { (case "(($ac_try" in 2879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2880 *) ac_try_echo=$ac_try;; 2881 esac 2882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2883 (eval "$ac_try") 2>&5 2884 ac_status=$? 2885 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2886 (exit $ac_status); }; }; then 2887 ac_cv_prog_cc_g=yes 2888 else 2889 echo "$as_me: failed program was:" >&5 2890 sed 's/^/| /' conftest.$ac_ext >&5 2891 2892 CFLAGS="" 2893 cat >conftest.$ac_ext <<_ACEOF 2894 /* confdefs.h. */ 2895 _ACEOF 2896 cat confdefs.h >>conftest.$ac_ext 2897 cat >>conftest.$ac_ext <<_ACEOF 2898 /* end confdefs.h. */ 2899 2900 int 2901 main () 2902 { 2903 2904 ; 2905 return 0; 2906 } 2907 _ACEOF 2908 rm -f conftest.$ac_objext 2909 if { (ac_try="$ac_compile" 2910 case "(($ac_try" in 2911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2912 *) ac_try_echo=$ac_try;; 2913 esac 2914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2915 (eval "$ac_compile") 2>conftest.er1 2916 ac_status=$? 2917 grep -v '^ *+' conftest.er1 >conftest.err 2918 rm -f conftest.er1 2919 cat conftest.err >&5 2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2921 (exit $ac_status); } && 2922 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2923 { (case "(($ac_try" in 2924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2925 *) ac_try_echo=$ac_try;; 2926 esac 2927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2928 (eval "$ac_try") 2>&5 2929 ac_status=$? 2930 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2931 (exit $ac_status); }; } && 2932 { ac_try='test -s conftest.$ac_objext' 2933 { (case "(($ac_try" in 2934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2935 *) ac_try_echo=$ac_try;; 2936 esac 2937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2938 (eval "$ac_try") 2>&5 2939 ac_status=$? 2940 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2941 (exit $ac_status); }; }; then 2942 : 2943 else 2944 echo "$as_me: failed program was:" >&5 2945 sed 's/^/| /' conftest.$ac_ext >&5 2946 2947 ac_c_werror_flag=$ac_save_c_werror_flag 2948 CFLAGS="-g" 2949 cat >conftest.$ac_ext <<_ACEOF 2950 /* confdefs.h. */ 2951 _ACEOF 2952 cat confdefs.h >>conftest.$ac_ext 2953 cat >>conftest.$ac_ext <<_ACEOF 2954 /* end confdefs.h. */ 2955 2956 int 2957 main () 2958 { 2959 2960 ; 2961 return 0; 2962 } 2963 _ACEOF 2964 rm -f conftest.$ac_objext 2965 if { (ac_try="$ac_compile" 2966 case "(($ac_try" in 2967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2968 *) ac_try_echo=$ac_try;; 2969 esac 2970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2971 (eval "$ac_compile") 2>conftest.er1 2972 ac_status=$? 2973 grep -v '^ *+' conftest.er1 >conftest.err 2974 rm -f conftest.er1 2975 cat conftest.err >&5 2976 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2977 (exit $ac_status); } && 2978 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2979 { (case "(($ac_try" in 2980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2981 *) ac_try_echo=$ac_try;; 2982 esac 2983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2984 (eval "$ac_try") 2>&5 2985 ac_status=$? 2986 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2987 (exit $ac_status); }; } && 2988 { ac_try='test -s conftest.$ac_objext' 2989 { (case "(($ac_try" in 2990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2991 *) ac_try_echo=$ac_try;; 2992 esac 2993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2994 (eval "$ac_try") 2>&5 2995 ac_status=$? 2996 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2997 (exit $ac_status); }; }; then 2998 ac_cv_prog_cc_g=yes 2999 else 3000 echo "$as_me: failed program was:" >&5 3001 sed 's/^/| /' conftest.$ac_ext >&5 3002 3003 3004 fi 3005 3006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3007 fi 3008 3009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3010 fi 3011 3012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3013 ac_c_werror_flag=$ac_save_c_werror_flag 3014 fi 3015 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3016 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 3017 if test "$ac_test_CFLAGS" = set; then 3018 CFLAGS=$ac_save_CFLAGS 3019 elif test $ac_cv_prog_cc_g = yes; then 3020 if test "$GCC" = yes; then 3021 CFLAGS="-g -O2" 3022 else 3023 CFLAGS="-g" 3024 fi 3025 else 3026 if test "$GCC" = yes; then 3027 CFLAGS="-O2" 3028 else 3029 CFLAGS= 3030 fi 3031 fi 3032 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3033 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 3034 if test "${ac_cv_prog_cc_c89+set}" = set; then 3035 echo $ECHO_N "(cached) $ECHO_C" >&6 3036 else 3037 ac_cv_prog_cc_c89=no 3038 ac_save_CC=$CC 3039 cat >conftest.$ac_ext <<_ACEOF 3040 /* confdefs.h. */ 3041 _ACEOF 3042 cat confdefs.h >>conftest.$ac_ext 3043 cat >>conftest.$ac_ext <<_ACEOF 3044 /* end confdefs.h. */ 3045 #include <stdarg.h> 3046 #include <stdio.h> 3047 #include <sys/types.h> 3048 #include <sys/stat.h> 3049 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3050 struct buf { int x; }; 3051 FILE * (*rcsopen) (struct buf *, struct stat *, int); 3052 static char *e (p, i) 3053 char **p; 3054 int i; 3055 { 3056 return p[i]; 3057 } 3058 static char *f (char * (*g) (char **, int), char **p, ...) 3059 { 3060 char *s; 3061 va_list v; 3062 va_start (v,p); 3063 s = g (p, va_arg (v,int)); 3064 va_end (v); 3065 return s; 3066 } 3067 3068 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3069 function prototypes and stuff, but not '\xHH' hex character constants. 3070 These don't provoke an error unfortunately, instead are silently treated 3071 as 'x'. The following induces an error, until -std is added to get 3072 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3073 array size at least. It's necessary to write '\x00'==0 to get something 3074 that's true only with -std. */ 3075 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3076 3077 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3078 inside strings and character constants. */ 3079 #define FOO(x) 'x' 3080 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3081 3082 int test (int i, double x); 3083 struct s1 {int (*f) (int a);}; 3084 struct s2 {int (*f) (double a);}; 3085 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3086 int argc; 3087 char **argv; 3088 int 3089 main () 3090 { 3091 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3092 ; 3093 return 0; 3094 } 3095 _ACEOF 3096 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3097 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3098 do 3099 CC="$ac_save_CC $ac_arg" 3100 rm -f conftest.$ac_objext 3101 if { (ac_try="$ac_compile" 3102 case "(($ac_try" in 3103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3104 *) ac_try_echo=$ac_try;; 3105 esac 3106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3107 (eval "$ac_compile") 2>conftest.er1 3108 ac_status=$? 3109 grep -v '^ *+' conftest.er1 >conftest.err 3110 rm -f conftest.er1 3111 cat conftest.err >&5 3112 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3113 (exit $ac_status); } && 3114 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3115 { (case "(($ac_try" in 3116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3117 *) ac_try_echo=$ac_try;; 3118 esac 3119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3120 (eval "$ac_try") 2>&5 3121 ac_status=$? 3122 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3123 (exit $ac_status); }; } && 3124 { ac_try='test -s conftest.$ac_objext' 3125 { (case "(($ac_try" in 3126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3127 *) ac_try_echo=$ac_try;; 3128 esac 3129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3130 (eval "$ac_try") 2>&5 3131 ac_status=$? 3132 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3133 (exit $ac_status); }; }; then 3134 ac_cv_prog_cc_c89=$ac_arg 3135 else 3136 echo "$as_me: failed program was:" >&5 3137 sed 's/^/| /' conftest.$ac_ext >&5 3138 3139 3140 fi 3141 3142 rm -f core conftest.err conftest.$ac_objext 3143 test "x$ac_cv_prog_cc_c89" != "xno" && break 3144 done 3145 rm -f conftest.$ac_ext 3146 CC=$ac_save_CC 3147 3148 fi 3149 # AC_CACHE_VAL 3150 case "x$ac_cv_prog_cc_c89" in 3151 x) 3152 { echo "$as_me:$LINENO: result: none needed" >&5 3153 echo "${ECHO_T}none needed" >&6; } ;; 3154 xno) 3155 { echo "$as_me:$LINENO: result: unsupported" >&5 3156 echo "${ECHO_T}unsupported" >&6; } ;; 3157 *) 3158 CC="$CC $ac_cv_prog_cc_c89" 3159 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3160 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 3161 esac 3162 3163 3164 ac_ext=c 3165 ac_cpp='$CPP $CPPFLAGS' 3166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3168 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3169 DEPDIR="${am__leading_dot}deps" 3170 3171 ac_config_commands="$ac_config_commands depfiles" 3172 3173 3174 am_make=${MAKE-make} 3175 cat > confinc << 'END' 3176 am__doit: 3177 @echo done 3178 .PHONY: am__doit 3179 END 3180 # If we don't find an include directive, just comment out the code. 3181 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 3182 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } 3183 am__include="#" 3184 am__quote= 3185 _am_result=none 3186 # First try GNU make style include. 3187 echo "include confinc" > confmf 3188 # We grep out `Entering directory' and `Leaving directory' 3189 # messages which can occur if `w' ends up in MAKEFLAGS. 3190 # In particular we don't look at `^make:' because GNU make might 3191 # be invoked under some other name (usually "gmake"), in which 3192 # case it prints its new name instead of `make'. 3193 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 3194 am__include=include 3195 am__quote= 3196 _am_result=GNU 3197 fi 3198 # Now try BSD make style include. 3199 if test "$am__include" = "#"; then 3200 echo '.include "confinc"' > confmf 3201 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 3202 am__include=.include 3203 am__quote="\"" 3204 _am_result=BSD 3205 fi 3206 fi 3207 3208 3209 { echo "$as_me:$LINENO: result: $_am_result" >&5 3210 echo "${ECHO_T}$_am_result" >&6; } 3211 rm -f confinc confmf 3212 3213 # Check whether --enable-dependency-tracking was given. 3214 if test "${enable_dependency_tracking+set}" = set; then 3215 enableval=$enable_dependency_tracking; 3216 fi 3217 3218 if test "x$enable_dependency_tracking" != xno; then 3219 am_depcomp="$ac_aux_dir/depcomp" 3220 AMDEPBACKSLASH='\' 3221 fi 3222 if test "x$enable_dependency_tracking" != xno; then 3223 AMDEP_TRUE= 3224 AMDEP_FALSE='#' 3225 else 3226 AMDEP_TRUE='#' 3227 AMDEP_FALSE= 3228 fi 3229 3230 3231 3232 depcc="$CC" am_compiler_list= 3233 3234 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3235 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 3236 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3237 echo $ECHO_N "(cached) $ECHO_C" >&6 3238 else 3239 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3240 # We make a subdir and do the tests there. Otherwise we can end up 3241 # making bogus files that we don't know about and never remove. For 3242 # instance it was reported that on HP-UX the gcc test will end up 3243 # making a dummy file named `D' -- because `-MD' means `put the output 3244 # in D'. 3245 mkdir conftest.dir 3246 # Copy depcomp to subdir because otherwise we won't find it if we're 3247 # using a relative directory. 3248 cp "$am_depcomp" conftest.dir 3249 cd conftest.dir 3250 # We will build objects and dependencies in a subdirectory because 3251 # it helps to detect inapplicable dependency modes. For instance 3252 # both Tru64's cc and ICC support -MD to output dependencies as a 3253 # side effect of compilation, but ICC will put the dependencies in 3254 # the current directory while Tru64 will put them in the object 3255 # directory. 3256 mkdir sub 3257 3258 am_cv_CC_dependencies_compiler_type=none 3259 if test "$am_compiler_list" = ""; then 3260 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3261 fi 3262 for depmode in $am_compiler_list; do 3263 # Setup a source with many dependencies, because some compilers 3264 # like to wrap large dependency lists on column 80 (with \), and 3265 # we should not choose a depcomp mode which is confused by this. 3266 # 3267 # We need to recreate these files for each test, as the compiler may 3268 # overwrite some of them when testing with obscure command lines. 3269 # This happens at least with the AIX C compiler. 3270 : > sub/conftest.c 3271 for i in 1 2 3 4 5 6; do 3272 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3273 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3274 # Solaris 8's {/usr,}/bin/sh. 3275 touch sub/conftst$i.h 3276 done 3277 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3278 3279 case $depmode in 3280 nosideeffect) 3281 # after this tag, mechanisms are not by side-effect, so they'll 3282 # only be used when explicitly requested 3283 if test "x$enable_dependency_tracking" = xyes; then 3284 continue 3285 else 3286 break 3287 fi 3288 ;; 3289 none) break ;; 3290 esac 3291 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3292 # mode. It turns out that the SunPro C++ compiler does not properly 3293 # handle `-M -o', and we need to detect this. 3294 if depmode=$depmode \ 3295 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3296 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3297 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3298 >/dev/null 2>conftest.err && 3299 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3300 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3301 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3302 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3303 # icc doesn't choke on unknown options, it will just issue warnings 3304 # or remarks (even with -Werror). So we grep stderr for any message 3305 # that says an option was ignored or not supported. 3306 # When given -MP, icc 7.0 and 7.1 complain thusly: 3307 # icc: Command line warning: ignoring option '-M'; no argument required 3308 # The diagnosis changed in icc 8.0: 3309 # icc: Command line remark: option '-MP' not supported 3310 if (grep 'ignoring option' conftest.err || 3311 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3312 am_cv_CC_dependencies_compiler_type=$depmode 3313 break 3314 fi 3315 fi 3316 done 3317 3318 cd .. 3319 rm -rf conftest.dir 3320 else 3321 am_cv_CC_dependencies_compiler_type=none 3322 fi 3323 3324 fi 3325 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3326 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } 3327 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3328 3329 if 3330 test "x$enable_dependency_tracking" != xno \ 3331 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3332 am__fastdepCC_TRUE= 3333 am__fastdepCC_FALSE='#' 3334 else 3335 am__fastdepCC_TRUE='#' 3336 am__fastdepCC_FALSE= 3337 fi 3338 3339 3340 3341 if test "X$prefix" = "XNONE"; then 3342 acl_final_prefix="$ac_default_prefix" 3343 else 3344 acl_final_prefix="$prefix" 3345 fi 3346 if test "X$exec_prefix" = "XNONE"; then 3347 acl_final_exec_prefix='${prefix}' 3348 else 3349 acl_final_exec_prefix="$exec_prefix" 3350 fi 3351 acl_save_prefix="$prefix" 3352 prefix="$acl_final_prefix" 3353 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 3354 prefix="$acl_save_prefix" 3355 3356 # Make sure we can run config.sub. 3357 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3358 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 3359 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 3360 { (exit 1); exit 1; }; } 3361 3362 { echo "$as_me:$LINENO: checking build system type" >&5 3363 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 3364 if test "${ac_cv_build+set}" = set; then 3365 echo $ECHO_N "(cached) $ECHO_C" >&6 3366 else 3367 ac_build_alias=$build_alias 3368 test "x$ac_build_alias" = x && 3369 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3370 test "x$ac_build_alias" = x && 3371 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 3372 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 3373 { (exit 1); exit 1; }; } 3374 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3375 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 3376 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 3377 { (exit 1); exit 1; }; } 3378 3379 fi 3380 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3381 echo "${ECHO_T}$ac_cv_build" >&6; } 3382 case $ac_cv_build in 3383 *-*-*) ;; 3384 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 3385 echo "$as_me: error: invalid value of canonical build" >&2;} 3386 { (exit 1); exit 1; }; };; 3387 esac 3388 build=$ac_cv_build 3389 ac_save_IFS=$IFS; IFS='-' 3390 set x $ac_cv_build 3391 shift 3392 build_cpu=$1 3393 build_vendor=$2 3394 shift; shift 3395 # Remember, the first character of IFS is used to create $*, 3396 # except with old shells: 3397 build_os=$* 3398 IFS=$ac_save_IFS 3399 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3400 3401 3402 { echo "$as_me:$LINENO: checking host system type" >&5 3403 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 3404 if test "${ac_cv_host+set}" = set; then 3405 echo $ECHO_N "(cached) $ECHO_C" >&6 3406 else 3407 if test "x$host_alias" = x; then 3408 ac_cv_host=$ac_cv_build 3409 else 3410 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3411 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 3412 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 3413 { (exit 1); exit 1; }; } 3414 fi 3415 3416 fi 3417 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3418 echo "${ECHO_T}$ac_cv_host" >&6; } 3419 case $ac_cv_host in 3420 *-*-*) ;; 3421 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 3422 echo "$as_me: error: invalid value of canonical host" >&2;} 3423 { (exit 1); exit 1; }; };; 3424 esac 3425 host=$ac_cv_host 3426 ac_save_IFS=$IFS; IFS='-' 3427 set x $ac_cv_host 3428 shift 3429 host_cpu=$1 3430 host_vendor=$2 3431 shift; shift 3432 # Remember, the first character of IFS is used to create $*, 3433 # except with old shells: 3434 host_os=$* 3435 IFS=$ac_save_IFS 3436 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3437 3438 3439 3440 # Check whether --with-gnu-ld was given. 3441 if test "${with_gnu_ld+set}" = set; then 3442 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 3443 else 3444 with_gnu_ld=no 3445 fi 3446 3447 # Prepare PATH_SEPARATOR. 3448 # The user is always right. 3449 if test "${PATH_SEPARATOR+set}" != set; then 3450 echo "#! /bin/sh" >conf$$.sh 3451 echo "exit 0" >>conf$$.sh 3452 chmod +x conf$$.sh 3453 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 3454 PATH_SEPARATOR=';' 3455 else 3456 PATH_SEPARATOR=: 3457 fi 3458 rm -f conf$$.sh 3459 fi 3460 ac_prog=ld 3461 if test "$GCC" = yes; then 3462 # Check if gcc -print-prog-name=ld gives a path. 3463 { echo "$as_me:$LINENO: checking for ld used by GCC" >&5 3464 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; } 3465 case $host in 3466 *-*-mingw*) 3467 # gcc leaves a trailing carriage return which upsets mingw 3468 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 3469 *) 3470 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 3471 esac 3472 case $ac_prog in 3473 # Accept absolute paths. 3474 [\\/]* | [A-Za-z]:[\\/]*) 3475 re_direlt='/[^/][^/]*/\.\./' 3476 # Canonicalize the path of ld 3477 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` 3478 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do 3479 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 3480 done 3481 test -z "$LD" && LD="$ac_prog" 3482 ;; 3483 "") 3484 # If it fails, then pretend we aren't using GCC. 3485 ac_prog=ld 3486 ;; 3487 *) 3488 # If it is relative, then search for the first ld in PATH. 3489 with_gnu_ld=unknown 3490 ;; 3491 esac 3492 elif test "$with_gnu_ld" = yes; then 3493 { echo "$as_me:$LINENO: checking for GNU ld" >&5 3494 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } 3495 else 3496 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 3497 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } 3498 fi 3499 if test "${acl_cv_path_LD+set}" = set; then 3500 echo $ECHO_N "(cached) $ECHO_C" >&6 3501 else 3502 if test -z "$LD"; then 3503 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 3504 for ac_dir in $PATH; do 3505 test -z "$ac_dir" && ac_dir=. 3506 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 3507 acl_cv_path_LD="$ac_dir/$ac_prog" 3508 # Check to see if the program is GNU ld. I'd rather use --version, 3509 # but apparently some GNU ld's only accept -v. 3510 # Break only if it was the GNU/non-GNU ld that we prefer. 3511 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in 3512 *GNU* | *'with BFD'*) 3513 test "$with_gnu_ld" != no && break ;; 3514 *) 3515 test "$with_gnu_ld" != yes && break ;; 3516 esac 3517 fi 3518 done 3519 IFS="$ac_save_ifs" 3520 else 3521 acl_cv_path_LD="$LD" # Let the user override the test with a path. 3522 fi 3523 fi 3524 3525 LD="$acl_cv_path_LD" 3526 if test -n "$LD"; then 3527 { echo "$as_me:$LINENO: result: $LD" >&5 3528 echo "${ECHO_T}$LD" >&6; } 3529 else 3530 { echo "$as_me:$LINENO: result: no" >&5 3531 echo "${ECHO_T}no" >&6; } 3532 fi 3533 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 3534 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 3535 { (exit 1); exit 1; }; } 3536 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 3537 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } 3538 if test "${acl_cv_prog_gnu_ld+set}" = set; then 3539 echo $ECHO_N "(cached) $ECHO_C" >&6 3540 else 3541 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 3542 case `$LD -v 2>&1 </dev/null` in 3543 *GNU* | *'with BFD'*) 3544 acl_cv_prog_gnu_ld=yes ;; 3545 *) 3546 acl_cv_prog_gnu_ld=no ;; 3547 esac 3548 fi 3549 { echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5 3550 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; } 3551 with_gnu_ld=$acl_cv_prog_gnu_ld 3552 3553 3554 3555 3556 { echo "$as_me:$LINENO: checking for shared library run path origin" >&5 3557 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; } 3558 if test "${acl_cv_rpath+set}" = set; then 3559 echo $ECHO_N "(cached) $ECHO_C" >&6 3560 else 3561 3562 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 3563 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 3564 . ./conftest.sh 3565 rm -f ./conftest.sh 3566 acl_cv_rpath=done 3567 3568 fi 3569 { echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5 3570 echo "${ECHO_T}$acl_cv_rpath" >&6; } 3571 wl="$acl_cv_wl" 3572 libext="$acl_cv_libext" 3573 shlibext="$acl_cv_shlibext" 3574 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 3575 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 3576 hardcode_direct="$acl_cv_hardcode_direct" 3577 hardcode_minus_L="$acl_cv_hardcode_minus_L" 3578 # Check whether --enable-rpath was given. 3579 if test "${enable_rpath+set}" = set; then 3580 enableval=$enable_rpath; : 3581 else 3582 enable_rpath=yes 3583 fi 3584 3585 3586 3587 acl_libdirstem=lib 3588 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` 3589 if test -n "$searchpath"; then 3590 acl_save_IFS="${IFS= }"; IFS=":" 3591 for searchdir in $searchpath; do 3592 if test -d "$searchdir"; then 3593 case "$searchdir" in 3594 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; 3595 *) searchdir=`cd "$searchdir" && pwd` 3596 case "$searchdir" in 3597 */lib64 ) acl_libdirstem=lib64 ;; 3598 esac ;; 3599 esac 3600 fi 3601 done 3602 IFS="$acl_save_IFS" 3603 fi 3604 3605 3606 3607 3608 3609 3610 { echo "$as_me:$LINENO: checking how to link with librpathx" >&5 3611 echo $ECHO_N "checking how to link with librpathx... $ECHO_C" >&6; } 3612 if test "${ac_cv_librpathx_libs+set}" = set; then 3613 echo $ECHO_N "(cached) $ECHO_C" >&6 3614 else 3615 3616 3617 3618 3619 use_additional=yes 3620 3621 acl_save_prefix="$prefix" 3622 prefix="$acl_final_prefix" 3623 acl_save_exec_prefix="$exec_prefix" 3624 exec_prefix="$acl_final_exec_prefix" 3625 3626 eval additional_includedir=\"$includedir\" 3627 eval additional_libdir=\"$libdir\" 3628 3629 exec_prefix="$acl_save_exec_prefix" 3630 prefix="$acl_save_prefix" 3631 3632 3633 # Check whether --with-librpathx-prefix was given. 3634 if test "${with_librpathx_prefix+set}" = set; then 3635 withval=$with_librpathx_prefix; 3636 if test "X$withval" = "Xno"; then 3637 use_additional=no 3638 else 3639 if test "X$withval" = "X"; then 3640 3641 acl_save_prefix="$prefix" 3642 prefix="$acl_final_prefix" 3643 acl_save_exec_prefix="$exec_prefix" 3644 exec_prefix="$acl_final_exec_prefix" 3645 3646 eval additional_includedir=\"$includedir\" 3647 eval additional_libdir=\"$libdir\" 3648 3649 exec_prefix="$acl_save_exec_prefix" 3650 prefix="$acl_save_prefix" 3651 3652 else 3653 additional_includedir="$withval/include" 3654 additional_libdir="$withval/$acl_libdirstem" 3655 fi 3656 fi 3657 3658 fi 3659 3660 LIBRPATHX= 3661 LTLIBRPATHX= 3662 INCRPATHX= 3663 rpathdirs= 3664 ltrpathdirs= 3665 names_already_handled= 3666 names_next_round='rpathx ' 3667 while test -n "$names_next_round"; do 3668 names_this_round="$names_next_round" 3669 names_next_round= 3670 for name in $names_this_round; do 3671 already_handled= 3672 for n in $names_already_handled; do 3673 if test "$n" = "$name"; then 3674 already_handled=yes 3675 break 3676 fi 3677 done 3678 if test -z "$already_handled"; then 3679 names_already_handled="$names_already_handled $name" 3680 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 3681 eval value=\"\$HAVE_LIB$uppername\" 3682 if test -n "$value"; then 3683 if test "$value" = yes; then 3684 eval value=\"\$LIB$uppername\" 3685 test -z "$value" || LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$value" 3686 eval value=\"\$LTLIB$uppername\" 3687 test -z "$value" || LTLIBRPATHX="${LTLIBRPATHX}${LTLIBRPATHX:+ }$value" 3688 else 3689 : 3690 fi 3691 else 3692 found_dir= 3693 found_la= 3694 found_so= 3695 found_a= 3696 if test $use_additional = yes; then 3697 if test -n "$shlibext" \ 3698 && { test -f "$additional_libdir/lib$name.$shlibext" \ 3699 || { test "$shlibext" = dll \ 3700 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then 3701 found_dir="$additional_libdir" 3702 if test -f "$additional_libdir/lib$name.$shlibext"; then 3703 found_so="$additional_libdir/lib$name.$shlibext" 3704 else 3705 found_so="$additional_libdir/lib$name.dll.a" 3706 fi 3707 if test -f "$additional_libdir/lib$name.la"; then 3708 found_la="$additional_libdir/lib$name.la" 3709 fi 3710 else 3711 if test -f "$additional_libdir/lib$name.$libext"; then 3712 found_dir="$additional_libdir" 3713 found_a="$additional_libdir/lib$name.$libext" 3714 if test -f "$additional_libdir/lib$name.la"; then 3715 found_la="$additional_libdir/lib$name.la" 3716 fi 3717 fi 3718 fi 3719 fi 3720 if test "X$found_dir" = "X"; then 3721 for x in $LDFLAGS $LTLIBRPATHX; do 3722 3723 acl_save_prefix="$prefix" 3724 prefix="$acl_final_prefix" 3725 acl_save_exec_prefix="$exec_prefix" 3726 exec_prefix="$acl_final_exec_prefix" 3727 eval x=\"$x\" 3728 exec_prefix="$acl_save_exec_prefix" 3729 prefix="$acl_save_prefix" 3730 3731 case "$x" in 3732 -L*) 3733 dir=`echo "X$x" | sed -e 's/^X-L//'` 3734 if test -n "$shlibext" \ 3735 && { test -f "$dir/lib$name.$shlibext" \ 3736 || { test "$shlibext" = dll \ 3737 && test -f "$dir/lib$name.dll.a"; }; }; then 3738 found_dir="$dir" 3739 if test -f "$dir/lib$name.$shlibext"; then 3740 found_so="$dir/lib$name.$shlibext" 3741 else 3742 found_so="$dir/lib$name.dll.a" 3743 fi 3744 if test -f "$dir/lib$name.la"; then 3745 found_la="$dir/lib$name.la" 3746 fi 3747 else 3748 if test -f "$dir/lib$name.$libext"; then 3749 found_dir="$dir" 3750 found_a="$dir/lib$name.$libext" 3751 if test -f "$dir/lib$name.la"; then 3752 found_la="$dir/lib$name.la" 3753 fi 3754 fi 3755 fi 3756 ;; 3757 esac 3758 if test "X$found_dir" != "X"; then 3759 break 3760 fi 3761 done 3762 fi 3763 if test "X$found_dir" != "X"; then 3764 LTLIBRPATHX="${LTLIBRPATHX}${LTLIBRPATHX:+ }-L$found_dir -l$name" 3765 if test "X$found_so" != "X"; then 3766 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then 3767 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$found_so" 3768 else 3769 haveit= 3770 for x in $ltrpathdirs; do 3771 if test "X$x" = "X$found_dir"; then 3772 haveit=yes 3773 break 3774 fi 3775 done 3776 if test -z "$haveit"; then 3777 ltrpathdirs="$ltrpathdirs $found_dir" 3778 fi 3779 if test "$hardcode_direct" = yes; then 3780 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$found_so" 3781 else 3782 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then 3783 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$found_so" 3784 haveit= 3785 for x in $rpathdirs; do 3786 if test "X$x" = "X$found_dir"; then 3787 haveit=yes 3788 break 3789 fi 3790 done 3791 if test -z "$haveit"; then 3792 rpathdirs="$rpathdirs $found_dir" 3793 fi 3794 else 3795 haveit= 3796 for x in $LDFLAGS $LIBRPATHX; do 3797 3798 acl_save_prefix="$prefix" 3799 prefix="$acl_final_prefix" 3800 acl_save_exec_prefix="$exec_prefix" 3801 exec_prefix="$acl_final_exec_prefix" 3802 eval x=\"$x\" 3803 exec_prefix="$acl_save_exec_prefix" 3804 prefix="$acl_save_prefix" 3805 3806 if test "X$x" = "X-L$found_dir"; then 3807 haveit=yes 3808 break 3809 fi 3810 done 3811 if test -z "$haveit"; then 3812 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }-L$found_dir" 3813 fi 3814 if test "$hardcode_minus_L" != no; then 3815 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$found_so" 3816 else 3817 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }-l$name" 3818 fi 3819 fi 3820 fi 3821 fi 3822 else 3823 if test "X$found_a" != "X"; then 3824 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$found_a" 3825 else 3826 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }-L$found_dir -l$name" 3827 fi 3828 fi 3829 additional_includedir= 3830 case "$found_dir" in 3831 */$acl_libdirstem | */$acl_libdirstem/) 3832 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 3833 additional_includedir="$basedir/include" 3834 ;; 3835 esac 3836 if test "X$additional_includedir" != "X"; then 3837 if test "X$additional_includedir" != "X/usr/include"; then 3838 haveit= 3839 if test "X$additional_includedir" = "X/usr/local/include"; then 3840 if test -n "$GCC"; then 3841 case $host_os in 3842 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 3843 esac 3844 fi 3845 fi 3846 if test -z "$haveit"; then 3847 for x in $CPPFLAGS $INCRPATHX; do 3848 3849 acl_save_prefix="$prefix" 3850 prefix="$acl_final_prefix" 3851 acl_save_exec_prefix="$exec_prefix" 3852 exec_prefix="$acl_final_exec_prefix" 3853 eval x=\"$x\" 3854 exec_prefix="$acl_save_exec_prefix" 3855 prefix="$acl_save_prefix" 3856 3857 if test "X$x" = "X-I$additional_includedir"; then 3858 haveit=yes 3859 break 3860 fi 3861 done 3862 if test -z "$haveit"; then 3863 if test -d "$additional_includedir"; then 3864 INCRPATHX="${INCRPATHX}${INCRPATHX:+ }-I$additional_includedir" 3865 fi 3866 fi 3867 fi 3868 fi 3869 fi 3870 if test -n "$found_la"; then 3871 save_libdir="$libdir" 3872 case "$found_la" in 3873 */* | *\\*) . "$found_la" ;; 3874 *) . "./$found_la" ;; 3875 esac 3876 libdir="$save_libdir" 3877 for dep in $dependency_libs; do 3878 case "$dep" in 3879 -L*) 3880 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 3881 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then 3882 haveit= 3883 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then 3884 if test -n "$GCC"; then 3885 case $host_os in 3886 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 3887 esac 3888 fi 3889 fi 3890 if test -z "$haveit"; then 3891 haveit= 3892 for x in $LDFLAGS $LIBRPATHX; do 3893 3894 acl_save_prefix="$prefix" 3895 prefix="$acl_final_prefix" 3896 acl_save_exec_prefix="$exec_prefix" 3897 exec_prefix="$acl_final_exec_prefix" 3898 eval x=\"$x\" 3899 exec_prefix="$acl_save_exec_prefix" 3900 prefix="$acl_save_prefix" 3901 3902 if test "X$x" = "X-L$additional_libdir"; then 3903 haveit=yes 3904 break 3905 fi 3906 done 3907 if test -z "$haveit"; then 3908 if test -d "$additional_libdir"; then 3909 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }-L$additional_libdir" 3910 fi 3911 fi 3912 haveit= 3913 for x in $LDFLAGS $LTLIBRPATHX; do 3914 3915 acl_save_prefix="$prefix" 3916 prefix="$acl_final_prefix" 3917 acl_save_exec_prefix="$exec_prefix" 3918 exec_prefix="$acl_final_exec_prefix" 3919 eval x=\"$x\" 3920 exec_prefix="$acl_save_exec_prefix" 3921 prefix="$acl_save_prefix" 3922 3923 if test "X$x" = "X-L$additional_libdir"; then 3924 haveit=yes 3925 break 3926 fi 3927 done 3928 if test -z "$haveit"; then 3929 if test -d "$additional_libdir"; then 3930 LTLIBRPATHX="${LTLIBRPATHX}${LTLIBRPATHX:+ }-L$additional_libdir" 3931 fi 3932 fi 3933 fi 3934 fi 3935 ;; 3936 -R*) 3937 dir=`echo "X$dep" | sed -e 's/^X-R//'` 3938 if test "$enable_rpath" != no; then 3939 haveit= 3940 for x in $rpathdirs; do 3941 if test "X$x" = "X$dir"; then 3942 haveit=yes 3943 break 3944 fi 3945 done 3946 if test -z "$haveit"; then 3947 rpathdirs="$rpathdirs $dir" 3948 fi 3949 haveit= 3950 for x in $ltrpathdirs; do 3951 if test "X$x" = "X$dir"; then 3952 haveit=yes 3953 break 3954 fi 3955 done 3956 if test -z "$haveit"; then 3957 ltrpathdirs="$ltrpathdirs $dir" 3958 fi 3959 fi 3960 ;; 3961 -l*) 3962 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 3963 ;; 3964 *.la) 3965 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 3966 ;; 3967 *) 3968 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$dep" 3969 LTLIBRPATHX="${LTLIBRPATHX}${LTLIBRPATHX:+ }$dep" 3970 ;; 3971 esac 3972 done 3973 fi 3974 else 3975 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }-l$name" 3976 LTLIBRPATHX="${LTLIBRPATHX}${LTLIBRPATHX:+ }-l$name" 3977 fi 3978 fi 3979 fi 3980 done 3981 done 3982 if test "X$rpathdirs" != "X"; then 3983 if test -n "$hardcode_libdir_separator"; then 3984 alldirs= 3985 for found_dir in $rpathdirs; do 3986 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" 3987 done 3988 acl_save_libdir="$libdir" 3989 libdir="$alldirs" 3990 eval flag=\"$hardcode_libdir_flag_spec\" 3991 libdir="$acl_save_libdir" 3992 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$flag" 3993 else 3994 for found_dir in $rpathdirs; do 3995 acl_save_libdir="$libdir" 3996 libdir="$found_dir" 3997 eval flag=\"$hardcode_libdir_flag_spec\" 3998 libdir="$acl_save_libdir" 3999 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$flag" 4000 done 4001 fi 4002 fi 4003 if test "X$ltrpathdirs" != "X"; then 4004 for found_dir in $ltrpathdirs; do 4005 LTLIBRPATHX="${LTLIBRPATHX}${LTLIBRPATHX:+ }-R$found_dir" 4006 done 4007 fi 4008 4009 ac_cv_librpathx_libs="$LIBRPATHX" 4010 ac_cv_librpathx_ltlibs="$LTLIBRPATHX" 4011 ac_cv_librpathx_cppflags="$INCRPATHX" 4012 4013 fi 4014 { echo "$as_me:$LINENO: result: $ac_cv_librpathx_libs" >&5 4015 echo "${ECHO_T}$ac_cv_librpathx_libs" >&6; } 4016 LIBRPATHX="$ac_cv_librpathx_libs" 4017 LTLIBRPATHX="$ac_cv_librpathx_ltlibs" 4018 INCRPATHX="$ac_cv_librpathx_cppflags" 4019 4020 for element in $INCRPATHX; do 4021 haveit= 4022 for x in $CPPFLAGS; do 4023 4024 acl_save_prefix="$prefix" 4025 prefix="$acl_final_prefix" 4026 acl_save_exec_prefix="$exec_prefix" 4027 exec_prefix="$acl_final_exec_prefix" 4028 eval x=\"$x\" 4029 exec_prefix="$acl_save_exec_prefix" 4030 prefix="$acl_save_prefix" 4031 4032 if test "X$x" = "X$element"; then 4033 haveit=yes 4034 break 4035 fi 4036 done 4037 if test -z "$haveit"; then 4038 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 4039 fi 4040 done 4041 4042 4043 4044 HAVE_LIBRPATHX=yes 4045 4046 4047 4048 4049 4050 4051 4052 4053 { echo "$as_me:$LINENO: checking how to link with librpathy" >&5 4054 echo $ECHO_N "checking how to link with librpathy... $ECHO_C" >&6; } 4055 if test "${ac_cv_librpathy_libs+set}" = set; then 4056 echo $ECHO_N "(cached) $ECHO_C" >&6 4057 else 4058 4059 4060 4061 4062 use_additional=yes 4063 4064 acl_save_prefix="$prefix" 4065 prefix="$acl_final_prefix" 4066 acl_save_exec_prefix="$exec_prefix" 4067 exec_prefix="$acl_final_exec_prefix" 4068 4069 eval additional_includedir=\"$includedir\" 4070 eval additional_libdir=\"$libdir\" 4071 4072 exec_prefix="$acl_save_exec_prefix" 4073 prefix="$acl_save_prefix" 4074 4075 4076 # Check whether --with-librpathy-prefix was given. 4077 if test "${with_librpathy_prefix+set}" = set; then 4078 withval=$with_librpathy_prefix; 4079 if test "X$withval" = "Xno"; then 4080 use_additional=no 4081 else 4082 if test "X$withval" = "X"; then 4083 4084 acl_save_prefix="$prefix" 4085 prefix="$acl_final_prefix" 4086 acl_save_exec_prefix="$exec_prefix" 4087 exec_prefix="$acl_final_exec_prefix" 4088 4089 eval additional_includedir=\"$includedir\" 4090 eval additional_libdir=\"$libdir\" 4091 4092 exec_prefix="$acl_save_exec_prefix" 4093 prefix="$acl_save_prefix" 4094 4095 else 4096 additional_includedir="$withval/include" 4097 additional_libdir="$withval/$acl_libdirstem" 4098 fi 4099 fi 4100 4101 fi 4102 4103 LIBRPATHY= 4104 LTLIBRPATHY= 4105 INCRPATHY= 4106 rpathdirs= 4107 ltrpathdirs= 4108 names_already_handled= 4109 names_next_round='rpathy rpathx' 4110 while test -n "$names_next_round"; do 4111 names_this_round="$names_next_round" 4112 names_next_round= 4113 for name in $names_this_round; do 4114 already_handled= 4115 for n in $names_already_handled; do 4116 if test "$n" = "$name"; then 4117 already_handled=yes 4118 break 4119 fi 4120 done 4121 if test -z "$already_handled"; then 4122 names_already_handled="$names_already_handled $name" 4123 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 4124 eval value=\"\$HAVE_LIB$uppername\" 4125 if test -n "$value"; then 4126 if test "$value" = yes; then 4127 eval value=\"\$LIB$uppername\" 4128 test -z "$value" || LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$value" 4129 eval value=\"\$LTLIB$uppername\" 4130 test -z "$value" || LTLIBRPATHY="${LTLIBRPATHY}${LTLIBRPATHY:+ }$value" 4131 else 4132 : 4133 fi 4134 else 4135 found_dir= 4136 found_la= 4137 found_so= 4138 found_a= 4139 if test $use_additional = yes; then 4140 if test -n "$shlibext" \ 4141 && { test -f "$additional_libdir/lib$name.$shlibext" \ 4142 || { test "$shlibext" = dll \ 4143 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then 4144 found_dir="$additional_libdir" 4145 if test -f "$additional_libdir/lib$name.$shlibext"; then 4146 found_so="$additional_libdir/lib$name.$shlibext" 4147 else 4148 found_so="$additional_libdir/lib$name.dll.a" 4149 fi 4150 if test -f "$additional_libdir/lib$name.la"; then 4151 found_la="$additional_libdir/lib$name.la" 4152 fi 4153 else 4154 if test -f "$additional_libdir/lib$name.$libext"; then 4155 found_dir="$additional_libdir" 4156 found_a="$additional_libdir/lib$name.$libext" 4157 if test -f "$additional_libdir/lib$name.la"; then 4158 found_la="$additional_libdir/lib$name.la" 4159 fi 4160 fi 4161 fi 4162 fi 4163 if test "X$found_dir" = "X"; then 4164 for x in $LDFLAGS $LTLIBRPATHY; do 4165 4166 acl_save_prefix="$prefix" 4167 prefix="$acl_final_prefix" 4168 acl_save_exec_prefix="$exec_prefix" 4169 exec_prefix="$acl_final_exec_prefix" 4170 eval x=\"$x\" 4171 exec_prefix="$acl_save_exec_prefix" 4172 prefix="$acl_save_prefix" 4173 4174 case "$x" in 4175 -L*) 4176 dir=`echo "X$x" | sed -e 's/^X-L//'` 4177 if test -n "$shlibext" \ 4178 && { test -f "$dir/lib$name.$shlibext" \ 4179 || { test "$shlibext" = dll \ 4180 && test -f "$dir/lib$name.dll.a"; }; }; then 4181 found_dir="$dir" 4182 if test -f "$dir/lib$name.$shlibext"; then 4183 found_so="$dir/lib$name.$shlibext" 4184 else 4185 found_so="$dir/lib$name.dll.a" 4186 fi 4187 if test -f "$dir/lib$name.la"; then 4188 found_la="$dir/lib$name.la" 4189 fi 4190 else 4191 if test -f "$dir/lib$name.$libext"; then 4192 found_dir="$dir" 4193 found_a="$dir/lib$name.$libext" 4194 if test -f "$dir/lib$name.la"; then 4195 found_la="$dir/lib$name.la" 4196 fi 4197 fi 4198 fi 4199 ;; 4200 esac 4201 if test "X$found_dir" != "X"; then 4202 break 4203 fi 4204 done 4205 fi 4206 if test "X$found_dir" != "X"; then 4207 LTLIBRPATHY="${LTLIBRPATHY}${LTLIBRPATHY:+ }-L$found_dir -l$name" 4208 if test "X$found_so" != "X"; then 4209 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then 4210 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$found_so" 4211 else 4212 haveit= 4213 for x in $ltrpathdirs; do 4214 if test "X$x" = "X$found_dir"; then 4215 haveit=yes 4216 break 4217 fi 4218 done 4219 if test -z "$haveit"; then 4220 ltrpathdirs="$ltrpathdirs $found_dir" 4221 fi 4222 if test "$hardcode_direct" = yes; then 4223 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$found_so" 4224 else 4225 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then 4226 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$found_so" 4227 haveit= 4228 for x in $rpathdirs; do 4229 if test "X$x" = "X$found_dir"; then 4230 haveit=yes 4231 break 4232 fi 4233 done 4234 if test -z "$haveit"; then 4235 rpathdirs="$rpathdirs $found_dir" 4236 fi 4237 else 4238 haveit= 4239 for x in $LDFLAGS $LIBRPATHY; do 4240 4241 acl_save_prefix="$prefix" 4242 prefix="$acl_final_prefix" 4243 acl_save_exec_prefix="$exec_prefix" 4244 exec_prefix="$acl_final_exec_prefix" 4245 eval x=\"$x\" 4246 exec_prefix="$acl_save_exec_prefix" 4247 prefix="$acl_save_prefix" 4248 4249 if test "X$x" = "X-L$found_dir"; then 4250 haveit=yes 4251 break 4252 fi 4253 done 4254 if test -z "$haveit"; then 4255 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }-L$found_dir" 4256 fi 4257 if test "$hardcode_minus_L" != no; then 4258 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$found_so" 4259 else 4260 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }-l$name" 4261 fi 4262 fi 4263 fi 4264 fi 4265 else 4266 if test "X$found_a" != "X"; then 4267 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$found_a" 4268 else 4269 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }-L$found_dir -l$name" 4270 fi 4271 fi 4272 additional_includedir= 4273 case "$found_dir" in 4274 */$acl_libdirstem | */$acl_libdirstem/) 4275 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 4276 additional_includedir="$basedir/include" 4277 ;; 4278 esac 4279 if test "X$additional_includedir" != "X"; then 4280 if test "X$additional_includedir" != "X/usr/include"; then 4281 haveit= 4282 if test "X$additional_includedir" = "X/usr/local/include"; then 4283 if test -n "$GCC"; then 4284 case $host_os in 4285 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 4286 esac 4287 fi 4288 fi 4289 if test -z "$haveit"; then 4290 for x in $CPPFLAGS $INCRPATHY; do 4291 4292 acl_save_prefix="$prefix" 4293 prefix="$acl_final_prefix" 4294 acl_save_exec_prefix="$exec_prefix" 4295 exec_prefix="$acl_final_exec_prefix" 4296 eval x=\"$x\" 4297 exec_prefix="$acl_save_exec_prefix" 4298 prefix="$acl_save_prefix" 4299 4300 if test "X$x" = "X-I$additional_includedir"; then 4301 haveit=yes 4302 break 4303 fi 4304 done 4305 if test -z "$haveit"; then 4306 if test -d "$additional_includedir"; then 4307 INCRPATHY="${INCRPATHY}${INCRPATHY:+ }-I$additional_includedir" 4308 fi 4309 fi 4310 fi 4311 fi 4312 fi 4313 if test -n "$found_la"; then 4314 save_libdir="$libdir" 4315 case "$found_la" in 4316 */* | *\\*) . "$found_la" ;; 4317 *) . "./$found_la" ;; 4318 esac 4319 libdir="$save_libdir" 4320 for dep in $dependency_libs; do 4321 case "$dep" in 4322 -L*) 4323 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 4324 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then 4325 haveit= 4326 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then 4327 if test -n "$GCC"; then 4328 case $host_os in 4329 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 4330 esac 4331 fi 4332 fi 4333 if test -z "$haveit"; then 4334 haveit= 4335 for x in $LDFLAGS $LIBRPATHY; do 4336 4337 acl_save_prefix="$prefix" 4338 prefix="$acl_final_prefix" 4339 acl_save_exec_prefix="$exec_prefix" 4340 exec_prefix="$acl_final_exec_prefix" 4341 eval x=\"$x\" 4342 exec_prefix="$acl_save_exec_prefix" 4343 prefix="$acl_save_prefix" 4344 4345 if test "X$x" = "X-L$additional_libdir"; then 4346 haveit=yes 4347 break 4348 fi 4349 done 4350 if test -z "$haveit"; then 4351 if test -d "$additional_libdir"; then 4352 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }-L$additional_libdir" 4353 fi 4354 fi 4355 haveit= 4356 for x in $LDFLAGS $LTLIBRPATHY; do 4357 4358 acl_save_prefix="$prefix" 4359 prefix="$acl_final_prefix" 4360 acl_save_exec_prefix="$exec_prefix" 4361 exec_prefix="$acl_final_exec_prefix" 4362 eval x=\"$x\" 4363 exec_prefix="$acl_save_exec_prefix" 4364 prefix="$acl_save_prefix" 4365 4366 if test "X$x" = "X-L$additional_libdir"; then 4367 haveit=yes 4368 break 4369 fi 4370 done 4371 if test -z "$haveit"; then 4372 if test -d "$additional_libdir"; then 4373 LTLIBRPATHY="${LTLIBRPATHY}${LTLIBRPATHY:+ }-L$additional_libdir" 4374 fi 4375 fi 4376 fi 4377 fi 4378 ;; 4379 -R*) 4380 dir=`echo "X$dep" | sed -e 's/^X-R//'` 4381 if test "$enable_rpath" != no; then 4382 haveit= 4383 for x in $rpathdirs; do 4384 if test "X$x" = "X$dir"; then 4385 haveit=yes 4386 break 4387 fi 4388 done 4389 if test -z "$haveit"; then 4390 rpathdirs="$rpathdirs $dir" 4391 fi 4392 haveit= 4393 for x in $ltrpathdirs; do 4394 if test "X$x" = "X$dir"; then 4395 haveit=yes 4396 break 4397 fi 4398 done 4399 if test -z "$haveit"; then 4400 ltrpathdirs="$ltrpathdirs $dir" 4401 fi 4402 fi 4403 ;; 4404 -l*) 4405 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 4406 ;; 4407 *.la) 4408 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 4409 ;; 4410 *) 4411 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$dep" 4412 LTLIBRPATHY="${LTLIBRPATHY}${LTLIBRPATHY:+ }$dep" 4413 ;; 4414 esac 4415 done 4416 fi 4417 else 4418 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }-l$name" 4419 LTLIBRPATHY="${LTLIBRPATHY}${LTLIBRPATHY:+ }-l$name" 4420 fi 4421 fi 4422 fi 4423 done 4424 done 4425 if test "X$rpathdirs" != "X"; then 4426 if test -n "$hardcode_libdir_separator"; then 4427 alldirs= 4428 for found_dir in $rpathdirs; do 4429 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" 4430 done 4431 acl_save_libdir="$libdir" 4432 libdir="$alldirs" 4433 eval flag=\"$hardcode_libdir_flag_spec\" 4434 libdir="$acl_save_libdir" 4435 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$flag" 4436 else 4437 for found_dir in $rpathdirs; do 4438 acl_save_libdir="$libdir" 4439 libdir="$found_dir" 4440 eval flag=\"$hardcode_libdir_flag_spec\" 4441 libdir="$acl_save_libdir" 4442 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$flag" 4443 done 4444 fi 4445 fi 4446 if test "X$ltrpathdirs" != "X"; then 4447 for found_dir in $ltrpathdirs; do 4448 LTLIBRPATHY="${LTLIBRPATHY}${LTLIBRPATHY:+ }-R$found_dir" 4449 done 4450 fi 4451 4452 ac_cv_librpathy_libs="$LIBRPATHY" 4453 ac_cv_librpathy_ltlibs="$LTLIBRPATHY" 4454 ac_cv_librpathy_cppflags="$INCRPATHY" 4455 4456 fi 4457 { echo "$as_me:$LINENO: result: $ac_cv_librpathy_libs" >&5 4458 echo "${ECHO_T}$ac_cv_librpathy_libs" >&6; } 4459 LIBRPATHY="$ac_cv_librpathy_libs" 4460 LTLIBRPATHY="$ac_cv_librpathy_ltlibs" 4461 INCRPATHY="$ac_cv_librpathy_cppflags" 4462 4463 for element in $INCRPATHY; do 4464 haveit= 4465 for x in $CPPFLAGS; do 4466 4467 acl_save_prefix="$prefix" 4468 prefix="$acl_final_prefix" 4469 acl_save_exec_prefix="$exec_prefix" 4470 exec_prefix="$acl_final_exec_prefix" 4471 eval x=\"$x\" 4472 exec_prefix="$acl_save_exec_prefix" 4473 prefix="$acl_save_prefix" 4474 4475 if test "X$x" = "X$element"; then 4476 haveit=yes 4477 break 4478 fi 4479 done 4480 if test -z "$haveit"; then 4481 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 4482 fi 4483 done 4484 4485 4486 4487 HAVE_LIBRPATHY=yes 4488 4489 4490 4491 4492 4493 4494 4495 4496 { echo "$as_me:$LINENO: checking how to link with librpathz" >&5 4497 echo $ECHO_N "checking how to link with librpathz... $ECHO_C" >&6; } 4498 if test "${ac_cv_librpathz_libs+set}" = set; then 4499 echo $ECHO_N "(cached) $ECHO_C" >&6 4500 else 4501 4502 4503 4504 4505 use_additional=yes 4506 4507 acl_save_prefix="$prefix" 4508 prefix="$acl_final_prefix" 4509 acl_save_exec_prefix="$exec_prefix" 4510 exec_prefix="$acl_final_exec_prefix" 4511 4512 eval additional_includedir=\"$includedir\" 4513 eval additional_libdir=\"$libdir\" 4514 4515 exec_prefix="$acl_save_exec_prefix" 4516 prefix="$acl_save_prefix" 4517 4518 4519 # Check whether --with-librpathz-prefix was given. 4520 if test "${with_librpathz_prefix+set}" = set; then 4521 withval=$with_librpathz_prefix; 4522 if test "X$withval" = "Xno"; then 4523 use_additional=no 4524 else 4525 if test "X$withval" = "X"; then 4526 4527 acl_save_prefix="$prefix" 4528 prefix="$acl_final_prefix" 4529 acl_save_exec_prefix="$exec_prefix" 4530 exec_prefix="$acl_final_exec_prefix" 4531 4532 eval additional_includedir=\"$includedir\" 4533 eval additional_libdir=\"$libdir\" 4534 4535 exec_prefix="$acl_save_exec_prefix" 4536 prefix="$acl_save_prefix" 4537 4538 else 4539 additional_includedir="$withval/include" 4540 additional_libdir="$withval/$acl_libdirstem" 4541 fi 4542 fi 4543 4544 fi 4545 4546 LIBRPATHZ= 4547 LTLIBRPATHZ= 4548 INCRPATHZ= 4549 rpathdirs= 4550 ltrpathdirs= 4551 names_already_handled= 4552 names_next_round='rpathz rpathx rpathy' 4553 while test -n "$names_next_round"; do 4554 names_this_round="$names_next_round" 4555 names_next_round= 4556 for name in $names_this_round; do 4557 already_handled= 4558 for n in $names_already_handled; do 4559 if test "$n" = "$name"; then 4560 already_handled=yes 4561 break 4562 fi 4563 done 4564 if test -z "$already_handled"; then 4565 names_already_handled="$names_already_handled $name" 4566 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 4567 eval value=\"\$HAVE_LIB$uppername\" 4568 if test -n "$value"; then 4569 if test "$value" = yes; then 4570 eval value=\"\$LIB$uppername\" 4571 test -z "$value" || LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }$value" 4572 eval value=\"\$LTLIB$uppername\" 4573 test -z "$value" || LTLIBRPATHZ="${LTLIBRPATHZ}${LTLIBRPATHZ:+ }$value" 4574 else 4575 : 4576 fi 4577 else 4578 found_dir= 4579 found_la= 4580 found_so= 4581 found_a= 4582 if test $use_additional = yes; then 4583 if test -n "$shlibext" \ 4584 && { test -f "$additional_libdir/lib$name.$shlibext" \ 4585 || { test "$shlibext" = dll \ 4586 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then 4587 found_dir="$additional_libdir" 4588 if test -f "$additional_libdir/lib$name.$shlibext"; then 4589 found_so="$additional_libdir/lib$name.$shlibext" 4590 else 4591 found_so="$additional_libdir/lib$name.dll.a" 4592 fi 4593 if test -f "$additional_libdir/lib$name.la"; then 4594 found_la="$additional_libdir/lib$name.la" 4595 fi 4596 else 4597 if test -f "$additional_libdir/lib$name.$libext"; then 4598 found_dir="$additional_libdir" 4599 found_a="$additional_libdir/lib$name.$libext" 4600 if test -f "$additional_libdir/lib$name.la"; then 4601 found_la="$additional_libdir/lib$name.la" 4602 fi 4603 fi 4604 fi 4605 fi 4606 if test "X$found_dir" = "X"; then 4607 for x in $LDFLAGS $LTLIBRPATHZ; do 4608 4609 acl_save_prefix="$prefix" 4610 prefix="$acl_final_prefix" 4611 acl_save_exec_prefix="$exec_prefix" 4612 exec_prefix="$acl_final_exec_prefix" 4613 eval x=\"$x\" 4614 exec_prefix="$acl_save_exec_prefix" 4615 prefix="$acl_save_prefix" 4616 4617 case "$x" in 4618 -L*) 4619 dir=`echo "X$x" | sed -e 's/^X-L//'` 4620 if test -n "$shlibext" \ 4621 && { test -f "$dir/lib$name.$shlibext" \ 4622 || { test "$shlibext" = dll \ 4623 && test -f "$dir/lib$name.dll.a"; }; }; then 4624 found_dir="$dir" 4625 if test -f "$dir/lib$name.$shlibext"; then 4626 found_so="$dir/lib$name.$shlibext" 4627 else 4628 found_so="$dir/lib$name.dll.a" 4629 fi 4630 if test -f "$dir/lib$name.la"; then 4631 found_la="$dir/lib$name.la" 4632 fi 4633 else 4634 if test -f "$dir/lib$name.$libext"; then 4635 found_dir="$dir" 4636 found_a="$dir/lib$name.$libext" 4637 if test -f "$dir/lib$name.la"; then 4638 found_la="$dir/lib$name.la" 4639 fi 4640 fi 4641 fi 4642 ;; 4643 esac 4644 if test "X$found_dir" != "X"; then 4645 break 4646 fi 4647 done 4648 fi 4649 if test "X$found_dir" != "X"; then 4650 LTLIBRPATHZ="${LTLIBRPATHZ}${LTLIBRPATHZ:+ }-L$found_dir -l$name" 4651 if test "X$found_so" != "X"; then 4652 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then 4653 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }$found_so" 4654 else 4655 haveit= 4656 for x in $ltrpathdirs; do 4657 if test "X$x" = "X$found_dir"; then 4658 haveit=yes 4659 break 4660 fi 4661 done 4662 if test -z "$haveit"; then 4663 ltrpathdirs="$ltrpathdirs $found_dir" 4664 fi 4665 if test "$hardcode_direct" = yes; then 4666 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }$found_so" 4667 else 4668 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then 4669 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }$found_so" 4670 haveit= 4671 for x in $rpathdirs; do 4672 if test "X$x" = "X$found_dir"; then 4673 haveit=yes 4674 break 4675 fi 4676 done 4677 if test -z "$haveit"; then 4678 rpathdirs="$rpathdirs $found_dir" 4679 fi 4680 else 4681 haveit= 4682 for x in $LDFLAGS $LIBRPATHZ; do 4683 4684 acl_save_prefix="$prefix" 4685 prefix="$acl_final_prefix" 4686 acl_save_exec_prefix="$exec_prefix" 4687 exec_prefix="$acl_final_exec_prefix" 4688 eval x=\"$x\" 4689 exec_prefix="$acl_save_exec_prefix" 4690 prefix="$acl_save_prefix" 4691 4692 if test "X$x" = "X-L$found_dir"; then 4693 haveit=yes 4694 break 4695 fi 4696 done 4697 if test -z "$haveit"; then 4698 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }-L$found_dir" 4699 fi 4700 if test "$hardcode_minus_L" != no; then 4701 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }$found_so" 4702 else 4703 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }-l$name" 4704 fi 4705 fi 4706 fi 4707 fi 4708 else 4709 if test "X$found_a" != "X"; then 4710 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }$found_a" 4711 else 4712 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }-L$found_dir -l$name" 4713 fi 4714 fi 4715 additional_includedir= 4716 case "$found_dir" in 4717 */$acl_libdirstem | */$acl_libdirstem/) 4718 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 4719 additional_includedir="$basedir/include" 4720 ;; 4721 esac 4722 if test "X$additional_includedir" != "X"; then 4723 if test "X$additional_includedir" != "X/usr/include"; then 4724 haveit= 4725 if test "X$additional_includedir" = "X/usr/local/include"; then 4726 if test -n "$GCC"; then 4727 case $host_os in 4728 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 4729 esac 4730 fi 4731 fi 4732 if test -z "$haveit"; then 4733 for x in $CPPFLAGS $INCRPATHZ; do 4734 4735 acl_save_prefix="$prefix" 4736 prefix="$acl_final_prefix" 4737 acl_save_exec_prefix="$exec_prefix" 4738 exec_prefix="$acl_final_exec_prefix" 4739 eval x=\"$x\" 4740 exec_prefix="$acl_save_exec_prefix" 4741 prefix="$acl_save_prefix" 4742 4743 if test "X$x" = "X-I$additional_includedir"; then 4744 haveit=yes 4745 break 4746 fi 4747 done 4748 if test -z "$haveit"; then 4749 if test -d "$additional_includedir"; then 4750 INCRPATHZ="${INCRPATHZ}${INCRPATHZ:+ }-I$additional_includedir" 4751 fi 4752 fi 4753 fi 4754 fi 4755 fi 4756 if test -n "$found_la"; then 4757 save_libdir="$libdir" 4758 case "$found_la" in 4759 */* | *\\*) . "$found_la" ;; 4760 *) . "./$found_la" ;; 4761 esac 4762 libdir="$save_libdir" 4763 for dep in $dependency_libs; do 4764 case "$dep" in 4765 -L*) 4766 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 4767 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then 4768 haveit= 4769 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then 4770 if test -n "$GCC"; then 4771 case $host_os in 4772 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 4773 esac 4774 fi 4775 fi 4776 if test -z "$haveit"; then 4777 haveit= 4778 for x in $LDFLAGS $LIBRPATHZ; do 4779 4780 acl_save_prefix="$prefix" 4781 prefix="$acl_final_prefix" 4782 acl_save_exec_prefix="$exec_prefix" 4783 exec_prefix="$acl_final_exec_prefix" 4784 eval x=\"$x\" 4785 exec_prefix="$acl_save_exec_prefix" 4786 prefix="$acl_save_prefix" 4787 4788 if test "X$x" = "X-L$additional_libdir"; then 4789 haveit=yes 4790 break 4791 fi 4792 done 4793 if test -z "$haveit"; then 4794 if test -d "$additional_libdir"; then 4795 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }-L$additional_libdir" 4796 fi 4797 fi 4798 haveit= 4799 for x in $LDFLAGS $LTLIBRPATHZ; do 4800 4801 acl_save_prefix="$prefix" 4802 prefix="$acl_final_prefix" 4803 acl_save_exec_prefix="$exec_prefix" 4804 exec_prefix="$acl_final_exec_prefix" 4805 eval x=\"$x\" 4806 exec_prefix="$acl_save_exec_prefix" 4807 prefix="$acl_save_prefix" 4808 4809 if test "X$x" = "X-L$additional_libdir"; then 4810 haveit=yes 4811 break 4812 fi 4813 done 4814 if test -z "$haveit"; then 4815 if test -d "$additional_libdir"; then 4816 LTLIBRPATHZ="${LTLIBRPATHZ}${LTLIBRPATHZ:+ }-L$additional_libdir" 4817 fi 4818 fi 4819 fi 4820 fi 4821 ;; 4822 -R*) 4823 dir=`echo "X$dep" | sed -e 's/^X-R//'` 4824 if test "$enable_rpath" != no; then 4825 haveit= 4826 for x in $rpathdirs; do 4827 if test "X$x" = "X$dir"; then 4828 haveit=yes 4829 break 4830 fi 4831 done 4832 if test -z "$haveit"; then 4833 rpathdirs="$rpathdirs $dir" 4834 fi 4835 haveit= 4836 for x in $ltrpathdirs; do 4837 if test "X$x" = "X$dir"; then 4838 haveit=yes 4839 break 4840 fi 4841 done 4842 if test -z "$haveit"; then 4843 ltrpathdirs="$ltrpathdirs $dir" 4844 fi 4845 fi 4846 ;; 4847 -l*) 4848 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 4849 ;; 4850 *.la) 4851 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 4852 ;; 4853 *) 4854 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }$dep" 4855 LTLIBRPATHZ="${LTLIBRPATHZ}${LTLIBRPATHZ:+ }$dep" 4856 ;; 4857 esac 4858 done 4859 fi 4860 else 4861 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }-l$name" 4862 LTLIBRPATHZ="${LTLIBRPATHZ}${LTLIBRPATHZ:+ }-l$name" 4863 fi 4864 fi 4865 fi 4866 done 4867 done 4868 if test "X$rpathdirs" != "X"; then 4869 if test -n "$hardcode_libdir_separator"; then 4870 alldirs= 4871 for found_dir in $rpathdirs; do 4872 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" 4873 done 4874 acl_save_libdir="$libdir" 4875 libdir="$alldirs" 4876 eval flag=\"$hardcode_libdir_flag_spec\" 4877 libdir="$acl_save_libdir" 4878 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }$flag" 4879 else 4880 for found_dir in $rpathdirs; do 4881 acl_save_libdir="$libdir" 4882 libdir="$found_dir" 4883 eval flag=\"$hardcode_libdir_flag_spec\" 4884 libdir="$acl_save_libdir" 4885 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }$flag" 4886 done 4887 fi 4888 fi 4889 if test "X$ltrpathdirs" != "X"; then 4890 for found_dir in $ltrpathdirs; do 4891 LTLIBRPATHZ="${LTLIBRPATHZ}${LTLIBRPATHZ:+ }-R$found_dir" 4892 done 4893 fi 4894 4895 ac_cv_librpathz_libs="$LIBRPATHZ" 4896 ac_cv_librpathz_ltlibs="$LTLIBRPATHZ" 4897 ac_cv_librpathz_cppflags="$INCRPATHZ" 4898 4899 fi 4900 { echo "$as_me:$LINENO: result: $ac_cv_librpathz_libs" >&5 4901 echo "${ECHO_T}$ac_cv_librpathz_libs" >&6; } 4902 LIBRPATHZ="$ac_cv_librpathz_libs" 4903 LTLIBRPATHZ="$ac_cv_librpathz_ltlibs" 4904 INCRPATHZ="$ac_cv_librpathz_cppflags" 4905 4906 for element in $INCRPATHZ; do 4907 haveit= 4908 for x in $CPPFLAGS; do 4909 4910 acl_save_prefix="$prefix" 4911 prefix="$acl_final_prefix" 4912 acl_save_exec_prefix="$exec_prefix" 4913 exec_prefix="$acl_final_exec_prefix" 4914 eval x=\"$x\" 4915 exec_prefix="$acl_save_exec_prefix" 4916 prefix="$acl_save_prefix" 4917 4918 if test "X$x" = "X$element"; then 4919 haveit=yes 4920 break 4921 fi 4922 done 4923 if test -z "$haveit"; then 4924 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 4925 fi 4926 done 4927 4928 4929 4930 HAVE_LIBRPATHZ=yes 4931 4932 4933 4934 LIBRPATHZ="$LIBRPATHZ $LIBRPATHY $LIBRPATHX" 4935 4936 ac_config_files="$ac_config_files Makefile" 4937 4938 cat >confcache <<\_ACEOF 4939 # This file is a shell script that caches the results of configure 4940 # tests run on this system so they can be shared between configure 4941 # scripts and configure runs, see configure's option --config-cache. 4942 # It is not useful on other systems. If it contains results you don't 4943 # want to keep, you may remove or edit it. 4944 # 4945 # config.status only pays attention to the cache file if you give it 4946 # the --recheck option to rerun configure. 4947 # 4948 # `ac_cv_env_foo' variables (set or unset) will be overridden when 4949 # loading this file, other *unset* `ac_cv_foo' will be assigned the 4950 # following values. 4951 4952 _ACEOF 4953 4954 # The following way of writing the cache mishandles newlines in values, 4955 # but we know of no workaround that is simple, portable, and efficient. 4956 # So, we kill variables containing newlines. 4957 # Ultrix sh set writes to stderr and can't be redirected directly, 4958 # and sets the high bit in the cache file unless we assign to the vars. 4959 ( 4960 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 4961 eval ac_val=\$$ac_var 4962 case $ac_val in #( 4963 *${as_nl}*) 4964 case $ac_var in #( 4965 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 4966 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 4967 esac 4968 case $ac_var in #( 4969 _ | IFS | as_nl) ;; #( 4970 *) $as_unset $ac_var ;; 4971 esac ;; 4972 esac 4973 done 4974 4975 (set) 2>&1 | 4976 case $as_nl`(ac_space=' '; set) 2>&1` in #( 4977 *${as_nl}ac_space=\ *) 4978 # `set' does not quote correctly, so add quotes (double-quote 4979 # substitution turns \\\\ into \\, and sed turns \\ into \). 4980 sed -n \ 4981 "s/'/'\\\\''/g; 4982 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 4983 ;; #( 4984 *) 4985 # `set' quotes correctly as required by POSIX, so do not add quotes. 4986 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 4987 ;; 4988 esac | 4989 sort 4990 ) | 4991 sed ' 4992 /^ac_cv_env_/b end 4993 t clear 4994 :clear 4995 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4996 t end 4997 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4998 :end' >>confcache 4999 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 5000 if test -w "$cache_file"; then 5001 test "x$cache_file" != "x/dev/null" && 5002 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 5003 echo "$as_me: updating cache $cache_file" >&6;} 5004 cat confcache >$cache_file 5005 else 5006 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 5007 echo "$as_me: not updating unwritable cache $cache_file" >&6;} 5008 fi 5009 fi 5010 rm -f confcache 5011 5012 test "x$prefix" = xNONE && prefix=$ac_default_prefix 5013 # Let make expand exec_prefix. 5014 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 5015 5016 # Transform confdefs.h into DEFS. 5017 # Protect against shell expansion while executing Makefile rules. 5018 # Protect against Makefile macro expansion. 5019 # 5020 # If the first sed substitution is executed (which looks for macros that 5021 # take arguments), then branch to the quote section. Otherwise, 5022 # look for a macro that doesn't take arguments. 5023 ac_script=' 5024 t clear 5025 :clear 5026 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 5027 t quote 5028 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 5029 t quote 5030 b any 5031 :quote 5032 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 5033 s/\[/\\&/g 5034 s/\]/\\&/g 5035 s/\$/$$/g 5036 H 5037 :any 5038 ${ 5039 g 5040 s/^\n// 5041 s/\n/ /g 5042 p 5043 } 5044 ' 5045 DEFS=`sed -n "$ac_script" confdefs.h` 5046 5047 5048 ac_libobjs= 5049 ac_ltlibobjs= 5050 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 5051 # 1. Remove the extension, and $U if already installed. 5052 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 5053 ac_i=`echo "$ac_i" | sed "$ac_script"` 5054 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 5055 # will be set to the directory where LIBOBJS objects are built. 5056 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 5057 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 5058 done 5059 LIBOBJS=$ac_libobjs 5060 5061 LTLIBOBJS=$ac_ltlibobjs 5062 5063 5064 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 5065 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 5066 Usually this means the macro was only invoked conditionally." >&5 5067 echo "$as_me: error: conditional \"AMDEP\" was never defined. 5068 Usually this means the macro was only invoked conditionally." >&2;} 5069 { (exit 1); exit 1; }; } 5070 fi 5071 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 5072 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 5073 Usually this means the macro was only invoked conditionally." >&5 5074 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 5075 Usually this means the macro was only invoked conditionally." >&2;} 5076 { (exit 1); exit 1; }; } 5077 fi 5078 5079 : ${CONFIG_STATUS=./config.status} 5080 ac_clean_files_save=$ac_clean_files 5081 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 5082 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 5083 echo "$as_me: creating $CONFIG_STATUS" >&6;} 5084 cat >$CONFIG_STATUS <<_ACEOF 5085 #! $SHELL 5086 # Generated by $as_me. 5087 # Run this file to recreate the current configuration. 5088 # Compiler output produced by configure, useful for debugging 5089 # configure, is in config.log if it exists. 5090 5091 debug=false 5092 ac_cs_recheck=false 5093 ac_cs_silent=false 5094 SHELL=\${CONFIG_SHELL-$SHELL} 5095 _ACEOF 5096 5097 cat >>$CONFIG_STATUS <<\_ACEOF 5098 ## --------------------- ## 5099 ## M4sh Initialization. ## 5100 ## --------------------- ## 5101 5102 # Be Bourne compatible 5103 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 5104 emulate sh 5105 NULLCMD=: 5106 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 5107 # is contrary to our usage. Disable this feature. 5108 alias -g '${1+"$@"}'='"$@"' 5109 setopt NO_GLOB_SUBST 5110 else 5111 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 5112 fi 5113 BIN_SH=xpg4; export BIN_SH # for Tru64 5114 DUALCASE=1; export DUALCASE # for MKS sh 5115 5116 5117 # PATH needs CR 5118 # Avoid depending upon Character Ranges. 5119 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 5120 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5121 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 5122 as_cr_digits='0123456789' 5123 as_cr_alnum=$as_cr_Letters$as_cr_digits 5124 5125 # The user is always right. 5126 if test "${PATH_SEPARATOR+set}" != set; then 5127 echo "#! /bin/sh" >conf$$.sh 5128 echo "exit 0" >>conf$$.sh 5129 chmod +x conf$$.sh 5130 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 5131 PATH_SEPARATOR=';' 5132 else 5133 PATH_SEPARATOR=: 5134 fi 5135 rm -f conf$$.sh 5136 fi 5137 5138 # Support unset when possible. 5139 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5140 as_unset=unset 5141 else 5142 as_unset=false 5143 fi 5144 5145 5146 # IFS 5147 # We need space, tab and new line, in precisely that order. Quoting is 5148 # there to prevent editors from complaining about space-tab. 5149 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 5150 # splitting by setting IFS to empty value.) 5151 as_nl=' 5152 ' 5153 IFS=" "" $as_nl" 5154 5155 # Find who we are. Look in the path if we contain no directory separator. 5156 case $0 in 5157 *[\\/]* ) as_myself=$0 ;; 5158 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5159 for as_dir in $PATH 5160 do 5161 IFS=$as_save_IFS 5162 test -z "$as_dir" && as_dir=. 5163 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5164 done 5165 IFS=$as_save_IFS 5166 5167 ;; 5168 esac 5169 # We did not find ourselves, most probably we were run as `sh COMMAND' 5170 # in which case we are not to be found in the path. 5171 if test "x$as_myself" = x; then 5172 as_myself=$0 5173 fi 5174 if test ! -f "$as_myself"; then 5175 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 5176 { (exit 1); exit 1; } 5177 fi 5178 5179 # Work around bugs in pre-3.0 UWIN ksh. 5180 for as_var in ENV MAIL MAILPATH 5181 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 5182 done 5183 PS1='$ ' 5184 PS2='> ' 5185 PS4='+ ' 5186 5187 # NLS nuisances. 5188 for as_var in \ 5189 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 5190 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 5191 LC_TELEPHONE LC_TIME 5192 do 5193 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 5194 eval $as_var=C; export $as_var 5195 else 5196 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 5197 fi 5198 done 5199 5200 # Required to use basename. 5201 if expr a : '\(a\)' >/dev/null 2>&1 && 5202 test "X`expr 00001 : '.*\(...\)'`" = X001; then 5203 as_expr=expr 5204 else 5205 as_expr=false 5206 fi 5207 5208 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 5209 as_basename=basename 5210 else 5211 as_basename=false 5212 fi 5213 5214 5215 # Name of the executable. 5216 as_me=`$as_basename -- "$0" || 5217 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5218 X"$0" : 'X\(//\)$' \| \ 5219 X"$0" : 'X\(/\)' \| . 2>/dev/null || 5220 echo X/"$0" | 5221 sed '/^.*\/\([^/][^/]*\)\/*$/{ 5222 s//\1/ 5223 q 5224 } 5225 /^X\/\(\/\/\)$/{ 5226 s//\1/ 5227 q 5228 } 5229 /^X\/\(\/\).*/{ 5230 s//\1/ 5231 q 5232 } 5233 s/.*/./; q'` 5234 5235 # CDPATH. 5236 $as_unset CDPATH 5237 5238 5239 5240 as_lineno_1=$LINENO 5241 as_lineno_2=$LINENO 5242 test "x$as_lineno_1" != "x$as_lineno_2" && 5243 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 5244 5245 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 5246 # uniformly replaced by the line number. The first 'sed' inserts a 5247 # line-number line after each line using $LINENO; the second 'sed' 5248 # does the real work. The second script uses 'N' to pair each 5249 # line-number line with the line containing $LINENO, and appends 5250 # trailing '-' during substitution so that $LINENO is not a special 5251 # case at line end. 5252 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 5253 # scripts with optimization help from Paolo Bonzini. Blame Lee 5254 # E. McMahon (1931-1989) for sed's syntax. :-) 5255 sed -n ' 5256 p 5257 /[$]LINENO/= 5258 ' <$as_myself | 5259 sed ' 5260 s/[$]LINENO.*/&-/ 5261 t lineno 5262 b 5263 :lineno 5264 N 5265 :loop 5266 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 5267 t loop 5268 s/-\n.*// 5269 ' >$as_me.lineno && 5270 chmod +x "$as_me.lineno" || 5271 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 5272 { (exit 1); exit 1; }; } 5273 5274 # Don't try to exec as it changes $[0], causing all sort of problems 5275 # (the dirname of $[0] is not the place where we might find the 5276 # original and so on. Autoconf is especially sensitive to this). 5277 . "./$as_me.lineno" 5278 # Exit status is that of the last command. 5279 exit 5280 } 5281 5282 5283 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 5284 as_dirname=dirname 5285 else 5286 as_dirname=false 5287 fi 5288 5289 ECHO_C= ECHO_N= ECHO_T= 5290 case `echo -n x` in 5291 -n*) 5292 case `echo 'x\c'` in 5293 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5294 *) ECHO_C='\c';; 5295 esac;; 5296 *) 5297 ECHO_N='-n';; 5298 esac 5299 5300 if expr a : '\(a\)' >/dev/null 2>&1 && 5301 test "X`expr 00001 : '.*\(...\)'`" = X001; then 5302 as_expr=expr 5303 else 5304 as_expr=false 5305 fi 5306 5307 rm -f conf$$ conf$$.exe conf$$.file 5308 if test -d conf$$.dir; then 5309 rm -f conf$$.dir/conf$$.file 5310 else 5311 rm -f conf$$.dir 5312 mkdir conf$$.dir 5313 fi 5314 echo >conf$$.file 5315 if ln -s conf$$.file conf$$ 2>/dev/null; then 5316 as_ln_s='ln -s' 5317 # ... but there are two gotchas: 5318 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5319 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5320 # In both cases, we have to default to `cp -p'. 5321 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5322 as_ln_s='cp -p' 5323 elif ln conf$$.file conf$$ 2>/dev/null; then 5324 as_ln_s=ln 5325 else 5326 as_ln_s='cp -p' 5327 fi 5328 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5329 rmdir conf$$.dir 2>/dev/null 5330 5331 if mkdir -p . 2>/dev/null; then 5332 as_mkdir_p=: 5333 else 5334 test -d ./-p && rmdir ./-p 5335 as_mkdir_p=false 5336 fi 5337 5338 # Find out whether ``test -x'' works. Don't use a zero-byte file, as 5339 # systems may use methods other than mode bits to determine executability. 5340 cat >conf$$.file <<_ASEOF 5341 #! /bin/sh 5342 exit 0 5343 _ASEOF 5344 chmod +x conf$$.file 5345 if test -x conf$$.file >/dev/null 2>&1; then 5346 as_executable_p="test -x" 5347 else 5348 as_executable_p=: 5349 fi 5350 rm -f conf$$.file 5351 5352 # Sed expression to map a string onto a valid CPP name. 5353 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5354 5355 # Sed expression to map a string onto a valid variable name. 5356 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5357 5358 5359 exec 6>&1 5360 5361 # Save the log message, to keep $[0] and so on meaningful, and to 5362 # report actual input values of CONFIG_FILES etc. instead of their 5363 # values after options handling. 5364 ac_log=" 5365 This file was extended by $as_me, which was 5366 generated by GNU Autoconf 2.60. Invocation command line was 5367 5368 CONFIG_FILES = $CONFIG_FILES 5369 CONFIG_HEADERS = $CONFIG_HEADERS 5370 CONFIG_LINKS = $CONFIG_LINKS 5371 CONFIG_COMMANDS = $CONFIG_COMMANDS 5372 $ $0 $@ 5373 5374 on `(hostname || uname -n) 2>/dev/null | sed 1q` 5375 " 5376 5377 _ACEOF 5378 5379 cat >>$CONFIG_STATUS <<_ACEOF 5380 # Files that config.status was made for. 5381 config_files="$ac_config_files" 5382 config_commands="$ac_config_commands" 5383 5384 _ACEOF 5385 5386 cat >>$CONFIG_STATUS <<\_ACEOF 5387 ac_cs_usage="\ 5388 \`$as_me' instantiates files from templates according to the 5389 current configuration. 5390 5391 Usage: $0 [OPTIONS] [FILE]... 5392 5393 -h, --help print this help, then exit 5394 -V, --version print version number, then exit 5395 -q, --quiet do not print progress messages 5396 -d, --debug don't remove temporary files 5397 --recheck update $as_me by reconfiguring in the same conditions 5398 --file=FILE[:TEMPLATE] 5399 instantiate the configuration file FILE 5400 5401 Configuration files: 5402 $config_files 5403 5404 Configuration commands: 5405 $config_commands 5406 5407 Report bugs to <bug-autoconf@gnu.org>." 5408 5409 _ACEOF 5410 cat >>$CONFIG_STATUS <<_ACEOF 5411 ac_cs_version="\\ 5412 config.status 5413 configured by $0, generated by GNU Autoconf 2.60, 5414 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 5415 5416 Copyright (C) 2006 Free Software Foundation, Inc. 5417 This config.status script is free software; the Free Software Foundation 5418 gives unlimited permission to copy, distribute and modify it." 5419 5420 ac_pwd='$ac_pwd' 5421 srcdir='$srcdir' 5422 INSTALL='$INSTALL' 5423 MKDIR_P='$MKDIR_P' 5424 _ACEOF 5425 5426 cat >>$CONFIG_STATUS <<\_ACEOF 5427 # If no file are specified by the user, then we need to provide default 5428 # value. By we need to know if files were specified by the user. 5429 ac_need_defaults=: 5430 while test $# != 0 5431 do 5432 case $1 in 5433 --*=*) 5434 ac_option=`expr "X$1" : 'X\([^=]*\)='` 5435 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5436 ac_shift=: 5437 ;; 5438 *) 5439 ac_option=$1 5440 ac_optarg=$2 5441 ac_shift=shift 5442 ;; 5443 esac 5444 5445 case $ac_option in 5446 # Handling of the options. 5447 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5448 ac_cs_recheck=: ;; 5449 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 5450 echo "$ac_cs_version"; exit ;; 5451 --debug | --debu | --deb | --de | --d | -d ) 5452 debug=: ;; 5453 --file | --fil | --fi | --f ) 5454 $ac_shift 5455 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 5456 ac_need_defaults=false;; 5457 --he | --h | --help | --hel | -h ) 5458 echo "$ac_cs_usage"; exit ;; 5459 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5460 | -silent | --silent | --silen | --sile | --sil | --si | --s) 5461 ac_cs_silent=: ;; 5462 5463 # This is an error. 5464 -*) { echo "$as_me: error: unrecognized option: $1 5465 Try \`$0 --help' for more information." >&2 5466 { (exit 1); exit 1; }; } ;; 5467 5468 *) ac_config_targets="$ac_config_targets $1" 5469 ac_need_defaults=false ;; 5470 5471 esac 5472 shift 5473 done 5474 5475 ac_configure_extra_args= 5476 5477 if $ac_cs_silent; then 5478 exec 6>/dev/null 5479 ac_configure_extra_args="$ac_configure_extra_args --silent" 5480 fi 5481 5482 _ACEOF 5483 cat >>$CONFIG_STATUS <<_ACEOF 5484 if \$ac_cs_recheck; then 5485 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 5486 CONFIG_SHELL=$SHELL 5487 export CONFIG_SHELL 5488 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 5489 fi 5490 5491 _ACEOF 5492 cat >>$CONFIG_STATUS <<\_ACEOF 5493 exec 5>>config.log 5494 { 5495 echo 5496 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 5497 ## Running $as_me. ## 5498 _ASBOX 5499 echo "$ac_log" 5500 } >&5 5501 5502 _ACEOF 5503 cat >>$CONFIG_STATUS <<_ACEOF 5504 # 5505 # INIT-COMMANDS 5506 # 5507 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 5508 5509 _ACEOF 5510 5511 cat >>$CONFIG_STATUS <<\_ACEOF 5512 5513 # Handling of arguments. 5514 for ac_config_target in $ac_config_targets 5515 do 5516 case $ac_config_target in 5517 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 5518 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5519 5520 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 5521 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 5522 { (exit 1); exit 1; }; };; 5523 esac 5524 done 5525 5526 5527 # If the user did not use the arguments to specify the items to instantiate, 5528 # then the envvar interface is used. Set only those that are not. 5529 # We use the long form for the default assignment because of an extremely 5530 # bizarre bug on SunOS 4.1.3. 5531 if $ac_need_defaults; then 5532 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5533 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 5534 fi 5535 5536 # Have a temporary directory for convenience. Make it in the build tree 5537 # simply because there is no reason against having it here, and in addition, 5538 # creating and moving files from /tmp can sometimes cause problems. 5539 # Hook for its removal unless debugging. 5540 # Note that there is a small window in which the directory will not be cleaned: 5541 # after its creation but before its name has been assigned to `$tmp'. 5542 $debug || 5543 { 5544 tmp= 5545 trap 'exit_status=$? 5546 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 5547 ' 0 5548 trap '{ (exit 1); exit 1; }' 1 2 13 15 5549 } 5550 # Create a (secure) tmp directory for tmp files. 5551 5552 { 5553 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 5554 test -n "$tmp" && test -d "$tmp" 5555 } || 5556 { 5557 tmp=./conf$$-$RANDOM 5558 (umask 077 && mkdir "$tmp") 5559 } || 5560 { 5561 echo "$me: cannot create a temporary directory in ." >&2 5562 { (exit 1); exit 1; } 5563 } 5564 5565 # 5566 # Set up the sed scripts for CONFIG_FILES section. 5567 # 5568 5569 # No need to generate the scripts if there are no CONFIG_FILES. 5570 # This happens for instance when ./config.status config.h 5571 if test -n "$CONFIG_FILES"; then 5572 5573 _ACEOF 5574 5575 5576 5577 ac_delim='%!_!# ' 5578 for ac_last_try in false false false false false :; do 5579 cat >conf$$subs.sed <<_ACEOF 5580 SHELL!$SHELL$ac_delim 5581 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 5582 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 5583 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 5584 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 5585 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 5586 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 5587 exec_prefix!$exec_prefix$ac_delim 5588 prefix!$prefix$ac_delim 5589 program_transform_name!$program_transform_name$ac_delim 5590 bindir!$bindir$ac_delim 5591 sbindir!$sbindir$ac_delim 5592 libexecdir!$libexecdir$ac_delim 5593 datarootdir!$datarootdir$ac_delim 5594 datadir!$datadir$ac_delim 5595 sysconfdir!$sysconfdir$ac_delim 5596 sharedstatedir!$sharedstatedir$ac_delim 5597 localstatedir!$localstatedir$ac_delim 5598 includedir!$includedir$ac_delim 5599 oldincludedir!$oldincludedir$ac_delim 5600 docdir!$docdir$ac_delim 5601 infodir!$infodir$ac_delim 5602 htmldir!$htmldir$ac_delim 5603 dvidir!$dvidir$ac_delim 5604 pdfdir!$pdfdir$ac_delim 5605 psdir!$psdir$ac_delim 5606 libdir!$libdir$ac_delim 5607 localedir!$localedir$ac_delim 5608 mandir!$mandir$ac_delim 5609 DEFS!$DEFS$ac_delim 5610 ECHO_C!$ECHO_C$ac_delim 5611 ECHO_N!$ECHO_N$ac_delim 5612 ECHO_T!$ECHO_T$ac_delim 5613 LIBS!$LIBS$ac_delim 5614 build_alias!$build_alias$ac_delim 5615 host_alias!$host_alias$ac_delim 5616 target_alias!$target_alias$ac_delim 5617 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 5618 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 5619 INSTALL_DATA!$INSTALL_DATA$ac_delim 5620 am__isrc!$am__isrc$ac_delim 5621 CYGPATH_W!$CYGPATH_W$ac_delim 5622 PACKAGE!$PACKAGE$ac_delim 5623 VERSION!$VERSION$ac_delim 5624 ACLOCAL!$ACLOCAL$ac_delim 5625 AUTOCONF!$AUTOCONF$ac_delim 5626 AUTOMAKE!$AUTOMAKE$ac_delim 5627 AUTOHEADER!$AUTOHEADER$ac_delim 5628 MAKEINFO!$MAKEINFO$ac_delim 5629 install_sh!$install_sh$ac_delim 5630 STRIP!$STRIP$ac_delim 5631 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim 5632 mkdir_p!$mkdir_p$ac_delim 5633 AWK!$AWK$ac_delim 5634 SET_MAKE!$SET_MAKE$ac_delim 5635 am__leading_dot!$am__leading_dot$ac_delim 5636 AMTAR!$AMTAR$ac_delim 5637 am__tar!$am__tar$ac_delim 5638 am__untar!$am__untar$ac_delim 5639 CC!$CC$ac_delim 5640 CFLAGS!$CFLAGS$ac_delim 5641 LDFLAGS!$LDFLAGS$ac_delim 5642 CPPFLAGS!$CPPFLAGS$ac_delim 5643 ac_ct_CC!$ac_ct_CC$ac_delim 5644 EXEEXT!$EXEEXT$ac_delim 5645 OBJEXT!$OBJEXT$ac_delim 5646 DEPDIR!$DEPDIR$ac_delim 5647 am__include!$am__include$ac_delim 5648 am__quote!$am__quote$ac_delim 5649 AMDEP_TRUE!$AMDEP_TRUE$ac_delim 5650 AMDEP_FALSE!$AMDEP_FALSE$ac_delim 5651 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim 5652 CCDEPMODE!$CCDEPMODE$ac_delim 5653 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim 5654 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim 5655 build!$build$ac_delim 5656 build_cpu!$build_cpu$ac_delim 5657 build_vendor!$build_vendor$ac_delim 5658 build_os!$build_os$ac_delim 5659 host!$host$ac_delim 5660 host_cpu!$host_cpu$ac_delim 5661 host_vendor!$host_vendor$ac_delim 5662 host_os!$host_os$ac_delim 5663 LIBRPATHX!$LIBRPATHX$ac_delim 5664 LTLIBRPATHX!$LTLIBRPATHX$ac_delim 5665 LIBRPATHY!$LIBRPATHY$ac_delim 5666 LTLIBRPATHY!$LTLIBRPATHY$ac_delim 5667 LIBRPATHZ!$LIBRPATHZ$ac_delim 5668 LTLIBRPATHZ!$LTLIBRPATHZ$ac_delim 5669 global_top_auxdir!$global_top_auxdir$ac_delim 5670 LIBOBJS!$LIBOBJS$ac_delim 5671 LTLIBOBJS!$LTLIBOBJS$ac_delim 5672 _ACEOF 5673 5674 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 92; then 5675 break 5676 elif $ac_last_try; then 5677 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 5678 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 5679 { (exit 1); exit 1; }; } 5680 else 5681 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5682 fi 5683 done 5684 5685 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 5686 if test -n "$ac_eof"; then 5687 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 5688 ac_eof=`expr $ac_eof + 1` 5689 fi 5690 5691 cat >>$CONFIG_STATUS <<_ACEOF 5692 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 5693 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 5694 _ACEOF 5695 sed ' 5696 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 5697 s/^/s,@/; s/!/@,|#_!!_#|/ 5698 :n 5699 t n 5700 s/'"$ac_delim"'$/,g/; t 5701 s/$/\\/; p 5702 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 5703 ' >>$CONFIG_STATUS <conf$$subs.sed 5704 rm -f conf$$subs.sed 5705 cat >>$CONFIG_STATUS <<_ACEOF 5706 :end 5707 s/|#_!!_#|//g 5708 CEOF$ac_eof 5709 _ACEOF 5710 5711 5712 # VPATH may cause trouble with some makes, so we remove $(srcdir), 5713 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 5714 # trailing colons and then remove the whole line if VPATH becomes empty 5715 # (actually we leave an empty line to preserve line numbers). 5716 if test "x$srcdir" = x.; then 5717 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 5718 s/:*\$(srcdir):*/:/ 5719 s/:*\${srcdir}:*/:/ 5720 s/:*@srcdir@:*/:/ 5721 s/^\([^=]*=[ ]*\):*/\1/ 5722 s/:*$// 5723 s/^[^=]*=[ ]*$// 5724 }' 5725 fi 5726 5727 cat >>$CONFIG_STATUS <<\_ACEOF 5728 fi # test -n "$CONFIG_FILES" 5729 5730 5731 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS 5732 do 5733 case $ac_tag in 5734 :[FHLC]) ac_mode=$ac_tag; continue;; 5735 esac 5736 case $ac_mode$ac_tag in 5737 :[FHL]*:*);; 5738 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 5739 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 5740 { (exit 1); exit 1; }; };; 5741 :[FH]-) ac_tag=-:-;; 5742 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 5743 esac 5744 ac_save_IFS=$IFS 5745 IFS=: 5746 set x $ac_tag 5747 IFS=$ac_save_IFS 5748 shift 5749 ac_file=$1 5750 shift 5751 5752 case $ac_mode in 5753 :L) ac_source=$1;; 5754 :[FH]) 5755 ac_file_inputs= 5756 for ac_f 5757 do 5758 case $ac_f in 5759 -) ac_f="$tmp/stdin";; 5760 *) # Look for the file first in the build tree, then in the source tree 5761 # (if the path is not absolute). The absolute path cannot be DOS-style, 5762 # because $ac_f cannot contain `:'. 5763 test -f "$ac_f" || 5764 case $ac_f in 5765 [\\/$]*) false;; 5766 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 5767 esac || 5768 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 5769 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 5770 { (exit 1); exit 1; }; };; 5771 esac 5772 ac_file_inputs="$ac_file_inputs $ac_f" 5773 done 5774 5775 # Let's still pretend it is `configure' which instantiates (i.e., don't 5776 # use $as_me), people would be surprised to read: 5777 # /* config.h. Generated by config.status. */ 5778 configure_input="Generated from "`IFS=: 5779 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 5780 if test x"$ac_file" != x-; then 5781 configure_input="$ac_file. $configure_input" 5782 { echo "$as_me:$LINENO: creating $ac_file" >&5 5783 echo "$as_me: creating $ac_file" >&6;} 5784 fi 5785 5786 case $ac_tag in 5787 *:-:* | *:-) cat >"$tmp/stdin";; 5788 esac 5789 ;; 5790 esac 5791 5792 ac_dir=`$as_dirname -- "$ac_file" || 5793 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5794 X"$ac_file" : 'X\(//\)[^/]' \| \ 5795 X"$ac_file" : 'X\(//\)$' \| \ 5796 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 5797 echo X"$ac_file" | 5798 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5799 s//\1/ 5800 q 5801 } 5802 /^X\(\/\/\)[^/].*/{ 5803 s//\1/ 5804 q 5805 } 5806 /^X\(\/\/\)$/{ 5807 s//\1/ 5808 q 5809 } 5810 /^X\(\/\).*/{ 5811 s//\1/ 5812 q 5813 } 5814 s/.*/./; q'` 5815 { as_dir="$ac_dir" 5816 case $as_dir in #( 5817 -*) as_dir=./$as_dir;; 5818 esac 5819 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 5820 as_dirs= 5821 while :; do 5822 case $as_dir in #( 5823 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 5824 *) as_qdir=$as_dir;; 5825 esac 5826 as_dirs="'$as_qdir' $as_dirs" 5827 as_dir=`$as_dirname -- "$as_dir" || 5828 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5829 X"$as_dir" : 'X\(//\)[^/]' \| \ 5830 X"$as_dir" : 'X\(//\)$' \| \ 5831 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 5832 echo X"$as_dir" | 5833 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5834 s//\1/ 5835 q 5836 } 5837 /^X\(\/\/\)[^/].*/{ 5838 s//\1/ 5839 q 5840 } 5841 /^X\(\/\/\)$/{ 5842 s//\1/ 5843 q 5844 } 5845 /^X\(\/\).*/{ 5846 s//\1/ 5847 q 5848 } 5849 s/.*/./; q'` 5850 test -d "$as_dir" && break 5851 done 5852 test -z "$as_dirs" || eval "mkdir $as_dirs" 5853 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 5854 echo "$as_me: error: cannot create directory $as_dir" >&2;} 5855 { (exit 1); exit 1; }; }; } 5856 ac_builddir=. 5857 5858 case "$ac_dir" in 5859 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 5860 *) 5861 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 5862 # A ".." for each directory in $ac_dir_suffix. 5863 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 5864 case $ac_top_builddir_sub in 5865 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 5866 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 5867 esac ;; 5868 esac 5869 ac_abs_top_builddir=$ac_pwd 5870 ac_abs_builddir=$ac_pwd$ac_dir_suffix 5871 # for backward compatibility: 5872 ac_top_builddir=$ac_top_build_prefix 5873 5874 case $srcdir in 5875 .) # We are building in place. 5876 ac_srcdir=. 5877 ac_top_srcdir=$ac_top_builddir_sub 5878 ac_abs_top_srcdir=$ac_pwd ;; 5879 [\\/]* | ?:[\\/]* ) # Absolute name. 5880 ac_srcdir=$srcdir$ac_dir_suffix; 5881 ac_top_srcdir=$srcdir 5882 ac_abs_top_srcdir=$srcdir ;; 5883 *) # Relative name. 5884 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 5885 ac_top_srcdir=$ac_top_build_prefix$srcdir 5886 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 5887 esac 5888 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 5889 5890 5891 case $ac_mode in 5892 :F) 5893 # 5894 # CONFIG_FILE 5895 # 5896 5897 case $INSTALL in 5898 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 5899 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 5900 esac 5901 ac_MKDIR_P=$MKDIR_P 5902 case $MKDIR_P in 5903 [\\/$]* | ?:[\\/]* ) ;; 5904 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 5905 esac 5906 _ACEOF 5907 5908 cat >>$CONFIG_STATUS <<\_ACEOF 5909 # If the template does not know about datarootdir, expand it. 5910 # FIXME: This hack should be removed a few years after 2.60. 5911 ac_datarootdir_hack=; ac_datarootdir_seen= 5912 5913 case `sed -n '/datarootdir/ { 5914 p 5915 q 5916 } 5917 /@datadir@/p 5918 /@docdir@/p 5919 /@infodir@/p 5920 /@localedir@/p 5921 /@mandir@/p 5922 ' $ac_file_inputs` in 5923 *datarootdir*) ac_datarootdir_seen=yes;; 5924 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 5925 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 5926 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 5927 _ACEOF 5928 cat >>$CONFIG_STATUS <<_ACEOF 5929 ac_datarootdir_hack=' 5930 s&@datadir@&$datadir&g 5931 s&@docdir@&$docdir&g 5932 s&@infodir@&$infodir&g 5933 s&@localedir@&$localedir&g 5934 s&@mandir@&$mandir&g 5935 s&\\\${datarootdir}&$datarootdir&g' ;; 5936 esac 5937 _ACEOF 5938 5939 # Neutralize VPATH when `$srcdir' = `.'. 5940 # Shell code in configure.ac might set extrasub. 5941 # FIXME: do we really want to maintain this feature? 5942 cat >>$CONFIG_STATUS <<_ACEOF 5943 sed "$ac_vpsub 5944 $extrasub 5945 _ACEOF 5946 cat >>$CONFIG_STATUS <<\_ACEOF 5947 :t 5948 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 5949 s&@configure_input@&$configure_input&;t t 5950 s&@top_builddir@&$ac_top_builddir_sub&;t t 5951 s&@srcdir@&$ac_srcdir&;t t 5952 s&@abs_srcdir@&$ac_abs_srcdir&;t t 5953 s&@top_srcdir@&$ac_top_srcdir&;t t 5954 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 5955 s&@builddir@&$ac_builddir&;t t 5956 s&@abs_builddir@&$ac_abs_builddir&;t t 5957 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 5958 s&@INSTALL@&$ac_INSTALL&;t t 5959 s&@MKDIR_P@&$ac_MKDIR_P&;t t 5960 $ac_datarootdir_hack 5961 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out 5962 5963 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 5964 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 5965 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 5966 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5967 which seems to be undefined. Please make sure it is defined." >&5 5968 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5969 which seems to be undefined. Please make sure it is defined." >&2;} 5970 5971 rm -f "$tmp/stdin" 5972 case $ac_file in 5973 -) cat "$tmp/out"; rm -f "$tmp/out";; 5974 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 5975 esac 5976 ;; 5977 5978 5979 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 5980 echo "$as_me: executing $ac_file commands" >&6;} 5981 ;; 5982 esac 5983 5984 5985 case $ac_file$ac_mode in 5986 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 5987 # Strip MF so we end up with the name of the file. 5988 mf=`echo "$mf" | sed -e 's/:.*$//'` 5989 # Check whether this is an Automake generated Makefile or not. 5990 # We used to match only the files named `Makefile.in', but 5991 # some people rename them; so instead we look at the file content. 5992 # Grep'ing the first line is not enough: some people post-process 5993 # each Makefile.in and add a new line on top of each file to say so. 5994 # Grep'ing the whole file is not good either: AIX grep has a line 5995 # limit of 2048, but all sed's we know have understand at least 4000. 5996 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then 5997 dirpart=`$as_dirname -- "$mf" || 5998 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5999 X"$mf" : 'X\(//\)[^/]' \| \ 6000 X"$mf" : 'X\(//\)$' \| \ 6001 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 6002 echo X"$mf" | 6003 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6004 s//\1/ 6005 q 6006 } 6007 /^X\(\/\/\)[^/].*/{ 6008 s//\1/ 6009 q 6010 } 6011 /^X\(\/\/\)$/{ 6012 s//\1/ 6013 q 6014 } 6015 /^X\(\/\).*/{ 6016 s//\1/ 6017 q 6018 } 6019 s/.*/./; q'` 6020 else 6021 continue 6022 fi 6023 # Extract the definition of DEPDIR, am__include, and am__quote 6024 # from the Makefile without running `make'. 6025 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 6026 test -z "$DEPDIR" && continue 6027 am__include=`sed -n 's/^am__include = //p' < "$mf"` 6028 test -z "am__include" && continue 6029 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 6030 # When using ansi2knr, U may be empty or an underscore; expand it 6031 U=`sed -n 's/^U = //p' < "$mf"` 6032 # Find all dependency output files, they are included files with 6033 # $(DEPDIR) in their names. We invoke sed twice because it is the 6034 # simplest approach to changing $(DEPDIR) to its actual value in the 6035 # expansion. 6036 for file in `sed -n " 6037 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 6038 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 6039 # Make sure the directory exists. 6040 test -f "$dirpart/$file" && continue 6041 fdir=`$as_dirname -- "$file" || 6042 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6043 X"$file" : 'X\(//\)[^/]' \| \ 6044 X"$file" : 'X\(//\)$' \| \ 6045 X"$file" : 'X\(/\)' \| . 2>/dev/null || 6046 echo X"$file" | 6047 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6048 s//\1/ 6049 q 6050 } 6051 /^X\(\/\/\)[^/].*/{ 6052 s//\1/ 6053 q 6054 } 6055 /^X\(\/\/\)$/{ 6056 s//\1/ 6057 q 6058 } 6059 /^X\(\/\).*/{ 6060 s//\1/ 6061 q 6062 } 6063 s/.*/./; q'` 6064 { as_dir=$dirpart/$fdir 6065 case $as_dir in #( 6066 -*) as_dir=./$as_dir;; 6067 esac 6068 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 6069 as_dirs= 6070 while :; do 6071 case $as_dir in #( 6072 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 6073 *) as_qdir=$as_dir;; 6074 esac 6075 as_dirs="'$as_qdir' $as_dirs" 6076 as_dir=`$as_dirname -- "$as_dir" || 6077 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6078 X"$as_dir" : 'X\(//\)[^/]' \| \ 6079 X"$as_dir" : 'X\(//\)$' \| \ 6080 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 6081 echo X"$as_dir" | 6082 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6083 s//\1/ 6084 q 6085 } 6086 /^X\(\/\/\)[^/].*/{ 6087 s//\1/ 6088 q 6089 } 6090 /^X\(\/\/\)$/{ 6091 s//\1/ 6092 q 6093 } 6094 /^X\(\/\).*/{ 6095 s//\1/ 6096 q 6097 } 6098 s/.*/./; q'` 6099 test -d "$as_dir" && break 6100 done 6101 test -z "$as_dirs" || eval "mkdir $as_dirs" 6102 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 6103 echo "$as_me: error: cannot create directory $as_dir" >&2;} 6104 { (exit 1); exit 1; }; }; } 6105 # echo "creating $dirpart/$file" 6106 echo '# dummy' > "$dirpart/$file" 6107 done 6108 done 6109 ;; 6110 6111 esac 6112 done # for ac_tag 6113 6114 6115 { (exit 0); exit 0; } 6116 _ACEOF 6117 chmod +x $CONFIG_STATUS 6118 ac_clean_files=$ac_clean_files_save 6119 6120 6121 # configure is writing to config.log, and then calls config.status. 6122 # config.status does its own redirection, appending to config.log. 6123 # Unfortunately, on DOS this fails, as config.log is still kept open 6124 # by configure, so config.status won't be able to write to it; its 6125 # output is simply discarded. So we exec the FD to /dev/null, 6126 # effectively closing config.log, so it can be properly (re)opened and 6127 # appended to by config.status. When coming back to configure, we 6128 # need to make the FD available again. 6129 if test "$no_create" != yes; then 6130 ac_cs_success=: 6131 ac_config_status_args= 6132 test "$silent" = yes && 6133 ac_config_status_args="$ac_config_status_args --quiet" 6134 exec 5>/dev/null 6135 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6136 exec 5>>config.log 6137 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6138 # would make configure fail if this is the last instruction. 6139 $ac_cs_success || { (exit 1); exit 1; } 6140 fi 6141 6142