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