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