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