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