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