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