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 14DUALCASE=1; export DUALCASE # for MKS sh 15if 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 22else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25esac 26 27fi 28 29 30 31 32# PATH needs CR 33# Avoid depending upon Character Ranges. 34as_cr_letters='abcdefghijklmnopqrstuvwxyz' 35as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 36as_cr_Letters=$as_cr_letters$as_cr_LETTERS 37as_cr_digits='0123456789' 38as_cr_alnum=$as_cr_Letters$as_cr_digits 39 40# The user is always right. 41if 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 51fi 52 53# Support unset when possible. 54if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 55 as_unset=unset 56else 57 as_unset=false 58fi 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.) 66as_nl=' 67' 68IFS=" "" $as_nl" 69 70# Find who we are. Look in the path if we contain no directory separator. 71case $0 in 72 *[\\/]* ) as_myself=$0 ;; 73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 74for as_dir in $PATH 75do 76 IFS=$as_save_IFS 77 test -z "$as_dir" && as_dir=. 78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 79done 80IFS=$as_save_IFS 81 82 ;; 83esac 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. 86if test "x$as_myself" = x; then 87 as_myself=$0 88fi 89if 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; } 92fi 93 94# Work around bugs in pre-3.0 UWIN ksh. 95for as_var in ENV MAIL MAILPATH 96do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 97done 98PS1='$ ' 99PS2='> ' 100PS4='+ ' 101 102# NLS nuisances. 103for 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 107do 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 113done 114 115# Required to use basename. 116if expr a : '\(a\)' >/dev/null 2>&1 && 117 test "X`expr 00001 : '.*\(...\)'`" = X001; then 118 as_expr=expr 119else 120 as_expr=false 121fi 122 123if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 124 as_basename=basename 125else 126 as_basename=false 127fi 128 129 130# Name of the executable. 131as_me=`$as_basename -- "$0" || 132$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 133 X"$0" : 'X\(//\)$' \| \ 134 X"$0" : 'X\(/\)' \| . 2>/dev/null || 135echo 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 154if test "x$CONFIG_SHELL" = x; then 155 if (eval ":") 2>/dev/null; then 156 as_have_required=yes 157else 158 as_have_required=no 159fi 160 161 if test $as_have_required = yes && (eval ": 162(as_func_return () { 163 (exit \$1) 164} 165as_func_success () { 166 as_func_return 0 167} 168as_func_failure () { 169 as_func_return 1 170} 171as_func_ret_success () { 172 return 0 173} 174as_func_ret_failure () { 175 return 1 176} 177 178exitcode=0 179if as_func_success; then 180 : 181else 182 exitcode=1 183 echo as_func_success failed. 184fi 185 186if as_func_failure; then 187 exitcode=1 188 echo as_func_failure succeeded. 189fi 190 191if as_func_ret_success; then 192 : 193else 194 exitcode=1 195 echo as_func_ret_success failed. 196fi 197 198if as_func_ret_failure; then 199 exitcode=1 200 echo as_func_ret_failure succeeded. 201fi 202 203if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 204 : 205else 206 exitcode=1 207 echo positional parameters were not saved. 208fi 209 210test \$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 : 219else 220 as_candidate_shells= 221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 222for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 223do 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 232done 233IFS=$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 240if 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 247else 248 case `(set -o) 2>/dev/null` in 249 *posix*) set -o posix ;; 250esac 251 252fi 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 261if 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 268else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271esac 272 273fi 274 275 276: 277(as_func_return () { 278 (exit $1) 279} 280as_func_success () { 281 as_func_return 0 282} 283as_func_failure () { 284 as_func_return 1 285} 286as_func_ret_success () { 287 return 0 288} 289as_func_ret_failure () { 290 return 1 291} 292 293exitcode=0 294if as_func_success; then 295 : 296else 297 exitcode=1 298 echo as_func_success failed. 299fi 300 301if as_func_failure; then 302 exitcode=1 303 echo as_func_failure succeeded. 304fi 305 306if as_func_ret_success; then 307 : 308else 309 exitcode=1 310 echo as_func_ret_success failed. 311fi 312 313if as_func_ret_failure; then 314 exitcode=1 315 echo as_func_ret_failure succeeded. 316fi 317 318if ( set x; as_func_ret_success y && test x = "$1" ); then 319 : 320else 321 exitcode=1 322 echo positional parameters were not saved. 323fi 324 325test $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 336fi 337 338fi 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+"$@"} 348fi 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; } 357fi 358 359 360fi 361 362fi 363 364 365 366(eval "as_func_return () { 367 (exit \$1) 368} 369as_func_success () { 370 as_func_return 0 371} 372as_func_failure () { 373 as_func_return 1 374} 375as_func_ret_success () { 376 return 0 377} 378as_func_ret_failure () { 379 return 1 380} 381 382exitcode=0 383if as_func_success; then 384 : 385else 386 exitcode=1 387 echo as_func_success failed. 388fi 389 390if as_func_failure; then 391 exitcode=1 392 echo as_func_failure succeeded. 393fi 394 395if as_func_ret_success; then 396 : 397else 398 exitcode=1 399 echo as_func_ret_success failed. 400fi 401 402if as_func_ret_failure; then 403 exitcode=1 404 echo as_func_ret_failure succeeded. 405fi 406 407if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 408 : 409else 410 exitcode=1 411 echo positional parameters were not saved. 412fi 413 414test \$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 466if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 467 as_dirname=dirname 468else 469 as_dirname=false 470fi 471 472ECHO_C= ECHO_N= ECHO_T= 473case `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';; 481esac 482 483if expr a : '\(a\)' >/dev/null 2>&1 && 484 test "X`expr 00001 : '.*\(...\)'`" = X001; then 485 as_expr=expr 486else 487 as_expr=false 488fi 489 490rm -f conf$$ conf$$.exe conf$$.file 491if test -d conf$$.dir; then 492 rm -f conf$$.dir/conf$$.file 493else 494 rm -f conf$$.dir 495 mkdir conf$$.dir 496fi 497echo >conf$$.file 498if 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' 506elif ln conf$$.file conf$$ 2>/dev/null; then 507 as_ln_s=ln 508else 509 as_ln_s='cp -p' 510fi 511rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 512rmdir conf$$.dir 2>/dev/null 513 514if mkdir -p . 2>/dev/null; then 515 as_mkdir_p=: 516else 517 test -d ./-p && rmdir ./-p 518 as_mkdir_p=false 519fi 520 521if test -x / >/dev/null 2>&1; then 522 as_test_x='test -x' 523else 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 ' 541fi 542as_executable_p=$as_test_x 543 544# Sed expression to map a string onto a valid CPP name. 545as_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. 548as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 549 550 551 552exec 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. 557ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 558 559# 560# Initializations. 561# 562ac_default_prefix=/usr/local 563ac_clean_files= 564ac_config_libobj_dir=. 565LIBOBJS= 566cross_compiling=no 567subdirs= 568MFLAGS= 569MAKEFLAGS= 570SHELL=${CONFIG_SHELL-/bin/sh} 571 572# Identity of this package. 573PACKAGE_NAME= 574PACKAGE_TARNAME= 575PACKAGE_VERSION= 576PACKAGE_STRING= 577PACKAGE_BUGREPORT= 578 579ac_unique_file="genext2fs.c" 580# Factoring default headers for most tests. 581ac_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 616ac_subst_vars='SHELL 617PATH_SEPARATOR 618PACKAGE_NAME 619PACKAGE_TARNAME 620PACKAGE_VERSION 621PACKAGE_STRING 622PACKAGE_BUGREPORT 623exec_prefix 624prefix 625program_transform_name 626bindir 627sbindir 628libexecdir 629datarootdir 630datadir 631sysconfdir 632sharedstatedir 633localstatedir 634includedir 635oldincludedir 636docdir 637infodir 638htmldir 639dvidir 640pdfdir 641psdir 642libdir 643localedir 644mandir 645DEFS 646ECHO_C 647ECHO_N 648ECHO_T 649LIBS 650build_alias 651host_alias 652target_alias 653INSTALL_PROGRAM 654INSTALL_SCRIPT 655INSTALL_DATA 656CYGPATH_W 657PACKAGE 658VERSION 659ACLOCAL 660AUTOCONF 661AUTOMAKE 662AUTOHEADER 663MAKEINFO 664install_sh 665STRIP 666INSTALL_STRIP_PROGRAM 667mkdir_p 668AWK 669SET_MAKE 670am__leading_dot 671AMTAR 672am__tar 673am__untar 674CC 675CFLAGS 676LDFLAGS 677CPPFLAGS 678ac_ct_CC 679EXEEXT 680OBJEXT 681DEPDIR 682am__include 683am__quote 684AMDEP_TRUE 685AMDEP_FALSE 686AMDEPBACKSLASH 687CCDEPMODE 688am__fastdepCC_TRUE 689am__fastdepCC_FALSE 690CPP 691GREP 692EGREP 693LIBOBJS 694LTLIBOBJS' 695ac_subst_files='' 696 ac_precious_vars='build_alias 697host_alias 698target_alias 699CC 700CFLAGS 701LDFLAGS 702LIBS 703CPPFLAGS 704CPP' 705 706 707# Initialize some variables set by options. 708ac_init_help= 709ac_init_version=false 710# The variables have the same names as the options, with 711# dashes changed to underlines. 712cache_file=/dev/null 713exec_prefix=NONE 714no_create= 715no_recursion= 716prefix=NONE 717program_prefix=NONE 718program_suffix=NONE 719program_transform_name=s,x,x, 720silent= 721site= 722srcdir= 723verbose= 724x_includes=NONE 725x_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.) 733bindir='${exec_prefix}/bin' 734sbindir='${exec_prefix}/sbin' 735libexecdir='${exec_prefix}/libexec' 736datarootdir='${prefix}/share' 737datadir='${datarootdir}' 738sysconfdir='${prefix}/etc' 739sharedstatedir='${prefix}/com' 740localstatedir='${prefix}/var' 741includedir='${prefix}/include' 742oldincludedir='/usr/include' 743docdir='${datarootdir}/doc/${PACKAGE}' 744infodir='${datarootdir}/info' 745htmldir='${docdir}' 746dvidir='${docdir}' 747pdfdir='${docdir}' 748psdir='${docdir}' 749libdir='${exec_prefix}/lib' 750localedir='${datarootdir}/locale' 751mandir='${datarootdir}/man' 752 753ac_prev= 754ac_dashdash= 755for ac_option 756do 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 1060Try \`$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 1082done 1083 1084if 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; }; } 1088fi 1089 1090# Be sure to have absolute directory names. 1091for 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 1095do 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; }; } 1103done 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. 1108build=$build_alias 1109host=$host_alias 1110target=$target_alias 1111 1112# FIXME: To remove some day. 1113if 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 1121fi 1122 1123ac_tool_prefix= 1124test -n "$host_alias" && ac_tool_prefix=$host_alias- 1125 1126test "$silent" = yes && exec 6>/dev/null 1127 1128 1129ac_pwd=`pwd` && test -n "$ac_pwd" && 1130ac_ls_di=`ls -di .` && 1131ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1132 { echo "$as_me: error: Working directory cannot be determined" >&2 1133 { (exit 1); exit 1; }; } 1134test "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. 1140if 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 || 1148echo 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 1170else 1171 ac_srcdir_defaulted=no 1172fi 1173if 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; }; } 1177fi 1178ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1179ac_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=. 1184if test "$ac_abs_confdir" = "$ac_pwd"; then 1185 srcdir=. 1186fi 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. 1190case $srcdir in 1191*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1192esac 1193for 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} 1198done 1199 1200# 1201# Report the --help message. 1202# 1203if 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 1209Usage: $0 [OPTION]... [VAR=VALUE]... 1210 1211To assign environment variables (e.g., CC, CFLAGS...), specify them as 1212VAR=VALUE. See below for descriptions of some of the useful variables. 1213 1214Defaults for the options are specified in brackets. 1215 1216Configuration: 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 1227Installation 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 1233By default, \`make install' will install all the files in 1234\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1235an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1236for instance \`--prefix=\$HOME'. 1237 1238For better control, use the options below. 1239 1240Fine 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 1264Program 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 1269fi 1270 1271if test -n "$ac_init_help"; then 1272 1273 cat <<\_ACEOF 1274 1275Optional 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 1281Some 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 1291Use these variables to override the choices made by `configure' or to help 1292it to find libraries and programs with nonstandard names/locations. 1293 1294_ACEOF 1295ac_status=$? 1296fi 1297 1298if 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 1304case "$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 ;; 1314esac 1315ac_abs_top_builddir=$ac_pwd 1316ac_abs_builddir=$ac_pwd$ac_dir_suffix 1317# for backward compatibility: 1318ac_top_builddir=$ac_top_build_prefix 1319 1320case $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 ;; 1333esac 1334ac_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 1349fi 1350 1351test -n "$ac_init_help" && exit $ac_status 1352if $ac_init_version; then 1353 cat <<\_ACEOF 1354configure 1355generated by GNU Autoconf 2.61 1356 1357Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 13582002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1359This configure script is free software; the Free Software Foundation 1360gives unlimited permission to copy, distribute and modify it. 1361_ACEOF 1362 exit 1363fi 1364cat >config.log <<_ACEOF 1365This file contains any messages produced by compilers while 1366running configure, to aid debugging if configure makes a mistake. 1367 1368It was created by $as_me, which was 1369generated by GNU Autoconf 2.61. Invocation command line was 1370 1371 $ $0 $@ 1372 1373_ACEOF 1374exec 5>>config.log 1375{ 1376cat <<_ASUNAME 1377## --------- ## 1378## Platform. ## 1379## --------- ## 1380 1381hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1382uname -m = `(uname -m) 2>/dev/null || echo unknown` 1383uname -r = `(uname -r) 2>/dev/null || echo unknown` 1384uname -s = `(uname -s) 2>/dev/null || echo unknown` 1385uname -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 1400as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1401for as_dir in $PATH 1402do 1403 IFS=$as_save_IFS 1404 test -z "$as_dir" && as_dir=. 1405 echo "PATH: $as_dir" 1406done 1407IFS=$as_save_IFS 1408 1409} >&5 1410 1411cat >&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. 1426ac_configure_args= 1427ac_configure_args0= 1428ac_configure_args1= 1429ac_must_keep_next=false 1430for ac_pass in 1 2 1431do 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 1465done 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. 1474trap '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 1493echo "$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 1568for ac_signal in 1 2 13 15; do 1569 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1570done 1571ac_signal=0 1572 1573# confdefs.h avoids OS command line length limits that DEFS can exceed. 1574rm -f -r conftest* confdefs.h 1575 1576# Predefined preprocessor variables. 1577 1578cat >>confdefs.h <<_ACEOF 1579#define PACKAGE_NAME "$PACKAGE_NAME" 1580_ACEOF 1581 1582 1583cat >>confdefs.h <<_ACEOF 1584#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1585_ACEOF 1586 1587 1588cat >>confdefs.h <<_ACEOF 1589#define PACKAGE_VERSION "$PACKAGE_VERSION" 1590_ACEOF 1591 1592 1593cat >>confdefs.h <<_ACEOF 1594#define PACKAGE_STRING "$PACKAGE_STRING" 1595_ACEOF 1596 1597 1598cat >>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. 1605if test -n "$CONFIG_SITE"; then 1606 set x "$CONFIG_SITE" 1607elif test "x$prefix" != xNONE; then 1608 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1609else 1610 set x "$ac_default_prefix/share/config.site" \ 1611 "$ac_default_prefix/etc/config.site" 1612fi 1613shift 1614for ac_site_file 1615do 1616 if test -r "$ac_site_file"; then 1617 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1618echo "$as_me: loading site script $ac_site_file" >&6;} 1619 sed 's/^/| /' "$ac_site_file" >&5 1620 . "$ac_site_file" 1621 fi 1622done 1623 1624if 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 1629echo "$as_me: loading cache $cache_file" >&6;} 1630 case $cache_file in 1631 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1632 *) . "./$cache_file";; 1633 esac 1634 fi 1635else 1636 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1637echo "$as_me: creating cache $cache_file" >&6;} 1638 >$cache_file 1639fi 1640 1641# Check that the precious variables saved in the cache have kept the same 1642# value. 1643ac_cache_corrupted=false 1644for 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 1652echo "$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 1656echo "$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 1662echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1663 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1664echo "$as_me: former value: $ac_old_val" >&2;} 1665 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1666echo "$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 1681done 1682if $ac_cache_corrupted; then 1683 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1684echo "$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 1686echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1687 { (exit 1); exit 1; }; } 1688fi 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706ac_ext=c 1707ac_cpp='$CPP $CPPFLAGS' 1708ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1709ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1710ac_compiler_gnu=$ac_cv_c_compiler_gnu 1711 1712 1713 1714 1715 1716 1717 1718# AC_FUNC_SCANF_CAN_MALLOC() 1719# -------------------------------------- 1720 1721 1722am__api_version="1.9" 1723ac_aux_dir= 1724for 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 1738done 1739if test -z "$ac_aux_dir"; then 1740 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1741echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1742 { (exit 1); exit 1; }; } 1743fi 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. 1749ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1750ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1751ac_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 1768echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 1769if test -z "$INSTALL"; then 1770if test "${ac_cv_path_install+set}" = set; then 1771 echo $ECHO_N "(cached) $ECHO_C" >&6 1772else 1773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1774for as_dir in $PATH 1775do 1776 IFS=$as_save_IFS 1777 test -z "$as_dir" && as_dir=. 1778 # Account for people who put trailing slashes in PATH elements. 1779case $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 ;; 1807esac 1808done 1809IFS=$as_save_IFS 1810 1811 1812fi 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 1822fi 1823{ echo "$as_me:$LINENO: result: $INSTALL" >&5 1824echo "${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. 1828test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1829 1830test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1831 1832test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1833 1834{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 1835echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } 1836# Just in case 1837sleep 1 1838echo 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). 1844if ( 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 1859alias in your environment" >&5 1860echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1861alias in your environment" >&2;} 1862 { (exit 1); exit 1; }; } 1863 fi 1864 1865 test "$2" = conftest.file 1866 ) 1867then 1868 # Ok. 1869 : 1870else 1871 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 1872Check your system clock" >&5 1873echo "$as_me: error: newly created file is older than distributed files! 1874Check your system clock" >&2;} 1875 { (exit 1); exit 1; }; } 1876fi 1877{ echo "$as_me:$LINENO: result: yes" >&5 1878echo "${ECHO_T}yes" >&6; } 1879test "$program_prefix" != NONE && 1880 program_transform_name="s&^&$program_prefix&;$program_transform_name" 1881# Use a double $ so make ignores it. 1882test "$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. 1886cat <<\_ACEOF >conftest.sed 1887s/[\\$]/&&/g;s/;s,x,x,$// 1888_ACEOF 1889program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1890rm -f conftest.sed 1891 1892# expand $ac_aux_dir to an absolute path 1893am_aux_dir=`cd $ac_aux_dir && pwd` 1894 1895test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1896# Use eval to expand $SHELL 1897if eval "$MISSING --run true"; then 1898 am_missing_run="$MISSING --run " 1899else 1900 am_missing_run= 1901 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1902echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1903fi 1904 1905if 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 --' 1921else 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 1936fi 1937 1938for ac_prog in gawk mawk nawk awk 1939do 1940 # Extract the first word of "$ac_prog", so it can be a program name with args. 1941set dummy $ac_prog; ac_word=$2 1942{ echo "$as_me:$LINENO: checking for $ac_word" >&5 1943echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1944if test "${ac_cv_prog_AWK+set}" = set; then 1945 echo $ECHO_N "(cached) $ECHO_C" >&6 1946else 1947 if test -n "$AWK"; then 1948 ac_cv_prog_AWK="$AWK" # Let the user override the test. 1949else 1950as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1951for as_dir in $PATH 1952do 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 1961done 1962done 1963IFS=$as_save_IFS 1964 1965fi 1966fi 1967AWK=$ac_cv_prog_AWK 1968if test -n "$AWK"; then 1969 { echo "$as_me:$LINENO: result: $AWK" >&5 1970echo "${ECHO_T}$AWK" >&6; } 1971else 1972 { echo "$as_me:$LINENO: result: no" >&5 1973echo "${ECHO_T}no" >&6; } 1974fi 1975 1976 1977 test -n "$AWK" && break 1978done 1979 1980{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1981echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 1982set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 1983if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 1984 echo $ECHO_N "(cached) $ECHO_C" >&6 1985else 1986 cat >conftest.make <<\_ACEOF 1987SHELL = /bin/sh 1988all: 1989 @echo '@@@%%%=$(MAKE)=@@@%%%' 1990_ACEOF 1991# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1992case `${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;; 1997esac 1998rm -f conftest.make 1999fi 2000if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2001 { echo "$as_me:$LINENO: result: yes" >&5 2002echo "${ECHO_T}yes" >&6; } 2003 SET_MAKE= 2004else 2005 { echo "$as_me:$LINENO: result: no" >&5 2006echo "${ECHO_T}no" >&6; } 2007 SET_MAKE="MAKE=${MAKE-make}" 2008fi 2009 2010rm -rf .tst 2>/dev/null 2011mkdir .tst 2>/dev/null 2012if test -d .tst; then 2013 am__leading_dot=. 2014else 2015 am__leading_dot=_ 2016fi 2017rmdir .tst 2>/dev/null 2018 2019# test to see if srcdir already configured 2020if 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 2023echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2024 { (exit 1); exit 1; }; } 2025fi 2026 2027# test whether we have cygpath 2028if 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 2034fi 2035 2036 2037# Define the identity of the package. 2038 PACKAGE=genext2fs 2039 VERSION=1.4.1 2040 2041 2042cat >>confdefs.h <<_ACEOF 2043#define PACKAGE "$PACKAGE" 2044_ACEOF 2045 2046 2047cat >>confdefs.h <<_ACEOF 2048#define VERSION "$VERSION" 2049_ACEOF 2050 2051# Some tools Automake needs. 2052 2053ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2054 2055 2056AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2057 2058 2059AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2060 2061 2062AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2063 2064 2065MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2066 2067install_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. 2073if 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. 2076set dummy ${ac_tool_prefix}strip; ac_word=$2 2077{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2078echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2079if test "${ac_cv_prog_STRIP+set}" = set; then 2080 echo $ECHO_N "(cached) $ECHO_C" >&6 2081else 2082 if test -n "$STRIP"; then 2083 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2084else 2085as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2086for as_dir in $PATH 2087do 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 2096done 2097done 2098IFS=$as_save_IFS 2099 2100fi 2101fi 2102STRIP=$ac_cv_prog_STRIP 2103if test -n "$STRIP"; then 2104 { echo "$as_me:$LINENO: result: $STRIP" >&5 2105echo "${ECHO_T}$STRIP" >&6; } 2106else 2107 { echo "$as_me:$LINENO: result: no" >&5 2108echo "${ECHO_T}no" >&6; } 2109fi 2110 2111 2112fi 2113if 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. 2116set dummy strip; ac_word=$2 2117{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2118echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2119if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2120 echo $ECHO_N "(cached) $ECHO_C" >&6 2121else 2122 if test -n "$ac_ct_STRIP"; then 2123 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2124else 2125as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2126for as_dir in $PATH 2127do 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 2136done 2137done 2138IFS=$as_save_IFS 2139 2140fi 2141fi 2142ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2143if test -n "$ac_ct_STRIP"; then 2144 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2145echo "${ECHO_T}$ac_ct_STRIP" >&6; } 2146else 2147 { echo "$as_me:$LINENO: result: no" >&5 2148echo "${ECHO_T}no" >&6; } 2149fi 2150 2151 if test "x$ac_ct_STRIP" = x; then 2152 STRIP=":" 2153 else 2154 case $cross_compiling:$ac_tool_warned in 2155yes:) 2156{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2157whose name does not start with the host triplet. If you think this 2158configuration is useful to you, please write to autoconf@gnu.org." >&5 2159echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2160whose name does not start with the host triplet. If you think this 2161configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2162ac_tool_warned=yes ;; 2163esac 2164 STRIP=$ac_ct_STRIP 2165 fi 2166else 2167 STRIP="$ac_cv_prog_STRIP" 2168fi 2169 2170fi 2171INSTALL_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 2177AMTAR=${AMTAR-"${am_missing_run}tar"} 2178 2179am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2180 2181 2182 2183 2184 2185ac_config_headers="$ac_config_headers config.h" 2186 2187 2188 2189cat >>confdefs.h <<\_ACEOF 2190#define _GNU_SOURCE 1 2191_ACEOF 2192 2193 2194 2195# Checks for programs. 2196ac_ext=c 2197ac_cpp='$CPP $CPPFLAGS' 2198ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2199ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2200ac_compiler_gnu=$ac_cv_c_compiler_gnu 2201if 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. 2203set dummy ${ac_tool_prefix}gcc; ac_word=$2 2204{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2205echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2206if test "${ac_cv_prog_CC+set}" = set; then 2207 echo $ECHO_N "(cached) $ECHO_C" >&6 2208else 2209 if test -n "$CC"; then 2210 ac_cv_prog_CC="$CC" # Let the user override the test. 2211else 2212as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2213for as_dir in $PATH 2214do 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 2223done 2224done 2225IFS=$as_save_IFS 2226 2227fi 2228fi 2229CC=$ac_cv_prog_CC 2230if test -n "$CC"; then 2231 { echo "$as_me:$LINENO: result: $CC" >&5 2232echo "${ECHO_T}$CC" >&6; } 2233else 2234 { echo "$as_me:$LINENO: result: no" >&5 2235echo "${ECHO_T}no" >&6; } 2236fi 2237 2238 2239fi 2240if 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. 2243set dummy gcc; ac_word=$2 2244{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2245echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2246if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2247 echo $ECHO_N "(cached) $ECHO_C" >&6 2248else 2249 if test -n "$ac_ct_CC"; then 2250 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2251else 2252as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2253for as_dir in $PATH 2254do 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 2263done 2264done 2265IFS=$as_save_IFS 2266 2267fi 2268fi 2269ac_ct_CC=$ac_cv_prog_ac_ct_CC 2270if test -n "$ac_ct_CC"; then 2271 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2272echo "${ECHO_T}$ac_ct_CC" >&6; } 2273else 2274 { echo "$as_me:$LINENO: result: no" >&5 2275echo "${ECHO_T}no" >&6; } 2276fi 2277 2278 if test "x$ac_ct_CC" = x; then 2279 CC="" 2280 else 2281 case $cross_compiling:$ac_tool_warned in 2282yes:) 2283{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2284whose name does not start with the host triplet. If you think this 2285configuration is useful to you, please write to autoconf@gnu.org." >&5 2286echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2287whose name does not start with the host triplet. If you think this 2288configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2289ac_tool_warned=yes ;; 2290esac 2291 CC=$ac_ct_CC 2292 fi 2293else 2294 CC="$ac_cv_prog_CC" 2295fi 2296 2297if 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. 2300set dummy ${ac_tool_prefix}cc; ac_word=$2 2301{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2302echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2303if test "${ac_cv_prog_CC+set}" = set; then 2304 echo $ECHO_N "(cached) $ECHO_C" >&6 2305else 2306 if test -n "$CC"; then 2307 ac_cv_prog_CC="$CC" # Let the user override the test. 2308else 2309as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2310for as_dir in $PATH 2311do 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 2320done 2321done 2322IFS=$as_save_IFS 2323 2324fi 2325fi 2326CC=$ac_cv_prog_CC 2327if test -n "$CC"; then 2328 { echo "$as_me:$LINENO: result: $CC" >&5 2329echo "${ECHO_T}$CC" >&6; } 2330else 2331 { echo "$as_me:$LINENO: result: no" >&5 2332echo "${ECHO_T}no" >&6; } 2333fi 2334 2335 2336 fi 2337fi 2338if test -z "$CC"; then 2339 # Extract the first word of "cc", so it can be a program name with args. 2340set dummy cc; ac_word=$2 2341{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2342echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2343if test "${ac_cv_prog_CC+set}" = set; then 2344 echo $ECHO_N "(cached) $ECHO_C" >&6 2345else 2346 if test -n "$CC"; then 2347 ac_cv_prog_CC="$CC" # Let the user override the test. 2348else 2349 ac_prog_rejected=no 2350as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2351for as_dir in $PATH 2352do 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 2365done 2366done 2367IFS=$as_save_IFS 2368 2369if 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 2380fi 2381fi 2382fi 2383CC=$ac_cv_prog_CC 2384if test -n "$CC"; then 2385 { echo "$as_me:$LINENO: result: $CC" >&5 2386echo "${ECHO_T}$CC" >&6; } 2387else 2388 { echo "$as_me:$LINENO: result: no" >&5 2389echo "${ECHO_T}no" >&6; } 2390fi 2391 2392 2393fi 2394if 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. 2399set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2400{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2401echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2402if test "${ac_cv_prog_CC+set}" = set; then 2403 echo $ECHO_N "(cached) $ECHO_C" >&6 2404else 2405 if test -n "$CC"; then 2406 ac_cv_prog_CC="$CC" # Let the user override the test. 2407else 2408as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2409for as_dir in $PATH 2410do 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 2419done 2420done 2421IFS=$as_save_IFS 2422 2423fi 2424fi 2425CC=$ac_cv_prog_CC 2426if test -n "$CC"; then 2427 { echo "$as_me:$LINENO: result: $CC" >&5 2428echo "${ECHO_T}$CC" >&6; } 2429else 2430 { echo "$as_me:$LINENO: result: no" >&5 2431echo "${ECHO_T}no" >&6; } 2432fi 2433 2434 2435 test -n "$CC" && break 2436 done 2437fi 2438if test -z "$CC"; then 2439 ac_ct_CC=$CC 2440 for ac_prog in cl.exe 2441do 2442 # Extract the first word of "$ac_prog", so it can be a program name with args. 2443set dummy $ac_prog; ac_word=$2 2444{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2445echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2446if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2447 echo $ECHO_N "(cached) $ECHO_C" >&6 2448else 2449 if test -n "$ac_ct_CC"; then 2450 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2451else 2452as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2453for as_dir in $PATH 2454do 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 2463done 2464done 2465IFS=$as_save_IFS 2466 2467fi 2468fi 2469ac_ct_CC=$ac_cv_prog_ac_ct_CC 2470if test -n "$ac_ct_CC"; then 2471 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2472echo "${ECHO_T}$ac_ct_CC" >&6; } 2473else 2474 { echo "$as_me:$LINENO: result: no" >&5 2475echo "${ECHO_T}no" >&6; } 2476fi 2477 2478 2479 test -n "$ac_ct_CC" && break 2480done 2481 2482 if test "x$ac_ct_CC" = x; then 2483 CC="" 2484 else 2485 case $cross_compiling:$ac_tool_warned in 2486yes:) 2487{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2488whose name does not start with the host triplet. If you think this 2489configuration is useful to you, please write to autoconf@gnu.org." >&5 2490echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2491whose name does not start with the host triplet. If you think this 2492configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2493ac_tool_warned=yes ;; 2494esac 2495 CC=$ac_ct_CC 2496 fi 2497fi 2498 2499fi 2500 2501 2502test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2503See \`config.log' for more details." >&5 2504echo "$as_me: error: no acceptable C compiler found in \$PATH 2505See \`config.log' for more details." >&2;} 2506 { (exit 1); exit 1; }; } 2507 2508# Provide some information about the compiler. 2509echo "$as_me:$LINENO: checking for C compiler version" >&5 2510ac_compiler=`set X $ac_compile; echo $2` 2511{ (ac_try="$ac_compiler --version >&5" 2512case "(($ac_try" in 2513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2514 *) ac_try_echo=$ac_try;; 2515esac 2516eval "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" 2522case "(($ac_try" in 2523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2524 *) ac_try_echo=$ac_try;; 2525esac 2526eval "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" 2532case "(($ac_try" in 2533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2534 *) ac_try_echo=$ac_try;; 2535esac 2536eval "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 2542cat >conftest.$ac_ext <<_ACEOF 2543/* confdefs.h. */ 2544_ACEOF 2545cat confdefs.h >>conftest.$ac_ext 2546cat >>conftest.$ac_ext <<_ACEOF 2547/* end confdefs.h. */ 2548 2549int 2550main () 2551{ 2552 2553 ; 2554 return 0; 2555} 2556_ACEOF 2557ac_clean_files_save=$ac_clean_files 2558ac_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 2563echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2564ac_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. 2569ac_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. 2574ac_rmfiles= 2575for ac_file in $ac_files 2576do 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 2581done 2582rm -f $ac_rmfiles 2583 2584if { (ac_try="$ac_link_default" 2585case "(($ac_try" in 2586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2587 *) ac_try_echo=$ac_try;; 2588esac 2589eval "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. 2599for ac_file in $ac_files '' 2600do 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 2623done 2624test "$ac_cv_exeext" = no && ac_cv_exeext= 2625 2626else 2627 ac_file='' 2628fi 2629 2630{ echo "$as_me:$LINENO: result: $ac_file" >&5 2631echo "${ECHO_T}$ac_file" >&6; } 2632if test -z "$ac_file"; then 2633 echo "$as_me: failed program was:" >&5 2634sed 's/^/| /' conftest.$ac_ext >&5 2635 2636{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 2637See \`config.log' for more details." >&5 2638echo "$as_me: error: C compiler cannot create executables 2639See \`config.log' for more details." >&2;} 2640 { (exit 77); exit 77; }; } 2641fi 2642 2643ac_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 2648echo $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. 2651if 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;; 2656esac 2657eval "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. 2668If you meant to cross compile, use \`--host'. 2669See \`config.log' for more details." >&5 2670echo "$as_me: error: cannot run C compiled programs. 2671If you meant to cross compile, use \`--host'. 2672See \`config.log' for more details." >&2;} 2673 { (exit 1); exit 1; }; } 2674 fi 2675 fi 2676fi 2677{ echo "$as_me:$LINENO: result: yes" >&5 2678echo "${ECHO_T}yes" >&6; } 2679 2680rm -f a.out a.exe conftest$ac_cv_exeext b.out 2681ac_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 2685echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2686{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 2687echo "${ECHO_T}$cross_compiling" >&6; } 2688 2689{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 2690echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2691if { (ac_try="$ac_link" 2692case "(($ac_try" in 2693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2694 *) ac_try_echo=$ac_try;; 2695esac 2696eval "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'. 2705for 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 2713done 2714else 2715 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2716See \`config.log' for more details." >&5 2717echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2718See \`config.log' for more details." >&2;} 2719 { (exit 1); exit 1; }; } 2720fi 2721 2722rm -f conftest$ac_cv_exeext 2723{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2724echo "${ECHO_T}$ac_cv_exeext" >&6; } 2725 2726rm -f conftest.$ac_ext 2727EXEEXT=$ac_cv_exeext 2728ac_exeext=$EXEEXT 2729{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 2730echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2731if test "${ac_cv_objext+set}" = set; then 2732 echo $ECHO_N "(cached) $ECHO_C" >&6 2733else 2734 cat >conftest.$ac_ext <<_ACEOF 2735/* confdefs.h. */ 2736_ACEOF 2737cat confdefs.h >>conftest.$ac_ext 2738cat >>conftest.$ac_ext <<_ACEOF 2739/* end confdefs.h. */ 2740 2741int 2742main () 2743{ 2744 2745 ; 2746 return 0; 2747} 2748_ACEOF 2749rm -f conftest.o conftest.obj 2750if { (ac_try="$ac_compile" 2751case "(($ac_try" in 2752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2753 *) ac_try_echo=$ac_try;; 2754esac 2755eval "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 2767done 2768else 2769 echo "$as_me: failed program was:" >&5 2770sed 's/^/| /' conftest.$ac_ext >&5 2771 2772{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2773See \`config.log' for more details." >&5 2774echo "$as_me: error: cannot compute suffix of object files: cannot compile 2775See \`config.log' for more details." >&2;} 2776 { (exit 1); exit 1; }; } 2777fi 2778 2779rm -f conftest.$ac_cv_objext conftest.$ac_ext 2780fi 2781{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2782echo "${ECHO_T}$ac_cv_objext" >&6; } 2783OBJEXT=$ac_cv_objext 2784ac_objext=$OBJEXT 2785{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2786echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2787if test "${ac_cv_c_compiler_gnu+set}" = set; then 2788 echo $ECHO_N "(cached) $ECHO_C" >&6 2789else 2790 cat >conftest.$ac_ext <<_ACEOF 2791/* confdefs.h. */ 2792_ACEOF 2793cat confdefs.h >>conftest.$ac_ext 2794cat >>conftest.$ac_ext <<_ACEOF 2795/* end confdefs.h. */ 2796 2797int 2798main () 2799{ 2800#ifndef __GNUC__ 2801 choke me 2802#endif 2803 2804 ; 2805 return 0; 2806} 2807_ACEOF 2808rm -f conftest.$ac_objext 2809if { (ac_try="$ac_compile" 2810case "(($ac_try" in 2811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2812 *) ac_try_echo=$ac_try;; 2813esac 2814eval "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 2826else 2827 echo "$as_me: failed program was:" >&5 2828sed 's/^/| /' conftest.$ac_ext >&5 2829 2830 ac_compiler_gnu=no 2831fi 2832 2833rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2834ac_cv_c_compiler_gnu=$ac_compiler_gnu 2835 2836fi 2837{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2838echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2839GCC=`test $ac_compiler_gnu = yes && echo yes` 2840ac_test_CFLAGS=${CFLAGS+set} 2841ac_save_CFLAGS=$CFLAGS 2842{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2843echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2844if test "${ac_cv_prog_cc_g+set}" = set; then 2845 echo $ECHO_N "(cached) $ECHO_C" >&6 2846else 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 2854cat confdefs.h >>conftest.$ac_ext 2855cat >>conftest.$ac_ext <<_ACEOF 2856/* end confdefs.h. */ 2857 2858int 2859main () 2860{ 2861 2862 ; 2863 return 0; 2864} 2865_ACEOF 2866rm -f conftest.$ac_objext 2867if { (ac_try="$ac_compile" 2868case "(($ac_try" in 2869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2870 *) ac_try_echo=$ac_try;; 2871esac 2872eval "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 2884else 2885 echo "$as_me: failed program was:" >&5 2886sed 's/^/| /' conftest.$ac_ext >&5 2887 2888 CFLAGS="" 2889 cat >conftest.$ac_ext <<_ACEOF 2890/* confdefs.h. */ 2891_ACEOF 2892cat confdefs.h >>conftest.$ac_ext 2893cat >>conftest.$ac_ext <<_ACEOF 2894/* end confdefs.h. */ 2895 2896int 2897main () 2898{ 2899 2900 ; 2901 return 0; 2902} 2903_ACEOF 2904rm -f conftest.$ac_objext 2905if { (ac_try="$ac_compile" 2906case "(($ac_try" in 2907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2908 *) ac_try_echo=$ac_try;; 2909esac 2910eval "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 : 2922else 2923 echo "$as_me: failed program was:" >&5 2924sed '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 2931cat confdefs.h >>conftest.$ac_ext 2932cat >>conftest.$ac_ext <<_ACEOF 2933/* end confdefs.h. */ 2934 2935int 2936main () 2937{ 2938 2939 ; 2940 return 0; 2941} 2942_ACEOF 2943rm -f conftest.$ac_objext 2944if { (ac_try="$ac_compile" 2945case "(($ac_try" in 2946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2947 *) ac_try_echo=$ac_try;; 2948esac 2949eval "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 2961else 2962 echo "$as_me: failed program was:" >&5 2963sed 's/^/| /' conftest.$ac_ext >&5 2964 2965 2966fi 2967 2968rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2969fi 2970 2971rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2972fi 2973 2974rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2975 ac_c_werror_flag=$ac_save_c_werror_flag 2976fi 2977{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2978echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 2979if test "$ac_test_CFLAGS" = set; then 2980 CFLAGS=$ac_save_CFLAGS 2981elif 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 2987else 2988 if test "$GCC" = yes; then 2989 CFLAGS="-O2" 2990 else 2991 CFLAGS= 2992 fi 2993fi 2994{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2995echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 2996if test "${ac_cv_prog_cc_c89+set}" = set; then 2997 echo $ECHO_N "(cached) $ECHO_C" >&6 2998else 2999 ac_cv_prog_cc_c89=no 3000ac_save_CC=$CC 3001cat >conftest.$ac_ext <<_ACEOF 3002/* confdefs.h. */ 3003_ACEOF 3004cat confdefs.h >>conftest.$ac_ext 3005cat >>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. */ 3012struct buf { int x; }; 3013FILE * (*rcsopen) (struct buf *, struct stat *, int); 3014static char *e (p, i) 3015 char **p; 3016 int i; 3017{ 3018 return p[i]; 3019} 3020static 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. */ 3037int 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' 3042int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3043 3044int test (int i, double x); 3045struct s1 {int (*f) (int a);}; 3046struct s2 {int (*f) (double a);}; 3047int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3048int argc; 3049char **argv; 3050int 3051main () 3052{ 3053return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3054 ; 3055 return 0; 3056} 3057_ACEOF 3058for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3059 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3060do 3061 CC="$ac_save_CC $ac_arg" 3062 rm -f conftest.$ac_objext 3063if { (ac_try="$ac_compile" 3064case "(($ac_try" in 3065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3066 *) ac_try_echo=$ac_try;; 3067esac 3068eval "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 3080else 3081 echo "$as_me: failed program was:" >&5 3082sed 's/^/| /' conftest.$ac_ext >&5 3083 3084 3085fi 3086 3087rm -f core conftest.err conftest.$ac_objext 3088 test "x$ac_cv_prog_cc_c89" != "xno" && break 3089done 3090rm -f conftest.$ac_ext 3091CC=$ac_save_CC 3092 3093fi 3094# AC_CACHE_VAL 3095case "x$ac_cv_prog_cc_c89" in 3096 x) 3097 { echo "$as_me:$LINENO: result: none needed" >&5 3098echo "${ECHO_T}none needed" >&6; } ;; 3099 xno) 3100 { echo "$as_me:$LINENO: result: unsupported" >&5 3101echo "${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 3105echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 3106esac 3107 3108 3109ac_ext=c 3110ac_cpp='$CPP $CPPFLAGS' 3111ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3112ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3113ac_compiler_gnu=$ac_cv_c_compiler_gnu 3114DEPDIR="${am__leading_dot}deps" 3115 3116ac_config_commands="$ac_config_commands depfiles" 3117 3118 3119am_make=${MAKE-make} 3120cat > confinc << 'END' 3121am__doit: 3122 @echo done 3123.PHONY: am__doit 3124END 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 3127echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } 3128am__include="#" 3129am__quote= 3130_am_result=none 3131# First try GNU make style include. 3132echo "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'. 3138if 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 3142fi 3143# Now try BSD make style include. 3144if 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 3151fi 3152 3153 3154{ echo "$as_me:$LINENO: result: $_am_result" >&5 3155echo "${ECHO_T}$_am_result" >&6; } 3156rm -f confinc confmf 3157 3158# Check whether --enable-dependency-tracking was given. 3159if test "${enable_dependency_tracking+set}" = set; then 3160 enableval=$enable_dependency_tracking; 3161fi 3162 3163if test "x$enable_dependency_tracking" != xno; then 3164 am_depcomp="$ac_aux_dir/depcomp" 3165 AMDEPBACKSLASH='\' 3166fi 3167 3168 3169if test "x$enable_dependency_tracking" != xno; then 3170 AMDEP_TRUE= 3171 AMDEP_FALSE='#' 3172else 3173 AMDEP_TRUE='#' 3174 AMDEP_FALSE= 3175fi 3176 3177 3178 3179 3180depcc="$CC" am_compiler_list= 3181 3182{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3183echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 3184if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3185 echo $ECHO_N "(cached) $ECHO_C" >&6 3186else 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 3267else 3268 am_cv_CC_dependencies_compiler_type=none 3269fi 3270 3271fi 3272{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3273echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } 3274CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3275 3276 3277 3278if 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='#' 3283else 3284 am__fastdepCC_TRUE='#' 3285 am__fastdepCC_FALSE= 3286fi 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 3303echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 3304if test -z "$INSTALL"; then 3305if test "${ac_cv_path_install+set}" = set; then 3306 echo $ECHO_N "(cached) $ECHO_C" >&6 3307else 3308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3309for as_dir in $PATH 3310do 3311 IFS=$as_save_IFS 3312 test -z "$as_dir" && as_dir=. 3313 # Account for people who put trailing slashes in PATH elements. 3314case $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 ;; 3342esac 3343done 3344IFS=$as_save_IFS 3345 3346 3347fi 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 3357fi 3358{ echo "$as_me:$LINENO: result: $INSTALL" >&5 3359echo "${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. 3363test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3364 3365test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3366 3367test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3368 3369 3370# Checks for header files. 3371 3372 3373 3374 3375 3376 3377ac_header_dirent=no 3378for 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 3381echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; } 3382if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3383 echo $ECHO_N "(cached) $ECHO_C" >&6 3384else 3385 cat >conftest.$ac_ext <<_ACEOF 3386/* confdefs.h. */ 3387_ACEOF 3388cat confdefs.h >>conftest.$ac_ext 3389cat >>conftest.$ac_ext <<_ACEOF 3390/* end confdefs.h. */ 3391#include <sys/types.h> 3392#include <$ac_hdr> 3393 3394int 3395main () 3396{ 3397if ((DIR *) 0) 3398return 0; 3399 ; 3400 return 0; 3401} 3402_ACEOF 3403rm -f conftest.$ac_objext 3404if { (ac_try="$ac_compile" 3405case "(($ac_try" in 3406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3407 *) ac_try_echo=$ac_try;; 3408esac 3409eval "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" 3421else 3422 echo "$as_me: failed program was:" >&5 3423sed 's/^/| /' conftest.$ac_ext >&5 3424 3425 eval "$as_ac_Header=no" 3426fi 3427 3428rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3429fi 3430ac_res=`eval echo '${'$as_ac_Header'}'` 3431 { echo "$as_me:$LINENO: result: $ac_res" >&5 3432echo "${ECHO_T}$ac_res" >&6; } 3433if 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 3438ac_header_dirent=$ac_hdr; break 3439fi 3440 3441done 3442# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 3443if test $ac_header_dirent = dirent.h; then 3444 { echo "$as_me:$LINENO: checking for library containing opendir" >&5 3445echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } 3446if test "${ac_cv_search_opendir+set}" = set; then 3447 echo $ECHO_N "(cached) $ECHO_C" >&6 3448else 3449 ac_func_search_save_LIBS=$LIBS 3450cat >conftest.$ac_ext <<_ACEOF 3451/* confdefs.h. */ 3452_ACEOF 3453cat confdefs.h >>conftest.$ac_ext 3454cat >>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 3461extern "C" 3462#endif 3463char opendir (); 3464int 3465main () 3466{ 3467return opendir (); 3468 ; 3469 return 0; 3470} 3471_ACEOF 3472for 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 3480if { (ac_try="$ac_link" 3481case "(($ac_try" in 3482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3483 *) ac_try_echo=$ac_try;; 3484esac 3485eval "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 3498else 3499 echo "$as_me: failed program was:" >&5 3500sed 's/^/| /' conftest.$ac_ext >&5 3501 3502 3503fi 3504 3505rm -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 3509fi 3510done 3511if test "${ac_cv_search_opendir+set}" = set; then 3512 : 3513else 3514 ac_cv_search_opendir=no 3515fi 3516rm conftest.$ac_ext 3517LIBS=$ac_func_search_save_LIBS 3518fi 3519{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 3520echo "${ECHO_T}$ac_cv_search_opendir" >&6; } 3521ac_res=$ac_cv_search_opendir 3522if test "$ac_res" != no; then 3523 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 3524 3525fi 3526 3527else 3528 { echo "$as_me:$LINENO: checking for library containing opendir" >&5 3529echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } 3530if test "${ac_cv_search_opendir+set}" = set; then 3531 echo $ECHO_N "(cached) $ECHO_C" >&6 3532else 3533 ac_func_search_save_LIBS=$LIBS 3534cat >conftest.$ac_ext <<_ACEOF 3535/* confdefs.h. */ 3536_ACEOF 3537cat confdefs.h >>conftest.$ac_ext 3538cat >>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 3545extern "C" 3546#endif 3547char opendir (); 3548int 3549main () 3550{ 3551return opendir (); 3552 ; 3553 return 0; 3554} 3555_ACEOF 3556for 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 3564if { (ac_try="$ac_link" 3565case "(($ac_try" in 3566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3567 *) ac_try_echo=$ac_try;; 3568esac 3569eval "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 3582else 3583 echo "$as_me: failed program was:" >&5 3584sed 's/^/| /' conftest.$ac_ext >&5 3585 3586 3587fi 3588 3589rm -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 3593fi 3594done 3595if test "${ac_cv_search_opendir+set}" = set; then 3596 : 3597else 3598 ac_cv_search_opendir=no 3599fi 3600rm conftest.$ac_ext 3601LIBS=$ac_func_search_save_LIBS 3602fi 3603{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 3604echo "${ECHO_T}$ac_cv_search_opendir" >&6; } 3605ac_res=$ac_cv_search_opendir 3606if test "$ac_res" != no; then 3607 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 3608 3609fi 3610 3611fi 3612 3613ac_ext=c 3614ac_cpp='$CPP $CPPFLAGS' 3615ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3616ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3617ac_compiler_gnu=$ac_cv_c_compiler_gnu 3618{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3619echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3620# On Suns, sometimes $CPP names a directory. 3621if test -n "$CPP" && test -d "$CPP"; then 3622 CPP= 3623fi 3624if test -z "$CPP"; then 3625 if test "${ac_cv_prog_CPP+set}" = set; then 3626 echo $ECHO_N "(cached) $ECHO_C" >&6 3627else 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 3632for ac_c_preproc_warn_flag in '' yes 3633do 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 3643cat confdefs.h >>conftest.$ac_ext 3644cat >>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 3653if { (ac_try="$ac_cpp conftest.$ac_ext" 3654case "(($ac_try" in 3655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3656 *) ac_try_echo=$ac_try;; 3657esac 3658eval "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 : 3670else 3671 echo "$as_me: failed program was:" >&5 3672sed 's/^/| /' conftest.$ac_ext >&5 3673 3674 # Broken: fails on valid input. 3675continue 3676fi 3677 3678rm -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 3685cat confdefs.h >>conftest.$ac_ext 3686cat >>conftest.$ac_ext <<_ACEOF 3687/* end confdefs.h. */ 3688#include <ac_nonexistent.h> 3689_ACEOF 3690if { (ac_try="$ac_cpp conftest.$ac_ext" 3691case "(($ac_try" in 3692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3693 *) ac_try_echo=$ac_try;; 3694esac 3695eval "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. 3707continue 3708else 3709 echo "$as_me: failed program was:" >&5 3710sed 's/^/| /' conftest.$ac_ext >&5 3711 3712 # Passes both tests. 3713ac_preproc_ok=: 3714break 3715fi 3716 3717rm -f conftest.err conftest.$ac_ext 3718 3719done 3720# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3721rm -f conftest.err conftest.$ac_ext 3722if $ac_preproc_ok; then 3723 break 3724fi 3725 3726 done 3727 ac_cv_prog_CPP=$CPP 3728 3729fi 3730 CPP=$ac_cv_prog_CPP 3731else 3732 ac_cv_prog_CPP=$CPP 3733fi 3734{ echo "$as_me:$LINENO: result: $CPP" >&5 3735echo "${ECHO_T}$CPP" >&6; } 3736ac_preproc_ok=false 3737for ac_c_preproc_warn_flag in '' yes 3738do 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 3748cat confdefs.h >>conftest.$ac_ext 3749cat >>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 3758if { (ac_try="$ac_cpp conftest.$ac_ext" 3759case "(($ac_try" in 3760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3761 *) ac_try_echo=$ac_try;; 3762esac 3763eval "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 : 3775else 3776 echo "$as_me: failed program was:" >&5 3777sed 's/^/| /' conftest.$ac_ext >&5 3778 3779 # Broken: fails on valid input. 3780continue 3781fi 3782 3783rm -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 3790cat confdefs.h >>conftest.$ac_ext 3791cat >>conftest.$ac_ext <<_ACEOF 3792/* end confdefs.h. */ 3793#include <ac_nonexistent.h> 3794_ACEOF 3795if { (ac_try="$ac_cpp conftest.$ac_ext" 3796case "(($ac_try" in 3797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3798 *) ac_try_echo=$ac_try;; 3799esac 3800eval "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. 3812continue 3813else 3814 echo "$as_me: failed program was:" >&5 3815sed 's/^/| /' conftest.$ac_ext >&5 3816 3817 # Passes both tests. 3818ac_preproc_ok=: 3819break 3820fi 3821 3822rm -f conftest.err conftest.$ac_ext 3823 3824done 3825# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3826rm -f conftest.err conftest.$ac_ext 3827if $ac_preproc_ok; then 3828 : 3829else 3830 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3831See \`config.log' for more details." >&5 3832echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3833See \`config.log' for more details." >&2;} 3834 { (exit 1); exit 1; }; } 3835fi 3836 3837ac_ext=c 3838ac_cpp='$CPP $CPPFLAGS' 3839ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3840ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3841ac_compiler_gnu=$ac_cv_c_compiler_gnu 3842 3843 3844{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3845echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 3846if test "${ac_cv_path_GREP+set}" = set; then 3847 echo $ECHO_N "(cached) $ECHO_C" >&6 3848else 3849 # Extract the first word of "grep ggrep" to use in msg output 3850if test -z "$GREP"; then 3851set dummy grep ggrep; ac_prog_name=$2 3852if test "${ac_cv_path_GREP+set}" = set; then 3853 echo $ECHO_N "(cached) $ECHO_C" >&6 3854else 3855 ac_path_GREP_found=false 3856# Loop through the user's path and test for each of PROGNAME-LIST 3857as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3858for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3859do 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 3868case `"$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;; 3892esac 3893 3894 3895 $ac_path_GREP_found && break 3 3896 done 3897done 3898 3899done 3900IFS=$as_save_IFS 3901 3902 3903fi 3904 3905GREP="$ac_cv_path_GREP" 3906if 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 3908echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3909 { (exit 1); exit 1; }; } 3910fi 3911 3912else 3913 ac_cv_path_GREP=$GREP 3914fi 3915 3916 3917fi 3918{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3919echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 3920 GREP="$ac_cv_path_GREP" 3921 3922 3923{ echo "$as_me:$LINENO: checking for egrep" >&5 3924echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 3925if test "${ac_cv_path_EGREP+set}" = set; then 3926 echo $ECHO_N "(cached) $ECHO_C" >&6 3927else 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 3932if test -z "$EGREP"; then 3933set dummy egrep; ac_prog_name=$2 3934if test "${ac_cv_path_EGREP+set}" = set; then 3935 echo $ECHO_N "(cached) $ECHO_C" >&6 3936else 3937 ac_path_EGREP_found=false 3938# Loop through the user's path and test for each of PROGNAME-LIST 3939as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3940for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3941do 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 3950case `"$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;; 3974esac 3975 3976 3977 $ac_path_EGREP_found && break 3 3978 done 3979done 3980 3981done 3982IFS=$as_save_IFS 3983 3984 3985fi 3986 3987EGREP="$ac_cv_path_EGREP" 3988if 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 3990echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3991 { (exit 1); exit 1; }; } 3992fi 3993 3994else 3995 ac_cv_path_EGREP=$EGREP 3996fi 3997 3998 3999 fi 4000fi 4001{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4002echo "${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 4007echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4008if test "${ac_cv_header_stdc+set}" = set; then 4009 echo $ECHO_N "(cached) $ECHO_C" >&6 4010else 4011 cat >conftest.$ac_ext <<_ACEOF 4012/* confdefs.h. */ 4013_ACEOF 4014cat confdefs.h >>conftest.$ac_ext 4015cat >>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 4022int 4023main () 4024{ 4025 4026 ; 4027 return 0; 4028} 4029_ACEOF 4030rm -f conftest.$ac_objext 4031if { (ac_try="$ac_compile" 4032case "(($ac_try" in 4033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4034 *) ac_try_echo=$ac_try;; 4035esac 4036eval "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 4048else 4049 echo "$as_me: failed program was:" >&5 4050sed 's/^/| /' conftest.$ac_ext >&5 4051 4052 ac_cv_header_stdc=no 4053fi 4054 4055rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4056 4057if 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 4062cat confdefs.h >>conftest.$ac_ext 4063cat >>conftest.$ac_ext <<_ACEOF 4064/* end confdefs.h. */ 4065#include <string.h> 4066 4067_ACEOF 4068if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4069 $EGREP "memchr" >/dev/null 2>&1; then 4070 : 4071else 4072 ac_cv_header_stdc=no 4073fi 4074rm -f conftest* 4075 4076fi 4077 4078if 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 4083cat confdefs.h >>conftest.$ac_ext 4084cat >>conftest.$ac_ext <<_ACEOF 4085/* end confdefs.h. */ 4086#include <stdlib.h> 4087 4088_ACEOF 4089if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4090 $EGREP "free" >/dev/null 2>&1; then 4091 : 4092else 4093 ac_cv_header_stdc=no 4094fi 4095rm -f conftest* 4096 4097fi 4098 4099if 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 : 4103else 4104 cat >conftest.$ac_ext <<_ACEOF 4105/* confdefs.h. */ 4106_ACEOF 4107cat confdefs.h >>conftest.$ac_ext 4108cat >>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))) 4124int 4125main () 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 4135rm -f conftest$ac_exeext 4136if { (ac_try="$ac_link" 4137case "(($ac_try" in 4138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4139 *) ac_try_echo=$ac_try;; 4140esac 4141eval "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;; 4149esac 4150eval "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 : 4156else 4157 echo "$as_me: program exited with status $ac_status" >&5 4158echo "$as_me: failed program was:" >&5 4159sed 's/^/| /' conftest.$ac_ext >&5 4160 4161( exit $ac_status ) 4162ac_cv_header_stdc=no 4163fi 4164rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4165fi 4166 4167 4168fi 4169fi 4170{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4171echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4172if test $ac_cv_header_stdc = yes; then 4173 4174cat >>confdefs.h <<\_ACEOF 4175#define STDC_HEADERS 1 4176_ACEOF 4177 4178fi 4179 4180# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4191 inttypes.h stdint.h unistd.h 4192do 4193as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4194{ echo "$as_me:$LINENO: checking for $ac_header" >&5 4195echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4196if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4197 echo $ECHO_N "(cached) $ECHO_C" >&6 4198else 4199 cat >conftest.$ac_ext <<_ACEOF 4200/* confdefs.h. */ 4201_ACEOF 4202cat confdefs.h >>conftest.$ac_ext 4203cat >>conftest.$ac_ext <<_ACEOF 4204/* end confdefs.h. */ 4205$ac_includes_default 4206 4207#include <$ac_header> 4208_ACEOF 4209rm -f conftest.$ac_objext 4210if { (ac_try="$ac_compile" 4211case "(($ac_try" in 4212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4213 *) ac_try_echo=$ac_try;; 4214esac 4215eval "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" 4227else 4228 echo "$as_me: failed program was:" >&5 4229sed 's/^/| /' conftest.$ac_ext >&5 4230 4231 eval "$as_ac_Header=no" 4232fi 4233 4234rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4235fi 4236ac_res=`eval echo '${'$as_ac_Header'}'` 4237 { echo "$as_me:$LINENO: result: $ac_res" >&5 4238echo "${ECHO_T}$ac_res" >&6; } 4239if 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 4244fi 4245 4246done 4247 4248 4249{ echo "$as_me:$LINENO: checking whether sys/types.h defines makedev" >&5 4250echo $ECHO_N "checking whether sys/types.h defines makedev... $ECHO_C" >&6; } 4251if test "${ac_cv_header_sys_types_h_makedev+set}" = set; then 4252 echo $ECHO_N "(cached) $ECHO_C" >&6 4253else 4254 cat >conftest.$ac_ext <<_ACEOF 4255/* confdefs.h. */ 4256_ACEOF 4257cat confdefs.h >>conftest.$ac_ext 4258cat >>conftest.$ac_ext <<_ACEOF 4259/* end confdefs.h. */ 4260#include <sys/types.h> 4261int 4262main () 4263{ 4264return makedev(0, 0); 4265 ; 4266 return 0; 4267} 4268_ACEOF 4269rm -f conftest.$ac_objext conftest$ac_exeext 4270if { (ac_try="$ac_link" 4271case "(($ac_try" in 4272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4273 *) ac_try_echo=$ac_try;; 4274esac 4275eval "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 4288else 4289 echo "$as_me: failed program was:" >&5 4290sed 's/^/| /' conftest.$ac_ext >&5 4291 4292 ac_cv_header_sys_types_h_makedev=no 4293fi 4294 4295rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4296 conftest$ac_exeext conftest.$ac_ext 4297 4298fi 4299{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h_makedev" >&5 4300echo "${ECHO_T}$ac_cv_header_sys_types_h_makedev" >&6; } 4301 4302if test $ac_cv_header_sys_types_h_makedev = no; then 4303if test "${ac_cv_header_sys_mkdev_h+set}" = set; then 4304 { echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5 4305echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6; } 4306if test "${ac_cv_header_sys_mkdev_h+set}" = set; then 4307 echo $ECHO_N "(cached) $ECHO_C" >&6 4308fi 4309{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5 4310echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6; } 4311else 4312 # Is the header compilable? 4313{ echo "$as_me:$LINENO: checking sys/mkdev.h usability" >&5 4314echo $ECHO_N "checking sys/mkdev.h usability... $ECHO_C" >&6; } 4315cat >conftest.$ac_ext <<_ACEOF 4316/* confdefs.h. */ 4317_ACEOF 4318cat confdefs.h >>conftest.$ac_ext 4319cat >>conftest.$ac_ext <<_ACEOF 4320/* end confdefs.h. */ 4321$ac_includes_default 4322#include <sys/mkdev.h> 4323_ACEOF 4324rm -f conftest.$ac_objext 4325if { (ac_try="$ac_compile" 4326case "(($ac_try" in 4327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4328 *) ac_try_echo=$ac_try;; 4329esac 4330eval "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 4342else 4343 echo "$as_me: failed program was:" >&5 4344sed 's/^/| /' conftest.$ac_ext >&5 4345 4346 ac_header_compiler=no 4347fi 4348 4349rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4350{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4351echo "${ECHO_T}$ac_header_compiler" >&6; } 4352 4353# Is the header present? 4354{ echo "$as_me:$LINENO: checking sys/mkdev.h presence" >&5 4355echo $ECHO_N "checking sys/mkdev.h presence... $ECHO_C" >&6; } 4356cat >conftest.$ac_ext <<_ACEOF 4357/* confdefs.h. */ 4358_ACEOF 4359cat confdefs.h >>conftest.$ac_ext 4360cat >>conftest.$ac_ext <<_ACEOF 4361/* end confdefs.h. */ 4362#include <sys/mkdev.h> 4363_ACEOF 4364if { (ac_try="$ac_cpp conftest.$ac_ext" 4365case "(($ac_try" in 4366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4367 *) ac_try_echo=$ac_try;; 4368esac 4369eval "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 4381else 4382 echo "$as_me: failed program was:" >&5 4383sed 's/^/| /' conftest.$ac_ext >&5 4384 4385 ac_header_preproc=no 4386fi 4387 4388rm -f conftest.err conftest.$ac_ext 4389{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4390echo "${ECHO_T}$ac_header_preproc" >&6; } 4391 4392# So? What about this header? 4393case $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 4396echo "$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 4398echo "$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 4403echo "$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 4405echo "$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 4407echo "$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 4409echo "$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 4411echo "$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 4413echo "$as_me: WARNING: sys/mkdev.h: in the future, the compiler will take precedence" >&2;} 4414 4415 ;; 4416esac 4417{ echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5 4418echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6; } 4419if test "${ac_cv_header_sys_mkdev_h+set}" = set; then 4420 echo $ECHO_N "(cached) $ECHO_C" >&6 4421else 4422 ac_cv_header_sys_mkdev_h=$ac_header_preproc 4423fi 4424{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5 4425echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6; } 4426 4427fi 4428if test $ac_cv_header_sys_mkdev_h = yes; then 4429 4430cat >>confdefs.h <<\_ACEOF 4431#define MAJOR_IN_MKDEV 1 4432_ACEOF 4433 4434fi 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 4441echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6; } 4442if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then 4443 echo $ECHO_N "(cached) $ECHO_C" >&6 4444fi 4445{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5 4446echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6; } 4447else 4448 # Is the header compilable? 4449{ echo "$as_me:$LINENO: checking sys/sysmacros.h usability" >&5 4450echo $ECHO_N "checking sys/sysmacros.h usability... $ECHO_C" >&6; } 4451cat >conftest.$ac_ext <<_ACEOF 4452/* confdefs.h. */ 4453_ACEOF 4454cat confdefs.h >>conftest.$ac_ext 4455cat >>conftest.$ac_ext <<_ACEOF 4456/* end confdefs.h. */ 4457$ac_includes_default 4458#include <sys/sysmacros.h> 4459_ACEOF 4460rm -f conftest.$ac_objext 4461if { (ac_try="$ac_compile" 4462case "(($ac_try" in 4463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4464 *) ac_try_echo=$ac_try;; 4465esac 4466eval "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 4478else 4479 echo "$as_me: failed program was:" >&5 4480sed 's/^/| /' conftest.$ac_ext >&5 4481 4482 ac_header_compiler=no 4483fi 4484 4485rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4486{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4487echo "${ECHO_T}$ac_header_compiler" >&6; } 4488 4489# Is the header present? 4490{ echo "$as_me:$LINENO: checking sys/sysmacros.h presence" >&5 4491echo $ECHO_N "checking sys/sysmacros.h presence... $ECHO_C" >&6; } 4492cat >conftest.$ac_ext <<_ACEOF 4493/* confdefs.h. */ 4494_ACEOF 4495cat confdefs.h >>conftest.$ac_ext 4496cat >>conftest.$ac_ext <<_ACEOF 4497/* end confdefs.h. */ 4498#include <sys/sysmacros.h> 4499_ACEOF 4500if { (ac_try="$ac_cpp conftest.$ac_ext" 4501case "(($ac_try" in 4502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4503 *) ac_try_echo=$ac_try;; 4504esac 4505eval "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 4517else 4518 echo "$as_me: failed program was:" >&5 4519sed 's/^/| /' conftest.$ac_ext >&5 4520 4521 ac_header_preproc=no 4522fi 4523 4524rm -f conftest.err conftest.$ac_ext 4525{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4526echo "${ECHO_T}$ac_header_preproc" >&6; } 4527 4528# So? What about this header? 4529case $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 4532echo "$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 4534echo "$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 4539echo "$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 4541echo "$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 4543echo "$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 4545echo "$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 4547echo "$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 4549echo "$as_me: WARNING: sys/sysmacros.h: in the future, the compiler will take precedence" >&2;} 4550 4551 ;; 4552esac 4553{ echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5 4554echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6; } 4555if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then 4556 echo $ECHO_N "(cached) $ECHO_C" >&6 4557else 4558 ac_cv_header_sys_sysmacros_h=$ac_header_preproc 4559fi 4560{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5 4561echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6; } 4562 4563fi 4564if test $ac_cv_header_sys_sysmacros_h = yes; then 4565 4566cat >>confdefs.h <<\_ACEOF 4567#define MAJOR_IN_SYSMACROS 1 4568_ACEOF 4569 4570fi 4571 4572 4573 fi 4574fi 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586for ac_header in fcntl.h inttypes.h limits.h memory.h stddef.h stdint.h stdlib.h string.h strings.h unistd.h 4587do 4588as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4589if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4590 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4591echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4592if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4593 echo $ECHO_N "(cached) $ECHO_C" >&6 4594fi 4595ac_res=`eval echo '${'$as_ac_Header'}'` 4596 { echo "$as_me:$LINENO: result: $ac_res" >&5 4597echo "${ECHO_T}$ac_res" >&6; } 4598else 4599 # Is the header compilable? 4600{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 4601echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 4602cat >conftest.$ac_ext <<_ACEOF 4603/* confdefs.h. */ 4604_ACEOF 4605cat confdefs.h >>conftest.$ac_ext 4606cat >>conftest.$ac_ext <<_ACEOF 4607/* end confdefs.h. */ 4608$ac_includes_default 4609#include <$ac_header> 4610_ACEOF 4611rm -f conftest.$ac_objext 4612if { (ac_try="$ac_compile" 4613case "(($ac_try" in 4614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4615 *) ac_try_echo=$ac_try;; 4616esac 4617eval "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 4629else 4630 echo "$as_me: failed program was:" >&5 4631sed 's/^/| /' conftest.$ac_ext >&5 4632 4633 ac_header_compiler=no 4634fi 4635 4636rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4637{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4638echo "${ECHO_T}$ac_header_compiler" >&6; } 4639 4640# Is the header present? 4641{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 4642echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 4643cat >conftest.$ac_ext <<_ACEOF 4644/* confdefs.h. */ 4645_ACEOF 4646cat confdefs.h >>conftest.$ac_ext 4647cat >>conftest.$ac_ext <<_ACEOF 4648/* end confdefs.h. */ 4649#include <$ac_header> 4650_ACEOF 4651if { (ac_try="$ac_cpp conftest.$ac_ext" 4652case "(($ac_try" in 4653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4654 *) ac_try_echo=$ac_try;; 4655esac 4656eval "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 4668else 4669 echo "$as_me: failed program was:" >&5 4670sed 's/^/| /' conftest.$ac_ext >&5 4671 4672 ac_header_preproc=no 4673fi 4674 4675rm -f conftest.err conftest.$ac_ext 4676{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4677echo "${ECHO_T}$ac_header_preproc" >&6; } 4678 4679# So? What about this header? 4680case $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 4683echo "$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 4685echo "$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 4690echo "$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 4692echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4693 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4694echo "$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 4696echo "$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 4698echo "$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 4700echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4701 4702 ;; 4703esac 4704{ echo "$as_me:$LINENO: checking for $ac_header" >&5 4705echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4706if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4707 echo $ECHO_N "(cached) $ECHO_C" >&6 4708else 4709 eval "$as_ac_Header=\$ac_header_preproc" 4710fi 4711ac_res=`eval echo '${'$as_ac_Header'}'` 4712 { echo "$as_me:$LINENO: result: $ac_res" >&5 4713echo "${ECHO_T}$ac_res" >&6; } 4714 4715fi 4716if 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 4721fi 4722 4723done 4724 4725 4726 4727for ac_header in libgen.h getopt.h 4728do 4729as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4730if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4731 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4732echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4733if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4734 echo $ECHO_N "(cached) $ECHO_C" >&6 4735fi 4736ac_res=`eval echo '${'$as_ac_Header'}'` 4737 { echo "$as_me:$LINENO: result: $ac_res" >&5 4738echo "${ECHO_T}$ac_res" >&6; } 4739else 4740 # Is the header compilable? 4741{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 4742echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 4743cat >conftest.$ac_ext <<_ACEOF 4744/* confdefs.h. */ 4745_ACEOF 4746cat confdefs.h >>conftest.$ac_ext 4747cat >>conftest.$ac_ext <<_ACEOF 4748/* end confdefs.h. */ 4749$ac_includes_default 4750#include <$ac_header> 4751_ACEOF 4752rm -f conftest.$ac_objext 4753if { (ac_try="$ac_compile" 4754case "(($ac_try" in 4755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4756 *) ac_try_echo=$ac_try;; 4757esac 4758eval "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 4770else 4771 echo "$as_me: failed program was:" >&5 4772sed 's/^/| /' conftest.$ac_ext >&5 4773 4774 ac_header_compiler=no 4775fi 4776 4777rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4778{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4779echo "${ECHO_T}$ac_header_compiler" >&6; } 4780 4781# Is the header present? 4782{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 4783echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 4784cat >conftest.$ac_ext <<_ACEOF 4785/* confdefs.h. */ 4786_ACEOF 4787cat confdefs.h >>conftest.$ac_ext 4788cat >>conftest.$ac_ext <<_ACEOF 4789/* end confdefs.h. */ 4790#include <$ac_header> 4791_ACEOF 4792if { (ac_try="$ac_cpp conftest.$ac_ext" 4793case "(($ac_try" in 4794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4795 *) ac_try_echo=$ac_try;; 4796esac 4797eval "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 4809else 4810 echo "$as_me: failed program was:" >&5 4811sed 's/^/| /' conftest.$ac_ext >&5 4812 4813 ac_header_preproc=no 4814fi 4815 4816rm -f conftest.err conftest.$ac_ext 4817{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4818echo "${ECHO_T}$ac_header_preproc" >&6; } 4819 4820# So? What about this header? 4821case $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 4824echo "$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 4826echo "$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 4831echo "$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 4833echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4834 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4835echo "$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 4837echo "$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 4839echo "$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 4841echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4842 4843 ;; 4844esac 4845{ echo "$as_me:$LINENO: checking for $ac_header" >&5 4846echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4847if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4848 echo $ECHO_N "(cached) $ECHO_C" >&6 4849else 4850 eval "$as_ac_Header=\$ac_header_preproc" 4851fi 4852ac_res=`eval echo '${'$as_ac_Header'}'` 4853 { echo "$as_me:$LINENO: result: $ac_res" >&5 4854echo "${ECHO_T}$ac_res" >&6; } 4855 4856fi 4857if 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 4862fi 4863 4864done 4865 4866 4867# Checks for typedefs, structures, and compiler characteristics. 4868{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 4869echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } 4870if test "${ac_cv_c_const+set}" = set; then 4871 echo $ECHO_N "(cached) $ECHO_C" >&6 4872else 4873 cat >conftest.$ac_ext <<_ACEOF 4874/* confdefs.h. */ 4875_ACEOF 4876cat confdefs.h >>conftest.$ac_ext 4877cat >>conftest.$ac_ext <<_ACEOF 4878/* end confdefs.h. */ 4879 4880int 4881main () 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 4937rm -f conftest.$ac_objext 4938if { (ac_try="$ac_compile" 4939case "(($ac_try" in 4940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4941 *) ac_try_echo=$ac_try;; 4942esac 4943eval "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 4955else 4956 echo "$as_me: failed program was:" >&5 4957sed 's/^/| /' conftest.$ac_ext >&5 4958 4959 ac_cv_c_const=no 4960fi 4961 4962rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4963fi 4964{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4965echo "${ECHO_T}$ac_cv_c_const" >&6; } 4966if test $ac_cv_c_const = no; then 4967 4968cat >>confdefs.h <<\_ACEOF 4969#define const 4970_ACEOF 4971 4972fi 4973 4974{ echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5 4975echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; } 4976if test "${ac_cv_type_uid_t+set}" = set; then 4977 echo $ECHO_N "(cached) $ECHO_C" >&6 4978else 4979 cat >conftest.$ac_ext <<_ACEOF 4980/* confdefs.h. */ 4981_ACEOF 4982cat confdefs.h >>conftest.$ac_ext 4983cat >>conftest.$ac_ext <<_ACEOF 4984/* end confdefs.h. */ 4985#include <sys/types.h> 4986 4987_ACEOF 4988if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4989 $EGREP "uid_t" >/dev/null 2>&1; then 4990 ac_cv_type_uid_t=yes 4991else 4992 ac_cv_type_uid_t=no 4993fi 4994rm -f conftest* 4995 4996fi 4997{ echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5 4998echo "${ECHO_T}$ac_cv_type_uid_t" >&6; } 4999if test $ac_cv_type_uid_t = no; then 5000 5001cat >>confdefs.h <<\_ACEOF 5002#define uid_t int 5003_ACEOF 5004 5005 5006cat >>confdefs.h <<\_ACEOF 5007#define gid_t int 5008_ACEOF 5009 5010fi 5011 5012{ echo "$as_me:$LINENO: checking for inline" >&5 5013echo $ECHO_N "checking for inline... $ECHO_C" >&6; } 5014if test "${ac_cv_c_inline+set}" = set; then 5015 echo $ECHO_N "(cached) $ECHO_C" >&6 5016else 5017 ac_cv_c_inline=no 5018for ac_kw in inline __inline__ __inline; do 5019 cat >conftest.$ac_ext <<_ACEOF 5020/* confdefs.h. */ 5021_ACEOF 5022cat confdefs.h >>conftest.$ac_ext 5023cat >>conftest.$ac_ext <<_ACEOF 5024/* end confdefs.h. */ 5025#ifndef __cplusplus 5026typedef int foo_t; 5027static $ac_kw foo_t static_foo () {return 0; } 5028$ac_kw foo_t foo () {return 0; } 5029#endif 5030 5031_ACEOF 5032rm -f conftest.$ac_objext 5033if { (ac_try="$ac_compile" 5034case "(($ac_try" in 5035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5036 *) ac_try_echo=$ac_try;; 5037esac 5038eval "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 5050else 5051 echo "$as_me: failed program was:" >&5 5052sed 's/^/| /' conftest.$ac_ext >&5 5053 5054 5055fi 5056 5057rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5058 test "$ac_cv_c_inline" != no && break 5059done 5060 5061fi 5062{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 5063echo "${ECHO_T}$ac_cv_c_inline" >&6; } 5064 5065 5066case $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 ;; 5079esac 5080 5081{ echo "$as_me:$LINENO: checking for size_t" >&5 5082echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } 5083if test "${ac_cv_type_size_t+set}" = set; then 5084 echo $ECHO_N "(cached) $ECHO_C" >&6 5085else 5086 cat >conftest.$ac_ext <<_ACEOF 5087/* confdefs.h. */ 5088_ACEOF 5089cat confdefs.h >>conftest.$ac_ext 5090cat >>conftest.$ac_ext <<_ACEOF 5091/* end confdefs.h. */ 5092$ac_includes_default 5093typedef size_t ac__type_new_; 5094int 5095main () 5096{ 5097if ((ac__type_new_ *) 0) 5098 return 0; 5099if (sizeof (ac__type_new_)) 5100 return 0; 5101 ; 5102 return 0; 5103} 5104_ACEOF 5105rm -f conftest.$ac_objext 5106if { (ac_try="$ac_compile" 5107case "(($ac_try" in 5108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5109 *) ac_try_echo=$ac_try;; 5110esac 5111eval "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 5123else 5124 echo "$as_me: failed program was:" >&5 5125sed 's/^/| /' conftest.$ac_ext >&5 5126 5127 ac_cv_type_size_t=no 5128fi 5129 5130rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5131fi 5132{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 5133echo "${ECHO_T}$ac_cv_type_size_t" >&6; } 5134if test $ac_cv_type_size_t = yes; then 5135 : 5136else 5137 5138cat >>confdefs.h <<_ACEOF 5139#define size_t unsigned 5140_ACEOF 5141 5142fi 5143 5144{ echo "$as_me:$LINENO: checking for ssize_t" >&5 5145echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; } 5146if test "${ac_cv_type_ssize_t+set}" = set; then 5147 echo $ECHO_N "(cached) $ECHO_C" >&6 5148else 5149 cat >conftest.$ac_ext <<_ACEOF 5150/* confdefs.h. */ 5151_ACEOF 5152cat confdefs.h >>conftest.$ac_ext 5153cat >>conftest.$ac_ext <<_ACEOF 5154/* end confdefs.h. */ 5155$ac_includes_default 5156typedef ssize_t ac__type_new_; 5157int 5158main () 5159{ 5160if ((ac__type_new_ *) 0) 5161 return 0; 5162if (sizeof (ac__type_new_)) 5163 return 0; 5164 ; 5165 return 0; 5166} 5167_ACEOF 5168rm -f conftest.$ac_objext 5169if { (ac_try="$ac_compile" 5170case "(($ac_try" in 5171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5172 *) ac_try_echo=$ac_try;; 5173esac 5174eval "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 5186else 5187 echo "$as_me: failed program was:" >&5 5188sed 's/^/| /' conftest.$ac_ext >&5 5189 5190 ac_cv_type_ssize_t=no 5191fi 5192 5193rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5194fi 5195{ echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5 5196echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; } 5197if test $ac_cv_type_ssize_t = yes; then 5198 : 5199else 5200 5201cat >>confdefs.h <<_ACEOF 5202#define ssize_t signed 5203_ACEOF 5204 5205fi 5206 5207{ echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5 5208echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; } 5209if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then 5210 echo $ECHO_N "(cached) $ECHO_C" >&6 5211else 5212 cat >conftest.$ac_ext <<_ACEOF 5213/* confdefs.h. */ 5214_ACEOF 5215cat confdefs.h >>conftest.$ac_ext 5216cat >>conftest.$ac_ext <<_ACEOF 5217/* end confdefs.h. */ 5218$ac_includes_default 5219int 5220main () 5221{ 5222static struct stat ac_aggr; 5223if (ac_aggr.st_rdev) 5224return 0; 5225 ; 5226 return 0; 5227} 5228_ACEOF 5229rm -f conftest.$ac_objext 5230if { (ac_try="$ac_compile" 5231case "(($ac_try" in 5232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5233 *) ac_try_echo=$ac_try;; 5234esac 5235eval "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 5247else 5248 echo "$as_me: failed program was:" >&5 5249sed 's/^/| /' conftest.$ac_ext >&5 5250 5251 cat >conftest.$ac_ext <<_ACEOF 5252/* confdefs.h. */ 5253_ACEOF 5254cat confdefs.h >>conftest.$ac_ext 5255cat >>conftest.$ac_ext <<_ACEOF 5256/* end confdefs.h. */ 5257$ac_includes_default 5258int 5259main () 5260{ 5261static struct stat ac_aggr; 5262if (sizeof ac_aggr.st_rdev) 5263return 0; 5264 ; 5265 return 0; 5266} 5267_ACEOF 5268rm -f conftest.$ac_objext 5269if { (ac_try="$ac_compile" 5270case "(($ac_try" in 5271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5272 *) ac_try_echo=$ac_try;; 5273esac 5274eval "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 5286else 5287 echo "$as_me: failed program was:" >&5 5288sed 's/^/| /' conftest.$ac_ext >&5 5289 5290 ac_cv_member_struct_stat_st_rdev=no 5291fi 5292 5293rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5294fi 5295 5296rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5297fi 5298{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5 5299echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; } 5300if test $ac_cv_member_struct_stat_st_rdev = yes; then 5301 5302cat >>confdefs.h <<_ACEOF 5303#define HAVE_STRUCT_STAT_ST_RDEV 1 5304_ACEOF 5305 5306 5307fi 5308 5309 5310# Checks for library functions. 5311 5312 5313 5314for ac_func in getopt_long getline strtof 5315do 5316as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5317{ echo "$as_me:$LINENO: checking for $ac_func" >&5 5318echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 5319if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 5320 echo $ECHO_N "(cached) $ECHO_C" >&6 5321else 5322 cat >conftest.$ac_ext <<_ACEOF 5323/* confdefs.h. */ 5324_ACEOF 5325cat confdefs.h >>conftest.$ac_ext 5326cat >>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 5349extern "C" 5350#endif 5351char $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 5356choke me 5357#endif 5358 5359int 5360main () 5361{ 5362return $ac_func (); 5363 ; 5364 return 0; 5365} 5366_ACEOF 5367rm -f conftest.$ac_objext conftest$ac_exeext 5368if { (ac_try="$ac_link" 5369case "(($ac_try" in 5370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5371 *) ac_try_echo=$ac_try;; 5372esac 5373eval "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" 5386else 5387 echo "$as_me: failed program was:" >&5 5388sed 's/^/| /' conftest.$ac_ext >&5 5389 5390 eval "$as_ac_var=no" 5391fi 5392 5393rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5394 conftest$ac_exeext conftest.$ac_ext 5395fi 5396ac_res=`eval echo '${'$as_ac_var'}'` 5397 { echo "$as_me:$LINENO: result: $ac_res" >&5 5398echo "${ECHO_T}$ac_res" >&6; } 5399if 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 5404fi 5405done 5406 5407 5408 5409for ac_func in snprintf vsnprintf 5410do 5411as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5412{ echo "$as_me:$LINENO: checking for $ac_func" >&5 5413echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 5414if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 5415 echo $ECHO_N "(cached) $ECHO_C" >&6 5416else 5417 cat >conftest.$ac_ext <<_ACEOF 5418/* confdefs.h. */ 5419_ACEOF 5420cat confdefs.h >>conftest.$ac_ext 5421cat >>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 5444extern "C" 5445#endif 5446char $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 5451choke me 5452#endif 5453 5454int 5455main () 5456{ 5457return $ac_func (); 5458 ; 5459 return 0; 5460} 5461_ACEOF 5462rm -f conftest.$ac_objext conftest$ac_exeext 5463if { (ac_try="$ac_link" 5464case "(($ac_try" in 5465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5466 *) ac_try_echo=$ac_try;; 5467esac 5468eval "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" 5481else 5482 echo "$as_me: failed program was:" >&5 5483sed 's/^/| /' conftest.$ac_ext >&5 5484 5485 eval "$as_ac_var=no" 5486fi 5487 5488rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5489 conftest$ac_exeext conftest.$ac_ext 5490fi 5491ac_res=`eval echo '${'$as_ac_var'}'` 5492 { echo "$as_me:$LINENO: result: $ac_res" >&5 5493echo "${ECHO_T}$ac_res" >&6; } 5494if 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 5499fi 5500done 5501 5502{ echo "$as_me:$LINENO: checking for working snprintf" >&5 5503echo $ECHO_N "checking for working snprintf... $ECHO_C" >&6; } 5504if test "${ac_cv_have_working_snprintf+set}" = set; then 5505 echo $ECHO_N "(cached) $ECHO_C" >&6 5506else 5507 if test "$cross_compiling" = yes; then 5508 ac_cv_have_working_snprintf=cross 5509else 5510 cat >conftest.$ac_ext <<_ACEOF 5511/* confdefs.h. */ 5512_ACEOF 5513cat confdefs.h >>conftest.$ac_ext 5514cat >>conftest.$ac_ext <<_ACEOF 5515/* end confdefs.h. */ 5516#include <stdio.h> 5517 5518int 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 5532rm -f conftest$ac_exeext 5533if { (ac_try="$ac_link" 5534case "(($ac_try" in 5535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5536 *) ac_try_echo=$ac_try;; 5537esac 5538eval "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;; 5546esac 5547eval "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 5553else 5554 echo "$as_me: program exited with status $ac_status" >&5 5555echo "$as_me: failed program was:" >&5 5556sed 's/^/| /' conftest.$ac_ext >&5 5557 5558( exit $ac_status ) 5559ac_cv_have_working_snprintf=no 5560fi 5561rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5562fi 5563 5564 5565fi 5566 5567{ echo "$as_me:$LINENO: result: $ac_cv_have_working_snprintf" >&5 5568echo "${ECHO_T}$ac_cv_have_working_snprintf" >&6; } 5569{ echo "$as_me:$LINENO: checking for working vsnprintf" >&5 5570echo $ECHO_N "checking for working vsnprintf... $ECHO_C" >&6; } 5571if test "${ac_cv_have_working_vsnprintf+set}" = set; then 5572 echo $ECHO_N "(cached) $ECHO_C" >&6 5573else 5574 if test "$cross_compiling" = yes; then 5575 ac_cv_have_working_vsnprintf=cross 5576else 5577 cat >conftest.$ac_ext <<_ACEOF 5578/* confdefs.h. */ 5579_ACEOF 5580cat confdefs.h >>conftest.$ac_ext 5581cat >>conftest.$ac_ext <<_ACEOF 5582/* end confdefs.h. */ 5583#include <stdio.h> 5584#include <stdarg.h> 5585 5586int 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 5596int 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 5610rm -f conftest$ac_exeext 5611if { (ac_try="$ac_link" 5612case "(($ac_try" in 5613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5614 *) ac_try_echo=$ac_try;; 5615esac 5616eval "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;; 5624esac 5625eval "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 5631else 5632 echo "$as_me: program exited with status $ac_status" >&5 5633echo "$as_me: failed program was:" >&5 5634sed 's/^/| /' conftest.$ac_ext >&5 5635 5636( exit $ac_status ) 5637ac_cv_have_working_vsnprintf=no 5638fi 5639rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5640fi 5641 5642 5643fi 5644 5645{ echo "$as_me:$LINENO: result: $ac_cv_have_working_vsnprintf" >&5 5646echo "${ECHO_T}$ac_cv_have_working_vsnprintf" >&6; } 5647if 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 ;; 5652esac 5653 5654 { echo "$as_me:$LINENO: WARNING: Will use fallback (v)snprintf() implementation." >&5 5655echo "$as_me: WARNING: Will use fallback (v)snprintf() implementation." >&2;} 5656 5657cat >>confdefs.h <<\_ACEOF 5658#define PREFER_PORTABLE_SNPRINTF 1 5659_ACEOF 5660 5661fi 5662 5663for ac_header in stdlib.h 5664do 5665as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5666if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5667 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5668echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5669if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5670 echo $ECHO_N "(cached) $ECHO_C" >&6 5671fi 5672ac_res=`eval echo '${'$as_ac_Header'}'` 5673 { echo "$as_me:$LINENO: result: $ac_res" >&5 5674echo "${ECHO_T}$ac_res" >&6; } 5675else 5676 # Is the header compilable? 5677{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 5678echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5679cat >conftest.$ac_ext <<_ACEOF 5680/* confdefs.h. */ 5681_ACEOF 5682cat confdefs.h >>conftest.$ac_ext 5683cat >>conftest.$ac_ext <<_ACEOF 5684/* end confdefs.h. */ 5685$ac_includes_default 5686#include <$ac_header> 5687_ACEOF 5688rm -f conftest.$ac_objext 5689if { (ac_try="$ac_compile" 5690case "(($ac_try" in 5691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5692 *) ac_try_echo=$ac_try;; 5693esac 5694eval "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 5706else 5707 echo "$as_me: failed program was:" >&5 5708sed 's/^/| /' conftest.$ac_ext >&5 5709 5710 ac_header_compiler=no 5711fi 5712 5713rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5714{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5715echo "${ECHO_T}$ac_header_compiler" >&6; } 5716 5717# Is the header present? 5718{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 5719echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5720cat >conftest.$ac_ext <<_ACEOF 5721/* confdefs.h. */ 5722_ACEOF 5723cat confdefs.h >>conftest.$ac_ext 5724cat >>conftest.$ac_ext <<_ACEOF 5725/* end confdefs.h. */ 5726#include <$ac_header> 5727_ACEOF 5728if { (ac_try="$ac_cpp conftest.$ac_ext" 5729case "(($ac_try" in 5730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5731 *) ac_try_echo=$ac_try;; 5732esac 5733eval "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 5745else 5746 echo "$as_me: failed program was:" >&5 5747sed 's/^/| /' conftest.$ac_ext >&5 5748 5749 ac_header_preproc=no 5750fi 5751 5752rm -f conftest.err conftest.$ac_ext 5753{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5754echo "${ECHO_T}$ac_header_preproc" >&6; } 5755 5756# So? What about this header? 5757case $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 5760echo "$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 5762echo "$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 5767echo "$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 5769echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5770 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5771echo "$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 5773echo "$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 5775echo "$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 5777echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5778 5779 ;; 5780esac 5781{ echo "$as_me:$LINENO: checking for $ac_header" >&5 5782echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5783if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5784 echo $ECHO_N "(cached) $ECHO_C" >&6 5785else 5786 eval "$as_ac_Header=\$ac_header_preproc" 5787fi 5788ac_res=`eval echo '${'$as_ac_Header'}'` 5789 { echo "$as_me:$LINENO: result: $ac_res" >&5 5790echo "${ECHO_T}$ac_res" >&6; } 5791 5792fi 5793if 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 5798fi 5799 5800done 5801 5802 { echo "$as_me:$LINENO: checking whether scanf can malloc" >&5 5803echo $ECHO_N "checking whether scanf can malloc... $ECHO_C" >&6; } 5804if test "${ac_scanf_can_malloc+set}" = set; then 5805 echo $ECHO_N "(cached) $ECHO_C" >&6 5806else 5807 if test "$cross_compiling" = yes; then 5808 5809case $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 ;; 5814esac 5815 5816else 5817 cat >conftest.$ac_ext <<_ACEOF 5818 /* confdefs.h. */ 5819_ACEOF 5820cat confdefs.h >>conftest.$ac_ext 5821cat >>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 5829int 5830main () 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 5855rm -f conftest$ac_exeext 5856if { (ac_try="$ac_link" 5857case "(($ac_try" in 5858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5859 *) ac_try_echo=$ac_try;; 5860esac 5861eval "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;; 5869esac 5870eval "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 5876else 5877 echo "$as_me: program exited with status $ac_status" >&5 5878echo "$as_me: failed program was:" >&5 5879sed 's/^/| /' conftest.$ac_ext >&5 5880 5881( exit $ac_status ) 5882ac_scanf_can_malloc=no 5883fi 5884rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5885fi 5886 5887 5888 5889fi 5890{ echo "$as_me:$LINENO: result: $ac_scanf_can_malloc" >&5 5891echo "${ECHO_T}$ac_scanf_can_malloc" >&6; } 5892if test x$ac_scanf_can_malloc = "xyes"; then 5893 5894cat >>confdefs.h <<\_ACEOF 5895#define SCANF_CAN_MALLOC 1 5896_ACEOF 5897 5898fi 5899 5900 5901ac_config_files="$ac_config_files Makefile" 5902 5903ac_config_commands="$ac_config_commands default" 5904 5905cat >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 5933echo "$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 5966if 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 5970echo "$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 5974echo "$as_me: not updating unwritable cache $cache_file" >&6;} 5975 fi 5976fi 5977rm -f confcache 5978 5979test "x$prefix" = xNONE && prefix=$ac_default_prefix 5980# Let make expand exec_prefix. 5981test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 5982 5983DEFS=-DHAVE_CONFIG_H 5984 5985ac_libobjs= 5986ac_ltlibobjs= 5987for 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' 5995done 5996LIBOBJS=$ac_libobjs 5997 5998LTLIBOBJS=$ac_ltlibobjs 5999 6000 6001if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 6002 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 6003Usually this means the macro was only invoked conditionally." >&5 6004echo "$as_me: error: conditional \"AMDEP\" was never defined. 6005Usually this means the macro was only invoked conditionally." >&2;} 6006 { (exit 1); exit 1; }; } 6007fi 6008if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 6009 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 6010Usually this means the macro was only invoked conditionally." >&5 6011echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 6012Usually this means the macro was only invoked conditionally." >&2;} 6013 { (exit 1); exit 1; }; } 6014fi 6015 6016: ${CONFIG_STATUS=./config.status} 6017ac_clean_files_save=$ac_clean_files 6018ac_clean_files="$ac_clean_files $CONFIG_STATUS" 6019{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 6020echo "$as_me: creating $CONFIG_STATUS" >&6;} 6021cat >$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 6028debug=false 6029ac_cs_recheck=false 6030ac_cs_silent=false 6031SHELL=\${CONFIG_SHELL-$SHELL} 6032_ACEOF 6033 6034cat >>$CONFIG_STATUS <<\_ACEOF 6035## --------------------- ## 6036## M4sh Initialization. ## 6037## --------------------- ## 6038 6039# Be more Bourne compatible 6040DUALCASE=1; export DUALCASE # for MKS sh 6041if 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 6048else 6049 case `(set -o) 2>/dev/null` in 6050 *posix*) set -o posix ;; 6051esac 6052 6053fi 6054 6055 6056 6057 6058# PATH needs CR 6059# Avoid depending upon Character Ranges. 6060as_cr_letters='abcdefghijklmnopqrstuvwxyz' 6061as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 6062as_cr_Letters=$as_cr_letters$as_cr_LETTERS 6063as_cr_digits='0123456789' 6064as_cr_alnum=$as_cr_Letters$as_cr_digits 6065 6066# The user is always right. 6067if 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 6077fi 6078 6079# Support unset when possible. 6080if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6081 as_unset=unset 6082else 6083 as_unset=false 6084fi 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.) 6092as_nl=' 6093' 6094IFS=" "" $as_nl" 6095 6096# Find who we are. Look in the path if we contain no directory separator. 6097case $0 in 6098 *[\\/]* ) as_myself=$0 ;; 6099 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6100for as_dir in $PATH 6101do 6102 IFS=$as_save_IFS 6103 test -z "$as_dir" && as_dir=. 6104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 6105done 6106IFS=$as_save_IFS 6107 6108 ;; 6109esac 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. 6112if test "x$as_myself" = x; then 6113 as_myself=$0 6114fi 6115if 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; } 6118fi 6119 6120# Work around bugs in pre-3.0 UWIN ksh. 6121for as_var in ENV MAIL MAILPATH 6122do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 6123done 6124PS1='$ ' 6125PS2='> ' 6126PS4='+ ' 6127 6128# NLS nuisances. 6129for 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 6133do 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 6139done 6140 6141# Required to use basename. 6142if expr a : '\(a\)' >/dev/null 2>&1 && 6143 test "X`expr 00001 : '.*\(...\)'`" = X001; then 6144 as_expr=expr 6145else 6146 as_expr=false 6147fi 6148 6149if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 6150 as_basename=basename 6151else 6152 as_basename=false 6153fi 6154 6155 6156# Name of the executable. 6157as_me=`$as_basename -- "$0" || 6158$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 6159 X"$0" : 'X\(//\)$' \| \ 6160 X"$0" : 'X\(/\)' \| . 2>/dev/null || 6161echo 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 6224if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 6225 as_dirname=dirname 6226else 6227 as_dirname=false 6228fi 6229 6230ECHO_C= ECHO_N= ECHO_T= 6231case `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';; 6239esac 6240 6241if expr a : '\(a\)' >/dev/null 2>&1 && 6242 test "X`expr 00001 : '.*\(...\)'`" = X001; then 6243 as_expr=expr 6244else 6245 as_expr=false 6246fi 6247 6248rm -f conf$$ conf$$.exe conf$$.file 6249if test -d conf$$.dir; then 6250 rm -f conf$$.dir/conf$$.file 6251else 6252 rm -f conf$$.dir 6253 mkdir conf$$.dir 6254fi 6255echo >conf$$.file 6256if 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' 6264elif ln conf$$.file conf$$ 2>/dev/null; then 6265 as_ln_s=ln 6266else 6267 as_ln_s='cp -p' 6268fi 6269rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 6270rmdir conf$$.dir 2>/dev/null 6271 6272if mkdir -p . 2>/dev/null; then 6273 as_mkdir_p=: 6274else 6275 test -d ./-p && rmdir ./-p 6276 as_mkdir_p=false 6277fi 6278 6279if test -x / >/dev/null 2>&1; then 6280 as_test_x='test -x' 6281else 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 ' 6299fi 6300as_executable_p=$as_test_x 6301 6302# Sed expression to map a string onto a valid CPP name. 6303as_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. 6306as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 6307 6308 6309exec 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. 6314ac_log=" 6315This file was extended by $as_me, which was 6316generated 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 6324on `(hostname || uname -n) 2>/dev/null | sed 1q` 6325" 6326 6327_ACEOF 6328 6329cat >>$CONFIG_STATUS <<_ACEOF 6330# Files that config.status was made for. 6331config_files="$ac_config_files" 6332config_headers="$ac_config_headers" 6333config_commands="$ac_config_commands" 6334 6335_ACEOF 6336 6337cat >>$CONFIG_STATUS <<\_ACEOF 6338ac_cs_usage="\ 6339\`$as_me' instantiates files from templates according to the 6340current configuration. 6341 6342Usage: $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 6354Configuration files: 6355$config_files 6356 6357Configuration headers: 6358$config_headers 6359 6360Configuration commands: 6361$config_commands 6362 6363Report bugs to <bug-autoconf@gnu.org>." 6364 6365_ACEOF 6366cat >>$CONFIG_STATUS <<_ACEOF 6367ac_cs_version="\\ 6368config.status 6369configured by $0, generated by GNU Autoconf 2.61, 6370 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 6371 6372Copyright (C) 2006 Free Software Foundation, Inc. 6373This config.status script is free software; the Free Software Foundation 6374gives unlimited permission to copy, distribute and modify it." 6375 6376ac_pwd='$ac_pwd' 6377srcdir='$srcdir' 6378INSTALL='$INSTALL' 6379_ACEOF 6380 6381cat >>$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. 6384ac_need_defaults=: 6385while test $# != 0 6386do 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 6419Try \`$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 6429Try \`$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 6437done 6438 6439ac_configure_extra_args= 6440 6441if $ac_cs_silent; then 6442 exec 6>/dev/null 6443 ac_configure_extra_args="$ac_configure_extra_args --silent" 6444fi 6445 6446_ACEOF 6447cat >>$CONFIG_STATUS <<_ACEOF 6448if \$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 6453fi 6454 6455_ACEOF 6456cat >>$CONFIG_STATUS <<\_ACEOF 6457exec 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 6467cat >>$CONFIG_STATUS <<_ACEOF 6468# 6469# INIT-COMMANDS 6470# 6471AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 6472 6473_ACEOF 6474 6475cat >>$CONFIG_STATUS <<\_ACEOF 6476 6477# Handling of arguments. 6478for ac_config_target in $ac_config_targets 6479do 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 6487echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 6488 { (exit 1); exit 1; }; };; 6489 esac 6490done 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. 6497if $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 6501fi 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 6538if test -n "$CONFIG_FILES"; then 6539 6540_ACEOF 6541 6542 6543 6544ac_delim='%!_!# ' 6545for ac_last_try in false false false false false :; do 6546 cat >conf$$subs.sed <<_ACEOF 6547SHELL!$SHELL$ac_delim 6548PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 6549PACKAGE_NAME!$PACKAGE_NAME$ac_delim 6550PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 6551PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 6552PACKAGE_STRING!$PACKAGE_STRING$ac_delim 6553PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 6554exec_prefix!$exec_prefix$ac_delim 6555prefix!$prefix$ac_delim 6556program_transform_name!$program_transform_name$ac_delim 6557bindir!$bindir$ac_delim 6558sbindir!$sbindir$ac_delim 6559libexecdir!$libexecdir$ac_delim 6560datarootdir!$datarootdir$ac_delim 6561datadir!$datadir$ac_delim 6562sysconfdir!$sysconfdir$ac_delim 6563sharedstatedir!$sharedstatedir$ac_delim 6564localstatedir!$localstatedir$ac_delim 6565includedir!$includedir$ac_delim 6566oldincludedir!$oldincludedir$ac_delim 6567docdir!$docdir$ac_delim 6568infodir!$infodir$ac_delim 6569htmldir!$htmldir$ac_delim 6570dvidir!$dvidir$ac_delim 6571pdfdir!$pdfdir$ac_delim 6572psdir!$psdir$ac_delim 6573libdir!$libdir$ac_delim 6574localedir!$localedir$ac_delim 6575mandir!$mandir$ac_delim 6576DEFS!$DEFS$ac_delim 6577ECHO_C!$ECHO_C$ac_delim 6578ECHO_N!$ECHO_N$ac_delim 6579ECHO_T!$ECHO_T$ac_delim 6580LIBS!$LIBS$ac_delim 6581build_alias!$build_alias$ac_delim 6582host_alias!$host_alias$ac_delim 6583target_alias!$target_alias$ac_delim 6584INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 6585INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 6586INSTALL_DATA!$INSTALL_DATA$ac_delim 6587CYGPATH_W!$CYGPATH_W$ac_delim 6588PACKAGE!$PACKAGE$ac_delim 6589VERSION!$VERSION$ac_delim 6590ACLOCAL!$ACLOCAL$ac_delim 6591AUTOCONF!$AUTOCONF$ac_delim 6592AUTOMAKE!$AUTOMAKE$ac_delim 6593AUTOHEADER!$AUTOHEADER$ac_delim 6594MAKEINFO!$MAKEINFO$ac_delim 6595install_sh!$install_sh$ac_delim 6596STRIP!$STRIP$ac_delim 6597INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim 6598mkdir_p!$mkdir_p$ac_delim 6599AWK!$AWK$ac_delim 6600SET_MAKE!$SET_MAKE$ac_delim 6601am__leading_dot!$am__leading_dot$ac_delim 6602AMTAR!$AMTAR$ac_delim 6603am__tar!$am__tar$ac_delim 6604am__untar!$am__untar$ac_delim 6605CC!$CC$ac_delim 6606CFLAGS!$CFLAGS$ac_delim 6607LDFLAGS!$LDFLAGS$ac_delim 6608CPPFLAGS!$CPPFLAGS$ac_delim 6609ac_ct_CC!$ac_ct_CC$ac_delim 6610EXEEXT!$EXEEXT$ac_delim 6611OBJEXT!$OBJEXT$ac_delim 6612DEPDIR!$DEPDIR$ac_delim 6613am__include!$am__include$ac_delim 6614am__quote!$am__quote$ac_delim 6615AMDEP_TRUE!$AMDEP_TRUE$ac_delim 6616AMDEP_FALSE!$AMDEP_FALSE$ac_delim 6617AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim 6618CCDEPMODE!$CCDEPMODE$ac_delim 6619am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim 6620am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim 6621CPP!$CPP$ac_delim 6622GREP!$GREP$ac_delim 6623EGREP!$EGREP$ac_delim 6624LIBOBJS!$LIBOBJS$ac_delim 6625LTLIBOBJS!$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 6632echo "$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 6637done 6638 6639ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 6640if test -n "$ac_eof"; then 6641 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 6642 ac_eof=`expr $ac_eof + 1` 6643fi 6644 6645cat >>$CONFIG_STATUS <<_ACEOF 6646cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 6647/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 6648_ACEOF 6649sed ' 6650s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 6651s/^/s,@/; s/!/@,|#_!!_#|/ 6652:n 6653t n 6654s/'"$ac_delim"'$/,g/; t 6655s/$/\\/; p 6656N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 6657' >>$CONFIG_STATUS <conf$$subs.sed 6658rm -f conf$$subs.sed 6659cat >>$CONFIG_STATUS <<_ACEOF 6660:end 6661s/|#_!!_#|//g 6662CEOF$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). 6670if test "x$srcdir" = x.; then 6671 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 6672s/:*\$(srcdir):*/:/ 6673s/:*\${srcdir}:*/:/ 6674s/:*@srcdir@:*/:/ 6675s/^\([^=]*=[ ]*\):*/\1/ 6676s/:*$// 6677s/^[^=]*=[ ]*$// 6678}' 6679fi 6680 6681cat >>$CONFIG_STATUS <<\_ACEOF 6682fi # test -n "$CONFIG_FILES" 6683 6684 6685for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS 6686do 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 6693echo "$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 6723echo "$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 6737echo "$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 || 6751echo 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 || 6786echo 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 6808echo "$as_me: error: cannot create directory $as_dir" >&2;} 6809 { (exit 1); exit 1; }; }; } 6810 ac_builddir=. 6811 6812case "$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 ;; 6822esac 6823ac_abs_top_builddir=$ac_pwd 6824ac_abs_builddir=$ac_pwd$ac_dir_suffix 6825# for backward compatibility: 6826ac_top_builddir=$ac_top_build_prefix 6827 6828case $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 ;; 6841esac 6842ac_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 6857cat >>$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. 6860ac_datarootdir_hack=; ac_datarootdir_seen= 6861 6862case `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 6875echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 6876_ACEOF 6877cat >>$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' ;; 6885esac 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? 6891cat >>$CONFIG_STATUS <<_ACEOF 6892 sed "$ac_vpsub 6893$extrasub 6894_ACEOF 6895cat >>$CONFIG_STATUS <<\_ACEOF 6896:t 6897/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 6898s&@configure_input@&$configure_input&;t t 6899s&@top_builddir@&$ac_top_builddir_sub&;t t 6900s&@srcdir@&$ac_srcdir&;t t 6901s&@abs_srcdir@&$ac_abs_srcdir&;t t 6902s&@top_srcdir@&$ac_top_srcdir&;t t 6903s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 6904s&@builddir@&$ac_builddir&;t t 6905s&@abs_builddir@&$ac_abs_builddir&;t t 6906s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 6907s&@INSTALL@&$ac_INSTALL&;t t 6908$ac_datarootdir_hack 6909" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out 6910 6911test -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' 6915which seems to be undefined. Please make sure it is defined." >&5 6916echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6917which 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. 6933rm -f conftest.defines conftest.tail 6934# First, append a space to every undef/define line, to ease matching. 6935echo '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. 6941ac_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. 6946ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 6947ac_dB='\\)[ (].*,\\1define\\2' 6948ac_dC=' ' 6949ac_dD=' ,' 6950 6951uniq 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.) 6969echo 's/ $// 6970s,^[ #]*u.*,/* & */,' >>conftest.defines 6971 6972# Break up conftest.defines: 6973ac_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. 6979ac_in='$ac_file_inputs' 6980ac_out='"$tmp/out1"' 6981ac_nxt='"$tmp/out2"' 6982 6983while : 6984do 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 6991b 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 7002done 7003rm -f conftest.defines conftest.tail 7004 7005echo "ac_result=$ac_in" >>$CONFIG_STATUS 7006cat >>$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 7012echo "$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 7024for _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 7031done 7032echo "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 || 7037echo 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 7058echo "$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 || 7079echo 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 || 7123echo 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 || 7158echo 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 7180echo "$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 7185done 7186 ;; 7187 "default":C) 7188chmod a+x $ac_top_srcdir/test-mount.sh $ac_top_srcdir/test.sh 7189 ;; 7190 7191 esac 7192done # for ac_tag 7193 7194 7195{ (exit 0); exit 0; } 7196_ACEOF 7197chmod +x $CONFIG_STATUS 7198ac_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. 7209if 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; } 7220fi 7221 7222