2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir=.
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
258 CONFIG_SHELL=$as_shell
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
286 as_func_ret_success () {
289 as_func_ret_failure () {
294 if as_func_success; then
298 echo as_func_success failed.
301 if as_func_failure; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472 ECHO_C= ECHO_N= ECHO_T=
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506 elif ln conf$$.file conf$$ 2>/dev/null; then
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
517 test -d ./-p && rmdir ./-p
521 if test -x / >/dev/null 2>&1; then
524 if ls -dL / >/dev/null 2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev/null 6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
570 SHELL=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
579 ac_unique_file="version.h"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
625 program_transform_name
699 STATIC_DEVMAPPER_LIBS
700 STATIC_BLKID_DEVMAPPER_LIBS
725 BUILD_INCLUDED_LIBINTL
732 INTL_LIBTOOL_SUFFIX_PREFIX
776 ac_subst_files='MCONFIG
783 PUBLIC_CONFIG_HEADER'
784 ac_precious_vars='build_alias
796 # Initialize some variables set by options.
798 ac_init_version=false
799 # The variables have the same names as the options, with
800 # dashes changed to underlines.
808 program_transform_name=s,x,x,
816 # Installation directory options.
817 # These are left unexpanded so users can "make install exec_prefix=/foo"
818 # and all the variables that are supposed to be based on exec_prefix
819 # by default will actually change.
820 # Use braces instead of parens because sh, perl, etc. also accept them.
821 # (The list follows the same order as the GNU Coding Standards.)
822 bindir='${exec_prefix}/bin'
823 sbindir='${exec_prefix}/sbin'
824 libexecdir='${exec_prefix}/libexec'
825 datarootdir='${prefix}/share'
826 datadir='${datarootdir}'
827 sysconfdir='${prefix}/etc'
828 sharedstatedir='${prefix}/com'
829 localstatedir='${prefix}/var'
830 includedir='${prefix}/include'
831 oldincludedir='/usr/include'
832 docdir='${datarootdir}/doc/${PACKAGE}'
833 infodir='${datarootdir}/info'
838 libdir='${exec_prefix}/lib'
839 localedir='${datarootdir}/locale'
840 mandir='${datarootdir}/man'
846 # If the previous option needs an argument, assign it.
847 if test -n "$ac_prev"; then
848 eval $ac_prev=\$ac_option
854 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
858 # Accept the important Cygnus configure options, so we can diagnose typos.
860 case $ac_dashdash$ac_option in
864 -bindir | --bindir | --bindi | --bind | --bin | --bi)
866 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
869 -build | --build | --buil | --bui | --bu)
870 ac_prev=build_alias ;;
871 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
872 build_alias=$ac_optarg ;;
874 -cache-file | --cache-file | --cache-fil | --cache-fi \
875 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
876 ac_prev=cache_file ;;
877 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
878 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
879 cache_file=$ac_optarg ;;
882 cache_file=config.cache ;;
884 -datadir | --datadir | --datadi | --datad)
886 -datadir=* | --datadir=* | --datadi=* | --datad=*)
887 datadir=$ac_optarg ;;
889 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
890 | --dataroo | --dataro | --datar)
891 ac_prev=datarootdir ;;
892 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
893 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
894 datarootdir=$ac_optarg ;;
896 -disable-* | --disable-*)
897 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
898 # Reject names that are not valid shell variable names.
899 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
900 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
901 { (exit 1); exit 1; }; }
902 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
903 eval enable_$ac_feature=no ;;
905 -docdir | --docdir | --docdi | --doc | --do)
907 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
910 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
912 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
915 -enable-* | --enable-*)
916 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
917 # Reject names that are not valid shell variable names.
918 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
919 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
920 { (exit 1); exit 1; }; }
921 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
922 eval enable_$ac_feature=\$ac_optarg ;;
924 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
925 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
926 | --exec | --exe | --ex)
927 ac_prev=exec_prefix ;;
928 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
929 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
930 | --exec=* | --exe=* | --ex=*)
931 exec_prefix=$ac_optarg ;;
933 -gas | --gas | --ga | --g)
934 # Obsolete; use --with-gas.
937 -help | --help | --hel | --he | -h)
939 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
940 ac_init_help=recursive ;;
941 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
942 ac_init_help=short ;;
944 -host | --host | --hos | --ho)
945 ac_prev=host_alias ;;
946 -host=* | --host=* | --hos=* | --ho=*)
947 host_alias=$ac_optarg ;;
949 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
951 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
953 htmldir=$ac_optarg ;;
955 -includedir | --includedir | --includedi | --included | --include \
956 | --includ | --inclu | --incl | --inc)
957 ac_prev=includedir ;;
958 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
959 | --includ=* | --inclu=* | --incl=* | --inc=*)
960 includedir=$ac_optarg ;;
962 -infodir | --infodir | --infodi | --infod | --info | --inf)
964 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
965 infodir=$ac_optarg ;;
967 -libdir | --libdir | --libdi | --libd)
969 -libdir=* | --libdir=* | --libdi=* | --libd=*)
972 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
973 | --libexe | --libex | --libe)
974 ac_prev=libexecdir ;;
975 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
976 | --libexe=* | --libex=* | --libe=*)
977 libexecdir=$ac_optarg ;;
979 -localedir | --localedir | --localedi | --localed | --locale)
981 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
982 localedir=$ac_optarg ;;
984 -localstatedir | --localstatedir | --localstatedi | --localstated \
985 | --localstate | --localstat | --localsta | --localst | --locals)
986 ac_prev=localstatedir ;;
987 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
988 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
989 localstatedir=$ac_optarg ;;
991 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
993 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
997 # Obsolete; use --without-fp.
1000 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1001 | --no-cr | --no-c | -n)
1004 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1005 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1008 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1009 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1010 | --oldin | --oldi | --old | --ol | --o)
1011 ac_prev=oldincludedir ;;
1012 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1013 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1014 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1015 oldincludedir=$ac_optarg ;;
1017 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1019 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1020 prefix=$ac_optarg ;;
1022 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1023 | --program-pre | --program-pr | --program-p)
1024 ac_prev=program_prefix ;;
1025 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1026 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1027 program_prefix=$ac_optarg ;;
1029 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1030 | --program-suf | --program-su | --program-s)
1031 ac_prev=program_suffix ;;
1032 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1033 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1034 program_suffix=$ac_optarg ;;
1036 -program-transform-name | --program-transform-name \
1037 | --program-transform-nam | --program-transform-na \
1038 | --program-transform-n | --program-transform- \
1039 | --program-transform | --program-transfor \
1040 | --program-transfo | --program-transf \
1041 | --program-trans | --program-tran \
1042 | --progr-tra | --program-tr | --program-t)
1043 ac_prev=program_transform_name ;;
1044 -program-transform-name=* | --program-transform-name=* \
1045 | --program-transform-nam=* | --program-transform-na=* \
1046 | --program-transform-n=* | --program-transform-=* \
1047 | --program-transform=* | --program-transfor=* \
1048 | --program-transfo=* | --program-transf=* \
1049 | --program-trans=* | --program-tran=* \
1050 | --progr-tra=* | --program-tr=* | --program-t=*)
1051 program_transform_name=$ac_optarg ;;
1053 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1055 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1056 pdfdir=$ac_optarg ;;
1058 -psdir | --psdir | --psdi | --psd | --ps)
1060 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064 | -silent | --silent | --silen | --sile | --sil)
1067 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1069 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1071 sbindir=$ac_optarg ;;
1073 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1074 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1075 | --sharedst | --shareds | --shared | --share | --shar \
1077 ac_prev=sharedstatedir ;;
1078 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1079 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1080 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1082 sharedstatedir=$ac_optarg ;;
1084 -site | --site | --sit)
1086 -site=* | --site=* | --sit=*)
1089 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1091 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1092 srcdir=$ac_optarg ;;
1094 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1095 | --syscon | --sysco | --sysc | --sys | --sy)
1096 ac_prev=sysconfdir ;;
1097 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1098 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1099 sysconfdir=$ac_optarg ;;
1101 -target | --target | --targe | --targ | --tar | --ta | --t)
1102 ac_prev=target_alias ;;
1103 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1104 target_alias=$ac_optarg ;;
1106 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1109 -version | --version | --versio | --versi | --vers | -V)
1110 ac_init_version=: ;;
1113 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1116 { echo "$as_me: error: invalid package name: $ac_package" >&2
1117 { (exit 1); exit 1; }; }
1118 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1119 eval with_$ac_package=\$ac_optarg ;;
1121 -without-* | --without-*)
1122 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1123 # Reject names that are not valid shell variable names.
1124 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1125 { echo "$as_me: error: invalid package name: $ac_package" >&2
1126 { (exit 1); exit 1; }; }
1127 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1128 eval with_$ac_package=no ;;
1131 # Obsolete; use --with-x.
1134 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1135 | --x-incl | --x-inc | --x-in | --x-i)
1136 ac_prev=x_includes ;;
1137 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1138 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1139 x_includes=$ac_optarg ;;
1141 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1142 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1143 ac_prev=x_libraries ;;
1144 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1145 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1146 x_libraries=$ac_optarg ;;
1148 -*) { echo "$as_me: error: unrecognized option: $ac_option
1149 Try \`$0 --help' for more information." >&2
1150 { (exit 1); exit 1; }; }
1154 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1155 # Reject names that are not valid shell variable names.
1156 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1157 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1158 { (exit 1); exit 1; }; }
1159 eval $ac_envvar=\$ac_optarg
1160 export $ac_envvar ;;
1163 # FIXME: should be removed in autoconf 3.0.
1164 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1165 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1166 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1167 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1173 if test -n "$ac_prev"; then
1174 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1175 { echo "$as_me: error: missing argument to $ac_option" >&2
1176 { (exit 1); exit 1; }; }
1179 # Be sure to have absolute directory names.
1180 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1181 datadir sysconfdir sharedstatedir localstatedir includedir \
1182 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1183 libdir localedir mandir
1185 eval ac_val=\$$ac_var
1187 [\\/$]* | ?:[\\/]* ) continue;;
1188 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1190 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1191 { (exit 1); exit 1; }; }
1194 # There might be people who depend on the old broken behavior: `$host'
1195 # used to hold the argument of --host etc.
1196 # FIXME: To remove some day.
1199 target=$target_alias
1201 # FIXME: To remove some day.
1202 if test "x$host_alias" != x; then
1203 if test "x$build_alias" = x; then
1204 cross_compiling=maybe
1205 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1206 If a cross compiler is detected then cross compile mode will be used." >&2
1207 elif test "x$build_alias" != "x$host_alias"; then
1213 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1215 test "$silent" = yes && exec 6>/dev/null
1218 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1219 ac_ls_di=`ls -di .` &&
1220 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1221 { echo "$as_me: error: Working directory cannot be determined" >&2
1222 { (exit 1); exit 1; }; }
1223 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1224 { echo "$as_me: error: pwd does not report name of working directory" >&2
1225 { (exit 1); exit 1; }; }
1228 # Find the source files, if location was not specified.
1229 if test -z "$srcdir"; then
1230 ac_srcdir_defaulted=yes
1231 # Try the directory containing this script, then the parent directory.
1232 ac_confdir=`$as_dirname -- "$0" ||
1233 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1234 X"$0" : 'X\(//\)[^/]' \| \
1235 X"$0" : 'X\(//\)$' \| \
1236 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1256 if test ! -r "$srcdir/$ac_unique_file"; then
1260 ac_srcdir_defaulted=no
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1263 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1264 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1265 { (exit 1); exit 1; }; }
1267 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1269 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1270 { (exit 1); exit 1; }; }
1272 # When building in place, set srcdir=.
1273 if test "$ac_abs_confdir" = "$ac_pwd"; then
1276 # Remove unnecessary trailing slashes from srcdir.
1277 # Double slashes in file names in object file debugging info
1278 # mess up M-x gdb in Emacs.
1280 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1282 for ac_var in $ac_precious_vars; do
1283 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1284 eval ac_env_${ac_var}_value=\$${ac_var}
1285 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1286 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1290 # Report the --help message.
1292 if test "$ac_init_help" = "long"; then
1293 # Omit some internal or obsolete options to make the list less imposing.
1294 # This message is too long to be a string in the A/UX 3.1 sh.
1296 \`configure' configures this package to adapt to many kinds of systems.
1298 Usage: $0 [OPTION]... [VAR=VALUE]...
1300 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1301 VAR=VALUE. See below for descriptions of some of the useful variables.
1303 Defaults for the options are specified in brackets.
1306 -h, --help display this help and exit
1307 --help=short display options specific to this package
1308 --help=recursive display the short help of all the included packages
1309 -V, --version display version information and exit
1310 -q, --quiet, --silent do not print \`checking...' messages
1311 --cache-file=FILE cache test results in FILE [disabled]
1312 -C, --config-cache alias for \`--cache-file=config.cache'
1313 -n, --no-create do not create output files
1314 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1316 Installation directories:
1317 --prefix=PREFIX install architecture-independent files in PREFIX
1318 [$ac_default_prefix]
1319 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1322 By default, \`make install' will install all the files in
1323 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1324 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1325 for instance \`--prefix=\$HOME'.
1327 For better control, use the options below.
1329 Fine tuning of the installation directories:
1330 --bindir=DIR user executables [EPREFIX/bin]
1331 --sbindir=DIR system admin executables [EPREFIX/sbin]
1332 --libexecdir=DIR program executables [EPREFIX/libexec]
1333 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1334 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1335 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1336 --libdir=DIR object code libraries [EPREFIX/lib]
1337 --includedir=DIR C header files [PREFIX/include]
1338 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1339 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1340 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1341 --infodir=DIR info documentation [DATAROOTDIR/info]
1342 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1343 --mandir=DIR man documentation [DATAROOTDIR/man]
1344 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1345 --htmldir=DIR html documentation [DOCDIR]
1346 --dvidir=DIR dvi documentation [DOCDIR]
1347 --pdfdir=DIR pdf documentation [DOCDIR]
1348 --psdir=DIR ps documentation [DOCDIR]
1354 --build=BUILD configure for building on BUILD [guessed]
1355 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1359 if test -n "$ac_init_help"; then
1364 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1365 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1366 --enable-maintainer-mode enable makefile rules useful for maintainers
1367 --enable-compression enable EXPERIMENTAL compression support
1368 --enable-htree enable EXPERIMENTAL htree directory support
1369 --enable-elf-shlibs select ELF shared libraries
1370 --enable-bsd-shlibs select BSD shared libraries
1371 --enable-profile build profiling libraries
1372 --enable-checker build checker libraries
1373 --enable-jbd-debug enable journal debugging
1374 --enable-blkid-debug enable blkid debugging
1375 --enable-testio-debug enable the use of the test I/O manager for debugging
1376 --disable-swapfs disable support of legacy byte-swapped filesystems
1377 --disable-debugfs disable support of debugfs program
1378 --disable-imager disable support of e2image program
1379 --disable-resizer disable support of e2resize program
1380 --enable-fsck build fsck wrapper program
1381 --enable-e2initrd-helper build e2initrd-helper program
1382 --enable-blkid-devmapper build with device-mapper support
1383 --disable-tls disable use of thread local support
1384 --disable-uuidd disable building the uuid daemon
1385 --disable-nls do not use Native Language Support
1386 --disable-rpath do not hardcode runtime library paths
1389 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1390 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1391 --with-diet-libc use diet libc
1392 --with-cc=COMPILER select compiler to use
1393 --with-linker=LINKER select linker to use
1394 --with-ccopts=CCOPTS select compiler command line options
1395 --with-ldopts=LDOPTS select linker command line options
1396 --with-root-prefix=PREFIX override prefix variable for files to be placed in the root
1397 --with-gnu-ld assume the C compiler uses GNU ld default=no
1398 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1399 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1400 --with-included-gettext use the GNU gettext library included here
1401 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1402 --without-libintl-prefix don't search for libintl in includedir and libdir
1404 Some influential environment variables:
1405 CC C compiler command
1406 CFLAGS C compiler flags
1407 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1408 nonstandard directory <lib dir>
1409 LIBS libraries to pass to the linker, e.g. -l<library>
1410 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1411 you have headers in a nonstandard directory <include dir>
1413 PKG_CONFIG path to pkg-config utility
1415 Use these variables to override the choices made by `configure' or to help
1416 it to find libraries and programs with nonstandard names/locations.
1422 if test "$ac_init_help" = "recursive"; then
1423 # If there are subdirs, report their specific --help.
1424 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1425 test -d "$ac_dir" || continue
1429 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1431 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1432 # A ".." for each directory in $ac_dir_suffix.
1433 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1434 case $ac_top_builddir_sub in
1435 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1436 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1439 ac_abs_top_builddir=$ac_pwd
1440 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1441 # for backward compatibility:
1442 ac_top_builddir=$ac_top_build_prefix
1445 .) # We are building in place.
1447 ac_top_srcdir=$ac_top_builddir_sub
1448 ac_abs_top_srcdir=$ac_pwd ;;
1449 [\\/]* | ?:[\\/]* ) # Absolute name.
1450 ac_srcdir=$srcdir$ac_dir_suffix;
1451 ac_top_srcdir=$srcdir
1452 ac_abs_top_srcdir=$srcdir ;;
1454 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1455 ac_top_srcdir=$ac_top_build_prefix$srcdir
1456 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1458 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1460 cd "$ac_dir" || { ac_status=$?; continue; }
1461 # Check for guested configure.
1462 if test -f "$ac_srcdir/configure.gnu"; then
1464 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1465 elif test -f "$ac_srcdir/configure"; then
1467 $SHELL "$ac_srcdir/configure" --help=recursive
1469 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1471 cd "$ac_pwd" || { ac_status=$?; break; }
1475 test -n "$ac_init_help" && exit $ac_status
1476 if $ac_init_version; then
1479 generated by GNU Autoconf 2.61
1481 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1482 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1483 This configure script is free software; the Free Software Foundation
1484 gives unlimited permission to copy, distribute and modify it.
1488 cat >config.log <<_ACEOF
1489 This file contains any messages produced by compilers while
1490 running configure, to aid debugging if configure makes a mistake.
1492 It was created by $as_me, which was
1493 generated by GNU Autoconf 2.61. Invocation command line was
1505 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1506 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1507 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1508 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1509 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1511 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1512 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1514 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1515 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1516 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1517 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1518 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1519 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1520 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1528 test -z "$as_dir" && as_dir=.
1529 echo "PATH: $as_dir"
1545 # Keep a trace of the command line.
1546 # Strip out --no-create and --no-recursion so they do not pile up.
1547 # Strip out --silent because we don't want to record it for future runs.
1548 # Also quote any args containing shell meta-characters.
1549 # Make two passes to allow for proper duplicate-argument suppression.
1553 ac_must_keep_next=false
1559 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1560 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1561 | -silent | --silent | --silen | --sile | --sil)
1564 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1567 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1569 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1570 if test $ac_must_keep_next = true; then
1571 ac_must_keep_next=false # Got value, back to normal.
1574 *=* | --config-cache | -C | -disable-* | --disable-* \
1575 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1576 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1577 | -with-* | --with-* | -without-* | --without-* | --x)
1578 case "$ac_configure_args0 " in
1579 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1582 -* ) ac_must_keep_next=true ;;
1585 ac_configure_args="$ac_configure_args '$ac_arg'"
1590 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1591 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1593 # When interrupted or exit'd, cleanup temporary files, and complete
1594 # config.log. We remove comments because anyway the quotes in there
1595 # would cause problems or look ugly.
1596 # WARNING: Use '\'' to represent an apostrophe within the trap.
1597 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1598 trap 'exit_status=$?
1599 # Save into config.log some information that might help in debugging.
1604 ## ---------------- ##
1605 ## Cache variables. ##
1606 ## ---------------- ##
1609 # The following way of writing the cache mishandles newlines in values,
1611 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1612 eval ac_val=\$$ac_var
1616 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1617 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1620 _ | IFS | as_nl) ;; #(
1621 *) $as_unset $ac_var ;;
1626 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1627 *${as_nl}ac_space=\ *)
1629 "s/'\''/'\''\\\\'\'''\''/g;
1630 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1633 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1641 ## ----------------- ##
1642 ## Output variables. ##
1643 ## ----------------- ##
1646 for ac_var in $ac_subst_vars
1648 eval ac_val=\$$ac_var
1650 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1652 echo "$ac_var='\''$ac_val'\''"
1656 if test -n "$ac_subst_files"; then
1658 ## ------------------- ##
1659 ## File substitutions. ##
1660 ## ------------------- ##
1663 for ac_var in $ac_subst_files
1665 eval ac_val=\$$ac_var
1667 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1669 echo "$ac_var='\''$ac_val'\''"
1674 if test -s confdefs.h; then
1684 test "$ac_signal" != 0 &&
1685 echo "$as_me: caught signal $ac_signal"
1686 echo "$as_me: exit $exit_status"
1688 rm -f core *.core core.conftest.* &&
1689 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1692 for ac_signal in 1 2 13 15; do
1693 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1697 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1698 rm -f -r conftest* confdefs.h
1700 # Predefined preprocessor variables.
1702 cat >>confdefs.h <<_ACEOF
1703 #define PACKAGE_NAME "$PACKAGE_NAME"
1707 cat >>confdefs.h <<_ACEOF
1708 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1712 cat >>confdefs.h <<_ACEOF
1713 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1717 cat >>confdefs.h <<_ACEOF
1718 #define PACKAGE_STRING "$PACKAGE_STRING"
1722 cat >>confdefs.h <<_ACEOF
1723 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1727 # Let the site file select an alternate cache file if it wants to.
1728 # Prefer explicitly selected file to automatically selected ones.
1729 if test -n "$CONFIG_SITE"; then
1730 set x "$CONFIG_SITE"
1731 elif test "x$prefix" != xNONE; then
1732 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1734 set x "$ac_default_prefix/share/config.site" \
1735 "$ac_default_prefix/etc/config.site"
1740 if test -r "$ac_site_file"; then
1741 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1742 echo "$as_me: loading site script $ac_site_file" >&6;}
1743 sed 's/^/| /' "$ac_site_file" >&5
1748 if test -r "$cache_file"; then
1749 # Some versions of bash will fail to source /dev/null (special
1750 # files actually), so we avoid doing that.
1751 if test -f "$cache_file"; then
1752 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1753 echo "$as_me: loading cache $cache_file" >&6;}
1755 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1756 *) . "./$cache_file";;
1760 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1761 echo "$as_me: creating cache $cache_file" >&6;}
1765 # Check that the precious variables saved in the cache have kept the same
1767 ac_cache_corrupted=false
1768 for ac_var in $ac_precious_vars; do
1769 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1770 eval ac_new_set=\$ac_env_${ac_var}_set
1771 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1772 eval ac_new_val=\$ac_env_${ac_var}_value
1773 case $ac_old_set,$ac_new_set in
1775 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1776 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1777 ac_cache_corrupted=: ;;
1779 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1780 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1781 ac_cache_corrupted=: ;;
1784 if test "x$ac_old_val" != "x$ac_new_val"; then
1785 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1786 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1787 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1788 echo "$as_me: former value: $ac_old_val" >&2;}
1789 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1790 echo "$as_me: current value: $ac_new_val" >&2;}
1791 ac_cache_corrupted=:
1794 # Pass precious variables to config.status.
1795 if test "$ac_new_set" = set; then
1797 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1798 *) ac_arg=$ac_var=$ac_new_val ;;
1800 case " $ac_configure_args " in
1801 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1802 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1806 if $ac_cache_corrupted; then
1807 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1808 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1809 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1810 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1811 { (exit 1); exit 1; }; }
1831 ac_cpp='$CPP $CPPFLAGS'
1832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1839 for ac_dir in config "$srcdir"/config; do
1840 if test -f "$ac_dir/install-sh"; then
1842 ac_install_sh="$ac_aux_dir/install-sh -c"
1844 elif test -f "$ac_dir/install.sh"; then
1846 ac_install_sh="$ac_aux_dir/install.sh -c"
1848 elif test -f "$ac_dir/shtool"; then
1850 ac_install_sh="$ac_aux_dir/shtool install -c"
1854 if test -z "$ac_aux_dir"; then
1855 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
1856 echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
1857 { (exit 1); exit 1; }; }
1860 # These three variables are undocumented and unsupported,
1861 # and are intended to be withdrawn in a future Autoconf release.
1862 # They can cause serious problems if a builder's source tree is in a directory
1863 # whose full name contains unusual characters.
1864 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1865 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1866 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1872 E2FSPROGS_VERSION=`grep E2FSPROGS_VERSION ${srcdir}/version.h \
1873 | awk '{print $3}' | tr \" " " | awk '{print $1}'`
1874 DATE=`grep E2FSPROGS_DATE ${srcdir}/version.h | awk '{print $3}' \
1876 E2FSPROGS_DAY=`echo $DATE | awk -F- '{print $1}'`
1877 MONTH=`echo $DATE | awk -F- '{print $2}'`
1878 YEAR=`echo $DATE | awk -F- '{print $3}'`
1880 if expr $YEAR ">" 1900 > /dev/null ; then
1881 E2FSPROGS_YEAR=$YEAR
1882 elif expr $YEAR ">" 90 >/dev/null ; then
1883 E2FSPROGS_YEAR=19$YEAR
1885 E2FSPROGS_YEAR=20$YEAR
1889 Jan) MONTH_NUM=01; E2FSPROGS_MONTH="January" ;;
1890 Feb) MONTH_NUM=02; E2FSPROGS_MONTH="February" ;;
1891 Mar) MONTH_NUM=03; E2FSPROGS_MONTH="March" ;;
1892 Apr) MONTH_NUM=04; E2FSPROGS_MONTH="April" ;;
1893 May) MONTH_NUM=05; E2FSPROGS_MONTH="May" ;;
1894 Jun) MONTH_NUM=06; E2FSPROGS_MONTH="June" ;;
1895 Jul) MONTH_NUM=07; E2FSPROGS_MONTH="July" ;;
1896 Aug) MONTH_NUM=08; E2FSPROGS_MONTH="August" ;;
1897 Sep) MONTH_NUM=09; E2FSPROGS_MONTH="September" ;;
1898 Oct) MONTH_NUM=10; E2FSPROGS_MONTH="October" ;;
1899 Nov) MONTH_NUM=11; E2FSPROGS_MONTH="November" ;;
1900 Dec) MONTH_NUM=12; E2FSPROGS_MONTH="December" ;;
1901 *) echo "Unknown month $MONTH??" ;;
1904 base_ver=`echo $E2FSPROGS_VERSION | \
1905 sed -e 's/-WIP//' -e 's/pre-//' -e 's/-PLUS//'`
1907 date_spec=${E2FSPROGS_YEAR}.${MONTH_NUM}.${E2FSPROGS_DAY}
1909 case $E2FSPROGS_VERSION in
1911 pre_vers=`echo $base_ver 0.01 - p | dc`
1912 E2FSPROGS_PKGVER="$pre_vers+${base_ver}_WIP_$date_spec"
1915 E2FSPROGS_PKGVER="$base_ver"
1919 unset DATE MONTH YEAR base_ver pre_vers date_spec
1920 echo "Generating configuration file for e2fsprogs version $E2FSPROGS_VERSION"
1921 echo "Release date is ${E2FSPROGS_MONTH}, ${E2FSPROGS_YEAR}"
1927 # Make sure we can run config.sub.
1928 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1929 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1930 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1931 { (exit 1); exit 1; }; }
1933 { echo "$as_me:$LINENO: checking build system type" >&5
1934 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1935 if test "${ac_cv_build+set}" = set; then
1936 echo $ECHO_N "(cached) $ECHO_C" >&6
1938 ac_build_alias=$build_alias
1939 test "x$ac_build_alias" = x &&
1940 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1941 test "x$ac_build_alias" = x &&
1942 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1943 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1944 { (exit 1); exit 1; }; }
1945 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1946 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1947 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1948 { (exit 1); exit 1; }; }
1951 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1952 echo "${ECHO_T}$ac_cv_build" >&6; }
1953 case $ac_cv_build in
1955 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1956 echo "$as_me: error: invalid value of canonical build" >&2;}
1957 { (exit 1); exit 1; }; };;
1960 ac_save_IFS=$IFS; IFS='-'
1966 # Remember, the first character of IFS is used to create $*,
1967 # except with old shells:
1970 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1973 { echo "$as_me:$LINENO: checking host system type" >&5
1974 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1975 if test "${ac_cv_host+set}" = set; then
1976 echo $ECHO_N "(cached) $ECHO_C" >&6
1978 if test "x$host_alias" = x; then
1979 ac_cv_host=$ac_cv_build
1981 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1982 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1983 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1984 { (exit 1); exit 1; }; }
1988 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1989 echo "${ECHO_T}$ac_cv_host" >&6; }
1992 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1993 echo "$as_me: error: invalid value of canonical host" >&2;}
1994 { (exit 1); exit 1; }; };;
1997 ac_save_IFS=$IFS; IFS='-'
2003 # Remember, the first character of IFS is used to create $*,
2004 # except with old shells:
2007 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2011 # Check whether --with-diet-libc was given.
2012 if test "${with_diet_libc+set}" = set; then
2013 withval=$with_diet_libc; CC="diet cc -nostdinc"
2014 { echo "$as_me:$LINENO: result: CC=$CC" >&5
2015 echo "${ECHO_T}CC=$CC" >&6; }
2018 # Check whether --with-cc was given.
2019 if test "${with_cc+set}" = set; then
2020 withval=$with_cc; { echo "$as_me:$LINENO: result: CC=$withval" >&5
2021 echo "${ECHO_T}CC=$withval" >&6; }
2024 if test -z "$CC" ; then CC=cc; fi
2025 { echo "$as_me:$LINENO: result: CC defaults to $CC" >&5
2026 echo "${ECHO_T}CC defaults to $CC" >&6; }
2031 ac_cpp='$CPP $CPPFLAGS'
2032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2035 if test -n "$ac_tool_prefix"; then
2036 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2037 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2038 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2040 if test "${ac_cv_prog_CC+set}" = set; then
2041 echo $ECHO_N "(cached) $ECHO_C" >&6
2043 if test -n "$CC"; then
2044 ac_cv_prog_CC="$CC" # Let the user override the test.
2046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2050 test -z "$as_dir" && as_dir=.
2051 for ac_exec_ext in '' $ac_executable_extensions; do
2052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2053 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2064 if test -n "$CC"; then
2065 { echo "$as_me:$LINENO: result: $CC" >&5
2066 echo "${ECHO_T}$CC" >&6; }
2068 { echo "$as_me:$LINENO: result: no" >&5
2069 echo "${ECHO_T}no" >&6; }
2074 if test -z "$ac_cv_prog_CC"; then
2076 # Extract the first word of "gcc", so it can be a program name with args.
2077 set dummy gcc; ac_word=$2
2078 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2080 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2081 echo $ECHO_N "(cached) $ECHO_C" >&6
2083 if test -n "$ac_ct_CC"; then
2084 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2090 test -z "$as_dir" && as_dir=.
2091 for ac_exec_ext in '' $ac_executable_extensions; do
2092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2093 ac_cv_prog_ac_ct_CC="gcc"
2094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2103 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2104 if test -n "$ac_ct_CC"; then
2105 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2106 echo "${ECHO_T}$ac_ct_CC" >&6; }
2108 { echo "$as_me:$LINENO: result: no" >&5
2109 echo "${ECHO_T}no" >&6; }
2112 if test "x$ac_ct_CC" = x; then
2115 case $cross_compiling:$ac_tool_warned in
2117 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2118 whose name does not start with the host triplet. If you think this
2119 configuration is useful to you, please write to autoconf@gnu.org." >&5
2120 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2121 whose name does not start with the host triplet. If you think this
2122 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2123 ac_tool_warned=yes ;;
2131 if test -z "$CC"; then
2132 if test -n "$ac_tool_prefix"; then
2133 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2134 set dummy ${ac_tool_prefix}cc; ac_word=$2
2135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2137 if test "${ac_cv_prog_CC+set}" = set; then
2138 echo $ECHO_N "(cached) $ECHO_C" >&6
2140 if test -n "$CC"; then
2141 ac_cv_prog_CC="$CC" # Let the user override the test.
2143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2147 test -z "$as_dir" && as_dir=.
2148 for ac_exec_ext in '' $ac_executable_extensions; do
2149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2150 ac_cv_prog_CC="${ac_tool_prefix}cc"
2151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2161 if test -n "$CC"; then
2162 { echo "$as_me:$LINENO: result: $CC" >&5
2163 echo "${ECHO_T}$CC" >&6; }
2165 { echo "$as_me:$LINENO: result: no" >&5
2166 echo "${ECHO_T}no" >&6; }
2172 if test -z "$CC"; then
2173 # Extract the first word of "cc", so it can be a program name with args.
2174 set dummy cc; ac_word=$2
2175 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2177 if test "${ac_cv_prog_CC+set}" = set; then
2178 echo $ECHO_N "(cached) $ECHO_C" >&6
2180 if test -n "$CC"; then
2181 ac_cv_prog_CC="$CC" # Let the user override the test.
2184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2188 test -z "$as_dir" && as_dir=.
2189 for ac_exec_ext in '' $ac_executable_extensions; do
2190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2191 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2192 ac_prog_rejected=yes
2196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2203 if test $ac_prog_rejected = yes; then
2204 # We found a bogon in the path, so make sure we never use it.
2205 set dummy $ac_cv_prog_CC
2207 if test $# != 0; then
2208 # We chose a different compiler from the bogus one.
2209 # However, it has the same basename, so the bogon will be chosen
2210 # first if we set CC to just the basename; use the full file name.
2212 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2218 if test -n "$CC"; then
2219 { echo "$as_me:$LINENO: result: $CC" >&5
2220 echo "${ECHO_T}$CC" >&6; }
2222 { echo "$as_me:$LINENO: result: no" >&5
2223 echo "${ECHO_T}no" >&6; }
2228 if test -z "$CC"; then
2229 if test -n "$ac_tool_prefix"; then
2230 for ac_prog in cl.exe
2232 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2233 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2234 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2236 if test "${ac_cv_prog_CC+set}" = set; then
2237 echo $ECHO_N "(cached) $ECHO_C" >&6
2239 if test -n "$CC"; then
2240 ac_cv_prog_CC="$CC" # Let the user override the test.
2242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2246 test -z "$as_dir" && as_dir=.
2247 for ac_exec_ext in '' $ac_executable_extensions; do
2248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2249 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2260 if test -n "$CC"; then
2261 { echo "$as_me:$LINENO: result: $CC" >&5
2262 echo "${ECHO_T}$CC" >&6; }
2264 { echo "$as_me:$LINENO: result: no" >&5
2265 echo "${ECHO_T}no" >&6; }
2269 test -n "$CC" && break
2272 if test -z "$CC"; then
2274 for ac_prog in cl.exe
2276 # Extract the first word of "$ac_prog", so it can be a program name with args.
2277 set dummy $ac_prog; ac_word=$2
2278 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2280 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2281 echo $ECHO_N "(cached) $ECHO_C" >&6
2283 if test -n "$ac_ct_CC"; then
2284 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2290 test -z "$as_dir" && as_dir=.
2291 for ac_exec_ext in '' $ac_executable_extensions; do
2292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2293 ac_cv_prog_ac_ct_CC="$ac_prog"
2294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2303 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2304 if test -n "$ac_ct_CC"; then
2305 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2306 echo "${ECHO_T}$ac_ct_CC" >&6; }
2308 { echo "$as_me:$LINENO: result: no" >&5
2309 echo "${ECHO_T}no" >&6; }
2313 test -n "$ac_ct_CC" && break
2316 if test "x$ac_ct_CC" = x; then
2319 case $cross_compiling:$ac_tool_warned in
2321 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2322 whose name does not start with the host triplet. If you think this
2323 configuration is useful to you, please write to autoconf@gnu.org." >&5
2324 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2325 whose name does not start with the host triplet. If you think this
2326 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2327 ac_tool_warned=yes ;;
2336 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2337 See \`config.log' for more details." >&5
2338 echo "$as_me: error: no acceptable C compiler found in \$PATH
2339 See \`config.log' for more details." >&2;}
2340 { (exit 1); exit 1; }; }
2342 # Provide some information about the compiler.
2343 echo "$as_me:$LINENO: checking for C compiler version" >&5
2344 ac_compiler=`set X $ac_compile; echo $2`
2345 { (ac_try="$ac_compiler --version >&5"
2347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2348 *) ac_try_echo=$ac_try;;
2350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2351 (eval "$ac_compiler --version >&5") 2>&5
2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2354 (exit $ac_status); }
2355 { (ac_try="$ac_compiler -v >&5"
2357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2358 *) ac_try_echo=$ac_try;;
2360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2361 (eval "$ac_compiler -v >&5") 2>&5
2363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364 (exit $ac_status); }
2365 { (ac_try="$ac_compiler -V >&5"
2367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2368 *) ac_try_echo=$ac_try;;
2370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2371 (eval "$ac_compiler -V >&5") 2>&5
2373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2374 (exit $ac_status); }
2376 cat >conftest.$ac_ext <<_ACEOF
2379 cat confdefs.h >>conftest.$ac_ext
2380 cat >>conftest.$ac_ext <<_ACEOF
2381 /* end confdefs.h. */
2391 ac_clean_files_save=$ac_clean_files
2392 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2393 # Try to create an executable without -o first, disregard a.out.
2394 # It will help us diagnose broken compilers, and finding out an intuition
2396 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2397 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2398 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2400 # List of possible output files, starting from the most likely.
2401 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2402 # only as a last resort. b.out is created by i960 compilers.
2403 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2405 # The IRIX 6 linker writes into existing files which may not be
2406 # executable, retaining their permissions. Remove them first so a
2407 # subsequent execution test works.
2409 for ac_file in $ac_files
2412 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2413 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2418 if { (ac_try="$ac_link_default"
2420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2421 *) ac_try_echo=$ac_try;;
2423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2424 (eval "$ac_link_default") 2>&5
2426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427 (exit $ac_status); }; then
2428 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2429 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2430 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2431 # so that the user can short-circuit this test for compilers unknown to
2433 for ac_file in $ac_files ''
2435 test -f "$ac_file" || continue
2437 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2440 # We found the default executable, but exeext='' is most
2444 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2446 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2448 # We set ac_cv_exeext here because the later test for it is not
2449 # safe: cross compilers may not add the suffix if given an `-o'
2450 # argument, so we may need to know it at that point already.
2451 # Even if this section looks crufty: it has the advantage of
2458 test "$ac_cv_exeext" = no && ac_cv_exeext=
2464 { echo "$as_me:$LINENO: result: $ac_file" >&5
2465 echo "${ECHO_T}$ac_file" >&6; }
2466 if test -z "$ac_file"; then
2467 echo "$as_me: failed program was:" >&5
2468 sed 's/^/| /' conftest.$ac_ext >&5
2470 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2471 See \`config.log' for more details." >&5
2472 echo "$as_me: error: C compiler cannot create executables
2473 See \`config.log' for more details." >&2;}
2474 { (exit 77); exit 77; }; }
2477 ac_exeext=$ac_cv_exeext
2479 # Check that the compiler produces executables we can run. If not, either
2480 # the compiler is broken, or we cross compile.
2481 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2482 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2483 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2484 # If not cross compiling, check that we can run a simple program.
2485 if test "$cross_compiling" != yes; then
2486 if { ac_try='./$ac_file'
2487 { (case "(($ac_try" in
2488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2489 *) ac_try_echo=$ac_try;;
2491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2492 (eval "$ac_try") 2>&5
2494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2495 (exit $ac_status); }; }; then
2498 if test "$cross_compiling" = maybe; then
2501 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2502 If you meant to cross compile, use \`--host'.
2503 See \`config.log' for more details." >&5
2504 echo "$as_me: error: cannot run C compiled programs.
2505 If you meant to cross compile, use \`--host'.
2506 See \`config.log' for more details." >&2;}
2507 { (exit 1); exit 1; }; }
2511 { echo "$as_me:$LINENO: result: yes" >&5
2512 echo "${ECHO_T}yes" >&6; }
2514 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2515 ac_clean_files=$ac_clean_files_save
2516 # Check that the compiler produces executables we can run. If not, either
2517 # the compiler is broken, or we cross compile.
2518 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2519 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2520 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2521 echo "${ECHO_T}$cross_compiling" >&6; }
2523 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2524 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2525 if { (ac_try="$ac_link"
2527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2528 *) ac_try_echo=$ac_try;;
2530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2531 (eval "$ac_link") 2>&5
2533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534 (exit $ac_status); }; then
2535 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2536 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2537 # work properly (i.e., refer to `conftest.exe'), while it won't with
2539 for ac_file in conftest.exe conftest conftest.*; do
2540 test -f "$ac_file" || continue
2542 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2543 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2549 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2550 See \`config.log' for more details." >&5
2551 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2552 See \`config.log' for more details." >&2;}
2553 { (exit 1); exit 1; }; }
2556 rm -f conftest$ac_cv_exeext
2557 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2558 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2560 rm -f conftest.$ac_ext
2561 EXEEXT=$ac_cv_exeext
2563 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2564 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2565 if test "${ac_cv_objext+set}" = set; then
2566 echo $ECHO_N "(cached) $ECHO_C" >&6
2568 cat >conftest.$ac_ext <<_ACEOF
2571 cat confdefs.h >>conftest.$ac_ext
2572 cat >>conftest.$ac_ext <<_ACEOF
2573 /* end confdefs.h. */
2583 rm -f conftest.o conftest.obj
2584 if { (ac_try="$ac_compile"
2586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2587 *) ac_try_echo=$ac_try;;
2589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2590 (eval "$ac_compile") 2>&5
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); }; then
2594 for ac_file in conftest.o conftest.obj conftest.*; do
2595 test -f "$ac_file" || continue;
2597 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2598 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2603 echo "$as_me: failed program was:" >&5
2604 sed 's/^/| /' conftest.$ac_ext >&5
2606 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2607 See \`config.log' for more details." >&5
2608 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2609 See \`config.log' for more details." >&2;}
2610 { (exit 1); exit 1; }; }
2613 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2615 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2616 echo "${ECHO_T}$ac_cv_objext" >&6; }
2617 OBJEXT=$ac_cv_objext
2619 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2620 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2621 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2622 echo $ECHO_N "(cached) $ECHO_C" >&6
2624 cat >conftest.$ac_ext <<_ACEOF
2627 cat confdefs.h >>conftest.$ac_ext
2628 cat >>conftest.$ac_ext <<_ACEOF
2629 /* end confdefs.h. */
2642 rm -f conftest.$ac_objext
2643 if { (ac_try="$ac_compile"
2645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2646 *) ac_try_echo=$ac_try;;
2648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2649 (eval "$ac_compile") 2>conftest.er1
2651 grep -v '^ *+' conftest.er1 >conftest.err
2653 cat conftest.err >&5
2654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655 (exit $ac_status); } && {
2656 test -z "$ac_c_werror_flag" ||
2657 test ! -s conftest.err
2658 } && test -s conftest.$ac_objext; then
2661 echo "$as_me: failed program was:" >&5
2662 sed 's/^/| /' conftest.$ac_ext >&5
2667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2668 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2671 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2672 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2673 GCC=`test $ac_compiler_gnu = yes && echo yes`
2674 ac_test_CFLAGS=${CFLAGS+set}
2675 ac_save_CFLAGS=$CFLAGS
2676 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2677 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2678 if test "${ac_cv_prog_cc_g+set}" = set; then
2679 echo $ECHO_N "(cached) $ECHO_C" >&6
2681 ac_save_c_werror_flag=$ac_c_werror_flag
2682 ac_c_werror_flag=yes
2685 cat >conftest.$ac_ext <<_ACEOF
2688 cat confdefs.h >>conftest.$ac_ext
2689 cat >>conftest.$ac_ext <<_ACEOF
2690 /* end confdefs.h. */
2700 rm -f conftest.$ac_objext
2701 if { (ac_try="$ac_compile"
2703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2704 *) ac_try_echo=$ac_try;;
2706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2707 (eval "$ac_compile") 2>conftest.er1
2709 grep -v '^ *+' conftest.er1 >conftest.err
2711 cat conftest.err >&5
2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713 (exit $ac_status); } && {
2714 test -z "$ac_c_werror_flag" ||
2715 test ! -s conftest.err
2716 } && test -s conftest.$ac_objext; then
2719 echo "$as_me: failed program was:" >&5
2720 sed 's/^/| /' conftest.$ac_ext >&5
2723 cat >conftest.$ac_ext <<_ACEOF
2726 cat confdefs.h >>conftest.$ac_ext
2727 cat >>conftest.$ac_ext <<_ACEOF
2728 /* end confdefs.h. */
2738 rm -f conftest.$ac_objext
2739 if { (ac_try="$ac_compile"
2741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2742 *) ac_try_echo=$ac_try;;
2744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2745 (eval "$ac_compile") 2>conftest.er1
2747 grep -v '^ *+' conftest.er1 >conftest.err
2749 cat conftest.err >&5
2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); } && {
2752 test -z "$ac_c_werror_flag" ||
2753 test ! -s conftest.err
2754 } && test -s conftest.$ac_objext; then
2757 echo "$as_me: failed program was:" >&5
2758 sed 's/^/| /' conftest.$ac_ext >&5
2760 ac_c_werror_flag=$ac_save_c_werror_flag
2762 cat >conftest.$ac_ext <<_ACEOF
2765 cat confdefs.h >>conftest.$ac_ext
2766 cat >>conftest.$ac_ext <<_ACEOF
2767 /* end confdefs.h. */
2777 rm -f conftest.$ac_objext
2778 if { (ac_try="$ac_compile"
2780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2781 *) ac_try_echo=$ac_try;;
2783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2784 (eval "$ac_compile") 2>conftest.er1
2786 grep -v '^ *+' conftest.er1 >conftest.err
2788 cat conftest.err >&5
2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); } && {
2791 test -z "$ac_c_werror_flag" ||
2792 test ! -s conftest.err
2793 } && test -s conftest.$ac_objext; then
2796 echo "$as_me: failed program was:" >&5
2797 sed 's/^/| /' conftest.$ac_ext >&5
2802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2809 ac_c_werror_flag=$ac_save_c_werror_flag
2811 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2812 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2813 if test "$ac_test_CFLAGS" = set; then
2814 CFLAGS=$ac_save_CFLAGS
2815 elif test $ac_cv_prog_cc_g = yes; then
2816 if test "$GCC" = yes; then
2822 if test "$GCC" = yes; then
2828 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2829 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2830 if test "${ac_cv_prog_cc_c89+set}" = set; then
2831 echo $ECHO_N "(cached) $ECHO_C" >&6
2833 ac_cv_prog_cc_c89=no
2835 cat >conftest.$ac_ext <<_ACEOF
2838 cat confdefs.h >>conftest.$ac_ext
2839 cat >>conftest.$ac_ext <<_ACEOF
2840 /* end confdefs.h. */
2843 #include <sys/types.h>
2844 #include <sys/stat.h>
2845 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2846 struct buf { int x; };
2847 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2848 static char *e (p, i)
2854 static char *f (char * (*g) (char **, int), char **p, ...)
2859 s = g (p, va_arg (v,int));
2864 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2865 function prototypes and stuff, but not '\xHH' hex character constants.
2866 These don't provoke an error unfortunately, instead are silently treated
2867 as 'x'. The following induces an error, until -std is added to get
2868 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2869 array size at least. It's necessary to write '\x00'==0 to get something
2870 that's true only with -std. */
2871 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2873 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2874 inside strings and character constants. */
2876 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2878 int test (int i, double x);
2879 struct s1 {int (*f) (int a);};
2880 struct s2 {int (*f) (double a);};
2881 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2887 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2892 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2893 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2895 CC="$ac_save_CC $ac_arg"
2896 rm -f conftest.$ac_objext
2897 if { (ac_try="$ac_compile"
2899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2900 *) ac_try_echo=$ac_try;;
2902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2903 (eval "$ac_compile") 2>conftest.er1
2905 grep -v '^ *+' conftest.er1 >conftest.err
2907 cat conftest.err >&5
2908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2909 (exit $ac_status); } && {
2910 test -z "$ac_c_werror_flag" ||
2911 test ! -s conftest.err
2912 } && test -s conftest.$ac_objext; then
2913 ac_cv_prog_cc_c89=$ac_arg
2915 echo "$as_me: failed program was:" >&5
2916 sed 's/^/| /' conftest.$ac_ext >&5
2921 rm -f core conftest.err conftest.$ac_objext
2922 test "x$ac_cv_prog_cc_c89" != "xno" && break
2924 rm -f conftest.$ac_ext
2929 case "x$ac_cv_prog_cc_c89" in
2931 { echo "$as_me:$LINENO: result: none needed" >&5
2932 echo "${ECHO_T}none needed" >&6; } ;;
2934 { echo "$as_me:$LINENO: result: unsupported" >&5
2935 echo "${ECHO_T}unsupported" >&6; } ;;
2937 CC="$CC $ac_cv_prog_cc_c89"
2938 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2939 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2944 ac_cpp='$CPP $CPPFLAGS'
2945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2950 ac_cpp='$CPP $CPPFLAGS'
2951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2954 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2955 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2956 # On Suns, sometimes $CPP names a directory.
2957 if test -n "$CPP" && test -d "$CPP"; then
2960 if test -z "$CPP"; then
2961 if test "${ac_cv_prog_CPP+set}" = set; then
2962 echo $ECHO_N "(cached) $ECHO_C" >&6
2964 # Double quotes because CPP needs to be expanded
2965 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2968 for ac_c_preproc_warn_flag in '' yes
2970 # Use a header file that comes with gcc, so configuring glibc
2971 # with a fresh cross-compiler works.
2972 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2973 # <limits.h> exists even on freestanding compilers.
2974 # On the NeXT, cc -E runs the code through the compiler's parser,
2975 # not just through cpp. "Syntax error" is here to catch this case.
2976 cat >conftest.$ac_ext <<_ACEOF
2979 cat confdefs.h >>conftest.$ac_ext
2980 cat >>conftest.$ac_ext <<_ACEOF
2981 /* end confdefs.h. */
2983 # include <limits.h>
2985 # include <assert.h>
2989 if { (ac_try="$ac_cpp conftest.$ac_ext"
2991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2992 *) ac_try_echo=$ac_try;;
2994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2995 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2997 grep -v '^ *+' conftest.er1 >conftest.err
2999 cat conftest.err >&5
3000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3001 (exit $ac_status); } >/dev/null && {
3002 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3003 test ! -s conftest.err
3007 echo "$as_me: failed program was:" >&5
3008 sed 's/^/| /' conftest.$ac_ext >&5
3010 # Broken: fails on valid input.
3014 rm -f conftest.err conftest.$ac_ext
3016 # OK, works on sane cases. Now check whether nonexistent headers
3017 # can be detected and how.
3018 cat >conftest.$ac_ext <<_ACEOF
3021 cat confdefs.h >>conftest.$ac_ext
3022 cat >>conftest.$ac_ext <<_ACEOF
3023 /* end confdefs.h. */
3024 #include <ac_nonexistent.h>
3026 if { (ac_try="$ac_cpp conftest.$ac_ext"
3028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3029 *) ac_try_echo=$ac_try;;
3031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3032 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3034 grep -v '^ *+' conftest.er1 >conftest.err
3036 cat conftest.err >&5
3037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3038 (exit $ac_status); } >/dev/null && {
3039 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3040 test ! -s conftest.err
3042 # Broken: success on invalid input.
3045 echo "$as_me: failed program was:" >&5
3046 sed 's/^/| /' conftest.$ac_ext >&5
3048 # Passes both tests.
3053 rm -f conftest.err conftest.$ac_ext
3056 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3057 rm -f conftest.err conftest.$ac_ext
3058 if $ac_preproc_ok; then
3070 { echo "$as_me:$LINENO: result: $CPP" >&5
3071 echo "${ECHO_T}$CPP" >&6; }
3073 for ac_c_preproc_warn_flag in '' yes
3075 # Use a header file that comes with gcc, so configuring glibc
3076 # with a fresh cross-compiler works.
3077 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3078 # <limits.h> exists even on freestanding compilers.
3079 # On the NeXT, cc -E runs the code through the compiler's parser,
3080 # not just through cpp. "Syntax error" is here to catch this case.
3081 cat >conftest.$ac_ext <<_ACEOF
3084 cat confdefs.h >>conftest.$ac_ext
3085 cat >>conftest.$ac_ext <<_ACEOF
3086 /* end confdefs.h. */
3088 # include <limits.h>
3090 # include <assert.h>
3094 if { (ac_try="$ac_cpp conftest.$ac_ext"
3096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3097 *) ac_try_echo=$ac_try;;
3099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3100 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3102 grep -v '^ *+' conftest.er1 >conftest.err
3104 cat conftest.err >&5
3105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106 (exit $ac_status); } >/dev/null && {
3107 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3108 test ! -s conftest.err
3112 echo "$as_me: failed program was:" >&5
3113 sed 's/^/| /' conftest.$ac_ext >&5
3115 # Broken: fails on valid input.
3119 rm -f conftest.err conftest.$ac_ext
3121 # OK, works on sane cases. Now check whether nonexistent headers
3122 # can be detected and how.
3123 cat >conftest.$ac_ext <<_ACEOF
3126 cat confdefs.h >>conftest.$ac_ext
3127 cat >>conftest.$ac_ext <<_ACEOF
3128 /* end confdefs.h. */
3129 #include <ac_nonexistent.h>
3131 if { (ac_try="$ac_cpp conftest.$ac_ext"
3133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3134 *) ac_try_echo=$ac_try;;
3136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3137 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3139 grep -v '^ *+' conftest.er1 >conftest.err
3141 cat conftest.err >&5
3142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143 (exit $ac_status); } >/dev/null && {
3144 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3145 test ! -s conftest.err
3147 # Broken: success on invalid input.
3150 echo "$as_me: failed program was:" >&5
3151 sed 's/^/| /' conftest.$ac_ext >&5
3153 # Passes both tests.
3158 rm -f conftest.err conftest.$ac_ext
3161 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3162 rm -f conftest.err conftest.$ac_ext
3163 if $ac_preproc_ok; then
3166 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3167 See \`config.log' for more details." >&5
3168 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3169 See \`config.log' for more details." >&2;}
3170 { (exit 1); exit 1; }; }
3174 ac_cpp='$CPP $CPPFLAGS'
3175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3180 # Check whether --with-linker was given.
3181 if test "${with_linker+set}" = set; then
3182 withval=$with_linker; { echo "$as_me:$LINENO: result: LD=$withval" >&5
3183 echo "${ECHO_T}LD=$withval" >&6; }
3186 if test -z "$LD" ; then LD=$CC; fi
3187 { echo "$as_me:$LINENO: result: LD defaults to $LD" >&5
3188 echo "${ECHO_T}LD defaults to $LD" >&6; }
3193 # Check whether --with-ccopts was given.
3194 if test "${with_ccopts+set}" = set; then
3195 withval=$with_ccopts; { echo "$as_me:$LINENO: result: CCOPTS is $withval" >&5
3196 echo "${ECHO_T}CCOPTS is $withval" >&6; }
3201 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3202 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3203 if test "${ac_cv_path_GREP+set}" = set; then
3204 echo $ECHO_N "(cached) $ECHO_C" >&6
3206 # Extract the first word of "grep ggrep" to use in msg output
3207 if test -z "$GREP"; then
3208 set dummy grep ggrep; ac_prog_name=$2
3209 if test "${ac_cv_path_GREP+set}" = set; then
3210 echo $ECHO_N "(cached) $ECHO_C" >&6
3212 ac_path_GREP_found=false
3213 # Loop through the user's path and test for each of PROGNAME-LIST
3214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3215 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3218 test -z "$as_dir" && as_dir=.
3219 for ac_prog in grep ggrep; do
3220 for ac_exec_ext in '' $ac_executable_extensions; do
3221 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3222 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3223 # Check for GNU ac_path_GREP and select it if it is found.
3224 # Check for GNU $ac_path_GREP
3225 case `"$ac_path_GREP" --version 2>&1` in
3227 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3230 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3233 cat "conftest.in" "conftest.in" >"conftest.tmp"
3234 mv "conftest.tmp" "conftest.in"
3235 cp "conftest.in" "conftest.nl"
3236 echo 'GREP' >> "conftest.nl"
3237 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3238 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3239 ac_count=`expr $ac_count + 1`
3240 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3241 # Best one so far, save it but keep looking for a better one
3242 ac_cv_path_GREP="$ac_path_GREP"
3243 ac_path_GREP_max=$ac_count
3245 # 10*(2^10) chars as input seems more than enough
3246 test $ac_count -gt 10 && break
3248 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3252 $ac_path_GREP_found && break 3
3262 GREP="$ac_cv_path_GREP"
3263 if test -z "$GREP"; then
3264 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3265 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3266 { (exit 1); exit 1; }; }
3270 ac_cv_path_GREP=$GREP
3275 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3276 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3277 GREP="$ac_cv_path_GREP"
3280 { echo "$as_me:$LINENO: checking for egrep" >&5
3281 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3282 if test "${ac_cv_path_EGREP+set}" = set; then
3283 echo $ECHO_N "(cached) $ECHO_C" >&6
3285 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3286 then ac_cv_path_EGREP="$GREP -E"
3288 # Extract the first word of "egrep" to use in msg output
3289 if test -z "$EGREP"; then
3290 set dummy egrep; ac_prog_name=$2
3291 if test "${ac_cv_path_EGREP+set}" = set; then
3292 echo $ECHO_N "(cached) $ECHO_C" >&6
3294 ac_path_EGREP_found=false
3295 # Loop through the user's path and test for each of PROGNAME-LIST
3296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3297 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3300 test -z "$as_dir" && as_dir=.
3301 for ac_prog in egrep; do
3302 for ac_exec_ext in '' $ac_executable_extensions; do
3303 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3304 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3305 # Check for GNU ac_path_EGREP and select it if it is found.
3306 # Check for GNU $ac_path_EGREP
3307 case `"$ac_path_EGREP" --version 2>&1` in
3309 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3312 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3315 cat "conftest.in" "conftest.in" >"conftest.tmp"
3316 mv "conftest.tmp" "conftest.in"
3317 cp "conftest.in" "conftest.nl"
3318 echo 'EGREP' >> "conftest.nl"
3319 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3320 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3321 ac_count=`expr $ac_count + 1`
3322 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3323 # Best one so far, save it but keep looking for a better one
3324 ac_cv_path_EGREP="$ac_path_EGREP"
3325 ac_path_EGREP_max=$ac_count
3327 # 10*(2^10) chars as input seems more than enough
3328 test $ac_count -gt 10 && break
3330 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3334 $ac_path_EGREP_found && break 3
3344 EGREP="$ac_cv_path_EGREP"
3345 if test -z "$EGREP"; then
3346 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3347 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3348 { (exit 1); exit 1; }; }
3352 ac_cv_path_EGREP=$EGREP
3358 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3359 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3360 EGREP="$ac_cv_path_EGREP"
3363 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3364 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3365 if test "${ac_cv_header_stdc+set}" = set; then
3366 echo $ECHO_N "(cached) $ECHO_C" >&6
3368 cat >conftest.$ac_ext <<_ACEOF
3371 cat confdefs.h >>conftest.$ac_ext
3372 cat >>conftest.$ac_ext <<_ACEOF
3373 /* end confdefs.h. */
3387 rm -f conftest.$ac_objext
3388 if { (ac_try="$ac_compile"
3390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3391 *) ac_try_echo=$ac_try;;
3393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3394 (eval "$ac_compile") 2>conftest.er1
3396 grep -v '^ *+' conftest.er1 >conftest.err
3398 cat conftest.err >&5
3399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3400 (exit $ac_status); } && {
3401 test -z "$ac_c_werror_flag" ||
3402 test ! -s conftest.err
3403 } && test -s conftest.$ac_objext; then
3404 ac_cv_header_stdc=yes
3406 echo "$as_me: failed program was:" >&5
3407 sed 's/^/| /' conftest.$ac_ext >&5
3409 ac_cv_header_stdc=no
3412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3414 if test $ac_cv_header_stdc = yes; then
3415 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3416 cat >conftest.$ac_ext <<_ACEOF
3419 cat confdefs.h >>conftest.$ac_ext
3420 cat >>conftest.$ac_ext <<_ACEOF
3421 /* end confdefs.h. */
3425 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3426 $EGREP "memchr" >/dev/null 2>&1; then
3429 ac_cv_header_stdc=no
3435 if test $ac_cv_header_stdc = yes; then
3436 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3437 cat >conftest.$ac_ext <<_ACEOF
3440 cat confdefs.h >>conftest.$ac_ext
3441 cat >>conftest.$ac_ext <<_ACEOF
3442 /* end confdefs.h. */
3446 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3447 $EGREP "free" >/dev/null 2>&1; then
3450 ac_cv_header_stdc=no
3456 if test $ac_cv_header_stdc = yes; then
3457 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3458 if test "$cross_compiling" = yes; then
3461 cat >conftest.$ac_ext <<_ACEOF
3464 cat confdefs.h >>conftest.$ac_ext
3465 cat >>conftest.$ac_ext <<_ACEOF
3466 /* end confdefs.h. */
3469 #if ((' ' & 0x0FF) == 0x020)
3470 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3471 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3473 # define ISLOWER(c) \
3474 (('a' <= (c) && (c) <= 'i') \
3475 || ('j' <= (c) && (c) <= 'r') \
3476 || ('s' <= (c) && (c) <= 'z'))
3477 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3480 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3485 for (i = 0; i < 256; i++)
3486 if (XOR (islower (i), ISLOWER (i))
3487 || toupper (i) != TOUPPER (i))
3492 rm -f conftest$ac_exeext
3493 if { (ac_try="$ac_link"
3495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3496 *) ac_try_echo=$ac_try;;
3498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3499 (eval "$ac_link") 2>&5
3501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3502 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3503 { (case "(($ac_try" in
3504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3505 *) ac_try_echo=$ac_try;;
3507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3508 (eval "$ac_try") 2>&5
3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 (exit $ac_status); }; }; then
3514 echo "$as_me: program exited with status $ac_status" >&5
3515 echo "$as_me: failed program was:" >&5
3516 sed 's/^/| /' conftest.$ac_ext >&5
3519 ac_cv_header_stdc=no
3521 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3527 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3528 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3529 if test $ac_cv_header_stdc = yes; then
3531 cat >>confdefs.h <<\_ACEOF
3532 #define STDC_HEADERS 1
3537 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3547 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3548 inttypes.h stdint.h unistd.h
3550 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3551 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3553 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3554 echo $ECHO_N "(cached) $ECHO_C" >&6
3556 cat >conftest.$ac_ext <<_ACEOF
3559 cat confdefs.h >>conftest.$ac_ext
3560 cat >>conftest.$ac_ext <<_ACEOF
3561 /* end confdefs.h. */
3562 $ac_includes_default
3564 #include <$ac_header>
3566 rm -f conftest.$ac_objext
3567 if { (ac_try="$ac_compile"
3569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3570 *) ac_try_echo=$ac_try;;
3572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3573 (eval "$ac_compile") 2>conftest.er1
3575 grep -v '^ *+' conftest.er1 >conftest.err
3577 cat conftest.err >&5
3578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3579 (exit $ac_status); } && {
3580 test -z "$ac_c_werror_flag" ||
3581 test ! -s conftest.err
3582 } && test -s conftest.$ac_objext; then
3583 eval "$as_ac_Header=yes"
3585 echo "$as_me: failed program was:" >&5
3586 sed 's/^/| /' conftest.$ac_ext >&5
3588 eval "$as_ac_Header=no"
3591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3593 ac_res=`eval echo '${'$as_ac_Header'}'`
3594 { echo "$as_me:$LINENO: result: $ac_res" >&5
3595 echo "${ECHO_T}$ac_res" >&6; }
3596 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3597 cat >>confdefs.h <<_ACEOF
3598 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3606 if test "${ac_cv_header_linux_fs_h+set}" = set; then
3607 { echo "$as_me:$LINENO: checking for linux/fs.h" >&5
3608 echo $ECHO_N "checking for linux/fs.h... $ECHO_C" >&6; }
3609 if test "${ac_cv_header_linux_fs_h+set}" = set; then
3610 echo $ECHO_N "(cached) $ECHO_C" >&6
3612 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_fs_h" >&5
3613 echo "${ECHO_T}$ac_cv_header_linux_fs_h" >&6; }
3615 # Is the header compilable?
3616 { echo "$as_me:$LINENO: checking linux/fs.h usability" >&5
3617 echo $ECHO_N "checking linux/fs.h usability... $ECHO_C" >&6; }
3618 cat >conftest.$ac_ext <<_ACEOF
3621 cat confdefs.h >>conftest.$ac_ext
3622 cat >>conftest.$ac_ext <<_ACEOF
3623 /* end confdefs.h. */
3624 $ac_includes_default
3625 #include <linux/fs.h>
3627 rm -f conftest.$ac_objext
3628 if { (ac_try="$ac_compile"
3630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3631 *) ac_try_echo=$ac_try;;
3633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3634 (eval "$ac_compile") 2>conftest.er1
3636 grep -v '^ *+' conftest.er1 >conftest.err
3638 cat conftest.err >&5
3639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3640 (exit $ac_status); } && {
3641 test -z "$ac_c_werror_flag" ||
3642 test ! -s conftest.err
3643 } && test -s conftest.$ac_objext; then
3644 ac_header_compiler=yes
3646 echo "$as_me: failed program was:" >&5
3647 sed 's/^/| /' conftest.$ac_ext >&5
3649 ac_header_compiler=no
3652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3653 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3654 echo "${ECHO_T}$ac_header_compiler" >&6; }
3656 # Is the header present?
3657 { echo "$as_me:$LINENO: checking linux/fs.h presence" >&5
3658 echo $ECHO_N "checking linux/fs.h presence... $ECHO_C" >&6; }
3659 cat >conftest.$ac_ext <<_ACEOF
3662 cat confdefs.h >>conftest.$ac_ext
3663 cat >>conftest.$ac_ext <<_ACEOF
3664 /* end confdefs.h. */
3665 #include <linux/fs.h>
3667 if { (ac_try="$ac_cpp conftest.$ac_ext"
3669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3670 *) ac_try_echo=$ac_try;;
3672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3673 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3675 grep -v '^ *+' conftest.er1 >conftest.err
3677 cat conftest.err >&5
3678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3679 (exit $ac_status); } >/dev/null && {
3680 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3681 test ! -s conftest.err
3683 ac_header_preproc=yes
3685 echo "$as_me: failed program was:" >&5
3686 sed 's/^/| /' conftest.$ac_ext >&5
3688 ac_header_preproc=no
3691 rm -f conftest.err conftest.$ac_ext
3692 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3693 echo "${ECHO_T}$ac_header_preproc" >&6; }
3695 # So? What about this header?
3696 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3698 { echo "$as_me:$LINENO: WARNING: linux/fs.h: accepted by the compiler, rejected by the preprocessor!" >&5
3699 echo "$as_me: WARNING: linux/fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3700 { echo "$as_me:$LINENO: WARNING: linux/fs.h: proceeding with the compiler's result" >&5
3701 echo "$as_me: WARNING: linux/fs.h: proceeding with the compiler's result" >&2;}
3702 ac_header_preproc=yes
3705 { echo "$as_me:$LINENO: WARNING: linux/fs.h: present but cannot be compiled" >&5
3706 echo "$as_me: WARNING: linux/fs.h: present but cannot be compiled" >&2;}
3707 { echo "$as_me:$LINENO: WARNING: linux/fs.h: check for missing prerequisite headers?" >&5
3708 echo "$as_me: WARNING: linux/fs.h: check for missing prerequisite headers?" >&2;}
3709 { echo "$as_me:$LINENO: WARNING: linux/fs.h: see the Autoconf documentation" >&5
3710 echo "$as_me: WARNING: linux/fs.h: see the Autoconf documentation" >&2;}
3711 { echo "$as_me:$LINENO: WARNING: linux/fs.h: section \"Present But Cannot Be Compiled\"" >&5
3712 echo "$as_me: WARNING: linux/fs.h: section \"Present But Cannot Be Compiled\"" >&2;}
3713 { echo "$as_me:$LINENO: WARNING: linux/fs.h: proceeding with the preprocessor's result" >&5
3714 echo "$as_me: WARNING: linux/fs.h: proceeding with the preprocessor's result" >&2;}
3715 { echo "$as_me:$LINENO: WARNING: linux/fs.h: in the future, the compiler will take precedence" >&5
3716 echo "$as_me: WARNING: linux/fs.h: in the future, the compiler will take precedence" >&2;}
3720 { echo "$as_me:$LINENO: checking for linux/fs.h" >&5
3721 echo $ECHO_N "checking for linux/fs.h... $ECHO_C" >&6; }
3722 if test "${ac_cv_header_linux_fs_h+set}" = set; then
3723 echo $ECHO_N "(cached) $ECHO_C" >&6
3725 ac_cv_header_linux_fs_h=$ac_header_preproc
3727 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_fs_h" >&5
3728 echo "${ECHO_T}$ac_cv_header_linux_fs_h" >&6; }
3731 if test $ac_cv_header_linux_fs_h = yes; then
3738 if test "$linux_headers" != yes; then
3739 LINUX_INCLUDE='-I$(top_builddir)/include'
3742 { echo "$as_me:$LINENO: checking for additional special compiler flags" >&5
3743 echo $ECHO_N "checking for additional special compiler flags... $ECHO_C" >&6; }
3744 if test "$GCC" = yes
3747 alpha) addcflags="-mieee" ;;
3750 if test "x$addcflags" != x
3752 { echo "$as_me:$LINENO: result: $addcflags" >&5
3753 echo "${ECHO_T}$addcflags" >&6; }
3754 CFLAGS="$addcflags $CFLAGS"
3756 { echo "$as_me:$LINENO: result: (none)" >&5
3757 echo "${ECHO_T}(none)" >&6; }
3763 # Check whether --with-ldopts was given.
3764 if test "${with_ldopts+set}" = set; then
3765 withval=$with_ldopts; { echo "$as_me:$LINENO: result: LDFLAGS is $withval" >&5
3766 echo "${ECHO_T}LDFLAGS is $withval" >&6; }
3773 # Check whether --with-root-prefix was given.
3774 if test "${with_root_prefix+set}" = set; then
3775 withval=$with_root_prefix; root_prefix=$withval
3779 # Check whether --enable-maintainer-mode was given.
3780 if test "${enable_maintainer_mode+set}" = set; then
3781 enableval=$enable_maintainer_mode; if test "$enableval" = "no"
3784 echo "Disabling maintainer mode"
3787 echo "Enabling maintainer mode"
3792 echo "Disabling maintainer mode by default"
3797 # Check whether --enable-compression was given.
3798 if test "${enable_compression+set}" = set; then
3799 enableval=$enable_compression; if test "$enableval" = "no"
3801 echo "Disabling compression support"
3803 cat >>confdefs.h <<\_ACEOF
3804 #define ENABLE_COMPRESSION 1
3807 echo "Enabling compression support"
3808 echo "WARNING: Compression support is experimental"
3812 echo "Disabling compression support by default"
3816 # Check whether --enable-htree was given.
3817 if test "${enable_htree+set}" = set; then
3818 enableval=$enable_htree; if test "$enableval" = "no"
3821 echo "Disabling htree directory support"
3824 cat >>confdefs.h <<\_ACEOF
3825 #define ENABLE_HTREE 1
3828 echo "Enabling htree directory support"
3833 cat >>confdefs.h <<\_ACEOF
3834 #define ENABLE_HTREE 1
3837 echo "Enabling htree directory support by default"
3842 E2_PKG_CONFIG_STATIC=--static
3843 # Check whether --enable-elf-shlibs was given.
3844 if test "${enable_elf_shlibs+set}" = set; then
3845 enableval=$enable_elf_shlibs; if test "$enableval" = "no"
3848 MAKEFILE_ELF=/dev/null
3849 echo "Disabling ELF shared libraries"
3851 E2_PKG_CONFIG_STATIC=
3853 MAKEFILE_ELF=$srcdir/lib/Makefile.elf-lib
3856 MAKEFILE_ELF=$srcdir/lib/Makefile.solaris-lib
3861 echo "Enabling ELF shared libraries"
3865 MAKEFILE_ELF=/dev/null
3867 echo "Disabling ELF shared libraries by default"
3873 # Check whether --enable-bsd-shlibs was given.
3874 if test "${enable_bsd_shlibs+set}" = set; then
3875 enableval=$enable_bsd_shlibs; if test "$enableval" = "no"
3878 MAKEFILE_BSDLIB=/dev/null
3879 echo "Disabling BSD shared libraries"
3881 E2_PKG_CONFIG_STATIC=
3883 MAKEFILE_BSDLIB=$srcdir/lib/Makefile.bsd-lib
3887 MAKEFILE_BSDLIB=$srcdir/lib/Makefile.darwin-lib
3891 echo "Enabling BSD shared libraries"
3895 MAKEFILE_BSDLIB=/dev/null
3897 echo "Disabling BSD shared libraries by default"
3903 # Check whether --enable-profile was given.
3904 if test "${enable_profile+set}" = set; then
3905 enableval=$enable_profile; if test "$enableval" = "no"
3908 MAKEFILE_PROFILE=/dev/null
3909 echo "Disabling profiling libraries"
3912 MAKEFILE_PROFILE=$srcdir/lib/Makefile.profile
3913 PROFILED_LIB_EXT=_p.a
3914 echo "Building profiling libraries"
3919 MAKEFILE_PROFILE=/dev/null
3920 echo "Disabling profiling libraries by default"
3926 # Check whether --enable-checker was given.
3927 if test "${enable_checker+set}" = set; then
3928 enableval=$enable_checker; if test "$enableval" = "no"
3931 MAKEFILE_CHECKER=/dev/null
3932 echo "Disabling checker libraries"
3935 MAKEFILE_CHECKER=$srcdir/lib/Makefile.checker
3936 echo "Building checker libraries"
3941 MAKEFILE_CHECKER=/dev/null
3942 echo "Disabling checker libraries by default"
3951 # Check whether --enable-jbd-debug was given.
3952 if test "${enable_jbd_debug+set}" = set; then
3953 enableval=$enable_jbd_debug; if test "$enableval" = "no"
3955 echo "Disabling journal debugging"
3957 cat >>confdefs.h <<\_ACEOF
3958 #define CONFIG_JBD_DEBUG 1
3961 echo "Enabling journal debugging"
3965 echo "Disabling journal debugging by default"
3969 # Check whether --enable-blkid-debug was given.
3970 if test "${enable_blkid_debug+set}" = set; then
3971 enableval=$enable_blkid_debug; if test "$enableval" = "no"
3973 echo "Disabling blkid debugging"
3975 cat >>confdefs.h <<\_ACEOF
3976 #define CONFIG_BLKID_DEBUG 1
3979 echo "Enabling blkid debugging"
3983 echo "Disabling blkid debugging by default"
3987 # Check whether --enable-testio-debug was given.
3988 if test "${enable_testio_debug+set}" = set; then
3989 enableval=$enable_testio_debug; if test "$enableval" = "no"
3991 echo "Disabling testio debugging"
3993 cat >>confdefs.h <<\_ACEOF
3994 #define CONFIG_TESTIO_DEBUG 1
3997 echo "Enabling testio debugging"
4001 echo "Disabling testio debugging by default"
4005 # Check whether --enable-swapfs was given.
4006 if test "${enable_swapfs+set}" = set; then
4007 enableval=$enable_swapfs; if test "$enableval" = "no"
4010 echo "Disabling swapfs support"
4013 cat >>confdefs.h <<\_ACEOF
4014 #define ENABLE_SWAPFS 1
4017 echo "Enabling swapfs support"
4022 echo "Enabling swapfs support by default"
4023 cat >>confdefs.h <<\_ACEOF
4024 #define ENABLE_SWAPFS 1
4031 # Check whether --enable-debugfs was given.
4032 if test "${enable_debugfs+set}" = set; then
4033 enableval=$enable_debugfs; if test "$enableval" = "no"
4035 echo "Disabling debugfs support"
4039 echo "Enabling debugfs support"
4043 echo "Enabling debugfs support by default"
4049 # Check whether --enable-imager was given.
4050 if test "${enable_imager+set}" = set; then
4051 enableval=$enable_imager; if test "$enableval" = "no"
4053 echo "Disabling e2image support"
4057 echo "Enabling e2image support"
4061 echo "Enabling e2image support by default"
4067 # Check whether --enable-resizer was given.
4068 if test "${enable_resizer+set}" = set; then
4069 enableval=$enable_resizer; if test "$enableval" = "no"
4071 echo "Disabling e2resize support"
4075 echo "Enabling e2resize support"
4079 echo "Enabling e2resize support by default"
4085 # Check whether --enable-fsck was given.
4086 if test "${enable_fsck+set}" = set; then
4087 enableval=$enable_fsck; if test "$enableval" = "no"
4089 FSCK_PROG='' FSCK_MAN=''
4090 echo "Not building fsck wrapper"
4092 FSCK_PROG=fsck FSCK_MAN=fsck.8
4093 echo "Building fsck wrapper"
4099 FSCK_PROG='' FSCK_MAN=''
4100 echo "Not building fsck wrapper by default"
4103 FSCK_PROG=fsck FSCK_MAN=fsck.8
4104 echo "Building fsck wrapper by default"
4111 # Check whether --enable-e2initrd-helper was given.
4112 if test "${enable_e2initrd_helper+set}" = set; then
4113 enableval=$enable_e2initrd_helper; if test "$enableval" = "no"
4115 E2INITRD_PROG='' E2INITRD_MAN=''
4116 echo "Not building e2initrd helper"
4118 E2INITRD_PROG=e2initrd_helper E2INITRD_MAN=e2initrd_helper.8
4119 echo "Building e2initrd helper"
4123 E2INITRD_PROG=e2initrd_helper E2INITRD_MAN=e2initrd_helper.8
4124 echo "Building e2initrd helper by default"
4130 STATIC_BLKID_DEVMAPPER_LIBS=''
4131 # Check whether --enable-blkid-devmapper was given.
4132 if test "${enable_blkid_devmapper+set}" = set; then
4133 enableval=$enable_blkid_devmapper; if test "$enableval" = "no"
4135 echo "Disabling device-mapper support"
4138 STATIC_DEVMAPPER_LIBS=''
4140 cat >>confdefs.h <<\_ACEOF
4141 #define HAVE_DEVMAPPER 1
4144 echo "Enabling device-mapper support"
4148 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4149 if test -n "$ac_tool_prefix"; then
4150 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4151 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4152 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4154 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4155 echo $ECHO_N "(cached) $ECHO_C" >&6
4159 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4166 test -z "$as_dir" && as_dir=.
4167 for ac_exec_ext in '' $ac_executable_extensions; do
4168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4169 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4180 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4181 if test -n "$PKG_CONFIG"; then
4182 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
4183 echo "${ECHO_T}$PKG_CONFIG" >&6; }
4185 { echo "$as_me:$LINENO: result: no" >&5
4186 echo "${ECHO_T}no" >&6; }
4191 if test -z "$ac_cv_path_PKG_CONFIG"; then
4192 ac_pt_PKG_CONFIG=$PKG_CONFIG
4193 # Extract the first word of "pkg-config", so it can be a program name with args.
4194 set dummy pkg-config; ac_word=$2
4195 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4197 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
4198 echo $ECHO_N "(cached) $ECHO_C" >&6
4200 case $ac_pt_PKG_CONFIG in
4202 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4209 test -z "$as_dir" && as_dir=.
4210 for ac_exec_ext in '' $ac_executable_extensions; do
4211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4212 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4223 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4224 if test -n "$ac_pt_PKG_CONFIG"; then
4225 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
4226 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
4228 { echo "$as_me:$LINENO: result: no" >&5
4229 echo "${ECHO_T}no" >&6; }
4232 if test "x$ac_pt_PKG_CONFIG" = x; then
4235 case $cross_compiling:$ac_tool_warned in
4237 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4238 whose name does not start with the host triplet. If you think this
4239 configuration is useful to you, please write to autoconf@gnu.org." >&5
4240 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4241 whose name does not start with the host triplet. If you think this
4242 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4243 ac_tool_warned=yes ;;
4245 PKG_CONFIG=$ac_pt_PKG_CONFIG
4248 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4252 if test -n "$PKG_CONFIG"; then
4253 _pkg_min_version=0.9.0
4254 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
4255 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
4256 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4257 { echo "$as_me:$LINENO: result: yes" >&5
4258 echo "${ECHO_T}yes" >&6; }
4260 { echo "$as_me:$LINENO: result: no" >&5
4261 echo "${ECHO_T}no" >&6; }
4267 if test -z "$PKG_CONFIG"; then
4268 echo "pkg-config not installed; please install it."
4272 { echo "$as_me:$LINENO: checking for dm_tree_create in -ldevmapper" >&5
4273 echo $ECHO_N "checking for dm_tree_create in -ldevmapper... $ECHO_C" >&6; }
4274 if test "${ac_cv_lib_devmapper_dm_tree_create+set}" = set; then
4275 echo $ECHO_N "(cached) $ECHO_C" >&6
4277 ac_check_lib_save_LIBS=$LIBS
4278 LIBS="-ldevmapper $DEVMAPPER_LIBS $LIBS"
4279 cat >conftest.$ac_ext <<_ACEOF
4282 cat confdefs.h >>conftest.$ac_ext
4283 cat >>conftest.$ac_ext <<_ACEOF
4284 /* end confdefs.h. */
4286 /* Override any GCC internal prototype to avoid an error.
4287 Use char because int might match the return type of a GCC
4288 builtin and then its argument prototype would still apply. */
4292 char dm_tree_create ();
4296 return dm_tree_create ();
4301 rm -f conftest.$ac_objext conftest$ac_exeext
4302 if { (ac_try="$ac_link"
4304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4305 *) ac_try_echo=$ac_try;;
4307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4308 (eval "$ac_link") 2>conftest.er1
4310 grep -v '^ *+' conftest.er1 >conftest.err
4312 cat conftest.err >&5
4313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4314 (exit $ac_status); } && {
4315 test -z "$ac_c_werror_flag" ||
4316 test ! -s conftest.err
4317 } && test -s conftest$ac_exeext &&
4318 $as_test_x conftest$ac_exeext; then
4319 ac_cv_lib_devmapper_dm_tree_create=yes
4321 echo "$as_me: failed program was:" >&5
4322 sed 's/^/| /' conftest.$ac_ext >&5
4324 ac_cv_lib_devmapper_dm_tree_create=no
4327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4328 conftest$ac_exeext conftest.$ac_ext
4329 LIBS=$ac_check_lib_save_LIBS
4331 { echo "$as_me:$LINENO: result: $ac_cv_lib_devmapper_dm_tree_create" >&5
4332 echo "${ECHO_T}$ac_cv_lib_devmapper_dm_tree_create" >&6; }
4333 if test $ac_cv_lib_devmapper_dm_tree_create = yes; then
4334 DEVMAPPER_LIBS=`$PKG_CONFIG --libs devmapper`;
4335 STATIC_DEVMAPPER_LIBS=`$PKG_CONFIG --static --libs devmapper`;
4336 DEVMAPPER_REQ="devmapper";
4337 DEVMAPPER_PC_LIBS="-ldevmapper"
4339 { { echo "$as_me:$LINENO: error: device-mapper library not found" >&5
4340 echo "$as_me: error: device-mapper library not found" >&2;}
4341 { (exit 1); exit 1; }; }
4344 # work around stupid devmapper.pc bug in Debian
4345 case "$STATIC_DEVMAPPER_LIBS" in
4349 echo "Working around Debian bug #390243..."
4350 STATIC_DEVMAPPER_LIBS="-pthread $STATIC_DEVMAPPER_LIBS"
4353 if test "$E2_PKG_CONFIG_STATIC" = "--static"; then
4354 DEVMAPPER_LIBS="$STATIC_DEVMAPPER_LIBS"
4355 STATIC_BLKID_DEVMAPPER_LIBS="$STATIC_DEVMAPPER_LIBS"
4360 echo "Disabling device-mapper support by default"
4369 # Check whether --enable-tls was given.
4370 if test "${enable_tls+set}" = set; then
4371 enableval=$enable_tls; if test "$enableval" = "no"
4374 echo "Disabling thread local support"
4377 echo "Enabling thread local support"
4382 echo "Try using thread local support by default"
4386 if test "$try_tls" = "yes"
4389 { echo "$as_me:$LINENO: checking for thread local storage (TLS) class" >&5
4390 echo $ECHO_N "checking for thread local storage (TLS) class... $ECHO_C" >&6; }
4391 if test "${ac_cv_tls+set}" = set; then
4392 echo $ECHO_N "(cached) $ECHO_C" >&6
4395 ax_tls_keywords="__thread __declspec(thread) none"
4396 for ax_tls_keyword in $ax_tls_keywords; do
4397 case $ax_tls_keyword in
4398 none) ac_cv_tls=none ; break ;;
4400 cat >conftest.$ac_ext <<_ACEOF
4403 cat confdefs.h >>conftest.$ac_ext
4404 cat >>conftest.$ac_ext <<_ACEOF
4405 /* end confdefs.h. */
4409 static $ax_tls_keyword int bar;
4420 rm -f conftest.$ac_objext
4421 if { (ac_try="$ac_compile"
4423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4424 *) ac_try_echo=$ac_try;;
4426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4427 (eval "$ac_compile") 2>conftest.er1
4429 grep -v '^ *+' conftest.er1 >conftest.err
4431 cat conftest.err >&5
4432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433 (exit $ac_status); } && {
4434 test -z "$ac_c_werror_flag" ||
4435 test ! -s conftest.err
4436 } && test -s conftest.$ac_objext; then
4437 ac_cv_tls=$ax_tls_keyword ; break
4439 echo "$as_me: failed program was:" >&5
4440 sed 's/^/| /' conftest.$ac_ext >&5
4446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4453 if test "$ac_cv_tls" != "none"; then
4455 cat >>confdefs.h <<_ACEOF
4456 #define TLS $ac_cv_tls
4460 { echo "$as_me:$LINENO: result: $ac_cv_tls" >&5
4461 echo "${ECHO_T}$ac_cv_tls" >&6; }
4464 # Check whether --enable-uuidd was given.
4465 if test "${enable_uuidd+set}" = set; then
4466 enableval=$enable_uuidd; if test "$enableval" = "no"
4468 echo "Not building uuidd"
4471 cat >>confdefs.h <<\_ACEOF
4476 echo "Building uuidd"
4480 cat >>confdefs.h <<\_ACEOF
4485 echo "Building uuidd by default"
4490 MAKEFILE_LIBRARY=$srcdir/lib/Makefile.library
4492 GETTEXT_PACKAGE=e2fsprogs
4494 VERSION="$E2FSPROGS_VERSION"
4496 cat >>confdefs.h <<_ACEOF
4497 #define PACKAGE "$PACKAGE"
4500 cat >>confdefs.h <<_ACEOF
4501 #define VERSION "$VERSION"
4508 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4509 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
4510 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4511 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
4512 echo $ECHO_N "(cached) $ECHO_C" >&6
4514 cat >conftest.make <<\_ACEOF
4517 @echo '@@@%%%=$(MAKE)=@@@%%%'
4519 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4520 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4522 eval ac_cv_prog_make_${ac_make}_set=yes;;
4524 eval ac_cv_prog_make_${ac_make}_set=no;;
4528 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4529 { echo "$as_me:$LINENO: result: yes" >&5
4530 echo "${ECHO_T}yes" >&6; }
4533 { echo "$as_me:$LINENO: result: no" >&5
4534 echo "${ECHO_T}no" >&6; }
4535 SET_MAKE="MAKE=${MAKE-make}"
4538 # Find a good install program. We prefer a C program (faster),
4539 # so one script is as good as another. But avoid the broken or
4540 # incompatible versions:
4541 # SysV /etc/install, /usr/sbin/install
4542 # SunOS /usr/etc/install
4543 # IRIX /sbin/install
4545 # AmigaOS /C/install, which installs bootblocks on floppy discs
4546 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4547 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4548 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4549 # OS/2's system install, which has a completely different semantic
4550 # ./install, which can be erroneously created by make from ./install.sh.
4551 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4552 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4553 if test -z "$INSTALL"; then
4554 if test "${ac_cv_path_install+set}" = set; then
4555 echo $ECHO_N "(cached) $ECHO_C" >&6
4557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4561 test -z "$as_dir" && as_dir=.
4562 # Account for people who put trailing slashes in PATH elements.
4564 ./ | .// | /cC/* | \
4565 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4566 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4569 # OSF1 and SCO ODT 3.0 have their own names for install.
4570 # Don't use installbsd from OSF since it installs stuff as root
4572 for ac_prog in ginstall scoinst install; do
4573 for ac_exec_ext in '' $ac_executable_extensions; do
4574 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4575 if test $ac_prog = install &&
4576 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4577 # AIX install. It has an incompatible calling convention.
4579 elif test $ac_prog = install &&
4580 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4581 # program-specific install script used by HP pwplus--don't use.
4584 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4597 if test "${ac_cv_path_install+set}" = set; then
4598 INSTALL=$ac_cv_path_install
4600 # As a last resort, use the slow shell script. Don't cache a
4601 # value for INSTALL within a source directory, because that will
4602 # break other packages using the cache if that directory is
4603 # removed, or if the value is a relative name.
4604 INSTALL=$ac_install_sh
4607 { echo "$as_me:$LINENO: result: $INSTALL" >&5
4608 echo "${ECHO_T}$INSTALL" >&6; }
4610 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4611 # It thinks the first close brace ends the variable substitution.
4612 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4614 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4616 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4620 if test -n "$ac_aux_dir"; then
4621 case "$ac_aux_dir" in
4622 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
4623 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
4626 if test -z "$MKINSTALLDIRS"; then
4627 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
4632 { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
4633 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
4634 # Check whether --enable-nls was given.
4635 if test "${enable_nls+set}" = set; then
4636 enableval=$enable_nls; USE_NLS=$enableval
4641 { echo "$as_me:$LINENO: result: $USE_NLS" >&5
4642 echo "${ECHO_T}$USE_NLS" >&6; }
4649 # Prepare PATH_SEPARATOR.
4650 # The user is always right.
4651 if test "${PATH_SEPARATOR+set}" != set; then
4652 echo "#! /bin/sh" >conf$$.sh
4653 echo "exit 0" >>conf$$.sh
4655 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4663 # Find out how to test for executable files. Don't use a zero-byte file,
4664 # as systems may use methods other than mode bits to determine executability.
4665 cat >conf$$.file <<_ASEOF
4669 chmod +x conf$$.file
4670 if test -x conf$$.file >/dev/null 2>&1; then
4671 ac_executable_p="test -x"
4673 ac_executable_p="test -f"
4677 # Extract the first word of "msgfmt", so it can be a program name with args.
4678 set dummy msgfmt; ac_word=$2
4679 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4681 if test "${ac_cv_path_MSGFMT+set}" = set; then
4682 echo $ECHO_N "(cached) $ECHO_C" >&6
4686 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4689 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4690 for ac_dir in $PATH; do
4692 test -z "$ac_dir" && ac_dir=.
4693 for ac_exec_ext in '' $ac_executable_extensions; do
4694 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4695 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
4696 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4697 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
4704 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
4708 MSGFMT="$ac_cv_path_MSGFMT"
4709 if test "$MSGFMT" != ":"; then
4710 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
4711 echo "${ECHO_T}$MSGFMT" >&6; }
4713 { echo "$as_me:$LINENO: result: no" >&5
4714 echo "${ECHO_T}no" >&6; }
4717 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4718 set dummy gmsgfmt; ac_word=$2
4719 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4721 if test "${ac_cv_path_GMSGFMT+set}" = set; then
4722 echo $ECHO_N "(cached) $ECHO_C" >&6
4726 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4733 test -z "$as_dir" && as_dir=.
4734 for ac_exec_ext in '' $ac_executable_extensions; do
4735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4736 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4744 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4748 GMSGFMT=$ac_cv_path_GMSGFMT
4749 if test -n "$GMSGFMT"; then
4750 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
4751 echo "${ECHO_T}$GMSGFMT" >&6; }
4753 { echo "$as_me:$LINENO: result: no" >&5
4754 echo "${ECHO_T}no" >&6; }
4760 # Prepare PATH_SEPARATOR.
4761 # The user is always right.
4762 if test "${PATH_SEPARATOR+set}" != set; then
4763 echo "#! /bin/sh" >conf$$.sh
4764 echo "exit 0" >>conf$$.sh
4766 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4774 # Find out how to test for executable files. Don't use a zero-byte file,
4775 # as systems may use methods other than mode bits to determine executability.
4776 cat >conf$$.file <<_ASEOF
4780 chmod +x conf$$.file
4781 if test -x conf$$.file >/dev/null 2>&1; then
4782 ac_executable_p="test -x"
4784 ac_executable_p="test -f"
4788 # Extract the first word of "xgettext", so it can be a program name with args.
4789 set dummy xgettext; ac_word=$2
4790 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4792 if test "${ac_cv_path_XGETTEXT+set}" = set; then
4793 echo $ECHO_N "(cached) $ECHO_C" >&6
4797 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4800 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4801 for ac_dir in $PATH; do
4803 test -z "$ac_dir" && ac_dir=.
4804 for ac_exec_ext in '' $ac_executable_extensions; do
4805 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4806 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
4807 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4808 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
4815 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
4819 XGETTEXT="$ac_cv_path_XGETTEXT"
4820 if test "$XGETTEXT" != ":"; then
4821 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
4822 echo "${ECHO_T}$XGETTEXT" >&6; }
4824 { echo "$as_me:$LINENO: result: no" >&5
4825 echo "${ECHO_T}no" >&6; }
4831 # Prepare PATH_SEPARATOR.
4832 # The user is always right.
4833 if test "${PATH_SEPARATOR+set}" != set; then
4834 echo "#! /bin/sh" >conf$$.sh
4835 echo "exit 0" >>conf$$.sh
4837 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4845 # Find out how to test for executable files. Don't use a zero-byte file,
4846 # as systems may use methods other than mode bits to determine executability.
4847 cat >conf$$.file <<_ASEOF
4851 chmod +x conf$$.file
4852 if test -x conf$$.file >/dev/null 2>&1; then
4853 ac_executable_p="test -x"
4855 ac_executable_p="test -f"
4859 # Extract the first word of "msgmerge", so it can be a program name with args.
4860 set dummy msgmerge; ac_word=$2
4861 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4863 if test "${ac_cv_path_MSGMERGE+set}" = set; then
4864 echo $ECHO_N "(cached) $ECHO_C" >&6
4868 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4871 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4872 for ac_dir in $PATH; do
4874 test -z "$ac_dir" && ac_dir=.
4875 for ac_exec_ext in '' $ac_executable_extensions; do
4876 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4877 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
4878 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
4885 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
4889 MSGMERGE="$ac_cv_path_MSGMERGE"
4890 if test "$MSGMERGE" != ":"; then
4891 { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
4892 echo "${ECHO_T}$MSGMERGE" >&6; }
4894 { echo "$as_me:$LINENO: result: no" >&5
4895 echo "${ECHO_T}no" >&6; }
4899 if test "$GMSGFMT" != ":"; then
4900 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
4901 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4904 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
4905 { echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
4906 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
4911 if test "$XGETTEXT" != ":"; then
4912 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
4913 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4916 { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
4917 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
4923 ac_config_commands="$ac_config_commands default-1"
4926 if test -n "$ac_tool_prefix"; then
4927 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4928 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4929 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4931 if test "${ac_cv_prog_RANLIB+set}" = set; then
4932 echo $ECHO_N "(cached) $ECHO_C" >&6
4934 if test -n "$RANLIB"; then
4935 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4941 test -z "$as_dir" && as_dir=.
4942 for ac_exec_ext in '' $ac_executable_extensions; do
4943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4944 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4954 RANLIB=$ac_cv_prog_RANLIB
4955 if test -n "$RANLIB"; then
4956 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4957 echo "${ECHO_T}$RANLIB" >&6; }
4959 { echo "$as_me:$LINENO: result: no" >&5
4960 echo "${ECHO_T}no" >&6; }
4965 if test -z "$ac_cv_prog_RANLIB"; then
4966 ac_ct_RANLIB=$RANLIB
4967 # Extract the first word of "ranlib", so it can be a program name with args.
4968 set dummy ranlib; ac_word=$2
4969 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4971 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4972 echo $ECHO_N "(cached) $ECHO_C" >&6
4974 if test -n "$ac_ct_RANLIB"; then
4975 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4981 test -z "$as_dir" && as_dir=.
4982 for ac_exec_ext in '' $ac_executable_extensions; do
4983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4984 ac_cv_prog_ac_ct_RANLIB="ranlib"
4985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4994 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4995 if test -n "$ac_ct_RANLIB"; then
4996 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4997 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4999 { echo "$as_me:$LINENO: result: no" >&5
5000 echo "${ECHO_T}no" >&6; }
5003 if test "x$ac_ct_RANLIB" = x; then
5006 case $cross_compiling:$ac_tool_warned in
5008 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5009 whose name does not start with the host triplet. If you think this
5010 configuration is useful to you, please write to autoconf@gnu.org." >&5
5011 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5012 whose name does not start with the host triplet. If you think this
5013 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5014 ac_tool_warned=yes ;;
5016 RANLIB=$ac_ct_RANLIB
5019 RANLIB="$ac_cv_prog_RANLIB"
5023 { echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
5024 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6; }
5025 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
5026 echo $ECHO_N "(cached) $ECHO_C" >&6
5028 ac_check_lib_save_LIBS=$LIBS
5029 LIBS="-lcposix $LIBS"
5030 cat >conftest.$ac_ext <<_ACEOF
5033 cat confdefs.h >>conftest.$ac_ext
5034 cat >>conftest.$ac_ext <<_ACEOF
5035 /* end confdefs.h. */
5037 /* Override any GCC internal prototype to avoid an error.
5038 Use char because int might match the return type of a GCC
5039 builtin and then its argument prototype would still apply. */
5052 rm -f conftest.$ac_objext conftest$ac_exeext
5053 if { (ac_try="$ac_link"
5055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5056 *) ac_try_echo=$ac_try;;
5058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5059 (eval "$ac_link") 2>conftest.er1
5061 grep -v '^ *+' conftest.er1 >conftest.err
5063 cat conftest.err >&5
5064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5065 (exit $ac_status); } && {
5066 test -z "$ac_c_werror_flag" ||
5067 test ! -s conftest.err
5068 } && test -s conftest$ac_exeext &&
5069 $as_test_x conftest$ac_exeext; then
5070 ac_cv_lib_cposix_strerror=yes
5072 echo "$as_me: failed program was:" >&5
5073 sed 's/^/| /' conftest.$ac_ext >&5
5075 ac_cv_lib_cposix_strerror=no
5078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5079 conftest$ac_exeext conftest.$ac_ext
5080 LIBS=$ac_check_lib_save_LIBS
5082 { echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
5083 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6; }
5084 if test $ac_cv_lib_cposix_strerror = yes; then
5085 LIBS="$LIBS -lcposix"
5090 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5091 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
5092 if test "${ac_cv_c_const+set}" = set; then
5093 echo $ECHO_N "(cached) $ECHO_C" >&6
5095 cat >conftest.$ac_ext <<_ACEOF
5098 cat confdefs.h >>conftest.$ac_ext
5099 cat >>conftest.$ac_ext <<_ACEOF
5100 /* end confdefs.h. */
5105 /* FIXME: Include the comments suggested by Paul. */
5107 /* Ultrix mips cc rejects this. */
5108 typedef int charset[2];
5110 /* SunOS 4.1.1 cc rejects this. */
5111 char const *const *pcpcc;
5113 /* NEC SVR4.0.2 mips cc rejects this. */
5114 struct point {int x, y;};
5115 static struct point const zero = {0,0};
5116 /* AIX XL C 1.02.0.0 rejects this.
5117 It does not let you subtract one const X* pointer from another in
5118 an arm of an if-expression whose if-part is not a constant
5120 const char *g = "string";
5121 pcpcc = &g + (g ? g-g : 0);
5122 /* HPUX 7.0 cc rejects these. */
5124 ppc = (char**) pcpcc;
5125 pcpcc = (char const *const *) ppc;
5126 { /* SCO 3.2v4 cc rejects this. */
5128 char const *s = 0 ? (char *) 0 : (char const *) 0;
5133 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5135 const int *foo = &x[0];
5138 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5139 typedef const int *iptr;
5143 { /* AIX XL C 1.02.0.0 rejects this saying
5144 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5145 struct s { int j; const int *ap[3]; };
5146 struct s *b; b->j = 5;
5148 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5152 return !cs[0] && !zero.x;
5159 rm -f conftest.$ac_objext
5160 if { (ac_try="$ac_compile"
5162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5163 *) ac_try_echo=$ac_try;;
5165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5166 (eval "$ac_compile") 2>conftest.er1
5168 grep -v '^ *+' conftest.er1 >conftest.err
5170 cat conftest.err >&5
5171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5172 (exit $ac_status); } && {
5173 test -z "$ac_c_werror_flag" ||
5174 test ! -s conftest.err
5175 } && test -s conftest.$ac_objext; then
5178 echo "$as_me: failed program was:" >&5
5179 sed 's/^/| /' conftest.$ac_ext >&5
5184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5186 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5187 echo "${ECHO_T}$ac_cv_c_const" >&6; }
5188 if test $ac_cv_c_const = no; then
5190 cat >>confdefs.h <<\_ACEOF
5197 { echo "$as_me:$LINENO: checking for signed" >&5
5198 echo $ECHO_N "checking for signed... $ECHO_C" >&6; }
5199 if test "${bh_cv_c_signed+set}" = set; then
5200 echo $ECHO_N "(cached) $ECHO_C" >&6
5202 cat >conftest.$ac_ext <<_ACEOF
5205 cat confdefs.h >>conftest.$ac_ext
5206 cat >>conftest.$ac_ext <<_ACEOF
5207 /* end confdefs.h. */
5217 rm -f conftest.$ac_objext
5218 if { (ac_try="$ac_compile"
5220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5221 *) ac_try_echo=$ac_try;;
5223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5224 (eval "$ac_compile") 2>conftest.er1
5226 grep -v '^ *+' conftest.er1 >conftest.err
5228 cat conftest.err >&5
5229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5230 (exit $ac_status); } && {
5231 test -z "$ac_c_werror_flag" ||
5232 test ! -s conftest.err
5233 } && test -s conftest.$ac_objext; then
5236 echo "$as_me: failed program was:" >&5
5237 sed 's/^/| /' conftest.$ac_ext >&5
5242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5244 { echo "$as_me:$LINENO: result: $bh_cv_c_signed" >&5
5245 echo "${ECHO_T}$bh_cv_c_signed" >&6; }
5246 if test $bh_cv_c_signed = no; then
5248 cat >>confdefs.h <<\_ACEOF
5254 { echo "$as_me:$LINENO: checking for inline" >&5
5255 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
5256 if test "${ac_cv_c_inline+set}" = set; then
5257 echo $ECHO_N "(cached) $ECHO_C" >&6
5260 for ac_kw in inline __inline__ __inline; do
5261 cat >conftest.$ac_ext <<_ACEOF
5264 cat confdefs.h >>conftest.$ac_ext
5265 cat >>conftest.$ac_ext <<_ACEOF
5266 /* end confdefs.h. */
5269 static $ac_kw foo_t static_foo () {return 0; }
5270 $ac_kw foo_t foo () {return 0; }
5274 rm -f conftest.$ac_objext
5275 if { (ac_try="$ac_compile"
5277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5278 *) ac_try_echo=$ac_try;;
5280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5281 (eval "$ac_compile") 2>conftest.er1
5283 grep -v '^ *+' conftest.er1 >conftest.err
5285 cat conftest.err >&5
5286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5287 (exit $ac_status); } && {
5288 test -z "$ac_c_werror_flag" ||
5289 test ! -s conftest.err
5290 } && test -s conftest.$ac_objext; then
5291 ac_cv_c_inline=$ac_kw
5293 echo "$as_me: failed program was:" >&5
5294 sed 's/^/| /' conftest.$ac_ext >&5
5299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5300 test "$ac_cv_c_inline" != no && break
5304 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5305 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
5308 case $ac_cv_c_inline in
5311 case $ac_cv_c_inline in
5313 *) ac_val=$ac_cv_c_inline;;
5315 cat >>confdefs.h <<_ACEOF
5317 #define inline $ac_val
5323 { echo "$as_me:$LINENO: checking for off_t" >&5
5324 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
5325 if test "${ac_cv_type_off_t+set}" = set; then
5326 echo $ECHO_N "(cached) $ECHO_C" >&6
5328 cat >conftest.$ac_ext <<_ACEOF
5331 cat confdefs.h >>conftest.$ac_ext
5332 cat >>conftest.$ac_ext <<_ACEOF
5333 /* end confdefs.h. */
5334 $ac_includes_default
5335 typedef off_t ac__type_new_;
5339 if ((ac__type_new_ *) 0)
5341 if (sizeof (ac__type_new_))
5347 rm -f conftest.$ac_objext
5348 if { (ac_try="$ac_compile"
5350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5351 *) ac_try_echo=$ac_try;;
5353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5354 (eval "$ac_compile") 2>conftest.er1
5356 grep -v '^ *+' conftest.er1 >conftest.err
5358 cat conftest.err >&5
5359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5360 (exit $ac_status); } && {
5361 test -z "$ac_c_werror_flag" ||
5362 test ! -s conftest.err
5363 } && test -s conftest.$ac_objext; then
5364 ac_cv_type_off_t=yes
5366 echo "$as_me: failed program was:" >&5
5367 sed 's/^/| /' conftest.$ac_ext >&5
5372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5374 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5375 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
5376 if test $ac_cv_type_off_t = yes; then
5380 cat >>confdefs.h <<_ACEOF
5381 #define off_t long int
5386 { echo "$as_me:$LINENO: checking for size_t" >&5
5387 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
5388 if test "${ac_cv_type_size_t+set}" = set; then
5389 echo $ECHO_N "(cached) $ECHO_C" >&6
5391 cat >conftest.$ac_ext <<_ACEOF
5394 cat confdefs.h >>conftest.$ac_ext
5395 cat >>conftest.$ac_ext <<_ACEOF
5396 /* end confdefs.h. */
5397 $ac_includes_default
5398 typedef size_t ac__type_new_;
5402 if ((ac__type_new_ *) 0)
5404 if (sizeof (ac__type_new_))
5410 rm -f conftest.$ac_objext
5411 if { (ac_try="$ac_compile"
5413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5414 *) ac_try_echo=$ac_try;;
5416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5417 (eval "$ac_compile") 2>conftest.er1
5419 grep -v '^ *+' conftest.er1 >conftest.err
5421 cat conftest.err >&5
5422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5423 (exit $ac_status); } && {
5424 test -z "$ac_c_werror_flag" ||
5425 test ! -s conftest.err
5426 } && test -s conftest.$ac_objext; then
5427 ac_cv_type_size_t=yes
5429 echo "$as_me: failed program was:" >&5
5430 sed 's/^/| /' conftest.$ac_ext >&5
5432 ac_cv_type_size_t=no
5435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5437 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5438 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
5439 if test $ac_cv_type_size_t = yes; then
5443 cat >>confdefs.h <<_ACEOF
5444 #define size_t unsigned int
5450 { echo "$as_me:$LINENO: checking for long long" >&5
5451 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
5452 if test "${ac_cv_type_long_long+set}" = set; then
5453 echo $ECHO_N "(cached) $ECHO_C" >&6
5455 cat >conftest.$ac_ext <<_ACEOF
5458 cat confdefs.h >>conftest.$ac_ext
5459 cat >>conftest.$ac_ext <<_ACEOF
5460 /* end confdefs.h. */
5461 long long ll = 1LL; int i = 63;
5465 long long llmax = (long long) -1;
5466 return ll << i | ll >> i | llmax / ll | llmax % ll;
5471 rm -f conftest.$ac_objext conftest$ac_exeext
5472 if { (ac_try="$ac_link"
5474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5475 *) ac_try_echo=$ac_try;;
5477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5478 (eval "$ac_link") 2>conftest.er1
5480 grep -v '^ *+' conftest.er1 >conftest.err
5482 cat conftest.err >&5
5483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5484 (exit $ac_status); } && {
5485 test -z "$ac_c_werror_flag" ||
5486 test ! -s conftest.err
5487 } && test -s conftest$ac_exeext &&
5488 $as_test_x conftest$ac_exeext; then
5489 ac_cv_type_long_long=yes
5491 echo "$as_me: failed program was:" >&5
5492 sed 's/^/| /' conftest.$ac_ext >&5
5494 ac_cv_type_long_long=no
5497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5498 conftest$ac_exeext conftest.$ac_ext
5500 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
5501 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
5502 if test $ac_cv_type_long_long = yes; then
5504 cat >>confdefs.h <<\_ACEOF
5505 #define HAVE_LONG_LONG 1
5511 { echo "$as_me:$LINENO: checking for long double" >&5
5512 echo $ECHO_N "checking for long double... $ECHO_C" >&6; }
5513 if test "${gt_cv_c_long_double+set}" = set; then
5514 echo $ECHO_N "(cached) $ECHO_C" >&6
5516 if test "$GCC" = yes; then
5517 gt_cv_c_long_double=yes
5519 cat >conftest.$ac_ext <<_ACEOF
5522 cat confdefs.h >>conftest.$ac_ext
5523 cat >>conftest.$ac_ext <<_ACEOF
5524 /* end confdefs.h. */
5526 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
5527 long double foo = 0.0;
5528 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
5529 int array [2*(sizeof(long double) >= sizeof(double)) - 1];
5539 rm -f conftest.$ac_objext
5540 if { (ac_try="$ac_compile"
5542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5543 *) ac_try_echo=$ac_try;;
5545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5546 (eval "$ac_compile") 2>conftest.er1
5548 grep -v '^ *+' conftest.er1 >conftest.err
5550 cat conftest.err >&5
5551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5552 (exit $ac_status); } && {
5553 test -z "$ac_c_werror_flag" ||
5554 test ! -s conftest.err
5555 } && test -s conftest.$ac_objext; then
5556 gt_cv_c_long_double=yes
5558 echo "$as_me: failed program was:" >&5
5559 sed 's/^/| /' conftest.$ac_ext >&5
5561 gt_cv_c_long_double=no
5564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5567 { echo "$as_me:$LINENO: result: $gt_cv_c_long_double" >&5
5568 echo "${ECHO_T}$gt_cv_c_long_double" >&6; }
5569 if test $gt_cv_c_long_double = yes; then
5571 cat >>confdefs.h <<\_ACEOF
5572 #define HAVE_LONG_DOUBLE 1
5578 { echo "$as_me:$LINENO: checking for wchar_t" >&5
5579 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
5580 if test "${gt_cv_c_wchar_t+set}" = set; then
5581 echo $ECHO_N "(cached) $ECHO_C" >&6
5583 cat >conftest.$ac_ext <<_ACEOF
5586 cat confdefs.h >>conftest.$ac_ext
5587 cat >>conftest.$ac_ext <<_ACEOF
5588 /* end confdefs.h. */
5590 wchar_t foo = (wchar_t)'\0';
5599 rm -f conftest.$ac_objext
5600 if { (ac_try="$ac_compile"
5602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5603 *) ac_try_echo=$ac_try;;
5605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5606 (eval "$ac_compile") 2>conftest.er1
5608 grep -v '^ *+' conftest.er1 >conftest.err
5610 cat conftest.err >&5
5611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5612 (exit $ac_status); } && {
5613 test -z "$ac_c_werror_flag" ||
5614 test ! -s conftest.err
5615 } && test -s conftest.$ac_objext; then
5618 echo "$as_me: failed program was:" >&5
5619 sed 's/^/| /' conftest.$ac_ext >&5
5624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5626 { echo "$as_me:$LINENO: result: $gt_cv_c_wchar_t" >&5
5627 echo "${ECHO_T}$gt_cv_c_wchar_t" >&6; }
5628 if test $gt_cv_c_wchar_t = yes; then
5630 cat >>confdefs.h <<\_ACEOF
5631 #define HAVE_WCHAR_T 1
5637 { echo "$as_me:$LINENO: checking for wint_t" >&5
5638 echo $ECHO_N "checking for wint_t... $ECHO_C" >&6; }
5639 if test "${gt_cv_c_wint_t+set}" = set; then
5640 echo $ECHO_N "(cached) $ECHO_C" >&6
5642 cat >conftest.$ac_ext <<_ACEOF
5645 cat confdefs.h >>conftest.$ac_ext
5646 cat >>conftest.$ac_ext <<_ACEOF
5647 /* end confdefs.h. */
5649 wint_t foo = (wchar_t)'\0';
5658 rm -f conftest.$ac_objext
5659 if { (ac_try="$ac_compile"
5661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5662 *) ac_try_echo=$ac_try;;
5664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5665 (eval "$ac_compile") 2>conftest.er1
5667 grep -v '^ *+' conftest.er1 >conftest.err
5669 cat conftest.err >&5
5670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5671 (exit $ac_status); } && {
5672 test -z "$ac_c_werror_flag" ||
5673 test ! -s conftest.err
5674 } && test -s conftest.$ac_objext; then
5677 echo "$as_me: failed program was:" >&5
5678 sed 's/^/| /' conftest.$ac_ext >&5
5683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5685 { echo "$as_me:$LINENO: result: $gt_cv_c_wint_t" >&5
5686 echo "${ECHO_T}$gt_cv_c_wint_t" >&6; }
5687 if test $gt_cv_c_wint_t = yes; then
5689 cat >>confdefs.h <<\_ACEOF
5690 #define HAVE_WINT_T 1
5696 { echo "$as_me:$LINENO: checking for inttypes.h" >&5
5697 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6; }
5698 if test "${jm_ac_cv_header_inttypes_h+set}" = set; then
5699 echo $ECHO_N "(cached) $ECHO_C" >&6
5701 cat >conftest.$ac_ext <<_ACEOF
5704 cat confdefs.h >>conftest.$ac_ext
5705 cat >>conftest.$ac_ext <<_ACEOF
5706 /* end confdefs.h. */
5707 #include <sys/types.h>
5708 #include <inttypes.h>
5712 uintmax_t i = (uintmax_t) -1;
5717 rm -f conftest.$ac_objext
5718 if { (ac_try="$ac_compile"
5720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5721 *) ac_try_echo=$ac_try;;
5723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5724 (eval "$ac_compile") 2>conftest.er1
5726 grep -v '^ *+' conftest.er1 >conftest.err
5728 cat conftest.err >&5
5729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5730 (exit $ac_status); } && {
5731 test -z "$ac_c_werror_flag" ||
5732 test ! -s conftest.err
5733 } && test -s conftest.$ac_objext; then
5734 jm_ac_cv_header_inttypes_h=yes
5736 echo "$as_me: failed program was:" >&5
5737 sed 's/^/| /' conftest.$ac_ext >&5
5739 jm_ac_cv_header_inttypes_h=no
5742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5744 { echo "$as_me:$LINENO: result: $jm_ac_cv_header_inttypes_h" >&5
5745 echo "${ECHO_T}$jm_ac_cv_header_inttypes_h" >&6; }
5746 if test $jm_ac_cv_header_inttypes_h = yes; then
5748 cat >>confdefs.h <<_ACEOF
5749 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
5755 { echo "$as_me:$LINENO: checking for stdint.h" >&5
5756 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; }
5757 if test "${jm_ac_cv_header_stdint_h+set}" = set; then
5758 echo $ECHO_N "(cached) $ECHO_C" >&6
5760 cat >conftest.$ac_ext <<_ACEOF
5763 cat confdefs.h >>conftest.$ac_ext
5764 cat >>conftest.$ac_ext <<_ACEOF
5765 /* end confdefs.h. */
5766 #include <sys/types.h>
5771 uintmax_t i = (uintmax_t) -1;
5776 rm -f conftest.$ac_objext
5777 if { (ac_try="$ac_compile"
5779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5780 *) ac_try_echo=$ac_try;;
5782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5783 (eval "$ac_compile") 2>conftest.er1
5785 grep -v '^ *+' conftest.er1 >conftest.err
5787 cat conftest.err >&5
5788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5789 (exit $ac_status); } && {
5790 test -z "$ac_c_werror_flag" ||
5791 test ! -s conftest.err
5792 } && test -s conftest.$ac_objext; then
5793 jm_ac_cv_header_stdint_h=yes
5795 echo "$as_me: failed program was:" >&5
5796 sed 's/^/| /' conftest.$ac_ext >&5
5798 jm_ac_cv_header_stdint_h=no
5801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5803 { echo "$as_me:$LINENO: result: $jm_ac_cv_header_stdint_h" >&5
5804 echo "${ECHO_T}$jm_ac_cv_header_stdint_h" >&6; }
5805 if test $jm_ac_cv_header_stdint_h = yes; then
5807 cat >>confdefs.h <<_ACEOF
5808 #define HAVE_STDINT_H_WITH_UINTMAX 1
5816 { echo "$as_me:$LINENO: checking for intmax_t" >&5
5817 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6; }
5818 if test "${gt_cv_c_intmax_t+set}" = set; then
5819 echo $ECHO_N "(cached) $ECHO_C" >&6
5821 cat >conftest.$ac_ext <<_ACEOF
5824 cat confdefs.h >>conftest.$ac_ext
5825 cat >>conftest.$ac_ext <<_ACEOF
5826 /* end confdefs.h. */
5830 #if HAVE_STDINT_H_WITH_UINTMAX
5833 #if HAVE_INTTYPES_H_WITH_UINTMAX
5834 #include <inttypes.h>
5845 rm -f conftest.$ac_objext
5846 if { (ac_try="$ac_compile"
5848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5849 *) ac_try_echo=$ac_try;;
5851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5852 (eval "$ac_compile") 2>conftest.er1
5854 grep -v '^ *+' conftest.er1 >conftest.err
5856 cat conftest.err >&5
5857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5858 (exit $ac_status); } && {
5859 test -z "$ac_c_werror_flag" ||
5860 test ! -s conftest.err
5861 } && test -s conftest.$ac_objext; then
5862 gt_cv_c_intmax_t=yes
5864 echo "$as_me: failed program was:" >&5
5865 sed 's/^/| /' conftest.$ac_ext >&5
5870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5872 { echo "$as_me:$LINENO: result: $gt_cv_c_intmax_t" >&5
5873 echo "${ECHO_T}$gt_cv_c_intmax_t" >&6; }
5874 if test $gt_cv_c_intmax_t = yes; then
5876 cat >>confdefs.h <<\_ACEOF
5877 #define HAVE_INTMAX_T 1
5884 { echo "$as_me:$LINENO: checking whether printf() supports POSIX/XSI format strings" >&5
5885 echo $ECHO_N "checking whether printf() supports POSIX/XSI format strings... $ECHO_C" >&6; }
5886 if test "${gt_cv_func_printf_posix+set}" = set; then
5887 echo $ECHO_N "(cached) $ECHO_C" >&6
5890 if test "$cross_compiling" = yes; then
5892 cat >conftest.$ac_ext <<_ACEOF
5895 cat confdefs.h >>conftest.$ac_ext
5896 cat >>conftest.$ac_ext <<_ACEOF
5897 /* end confdefs.h. */
5899 #if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
5904 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5905 $EGREP "notposix" >/dev/null 2>&1; then
5906 gt_cv_func_printf_posix="guessing no"
5908 gt_cv_func_printf_posix="guessing yes"
5914 cat >conftest.$ac_ext <<_ACEOF
5917 cat confdefs.h >>conftest.$ac_ext
5918 cat >>conftest.$ac_ext <<_ACEOF
5919 /* end confdefs.h. */
5923 /* The string "%2$d %1$d", with dollar characters protected from the shell's
5924 dollar expansion (possibly an autoconf bug). */
5925 static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
5926 static char buf[100];
5929 sprintf (buf, format, 33, 55);
5930 return (strcmp (buf, "55 33") != 0);
5933 rm -f conftest$ac_exeext
5934 if { (ac_try="$ac_link"
5936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5937 *) ac_try_echo=$ac_try;;
5939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5940 (eval "$ac_link") 2>&5
5942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5943 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5944 { (case "(($ac_try" in
5945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5946 *) ac_try_echo=$ac_try;;
5948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5949 (eval "$ac_try") 2>&5
5951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5952 (exit $ac_status); }; }; then
5953 gt_cv_func_printf_posix=yes
5955 echo "$as_me: program exited with status $ac_status" >&5
5956 echo "$as_me: failed program was:" >&5
5957 sed 's/^/| /' conftest.$ac_ext >&5
5960 gt_cv_func_printf_posix=no
5962 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5968 { echo "$as_me:$LINENO: result: $gt_cv_func_printf_posix" >&5
5969 echo "${ECHO_T}$gt_cv_func_printf_posix" >&6; }
5970 case $gt_cv_func_printf_posix in
5973 cat >>confdefs.h <<\_ACEOF
5974 #define HAVE_POSIX_PRINTF 1
5980 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5981 # for constant arguments. Useless!
5982 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
5983 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
5984 if test "${ac_cv_working_alloca_h+set}" = set; then
5985 echo $ECHO_N "(cached) $ECHO_C" >&6
5987 cat >conftest.$ac_ext <<_ACEOF
5990 cat confdefs.h >>conftest.$ac_ext
5991 cat >>conftest.$ac_ext <<_ACEOF
5992 /* end confdefs.h. */
5997 char *p = (char *) alloca (2 * sizeof (int));
6003 rm -f conftest.$ac_objext conftest$ac_exeext
6004 if { (ac_try="$ac_link"
6006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6007 *) ac_try_echo=$ac_try;;
6009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6010 (eval "$ac_link") 2>conftest.er1
6012 grep -v '^ *+' conftest.er1 >conftest.err
6014 cat conftest.err >&5
6015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6016 (exit $ac_status); } && {
6017 test -z "$ac_c_werror_flag" ||
6018 test ! -s conftest.err
6019 } && test -s conftest$ac_exeext &&
6020 $as_test_x conftest$ac_exeext; then
6021 ac_cv_working_alloca_h=yes
6023 echo "$as_me: failed program was:" >&5
6024 sed 's/^/| /' conftest.$ac_ext >&5
6026 ac_cv_working_alloca_h=no
6029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6030 conftest$ac_exeext conftest.$ac_ext
6032 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6033 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
6034 if test $ac_cv_working_alloca_h = yes; then
6036 cat >>confdefs.h <<\_ACEOF
6037 #define HAVE_ALLOCA_H 1
6042 { echo "$as_me:$LINENO: checking for alloca" >&5
6043 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
6044 if test "${ac_cv_func_alloca_works+set}" = set; then
6045 echo $ECHO_N "(cached) $ECHO_C" >&6
6047 cat >conftest.$ac_ext <<_ACEOF
6050 cat confdefs.h >>conftest.$ac_ext
6051 cat >>conftest.$ac_ext <<_ACEOF
6052 /* end confdefs.h. */
6054 # define alloca __builtin_alloca
6057 # include <malloc.h>
6058 # define alloca _alloca
6060 # ifdef HAVE_ALLOCA_H
6061 # include <alloca.h>
6066 # ifndef alloca /* predefined by HP cc +Olibcalls */
6077 char *p = (char *) alloca (1);
6083 rm -f conftest.$ac_objext conftest$ac_exeext
6084 if { (ac_try="$ac_link"
6086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6087 *) ac_try_echo=$ac_try;;
6089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6090 (eval "$ac_link") 2>conftest.er1
6092 grep -v '^ *+' conftest.er1 >conftest.err
6094 cat conftest.err >&5
6095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6096 (exit $ac_status); } && {
6097 test -z "$ac_c_werror_flag" ||
6098 test ! -s conftest.err
6099 } && test -s conftest$ac_exeext &&
6100 $as_test_x conftest$ac_exeext; then
6101 ac_cv_func_alloca_works=yes
6103 echo "$as_me: failed program was:" >&5
6104 sed 's/^/| /' conftest.$ac_ext >&5
6106 ac_cv_func_alloca_works=no
6109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6110 conftest$ac_exeext conftest.$ac_ext
6112 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6113 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
6115 if test $ac_cv_func_alloca_works = yes; then
6117 cat >>confdefs.h <<\_ACEOF
6118 #define HAVE_ALLOCA 1
6122 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6123 # that cause trouble. Some versions do not even contain alloca or
6124 # contain a buggy version. If you still want to use their alloca,
6125 # use ar to extract alloca.o from them instead of compiling alloca.c.
6127 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
6129 cat >>confdefs.h <<\_ACEOF
6134 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6135 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
6136 if test "${ac_cv_os_cray+set}" = set; then
6137 echo $ECHO_N "(cached) $ECHO_C" >&6
6139 cat >conftest.$ac_ext <<_ACEOF
6142 cat confdefs.h >>conftest.$ac_ext
6143 cat >>conftest.$ac_ext <<_ACEOF
6144 /* end confdefs.h. */
6145 #if defined CRAY && ! defined CRAY2
6152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6153 $EGREP "webecray" >/dev/null 2>&1; then
6161 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6162 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
6163 if test $ac_cv_os_cray = yes; then
6164 for ac_func in _getb67 GETB67 getb67; do
6165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6166 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6168 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6169 echo $ECHO_N "(cached) $ECHO_C" >&6
6171 cat >conftest.$ac_ext <<_ACEOF
6174 cat confdefs.h >>conftest.$ac_ext
6175 cat >>conftest.$ac_ext <<_ACEOF
6176 /* end confdefs.h. */
6177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6179 #define $ac_func innocuous_$ac_func
6181 /* System header to define __stub macros and hopefully few prototypes,
6182 which can conflict with char $ac_func (); below.
6183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6184 <limits.h> exists even on freestanding compilers. */
6187 # include <limits.h>
6189 # include <assert.h>
6194 /* Override any GCC internal prototype to avoid an error.
6195 Use char because int might match the return type of a GCC
6196 builtin and then its argument prototype would still apply. */
6201 /* The GNU C library defines this for functions which it implements
6202 to always fail with ENOSYS. Some functions are actually named
6203 something starting with __ and the normal name is an alias. */
6204 #if defined __stub_$ac_func || defined __stub___$ac_func
6216 rm -f conftest.$ac_objext conftest$ac_exeext
6217 if { (ac_try="$ac_link"
6219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6220 *) ac_try_echo=$ac_try;;
6222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6223 (eval "$ac_link") 2>conftest.er1
6225 grep -v '^ *+' conftest.er1 >conftest.err
6227 cat conftest.err >&5
6228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6229 (exit $ac_status); } && {
6230 test -z "$ac_c_werror_flag" ||
6231 test ! -s conftest.err
6232 } && test -s conftest$ac_exeext &&
6233 $as_test_x conftest$ac_exeext; then
6234 eval "$as_ac_var=yes"
6236 echo "$as_me: failed program was:" >&5
6237 sed 's/^/| /' conftest.$ac_ext >&5
6239 eval "$as_ac_var=no"
6242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6243 conftest$ac_exeext conftest.$ac_ext
6245 ac_res=`eval echo '${'$as_ac_var'}'`
6246 { echo "$as_me:$LINENO: result: $ac_res" >&5
6247 echo "${ECHO_T}$ac_res" >&6; }
6248 if test `eval echo '${'$as_ac_var'}'` = yes; then
6250 cat >>confdefs.h <<_ACEOF
6251 #define CRAY_STACKSEG_END $ac_func
6260 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6261 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
6262 if test "${ac_cv_c_stack_direction+set}" = set; then
6263 echo $ECHO_N "(cached) $ECHO_C" >&6
6265 if test "$cross_compiling" = yes; then
6266 ac_cv_c_stack_direction=0
6268 cat >conftest.$ac_ext <<_ACEOF
6271 cat confdefs.h >>conftest.$ac_ext
6272 cat >>conftest.$ac_ext <<_ACEOF
6273 /* end confdefs.h. */
6274 $ac_includes_default
6276 find_stack_direction ()
6278 static char *addr = 0;
6283 return find_stack_direction ();
6286 return (&dummy > addr) ? 1 : -1;
6292 return find_stack_direction () < 0;
6295 rm -f conftest$ac_exeext
6296 if { (ac_try="$ac_link"
6298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6299 *) ac_try_echo=$ac_try;;
6301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6302 (eval "$ac_link") 2>&5
6304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6305 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6306 { (case "(($ac_try" in
6307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6308 *) ac_try_echo=$ac_try;;
6310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6311 (eval "$ac_try") 2>&5
6313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6314 (exit $ac_status); }; }; then
6315 ac_cv_c_stack_direction=1
6317 echo "$as_me: program exited with status $ac_status" >&5
6318 echo "$as_me: failed program was:" >&5
6319 sed 's/^/| /' conftest.$ac_ext >&5
6322 ac_cv_c_stack_direction=-1
6324 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6329 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6330 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
6332 cat >>confdefs.h <<_ACEOF
6333 #define STACK_DIRECTION $ac_cv_c_stack_direction
6341 for ac_header in stdlib.h unistd.h
6343 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6344 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6345 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6346 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6347 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6348 echo $ECHO_N "(cached) $ECHO_C" >&6
6350 ac_res=`eval echo '${'$as_ac_Header'}'`
6351 { echo "$as_me:$LINENO: result: $ac_res" >&5
6352 echo "${ECHO_T}$ac_res" >&6; }
6354 # Is the header compilable?
6355 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6356 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6357 cat >conftest.$ac_ext <<_ACEOF
6360 cat confdefs.h >>conftest.$ac_ext
6361 cat >>conftest.$ac_ext <<_ACEOF
6362 /* end confdefs.h. */
6363 $ac_includes_default
6364 #include <$ac_header>
6366 rm -f conftest.$ac_objext
6367 if { (ac_try="$ac_compile"
6369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6370 *) ac_try_echo=$ac_try;;
6372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6373 (eval "$ac_compile") 2>conftest.er1
6375 grep -v '^ *+' conftest.er1 >conftest.err
6377 cat conftest.err >&5
6378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6379 (exit $ac_status); } && {
6380 test -z "$ac_c_werror_flag" ||
6381 test ! -s conftest.err
6382 } && test -s conftest.$ac_objext; then
6383 ac_header_compiler=yes
6385 echo "$as_me: failed program was:" >&5
6386 sed 's/^/| /' conftest.$ac_ext >&5
6388 ac_header_compiler=no
6391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6392 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6393 echo "${ECHO_T}$ac_header_compiler" >&6; }
6395 # Is the header present?
6396 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6397 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6398 cat >conftest.$ac_ext <<_ACEOF
6401 cat confdefs.h >>conftest.$ac_ext
6402 cat >>conftest.$ac_ext <<_ACEOF
6403 /* end confdefs.h. */
6404 #include <$ac_header>
6406 if { (ac_try="$ac_cpp conftest.$ac_ext"
6408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6409 *) ac_try_echo=$ac_try;;
6411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6412 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6414 grep -v '^ *+' conftest.er1 >conftest.err
6416 cat conftest.err >&5
6417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6418 (exit $ac_status); } >/dev/null && {
6419 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6420 test ! -s conftest.err
6422 ac_header_preproc=yes
6424 echo "$as_me: failed program was:" >&5
6425 sed 's/^/| /' conftest.$ac_ext >&5
6427 ac_header_preproc=no
6430 rm -f conftest.err conftest.$ac_ext
6431 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6432 echo "${ECHO_T}$ac_header_preproc" >&6; }
6434 # So? What about this header?
6435 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6437 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6438 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6439 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6440 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6441 ac_header_preproc=yes
6444 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6445 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6446 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6447 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6448 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6449 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6450 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6451 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6452 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6453 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6454 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6455 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6459 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6461 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6462 echo $ECHO_N "(cached) $ECHO_C" >&6
6464 eval "$as_ac_Header=\$ac_header_preproc"
6466 ac_res=`eval echo '${'$as_ac_Header'}'`
6467 { echo "$as_me:$LINENO: result: $ac_res" >&5
6468 echo "${ECHO_T}$ac_res" >&6; }
6471 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6472 cat >>confdefs.h <<_ACEOF
6473 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6481 for ac_func in getpagesize
6483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6484 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6486 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6487 echo $ECHO_N "(cached) $ECHO_C" >&6
6489 cat >conftest.$ac_ext <<_ACEOF
6492 cat confdefs.h >>conftest.$ac_ext
6493 cat >>conftest.$ac_ext <<_ACEOF
6494 /* end confdefs.h. */
6495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6497 #define $ac_func innocuous_$ac_func
6499 /* System header to define __stub macros and hopefully few prototypes,
6500 which can conflict with char $ac_func (); below.
6501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6502 <limits.h> exists even on freestanding compilers. */
6505 # include <limits.h>
6507 # include <assert.h>
6512 /* Override any GCC internal prototype to avoid an error.
6513 Use char because int might match the return type of a GCC
6514 builtin and then its argument prototype would still apply. */
6519 /* The GNU C library defines this for functions which it implements
6520 to always fail with ENOSYS. Some functions are actually named
6521 something starting with __ and the normal name is an alias. */
6522 #if defined __stub_$ac_func || defined __stub___$ac_func
6534 rm -f conftest.$ac_objext conftest$ac_exeext
6535 if { (ac_try="$ac_link"
6537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6538 *) ac_try_echo=$ac_try;;
6540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6541 (eval "$ac_link") 2>conftest.er1
6543 grep -v '^ *+' conftest.er1 >conftest.err
6545 cat conftest.err >&5
6546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6547 (exit $ac_status); } && {
6548 test -z "$ac_c_werror_flag" ||
6549 test ! -s conftest.err
6550 } && test -s conftest$ac_exeext &&
6551 $as_test_x conftest$ac_exeext; then
6552 eval "$as_ac_var=yes"
6554 echo "$as_me: failed program was:" >&5
6555 sed 's/^/| /' conftest.$ac_ext >&5
6557 eval "$as_ac_var=no"
6560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6561 conftest$ac_exeext conftest.$ac_ext
6563 ac_res=`eval echo '${'$as_ac_var'}'`
6564 { echo "$as_me:$LINENO: result: $ac_res" >&5
6565 echo "${ECHO_T}$ac_res" >&6; }
6566 if test `eval echo '${'$as_ac_var'}'` = yes; then
6567 cat >>confdefs.h <<_ACEOF
6568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6574 { echo "$as_me:$LINENO: checking for working mmap" >&5
6575 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
6576 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6577 echo $ECHO_N "(cached) $ECHO_C" >&6
6579 if test "$cross_compiling" = yes; then
6580 ac_cv_func_mmap_fixed_mapped=no
6582 cat >conftest.$ac_ext <<_ACEOF
6585 cat confdefs.h >>conftest.$ac_ext
6586 cat >>conftest.$ac_ext <<_ACEOF
6587 /* end confdefs.h. */
6588 $ac_includes_default
6589 /* malloc might have been renamed as rpl_malloc. */
6592 /* Thanks to Mike Haertel and Jim Avera for this test.
6593 Here is a matrix of mmap possibilities:
6594 mmap private not fixed
6595 mmap private fixed at somewhere currently unmapped
6596 mmap private fixed at somewhere already mapped
6597 mmap shared not fixed
6598 mmap shared fixed at somewhere currently unmapped
6599 mmap shared fixed at somewhere already mapped
6600 For private mappings, we should verify that changes cannot be read()
6601 back from the file, nor mmap's back from the file at a different
6602 address. (There have been systems where private was not correctly
6603 implemented like the infamous i386 svr4.0, and systems where the
6604 VM page cache was not coherent with the file system buffer cache
6605 like early versions of FreeBSD and possibly contemporary NetBSD.)
6606 For shared mappings, we should conversely verify that changes get
6607 propagated back to all the places they're supposed to be.
6609 Grep wants private fixed already mapped.
6610 The main things grep needs to know about mmap are:
6611 * does it exist and is it safe to write into the mmap'd area
6612 * how to use it (BSD variants) */
6615 #include <sys/mman.h>
6617 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6621 /* This mess was copied from the GNU getpagesize.h. */
6622 #ifndef HAVE_GETPAGESIZE
6623 /* Assume that all systems that can run configure have sys/param.h. */
6624 # ifndef HAVE_SYS_PARAM_H
6625 # define HAVE_SYS_PARAM_H 1
6628 # ifdef _SC_PAGESIZE
6629 # define getpagesize() sysconf(_SC_PAGESIZE)
6630 # else /* no _SC_PAGESIZE */
6631 # ifdef HAVE_SYS_PARAM_H
6632 # include <sys/param.h>
6633 # ifdef EXEC_PAGESIZE
6634 # define getpagesize() EXEC_PAGESIZE
6635 # else /* no EXEC_PAGESIZE */
6637 # define getpagesize() NBPG * CLSIZE
6640 # endif /* no CLSIZE */
6641 # else /* no NBPG */
6643 # define getpagesize() NBPC
6644 # else /* no NBPC */
6646 # define getpagesize() PAGESIZE
6647 # endif /* PAGESIZE */
6648 # endif /* no NBPC */
6649 # endif /* no NBPG */
6650 # endif /* no EXEC_PAGESIZE */
6651 # else /* no HAVE_SYS_PARAM_H */
6652 # define getpagesize() 8192 /* punt totally */
6653 # endif /* no HAVE_SYS_PARAM_H */
6654 # endif /* no _SC_PAGESIZE */
6656 #endif /* no HAVE_GETPAGESIZE */
6661 char *data, *data2, *data3;
6665 pagesize = getpagesize ();
6667 /* First, make a file with some known garbage in it. */
6668 data = (char *) malloc (pagesize);
6671 for (i = 0; i < pagesize; ++i)
6672 *(data + i) = rand ();
6674 fd = creat ("conftest.mmap", 0600);
6677 if (write (fd, data, pagesize) != pagesize)
6681 /* Next, try to mmap the file at a fixed address which already has
6682 something else allocated at it. If we can, also make sure that
6683 we see the same garbage. */
6684 fd = open ("conftest.mmap", O_RDWR);
6687 data2 = (char *) malloc (2 * pagesize);
6690 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
6691 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6692 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6694 for (i = 0; i < pagesize; ++i)
6695 if (*(data + i) != *(data2 + i))
6698 /* Finally, make sure that changes to the mapped area do not
6699 percolate back to the file as seen by read(). (This is a bug on
6700 some variants of i386 svr4.0.) */
6701 for (i = 0; i < pagesize; ++i)
6702 *(data2 + i) = *(data2 + i) + 1;
6703 data3 = (char *) malloc (pagesize);
6706 if (read (fd, data3, pagesize) != pagesize)
6708 for (i = 0; i < pagesize; ++i)
6709 if (*(data + i) != *(data3 + i))
6715 rm -f conftest$ac_exeext
6716 if { (ac_try="$ac_link"
6718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6719 *) ac_try_echo=$ac_try;;
6721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6722 (eval "$ac_link") 2>&5
6724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6725 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6726 { (case "(($ac_try" in
6727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6728 *) ac_try_echo=$ac_try;;
6730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6731 (eval "$ac_try") 2>&5
6733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6734 (exit $ac_status); }; }; then
6735 ac_cv_func_mmap_fixed_mapped=yes
6737 echo "$as_me: program exited with status $ac_status" >&5
6738 echo "$as_me: failed program was:" >&5
6739 sed 's/^/| /' conftest.$ac_ext >&5
6742 ac_cv_func_mmap_fixed_mapped=no
6744 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6749 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
6750 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
6751 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6753 cat >>confdefs.h <<\_ACEOF
6761 { echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
6762 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6; }
6763 if test "${ac_cv_gnu_library_2_1+set}" = set; then
6764 echo $ECHO_N "(cached) $ECHO_C" >&6
6766 cat >conftest.$ac_ext <<_ACEOF
6769 cat confdefs.h >>conftest.$ac_ext
6770 cat >>conftest.$ac_ext <<_ACEOF
6771 /* end confdefs.h. */
6773 #include <features.h>
6774 #ifdef __GNU_LIBRARY__
6775 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
6781 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6782 $EGREP "Lucky GNU user" >/dev/null 2>&1; then
6783 ac_cv_gnu_library_2_1=yes
6785 ac_cv_gnu_library_2_1=no
6792 { echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
6793 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6; }
6795 GLIBC21="$ac_cv_gnu_library_2_1"
6800 { echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE" >&5
6801 echo $ECHO_N "checking whether integer division by zero raises SIGFPE... $ECHO_C" >&6; }
6802 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then
6803 echo $ECHO_N "(cached) $ECHO_C" >&6
6806 if test "$cross_compiling" = yes; then
6808 # Guess based on the CPU.
6810 alpha* | i3456786 | m68k | s390*)
6811 gt_cv_int_divbyzero_sigfpe="guessing yes";;
6813 gt_cv_int_divbyzero_sigfpe="guessing no";;
6817 cat >conftest.$ac_ext <<_ACEOF
6820 cat confdefs.h >>conftest.$ac_ext
6821 cat >>conftest.$ac_ext <<_ACEOF
6822 /* end confdefs.h. */
6829 sigfpe_handler (int sig)
6831 sigfpe_handler (sig) int sig;
6834 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
6835 exit (sig != SIGFPE);
6845 signal (SIGFPE, sigfpe_handler);
6846 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
6847 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
6848 signal (SIGTRAP, sigfpe_handler);
6850 /* Linux/SPARC yields signal SIGILL. */
6851 #if defined (__sparc__) && defined (__linux__)
6852 signal (SIGILL, sigfpe_handler);
6861 rm -f conftest$ac_exeext
6862 if { (ac_try="$ac_link"
6864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6865 *) ac_try_echo=$ac_try;;
6867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6868 (eval "$ac_link") 2>&5
6870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6871 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6872 { (case "(($ac_try" in
6873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6874 *) ac_try_echo=$ac_try;;
6876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6877 (eval "$ac_try") 2>&5
6879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6880 (exit $ac_status); }; }; then
6881 gt_cv_int_divbyzero_sigfpe=yes
6883 echo "$as_me: program exited with status $ac_status" >&5
6884 echo "$as_me: failed program was:" >&5
6885 sed 's/^/| /' conftest.$ac_ext >&5
6888 gt_cv_int_divbyzero_sigfpe=no
6890 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6896 { echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5
6897 echo "${ECHO_T}$gt_cv_int_divbyzero_sigfpe" >&6; }
6898 case "$gt_cv_int_divbyzero_sigfpe" in
6903 cat >>confdefs.h <<_ACEOF
6904 #define INTDIV0_RAISES_SIGFPE $value
6909 { echo "$as_me:$LINENO: checking for unsigned long long" >&5
6910 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6; }
6911 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
6912 echo $ECHO_N "(cached) $ECHO_C" >&6
6914 cat >conftest.$ac_ext <<_ACEOF
6917 cat confdefs.h >>conftest.$ac_ext
6918 cat >>conftest.$ac_ext <<_ACEOF
6919 /* end confdefs.h. */
6920 unsigned long long ull = 1ULL; int i = 63;
6924 unsigned long long ullmax = (unsigned long long) -1;
6925 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
6930 rm -f conftest.$ac_objext conftest$ac_exeext
6931 if { (ac_try="$ac_link"
6933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6934 *) ac_try_echo=$ac_try;;
6936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6937 (eval "$ac_link") 2>conftest.er1
6939 grep -v '^ *+' conftest.er1 >conftest.err
6941 cat conftest.err >&5
6942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6943 (exit $ac_status); } && {
6944 test -z "$ac_c_werror_flag" ||
6945 test ! -s conftest.err
6946 } && test -s conftest$ac_exeext &&
6947 $as_test_x conftest$ac_exeext; then
6948 ac_cv_type_unsigned_long_long=yes
6950 echo "$as_me: failed program was:" >&5
6951 sed 's/^/| /' conftest.$ac_ext >&5
6953 ac_cv_type_unsigned_long_long=no
6956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6957 conftest$ac_exeext conftest.$ac_ext
6959 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
6960 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6; }
6961 if test $ac_cv_type_unsigned_long_long = yes; then
6963 cat >>confdefs.h <<\_ACEOF
6964 #define HAVE_UNSIGNED_LONG_LONG 1
6972 if test $jm_ac_cv_header_inttypes_h = no && test $jm_ac_cv_header_stdint_h = no; then
6974 test $ac_cv_type_unsigned_long_long = yes \
6975 && ac_type='unsigned long long' \
6976 || ac_type='unsigned long'
6978 cat >>confdefs.h <<_ACEOF
6979 #define uintmax_t $ac_type
6984 cat >>confdefs.h <<\_ACEOF
6985 #define HAVE_UINTMAX_T 1
6991 { echo "$as_me:$LINENO: checking for inttypes.h" >&5
6992 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6; }
6993 if test "${gt_cv_header_inttypes_h+set}" = set; then
6994 echo $ECHO_N "(cached) $ECHO_C" >&6
6997 cat >conftest.$ac_ext <<_ACEOF
7000 cat confdefs.h >>conftest.$ac_ext
7001 cat >>conftest.$ac_ext <<_ACEOF
7002 /* end confdefs.h. */
7003 #include <sys/types.h>
7004 #include <inttypes.h>
7013 rm -f conftest.$ac_objext
7014 if { (ac_try="$ac_compile"
7016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7017 *) ac_try_echo=$ac_try;;
7019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7020 (eval "$ac_compile") 2>conftest.er1
7022 grep -v '^ *+' conftest.er1 >conftest.err
7024 cat conftest.err >&5
7025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7026 (exit $ac_status); } && {
7027 test -z "$ac_c_werror_flag" ||
7028 test ! -s conftest.err
7029 } && test -s conftest.$ac_objext; then
7030 gt_cv_header_inttypes_h=yes
7032 echo "$as_me: failed program was:" >&5
7033 sed 's/^/| /' conftest.$ac_ext >&5
7035 gt_cv_header_inttypes_h=no
7038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7041 { echo "$as_me:$LINENO: result: $gt_cv_header_inttypes_h" >&5
7042 echo "${ECHO_T}$gt_cv_header_inttypes_h" >&6; }
7043 if test $gt_cv_header_inttypes_h = yes; then
7045 cat >>confdefs.h <<_ACEOF
7046 #define HAVE_INTTYPES_H 1
7053 if test $gt_cv_header_inttypes_h = yes; then
7054 { echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5
7055 echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6; }
7056 if test "${gt_cv_inttypes_pri_broken+set}" = set; then
7057 echo $ECHO_N "(cached) $ECHO_C" >&6
7060 cat >conftest.$ac_ext <<_ACEOF
7063 cat confdefs.h >>conftest.$ac_ext
7064 cat >>conftest.$ac_ext <<_ACEOF
7065 /* end confdefs.h. */
7066 #include <inttypes.h>
7079 rm -f conftest.$ac_objext
7080 if { (ac_try="$ac_compile"
7082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7083 *) ac_try_echo=$ac_try;;
7085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7086 (eval "$ac_compile") 2>conftest.er1
7088 grep -v '^ *+' conftest.er1 >conftest.err
7090 cat conftest.err >&5
7091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7092 (exit $ac_status); } && {
7093 test -z "$ac_c_werror_flag" ||
7094 test ! -s conftest.err
7095 } && test -s conftest.$ac_objext; then
7096 gt_cv_inttypes_pri_broken=no
7098 echo "$as_me: failed program was:" >&5
7099 sed 's/^/| /' conftest.$ac_ext >&5
7101 gt_cv_inttypes_pri_broken=yes
7104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7107 { echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5
7108 echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6; }
7110 if test "$gt_cv_inttypes_pri_broken" = yes; then
7112 cat >>confdefs.h <<_ACEOF
7113 #define PRI_MACROS_BROKEN 1
7120 for ac_header in stdint.h
7122 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7123 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7124 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7125 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7126 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7127 echo $ECHO_N "(cached) $ECHO_C" >&6
7129 ac_res=`eval echo '${'$as_ac_Header'}'`
7130 { echo "$as_me:$LINENO: result: $ac_res" >&5
7131 echo "${ECHO_T}$ac_res" >&6; }
7133 # Is the header compilable?
7134 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7135 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7136 cat >conftest.$ac_ext <<_ACEOF
7139 cat confdefs.h >>conftest.$ac_ext
7140 cat >>conftest.$ac_ext <<_ACEOF
7141 /* end confdefs.h. */
7142 $ac_includes_default
7143 #include <$ac_header>
7145 rm -f conftest.$ac_objext
7146 if { (ac_try="$ac_compile"
7148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7149 *) ac_try_echo=$ac_try;;
7151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7152 (eval "$ac_compile") 2>conftest.er1
7154 grep -v '^ *+' conftest.er1 >conftest.err
7156 cat conftest.err >&5
7157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7158 (exit $ac_status); } && {
7159 test -z "$ac_c_werror_flag" ||
7160 test ! -s conftest.err
7161 } && test -s conftest.$ac_objext; then
7162 ac_header_compiler=yes
7164 echo "$as_me: failed program was:" >&5
7165 sed 's/^/| /' conftest.$ac_ext >&5
7167 ac_header_compiler=no
7170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7171 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7172 echo "${ECHO_T}$ac_header_compiler" >&6; }
7174 # Is the header present?
7175 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7176 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7177 cat >conftest.$ac_ext <<_ACEOF
7180 cat confdefs.h >>conftest.$ac_ext
7181 cat >>conftest.$ac_ext <<_ACEOF
7182 /* end confdefs.h. */
7183 #include <$ac_header>
7185 if { (ac_try="$ac_cpp conftest.$ac_ext"
7187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7188 *) ac_try_echo=$ac_try;;
7190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7191 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7193 grep -v '^ *+' conftest.er1 >conftest.err
7195 cat conftest.err >&5
7196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7197 (exit $ac_status); } >/dev/null && {
7198 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7199 test ! -s conftest.err
7201 ac_header_preproc=yes
7203 echo "$as_me: failed program was:" >&5
7204 sed 's/^/| /' conftest.$ac_ext >&5
7206 ac_header_preproc=no
7209 rm -f conftest.err conftest.$ac_ext
7210 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7211 echo "${ECHO_T}$ac_header_preproc" >&6; }
7213 # So? What about this header?
7214 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7216 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7217 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7218 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7219 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7220 ac_header_preproc=yes
7223 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7224 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7225 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7226 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7227 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7228 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7229 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7230 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7231 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7232 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7233 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7234 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7238 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7240 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7241 echo $ECHO_N "(cached) $ECHO_C" >&6
7243 eval "$as_ac_Header=\$ac_header_preproc"
7245 ac_res=`eval echo '${'$as_ac_Header'}'`
7246 { echo "$as_me:$LINENO: result: $ac_res" >&5
7247 echo "${ECHO_T}$ac_res" >&6; }
7250 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7251 cat >>confdefs.h <<_ACEOF
7252 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7259 { echo "$as_me:$LINENO: checking for SIZE_MAX" >&5
7260 echo $ECHO_N "checking for SIZE_MAX... $ECHO_C" >&6; }
7262 cat >conftest.$ac_ext <<_ACEOF
7265 cat confdefs.h >>conftest.$ac_ext
7266 cat >>conftest.$ac_ext <<_ACEOF
7267 /* end confdefs.h. */
7278 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7279 $EGREP "Found it" >/dev/null 2>&1; then
7284 if test -z "$result"; then
7285 if test "$cross_compiling" = yes; then
7286 # Depending upon the size, compute the lo and hi bounds.
7287 cat >conftest.$ac_ext <<_ACEOF
7290 cat confdefs.h >>conftest.$ac_ext
7291 cat >>conftest.$ac_ext <<_ACEOF
7292 /* end confdefs.h. */
7297 static int test_array [1 - 2 * !((~(size_t)0 / 10) >= 0)];
7304 rm -f conftest.$ac_objext
7305 if { (ac_try="$ac_compile"
7307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7308 *) ac_try_echo=$ac_try;;
7310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7311 (eval "$ac_compile") 2>conftest.er1
7313 grep -v '^ *+' conftest.er1 >conftest.err
7315 cat conftest.err >&5
7316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7317 (exit $ac_status); } && {
7318 test -z "$ac_c_werror_flag" ||
7319 test ! -s conftest.err
7320 } && test -s conftest.$ac_objext; then
7323 cat >conftest.$ac_ext <<_ACEOF
7326 cat confdefs.h >>conftest.$ac_ext
7327 cat >>conftest.$ac_ext <<_ACEOF
7328 /* end confdefs.h. */
7333 static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)];
7340 rm -f conftest.$ac_objext
7341 if { (ac_try="$ac_compile"
7343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7344 *) ac_try_echo=$ac_try;;
7346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7347 (eval "$ac_compile") 2>conftest.er1
7349 grep -v '^ *+' conftest.er1 >conftest.err
7351 cat conftest.err >&5
7352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7353 (exit $ac_status); } && {
7354 test -z "$ac_c_werror_flag" ||
7355 test ! -s conftest.err
7356 } && test -s conftest.$ac_objext; then
7357 ac_hi=$ac_mid; break
7359 echo "$as_me: failed program was:" >&5
7360 sed 's/^/| /' conftest.$ac_ext >&5
7362 ac_lo=`expr $ac_mid + 1`
7363 if test $ac_lo -le $ac_mid; then
7367 ac_mid=`expr 2 '*' $ac_mid + 1`
7370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7373 echo "$as_me: failed program was:" >&5
7374 sed 's/^/| /' conftest.$ac_ext >&5
7376 cat >conftest.$ac_ext <<_ACEOF
7379 cat confdefs.h >>conftest.$ac_ext
7380 cat >>conftest.$ac_ext <<_ACEOF
7381 /* end confdefs.h. */
7386 static int test_array [1 - 2 * !((~(size_t)0 / 10) < 0)];
7393 rm -f conftest.$ac_objext
7394 if { (ac_try="$ac_compile"
7396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7397 *) ac_try_echo=$ac_try;;
7399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7400 (eval "$ac_compile") 2>conftest.er1
7402 grep -v '^ *+' conftest.er1 >conftest.err
7404 cat conftest.err >&5
7405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7406 (exit $ac_status); } && {
7407 test -z "$ac_c_werror_flag" ||
7408 test ! -s conftest.err
7409 } && test -s conftest.$ac_objext; then
7412 cat >conftest.$ac_ext <<_ACEOF
7415 cat confdefs.h >>conftest.$ac_ext
7416 cat >>conftest.$ac_ext <<_ACEOF
7417 /* end confdefs.h. */
7422 static int test_array [1 - 2 * !((~(size_t)0 / 10) >= $ac_mid)];
7429 rm -f conftest.$ac_objext
7430 if { (ac_try="$ac_compile"
7432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7433 *) ac_try_echo=$ac_try;;
7435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7436 (eval "$ac_compile") 2>conftest.er1
7438 grep -v '^ *+' conftest.er1 >conftest.err
7440 cat conftest.err >&5
7441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7442 (exit $ac_status); } && {
7443 test -z "$ac_c_werror_flag" ||
7444 test ! -s conftest.err
7445 } && test -s conftest.$ac_objext; then
7446 ac_lo=$ac_mid; break
7448 echo "$as_me: failed program was:" >&5
7449 sed 's/^/| /' conftest.$ac_ext >&5
7451 ac_hi=`expr '(' $ac_mid ')' - 1`
7452 if test $ac_mid -le $ac_hi; then
7456 ac_mid=`expr 2 '*' $ac_mid`
7459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7462 echo "$as_me: failed program was:" >&5
7463 sed 's/^/| /' conftest.$ac_ext >&5
7468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7472 # Binary search between lo and hi bounds.
7473 while test "x$ac_lo" != "x$ac_hi"; do
7474 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7475 cat >conftest.$ac_ext <<_ACEOF
7478 cat confdefs.h >>conftest.$ac_ext
7479 cat >>conftest.$ac_ext <<_ACEOF
7480 /* end confdefs.h. */
7485 static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)];
7492 rm -f conftest.$ac_objext
7493 if { (ac_try="$ac_compile"
7495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7496 *) ac_try_echo=$ac_try;;
7498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7499 (eval "$ac_compile") 2>conftest.er1
7501 grep -v '^ *+' conftest.er1 >conftest.err
7503 cat conftest.err >&5
7504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7505 (exit $ac_status); } && {
7506 test -z "$ac_c_werror_flag" ||
7507 test ! -s conftest.err
7508 } && test -s conftest.$ac_objext; then
7511 echo "$as_me: failed program was:" >&5
7512 sed 's/^/| /' conftest.$ac_ext >&5
7514 ac_lo=`expr '(' $ac_mid ')' + 1`
7517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7524 cat >conftest.$ac_ext <<_ACEOF
7527 cat confdefs.h >>conftest.$ac_ext
7528 cat >>conftest.$ac_ext <<_ACEOF
7529 /* end confdefs.h. */
7531 static long int longval () { return ~(size_t)0 / 10; }
7532 static unsigned long int ulongval () { return ~(size_t)0 / 10; }
7539 FILE *f = fopen ("conftest.val", "w");
7542 if ((~(size_t)0 / 10) < 0)
7544 long int i = longval ();
7545 if (i != (~(size_t)0 / 10))
7547 fprintf (f, "%ld\n", i);
7551 unsigned long int i = ulongval ();
7552 if (i != (~(size_t)0 / 10))
7554 fprintf (f, "%lu\n", i);
7556 return ferror (f) || fclose (f) != 0;
7562 rm -f conftest$ac_exeext
7563 if { (ac_try="$ac_link"
7565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7566 *) ac_try_echo=$ac_try;;
7568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7569 (eval "$ac_link") 2>&5
7571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7572 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7573 { (case "(($ac_try" in
7574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7575 *) ac_try_echo=$ac_try;;
7577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7578 (eval "$ac_try") 2>&5
7580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7581 (exit $ac_status); }; }; then
7582 res_hi=`cat conftest.val`
7584 echo "$as_me: program exited with status $ac_status" >&5
7585 echo "$as_me: failed program was:" >&5
7586 sed 's/^/| /' conftest.$ac_ext >&5
7591 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7595 if test "$cross_compiling" = yes; then
7596 # Depending upon the size, compute the lo and hi bounds.
7597 cat >conftest.$ac_ext <<_ACEOF
7600 cat confdefs.h >>conftest.$ac_ext
7601 cat >>conftest.$ac_ext <<_ACEOF
7602 /* end confdefs.h. */
7607 static int test_array [1 - 2 * !((~(size_t)0 % 10) >= 0)];
7614 rm -f conftest.$ac_objext
7615 if { (ac_try="$ac_compile"
7617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7618 *) ac_try_echo=$ac_try;;
7620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7621 (eval "$ac_compile") 2>conftest.er1
7623 grep -v '^ *+' conftest.er1 >conftest.err
7625 cat conftest.err >&5
7626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7627 (exit $ac_status); } && {
7628 test -z "$ac_c_werror_flag" ||
7629 test ! -s conftest.err
7630 } && test -s conftest.$ac_objext; then
7633 cat >conftest.$ac_ext <<_ACEOF
7636 cat confdefs.h >>conftest.$ac_ext
7637 cat >>conftest.$ac_ext <<_ACEOF
7638 /* end confdefs.h. */
7643 static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)];
7650 rm -f conftest.$ac_objext
7651 if { (ac_try="$ac_compile"
7653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7654 *) ac_try_echo=$ac_try;;
7656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7657 (eval "$ac_compile") 2>conftest.er1
7659 grep -v '^ *+' conftest.er1 >conftest.err
7661 cat conftest.err >&5
7662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7663 (exit $ac_status); } && {
7664 test -z "$ac_c_werror_flag" ||
7665 test ! -s conftest.err
7666 } && test -s conftest.$ac_objext; then
7667 ac_hi=$ac_mid; break
7669 echo "$as_me: failed program was:" >&5
7670 sed 's/^/| /' conftest.$ac_ext >&5
7672 ac_lo=`expr $ac_mid + 1`
7673 if test $ac_lo -le $ac_mid; then
7677 ac_mid=`expr 2 '*' $ac_mid + 1`
7680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7683 echo "$as_me: failed program was:" >&5
7684 sed 's/^/| /' conftest.$ac_ext >&5
7686 cat >conftest.$ac_ext <<_ACEOF
7689 cat confdefs.h >>conftest.$ac_ext
7690 cat >>conftest.$ac_ext <<_ACEOF
7691 /* end confdefs.h. */
7696 static int test_array [1 - 2 * !((~(size_t)0 % 10) < 0)];
7703 rm -f conftest.$ac_objext
7704 if { (ac_try="$ac_compile"
7706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7707 *) ac_try_echo=$ac_try;;
7709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7710 (eval "$ac_compile") 2>conftest.er1
7712 grep -v '^ *+' conftest.er1 >conftest.err
7714 cat conftest.err >&5
7715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7716 (exit $ac_status); } && {
7717 test -z "$ac_c_werror_flag" ||
7718 test ! -s conftest.err
7719 } && test -s conftest.$ac_objext; then
7722 cat >conftest.$ac_ext <<_ACEOF
7725 cat confdefs.h >>conftest.$ac_ext
7726 cat >>conftest.$ac_ext <<_ACEOF
7727 /* end confdefs.h. */
7732 static int test_array [1 - 2 * !((~(size_t)0 % 10) >= $ac_mid)];
7739 rm -f conftest.$ac_objext
7740 if { (ac_try="$ac_compile"
7742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7743 *) ac_try_echo=$ac_try;;
7745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7746 (eval "$ac_compile") 2>conftest.er1
7748 grep -v '^ *+' conftest.er1 >conftest.err
7750 cat conftest.err >&5
7751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7752 (exit $ac_status); } && {
7753 test -z "$ac_c_werror_flag" ||
7754 test ! -s conftest.err
7755 } && test -s conftest.$ac_objext; then
7756 ac_lo=$ac_mid; break
7758 echo "$as_me: failed program was:" >&5
7759 sed 's/^/| /' conftest.$ac_ext >&5
7761 ac_hi=`expr '(' $ac_mid ')' - 1`
7762 if test $ac_mid -le $ac_hi; then
7766 ac_mid=`expr 2 '*' $ac_mid`
7769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7772 echo "$as_me: failed program was:" >&5
7773 sed 's/^/| /' conftest.$ac_ext >&5
7778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7782 # Binary search between lo and hi bounds.
7783 while test "x$ac_lo" != "x$ac_hi"; do
7784 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7785 cat >conftest.$ac_ext <<_ACEOF
7788 cat confdefs.h >>conftest.$ac_ext
7789 cat >>conftest.$ac_ext <<_ACEOF
7790 /* end confdefs.h. */
7795 static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)];
7802 rm -f conftest.$ac_objext
7803 if { (ac_try="$ac_compile"
7805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7806 *) ac_try_echo=$ac_try;;
7808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7809 (eval "$ac_compile") 2>conftest.er1
7811 grep -v '^ *+' conftest.er1 >conftest.err
7813 cat conftest.err >&5
7814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7815 (exit $ac_status); } && {
7816 test -z "$ac_c_werror_flag" ||
7817 test ! -s conftest.err
7818 } && test -s conftest.$ac_objext; then
7821 echo "$as_me: failed program was:" >&5
7822 sed 's/^/| /' conftest.$ac_ext >&5
7824 ac_lo=`expr '(' $ac_mid ')' + 1`
7827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7834 cat >conftest.$ac_ext <<_ACEOF
7837 cat confdefs.h >>conftest.$ac_ext
7838 cat >>conftest.$ac_ext <<_ACEOF
7839 /* end confdefs.h. */
7841 static long int longval () { return ~(size_t)0 % 10; }
7842 static unsigned long int ulongval () { return ~(size_t)0 % 10; }
7849 FILE *f = fopen ("conftest.val", "w");
7852 if ((~(size_t)0 % 10) < 0)
7854 long int i = longval ();
7855 if (i != (~(size_t)0 % 10))
7857 fprintf (f, "%ld\n", i);
7861 unsigned long int i = ulongval ();
7862 if (i != (~(size_t)0 % 10))
7864 fprintf (f, "%lu\n", i);
7866 return ferror (f) || fclose (f) != 0;
7872 rm -f conftest$ac_exeext
7873 if { (ac_try="$ac_link"
7875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7876 *) ac_try_echo=$ac_try;;
7878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7879 (eval "$ac_link") 2>&5
7881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7882 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7883 { (case "(($ac_try" in
7884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7885 *) ac_try_echo=$ac_try;;
7887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7888 (eval "$ac_try") 2>&5
7890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7891 (exit $ac_status); }; }; then
7892 res_lo=`cat conftest.val`
7894 echo "$as_me: program exited with status $ac_status" >&5
7895 echo "$as_me: failed program was:" >&5
7896 sed 's/^/| /' conftest.$ac_ext >&5
7901 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7905 if test "$cross_compiling" = yes; then
7906 # Depending upon the size, compute the lo and hi bounds.
7907 cat >conftest.$ac_ext <<_ACEOF
7910 cat confdefs.h >>conftest.$ac_ext
7911 cat >>conftest.$ac_ext <<_ACEOF
7912 /* end confdefs.h. */
7917 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= 0)];
7924 rm -f conftest.$ac_objext
7925 if { (ac_try="$ac_compile"
7927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7928 *) ac_try_echo=$ac_try;;
7930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7931 (eval "$ac_compile") 2>conftest.er1
7933 grep -v '^ *+' conftest.er1 >conftest.err
7935 cat conftest.err >&5
7936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7937 (exit $ac_status); } && {
7938 test -z "$ac_c_werror_flag" ||
7939 test ! -s conftest.err
7940 } && test -s conftest.$ac_objext; then
7943 cat >conftest.$ac_ext <<_ACEOF
7946 cat confdefs.h >>conftest.$ac_ext
7947 cat >>conftest.$ac_ext <<_ACEOF
7948 /* end confdefs.h. */
7953 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
7960 rm -f conftest.$ac_objext
7961 if { (ac_try="$ac_compile"
7963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7964 *) ac_try_echo=$ac_try;;
7966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7967 (eval "$ac_compile") 2>conftest.er1
7969 grep -v '^ *+' conftest.er1 >conftest.err
7971 cat conftest.err >&5
7972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7973 (exit $ac_status); } && {
7974 test -z "$ac_c_werror_flag" ||
7975 test ! -s conftest.err
7976 } && test -s conftest.$ac_objext; then
7977 ac_hi=$ac_mid; break
7979 echo "$as_me: failed program was:" >&5
7980 sed 's/^/| /' conftest.$ac_ext >&5
7982 ac_lo=`expr $ac_mid + 1`
7983 if test $ac_lo -le $ac_mid; then
7987 ac_mid=`expr 2 '*' $ac_mid + 1`
7990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7993 echo "$as_me: failed program was:" >&5
7994 sed 's/^/| /' conftest.$ac_ext >&5
7996 cat >conftest.$ac_ext <<_ACEOF
7999 cat confdefs.h >>conftest.$ac_ext
8000 cat >>conftest.$ac_ext <<_ACEOF
8001 /* end confdefs.h. */
8006 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) < 0)];
8013 rm -f conftest.$ac_objext
8014 if { (ac_try="$ac_compile"
8016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8017 *) ac_try_echo=$ac_try;;
8019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8020 (eval "$ac_compile") 2>conftest.er1
8022 grep -v '^ *+' conftest.er1 >conftest.err
8024 cat conftest.err >&5
8025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8026 (exit $ac_status); } && {
8027 test -z "$ac_c_werror_flag" ||
8028 test ! -s conftest.err
8029 } && test -s conftest.$ac_objext; then
8032 cat >conftest.$ac_ext <<_ACEOF
8035 cat confdefs.h >>conftest.$ac_ext
8036 cat >>conftest.$ac_ext <<_ACEOF
8037 /* end confdefs.h. */
8042 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= $ac_mid)];
8049 rm -f conftest.$ac_objext
8050 if { (ac_try="$ac_compile"
8052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8053 *) ac_try_echo=$ac_try;;
8055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8056 (eval "$ac_compile") 2>conftest.er1
8058 grep -v '^ *+' conftest.er1 >conftest.err
8060 cat conftest.err >&5
8061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8062 (exit $ac_status); } && {
8063 test -z "$ac_c_werror_flag" ||
8064 test ! -s conftest.err
8065 } && test -s conftest.$ac_objext; then
8066 ac_lo=$ac_mid; break
8068 echo "$as_me: failed program was:" >&5
8069 sed 's/^/| /' conftest.$ac_ext >&5
8071 ac_hi=`expr '(' $ac_mid ')' - 1`
8072 if test $ac_mid -le $ac_hi; then
8076 ac_mid=`expr 2 '*' $ac_mid`
8079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8082 echo "$as_me: failed program was:" >&5
8083 sed 's/^/| /' conftest.$ac_ext >&5
8088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8092 # Binary search between lo and hi bounds.
8093 while test "x$ac_lo" != "x$ac_hi"; do
8094 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8095 cat >conftest.$ac_ext <<_ACEOF
8098 cat confdefs.h >>conftest.$ac_ext
8099 cat >>conftest.$ac_ext <<_ACEOF
8100 /* end confdefs.h. */
8105 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
8112 rm -f conftest.$ac_objext
8113 if { (ac_try="$ac_compile"
8115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8116 *) ac_try_echo=$ac_try;;
8118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8119 (eval "$ac_compile") 2>conftest.er1
8121 grep -v '^ *+' conftest.er1 >conftest.err
8123 cat conftest.err >&5
8124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8125 (exit $ac_status); } && {
8126 test -z "$ac_c_werror_flag" ||
8127 test ! -s conftest.err
8128 } && test -s conftest.$ac_objext; then
8131 echo "$as_me: failed program was:" >&5
8132 sed 's/^/| /' conftest.$ac_ext >&5
8134 ac_lo=`expr '(' $ac_mid ')' + 1`
8137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8140 ?*) fits_in_uint=$ac_lo;;
8144 cat >conftest.$ac_ext <<_ACEOF
8147 cat confdefs.h >>conftest.$ac_ext
8148 cat >>conftest.$ac_ext <<_ACEOF
8149 /* end confdefs.h. */
8151 static long int longval () { return sizeof (size_t) <= sizeof (unsigned int); }
8152 static unsigned long int ulongval () { return sizeof (size_t) <= sizeof (unsigned int); }
8159 FILE *f = fopen ("conftest.val", "w");
8162 if ((sizeof (size_t) <= sizeof (unsigned int)) < 0)
8164 long int i = longval ();
8165 if (i != (sizeof (size_t) <= sizeof (unsigned int)))
8167 fprintf (f, "%ld\n", i);
8171 unsigned long int i = ulongval ();
8172 if (i != (sizeof (size_t) <= sizeof (unsigned int)))
8174 fprintf (f, "%lu\n", i);
8176 return ferror (f) || fclose (f) != 0;
8182 rm -f conftest$ac_exeext
8183 if { (ac_try="$ac_link"
8185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8186 *) ac_try_echo=$ac_try;;
8188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8189 (eval "$ac_link") 2>&5
8191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8192 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8193 { (case "(($ac_try" in
8194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8195 *) ac_try_echo=$ac_try;;
8197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8198 (eval "$ac_try") 2>&5
8200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8201 (exit $ac_status); }; }; then
8202 fits_in_uint=`cat conftest.val`
8204 echo "$as_me: program exited with status $ac_status" >&5
8205 echo "$as_me: failed program was:" >&5
8206 sed 's/^/| /' conftest.$ac_ext >&5
8211 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8215 if test "$fits_in_uint" = 1; then
8216 cat >conftest.$ac_ext <<_ACEOF
8219 cat confdefs.h >>conftest.$ac_ext
8220 cat >>conftest.$ac_ext <<_ACEOF
8221 /* end confdefs.h. */
8224 extern unsigned long foo;
8234 rm -f conftest.$ac_objext
8235 if { (ac_try="$ac_compile"
8237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8238 *) ac_try_echo=$ac_try;;
8240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8241 (eval "$ac_compile") 2>conftest.er1
8243 grep -v '^ *+' conftest.er1 >conftest.err
8245 cat conftest.err >&5
8246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8247 (exit $ac_status); } && {
8248 test -z "$ac_c_werror_flag" ||
8249 test ! -s conftest.err
8250 } && test -s conftest.$ac_objext; then
8253 echo "$as_me: failed program was:" >&5
8254 sed 's/^/| /' conftest.$ac_ext >&5
8259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8261 if test -z "$result"; then
8262 if test "$fits_in_uint" = 1; then
8263 result="$res_hi$res_lo"U
8265 result="$res_hi$res_lo"UL
8271 { echo "$as_me:$LINENO: result: $result" >&5
8272 echo "${ECHO_T}$result" >&6; }
8273 if test "$result" != yes; then
8275 cat >>confdefs.h <<_ACEOF
8276 #define SIZE_MAX $result
8284 for ac_header in stdint.h
8286 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8287 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8288 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8289 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8290 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8291 echo $ECHO_N "(cached) $ECHO_C" >&6
8293 ac_res=`eval echo '${'$as_ac_Header'}'`
8294 { echo "$as_me:$LINENO: result: $ac_res" >&5
8295 echo "${ECHO_T}$ac_res" >&6; }
8297 # Is the header compilable?
8298 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8299 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8300 cat >conftest.$ac_ext <<_ACEOF
8303 cat confdefs.h >>conftest.$ac_ext
8304 cat >>conftest.$ac_ext <<_ACEOF
8305 /* end confdefs.h. */
8306 $ac_includes_default
8307 #include <$ac_header>
8309 rm -f conftest.$ac_objext
8310 if { (ac_try="$ac_compile"
8312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8313 *) ac_try_echo=$ac_try;;
8315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8316 (eval "$ac_compile") 2>conftest.er1
8318 grep -v '^ *+' conftest.er1 >conftest.err
8320 cat conftest.err >&5
8321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8322 (exit $ac_status); } && {
8323 test -z "$ac_c_werror_flag" ||
8324 test ! -s conftest.err
8325 } && test -s conftest.$ac_objext; then
8326 ac_header_compiler=yes
8328 echo "$as_me: failed program was:" >&5
8329 sed 's/^/| /' conftest.$ac_ext >&5
8331 ac_header_compiler=no
8334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8335 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8336 echo "${ECHO_T}$ac_header_compiler" >&6; }
8338 # Is the header present?
8339 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8340 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8341 cat >conftest.$ac_ext <<_ACEOF
8344 cat confdefs.h >>conftest.$ac_ext
8345 cat >>conftest.$ac_ext <<_ACEOF
8346 /* end confdefs.h. */
8347 #include <$ac_header>
8349 if { (ac_try="$ac_cpp conftest.$ac_ext"
8351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8352 *) ac_try_echo=$ac_try;;
8354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8355 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8357 grep -v '^ *+' conftest.er1 >conftest.err
8359 cat conftest.err >&5
8360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8361 (exit $ac_status); } >/dev/null && {
8362 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8363 test ! -s conftest.err
8365 ac_header_preproc=yes
8367 echo "$as_me: failed program was:" >&5
8368 sed 's/^/| /' conftest.$ac_ext >&5
8370 ac_header_preproc=no
8373 rm -f conftest.err conftest.$ac_ext
8374 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8375 echo "${ECHO_T}$ac_header_preproc" >&6; }
8377 # So? What about this header?
8378 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8380 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8381 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8382 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8383 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8384 ac_header_preproc=yes
8387 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8388 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8389 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8390 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8391 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8392 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8393 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8394 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8395 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8396 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8397 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8398 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8402 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8403 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8404 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8405 echo $ECHO_N "(cached) $ECHO_C" >&6
8407 eval "$as_ac_Header=\$ac_header_preproc"
8409 ac_res=`eval echo '${'$as_ac_Header'}'`
8410 { echo "$as_me:$LINENO: result: $ac_res" >&5
8411 echo "${ECHO_T}$ac_res" >&6; }
8414 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8415 cat >>confdefs.h <<_ACEOF
8416 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8425 if test "X$prefix" = "XNONE"; then
8426 acl_final_prefix="$ac_default_prefix"
8428 acl_final_prefix="$prefix"
8430 if test "X$exec_prefix" = "XNONE"; then
8431 acl_final_exec_prefix='${prefix}'
8433 acl_final_exec_prefix="$exec_prefix"
8435 acl_save_prefix="$prefix"
8436 prefix="$acl_final_prefix"
8437 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
8438 prefix="$acl_save_prefix"
8441 # Check whether --with-gnu-ld was given.
8442 if test "${with_gnu_ld+set}" = set; then
8443 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
8448 # Prepare PATH_SEPARATOR.
8449 # The user is always right.
8450 if test "${PATH_SEPARATOR+set}" != set; then
8451 echo "#! /bin/sh" >conf$$.sh
8452 echo "exit 0" >>conf$$.sh
8454 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8462 if test "$GCC" = yes; then
8463 # Check if gcc -print-prog-name=ld gives a path.
8464 { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
8465 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
8468 # gcc leaves a trailing carriage return which upsets mingw
8469 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8471 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
8474 # Accept absolute paths.
8475 [\\/]* | [A-Za-z]:[\\/]*)
8476 re_direlt='/[^/][^/]*/\.\./'
8477 # Canonicalize the path of ld
8478 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
8479 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
8480 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
8482 test -z "$LD" && LD="$ac_prog"
8485 # If it fails, then pretend we aren't using GCC.
8489 # If it is relative, then search for the first ld in PATH.
8493 elif test "$with_gnu_ld" = yes; then
8494 { echo "$as_me:$LINENO: checking for GNU ld" >&5
8495 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
8497 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
8498 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
8500 if test "${acl_cv_path_LD+set}" = set; then
8501 echo $ECHO_N "(cached) $ECHO_C" >&6
8503 if test -z "$LD"; then
8504 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
8505 for ac_dir in $PATH; do
8506 test -z "$ac_dir" && ac_dir=.
8507 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
8508 acl_cv_path_LD="$ac_dir/$ac_prog"
8509 # Check to see if the program is GNU ld. I'd rather use --version,
8510 # but apparently some GNU ld's only accept -v.
8511 # Break only if it was the GNU/non-GNU ld that we prefer.
8512 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
8513 *GNU* | *'with BFD'*)
8514 test "$with_gnu_ld" != no && break ;;
8516 test "$with_gnu_ld" != yes && break ;;
8522 acl_cv_path_LD="$LD" # Let the user override the test with a path.
8526 LD="$acl_cv_path_LD"
8527 if test -n "$LD"; then
8528 { echo "$as_me:$LINENO: result: $LD" >&5
8529 echo "${ECHO_T}$LD" >&6; }
8531 { echo "$as_me:$LINENO: result: no" >&5
8532 echo "${ECHO_T}no" >&6; }
8534 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
8535 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
8536 { (exit 1); exit 1; }; }
8537 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
8538 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
8539 if test "${acl_cv_prog_gnu_ld+set}" = set; then
8540 echo $ECHO_N "(cached) $ECHO_C" >&6
8542 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
8543 case `$LD -v 2>&1 </dev/null` in
8544 *GNU* | *'with BFD'*)
8545 acl_cv_prog_gnu_ld=yes ;;
8547 acl_cv_prog_gnu_ld=no ;;
8550 { echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
8551 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; }
8552 with_gnu_ld=$acl_cv_prog_gnu_ld
8556 { echo "$as_me:$LINENO: checking for shared library run path origin" >&5
8557 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; }
8558 if test "${acl_cv_rpath+set}" = set; then
8559 echo $ECHO_N "(cached) $ECHO_C" >&6
8562 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
8563 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
8569 { echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
8570 echo "${ECHO_T}$acl_cv_rpath" >&6; }
8572 libext="$acl_cv_libext"
8573 shlibext="$acl_cv_shlibext"
8574 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
8575 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
8576 hardcode_direct="$acl_cv_hardcode_direct"
8577 hardcode_minus_L="$acl_cv_hardcode_minus_L"
8578 # Check whether --enable-rpath was given.
8579 if test "${enable_rpath+set}" = set; then
8580 enableval=$enable_rpath; :
8594 acl_save_prefix="$prefix"
8595 prefix="$acl_final_prefix"
8596 acl_save_exec_prefix="$exec_prefix"
8597 exec_prefix="$acl_final_exec_prefix"
8599 eval additional_includedir=\"$includedir\"
8600 eval additional_libdir=\"$libdir\"
8602 exec_prefix="$acl_save_exec_prefix"
8603 prefix="$acl_save_prefix"
8606 # Check whether --with-libiconv-prefix was given.
8607 if test "${with_libiconv_prefix+set}" = set; then
8608 withval=$with_libiconv_prefix;
8609 if test "X$withval" = "Xno"; then
8612 if test "X$withval" = "X"; then
8614 acl_save_prefix="$prefix"
8615 prefix="$acl_final_prefix"
8616 acl_save_exec_prefix="$exec_prefix"
8617 exec_prefix="$acl_final_exec_prefix"
8619 eval additional_includedir=\"$includedir\"
8620 eval additional_libdir=\"$libdir\"
8622 exec_prefix="$acl_save_exec_prefix"
8623 prefix="$acl_save_prefix"
8626 additional_includedir="$withval/include"
8627 additional_libdir="$withval/lib"
8638 names_already_handled=
8639 names_next_round='iconv '
8640 while test -n "$names_next_round"; do
8641 names_this_round="$names_next_round"
8643 for name in $names_this_round; do
8645 for n in $names_already_handled; do
8646 if test "$n" = "$name"; then
8651 if test -z "$already_handled"; then
8652 names_already_handled="$names_already_handled $name"
8653 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
8654 eval value=\"\$HAVE_LIB$uppername\"
8655 if test -n "$value"; then
8656 if test "$value" = yes; then
8657 eval value=\"\$LIB$uppername\"
8658 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
8659 eval value=\"\$LTLIB$uppername\"
8660 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
8669 if test $use_additional = yes; then
8670 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
8671 found_dir="$additional_libdir"
8672 found_so="$additional_libdir/lib$name.$shlibext"
8673 if test -f "$additional_libdir/lib$name.la"; then
8674 found_la="$additional_libdir/lib$name.la"
8677 if test -f "$additional_libdir/lib$name.$libext"; then
8678 found_dir="$additional_libdir"
8679 found_a="$additional_libdir/lib$name.$libext"
8680 if test -f "$additional_libdir/lib$name.la"; then
8681 found_la="$additional_libdir/lib$name.la"
8686 if test "X$found_dir" = "X"; then
8687 for x in $LDFLAGS $LTLIBICONV; do
8689 acl_save_prefix="$prefix"
8690 prefix="$acl_final_prefix"
8691 acl_save_exec_prefix="$exec_prefix"
8692 exec_prefix="$acl_final_exec_prefix"
8694 exec_prefix="$acl_save_exec_prefix"
8695 prefix="$acl_save_prefix"
8699 dir=`echo "X$x" | sed -e 's/^X-L//'`
8700 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
8702 found_so="$dir/lib$name.$shlibext"
8703 if test -f "$dir/lib$name.la"; then
8704 found_la="$dir/lib$name.la"
8707 if test -f "$dir/lib$name.$libext"; then
8709 found_a="$dir/lib$name.$libext"
8710 if test -f "$dir/lib$name.la"; then
8711 found_la="$dir/lib$name.la"
8717 if test "X$found_dir" != "X"; then
8722 if test "X$found_dir" != "X"; then
8723 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
8724 if test "X$found_so" != "X"; then
8725 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
8726 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
8729 for x in $ltrpathdirs; do
8730 if test "X$x" = "X$found_dir"; then
8735 if test -z "$haveit"; then
8736 ltrpathdirs="$ltrpathdirs $found_dir"
8738 if test "$hardcode_direct" = yes; then
8739 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
8741 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
8742 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
8744 for x in $rpathdirs; do
8745 if test "X$x" = "X$found_dir"; then
8750 if test -z "$haveit"; then
8751 rpathdirs="$rpathdirs $found_dir"
8755 for x in $LDFLAGS $LIBICONV; do
8757 acl_save_prefix="$prefix"
8758 prefix="$acl_final_prefix"
8759 acl_save_exec_prefix="$exec_prefix"
8760 exec_prefix="$acl_final_exec_prefix"
8762 exec_prefix="$acl_save_exec_prefix"
8763 prefix="$acl_save_prefix"
8765 if test "X$x" = "X-L$found_dir"; then
8770 if test -z "$haveit"; then
8771 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
8773 if test "$hardcode_minus_L" != no; then
8774 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
8776 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
8782 if test "X$found_a" != "X"; then
8783 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
8785 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
8788 additional_includedir=
8789 case "$found_dir" in
8791 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
8792 additional_includedir="$basedir/include"
8795 if test "X$additional_includedir" != "X"; then
8796 if test "X$additional_includedir" != "X/usr/include"; then
8798 if test "X$additional_includedir" = "X/usr/local/include"; then
8799 if test -n "$GCC"; then
8801 linux*) haveit=yes;;
8805 if test -z "$haveit"; then
8806 for x in $CPPFLAGS $INCICONV; do
8808 acl_save_prefix="$prefix"
8809 prefix="$acl_final_prefix"
8810 acl_save_exec_prefix="$exec_prefix"
8811 exec_prefix="$acl_final_exec_prefix"
8813 exec_prefix="$acl_save_exec_prefix"
8814 prefix="$acl_save_prefix"
8816 if test "X$x" = "X-I$additional_includedir"; then
8821 if test -z "$haveit"; then
8822 if test -d "$additional_includedir"; then
8823 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
8829 if test -n "$found_la"; then
8830 save_libdir="$libdir"
8832 */* | *\\*) . "$found_la" ;;
8833 *) . "./$found_la" ;;
8835 libdir="$save_libdir"
8836 for dep in $dependency_libs; do
8839 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
8840 if test "X$additional_libdir" != "X/usr/lib"; then
8842 if test "X$additional_libdir" = "X/usr/local/lib"; then
8843 if test -n "$GCC"; then
8845 linux*) haveit=yes;;
8849 if test -z "$haveit"; then
8851 for x in $LDFLAGS $LIBICONV; do
8853 acl_save_prefix="$prefix"
8854 prefix="$acl_final_prefix"
8855 acl_save_exec_prefix="$exec_prefix"
8856 exec_prefix="$acl_final_exec_prefix"
8858 exec_prefix="$acl_save_exec_prefix"
8859 prefix="$acl_save_prefix"
8861 if test "X$x" = "X-L$additional_libdir"; then
8866 if test -z "$haveit"; then
8867 if test -d "$additional_libdir"; then
8868 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
8872 for x in $LDFLAGS $LTLIBICONV; do
8874 acl_save_prefix="$prefix"
8875 prefix="$acl_final_prefix"
8876 acl_save_exec_prefix="$exec_prefix"
8877 exec_prefix="$acl_final_exec_prefix"
8879 exec_prefix="$acl_save_exec_prefix"
8880 prefix="$acl_save_prefix"
8882 if test "X$x" = "X-L$additional_libdir"; then
8887 if test -z "$haveit"; then
8888 if test -d "$additional_libdir"; then
8889 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
8896 dir=`echo "X$dep" | sed -e 's/^X-R//'`
8897 if test "$enable_rpath" != no; then
8899 for x in $rpathdirs; do
8900 if test "X$x" = "X$dir"; then
8905 if test -z "$haveit"; then
8906 rpathdirs="$rpathdirs $dir"
8909 for x in $ltrpathdirs; do
8910 if test "X$x" = "X$dir"; then
8915 if test -z "$haveit"; then
8916 ltrpathdirs="$ltrpathdirs $dir"
8921 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
8924 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
8927 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
8928 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
8934 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
8935 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
8941 if test "X$rpathdirs" != "X"; then
8942 if test -n "$hardcode_libdir_separator"; then
8944 for found_dir in $rpathdirs; do
8945 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
8947 acl_save_libdir="$libdir"
8949 eval flag=\"$hardcode_libdir_flag_spec\"
8950 libdir="$acl_save_libdir"
8951 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
8953 for found_dir in $rpathdirs; do
8954 acl_save_libdir="$libdir"
8956 eval flag=\"$hardcode_libdir_flag_spec\"
8957 libdir="$acl_save_libdir"
8958 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
8962 if test "X$ltrpathdirs" != "X"; then
8963 for found_dir in $ltrpathdirs; do
8964 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
8975 { echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
8976 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6; }
8977 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
8978 echo $ECHO_N "(cached) $ECHO_C" >&6
8980 cat >conftest.$ac_ext <<_ACEOF
8983 cat confdefs.h >>conftest.$ac_ext
8984 cat >>conftest.$ac_ext <<_ACEOF
8985 /* end confdefs.h. */
8986 $ac_includes_default
8987 typedef ptrdiff_t ac__type_new_;
8991 if ((ac__type_new_ *) 0)
8993 if (sizeof (ac__type_new_))
8999 rm -f conftest.$ac_objext
9000 if { (ac_try="$ac_compile"
9002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9003 *) ac_try_echo=$ac_try;;
9005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9006 (eval "$ac_compile") 2>conftest.er1
9008 grep -v '^ *+' conftest.er1 >conftest.err
9010 cat conftest.err >&5
9011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9012 (exit $ac_status); } && {
9013 test -z "$ac_c_werror_flag" ||
9014 test ! -s conftest.err
9015 } && test -s conftest.$ac_objext; then
9016 ac_cv_type_ptrdiff_t=yes
9018 echo "$as_me: failed program was:" >&5
9019 sed 's/^/| /' conftest.$ac_ext >&5
9021 ac_cv_type_ptrdiff_t=no
9024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9026 { echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
9027 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6; }
9028 if test $ac_cv_type_ptrdiff_t = yes; then
9032 cat >>confdefs.h <<\_ACEOF
9033 #define ptrdiff_t long
9049 for ac_header in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
9050 stdlib.h string.h unistd.h sys/param.h
9052 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9053 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9054 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9056 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9057 echo $ECHO_N "(cached) $ECHO_C" >&6
9059 ac_res=`eval echo '${'$as_ac_Header'}'`
9060 { echo "$as_me:$LINENO: result: $ac_res" >&5
9061 echo "${ECHO_T}$ac_res" >&6; }
9063 # Is the header compilable?
9064 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9065 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9066 cat >conftest.$ac_ext <<_ACEOF
9069 cat confdefs.h >>conftest.$ac_ext
9070 cat >>conftest.$ac_ext <<_ACEOF
9071 /* end confdefs.h. */
9072 $ac_includes_default
9073 #include <$ac_header>
9075 rm -f conftest.$ac_objext
9076 if { (ac_try="$ac_compile"
9078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9079 *) ac_try_echo=$ac_try;;
9081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9082 (eval "$ac_compile") 2>conftest.er1
9084 grep -v '^ *+' conftest.er1 >conftest.err
9086 cat conftest.err >&5
9087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9088 (exit $ac_status); } && {
9089 test -z "$ac_c_werror_flag" ||
9090 test ! -s conftest.err
9091 } && test -s conftest.$ac_objext; then
9092 ac_header_compiler=yes
9094 echo "$as_me: failed program was:" >&5
9095 sed 's/^/| /' conftest.$ac_ext >&5
9097 ac_header_compiler=no
9100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9101 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9102 echo "${ECHO_T}$ac_header_compiler" >&6; }
9104 # Is the header present?
9105 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9106 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9107 cat >conftest.$ac_ext <<_ACEOF
9110 cat confdefs.h >>conftest.$ac_ext
9111 cat >>conftest.$ac_ext <<_ACEOF
9112 /* end confdefs.h. */
9113 #include <$ac_header>
9115 if { (ac_try="$ac_cpp conftest.$ac_ext"
9117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9118 *) ac_try_echo=$ac_try;;
9120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9121 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9123 grep -v '^ *+' conftest.er1 >conftest.err
9125 cat conftest.err >&5
9126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9127 (exit $ac_status); } >/dev/null && {
9128 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9129 test ! -s conftest.err
9131 ac_header_preproc=yes
9133 echo "$as_me: failed program was:" >&5
9134 sed 's/^/| /' conftest.$ac_ext >&5
9136 ac_header_preproc=no
9139 rm -f conftest.err conftest.$ac_ext
9140 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9141 echo "${ECHO_T}$ac_header_preproc" >&6; }
9143 # So? What about this header?
9144 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9146 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9147 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9148 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9149 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9150 ac_header_preproc=yes
9153 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9154 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9155 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9156 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9157 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9158 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9159 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9160 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9161 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9162 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9163 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9164 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9168 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9170 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9171 echo $ECHO_N "(cached) $ECHO_C" >&6
9173 eval "$as_ac_Header=\$ac_header_preproc"
9175 ac_res=`eval echo '${'$as_ac_Header'}'`
9176 { echo "$as_me:$LINENO: result: $ac_res" >&5
9177 echo "${ECHO_T}$ac_res" >&6; }
9180 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9181 cat >>confdefs.h <<_ACEOF
9182 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9212 for ac_func in asprintf fwprintf getcwd getegid geteuid getgid getuid \
9213 mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \
9214 strtoul tsearch wcslen __argz_count __argz_stringify __argz_next \
9217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9218 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9220 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9221 echo $ECHO_N "(cached) $ECHO_C" >&6
9223 cat >conftest.$ac_ext <<_ACEOF
9226 cat confdefs.h >>conftest.$ac_ext
9227 cat >>conftest.$ac_ext <<_ACEOF
9228 /* end confdefs.h. */
9229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9231 #define $ac_func innocuous_$ac_func
9233 /* System header to define __stub macros and hopefully few prototypes,
9234 which can conflict with char $ac_func (); below.
9235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9236 <limits.h> exists even on freestanding compilers. */
9239 # include <limits.h>
9241 # include <assert.h>
9246 /* Override any GCC internal prototype to avoid an error.
9247 Use char because int might match the return type of a GCC
9248 builtin and then its argument prototype would still apply. */
9253 /* The GNU C library defines this for functions which it implements
9254 to always fail with ENOSYS. Some functions are actually named
9255 something starting with __ and the normal name is an alias. */
9256 #if defined __stub_$ac_func || defined __stub___$ac_func
9268 rm -f conftest.$ac_objext conftest$ac_exeext
9269 if { (ac_try="$ac_link"
9271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9272 *) ac_try_echo=$ac_try;;
9274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9275 (eval "$ac_link") 2>conftest.er1
9277 grep -v '^ *+' conftest.er1 >conftest.err
9279 cat conftest.err >&5
9280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9281 (exit $ac_status); } && {
9282 test -z "$ac_c_werror_flag" ||
9283 test ! -s conftest.err
9284 } && test -s conftest$ac_exeext &&
9285 $as_test_x conftest$ac_exeext; then
9286 eval "$as_ac_var=yes"
9288 echo "$as_me: failed program was:" >&5
9289 sed 's/^/| /' conftest.$ac_ext >&5
9291 eval "$as_ac_var=no"
9294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9295 conftest$ac_exeext conftest.$ac_ext
9297 ac_res=`eval echo '${'$as_ac_var'}'`
9298 { echo "$as_me:$LINENO: result: $ac_res" >&5
9299 echo "${ECHO_T}$ac_res" >&6; }
9300 if test `eval echo '${'$as_ac_var'}'` = yes; then
9301 cat >>confdefs.h <<_ACEOF
9302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9310 { echo "$as_me:$LINENO: checking whether _snprintf is declared" >&5
9311 echo $ECHO_N "checking whether _snprintf is declared... $ECHO_C" >&6; }
9312 if test "${ac_cv_have_decl__snprintf+set}" = set; then
9313 echo $ECHO_N "(cached) $ECHO_C" >&6
9315 cat >conftest.$ac_ext <<_ACEOF
9318 cat confdefs.h >>conftest.$ac_ext
9319 cat >>conftest.$ac_ext <<_ACEOF
9320 /* end confdefs.h. */
9327 char *p = (char *) _snprintf;
9334 rm -f conftest.$ac_objext
9335 if { (ac_try="$ac_compile"
9337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9338 *) ac_try_echo=$ac_try;;
9340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9341 (eval "$ac_compile") 2>conftest.er1
9343 grep -v '^ *+' conftest.er1 >conftest.err
9345 cat conftest.err >&5
9346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9347 (exit $ac_status); } && {
9348 test -z "$ac_c_werror_flag" ||
9349 test ! -s conftest.err
9350 } && test -s conftest.$ac_objext; then
9351 ac_cv_have_decl__snprintf=yes
9353 echo "$as_me: failed program was:" >&5
9354 sed 's/^/| /' conftest.$ac_ext >&5
9356 ac_cv_have_decl__snprintf=no
9359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9361 { echo "$as_me:$LINENO: result: $ac_cv_have_decl__snprintf" >&5
9362 echo "${ECHO_T}$ac_cv_have_decl__snprintf" >&6; }
9363 if test $ac_cv_have_decl__snprintf = yes; then
9369 cat >>confdefs.h <<_ACEOF
9370 #define HAVE_DECL__SNPRINTF $gt_value
9375 { echo "$as_me:$LINENO: checking whether _snwprintf is declared" >&5
9376 echo $ECHO_N "checking whether _snwprintf is declared... $ECHO_C" >&6; }
9377 if test "${ac_cv_have_decl__snwprintf+set}" = set; then
9378 echo $ECHO_N "(cached) $ECHO_C" >&6
9380 cat >conftest.$ac_ext <<_ACEOF
9383 cat confdefs.h >>conftest.$ac_ext
9384 cat >>conftest.$ac_ext <<_ACEOF
9385 /* end confdefs.h. */
9392 char *p = (char *) _snwprintf;
9399 rm -f conftest.$ac_objext
9400 if { (ac_try="$ac_compile"
9402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9403 *) ac_try_echo=$ac_try;;
9405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9406 (eval "$ac_compile") 2>conftest.er1
9408 grep -v '^ *+' conftest.er1 >conftest.err
9410 cat conftest.err >&5
9411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9412 (exit $ac_status); } && {
9413 test -z "$ac_c_werror_flag" ||
9414 test ! -s conftest.err
9415 } && test -s conftest.$ac_objext; then
9416 ac_cv_have_decl__snwprintf=yes
9418 echo "$as_me: failed program was:" >&5
9419 sed 's/^/| /' conftest.$ac_ext >&5
9421 ac_cv_have_decl__snwprintf=no
9424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9426 { echo "$as_me:$LINENO: result: $ac_cv_have_decl__snwprintf" >&5
9427 echo "${ECHO_T}$ac_cv_have_decl__snwprintf" >&6; }
9428 if test $ac_cv_have_decl__snwprintf = yes; then
9434 cat >>confdefs.h <<_ACEOF
9435 #define HAVE_DECL__SNWPRINTF $gt_value
9441 { echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5
9442 echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6; }
9443 if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then
9444 echo $ECHO_N "(cached) $ECHO_C" >&6
9446 cat >conftest.$ac_ext <<_ACEOF
9449 cat confdefs.h >>conftest.$ac_ext
9450 cat >>conftest.$ac_ext <<_ACEOF
9451 /* end confdefs.h. */
9457 #ifndef feof_unlocked
9458 char *p = (char *) feof_unlocked;
9465 rm -f conftest.$ac_objext
9466 if { (ac_try="$ac_compile"
9468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9469 *) ac_try_echo=$ac_try;;
9471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9472 (eval "$ac_compile") 2>conftest.er1
9474 grep -v '^ *+' conftest.er1 >conftest.err
9476 cat conftest.err >&5
9477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9478 (exit $ac_status); } && {
9479 test -z "$ac_c_werror_flag" ||
9480 test ! -s conftest.err
9481 } && test -s conftest.$ac_objext; then
9482 ac_cv_have_decl_feof_unlocked=yes
9484 echo "$as_me: failed program was:" >&5
9485 sed 's/^/| /' conftest.$ac_ext >&5
9487 ac_cv_have_decl_feof_unlocked=no
9490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9492 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5
9493 echo "${ECHO_T}$ac_cv_have_decl_feof_unlocked" >&6; }
9494 if test $ac_cv_have_decl_feof_unlocked = yes; then
9500 cat >>confdefs.h <<_ACEOF
9501 #define HAVE_DECL_FEOF_UNLOCKED $gt_value
9506 { echo "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5
9507 echo $ECHO_N "checking whether fgets_unlocked is declared... $ECHO_C" >&6; }
9508 if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then
9509 echo $ECHO_N "(cached) $ECHO_C" >&6
9511 cat >conftest.$ac_ext <<_ACEOF
9514 cat confdefs.h >>conftest.$ac_ext
9515 cat >>conftest.$ac_ext <<_ACEOF
9516 /* end confdefs.h. */
9522 #ifndef fgets_unlocked
9523 char *p = (char *) fgets_unlocked;
9530 rm -f conftest.$ac_objext
9531 if { (ac_try="$ac_compile"
9533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9534 *) ac_try_echo=$ac_try;;
9536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9537 (eval "$ac_compile") 2>conftest.er1
9539 grep -v '^ *+' conftest.er1 >conftest.err
9541 cat conftest.err >&5
9542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9543 (exit $ac_status); } && {
9544 test -z "$ac_c_werror_flag" ||
9545 test ! -s conftest.err
9546 } && test -s conftest.$ac_objext; then
9547 ac_cv_have_decl_fgets_unlocked=yes
9549 echo "$as_me: failed program was:" >&5
9550 sed 's/^/| /' conftest.$ac_ext >&5
9552 ac_cv_have_decl_fgets_unlocked=no
9555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9557 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5
9558 echo "${ECHO_T}$ac_cv_have_decl_fgets_unlocked" >&6; }
9559 if test $ac_cv_have_decl_fgets_unlocked = yes; then
9565 cat >>confdefs.h <<_ACEOF
9566 #define HAVE_DECL_FGETS_UNLOCKED $gt_value
9571 { echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
9572 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6; }
9573 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
9574 echo $ECHO_N "(cached) $ECHO_C" >&6
9576 cat >conftest.$ac_ext <<_ACEOF
9579 cat confdefs.h >>conftest.$ac_ext
9580 cat >>conftest.$ac_ext <<_ACEOF
9581 /* end confdefs.h. */
9587 #ifndef getc_unlocked
9588 char *p = (char *) getc_unlocked;
9595 rm -f conftest.$ac_objext
9596 if { (ac_try="$ac_compile"
9598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9599 *) ac_try_echo=$ac_try;;
9601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9602 (eval "$ac_compile") 2>conftest.er1
9604 grep -v '^ *+' conftest.er1 >conftest.err
9606 cat conftest.err >&5
9607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9608 (exit $ac_status); } && {
9609 test -z "$ac_c_werror_flag" ||
9610 test ! -s conftest.err
9611 } && test -s conftest.$ac_objext; then
9612 ac_cv_have_decl_getc_unlocked=yes
9614 echo "$as_me: failed program was:" >&5
9615 sed 's/^/| /' conftest.$ac_ext >&5
9617 ac_cv_have_decl_getc_unlocked=no
9620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9622 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
9623 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6; }
9624 if test $ac_cv_have_decl_getc_unlocked = yes; then
9630 cat >>confdefs.h <<_ACEOF
9631 #define HAVE_DECL_GETC_UNLOCKED $gt_value
9636 case $gt_cv_func_printf_posix in
9637 *yes) HAVE_POSIX_PRINTF=1 ;;
9638 *) HAVE_POSIX_PRINTF=0 ;;
9641 if test "$ac_cv_func_asprintf" = yes; then
9647 if test "$ac_cv_func_snprintf" = yes; then
9653 if test "$ac_cv_func_wprintf" = yes; then
9665 am_save_CPPFLAGS="$CPPFLAGS"
9667 for element in $INCICONV; do
9669 for x in $CPPFLAGS; do
9671 acl_save_prefix="$prefix"
9672 prefix="$acl_final_prefix"
9673 acl_save_exec_prefix="$exec_prefix"
9674 exec_prefix="$acl_final_exec_prefix"
9676 exec_prefix="$acl_save_exec_prefix"
9677 prefix="$acl_save_prefix"
9679 if test "X$x" = "X$element"; then
9684 if test -z "$haveit"; then
9685 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
9690 { echo "$as_me:$LINENO: checking for iconv" >&5
9691 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
9692 if test "${am_cv_func_iconv+set}" = set; then
9693 echo $ECHO_N "(cached) $ECHO_C" >&6
9696 am_cv_func_iconv="no, consider installing GNU libiconv"
9698 cat >conftest.$ac_ext <<_ACEOF
9701 cat confdefs.h >>conftest.$ac_ext
9702 cat >>conftest.$ac_ext <<_ACEOF
9703 /* end confdefs.h. */
9709 iconv_t cd = iconv_open("","");
9710 iconv(cd,NULL,NULL,NULL,NULL);
9716 rm -f conftest.$ac_objext conftest$ac_exeext
9717 if { (ac_try="$ac_link"
9719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9720 *) ac_try_echo=$ac_try;;
9722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9723 (eval "$ac_link") 2>conftest.er1
9725 grep -v '^ *+' conftest.er1 >conftest.err
9727 cat conftest.err >&5
9728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9729 (exit $ac_status); } && {
9730 test -z "$ac_c_werror_flag" ||
9731 test ! -s conftest.err
9732 } && test -s conftest$ac_exeext &&
9733 $as_test_x conftest$ac_exeext; then
9734 am_cv_func_iconv=yes
9736 echo "$as_me: failed program was:" >&5
9737 sed 's/^/| /' conftest.$ac_ext >&5
9742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9743 conftest$ac_exeext conftest.$ac_ext
9744 if test "$am_cv_func_iconv" != yes; then
9745 am_save_LIBS="$LIBS"
9746 LIBS="$LIBS $LIBICONV"
9747 cat >conftest.$ac_ext <<_ACEOF
9750 cat confdefs.h >>conftest.$ac_ext
9751 cat >>conftest.$ac_ext <<_ACEOF
9752 /* end confdefs.h. */
9758 iconv_t cd = iconv_open("","");
9759 iconv(cd,NULL,NULL,NULL,NULL);
9765 rm -f conftest.$ac_objext conftest$ac_exeext
9766 if { (ac_try="$ac_link"
9768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9769 *) ac_try_echo=$ac_try;;
9771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9772 (eval "$ac_link") 2>conftest.er1
9774 grep -v '^ *+' conftest.er1 >conftest.err
9776 cat conftest.err >&5
9777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9778 (exit $ac_status); } && {
9779 test -z "$ac_c_werror_flag" ||
9780 test ! -s conftest.err
9781 } && test -s conftest$ac_exeext &&
9782 $as_test_x conftest$ac_exeext; then
9784 am_cv_func_iconv=yes
9786 echo "$as_me: failed program was:" >&5
9787 sed 's/^/| /' conftest.$ac_ext >&5
9792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9793 conftest$ac_exeext conftest.$ac_ext
9794 LIBS="$am_save_LIBS"
9798 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
9799 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
9800 if test "$am_cv_func_iconv" = yes; then
9802 cat >>confdefs.h <<\_ACEOF
9803 #define HAVE_ICONV 1
9807 if test "$am_cv_lib_iconv" = yes; then
9808 { echo "$as_me:$LINENO: checking how to link with libiconv" >&5
9809 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; }
9810 { echo "$as_me:$LINENO: result: $LIBICONV" >&5
9811 echo "${ECHO_T}$LIBICONV" >&6; }
9813 CPPFLAGS="$am_save_CPPFLAGS"
9820 if test "$am_cv_func_iconv" = yes; then
9821 { echo "$as_me:$LINENO: checking for iconv declaration" >&5
9822 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6; }
9823 if test "${am_cv_proto_iconv+set}" = set; then
9824 echo $ECHO_N "(cached) $ECHO_C" >&6
9827 cat >conftest.$ac_ext <<_ACEOF
9830 cat confdefs.h >>conftest.$ac_ext
9831 cat >>conftest.$ac_ext <<_ACEOF
9832 /* end confdefs.h. */
9840 #if defined(__STDC__) || defined(__cplusplus)
9841 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
9854 rm -f conftest.$ac_objext
9855 if { (ac_try="$ac_compile"
9857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9858 *) ac_try_echo=$ac_try;;
9860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9861 (eval "$ac_compile") 2>conftest.er1
9863 grep -v '^ *+' conftest.er1 >conftest.err
9865 cat conftest.err >&5
9866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9867 (exit $ac_status); } && {
9868 test -z "$ac_c_werror_flag" ||
9869 test ! -s conftest.err
9870 } && test -s conftest.$ac_objext; then
9871 am_cv_proto_iconv_arg1=""
9873 echo "$as_me: failed program was:" >&5
9874 sed 's/^/| /' conftest.$ac_ext >&5
9876 am_cv_proto_iconv_arg1="const"
9879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9880 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
9883 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
9884 { echo "$as_me:$LINENO: result: ${ac_t:-
9885 }$am_cv_proto_iconv" >&5
9886 echo "${ECHO_T}${ac_t:-
9887 }$am_cv_proto_iconv" >&6; }
9889 cat >>confdefs.h <<_ACEOF
9890 #define ICONV_CONST $am_cv_proto_iconv_arg1
9896 { echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
9897 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6; }
9898 if test "${am_cv_langinfo_codeset+set}" = set; then
9899 echo $ECHO_N "(cached) $ECHO_C" >&6
9901 cat >conftest.$ac_ext <<_ACEOF
9904 cat confdefs.h >>conftest.$ac_ext
9905 cat >>conftest.$ac_ext <<_ACEOF
9906 /* end confdefs.h. */
9907 #include <langinfo.h>
9911 char* cs = nl_langinfo(CODESET);
9916 rm -f conftest.$ac_objext conftest$ac_exeext
9917 if { (ac_try="$ac_link"
9919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9920 *) ac_try_echo=$ac_try;;
9922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9923 (eval "$ac_link") 2>conftest.er1
9925 grep -v '^ *+' conftest.er1 >conftest.err
9927 cat conftest.err >&5
9928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9929 (exit $ac_status); } && {
9930 test -z "$ac_c_werror_flag" ||
9931 test ! -s conftest.err
9932 } && test -s conftest$ac_exeext &&
9933 $as_test_x conftest$ac_exeext; then
9934 am_cv_langinfo_codeset=yes
9936 echo "$as_me: failed program was:" >&5
9937 sed 's/^/| /' conftest.$ac_ext >&5
9939 am_cv_langinfo_codeset=no
9942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9943 conftest$ac_exeext conftest.$ac_ext
9946 { echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
9947 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6; }
9948 if test $am_cv_langinfo_codeset = yes; then
9950 cat >>confdefs.h <<\_ACEOF
9951 #define HAVE_LANGINFO_CODESET 1
9956 if test $ac_cv_header_locale_h = yes; then
9958 { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
9959 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
9960 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
9961 echo $ECHO_N "(cached) $ECHO_C" >&6
9963 cat >conftest.$ac_ext <<_ACEOF
9966 cat confdefs.h >>conftest.$ac_ext
9967 cat >>conftest.$ac_ext <<_ACEOF
9968 /* end confdefs.h. */
9978 rm -f conftest.$ac_objext conftest$ac_exeext
9979 if { (ac_try="$ac_link"
9981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9982 *) ac_try_echo=$ac_try;;
9984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9985 (eval "$ac_link") 2>conftest.er1
9987 grep -v '^ *+' conftest.er1 >conftest.err
9989 cat conftest.err >&5
9990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9991 (exit $ac_status); } && {
9992 test -z "$ac_c_werror_flag" ||
9993 test ! -s conftest.err
9994 } && test -s conftest$ac_exeext &&
9995 $as_test_x conftest$ac_exeext; then
9996 am_cv_val_LC_MESSAGES=yes
9998 echo "$as_me: failed program was:" >&5
9999 sed 's/^/| /' conftest.$ac_ext >&5
10001 am_cv_val_LC_MESSAGES=no
10004 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10005 conftest$ac_exeext conftest.$ac_ext
10007 { echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
10008 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
10009 if test $am_cv_val_LC_MESSAGES = yes; then
10011 cat >>confdefs.h <<\_ACEOF
10012 #define HAVE_LC_MESSAGES 1
10019 for ac_prog in bison
10021 # Extract the first word of "$ac_prog", so it can be a program name with args.
10022 set dummy $ac_prog; ac_word=$2
10023 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10025 if test "${ac_cv_prog_INTLBISON+set}" = set; then
10026 echo $ECHO_N "(cached) $ECHO_C" >&6
10028 if test -n "$INTLBISON"; then
10029 ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test.
10031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10032 for as_dir in $PATH
10035 test -z "$as_dir" && as_dir=.
10036 for ac_exec_ext in '' $ac_executable_extensions; do
10037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10038 ac_cv_prog_INTLBISON="$ac_prog"
10039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10048 INTLBISON=$ac_cv_prog_INTLBISON
10049 if test -n "$INTLBISON"; then
10050 { echo "$as_me:$LINENO: result: $INTLBISON" >&5
10051 echo "${ECHO_T}$INTLBISON" >&6; }
10053 { echo "$as_me:$LINENO: result: no" >&5
10054 echo "${ECHO_T}no" >&6; }
10058 test -n "$INTLBISON" && break
10061 if test -z "$INTLBISON"; then
10064 { echo "$as_me:$LINENO: checking version of bison" >&5
10065 echo $ECHO_N "checking version of bison... $ECHO_C" >&6; }
10066 ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
10067 case $ac_prog_version in
10068 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
10069 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
10070 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
10071 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
10073 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
10074 echo "${ECHO_T}$ac_prog_version" >&6; }
10076 if test $ac_verc_fail = yes; then
10095 { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
10096 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
10097 # Check whether --enable-nls was given.
10098 if test "${enable_nls+set}" = set; then
10099 enableval=$enable_nls; USE_NLS=$enableval
10104 { echo "$as_me:$LINENO: result: $USE_NLS" >&5
10105 echo "${ECHO_T}$USE_NLS" >&6; }
10110 BUILD_INCLUDED_LIBINTL=no
10111 USE_INCLUDED_LIBINTL=no
10117 if test "$USE_NLS" = "yes"; then
10118 gt_use_preinstalled_gnugettext=no
10120 { echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
10121 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6; }
10123 # Check whether --with-included-gettext was given.
10124 if test "${with_included_gettext+set}" = set; then
10125 withval=$with_included_gettext; nls_cv_force_use_gnu_gettext=$withval
10127 nls_cv_force_use_gnu_gettext=no
10130 { echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
10131 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6; }
10133 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
10134 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
10141 { echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
10142 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6; }
10143 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
10144 echo $ECHO_N "(cached) $ECHO_C" >&6
10146 cat >conftest.$ac_ext <<_ACEOF
10149 cat confdefs.h >>conftest.$ac_ext
10150 cat >>conftest.$ac_ext <<_ACEOF
10151 /* end confdefs.h. */
10152 #include <libintl.h>
10153 extern int _nl_msg_cat_cntr;
10154 extern int *_nl_domain_bindings;
10158 bindtextdomain ("", "");
10159 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
10164 rm -f conftest.$ac_objext conftest$ac_exeext
10165 if { (ac_try="$ac_link"
10166 case "(($ac_try" in
10167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10168 *) ac_try_echo=$ac_try;;
10170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10171 (eval "$ac_link") 2>conftest.er1
10173 grep -v '^ *+' conftest.er1 >conftest.err
10175 cat conftest.err >&5
10176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10177 (exit $ac_status); } && {
10178 test -z "$ac_c_werror_flag" ||
10179 test ! -s conftest.err
10180 } && test -s conftest$ac_exeext &&
10181 $as_test_x conftest$ac_exeext; then
10182 gt_cv_func_gnugettext1_libc=yes
10184 echo "$as_me: failed program was:" >&5
10185 sed 's/^/| /' conftest.$ac_ext >&5
10187 gt_cv_func_gnugettext1_libc=no
10190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10191 conftest$ac_exeext conftest.$ac_ext
10193 { echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
10194 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6; }
10196 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
10202 acl_save_prefix="$prefix"
10203 prefix="$acl_final_prefix"
10204 acl_save_exec_prefix="$exec_prefix"
10205 exec_prefix="$acl_final_exec_prefix"
10207 eval additional_includedir=\"$includedir\"
10208 eval additional_libdir=\"$libdir\"
10210 exec_prefix="$acl_save_exec_prefix"
10211 prefix="$acl_save_prefix"
10214 # Check whether --with-libintl-prefix was given.
10215 if test "${with_libintl_prefix+set}" = set; then
10216 withval=$with_libintl_prefix;
10217 if test "X$withval" = "Xno"; then
10220 if test "X$withval" = "X"; then
10222 acl_save_prefix="$prefix"
10223 prefix="$acl_final_prefix"
10224 acl_save_exec_prefix="$exec_prefix"
10225 exec_prefix="$acl_final_exec_prefix"
10227 eval additional_includedir=\"$includedir\"
10228 eval additional_libdir=\"$libdir\"
10230 exec_prefix="$acl_save_exec_prefix"
10231 prefix="$acl_save_prefix"
10234 additional_includedir="$withval/include"
10235 additional_libdir="$withval/lib"
10246 names_already_handled=
10247 names_next_round='intl '
10248 while test -n "$names_next_round"; do
10249 names_this_round="$names_next_round"
10251 for name in $names_this_round; do
10253 for n in $names_already_handled; do
10254 if test "$n" = "$name"; then
10255 already_handled=yes
10259 if test -z "$already_handled"; then
10260 names_already_handled="$names_already_handled $name"
10261 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
10262 eval value=\"\$HAVE_LIB$uppername\"
10263 if test -n "$value"; then
10264 if test "$value" = yes; then
10265 eval value=\"\$LIB$uppername\"
10266 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
10267 eval value=\"\$LTLIB$uppername\"
10268 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
10277 if test $use_additional = yes; then
10278 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
10279 found_dir="$additional_libdir"
10280 found_so="$additional_libdir/lib$name.$shlibext"
10281 if test -f "$additional_libdir/lib$name.la"; then
10282 found_la="$additional_libdir/lib$name.la"
10285 if test -f "$additional_libdir/lib$name.$libext"; then
10286 found_dir="$additional_libdir"
10287 found_a="$additional_libdir/lib$name.$libext"
10288 if test -f "$additional_libdir/lib$name.la"; then
10289 found_la="$additional_libdir/lib$name.la"
10294 if test "X$found_dir" = "X"; then
10295 for x in $LDFLAGS $LTLIBINTL; do
10297 acl_save_prefix="$prefix"
10298 prefix="$acl_final_prefix"
10299 acl_save_exec_prefix="$exec_prefix"
10300 exec_prefix="$acl_final_exec_prefix"
10302 exec_prefix="$acl_save_exec_prefix"
10303 prefix="$acl_save_prefix"
10307 dir=`echo "X$x" | sed -e 's/^X-L//'`
10308 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
10310 found_so="$dir/lib$name.$shlibext"
10311 if test -f "$dir/lib$name.la"; then
10312 found_la="$dir/lib$name.la"
10315 if test -f "$dir/lib$name.$libext"; then
10317 found_a="$dir/lib$name.$libext"
10318 if test -f "$dir/lib$name.la"; then
10319 found_la="$dir/lib$name.la"
10325 if test "X$found_dir" != "X"; then
10330 if test "X$found_dir" != "X"; then
10331 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
10332 if test "X$found_so" != "X"; then
10333 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
10334 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
10337 for x in $ltrpathdirs; do
10338 if test "X$x" = "X$found_dir"; then
10343 if test -z "$haveit"; then
10344 ltrpathdirs="$ltrpathdirs $found_dir"
10346 if test "$hardcode_direct" = yes; then
10347 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
10349 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
10350 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
10352 for x in $rpathdirs; do
10353 if test "X$x" = "X$found_dir"; then
10358 if test -z "$haveit"; then
10359 rpathdirs="$rpathdirs $found_dir"
10363 for x in $LDFLAGS $LIBINTL; do
10365 acl_save_prefix="$prefix"
10366 prefix="$acl_final_prefix"
10367 acl_save_exec_prefix="$exec_prefix"
10368 exec_prefix="$acl_final_exec_prefix"
10370 exec_prefix="$acl_save_exec_prefix"
10371 prefix="$acl_save_prefix"
10373 if test "X$x" = "X-L$found_dir"; then
10378 if test -z "$haveit"; then
10379 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
10381 if test "$hardcode_minus_L" != no; then
10382 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
10384 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
10390 if test "X$found_a" != "X"; then
10391 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
10393 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
10396 additional_includedir=
10397 case "$found_dir" in
10399 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
10400 additional_includedir="$basedir/include"
10403 if test "X$additional_includedir" != "X"; then
10404 if test "X$additional_includedir" != "X/usr/include"; then
10406 if test "X$additional_includedir" = "X/usr/local/include"; then
10407 if test -n "$GCC"; then
10409 linux*) haveit=yes;;
10413 if test -z "$haveit"; then
10414 for x in $CPPFLAGS $INCINTL; do
10416 acl_save_prefix="$prefix"
10417 prefix="$acl_final_prefix"
10418 acl_save_exec_prefix="$exec_prefix"
10419 exec_prefix="$acl_final_exec_prefix"
10421 exec_prefix="$acl_save_exec_prefix"
10422 prefix="$acl_save_prefix"
10424 if test "X$x" = "X-I$additional_includedir"; then
10429 if test -z "$haveit"; then
10430 if test -d "$additional_includedir"; then
10431 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
10437 if test -n "$found_la"; then
10438 save_libdir="$libdir"
10439 case "$found_la" in
10440 */* | *\\*) . "$found_la" ;;
10441 *) . "./$found_la" ;;
10443 libdir="$save_libdir"
10444 for dep in $dependency_libs; do
10447 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
10448 if test "X$additional_libdir" != "X/usr/lib"; then
10450 if test "X$additional_libdir" = "X/usr/local/lib"; then
10451 if test -n "$GCC"; then
10453 linux*) haveit=yes;;
10457 if test -z "$haveit"; then
10459 for x in $LDFLAGS $LIBINTL; do
10461 acl_save_prefix="$prefix"
10462 prefix="$acl_final_prefix"
10463 acl_save_exec_prefix="$exec_prefix"
10464 exec_prefix="$acl_final_exec_prefix"
10466 exec_prefix="$acl_save_exec_prefix"
10467 prefix="$acl_save_prefix"
10469 if test "X$x" = "X-L$additional_libdir"; then
10474 if test -z "$haveit"; then
10475 if test -d "$additional_libdir"; then
10476 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
10480 for x in $LDFLAGS $LTLIBINTL; do
10482 acl_save_prefix="$prefix"
10483 prefix="$acl_final_prefix"
10484 acl_save_exec_prefix="$exec_prefix"
10485 exec_prefix="$acl_final_exec_prefix"
10487 exec_prefix="$acl_save_exec_prefix"
10488 prefix="$acl_save_prefix"
10490 if test "X$x" = "X-L$additional_libdir"; then
10495 if test -z "$haveit"; then
10496 if test -d "$additional_libdir"; then
10497 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
10504 dir=`echo "X$dep" | sed -e 's/^X-R//'`
10505 if test "$enable_rpath" != no; then
10507 for x in $rpathdirs; do
10508 if test "X$x" = "X$dir"; then
10513 if test -z "$haveit"; then
10514 rpathdirs="$rpathdirs $dir"
10517 for x in $ltrpathdirs; do
10518 if test "X$x" = "X$dir"; then
10523 if test -z "$haveit"; then
10524 ltrpathdirs="$ltrpathdirs $dir"
10529 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
10532 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10535 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
10536 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
10542 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
10543 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
10549 if test "X$rpathdirs" != "X"; then
10550 if test -n "$hardcode_libdir_separator"; then
10552 for found_dir in $rpathdirs; do
10553 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
10555 acl_save_libdir="$libdir"
10557 eval flag=\"$hardcode_libdir_flag_spec\"
10558 libdir="$acl_save_libdir"
10559 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
10561 for found_dir in $rpathdirs; do
10562 acl_save_libdir="$libdir"
10563 libdir="$found_dir"
10564 eval flag=\"$hardcode_libdir_flag_spec\"
10565 libdir="$acl_save_libdir"
10566 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
10570 if test "X$ltrpathdirs" != "X"; then
10571 for found_dir in $ltrpathdirs; do
10572 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
10576 { echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
10577 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6; }
10578 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
10579 echo $ECHO_N "(cached) $ECHO_C" >&6
10581 gt_save_CPPFLAGS="$CPPFLAGS"
10582 CPPFLAGS="$CPPFLAGS $INCINTL"
10583 gt_save_LIBS="$LIBS"
10584 LIBS="$LIBS $LIBINTL"
10585 cat >conftest.$ac_ext <<_ACEOF
10588 cat confdefs.h >>conftest.$ac_ext
10589 cat >>conftest.$ac_ext <<_ACEOF
10590 /* end confdefs.h. */
10591 #include <libintl.h>
10592 extern int _nl_msg_cat_cntr;
10597 const char *_nl_expand_alias ();
10601 bindtextdomain ("", "");
10602 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
10607 rm -f conftest.$ac_objext conftest$ac_exeext
10608 if { (ac_try="$ac_link"
10609 case "(($ac_try" in
10610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10611 *) ac_try_echo=$ac_try;;
10613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10614 (eval "$ac_link") 2>conftest.er1
10616 grep -v '^ *+' conftest.er1 >conftest.err
10618 cat conftest.err >&5
10619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10620 (exit $ac_status); } && {
10621 test -z "$ac_c_werror_flag" ||
10622 test ! -s conftest.err
10623 } && test -s conftest$ac_exeext &&
10624 $as_test_x conftest$ac_exeext; then
10625 gt_cv_func_gnugettext1_libintl=yes
10627 echo "$as_me: failed program was:" >&5
10628 sed 's/^/| /' conftest.$ac_ext >&5
10630 gt_cv_func_gnugettext1_libintl=no
10633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10634 conftest$ac_exeext conftest.$ac_ext
10635 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
10636 LIBS="$LIBS $LIBICONV"
10637 cat >conftest.$ac_ext <<_ACEOF
10640 cat confdefs.h >>conftest.$ac_ext
10641 cat >>conftest.$ac_ext <<_ACEOF
10642 /* end confdefs.h. */
10643 #include <libintl.h>
10644 extern int _nl_msg_cat_cntr;
10649 const char *_nl_expand_alias ();
10653 bindtextdomain ("", "");
10654 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
10659 rm -f conftest.$ac_objext conftest$ac_exeext
10660 if { (ac_try="$ac_link"
10661 case "(($ac_try" in
10662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10663 *) ac_try_echo=$ac_try;;
10665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10666 (eval "$ac_link") 2>conftest.er1
10668 grep -v '^ *+' conftest.er1 >conftest.err
10670 cat conftest.err >&5
10671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10672 (exit $ac_status); } && {
10673 test -z "$ac_c_werror_flag" ||
10674 test ! -s conftest.err
10675 } && test -s conftest$ac_exeext &&
10676 $as_test_x conftest$ac_exeext; then
10677 LIBINTL="$LIBINTL $LIBICONV"
10678 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
10679 gt_cv_func_gnugettext1_libintl=yes
10682 echo "$as_me: failed program was:" >&5
10683 sed 's/^/| /' conftest.$ac_ext >&5
10688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10689 conftest$ac_exeext conftest.$ac_ext
10691 CPPFLAGS="$gt_save_CPPFLAGS"
10692 LIBS="$gt_save_LIBS"
10694 { echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
10695 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6; }
10698 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
10699 || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
10700 && test "$PACKAGE" != gettext-runtime \
10701 && test "$PACKAGE" != gettext-tools; }; then
10702 gt_use_preinstalled_gnugettext=yes
10710 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
10711 nls_cv_use_gnu_gettext=yes
10715 if test "$nls_cv_use_gnu_gettext" = "yes"; then
10716 BUILD_INCLUDED_LIBINTL=yes
10717 USE_INCLUDED_LIBINTL=yes
10718 LIBINTL="\${top_builddir}/intl/libintl.a $LIBICONV"
10719 LTLIBINTL="\${top_builddir}/intl/libintl.a $LTLIBICONV"
10720 LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
10723 if test "$gt_use_preinstalled_gnugettext" = "yes" \
10724 || test "$nls_cv_use_gnu_gettext" = "yes"; then
10729 if test "$gt_use_preinstalled_gnugettext" = "yes" \
10730 || test "$nls_cv_use_gnu_gettext" = "yes"; then
10732 cat >>confdefs.h <<\_ACEOF
10733 #define ENABLE_NLS 1
10741 { echo "$as_me:$LINENO: checking whether to use NLS" >&5
10742 echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6; }
10743 { echo "$as_me:$LINENO: result: $USE_NLS" >&5
10744 echo "${ECHO_T}$USE_NLS" >&6; }
10745 if test "$USE_NLS" = "yes"; then
10746 { echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
10747 echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6; }
10748 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
10749 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
10750 gt_source="external libintl"
10755 gt_source="included intl directory"
10757 { echo "$as_me:$LINENO: result: $gt_source" >&5
10758 echo "${ECHO_T}$gt_source" >&6; }
10761 if test "$USE_NLS" = "yes"; then
10763 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
10764 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
10765 { echo "$as_me:$LINENO: checking how to link with libintl" >&5
10766 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6; }
10767 { echo "$as_me:$LINENO: result: $LIBINTL" >&5
10768 echo "${ECHO_T}$LIBINTL" >&6; }
10770 for element in $INCINTL; do
10772 for x in $CPPFLAGS; do
10774 acl_save_prefix="$prefix"
10775 prefix="$acl_final_prefix"
10776 acl_save_exec_prefix="$exec_prefix"
10777 exec_prefix="$acl_final_exec_prefix"
10779 exec_prefix="$acl_save_exec_prefix"
10780 prefix="$acl_save_prefix"
10782 if test "X$x" = "X$element"; then
10787 if test -z "$haveit"; then
10788 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
10795 cat >>confdefs.h <<\_ACEOF
10796 #define HAVE_GETTEXT 1
10800 cat >>confdefs.h <<\_ACEOF
10801 #define HAVE_DCGETTEXT 1
10810 if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
10811 BUILD_INCLUDED_LIBINTL=yes
10818 nls_cv_header_intl=
10819 nls_cv_header_libgt=
10830 if test "$USE_INCLUDED_LIBINTL" = yes; then
10831 INTLOBJS="\$(GETTOBJS)"
10835 INTL_LIBTOOL_SUFFIX_PREFIX=
10839 INTLLIBS="$LIBINTL"
10847 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
10848 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
10849 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
10850 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
10851 echo $ECHO_N "(cached) $ECHO_C" >&6
10853 cat >conftest.make <<\_ACEOF
10856 @echo '@@@%%%=$(MAKE)=@@@%%%'
10858 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10859 case `${MAKE-make} -f conftest.make 2>/dev/null` in
10860 *@@@%%%=?*=@@@%%%*)
10861 eval ac_cv_prog_make_${ac_make}_set=yes;;
10863 eval ac_cv_prog_make_${ac_make}_set=no;;
10865 rm -f conftest.make
10867 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
10868 { echo "$as_me:$LINENO: result: yes" >&5
10869 echo "${ECHO_T}yes" >&6; }
10872 { echo "$as_me:$LINENO: result: no" >&5
10873 echo "${ECHO_T}no" >&6; }
10874 SET_MAKE="MAKE=${MAKE-make}"
10877 # Extract the first word of "ln", so it can be a program name with args.
10878 set dummy ln; ac_word=$2
10879 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10881 if test "${ac_cv_path_LN+set}" = set; then
10882 echo $ECHO_N "(cached) $ECHO_C" >&6
10886 ac_cv_path_LN="$LN" # Let the user override the test with a path.
10889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10890 for as_dir in $PATH
10893 test -z "$as_dir" && as_dir=.
10894 for ac_exec_ext in '' $ac_executable_extensions; do
10895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10896 ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
10897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10904 test -z "$ac_cv_path_LN" && ac_cv_path_LN="ln"
10909 if test -n "$LN"; then
10910 { echo "$as_me:$LINENO: result: $LN" >&5
10911 echo "${ECHO_T}$LN" >&6; }
10913 { echo "$as_me:$LINENO: result: no" >&5
10914 echo "${ECHO_T}no" >&6; }
10918 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
10919 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
10921 if test "$LN_S" = "ln -s"; then
10922 { echo "$as_me:$LINENO: result: yes" >&5
10923 echo "${ECHO_T}yes" >&6; }
10925 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
10926 echo "${ECHO_T}no, using $LN_S" >&6; }
10929 # Extract the first word of "mv", so it can be a program name with args.
10930 set dummy mv; ac_word=$2
10931 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10933 if test "${ac_cv_path_MV+set}" = set; then
10934 echo $ECHO_N "(cached) $ECHO_C" >&6
10938 ac_cv_path_MV="$MV" # Let the user override the test with a path.
10941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10942 for as_dir in $PATH
10945 test -z "$as_dir" && as_dir=.
10946 for ac_exec_ext in '' $ac_executable_extensions; do
10947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10948 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
10949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10956 test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
10961 if test -n "$MV"; then
10962 { echo "$as_me:$LINENO: result: $MV" >&5
10963 echo "${ECHO_T}$MV" >&6; }
10965 { echo "$as_me:$LINENO: result: no" >&5
10966 echo "${ECHO_T}no" >&6; }
10970 # Extract the first word of "cp", so it can be a program name with args.
10971 set dummy cp; ac_word=$2
10972 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10974 if test "${ac_cv_path_CP+set}" = set; then
10975 echo $ECHO_N "(cached) $ECHO_C" >&6
10979 ac_cv_path_CP="$CP" # Let the user override the test with a path.
10982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10983 for as_dir in $PATH
10986 test -z "$as_dir" && as_dir=.
10987 for ac_exec_ext in '' $ac_executable_extensions; do
10988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10989 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
10990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10997 test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
11002 if test -n "$CP"; then
11003 { echo "$as_me:$LINENO: result: $CP" >&5
11004 echo "${ECHO_T}$CP" >&6; }
11006 { echo "$as_me:$LINENO: result: no" >&5
11007 echo "${ECHO_T}no" >&6; }
11011 # Extract the first word of "rm", so it can be a program name with args.
11012 set dummy rm; ac_word=$2
11013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11015 if test "${ac_cv_path_RM+set}" = set; then
11016 echo $ECHO_N "(cached) $ECHO_C" >&6
11020 ac_cv_path_RM="$RM" # Let the user override the test with a path.
11023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11024 for as_dir in $PATH
11027 test -z "$as_dir" && as_dir=.
11028 for ac_exec_ext in '' $ac_executable_extensions; do
11029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11030 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
11031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11038 test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
11043 if test -n "$RM"; then
11044 { echo "$as_me:$LINENO: result: $RM" >&5
11045 echo "${ECHO_T}$RM" >&6; }
11047 { echo "$as_me:$LINENO: result: no" >&5
11048 echo "${ECHO_T}no" >&6; }
11052 # Extract the first word of "chmod", so it can be a program name with args.
11053 set dummy chmod; ac_word=$2
11054 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11056 if test "${ac_cv_path_CHMOD+set}" = set; then
11057 echo $ECHO_N "(cached) $ECHO_C" >&6
11061 ac_cv_path_CHMOD="$CHMOD" # Let the user override the test with a path.
11064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11065 for as_dir in $PATH
11068 test -z "$as_dir" && as_dir=.
11069 for ac_exec_ext in '' $ac_executable_extensions; do
11070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11071 ac_cv_path_CHMOD="$as_dir/$ac_word$ac_exec_ext"
11072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11079 test -z "$ac_cv_path_CHMOD" && ac_cv_path_CHMOD=":"
11083 CHMOD=$ac_cv_path_CHMOD
11084 if test -n "$CHMOD"; then
11085 { echo "$as_me:$LINENO: result: $CHMOD" >&5
11086 echo "${ECHO_T}$CHMOD" >&6; }
11088 { echo "$as_me:$LINENO: result: no" >&5
11089 echo "${ECHO_T}no" >&6; }
11093 for ac_prog in gawk mawk nawk awk
11095 # Extract the first word of "$ac_prog", so it can be a program name with args.
11096 set dummy $ac_prog; ac_word=$2
11097 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11099 if test "${ac_cv_prog_AWK+set}" = set; then
11100 echo $ECHO_N "(cached) $ECHO_C" >&6
11102 if test -n "$AWK"; then
11103 ac_cv_prog_AWK="$AWK" # Let the user override the test.
11105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11106 for as_dir in $PATH
11109 test -z "$as_dir" && as_dir=.
11110 for ac_exec_ext in '' $ac_executable_extensions; do
11111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11112 ac_cv_prog_AWK="$ac_prog"
11113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11122 AWK=$ac_cv_prog_AWK
11123 if test -n "$AWK"; then
11124 { echo "$as_me:$LINENO: result: $AWK" >&5
11125 echo "${ECHO_T}$AWK" >&6; }
11127 { echo "$as_me:$LINENO: result: no" >&5
11128 echo "${ECHO_T}no" >&6; }
11132 test -n "$AWK" && break
11135 { echo "$as_me:$LINENO: checking for egrep" >&5
11136 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
11137 if test "${ac_cv_path_EGREP+set}" = set; then
11138 echo $ECHO_N "(cached) $ECHO_C" >&6
11140 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
11141 then ac_cv_path_EGREP="$GREP -E"
11143 # Extract the first word of "egrep" to use in msg output
11144 if test -z "$EGREP"; then
11145 set dummy egrep; ac_prog_name=$2
11146 if test "${ac_cv_path_EGREP+set}" = set; then
11147 echo $ECHO_N "(cached) $ECHO_C" >&6
11149 ac_path_EGREP_found=false
11150 # Loop through the user's path and test for each of PROGNAME-LIST
11151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11152 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
11155 test -z "$as_dir" && as_dir=.
11156 for ac_prog in egrep; do
11157 for ac_exec_ext in '' $ac_executable_extensions; do
11158 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
11159 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
11160 # Check for GNU ac_path_EGREP and select it if it is found.
11161 # Check for GNU $ac_path_EGREP
11162 case `"$ac_path_EGREP" --version 2>&1` in
11164 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
11167 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
11170 cat "conftest.in" "conftest.in" >"conftest.tmp"
11171 mv "conftest.tmp" "conftest.in"
11172 cp "conftest.in" "conftest.nl"
11173 echo 'EGREP' >> "conftest.nl"
11174 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
11175 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
11176 ac_count=`expr $ac_count + 1`
11177 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
11178 # Best one so far, save it but keep looking for a better one
11179 ac_cv_path_EGREP="$ac_path_EGREP"
11180 ac_path_EGREP_max=$ac_count
11182 # 10*(2^10) chars as input seems more than enough
11183 test $ac_count -gt 10 && break
11185 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
11189 $ac_path_EGREP_found && break 3
11199 EGREP="$ac_cv_path_EGREP"
11200 if test -z "$EGREP"; then
11201 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
11202 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
11203 { (exit 1); exit 1; }; }
11207 ac_cv_path_EGREP=$EGREP
11213 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
11214 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
11215 EGREP="$ac_cv_path_EGREP"
11218 # Extract the first word of "sed", so it can be a program name with args.
11219 set dummy sed; ac_word=$2
11220 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11222 if test "${ac_cv_path_SED+set}" = set; then
11223 echo $ECHO_N "(cached) $ECHO_C" >&6
11227 ac_cv_path_SED="$SED" # Let the user override the test with a path.
11230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11231 for as_dir in $PATH
11234 test -z "$as_dir" && as_dir=.
11235 for ac_exec_ext in '' $ac_executable_extensions; do
11236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11237 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
11238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11245 test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed"
11249 SED=$ac_cv_path_SED
11250 if test -n "$SED"; then
11251 { echo "$as_me:$LINENO: result: $SED" >&5
11252 echo "${ECHO_T}$SED" >&6; }
11254 { echo "$as_me:$LINENO: result: no" >&5
11255 echo "${ECHO_T}no" >&6; }
11259 # Extract the first word of "perl", so it can be a program name with args.
11260 set dummy perl; ac_word=$2
11261 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11263 if test "${ac_cv_path_PERL+set}" = set; then
11264 echo $ECHO_N "(cached) $ECHO_C" >&6
11268 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
11271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11272 for as_dir in $PATH
11275 test -z "$as_dir" && as_dir=.
11276 for ac_exec_ext in '' $ac_executable_extensions; do
11277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11278 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
11279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11286 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl"
11290 PERL=$ac_cv_path_PERL
11291 if test -n "$PERL"; then
11292 { echo "$as_me:$LINENO: result: $PERL" >&5
11293 echo "${ECHO_T}$PERL" >&6; }
11295 { echo "$as_me:$LINENO: result: no" >&5
11296 echo "${ECHO_T}no" >&6; }
11300 # Extract the first word of "ldconfig", so it can be a program name with args.
11301 set dummy ldconfig; ac_word=$2
11302 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11304 if test "${ac_cv_path_LDCONFIG+set}" = set; then
11305 echo $ECHO_N "(cached) $ECHO_C" >&6
11309 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
11312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11313 for as_dir in $PATH
11316 test -z "$as_dir" && as_dir=.
11317 for ac_exec_ext in '' $ac_executable_extensions; do
11318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11319 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
11320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11327 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG=":"
11331 LDCONFIG=$ac_cv_path_LDCONFIG
11332 if test -n "$LDCONFIG"; then
11333 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
11334 echo "${ECHO_T}$LDCONFIG" >&6; }
11336 { echo "$as_me:$LINENO: result: no" >&5
11337 echo "${ECHO_T}no" >&6; }
11341 if test -n "$ac_tool_prefix"; then
11342 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
11343 set dummy ${ac_tool_prefix}ar; ac_word=$2
11344 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11346 if test "${ac_cv_prog_AR+set}" = set; then
11347 echo $ECHO_N "(cached) $ECHO_C" >&6
11349 if test -n "$AR"; then
11350 ac_cv_prog_AR="$AR" # Let the user override the test.
11352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11353 for as_dir in $PATH
11356 test -z "$as_dir" && as_dir=.
11357 for ac_exec_ext in '' $ac_executable_extensions; do
11358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11359 ac_cv_prog_AR="${ac_tool_prefix}ar"
11360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11370 if test -n "$AR"; then
11371 { echo "$as_me:$LINENO: result: $AR" >&5
11372 echo "${ECHO_T}$AR" >&6; }
11374 { echo "$as_me:$LINENO: result: no" >&5
11375 echo "${ECHO_T}no" >&6; }
11380 if test -z "$ac_cv_prog_AR"; then
11382 # Extract the first word of "ar", so it can be a program name with args.
11383 set dummy ar; ac_word=$2
11384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11386 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
11387 echo $ECHO_N "(cached) $ECHO_C" >&6
11389 if test -n "$ac_ct_AR"; then
11390 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
11392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11393 for as_dir in $PATH
11396 test -z "$as_dir" && as_dir=.
11397 for ac_exec_ext in '' $ac_executable_extensions; do
11398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11399 ac_cv_prog_ac_ct_AR="ar"
11400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11409 ac_ct_AR=$ac_cv_prog_ac_ct_AR
11410 if test -n "$ac_ct_AR"; then
11411 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
11412 echo "${ECHO_T}$ac_ct_AR" >&6; }
11414 { echo "$as_me:$LINENO: result: no" >&5
11415 echo "${ECHO_T}no" >&6; }
11418 if test "x$ac_ct_AR" = x; then
11421 case $cross_compiling:$ac_tool_warned in
11423 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11424 whose name does not start with the host triplet. If you think this
11425 configuration is useful to you, please write to autoconf@gnu.org." >&5
11426 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11427 whose name does not start with the host triplet. If you think this
11428 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11429 ac_tool_warned=yes ;;
11434 AR="$ac_cv_prog_AR"
11437 if test -n "$ac_tool_prefix"; then
11438 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11439 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11440 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11442 if test "${ac_cv_prog_RANLIB+set}" = set; then
11443 echo $ECHO_N "(cached) $ECHO_C" >&6
11445 if test -n "$RANLIB"; then
11446 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11449 for as_dir in $PATH
11452 test -z "$as_dir" && as_dir=.
11453 for ac_exec_ext in '' $ac_executable_extensions; do
11454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11455 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11465 RANLIB=$ac_cv_prog_RANLIB
11466 if test -n "$RANLIB"; then
11467 { echo "$as_me:$LINENO: result: $RANLIB" >&5
11468 echo "${ECHO_T}$RANLIB" >&6; }
11470 { echo "$as_me:$LINENO: result: no" >&5
11471 echo "${ECHO_T}no" >&6; }
11476 if test -z "$ac_cv_prog_RANLIB"; then
11477 ac_ct_RANLIB=$RANLIB
11478 # Extract the first word of "ranlib", so it can be a program name with args.
11479 set dummy ranlib; ac_word=$2
11480 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11482 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11483 echo $ECHO_N "(cached) $ECHO_C" >&6
11485 if test -n "$ac_ct_RANLIB"; then
11486 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11489 for as_dir in $PATH
11492 test -z "$as_dir" && as_dir=.
11493 for ac_exec_ext in '' $ac_executable_extensions; do
11494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11495 ac_cv_prog_ac_ct_RANLIB="ranlib"
11496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11505 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11506 if test -n "$ac_ct_RANLIB"; then
11507 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11508 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
11510 { echo "$as_me:$LINENO: result: no" >&5
11511 echo "${ECHO_T}no" >&6; }
11514 if test "x$ac_ct_RANLIB" = x; then
11517 case $cross_compiling:$ac_tool_warned in
11519 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11520 whose name does not start with the host triplet. If you think this
11521 configuration is useful to you, please write to autoconf@gnu.org." >&5
11522 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11523 whose name does not start with the host triplet. If you think this
11524 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11525 ac_tool_warned=yes ;;
11527 RANLIB=$ac_ct_RANLIB
11530 RANLIB="$ac_cv_prog_RANLIB"
11533 if test -n "$ac_tool_prefix"; then
11534 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
11535 set dummy ${ac_tool_prefix}strip; ac_word=$2
11536 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11538 if test "${ac_cv_prog_STRIP+set}" = set; then
11539 echo $ECHO_N "(cached) $ECHO_C" >&6
11541 if test -n "$STRIP"; then
11542 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11545 for as_dir in $PATH
11548 test -z "$as_dir" && as_dir=.
11549 for ac_exec_ext in '' $ac_executable_extensions; do
11550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11551 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
11552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11561 STRIP=$ac_cv_prog_STRIP
11562 if test -n "$STRIP"; then
11563 { echo "$as_me:$LINENO: result: $STRIP" >&5
11564 echo "${ECHO_T}$STRIP" >&6; }
11566 { echo "$as_me:$LINENO: result: no" >&5
11567 echo "${ECHO_T}no" >&6; }
11572 if test -z "$ac_cv_prog_STRIP"; then
11574 # Extract the first word of "strip", so it can be a program name with args.
11575 set dummy strip; ac_word=$2
11576 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11578 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
11579 echo $ECHO_N "(cached) $ECHO_C" >&6
11581 if test -n "$ac_ct_STRIP"; then
11582 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
11584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11585 for as_dir in $PATH
11588 test -z "$as_dir" && as_dir=.
11589 for ac_exec_ext in '' $ac_executable_extensions; do
11590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11591 ac_cv_prog_ac_ct_STRIP="strip"
11592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11601 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
11602 if test -n "$ac_ct_STRIP"; then
11603 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
11604 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
11606 { echo "$as_me:$LINENO: result: no" >&5
11607 echo "${ECHO_T}no" >&6; }
11610 if test "x$ac_ct_STRIP" = x; then
11613 case $cross_compiling:$ac_tool_warned in
11615 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11616 whose name does not start with the host triplet. If you think this
11617 configuration is useful to you, please write to autoconf@gnu.org." >&5
11618 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11619 whose name does not start with the host triplet. If you think this
11620 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11621 ac_tool_warned=yes ;;
11626 STRIP="$ac_cv_prog_STRIP"
11629 # Extract the first word of "makeinfo", so it can be a program name with args.
11630 set dummy makeinfo; ac_word=$2
11631 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11633 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
11634 echo $ECHO_N "(cached) $ECHO_C" >&6
11636 if test -n "$MAKEINFO"; then
11637 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
11639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11640 for as_dir in $PATH
11643 test -z "$as_dir" && as_dir=.
11644 for ac_exec_ext in '' $ac_executable_extensions; do
11645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11646 ac_cv_prog_MAKEINFO="makeinfo"
11647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11656 MAKEINFO=$ac_cv_prog_MAKEINFO
11657 if test -n "$MAKEINFO"; then
11658 { echo "$as_me:$LINENO: result: $MAKEINFO" >&5
11659 echo "${ECHO_T}$MAKEINFO" >&6; }
11661 { echo "$as_me:$LINENO: result: no" >&5
11662 echo "${ECHO_T}no" >&6; }
11666 if test "_$MAKEINFO" = "_"; then
11667 MAKEINFO="@echo Makeinfo is missing. Info documentation will not be built.;true"
11669 case "$MAKEINFO" in
11671 { echo "$as_me:$LINENO: WARNING:
11672 *** Makeinfo is missing. Info documentation will not be built." >&5
11673 echo "$as_me: WARNING:
11674 *** Makeinfo is missing. Info documentation will not be built." >&2;}
11681 # Find a good install program. We prefer a C program (faster),
11682 # so one script is as good as another. But avoid the broken or
11683 # incompatible versions:
11684 # SysV /etc/install, /usr/sbin/install
11685 # SunOS /usr/etc/install
11686 # IRIX /sbin/install
11688 # AmigaOS /C/install, which installs bootblocks on floppy discs
11689 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11690 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11691 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11692 # OS/2's system install, which has a completely different semantic
11693 # ./install, which can be erroneously created by make from ./install.sh.
11694 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11695 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
11696 if test -z "$INSTALL"; then
11697 if test "${ac_cv_path_install+set}" = set; then
11698 echo $ECHO_N "(cached) $ECHO_C" >&6
11700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11701 for as_dir in $PATH
11704 test -z "$as_dir" && as_dir=.
11705 # Account for people who put trailing slashes in PATH elements.
11707 ./ | .// | /cC/* | \
11708 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11709 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
11712 # OSF1 and SCO ODT 3.0 have their own names for install.
11713 # Don't use installbsd from OSF since it installs stuff as root
11715 for ac_prog in ginstall scoinst install; do
11716 for ac_exec_ext in '' $ac_executable_extensions; do
11717 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
11718 if test $ac_prog = install &&
11719 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11720 # AIX install. It has an incompatible calling convention.
11722 elif test $ac_prog = install &&
11723 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11724 # program-specific install script used by HP pwplus--don't use.
11727 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11740 if test "${ac_cv_path_install+set}" = set; then
11741 INSTALL=$ac_cv_path_install
11743 # As a last resort, use the slow shell script. Don't cache a
11744 # value for INSTALL within a source directory, because that will
11745 # break other packages using the cache if that directory is
11746 # removed, or if the value is a relative name.
11747 INSTALL=$ac_install_sh
11750 { echo "$as_me:$LINENO: result: $INSTALL" >&5
11751 echo "${ECHO_T}$INSTALL" >&6; }
11753 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11754 # It thinks the first close brace ends the variable substitution.
11755 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11757 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11759 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11761 # See if we need a separate native compiler.
11762 if test $cross_compiling = no; then
11766 for ac_prog in gcc cc
11768 # Extract the first word of "$ac_prog", so it can be a program name with args.
11769 set dummy $ac_prog; ac_word=$2
11770 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11772 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
11773 echo $ECHO_N "(cached) $ECHO_C" >&6
11775 if test -n "$BUILD_CC"; then
11776 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
11778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11779 for as_dir in $PATH
11782 test -z "$as_dir" && as_dir=.
11783 for ac_exec_ext in '' $ac_executable_extensions; do
11784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11785 ac_cv_prog_BUILD_CC="$ac_prog"
11786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11795 BUILD_CC=$ac_cv_prog_BUILD_CC
11796 if test -n "$BUILD_CC"; then
11797 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
11798 echo "${ECHO_T}$BUILD_CC" >&6; }
11800 { echo "$as_me:$LINENO: result: no" >&5
11801 echo "${ECHO_T}no" >&6; }
11805 test -n "$BUILD_CC" && break
11844 for ac_header in dirent.h errno.h getopt.h malloc.h mntent.h paths.h setjmp.h signal.h stdarg.h stdint.h stdlib.h termios.h unistd.h utime.h linux/fd.h linux/major.h net/if_dl.h netinet/in.h sys/disklabel.h sys/ioctl.h sys/mkdev.h sys/mman.h sys/prctl.h sys/queue.h sys/resource.h sys/select.h sys/socket.h sys/sockio.h sys/stat.h sys/syscall.h sys/sysmacros.h sys/time.h sys/types.h sys/un.h sys/wait.h
11846 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11847 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11848 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11849 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11850 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11851 echo $ECHO_N "(cached) $ECHO_C" >&6
11853 ac_res=`eval echo '${'$as_ac_Header'}'`
11854 { echo "$as_me:$LINENO: result: $ac_res" >&5
11855 echo "${ECHO_T}$ac_res" >&6; }
11857 # Is the header compilable?
11858 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11859 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11860 cat >conftest.$ac_ext <<_ACEOF
11863 cat confdefs.h >>conftest.$ac_ext
11864 cat >>conftest.$ac_ext <<_ACEOF
11865 /* end confdefs.h. */
11866 $ac_includes_default
11867 #include <$ac_header>
11869 rm -f conftest.$ac_objext
11870 if { (ac_try="$ac_compile"
11871 case "(($ac_try" in
11872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11873 *) ac_try_echo=$ac_try;;
11875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11876 (eval "$ac_compile") 2>conftest.er1
11878 grep -v '^ *+' conftest.er1 >conftest.err
11880 cat conftest.err >&5
11881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11882 (exit $ac_status); } && {
11883 test -z "$ac_c_werror_flag" ||
11884 test ! -s conftest.err
11885 } && test -s conftest.$ac_objext; then
11886 ac_header_compiler=yes
11888 echo "$as_me: failed program was:" >&5
11889 sed 's/^/| /' conftest.$ac_ext >&5
11891 ac_header_compiler=no
11894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11895 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11896 echo "${ECHO_T}$ac_header_compiler" >&6; }
11898 # Is the header present?
11899 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11900 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11901 cat >conftest.$ac_ext <<_ACEOF
11904 cat confdefs.h >>conftest.$ac_ext
11905 cat >>conftest.$ac_ext <<_ACEOF
11906 /* end confdefs.h. */
11907 #include <$ac_header>
11909 if { (ac_try="$ac_cpp conftest.$ac_ext"
11910 case "(($ac_try" in
11911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11912 *) ac_try_echo=$ac_try;;
11914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11915 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11917 grep -v '^ *+' conftest.er1 >conftest.err
11919 cat conftest.err >&5
11920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11921 (exit $ac_status); } >/dev/null && {
11922 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11923 test ! -s conftest.err
11925 ac_header_preproc=yes
11927 echo "$as_me: failed program was:" >&5
11928 sed 's/^/| /' conftest.$ac_ext >&5
11930 ac_header_preproc=no
11933 rm -f conftest.err conftest.$ac_ext
11934 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11935 echo "${ECHO_T}$ac_header_preproc" >&6; }
11937 # So? What about this header?
11938 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11940 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11941 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11942 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11943 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11944 ac_header_preproc=yes
11947 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11948 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11949 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11950 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11951 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11952 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11953 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11954 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11955 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11956 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11957 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11958 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11962 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11964 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11965 echo $ECHO_N "(cached) $ECHO_C" >&6
11967 eval "$as_ac_Header=\$ac_header_preproc"
11969 ac_res=`eval echo '${'$as_ac_Header'}'`
11970 { echo "$as_me:$LINENO: result: $ac_res" >&5
11971 echo "${ECHO_T}$ac_res" >&6; }
11974 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11975 cat >>confdefs.h <<_ACEOF
11976 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11985 for ac_header in sys/disk.h sys/mount.h
11987 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11988 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11989 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11990 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11991 echo $ECHO_N "(cached) $ECHO_C" >&6
11993 cat >conftest.$ac_ext <<_ACEOF
11996 cat confdefs.h >>conftest.$ac_ext
11997 cat >>conftest.$ac_ext <<_ACEOF
11998 /* end confdefs.h. */
12000 #if HAVE_SYS_QUEUE_H
12001 #include <sys/queue.h>
12005 #include <$ac_header>
12007 rm -f conftest.$ac_objext
12008 if { (ac_try="$ac_compile"
12009 case "(($ac_try" in
12010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12011 *) ac_try_echo=$ac_try;;
12013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12014 (eval "$ac_compile") 2>conftest.er1
12016 grep -v '^ *+' conftest.er1 >conftest.err
12018 cat conftest.err >&5
12019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12020 (exit $ac_status); } && {
12021 test -z "$ac_c_werror_flag" ||
12022 test ! -s conftest.err
12023 } && test -s conftest.$ac_objext; then
12024 eval "$as_ac_Header=yes"
12026 echo "$as_me: failed program was:" >&5
12027 sed 's/^/| /' conftest.$ac_ext >&5
12029 eval "$as_ac_Header=no"
12032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12034 ac_res=`eval echo '${'$as_ac_Header'}'`
12035 { echo "$as_me:$LINENO: result: $ac_res" >&5
12036 echo "${ECHO_T}$ac_res" >&6; }
12037 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12038 cat >>confdefs.h <<_ACEOF
12039 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12047 for ac_header in net/if.h
12049 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12050 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12051 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12052 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12053 echo $ECHO_N "(cached) $ECHO_C" >&6
12055 cat >conftest.$ac_ext <<_ACEOF
12058 cat confdefs.h >>conftest.$ac_ext
12059 cat >>conftest.$ac_ext <<_ACEOF
12060 /* end confdefs.h. */
12062 #if HAVE_SYS_TYPES_H
12063 #include <sys/types.h>
12065 #if HAVE_SYS_SOCKET
12066 #include <sys/socket.h>
12070 #include <$ac_header>
12072 rm -f conftest.$ac_objext
12073 if { (ac_try="$ac_compile"
12074 case "(($ac_try" in
12075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12076 *) ac_try_echo=$ac_try;;
12078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12079 (eval "$ac_compile") 2>conftest.er1
12081 grep -v '^ *+' conftest.er1 >conftest.err
12083 cat conftest.err >&5
12084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12085 (exit $ac_status); } && {
12086 test -z "$ac_c_werror_flag" ||
12087 test ! -s conftest.err
12088 } && test -s conftest.$ac_objext; then
12089 eval "$as_ac_Header=yes"
12091 echo "$as_me: failed program was:" >&5
12092 sed 's/^/| /' conftest.$ac_ext >&5
12094 eval "$as_ac_Header=no"
12097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12099 ac_res=`eval echo '${'$as_ac_Header'}'`
12100 { echo "$as_me:$LINENO: result: $ac_res" >&5
12101 echo "${ECHO_T}$ac_res" >&6; }
12102 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12103 cat >>confdefs.h <<_ACEOF
12104 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12112 for ac_func in vprintf
12114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12115 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12117 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12118 echo $ECHO_N "(cached) $ECHO_C" >&6
12120 cat >conftest.$ac_ext <<_ACEOF
12123 cat confdefs.h >>conftest.$ac_ext
12124 cat >>conftest.$ac_ext <<_ACEOF
12125 /* end confdefs.h. */
12126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12128 #define $ac_func innocuous_$ac_func
12130 /* System header to define __stub macros and hopefully few prototypes,
12131 which can conflict with char $ac_func (); below.
12132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12133 <limits.h> exists even on freestanding compilers. */
12136 # include <limits.h>
12138 # include <assert.h>
12143 /* Override any GCC internal prototype to avoid an error.
12144 Use char because int might match the return type of a GCC
12145 builtin and then its argument prototype would still apply. */
12150 /* The GNU C library defines this for functions which it implements
12151 to always fail with ENOSYS. Some functions are actually named
12152 something starting with __ and the normal name is an alias. */
12153 #if defined __stub_$ac_func || defined __stub___$ac_func
12160 return $ac_func ();
12165 rm -f conftest.$ac_objext conftest$ac_exeext
12166 if { (ac_try="$ac_link"
12167 case "(($ac_try" in
12168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12169 *) ac_try_echo=$ac_try;;
12171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12172 (eval "$ac_link") 2>conftest.er1
12174 grep -v '^ *+' conftest.er1 >conftest.err
12176 cat conftest.err >&5
12177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12178 (exit $ac_status); } && {
12179 test -z "$ac_c_werror_flag" ||
12180 test ! -s conftest.err
12181 } && test -s conftest$ac_exeext &&
12182 $as_test_x conftest$ac_exeext; then
12183 eval "$as_ac_var=yes"
12185 echo "$as_me: failed program was:" >&5
12186 sed 's/^/| /' conftest.$ac_ext >&5
12188 eval "$as_ac_var=no"
12191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12192 conftest$ac_exeext conftest.$ac_ext
12194 ac_res=`eval echo '${'$as_ac_var'}'`
12195 { echo "$as_me:$LINENO: result: $ac_res" >&5
12196 echo "${ECHO_T}$ac_res" >&6; }
12197 if test `eval echo '${'$as_ac_var'}'` = yes; then
12198 cat >>confdefs.h <<_ACEOF
12199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12202 { echo "$as_me:$LINENO: checking for _doprnt" >&5
12203 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
12204 if test "${ac_cv_func__doprnt+set}" = set; then
12205 echo $ECHO_N "(cached) $ECHO_C" >&6
12207 cat >conftest.$ac_ext <<_ACEOF
12210 cat confdefs.h >>conftest.$ac_ext
12211 cat >>conftest.$ac_ext <<_ACEOF
12212 /* end confdefs.h. */
12213 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
12214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12215 #define _doprnt innocuous__doprnt
12217 /* System header to define __stub macros and hopefully few prototypes,
12218 which can conflict with char _doprnt (); below.
12219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12220 <limits.h> exists even on freestanding compilers. */
12223 # include <limits.h>
12225 # include <assert.h>
12230 /* Override any GCC internal prototype to avoid an error.
12231 Use char because int might match the return type of a GCC
12232 builtin and then its argument prototype would still apply. */
12237 /* The GNU C library defines this for functions which it implements
12238 to always fail with ENOSYS. Some functions are actually named
12239 something starting with __ and the normal name is an alias. */
12240 #if defined __stub__doprnt || defined __stub____doprnt
12252 rm -f conftest.$ac_objext conftest$ac_exeext
12253 if { (ac_try="$ac_link"
12254 case "(($ac_try" in
12255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12256 *) ac_try_echo=$ac_try;;
12258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12259 (eval "$ac_link") 2>conftest.er1
12261 grep -v '^ *+' conftest.er1 >conftest.err
12263 cat conftest.err >&5
12264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12265 (exit $ac_status); } && {
12266 test -z "$ac_c_werror_flag" ||
12267 test ! -s conftest.err
12268 } && test -s conftest$ac_exeext &&
12269 $as_test_x conftest$ac_exeext; then
12270 ac_cv_func__doprnt=yes
12272 echo "$as_me: failed program was:" >&5
12273 sed 's/^/| /' conftest.$ac_ext >&5
12275 ac_cv_func__doprnt=no
12278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12279 conftest$ac_exeext conftest.$ac_ext
12281 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
12282 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
12283 if test $ac_cv_func__doprnt = yes; then
12285 cat >>confdefs.h <<\_ACEOF
12286 #define HAVE_DOPRNT 1
12295 { echo "$as_me:$LINENO: checking for struct dirent.d_reclen" >&5
12296 echo $ECHO_N "checking for struct dirent.d_reclen... $ECHO_C" >&6; }
12297 if test "${ac_cv_member_struct_dirent_d_reclen+set}" = set; then
12298 echo $ECHO_N "(cached) $ECHO_C" >&6
12300 cat >conftest.$ac_ext <<_ACEOF
12303 cat confdefs.h >>conftest.$ac_ext
12304 cat >>conftest.$ac_ext <<_ACEOF
12305 /* end confdefs.h. */
12306 #include <dirent.h>
12311 static struct dirent ac_aggr;
12312 if (ac_aggr.d_reclen)
12318 rm -f conftest.$ac_objext
12319 if { (ac_try="$ac_compile"
12320 case "(($ac_try" in
12321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12322 *) ac_try_echo=$ac_try;;
12324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12325 (eval "$ac_compile") 2>conftest.er1
12327 grep -v '^ *+' conftest.er1 >conftest.err
12329 cat conftest.err >&5
12330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12331 (exit $ac_status); } && {
12332 test -z "$ac_c_werror_flag" ||
12333 test ! -s conftest.err
12334 } && test -s conftest.$ac_objext; then
12335 ac_cv_member_struct_dirent_d_reclen=yes
12337 echo "$as_me: failed program was:" >&5
12338 sed 's/^/| /' conftest.$ac_ext >&5
12340 cat >conftest.$ac_ext <<_ACEOF
12343 cat confdefs.h >>conftest.$ac_ext
12344 cat >>conftest.$ac_ext <<_ACEOF
12345 /* end confdefs.h. */
12346 #include <dirent.h>
12351 static struct dirent ac_aggr;
12352 if (sizeof ac_aggr.d_reclen)
12358 rm -f conftest.$ac_objext
12359 if { (ac_try="$ac_compile"
12360 case "(($ac_try" in
12361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12362 *) ac_try_echo=$ac_try;;
12364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12365 (eval "$ac_compile") 2>conftest.er1
12367 grep -v '^ *+' conftest.er1 >conftest.err
12369 cat conftest.err >&5
12370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371 (exit $ac_status); } && {
12372 test -z "$ac_c_werror_flag" ||
12373 test ! -s conftest.err
12374 } && test -s conftest.$ac_objext; then
12375 ac_cv_member_struct_dirent_d_reclen=yes
12377 echo "$as_me: failed program was:" >&5
12378 sed 's/^/| /' conftest.$ac_ext >&5
12380 ac_cv_member_struct_dirent_d_reclen=no
12383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12388 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_dirent_d_reclen" >&5
12389 echo "${ECHO_T}$ac_cv_member_struct_dirent_d_reclen" >&6; }
12390 if test $ac_cv_member_struct_dirent_d_reclen = yes; then
12391 cat >>confdefs.h <<\_ACEOF
12392 #define HAVE_RECLEN_DIRENT 1
12397 { echo "$as_me:$LINENO: checking for ssize_t" >&5
12398 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
12399 if test "${ac_cv_type_ssize_t+set}" = set; then
12400 echo $ECHO_N "(cached) $ECHO_C" >&6
12402 cat >conftest.$ac_ext <<_ACEOF
12405 cat confdefs.h >>conftest.$ac_ext
12406 cat >>conftest.$ac_ext <<_ACEOF
12407 /* end confdefs.h. */
12408 #include <sys/types.h>
12410 typedef ssize_t ac__type_new_;
12414 if ((ac__type_new_ *) 0)
12416 if (sizeof (ac__type_new_))
12422 rm -f conftest.$ac_objext
12423 if { (ac_try="$ac_compile"
12424 case "(($ac_try" in
12425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12426 *) ac_try_echo=$ac_try;;
12428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12429 (eval "$ac_compile") 2>conftest.er1
12431 grep -v '^ *+' conftest.er1 >conftest.err
12433 cat conftest.err >&5
12434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12435 (exit $ac_status); } && {
12436 test -z "$ac_c_werror_flag" ||
12437 test ! -s conftest.err
12438 } && test -s conftest.$ac_objext; then
12439 ac_cv_type_ssize_t=yes
12441 echo "$as_me: failed program was:" >&5
12442 sed 's/^/| /' conftest.$ac_ext >&5
12444 ac_cv_type_ssize_t=no
12447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12449 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
12450 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
12451 if test $ac_cv_type_ssize_t = yes; then
12452 cat >>confdefs.h <<\_ACEOF
12453 #define HAVE_TYPE_SSIZE_T 1
12458 { echo "$as_me:$LINENO: checking whether llseek is declared" >&5
12459 echo $ECHO_N "checking whether llseek is declared... $ECHO_C" >&6; }
12460 if test "${ac_cv_have_decl_llseek+set}" = set; then
12461 echo $ECHO_N "(cached) $ECHO_C" >&6
12463 cat >conftest.$ac_ext <<_ACEOF
12466 cat confdefs.h >>conftest.$ac_ext
12467 cat >>conftest.$ac_ext <<_ACEOF
12468 /* end confdefs.h. */
12469 #include <unistd.h>
12482 rm -f conftest.$ac_objext
12483 if { (ac_try="$ac_compile"
12484 case "(($ac_try" in
12485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12486 *) ac_try_echo=$ac_try;;
12488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12489 (eval "$ac_compile") 2>conftest.er1
12491 grep -v '^ *+' conftest.er1 >conftest.err
12493 cat conftest.err >&5
12494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12495 (exit $ac_status); } && {
12496 test -z "$ac_c_werror_flag" ||
12497 test ! -s conftest.err
12498 } && test -s conftest.$ac_objext; then
12499 ac_cv_have_decl_llseek=yes
12501 echo "$as_me: failed program was:" >&5
12502 sed 's/^/| /' conftest.$ac_ext >&5
12504 ac_cv_have_decl_llseek=no
12507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12509 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_llseek" >&5
12510 echo "${ECHO_T}$ac_cv_have_decl_llseek" >&6; }
12511 if test $ac_cv_have_decl_llseek = yes; then
12512 cat >>confdefs.h <<\_ACEOF
12513 #define HAVE_LLSEEK_PROTOTYPE 1
12518 { echo "$as_me:$LINENO: checking whether lseek64 is declared" >&5
12519 echo $ECHO_N "checking whether lseek64 is declared... $ECHO_C" >&6; }
12520 if test "${ac_cv_have_decl_lseek64+set}" = set; then
12521 echo $ECHO_N "(cached) $ECHO_C" >&6
12523 cat >conftest.$ac_ext <<_ACEOF
12526 cat confdefs.h >>conftest.$ac_ext
12527 cat >>conftest.$ac_ext <<_ACEOF
12528 /* end confdefs.h. */
12529 #define _LARGEFILE_SOURCE
12530 #define _LARGEFILE64_SOURCE
12531 #include <unistd.h>
12544 rm -f conftest.$ac_objext
12545 if { (ac_try="$ac_compile"
12546 case "(($ac_try" in
12547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12548 *) ac_try_echo=$ac_try;;
12550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12551 (eval "$ac_compile") 2>conftest.er1
12553 grep -v '^ *+' conftest.er1 >conftest.err
12555 cat conftest.err >&5
12556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12557 (exit $ac_status); } && {
12558 test -z "$ac_c_werror_flag" ||
12559 test ! -s conftest.err
12560 } && test -s conftest.$ac_objext; then
12561 ac_cv_have_decl_lseek64=yes
12563 echo "$as_me: failed program was:" >&5
12564 sed 's/^/| /' conftest.$ac_ext >&5
12566 ac_cv_have_decl_lseek64=no
12569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12571 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_lseek64" >&5
12572 echo "${ECHO_T}$ac_cv_have_decl_lseek64" >&6; }
12573 if test $ac_cv_have_decl_lseek64 = yes; then
12574 cat >>confdefs.h <<\_ACEOF
12575 #define HAVE_LSEEK64_PROTOTYPE 1
12580 { echo "$as_me:$LINENO: checking for short" >&5
12581 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
12582 if test "${ac_cv_type_short+set}" = set; then
12583 echo $ECHO_N "(cached) $ECHO_C" >&6
12585 cat >conftest.$ac_ext <<_ACEOF
12588 cat confdefs.h >>conftest.$ac_ext
12589 cat >>conftest.$ac_ext <<_ACEOF
12590 /* end confdefs.h. */
12591 $ac_includes_default
12592 typedef short ac__type_new_;
12596 if ((ac__type_new_ *) 0)
12598 if (sizeof (ac__type_new_))
12604 rm -f conftest.$ac_objext
12605 if { (ac_try="$ac_compile"
12606 case "(($ac_try" in
12607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12608 *) ac_try_echo=$ac_try;;
12610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12611 (eval "$ac_compile") 2>conftest.er1
12613 grep -v '^ *+' conftest.er1 >conftest.err
12615 cat conftest.err >&5
12616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12617 (exit $ac_status); } && {
12618 test -z "$ac_c_werror_flag" ||
12619 test ! -s conftest.err
12620 } && test -s conftest.$ac_objext; then
12621 ac_cv_type_short=yes
12623 echo "$as_me: failed program was:" >&5
12624 sed 's/^/| /' conftest.$ac_ext >&5
12626 ac_cv_type_short=no
12629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12631 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
12632 echo "${ECHO_T}$ac_cv_type_short" >&6; }
12634 # The cast to long int works around a bug in the HP C Compiler
12635 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12636 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12637 # This bug is HP SR number 8606223364.
12638 { echo "$as_me:$LINENO: checking size of short" >&5
12639 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
12640 if test "${ac_cv_sizeof_short+set}" = set; then
12641 echo $ECHO_N "(cached) $ECHO_C" >&6
12643 if test "$cross_compiling" = yes; then
12644 # Depending upon the size, compute the lo and hi bounds.
12645 cat >conftest.$ac_ext <<_ACEOF
12648 cat confdefs.h >>conftest.$ac_ext
12649 cat >>conftest.$ac_ext <<_ACEOF
12650 /* end confdefs.h. */
12651 $ac_includes_default
12652 typedef short ac__type_sizeof_;
12656 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
12663 rm -f conftest.$ac_objext
12664 if { (ac_try="$ac_compile"
12665 case "(($ac_try" in
12666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12667 *) ac_try_echo=$ac_try;;
12669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12670 (eval "$ac_compile") 2>conftest.er1
12672 grep -v '^ *+' conftest.er1 >conftest.err
12674 cat conftest.err >&5
12675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12676 (exit $ac_status); } && {
12677 test -z "$ac_c_werror_flag" ||
12678 test ! -s conftest.err
12679 } && test -s conftest.$ac_objext; then
12682 cat >conftest.$ac_ext <<_ACEOF
12685 cat confdefs.h >>conftest.$ac_ext
12686 cat >>conftest.$ac_ext <<_ACEOF
12687 /* end confdefs.h. */
12688 $ac_includes_default
12689 typedef short ac__type_sizeof_;
12693 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
12700 rm -f conftest.$ac_objext
12701 if { (ac_try="$ac_compile"
12702 case "(($ac_try" in
12703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12704 *) ac_try_echo=$ac_try;;
12706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12707 (eval "$ac_compile") 2>conftest.er1
12709 grep -v '^ *+' conftest.er1 >conftest.err
12711 cat conftest.err >&5
12712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12713 (exit $ac_status); } && {
12714 test -z "$ac_c_werror_flag" ||
12715 test ! -s conftest.err
12716 } && test -s conftest.$ac_objext; then
12717 ac_hi=$ac_mid; break
12719 echo "$as_me: failed program was:" >&5
12720 sed 's/^/| /' conftest.$ac_ext >&5
12722 ac_lo=`expr $ac_mid + 1`
12723 if test $ac_lo -le $ac_mid; then
12727 ac_mid=`expr 2 '*' $ac_mid + 1`
12730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12733 echo "$as_me: failed program was:" >&5
12734 sed 's/^/| /' conftest.$ac_ext >&5
12736 cat >conftest.$ac_ext <<_ACEOF
12739 cat confdefs.h >>conftest.$ac_ext
12740 cat >>conftest.$ac_ext <<_ACEOF
12741 /* end confdefs.h. */
12742 $ac_includes_default
12743 typedef short ac__type_sizeof_;
12747 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
12754 rm -f conftest.$ac_objext
12755 if { (ac_try="$ac_compile"
12756 case "(($ac_try" in
12757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12758 *) ac_try_echo=$ac_try;;
12760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12761 (eval "$ac_compile") 2>conftest.er1
12763 grep -v '^ *+' conftest.er1 >conftest.err
12765 cat conftest.err >&5
12766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12767 (exit $ac_status); } && {
12768 test -z "$ac_c_werror_flag" ||
12769 test ! -s conftest.err
12770 } && test -s conftest.$ac_objext; then
12773 cat >conftest.$ac_ext <<_ACEOF
12776 cat confdefs.h >>conftest.$ac_ext
12777 cat >>conftest.$ac_ext <<_ACEOF
12778 /* end confdefs.h. */
12779 $ac_includes_default
12780 typedef short ac__type_sizeof_;
12784 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
12791 rm -f conftest.$ac_objext
12792 if { (ac_try="$ac_compile"
12793 case "(($ac_try" in
12794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12795 *) ac_try_echo=$ac_try;;
12797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12798 (eval "$ac_compile") 2>conftest.er1
12800 grep -v '^ *+' conftest.er1 >conftest.err
12802 cat conftest.err >&5
12803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12804 (exit $ac_status); } && {
12805 test -z "$ac_c_werror_flag" ||
12806 test ! -s conftest.err
12807 } && test -s conftest.$ac_objext; then
12808 ac_lo=$ac_mid; break
12810 echo "$as_me: failed program was:" >&5
12811 sed 's/^/| /' conftest.$ac_ext >&5
12813 ac_hi=`expr '(' $ac_mid ')' - 1`
12814 if test $ac_mid -le $ac_hi; then
12818 ac_mid=`expr 2 '*' $ac_mid`
12821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12824 echo "$as_me: failed program was:" >&5
12825 sed 's/^/| /' conftest.$ac_ext >&5
12830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12834 # Binary search between lo and hi bounds.
12835 while test "x$ac_lo" != "x$ac_hi"; do
12836 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12837 cat >conftest.$ac_ext <<_ACEOF
12840 cat confdefs.h >>conftest.$ac_ext
12841 cat >>conftest.$ac_ext <<_ACEOF
12842 /* end confdefs.h. */
12843 $ac_includes_default
12844 typedef short ac__type_sizeof_;
12848 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
12855 rm -f conftest.$ac_objext
12856 if { (ac_try="$ac_compile"
12857 case "(($ac_try" in
12858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12859 *) ac_try_echo=$ac_try;;
12861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12862 (eval "$ac_compile") 2>conftest.er1
12864 grep -v '^ *+' conftest.er1 >conftest.err
12866 cat conftest.err >&5
12867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12868 (exit $ac_status); } && {
12869 test -z "$ac_c_werror_flag" ||
12870 test ! -s conftest.err
12871 } && test -s conftest.$ac_objext; then
12874 echo "$as_me: failed program was:" >&5
12875 sed 's/^/| /' conftest.$ac_ext >&5
12877 ac_lo=`expr '(' $ac_mid ')' + 1`
12880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12883 ?*) ac_cv_sizeof_short=$ac_lo;;
12884 '') if test "$ac_cv_type_short" = yes; then
12885 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
12886 See \`config.log' for more details." >&5
12887 echo "$as_me: error: cannot compute sizeof (short)
12888 See \`config.log' for more details." >&2;}
12889 { (exit 77); exit 77; }; }
12891 ac_cv_sizeof_short=0
12895 cat >conftest.$ac_ext <<_ACEOF
12898 cat confdefs.h >>conftest.$ac_ext
12899 cat >>conftest.$ac_ext <<_ACEOF
12900 /* end confdefs.h. */
12901 $ac_includes_default
12902 typedef short ac__type_sizeof_;
12903 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
12904 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
12906 #include <stdlib.h>
12911 FILE *f = fopen ("conftest.val", "w");
12914 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
12916 long int i = longval ();
12917 if (i != ((long int) (sizeof (ac__type_sizeof_))))
12919 fprintf (f, "%ld\n", i);
12923 unsigned long int i = ulongval ();
12924 if (i != ((long int) (sizeof (ac__type_sizeof_))))
12926 fprintf (f, "%lu\n", i);
12928 return ferror (f) || fclose (f) != 0;
12934 rm -f conftest$ac_exeext
12935 if { (ac_try="$ac_link"
12936 case "(($ac_try" in
12937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12938 *) ac_try_echo=$ac_try;;
12940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12941 (eval "$ac_link") 2>&5
12943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12944 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12945 { (case "(($ac_try" in
12946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12947 *) ac_try_echo=$ac_try;;
12949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12950 (eval "$ac_try") 2>&5
12952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12953 (exit $ac_status); }; }; then
12954 ac_cv_sizeof_short=`cat conftest.val`
12956 echo "$as_me: program exited with status $ac_status" >&5
12957 echo "$as_me: failed program was:" >&5
12958 sed 's/^/| /' conftest.$ac_ext >&5
12960 ( exit $ac_status )
12961 if test "$ac_cv_type_short" = yes; then
12962 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
12963 See \`config.log' for more details." >&5
12964 echo "$as_me: error: cannot compute sizeof (short)
12965 See \`config.log' for more details." >&2;}
12966 { (exit 77); exit 77; }; }
12968 ac_cv_sizeof_short=0
12971 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12975 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
12976 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
12980 cat >>confdefs.h <<_ACEOF
12981 #define SIZEOF_SHORT $ac_cv_sizeof_short
12985 { echo "$as_me:$LINENO: checking for int" >&5
12986 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
12987 if test "${ac_cv_type_int+set}" = set; then
12988 echo $ECHO_N "(cached) $ECHO_C" >&6
12990 cat >conftest.$ac_ext <<_ACEOF
12993 cat confdefs.h >>conftest.$ac_ext
12994 cat >>conftest.$ac_ext <<_ACEOF
12995 /* end confdefs.h. */
12996 $ac_includes_default
12997 typedef int ac__type_new_;
13001 if ((ac__type_new_ *) 0)
13003 if (sizeof (ac__type_new_))
13009 rm -f conftest.$ac_objext
13010 if { (ac_try="$ac_compile"
13011 case "(($ac_try" in
13012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13013 *) ac_try_echo=$ac_try;;
13015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13016 (eval "$ac_compile") 2>conftest.er1
13018 grep -v '^ *+' conftest.er1 >conftest.err
13020 cat conftest.err >&5
13021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13022 (exit $ac_status); } && {
13023 test -z "$ac_c_werror_flag" ||
13024 test ! -s conftest.err
13025 } && test -s conftest.$ac_objext; then
13028 echo "$as_me: failed program was:" >&5
13029 sed 's/^/| /' conftest.$ac_ext >&5
13034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13036 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
13037 echo "${ECHO_T}$ac_cv_type_int" >&6; }
13039 # The cast to long int works around a bug in the HP C Compiler
13040 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13041 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13042 # This bug is HP SR number 8606223364.
13043 { echo "$as_me:$LINENO: checking size of int" >&5
13044 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
13045 if test "${ac_cv_sizeof_int+set}" = set; then
13046 echo $ECHO_N "(cached) $ECHO_C" >&6
13048 if test "$cross_compiling" = yes; then
13049 # Depending upon the size, compute the lo and hi bounds.
13050 cat >conftest.$ac_ext <<_ACEOF
13053 cat confdefs.h >>conftest.$ac_ext
13054 cat >>conftest.$ac_ext <<_ACEOF
13055 /* end confdefs.h. */
13056 $ac_includes_default
13057 typedef int ac__type_sizeof_;
13061 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
13068 rm -f conftest.$ac_objext
13069 if { (ac_try="$ac_compile"
13070 case "(($ac_try" in
13071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13072 *) ac_try_echo=$ac_try;;
13074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13075 (eval "$ac_compile") 2>conftest.er1
13077 grep -v '^ *+' conftest.er1 >conftest.err
13079 cat conftest.err >&5
13080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13081 (exit $ac_status); } && {
13082 test -z "$ac_c_werror_flag" ||
13083 test ! -s conftest.err
13084 } && test -s conftest.$ac_objext; then
13087 cat >conftest.$ac_ext <<_ACEOF
13090 cat confdefs.h >>conftest.$ac_ext
13091 cat >>conftest.$ac_ext <<_ACEOF
13092 /* end confdefs.h. */
13093 $ac_includes_default
13094 typedef int ac__type_sizeof_;
13098 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
13105 rm -f conftest.$ac_objext
13106 if { (ac_try="$ac_compile"
13107 case "(($ac_try" in
13108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13109 *) ac_try_echo=$ac_try;;
13111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13112 (eval "$ac_compile") 2>conftest.er1
13114 grep -v '^ *+' conftest.er1 >conftest.err
13116 cat conftest.err >&5
13117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13118 (exit $ac_status); } && {
13119 test -z "$ac_c_werror_flag" ||
13120 test ! -s conftest.err
13121 } && test -s conftest.$ac_objext; then
13122 ac_hi=$ac_mid; break
13124 echo "$as_me: failed program was:" >&5
13125 sed 's/^/| /' conftest.$ac_ext >&5
13127 ac_lo=`expr $ac_mid + 1`
13128 if test $ac_lo -le $ac_mid; then
13132 ac_mid=`expr 2 '*' $ac_mid + 1`
13135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13138 echo "$as_me: failed program was:" >&5
13139 sed 's/^/| /' conftest.$ac_ext >&5
13141 cat >conftest.$ac_ext <<_ACEOF
13144 cat confdefs.h >>conftest.$ac_ext
13145 cat >>conftest.$ac_ext <<_ACEOF
13146 /* end confdefs.h. */
13147 $ac_includes_default
13148 typedef int ac__type_sizeof_;
13152 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
13159 rm -f conftest.$ac_objext
13160 if { (ac_try="$ac_compile"
13161 case "(($ac_try" in
13162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13163 *) ac_try_echo=$ac_try;;
13165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13166 (eval "$ac_compile") 2>conftest.er1
13168 grep -v '^ *+' conftest.er1 >conftest.err
13170 cat conftest.err >&5
13171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13172 (exit $ac_status); } && {
13173 test -z "$ac_c_werror_flag" ||
13174 test ! -s conftest.err
13175 } && test -s conftest.$ac_objext; then
13178 cat >conftest.$ac_ext <<_ACEOF
13181 cat confdefs.h >>conftest.$ac_ext
13182 cat >>conftest.$ac_ext <<_ACEOF
13183 /* end confdefs.h. */
13184 $ac_includes_default
13185 typedef int ac__type_sizeof_;
13189 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
13196 rm -f conftest.$ac_objext
13197 if { (ac_try="$ac_compile"
13198 case "(($ac_try" in
13199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13200 *) ac_try_echo=$ac_try;;
13202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13203 (eval "$ac_compile") 2>conftest.er1
13205 grep -v '^ *+' conftest.er1 >conftest.err
13207 cat conftest.err >&5
13208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13209 (exit $ac_status); } && {
13210 test -z "$ac_c_werror_flag" ||
13211 test ! -s conftest.err
13212 } && test -s conftest.$ac_objext; then
13213 ac_lo=$ac_mid; break
13215 echo "$as_me: failed program was:" >&5
13216 sed 's/^/| /' conftest.$ac_ext >&5
13218 ac_hi=`expr '(' $ac_mid ')' - 1`
13219 if test $ac_mid -le $ac_hi; then
13223 ac_mid=`expr 2 '*' $ac_mid`
13226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13229 echo "$as_me: failed program was:" >&5
13230 sed 's/^/| /' conftest.$ac_ext >&5
13235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13239 # Binary search between lo and hi bounds.
13240 while test "x$ac_lo" != "x$ac_hi"; do
13241 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13242 cat >conftest.$ac_ext <<_ACEOF
13245 cat confdefs.h >>conftest.$ac_ext
13246 cat >>conftest.$ac_ext <<_ACEOF
13247 /* end confdefs.h. */
13248 $ac_includes_default
13249 typedef int ac__type_sizeof_;
13253 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
13260 rm -f conftest.$ac_objext
13261 if { (ac_try="$ac_compile"
13262 case "(($ac_try" in
13263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13264 *) ac_try_echo=$ac_try;;
13266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13267 (eval "$ac_compile") 2>conftest.er1
13269 grep -v '^ *+' conftest.er1 >conftest.err
13271 cat conftest.err >&5
13272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13273 (exit $ac_status); } && {
13274 test -z "$ac_c_werror_flag" ||
13275 test ! -s conftest.err
13276 } && test -s conftest.$ac_objext; then
13279 echo "$as_me: failed program was:" >&5
13280 sed 's/^/| /' conftest.$ac_ext >&5
13282 ac_lo=`expr '(' $ac_mid ')' + 1`
13285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13288 ?*) ac_cv_sizeof_int=$ac_lo;;
13289 '') if test "$ac_cv_type_int" = yes; then
13290 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
13291 See \`config.log' for more details." >&5
13292 echo "$as_me: error: cannot compute sizeof (int)
13293 See \`config.log' for more details." >&2;}
13294 { (exit 77); exit 77; }; }
13300 cat >conftest.$ac_ext <<_ACEOF
13303 cat confdefs.h >>conftest.$ac_ext
13304 cat >>conftest.$ac_ext <<_ACEOF
13305 /* end confdefs.h. */
13306 $ac_includes_default
13307 typedef int ac__type_sizeof_;
13308 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
13309 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
13311 #include <stdlib.h>
13316 FILE *f = fopen ("conftest.val", "w");
13319 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
13321 long int i = longval ();
13322 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13324 fprintf (f, "%ld\n", i);
13328 unsigned long int i = ulongval ();
13329 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13331 fprintf (f, "%lu\n", i);
13333 return ferror (f) || fclose (f) != 0;
13339 rm -f conftest$ac_exeext
13340 if { (ac_try="$ac_link"
13341 case "(($ac_try" in
13342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13343 *) ac_try_echo=$ac_try;;
13345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13346 (eval "$ac_link") 2>&5
13348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13349 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13350 { (case "(($ac_try" in
13351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13352 *) ac_try_echo=$ac_try;;
13354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13355 (eval "$ac_try") 2>&5
13357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13358 (exit $ac_status); }; }; then
13359 ac_cv_sizeof_int=`cat conftest.val`
13361 echo "$as_me: program exited with status $ac_status" >&5
13362 echo "$as_me: failed program was:" >&5
13363 sed 's/^/| /' conftest.$ac_ext >&5
13365 ( exit $ac_status )
13366 if test "$ac_cv_type_int" = yes; then
13367 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
13368 See \`config.log' for more details." >&5
13369 echo "$as_me: error: cannot compute sizeof (int)
13370 See \`config.log' for more details." >&2;}
13371 { (exit 77); exit 77; }; }
13376 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13380 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
13381 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
13385 cat >>confdefs.h <<_ACEOF
13386 #define SIZEOF_INT $ac_cv_sizeof_int
13390 { echo "$as_me:$LINENO: checking for long" >&5
13391 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
13392 if test "${ac_cv_type_long+set}" = set; then
13393 echo $ECHO_N "(cached) $ECHO_C" >&6
13395 cat >conftest.$ac_ext <<_ACEOF
13398 cat confdefs.h >>conftest.$ac_ext
13399 cat >>conftest.$ac_ext <<_ACEOF
13400 /* end confdefs.h. */
13401 $ac_includes_default
13402 typedef long ac__type_new_;
13406 if ((ac__type_new_ *) 0)
13408 if (sizeof (ac__type_new_))
13414 rm -f conftest.$ac_objext
13415 if { (ac_try="$ac_compile"
13416 case "(($ac_try" in
13417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13418 *) ac_try_echo=$ac_try;;
13420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13421 (eval "$ac_compile") 2>conftest.er1
13423 grep -v '^ *+' conftest.er1 >conftest.err
13425 cat conftest.err >&5
13426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13427 (exit $ac_status); } && {
13428 test -z "$ac_c_werror_flag" ||
13429 test ! -s conftest.err
13430 } && test -s conftest.$ac_objext; then
13431 ac_cv_type_long=yes
13433 echo "$as_me: failed program was:" >&5
13434 sed 's/^/| /' conftest.$ac_ext >&5
13439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13441 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
13442 echo "${ECHO_T}$ac_cv_type_long" >&6; }
13444 # The cast to long int works around a bug in the HP C Compiler
13445 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13446 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13447 # This bug is HP SR number 8606223364.
13448 { echo "$as_me:$LINENO: checking size of long" >&5
13449 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
13450 if test "${ac_cv_sizeof_long+set}" = set; then
13451 echo $ECHO_N "(cached) $ECHO_C" >&6
13453 if test "$cross_compiling" = yes; then
13454 # Depending upon the size, compute the lo and hi bounds.
13455 cat >conftest.$ac_ext <<_ACEOF
13458 cat confdefs.h >>conftest.$ac_ext
13459 cat >>conftest.$ac_ext <<_ACEOF
13460 /* end confdefs.h. */
13461 $ac_includes_default
13462 typedef long ac__type_sizeof_;
13466 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
13473 rm -f conftest.$ac_objext
13474 if { (ac_try="$ac_compile"
13475 case "(($ac_try" in
13476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13477 *) ac_try_echo=$ac_try;;
13479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13480 (eval "$ac_compile") 2>conftest.er1
13482 grep -v '^ *+' conftest.er1 >conftest.err
13484 cat conftest.err >&5
13485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13486 (exit $ac_status); } && {
13487 test -z "$ac_c_werror_flag" ||
13488 test ! -s conftest.err
13489 } && test -s conftest.$ac_objext; then
13492 cat >conftest.$ac_ext <<_ACEOF
13495 cat confdefs.h >>conftest.$ac_ext
13496 cat >>conftest.$ac_ext <<_ACEOF
13497 /* end confdefs.h. */
13498 $ac_includes_default
13499 typedef long ac__type_sizeof_;
13503 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
13510 rm -f conftest.$ac_objext
13511 if { (ac_try="$ac_compile"
13512 case "(($ac_try" in
13513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13514 *) ac_try_echo=$ac_try;;
13516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13517 (eval "$ac_compile") 2>conftest.er1
13519 grep -v '^ *+' conftest.er1 >conftest.err
13521 cat conftest.err >&5
13522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13523 (exit $ac_status); } && {
13524 test -z "$ac_c_werror_flag" ||
13525 test ! -s conftest.err
13526 } && test -s conftest.$ac_objext; then
13527 ac_hi=$ac_mid; break
13529 echo "$as_me: failed program was:" >&5
13530 sed 's/^/| /' conftest.$ac_ext >&5
13532 ac_lo=`expr $ac_mid + 1`
13533 if test $ac_lo -le $ac_mid; then
13537 ac_mid=`expr 2 '*' $ac_mid + 1`
13540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13543 echo "$as_me: failed program was:" >&5
13544 sed 's/^/| /' conftest.$ac_ext >&5
13546 cat >conftest.$ac_ext <<_ACEOF
13549 cat confdefs.h >>conftest.$ac_ext
13550 cat >>conftest.$ac_ext <<_ACEOF
13551 /* end confdefs.h. */
13552 $ac_includes_default
13553 typedef long ac__type_sizeof_;
13557 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
13564 rm -f conftest.$ac_objext
13565 if { (ac_try="$ac_compile"
13566 case "(($ac_try" in
13567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13568 *) ac_try_echo=$ac_try;;
13570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13571 (eval "$ac_compile") 2>conftest.er1
13573 grep -v '^ *+' conftest.er1 >conftest.err
13575 cat conftest.err >&5
13576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13577 (exit $ac_status); } && {
13578 test -z "$ac_c_werror_flag" ||
13579 test ! -s conftest.err
13580 } && test -s conftest.$ac_objext; then
13583 cat >conftest.$ac_ext <<_ACEOF
13586 cat confdefs.h >>conftest.$ac_ext
13587 cat >>conftest.$ac_ext <<_ACEOF
13588 /* end confdefs.h. */
13589 $ac_includes_default
13590 typedef long ac__type_sizeof_;
13594 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
13601 rm -f conftest.$ac_objext
13602 if { (ac_try="$ac_compile"
13603 case "(($ac_try" in
13604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13605 *) ac_try_echo=$ac_try;;
13607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13608 (eval "$ac_compile") 2>conftest.er1
13610 grep -v '^ *+' conftest.er1 >conftest.err
13612 cat conftest.err >&5
13613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13614 (exit $ac_status); } && {
13615 test -z "$ac_c_werror_flag" ||
13616 test ! -s conftest.err
13617 } && test -s conftest.$ac_objext; then
13618 ac_lo=$ac_mid; break
13620 echo "$as_me: failed program was:" >&5
13621 sed 's/^/| /' conftest.$ac_ext >&5
13623 ac_hi=`expr '(' $ac_mid ')' - 1`
13624 if test $ac_mid -le $ac_hi; then
13628 ac_mid=`expr 2 '*' $ac_mid`
13631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13634 echo "$as_me: failed program was:" >&5
13635 sed 's/^/| /' conftest.$ac_ext >&5
13640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13644 # Binary search between lo and hi bounds.
13645 while test "x$ac_lo" != "x$ac_hi"; do
13646 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13647 cat >conftest.$ac_ext <<_ACEOF
13650 cat confdefs.h >>conftest.$ac_ext
13651 cat >>conftest.$ac_ext <<_ACEOF
13652 /* end confdefs.h. */
13653 $ac_includes_default
13654 typedef long ac__type_sizeof_;
13658 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
13665 rm -f conftest.$ac_objext
13666 if { (ac_try="$ac_compile"
13667 case "(($ac_try" in
13668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13669 *) ac_try_echo=$ac_try;;
13671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13672 (eval "$ac_compile") 2>conftest.er1
13674 grep -v '^ *+' conftest.er1 >conftest.err
13676 cat conftest.err >&5
13677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13678 (exit $ac_status); } && {
13679 test -z "$ac_c_werror_flag" ||
13680 test ! -s conftest.err
13681 } && test -s conftest.$ac_objext; then
13684 echo "$as_me: failed program was:" >&5
13685 sed 's/^/| /' conftest.$ac_ext >&5
13687 ac_lo=`expr '(' $ac_mid ')' + 1`
13690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13693 ?*) ac_cv_sizeof_long=$ac_lo;;
13694 '') if test "$ac_cv_type_long" = yes; then
13695 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
13696 See \`config.log' for more details." >&5
13697 echo "$as_me: error: cannot compute sizeof (long)
13698 See \`config.log' for more details." >&2;}
13699 { (exit 77); exit 77; }; }
13701 ac_cv_sizeof_long=0
13705 cat >conftest.$ac_ext <<_ACEOF
13708 cat confdefs.h >>conftest.$ac_ext
13709 cat >>conftest.$ac_ext <<_ACEOF
13710 /* end confdefs.h. */
13711 $ac_includes_default
13712 typedef long ac__type_sizeof_;
13713 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
13714 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
13716 #include <stdlib.h>
13721 FILE *f = fopen ("conftest.val", "w");
13724 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
13726 long int i = longval ();
13727 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13729 fprintf (f, "%ld\n", i);
13733 unsigned long int i = ulongval ();
13734 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13736 fprintf (f, "%lu\n", i);
13738 return ferror (f) || fclose (f) != 0;
13744 rm -f conftest$ac_exeext
13745 if { (ac_try="$ac_link"
13746 case "(($ac_try" in
13747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13748 *) ac_try_echo=$ac_try;;
13750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13751 (eval "$ac_link") 2>&5
13753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13754 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13755 { (case "(($ac_try" in
13756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13757 *) ac_try_echo=$ac_try;;
13759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13760 (eval "$ac_try") 2>&5
13762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13763 (exit $ac_status); }; }; then
13764 ac_cv_sizeof_long=`cat conftest.val`
13766 echo "$as_me: program exited with status $ac_status" >&5
13767 echo "$as_me: failed program was:" >&5
13768 sed 's/^/| /' conftest.$ac_ext >&5
13770 ( exit $ac_status )
13771 if test "$ac_cv_type_long" = yes; then
13772 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
13773 See \`config.log' for more details." >&5
13774 echo "$as_me: error: cannot compute sizeof (long)
13775 See \`config.log' for more details." >&2;}
13776 { (exit 77); exit 77; }; }
13778 ac_cv_sizeof_long=0
13781 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13785 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
13786 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
13790 cat >>confdefs.h <<_ACEOF
13791 #define SIZEOF_LONG $ac_cv_sizeof_long
13795 { echo "$as_me:$LINENO: checking for long long" >&5
13796 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
13797 if test "${ac_cv_type_long_long+set}" = set; then
13798 echo $ECHO_N "(cached) $ECHO_C" >&6
13800 cat >conftest.$ac_ext <<_ACEOF
13803 cat confdefs.h >>conftest.$ac_ext
13804 cat >>conftest.$ac_ext <<_ACEOF
13805 /* end confdefs.h. */
13806 $ac_includes_default
13807 typedef long long ac__type_new_;
13811 if ((ac__type_new_ *) 0)
13813 if (sizeof (ac__type_new_))
13819 rm -f conftest.$ac_objext
13820 if { (ac_try="$ac_compile"
13821 case "(($ac_try" in
13822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13823 *) ac_try_echo=$ac_try;;
13825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13826 (eval "$ac_compile") 2>conftest.er1
13828 grep -v '^ *+' conftest.er1 >conftest.err
13830 cat conftest.err >&5
13831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13832 (exit $ac_status); } && {
13833 test -z "$ac_c_werror_flag" ||
13834 test ! -s conftest.err
13835 } && test -s conftest.$ac_objext; then
13836 ac_cv_type_long_long=yes
13838 echo "$as_me: failed program was:" >&5
13839 sed 's/^/| /' conftest.$ac_ext >&5
13841 ac_cv_type_long_long=no
13844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13846 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
13847 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
13849 # The cast to long int works around a bug in the HP C Compiler
13850 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13851 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13852 # This bug is HP SR number 8606223364.
13853 { echo "$as_me:$LINENO: checking size of long long" >&5
13854 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
13855 if test "${ac_cv_sizeof_long_long+set}" = set; then
13856 echo $ECHO_N "(cached) $ECHO_C" >&6
13858 if test "$cross_compiling" = yes; then
13859 # Depending upon the size, compute the lo and hi bounds.
13860 cat >conftest.$ac_ext <<_ACEOF
13863 cat confdefs.h >>conftest.$ac_ext
13864 cat >>conftest.$ac_ext <<_ACEOF
13865 /* end confdefs.h. */
13866 $ac_includes_default
13867 typedef long long ac__type_sizeof_;
13871 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
13878 rm -f conftest.$ac_objext
13879 if { (ac_try="$ac_compile"
13880 case "(($ac_try" in
13881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13882 *) ac_try_echo=$ac_try;;
13884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13885 (eval "$ac_compile") 2>conftest.er1
13887 grep -v '^ *+' conftest.er1 >conftest.err
13889 cat conftest.err >&5
13890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13891 (exit $ac_status); } && {
13892 test -z "$ac_c_werror_flag" ||
13893 test ! -s conftest.err
13894 } && test -s conftest.$ac_objext; then
13897 cat >conftest.$ac_ext <<_ACEOF
13900 cat confdefs.h >>conftest.$ac_ext
13901 cat >>conftest.$ac_ext <<_ACEOF
13902 /* end confdefs.h. */
13903 $ac_includes_default
13904 typedef long long ac__type_sizeof_;
13908 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
13915 rm -f conftest.$ac_objext
13916 if { (ac_try="$ac_compile"
13917 case "(($ac_try" in
13918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13919 *) ac_try_echo=$ac_try;;
13921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13922 (eval "$ac_compile") 2>conftest.er1
13924 grep -v '^ *+' conftest.er1 >conftest.err
13926 cat conftest.err >&5
13927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13928 (exit $ac_status); } && {
13929 test -z "$ac_c_werror_flag" ||
13930 test ! -s conftest.err
13931 } && test -s conftest.$ac_objext; then
13932 ac_hi=$ac_mid; break
13934 echo "$as_me: failed program was:" >&5
13935 sed 's/^/| /' conftest.$ac_ext >&5
13937 ac_lo=`expr $ac_mid + 1`
13938 if test $ac_lo -le $ac_mid; then
13942 ac_mid=`expr 2 '*' $ac_mid + 1`
13945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13948 echo "$as_me: failed program was:" >&5
13949 sed 's/^/| /' conftest.$ac_ext >&5
13951 cat >conftest.$ac_ext <<_ACEOF
13954 cat confdefs.h >>conftest.$ac_ext
13955 cat >>conftest.$ac_ext <<_ACEOF
13956 /* end confdefs.h. */
13957 $ac_includes_default
13958 typedef long long ac__type_sizeof_;
13962 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
13969 rm -f conftest.$ac_objext
13970 if { (ac_try="$ac_compile"
13971 case "(($ac_try" in
13972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13973 *) ac_try_echo=$ac_try;;
13975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13976 (eval "$ac_compile") 2>conftest.er1
13978 grep -v '^ *+' conftest.er1 >conftest.err
13980 cat conftest.err >&5
13981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13982 (exit $ac_status); } && {
13983 test -z "$ac_c_werror_flag" ||
13984 test ! -s conftest.err
13985 } && test -s conftest.$ac_objext; then
13988 cat >conftest.$ac_ext <<_ACEOF
13991 cat confdefs.h >>conftest.$ac_ext
13992 cat >>conftest.$ac_ext <<_ACEOF
13993 /* end confdefs.h. */
13994 $ac_includes_default
13995 typedef long long ac__type_sizeof_;
13999 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
14006 rm -f conftest.$ac_objext
14007 if { (ac_try="$ac_compile"
14008 case "(($ac_try" in
14009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14010 *) ac_try_echo=$ac_try;;
14012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14013 (eval "$ac_compile") 2>conftest.er1
14015 grep -v '^ *+' conftest.er1 >conftest.err
14017 cat conftest.err >&5
14018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14019 (exit $ac_status); } && {
14020 test -z "$ac_c_werror_flag" ||
14021 test ! -s conftest.err
14022 } && test -s conftest.$ac_objext; then
14023 ac_lo=$ac_mid; break
14025 echo "$as_me: failed program was:" >&5
14026 sed 's/^/| /' conftest.$ac_ext >&5
14028 ac_hi=`expr '(' $ac_mid ')' - 1`
14029 if test $ac_mid -le $ac_hi; then
14033 ac_mid=`expr 2 '*' $ac_mid`
14036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14039 echo "$as_me: failed program was:" >&5
14040 sed 's/^/| /' conftest.$ac_ext >&5
14045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14049 # Binary search between lo and hi bounds.
14050 while test "x$ac_lo" != "x$ac_hi"; do
14051 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14052 cat >conftest.$ac_ext <<_ACEOF
14055 cat confdefs.h >>conftest.$ac_ext
14056 cat >>conftest.$ac_ext <<_ACEOF
14057 /* end confdefs.h. */
14058 $ac_includes_default
14059 typedef long long ac__type_sizeof_;
14063 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
14070 rm -f conftest.$ac_objext
14071 if { (ac_try="$ac_compile"
14072 case "(($ac_try" in
14073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14074 *) ac_try_echo=$ac_try;;
14076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14077 (eval "$ac_compile") 2>conftest.er1
14079 grep -v '^ *+' conftest.er1 >conftest.err
14081 cat conftest.err >&5
14082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083 (exit $ac_status); } && {
14084 test -z "$ac_c_werror_flag" ||
14085 test ! -s conftest.err
14086 } && test -s conftest.$ac_objext; then
14089 echo "$as_me: failed program was:" >&5
14090 sed 's/^/| /' conftest.$ac_ext >&5
14092 ac_lo=`expr '(' $ac_mid ')' + 1`
14095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14098 ?*) ac_cv_sizeof_long_long=$ac_lo;;
14099 '') if test "$ac_cv_type_long_long" = yes; then
14100 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
14101 See \`config.log' for more details." >&5
14102 echo "$as_me: error: cannot compute sizeof (long long)
14103 See \`config.log' for more details." >&2;}
14104 { (exit 77); exit 77; }; }
14106 ac_cv_sizeof_long_long=0
14110 cat >conftest.$ac_ext <<_ACEOF
14113 cat confdefs.h >>conftest.$ac_ext
14114 cat >>conftest.$ac_ext <<_ACEOF
14115 /* end confdefs.h. */
14116 $ac_includes_default
14117 typedef long long ac__type_sizeof_;
14118 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
14119 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
14121 #include <stdlib.h>
14126 FILE *f = fopen ("conftest.val", "w");
14129 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
14131 long int i = longval ();
14132 if (i != ((long int) (sizeof (ac__type_sizeof_))))
14134 fprintf (f, "%ld\n", i);
14138 unsigned long int i = ulongval ();
14139 if (i != ((long int) (sizeof (ac__type_sizeof_))))
14141 fprintf (f, "%lu\n", i);
14143 return ferror (f) || fclose (f) != 0;
14149 rm -f conftest$ac_exeext
14150 if { (ac_try="$ac_link"
14151 case "(($ac_try" in
14152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14153 *) ac_try_echo=$ac_try;;
14155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14156 (eval "$ac_link") 2>&5
14158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14159 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14160 { (case "(($ac_try" in
14161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14162 *) ac_try_echo=$ac_try;;
14164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14165 (eval "$ac_try") 2>&5
14167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14168 (exit $ac_status); }; }; then
14169 ac_cv_sizeof_long_long=`cat conftest.val`
14171 echo "$as_me: program exited with status $ac_status" >&5
14172 echo "$as_me: failed program was:" >&5
14173 sed 's/^/| /' conftest.$ac_ext >&5
14175 ( exit $ac_status )
14176 if test "$ac_cv_type_long_long" = yes; then
14177 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
14178 See \`config.log' for more details." >&5
14179 echo "$as_me: error: cannot compute sizeof (long long)
14180 See \`config.log' for more details." >&2;}
14181 { (exit 77); exit 77; }; }
14183 ac_cv_sizeof_long_long=0
14186 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14190 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
14191 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
14195 cat >>confdefs.h <<_ACEOF
14196 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
14200 SIZEOF_SHORT=$ac_cv_sizeof_short
14201 SIZEOF_INT=$ac_cv_sizeof_int
14202 SIZEOF_LONG=$ac_cv_sizeof_long
14203 SIZEOF_LONG_LONG=$ac_cv_sizeof_long_long
14208 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
14209 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
14210 if test "${ac_cv_c_bigendian+set}" = set; then
14211 echo $ECHO_N "(cached) $ECHO_C" >&6
14213 # See if sys/param.h defines the BYTE_ORDER macro.
14214 cat >conftest.$ac_ext <<_ACEOF
14217 cat confdefs.h >>conftest.$ac_ext
14218 cat >>conftest.$ac_ext <<_ACEOF
14219 /* end confdefs.h. */
14220 #include <sys/types.h>
14221 #include <sys/param.h>
14226 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
14227 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
14228 bogus endian macros
14235 rm -f conftest.$ac_objext
14236 if { (ac_try="$ac_compile"
14237 case "(($ac_try" in
14238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14239 *) ac_try_echo=$ac_try;;
14241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14242 (eval "$ac_compile") 2>conftest.er1
14244 grep -v '^ *+' conftest.er1 >conftest.err
14246 cat conftest.err >&5
14247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14248 (exit $ac_status); } && {
14249 test -z "$ac_c_werror_flag" ||
14250 test ! -s conftest.err
14251 } && test -s conftest.$ac_objext; then
14252 # It does; now see whether it defined to BIG_ENDIAN or not.
14253 cat >conftest.$ac_ext <<_ACEOF
14256 cat confdefs.h >>conftest.$ac_ext
14257 cat >>conftest.$ac_ext <<_ACEOF
14258 /* end confdefs.h. */
14259 #include <sys/types.h>
14260 #include <sys/param.h>
14265 #if BYTE_ORDER != BIG_ENDIAN
14273 rm -f conftest.$ac_objext
14274 if { (ac_try="$ac_compile"
14275 case "(($ac_try" in
14276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14277 *) ac_try_echo=$ac_try;;
14279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14280 (eval "$ac_compile") 2>conftest.er1
14282 grep -v '^ *+' conftest.er1 >conftest.err
14284 cat conftest.err >&5
14285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286 (exit $ac_status); } && {
14287 test -z "$ac_c_werror_flag" ||
14288 test ! -s conftest.err
14289 } && test -s conftest.$ac_objext; then
14290 ac_cv_c_bigendian=yes
14292 echo "$as_me: failed program was:" >&5
14293 sed 's/^/| /' conftest.$ac_ext >&5
14295 ac_cv_c_bigendian=no
14298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14300 echo "$as_me: failed program was:" >&5
14301 sed 's/^/| /' conftest.$ac_ext >&5
14303 # It does not; compile a test program.
14304 if test "$cross_compiling" = yes; then
14305 # try to guess the endianness by grepping values into an object file
14306 ac_cv_c_bigendian=unknown
14307 cat >conftest.$ac_ext <<_ACEOF
14310 cat confdefs.h >>conftest.$ac_ext
14311 cat >>conftest.$ac_ext <<_ACEOF
14312 /* end confdefs.h. */
14313 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14314 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14315 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
14316 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14317 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14318 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
14322 _ascii (); _ebcdic ();
14327 rm -f conftest.$ac_objext
14328 if { (ac_try="$ac_compile"
14329 case "(($ac_try" in
14330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14331 *) ac_try_echo=$ac_try;;
14333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14334 (eval "$ac_compile") 2>conftest.er1
14336 grep -v '^ *+' conftest.er1 >conftest.err
14338 cat conftest.err >&5
14339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14340 (exit $ac_status); } && {
14341 test -z "$ac_c_werror_flag" ||
14342 test ! -s conftest.err
14343 } && test -s conftest.$ac_objext; then
14344 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
14345 ac_cv_c_bigendian=yes
14347 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
14348 if test "$ac_cv_c_bigendian" = unknown; then
14349 ac_cv_c_bigendian=no
14351 # finding both strings is unlikely to happen, but who knows?
14352 ac_cv_c_bigendian=unknown
14356 echo "$as_me: failed program was:" >&5
14357 sed 's/^/| /' conftest.$ac_ext >&5
14362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14364 cat >conftest.$ac_ext <<_ACEOF
14367 cat confdefs.h >>conftest.$ac_ext
14368 cat >>conftest.$ac_ext <<_ACEOF
14369 /* end confdefs.h. */
14370 $ac_includes_default
14375 /* Are we little or big endian? From Harbison&Steele. */
14379 char c[sizeof (long int)];
14382 return u.c[sizeof (long int) - 1] == 1;
14388 rm -f conftest$ac_exeext
14389 if { (ac_try="$ac_link"
14390 case "(($ac_try" in
14391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14392 *) ac_try_echo=$ac_try;;
14394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14395 (eval "$ac_link") 2>&5
14397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14398 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14399 { (case "(($ac_try" in
14400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14401 *) ac_try_echo=$ac_try;;
14403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14404 (eval "$ac_try") 2>&5
14406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407 (exit $ac_status); }; }; then
14408 ac_cv_c_bigendian=no
14410 echo "$as_me: program exited with status $ac_status" >&5
14411 echo "$as_me: failed program was:" >&5
14412 sed 's/^/| /' conftest.$ac_ext >&5
14414 ( exit $ac_status )
14415 ac_cv_c_bigendian=yes
14417 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14425 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
14426 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
14427 case $ac_cv_c_bigendian in
14430 cat >>confdefs.h <<\_ACEOF
14431 #define WORDS_BIGENDIAN 1
14437 { { echo "$as_me:$LINENO: error: unknown endianness
14438 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
14439 echo "$as_me: error: unknown endianness
14440 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
14441 { (exit 1); exit 1; }; } ;;
14444 BUILD_CC="$BUILD_CC" CPP="$CPP" /bin/sh $ac_aux_dir/parse-types.sh
14445 ASM_TYPES_HEADER=./asm_types.h
14447 echo "/* These defines are needed for the public ext2fs.h header file */" \
14449 if grep HAVE_SYS_TYPES_H confdefs.h > tmp_config.$$; then
14450 uniq tmp_config.$$ >> public_config.h
14452 echo "#undef HAVE_SYS_TYPES_H" >> public_config.h
14454 if grep WORDS_BIGENDIAN confdefs.h > tmp_config.$$; then
14455 uniq tmp_config.$$ >> public_config.h
14457 echo "#undef WORDS_BIGENDIAN" >> public_config.h
14459 rm -f tmp_config.$$
14460 PUBLIC_CONFIG_HEADER=./public_config.h
14463 for ac_header in inttypes.h
14465 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14466 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14467 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14468 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14469 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14470 echo $ECHO_N "(cached) $ECHO_C" >&6
14472 ac_res=`eval echo '${'$as_ac_Header'}'`
14473 { echo "$as_me:$LINENO: result: $ac_res" >&5
14474 echo "${ECHO_T}$ac_res" >&6; }
14476 # Is the header compilable?
14477 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14478 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14479 cat >conftest.$ac_ext <<_ACEOF
14482 cat confdefs.h >>conftest.$ac_ext
14483 cat >>conftest.$ac_ext <<_ACEOF
14484 /* end confdefs.h. */
14485 $ac_includes_default
14486 #include <$ac_header>
14488 rm -f conftest.$ac_objext
14489 if { (ac_try="$ac_compile"
14490 case "(($ac_try" in
14491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14492 *) ac_try_echo=$ac_try;;
14494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14495 (eval "$ac_compile") 2>conftest.er1
14497 grep -v '^ *+' conftest.er1 >conftest.err
14499 cat conftest.err >&5
14500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14501 (exit $ac_status); } && {
14502 test -z "$ac_c_werror_flag" ||
14503 test ! -s conftest.err
14504 } && test -s conftest.$ac_objext; then
14505 ac_header_compiler=yes
14507 echo "$as_me: failed program was:" >&5
14508 sed 's/^/| /' conftest.$ac_ext >&5
14510 ac_header_compiler=no
14513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14514 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14515 echo "${ECHO_T}$ac_header_compiler" >&6; }
14517 # Is the header present?
14518 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14519 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14520 cat >conftest.$ac_ext <<_ACEOF
14523 cat confdefs.h >>conftest.$ac_ext
14524 cat >>conftest.$ac_ext <<_ACEOF
14525 /* end confdefs.h. */
14526 #include <$ac_header>
14528 if { (ac_try="$ac_cpp conftest.$ac_ext"
14529 case "(($ac_try" in
14530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14531 *) ac_try_echo=$ac_try;;
14533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14534 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14536 grep -v '^ *+' conftest.er1 >conftest.err
14538 cat conftest.err >&5
14539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540 (exit $ac_status); } >/dev/null && {
14541 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14542 test ! -s conftest.err
14544 ac_header_preproc=yes
14546 echo "$as_me: failed program was:" >&5
14547 sed 's/^/| /' conftest.$ac_ext >&5
14549 ac_header_preproc=no
14552 rm -f conftest.err conftest.$ac_ext
14553 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14554 echo "${ECHO_T}$ac_header_preproc" >&6; }
14556 # So? What about this header?
14557 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14559 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14560 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14561 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14562 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14563 ac_header_preproc=yes
14566 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14567 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14568 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14569 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14570 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14571 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14572 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14573 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14574 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14575 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14576 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14577 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14581 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14582 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14583 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14584 echo $ECHO_N "(cached) $ECHO_C" >&6
14586 eval "$as_ac_Header=\$ac_header_preproc"
14588 ac_res=`eval echo '${'$as_ac_Header'}'`
14589 { echo "$as_me:$LINENO: result: $ac_res" >&5
14590 echo "${ECHO_T}$ac_res" >&6; }
14593 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14594 cat >>confdefs.h <<_ACEOF
14595 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14602 { echo "$as_me:$LINENO: checking for intptr_t" >&5
14603 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6; }
14604 if test "${ac_cv_type_intptr_t+set}" = set; then
14605 echo $ECHO_N "(cached) $ECHO_C" >&6
14607 cat >conftest.$ac_ext <<_ACEOF
14610 cat confdefs.h >>conftest.$ac_ext
14611 cat >>conftest.$ac_ext <<_ACEOF
14612 /* end confdefs.h. */
14613 $ac_includes_default
14614 typedef intptr_t ac__type_new_;
14618 if ((ac__type_new_ *) 0)
14620 if (sizeof (ac__type_new_))
14626 rm -f conftest.$ac_objext
14627 if { (ac_try="$ac_compile"
14628 case "(($ac_try" in
14629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14630 *) ac_try_echo=$ac_try;;
14632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14633 (eval "$ac_compile") 2>conftest.er1
14635 grep -v '^ *+' conftest.er1 >conftest.err
14637 cat conftest.err >&5
14638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14639 (exit $ac_status); } && {
14640 test -z "$ac_c_werror_flag" ||
14641 test ! -s conftest.err
14642 } && test -s conftest.$ac_objext; then
14643 ac_cv_type_intptr_t=yes
14645 echo "$as_me: failed program was:" >&5
14646 sed 's/^/| /' conftest.$ac_ext >&5
14648 ac_cv_type_intptr_t=no
14651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14653 { echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
14654 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6; }
14655 if test $ac_cv_type_intptr_t = yes; then
14657 cat >>confdefs.h <<_ACEOF
14658 #define HAVE_INTPTR_T 1
14664 { echo "$as_me:$LINENO: checking whether struct stat has a st_flags field" >&5
14665 echo $ECHO_N "checking whether struct stat has a st_flags field... $ECHO_C" >&6; }
14666 if test "${e2fsprogs_cv_struct_st_flags+set}" = set; then
14667 echo $ECHO_N "(cached) $ECHO_C" >&6
14669 cat >conftest.$ac_ext <<_ACEOF
14672 cat confdefs.h >>conftest.$ac_ext
14673 cat >>conftest.$ac_ext <<_ACEOF
14674 /* end confdefs.h. */
14675 #include <sys/stat.h>
14679 struct stat stat; stat.st_flags = 0;
14684 rm -f conftest.$ac_objext
14685 if { (ac_try="$ac_compile"
14686 case "(($ac_try" in
14687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14688 *) ac_try_echo=$ac_try;;
14690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14691 (eval "$ac_compile") 2>conftest.er1
14693 grep -v '^ *+' conftest.er1 >conftest.err
14695 cat conftest.err >&5
14696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14697 (exit $ac_status); } && {
14698 test -z "$ac_c_werror_flag" ||
14699 test ! -s conftest.err
14700 } && test -s conftest.$ac_objext; then
14701 e2fsprogs_cv_struct_st_flags=yes
14703 echo "$as_me: failed program was:" >&5
14704 sed 's/^/| /' conftest.$ac_ext >&5
14706 e2fsprogs_cv_struct_st_flags=no
14709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14712 { echo "$as_me:$LINENO: result: $e2fsprogs_cv_struct_st_flags" >&5
14713 echo "${ECHO_T}$e2fsprogs_cv_struct_st_flags" >&6; }
14714 if test "$e2fsprogs_cv_struct_st_flags" = yes; then
14715 { echo "$as_me:$LINENO: checking whether st_flags field is useful" >&5
14716 echo $ECHO_N "checking whether st_flags field is useful... $ECHO_C" >&6; }
14717 if test "${e2fsprogs_cv_struct_st_flags_immut+set}" = set; then
14718 echo $ECHO_N "(cached) $ECHO_C" >&6
14720 cat >conftest.$ac_ext <<_ACEOF
14723 cat confdefs.h >>conftest.$ac_ext
14724 cat >>conftest.$ac_ext <<_ACEOF
14725 /* end confdefs.h. */
14726 #include <sys/stat.h>
14730 struct stat stat; stat.st_flags |= UF_IMMUTABLE;
14735 rm -f conftest.$ac_objext
14736 if { (ac_try="$ac_compile"
14737 case "(($ac_try" in
14738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14739 *) ac_try_echo=$ac_try;;
14741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14742 (eval "$ac_compile") 2>conftest.er1
14744 grep -v '^ *+' conftest.er1 >conftest.err
14746 cat conftest.err >&5
14747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 (exit $ac_status); } && {
14749 test -z "$ac_c_werror_flag" ||
14750 test ! -s conftest.err
14751 } && test -s conftest.$ac_objext; then
14752 e2fsprogs_cv_struct_st_flags_immut=yes
14754 echo "$as_me: failed program was:" >&5
14755 sed 's/^/| /' conftest.$ac_ext >&5
14757 e2fsprogs_cv_struct_st_flags_immut=no
14760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14763 { echo "$as_me:$LINENO: result: $e2fsprogs_cv_struct_st_flags_immut" >&5
14764 echo "${ECHO_T}$e2fsprogs_cv_struct_st_flags_immut" >&6; }
14765 if test "$e2fsprogs_cv_struct_st_flags_immut" = yes; then
14766 cat >>confdefs.h <<\_ACEOF
14767 #define HAVE_STAT_FLAGS 1
14772 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
14773 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
14774 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
14775 echo $ECHO_N "(cached) $ECHO_C" >&6
14777 cat >conftest.$ac_ext <<_ACEOF
14780 cat confdefs.h >>conftest.$ac_ext
14781 cat >>conftest.$ac_ext <<_ACEOF
14782 /* end confdefs.h. */
14783 #include <sys/types.h>
14784 #include <sys/socket.h>
14789 static struct sockaddr ac_aggr;
14790 if (ac_aggr.sa_len)
14796 rm -f conftest.$ac_objext
14797 if { (ac_try="$ac_compile"
14798 case "(($ac_try" in
14799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14800 *) ac_try_echo=$ac_try;;
14802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14803 (eval "$ac_compile") 2>conftest.er1
14805 grep -v '^ *+' conftest.er1 >conftest.err
14807 cat conftest.err >&5
14808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14809 (exit $ac_status); } && {
14810 test -z "$ac_c_werror_flag" ||
14811 test ! -s conftest.err
14812 } && test -s conftest.$ac_objext; then
14813 ac_cv_member_struct_sockaddr_sa_len=yes
14815 echo "$as_me: failed program was:" >&5
14816 sed 's/^/| /' conftest.$ac_ext >&5
14818 cat >conftest.$ac_ext <<_ACEOF
14821 cat confdefs.h >>conftest.$ac_ext
14822 cat >>conftest.$ac_ext <<_ACEOF
14823 /* end confdefs.h. */
14824 #include <sys/types.h>
14825 #include <sys/socket.h>
14830 static struct sockaddr ac_aggr;
14831 if (sizeof ac_aggr.sa_len)
14837 rm -f conftest.$ac_objext
14838 if { (ac_try="$ac_compile"
14839 case "(($ac_try" in
14840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14841 *) ac_try_echo=$ac_try;;
14843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14844 (eval "$ac_compile") 2>conftest.er1
14846 grep -v '^ *+' conftest.er1 >conftest.err
14848 cat conftest.err >&5
14849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14850 (exit $ac_status); } && {
14851 test -z "$ac_c_werror_flag" ||
14852 test ! -s conftest.err
14853 } && test -s conftest.$ac_objext; then
14854 ac_cv_member_struct_sockaddr_sa_len=yes
14856 echo "$as_me: failed program was:" >&5
14857 sed 's/^/| /' conftest.$ac_ext >&5
14859 ac_cv_member_struct_sockaddr_sa_len=no
14862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14867 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
14868 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
14869 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
14871 cat >>confdefs.h <<_ACEOF
14872 #define HAVE_SA_LEN 1
14906 for ac_func in chflags getrusage llseek lseek64 open64 fstat64 ftruncate64 getmntinfo strtoull strcasecmp srandom jrand48 fchown mallinfo fdatasync strnlen strptime strdup sysconf pathconf posix_memalign memalign valloc __secure_getenv prctl mmap utime setresuid setresgid
14908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14909 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14911 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14912 echo $ECHO_N "(cached) $ECHO_C" >&6
14914 cat >conftest.$ac_ext <<_ACEOF
14917 cat confdefs.h >>conftest.$ac_ext
14918 cat >>conftest.$ac_ext <<_ACEOF
14919 /* end confdefs.h. */
14920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14922 #define $ac_func innocuous_$ac_func
14924 /* System header to define __stub macros and hopefully few prototypes,
14925 which can conflict with char $ac_func (); below.
14926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14927 <limits.h> exists even on freestanding compilers. */
14930 # include <limits.h>
14932 # include <assert.h>
14937 /* Override any GCC internal prototype to avoid an error.
14938 Use char because int might match the return type of a GCC
14939 builtin and then its argument prototype would still apply. */
14944 /* The GNU C library defines this for functions which it implements
14945 to always fail with ENOSYS. Some functions are actually named
14946 something starting with __ and the normal name is an alias. */
14947 #if defined __stub_$ac_func || defined __stub___$ac_func
14954 return $ac_func ();
14959 rm -f conftest.$ac_objext conftest$ac_exeext
14960 if { (ac_try="$ac_link"
14961 case "(($ac_try" in
14962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14963 *) ac_try_echo=$ac_try;;
14965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14966 (eval "$ac_link") 2>conftest.er1
14968 grep -v '^ *+' conftest.er1 >conftest.err
14970 cat conftest.err >&5
14971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14972 (exit $ac_status); } && {
14973 test -z "$ac_c_werror_flag" ||
14974 test ! -s conftest.err
14975 } && test -s conftest$ac_exeext &&
14976 $as_test_x conftest$ac_exeext; then
14977 eval "$as_ac_var=yes"
14979 echo "$as_me: failed program was:" >&5
14980 sed 's/^/| /' conftest.$ac_ext >&5
14982 eval "$as_ac_var=no"
14985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14986 conftest$ac_exeext conftest.$ac_ext
14988 ac_res=`eval echo '${'$as_ac_var'}'`
14989 { echo "$as_me:$LINENO: result: $ac_res" >&5
14990 echo "${ECHO_T}$ac_res" >&6; }
14991 if test `eval echo '${'$as_ac_var'}'` = yes; then
14992 cat >>confdefs.h <<_ACEOF
14993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15000 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
15001 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
15002 if test "${ac_cv_lib_socket_socket+set}" = set; then
15003 echo $ECHO_N "(cached) $ECHO_C" >&6
15005 ac_check_lib_save_LIBS=$LIBS
15006 LIBS="-lsocket $LIBS"
15007 cat >conftest.$ac_ext <<_ACEOF
15010 cat confdefs.h >>conftest.$ac_ext
15011 cat >>conftest.$ac_ext <<_ACEOF
15012 /* end confdefs.h. */
15014 /* Override any GCC internal prototype to avoid an error.
15015 Use char because int might match the return type of a GCC
15016 builtin and then its argument prototype would still apply. */
15029 rm -f conftest.$ac_objext conftest$ac_exeext
15030 if { (ac_try="$ac_link"
15031 case "(($ac_try" in
15032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15033 *) ac_try_echo=$ac_try;;
15035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15036 (eval "$ac_link") 2>conftest.er1
15038 grep -v '^ *+' conftest.er1 >conftest.err
15040 cat conftest.err >&5
15041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15042 (exit $ac_status); } && {
15043 test -z "$ac_c_werror_flag" ||
15044 test ! -s conftest.err
15045 } && test -s conftest$ac_exeext &&
15046 $as_test_x conftest$ac_exeext; then
15047 ac_cv_lib_socket_socket=yes
15049 echo "$as_me: failed program was:" >&5
15050 sed 's/^/| /' conftest.$ac_ext >&5
15052 ac_cv_lib_socket_socket=no
15055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15056 conftest$ac_exeext conftest.$ac_ext
15057 LIBS=$ac_check_lib_save_LIBS
15059 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
15060 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
15061 if test $ac_cv_lib_socket_socket = yes; then
15062 SOCKET_LIB=-lsocket
15067 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15068 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15069 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15070 echo $ECHO_N "(cached) $ECHO_C" >&6
15072 ac_check_lib_save_LIBS=$LIBS
15074 cat >conftest.$ac_ext <<_ACEOF
15077 cat confdefs.h >>conftest.$ac_ext
15078 cat >>conftest.$ac_ext <<_ACEOF
15079 /* end confdefs.h. */
15081 /* Override any GCC internal prototype to avoid an error.
15082 Use char because int might match the return type of a GCC
15083 builtin and then its argument prototype would still apply. */
15096 rm -f conftest.$ac_objext conftest$ac_exeext
15097 if { (ac_try="$ac_link"
15098 case "(($ac_try" in
15099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15100 *) ac_try_echo=$ac_try;;
15102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15103 (eval "$ac_link") 2>conftest.er1
15105 grep -v '^ *+' conftest.er1 >conftest.err
15107 cat conftest.err >&5
15108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15109 (exit $ac_status); } && {
15110 test -z "$ac_c_werror_flag" ||
15111 test ! -s conftest.err
15112 } && test -s conftest$ac_exeext &&
15113 $as_test_x conftest$ac_exeext; then
15114 ac_cv_lib_dl_dlopen=yes
15116 echo "$as_me: failed program was:" >&5
15117 sed 's/^/| /' conftest.$ac_ext >&5
15119 ac_cv_lib_dl_dlopen=no
15122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15123 conftest$ac_exeext conftest.$ac_ext
15124 LIBS=$ac_check_lib_save_LIBS
15126 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15127 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15128 if test $ac_cv_lib_dl_dlopen = yes; then
15130 cat >>confdefs.h <<\_ACEOF
15131 #define HAVE_DLOPEN 1
15137 { echo "$as_me:$LINENO: checking for optreset" >&5
15138 echo $ECHO_N "checking for optreset... $ECHO_C" >&6; }
15139 if test "${ac_cv_have_optreset+set}" = set; then
15140 echo $ECHO_N "(cached) $ECHO_C" >&6
15142 cat >conftest.$ac_ext <<_ACEOF
15145 cat confdefs.h >>conftest.$ac_ext
15146 cat >>conftest.$ac_ext <<_ACEOF
15147 /* end confdefs.h. */
15148 #include <unistd.h>
15151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15152 $EGREP "optreset" >/dev/null 2>&1; then
15153 ac_cv_have_optreset=yes
15155 ac_cv_have_optreset=no
15160 { echo "$as_me:$LINENO: result: $ac_cv_have_optreset" >&5
15161 echo "${ECHO_T}$ac_cv_have_optreset" >&6; }
15162 if test $ac_cv_have_optreset = yes; then
15163 cat >>confdefs.h <<\_ACEOF
15164 #define HAVE_OPTRESET 1
15168 { echo "$as_me:$LINENO: checking for unified diff option" >&5
15169 echo $ECHO_N "checking for unified diff option... $ECHO_C" >&6; }
15170 if diff -u $0 $0 > /dev/null 2>&1 ; then
15175 { echo "$as_me:$LINENO: result: $UNI_DIFF_OPTS" >&5
15176 echo "${ECHO_T}$UNI_DIFF_OPTS" >&6; }
15180 cat >>confdefs.h <<\_ACEOF
15181 #define HAVE_EXT2_IOCTLS 1
15202 linux* | gnu* | k*bsd*-gnu)
15203 if test "$prefix" = NONE -a "$root_prefix" = NONE ; then
15205 echo "On $host_os systems, root_prefix defaults to ''"
15210 linux* | gnu* | k*bsd*-gnu)
15211 if test "$prefix" = NONE ; then
15213 echo "On $host_os systems, prefix defaults to /usr"
15214 if test "$mandir" = '${prefix}/man' ; then
15215 echo "...and mandir defaults to /usr/share/man"
15216 mandir=/usr/share/man
15221 if test "$root_prefix" = NONE ; then
15222 if test "$prefix" = NONE ; then
15223 root_prefix="$ac_default_prefix"
15225 root_prefix="$prefix"
15227 root_bindir=$bindir
15228 root_sbindir=$sbindir
15229 root_libdir=$libdir
15230 root_sysconfdir=$sysconfdir
15232 root_bindir='${root_prefix}/bin'
15233 root_sbindir='${root_prefix}/sbin'
15234 root_libdir='${root_prefix}/lib'
15235 root_sysconfdir='${root_prefix}/etc'
15237 if test "$bindir" != '${exec_prefix}/bin'; then
15238 root_bindir=$bindir
15239 echo "Setting root_bindir to $root_bindir"
15241 if test "$sbindir" != '${exec_prefix}/sbin'; then
15242 root_sbindir=$sbindir
15243 echo "Setting root_sbindir to $root_sbindir"
15245 if test "$libdir" != '${exec_prefix}/lib'; then
15246 root_libdir=$libdir
15247 echo "Setting root_libdir to $root_libdir"
15249 if test "$sysconfdir" != '${prefix}/etc'; then
15250 root_sysconfdir=$sysconfdir
15251 echo "Setting root_sysconfdir to $root_sysconfdir"
15258 { echo "$as_me:$LINENO: checking whether linker accepts -static" >&5
15259 echo $ECHO_N "checking whether linker accepts -static... $ECHO_C" >&6; }
15260 if test "${ac_cv_e2fsprogs_use_static+set}" = set; then
15261 echo $ECHO_N "(cached) $ECHO_C" >&6
15263 SAVE_LDFLAGS=$LDFLAGS; LDFLAGS="$LDFLAGS -static"
15264 cat >conftest.$ac_ext <<_ACEOF
15267 cat confdefs.h >>conftest.$ac_ext
15268 cat >>conftest.$ac_ext <<_ACEOF
15269 /* end confdefs.h. */
15279 rm -f conftest.$ac_objext conftest$ac_exeext
15280 if { (ac_try="$ac_link"
15281 case "(($ac_try" in
15282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15283 *) ac_try_echo=$ac_try;;
15285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15286 (eval "$ac_link") 2>conftest.er1
15288 grep -v '^ *+' conftest.er1 >conftest.err
15290 cat conftest.err >&5
15291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15292 (exit $ac_status); } && {
15293 test -z "$ac_c_werror_flag" ||
15294 test ! -s conftest.err
15295 } && test -s conftest$ac_exeext &&
15296 $as_test_x conftest$ac_exeext; then
15297 ac_cv_e2fsprogs_use_static=yes
15299 echo "$as_me: failed program was:" >&5
15300 sed 's/^/| /' conftest.$ac_ext >&5
15302 ac_cv_e2fsprogs_use_static=no
15305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15306 conftest$ac_exeext conftest.$ac_ext
15307 LDFLAGS=$SAVE_LDFLAGS
15312 ac_cv_e2fsprogs_use_static=no
15315 { echo "$as_me:$LINENO: result: $ac_cv_e2fsprogs_use_static" >&5
15316 echo "${ECHO_T}$ac_cv_e2fsprogs_use_static" >&6; }
15318 if test $ac_cv_e2fsprogs_use_static = yes; then
15319 LDFLAG_STATIC=-static
15324 echo "Using Apple Darwin / GNU libintl workaround"
15325 cat >>confdefs.h <<\_ACEOF
15326 #define _INTL_REDIRECT_MACROS 1
15331 SS_DIR=`cd ${srcdir}/lib/ss; pwd`
15332 ET_DIR=`cd ${srcdir}/lib/et; pwd`
15335 if test "$cross_compiling" = yes ; then
15338 DO_TEST_SUITE=check
15342 if test "$USE_INCLUDED_LIBINTL" = "yes" ; then
15343 INTL_FLAGS='-I$(top_builddir)/intl -I$(top_srcdir)/intl'
15346 if test $cross_compiling = no; then
15347 BUILD_CFLAGS="$CFLAGS"
15348 BUILD_LDFLAGS="$LDFLAGS"
15355 test -d lib || mkdir lib
15356 test -d include || mkdir include
15357 test -d include/linux || mkdir include/linux
15358 test -d include/asm || mkdir include/asm
15359 for i in MCONFIG Makefile e2fsprogs.spec \
15360 util/Makefile util/subst.conf util/gen-tarball \
15361 lib/et/Makefile lib/ss/Makefile lib/e2p/Makefile \
15362 lib/ext2fs/Makefile lib/ext2fs/ext2_types.h \
15363 lib/uuid/Makefile lib/uuid/uuid_types.h \
15364 lib/blkid/Makefile lib/blkid/blkid_types.h \
15365 lib/ss/ss.pc lib/uuid/uuid.pc lib/et/com_err.pc \
15366 lib/e2p/e2p.pc lib/blkid/blkid.pc lib/ext2fs/ext2fs.pc \
15367 misc/Makefile ext2ed/Makefile e2fsck/Makefile \
15368 debugfs/Makefile tests/Makefile tests/progs/Makefile \
15369 resize/Makefile doc/Makefile intl/Makefile po/Makefile.in ; do
15370 if test -d `dirname ${srcdir}/$i` ; then
15371 outlist="$outlist $i"
15374 ac_config_files="$ac_config_files $outlist"
15376 cat >confcache <<\_ACEOF
15377 # This file is a shell script that caches the results of configure
15378 # tests run on this system so they can be shared between configure
15379 # scripts and configure runs, see configure's option --config-cache.
15380 # It is not useful on other systems. If it contains results you don't
15381 # want to keep, you may remove or edit it.
15383 # config.status only pays attention to the cache file if you give it
15384 # the --recheck option to rerun configure.
15386 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15387 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15388 # following values.
15392 # The following way of writing the cache mishandles newlines in values,
15393 # but we know of no workaround that is simple, portable, and efficient.
15394 # So, we kill variables containing newlines.
15395 # Ultrix sh set writes to stderr and can't be redirected directly,
15396 # and sets the high bit in the cache file unless we assign to the vars.
15398 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15399 eval ac_val=\$$ac_var
15403 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15404 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15407 _ | IFS | as_nl) ;; #(
15408 *) $as_unset $ac_var ;;
15414 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15415 *${as_nl}ac_space=\ *)
15416 # `set' does not quote correctly, so add quotes (double-quote
15417 # substitution turns \\\\ into \\, and sed turns \\ into \).
15420 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15423 # `set' quotes correctly as required by POSIX, so do not add quotes.
15424 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15433 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15435 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15437 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15438 if test -w "$cache_file"; then
15439 test "x$cache_file" != "x/dev/null" &&
15440 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15441 echo "$as_me: updating cache $cache_file" >&6;}
15442 cat confcache >$cache_file
15444 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15445 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15450 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15451 # Let make expand exec_prefix.
15452 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15454 # Transform confdefs.h into DEFS.
15455 # Protect against shell expansion while executing Makefile rules.
15456 # Protect against Makefile macro expansion.
15458 # If the first sed substitution is executed (which looks for macros that
15459 # take arguments), then branch to the quote section. Otherwise,
15460 # look for a macro that doesn't take arguments.
15464 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
15466 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
15470 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
15483 DEFS=`sed -n "$ac_script" confdefs.h`
15488 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15489 # 1. Remove the extension, and $U if already installed.
15490 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15491 ac_i=`echo "$ac_i" | sed "$ac_script"`
15492 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15493 # will be set to the directory where LIBOBJS objects are built.
15494 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15495 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
15497 LIBOBJS=$ac_libobjs
15499 LTLIBOBJS=$ac_ltlibobjs
15503 : ${CONFIG_STATUS=./config.status}
15504 ac_clean_files_save=$ac_clean_files
15505 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15506 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15507 echo "$as_me: creating $CONFIG_STATUS" >&6;}
15508 cat >$CONFIG_STATUS <<_ACEOF
15510 # Generated by $as_me.
15511 # Run this file to recreate the current configuration.
15512 # Compiler output produced by configure, useful for debugging
15513 # configure, is in config.log if it exists.
15516 ac_cs_recheck=false
15518 SHELL=\${CONFIG_SHELL-$SHELL}
15521 cat >>$CONFIG_STATUS <<\_ACEOF
15522 ## --------------------- ##
15523 ## M4sh Initialization. ##
15524 ## --------------------- ##
15526 # Be more Bourne compatible
15527 DUALCASE=1; export DUALCASE # for MKS sh
15528 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15531 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
15532 # is contrary to our usage. Disable this feature.
15533 alias -g '${1+"$@"}'='"$@"'
15534 setopt NO_GLOB_SUBST
15536 case `(set -o) 2>/dev/null` in
15537 *posix*) set -o posix ;;
15546 # Avoid depending upon Character Ranges.
15547 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15548 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15549 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15550 as_cr_digits='0123456789'
15551 as_cr_alnum=$as_cr_Letters$as_cr_digits
15553 # The user is always right.
15554 if test "${PATH_SEPARATOR+set}" != set; then
15555 echo "#! /bin/sh" >conf$$.sh
15556 echo "exit 0" >>conf$$.sh
15558 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15566 # Support unset when possible.
15567 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
15575 # We need space, tab and new line, in precisely that order. Quoting is
15576 # there to prevent editors from complaining about space-tab.
15577 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15578 # splitting by setting IFS to empty value.)
15583 # Find who we are. Look in the path if we contain no directory separator.
15585 *[\\/]* ) as_myself=$0 ;;
15586 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15587 for as_dir in $PATH
15590 test -z "$as_dir" && as_dir=.
15591 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15597 # We did not find ourselves, most probably we were run as `sh COMMAND'
15598 # in which case we are not to be found in the path.
15599 if test "x$as_myself" = x; then
15602 if test ! -f "$as_myself"; then
15603 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15604 { (exit 1); exit 1; }
15607 # Work around bugs in pre-3.0 UWIN ksh.
15608 for as_var in ENV MAIL MAILPATH
15609 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
15617 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
15618 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
15619 LC_TELEPHONE LC_TIME
15621 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
15622 eval $as_var=C; export $as_var
15624 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
15628 # Required to use basename.
15629 if expr a : '\(a\)' >/dev/null 2>&1 &&
15630 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15636 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15637 as_basename=basename
15643 # Name of the executable.
15644 as_me=`$as_basename -- "$0" ||
15645 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15646 X"$0" : 'X\(//\)$' \| \
15647 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15649 sed '/^.*\/\([^/][^/]*\)\/*$/{
15668 as_lineno_1=$LINENO
15669 as_lineno_2=$LINENO
15670 test "x$as_lineno_1" != "x$as_lineno_2" &&
15671 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
15673 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15674 # uniformly replaced by the line number. The first 'sed' inserts a
15675 # line-number line after each line using $LINENO; the second 'sed'
15676 # does the real work. The second script uses 'N' to pair each
15677 # line-number line with the line containing $LINENO, and appends
15678 # trailing '-' during substitution so that $LINENO is not a special
15679 # case at line end.
15680 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15681 # scripts with optimization help from Paolo Bonzini. Blame Lee
15682 # E. McMahon (1931-1989) for sed's syntax. :-)
15694 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
15697 ' >$as_me.lineno &&
15698 chmod +x "$as_me.lineno" ||
15699 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
15700 { (exit 1); exit 1; }; }
15702 # Don't try to exec as it changes $[0], causing all sort of problems
15703 # (the dirname of $[0] is not the place where we might find the
15704 # original and so on. Autoconf is especially sensitive to this).
15705 . "./$as_me.lineno"
15706 # Exit status is that of the last command.
15711 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15717 ECHO_C= ECHO_N= ECHO_T=
15718 case `echo -n x` in
15720 case `echo 'x\c'` in
15721 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15728 if expr a : '\(a\)' >/dev/null 2>&1 &&
15729 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15735 rm -f conf$$ conf$$.exe conf$$.file
15736 if test -d conf$$.dir; then
15737 rm -f conf$$.dir/conf$$.file
15743 if ln -s conf$$.file conf$$ 2>/dev/null; then
15745 # ... but there are two gotchas:
15746 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15747 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15748 # In both cases, we have to default to `cp -p'.
15749 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15751 elif ln conf$$.file conf$$ 2>/dev/null; then
15756 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15757 rmdir conf$$.dir 2>/dev/null
15759 if mkdir -p . 2>/dev/null; then
15762 test -d ./-p && rmdir ./-p
15766 if test -x / >/dev/null 2>&1; then
15767 as_test_x='test -x'
15769 if ls -dL / >/dev/null 2>&1; then
15776 if test -d "$1"; then
15782 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
15783 ???[sx]*):;;*)false;;esac;fi
15787 as_executable_p=$as_test_x
15789 # Sed expression to map a string onto a valid CPP name.
15790 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15792 # Sed expression to map a string onto a valid variable name.
15793 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15798 # Save the log message, to keep $[0] and so on meaningful, and to
15799 # report actual input values of CONFIG_FILES etc. instead of their
15800 # values after options handling.
15802 This file was extended by $as_me, which was
15803 generated by GNU Autoconf 2.61. Invocation command line was
15805 CONFIG_FILES = $CONFIG_FILES
15806 CONFIG_HEADERS = $CONFIG_HEADERS
15807 CONFIG_LINKS = $CONFIG_LINKS
15808 CONFIG_COMMANDS = $CONFIG_COMMANDS
15811 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15816 cat >>$CONFIG_STATUS <<_ACEOF
15817 # Files that config.status was made for.
15818 config_files="$ac_config_files"
15819 config_commands="$ac_config_commands"
15823 cat >>$CONFIG_STATUS <<\_ACEOF
15825 \`$as_me' instantiates files from templates according to the
15826 current configuration.
15828 Usage: $0 [OPTIONS] [FILE]...
15830 -h, --help print this help, then exit
15831 -V, --version print version number and configuration settings, then exit
15832 -q, --quiet do not print progress messages
15833 -d, --debug don't remove temporary files
15834 --recheck update $as_me by reconfiguring in the same conditions
15835 --file=FILE[:TEMPLATE]
15836 instantiate the configuration file FILE
15838 Configuration files:
15841 Configuration commands:
15844 Report bugs to <bug-autoconf@gnu.org>."
15847 cat >>$CONFIG_STATUS <<_ACEOF
15850 configured by $0, generated by GNU Autoconf 2.61,
15851 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15853 Copyright (C) 2006 Free Software Foundation, Inc.
15854 This config.status script is free software; the Free Software Foundation
15855 gives unlimited permission to copy, distribute and modify it."
15862 cat >>$CONFIG_STATUS <<\_ACEOF
15863 # If no file are specified by the user, then we need to provide default
15864 # value. By we need to know if files were specified by the user.
15870 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15871 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15882 # Handling of the options.
15883 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15885 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15886 echo "$ac_cs_version"; exit ;;
15887 --debug | --debu | --deb | --de | --d | -d )
15889 --file | --fil | --fi | --f )
15891 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
15892 ac_need_defaults=false;;
15893 --he | --h | --help | --hel | -h )
15894 echo "$ac_cs_usage"; exit ;;
15895 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15896 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15899 # This is an error.
15900 -*) { echo "$as_me: error: unrecognized option: $1
15901 Try \`$0 --help' for more information." >&2
15902 { (exit 1); exit 1; }; } ;;
15904 *) ac_config_targets="$ac_config_targets $1"
15905 ac_need_defaults=false ;;
15911 ac_configure_extra_args=
15913 if $ac_cs_silent; then
15915 ac_configure_extra_args="$ac_configure_extra_args --silent"
15919 cat >>$CONFIG_STATUS <<_ACEOF
15920 if \$ac_cs_recheck; then
15921 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15922 CONFIG_SHELL=$SHELL
15923 export CONFIG_SHELL
15924 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15928 cat >>$CONFIG_STATUS <<\_ACEOF
15932 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15933 ## Running $as_me. ##
15939 cat >>$CONFIG_STATUS <<_ACEOF
15943 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
15944 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
15946 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
15947 # Capture the value of LINGUAS because we need it to compute CATALOGS.
15948 LINGUAS="${LINGUAS-%UNSET%}"
15953 cat >>$CONFIG_STATUS <<\_ACEOF
15955 # Handling of arguments.
15956 for ac_config_target in $ac_config_targets
15958 case $ac_config_target in
15959 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
15960 "$outlist") CONFIG_FILES="$CONFIG_FILES $outlist" ;;
15962 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15963 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15964 { (exit 1); exit 1; }; };;
15969 # If the user did not use the arguments to specify the items to instantiate,
15970 # then the envvar interface is used. Set only those that are not.
15971 # We use the long form for the default assignment because of an extremely
15972 # bizarre bug on SunOS 4.1.3.
15973 if $ac_need_defaults; then
15974 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15975 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15978 # Have a temporary directory for convenience. Make it in the build tree
15979 # simply because there is no reason against having it here, and in addition,
15980 # creating and moving files from /tmp can sometimes cause problems.
15981 # Hook for its removal unless debugging.
15982 # Note that there is a small window in which the directory will not be cleaned:
15983 # after its creation but before its name has been assigned to `$tmp'.
15987 trap 'exit_status=$?
15988 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15990 trap '{ (exit 1); exit 1; }' 1 2 13 15
15992 # Create a (secure) tmp directory for tmp files.
15995 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15996 test -n "$tmp" && test -d "$tmp"
15999 tmp=./conf$$-$RANDOM
16000 (umask 077 && mkdir "$tmp")
16003 echo "$me: cannot create a temporary directory in ." >&2
16004 { (exit 1); exit 1; }
16008 # Set up the sed scripts for CONFIG_FILES section.
16011 # No need to generate the scripts if there are no CONFIG_FILES.
16012 # This happens for instance when ./config.status config.h
16013 if test -n "$CONFIG_FILES"; then
16017 # Create sed commands to just substitute file output variables.
16019 # Remaining file output variables are in a fragment that also has non-file
16025 for ac_last_try in false false false false false :; do
16026 cat >conf$$subs.sed <<_ACEOF
16027 SHELL!$SHELL$ac_delim
16028 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
16029 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
16030 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
16031 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
16032 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
16033 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
16034 exec_prefix!$exec_prefix$ac_delim
16035 prefix!$prefix$ac_delim
16036 program_transform_name!$program_transform_name$ac_delim
16037 bindir!$bindir$ac_delim
16038 sbindir!$sbindir$ac_delim
16039 libexecdir!$libexecdir$ac_delim
16040 datarootdir!$datarootdir$ac_delim
16041 datadir!$datadir$ac_delim
16042 sysconfdir!$sysconfdir$ac_delim
16043 sharedstatedir!$sharedstatedir$ac_delim
16044 localstatedir!$localstatedir$ac_delim
16045 includedir!$includedir$ac_delim
16046 oldincludedir!$oldincludedir$ac_delim
16047 docdir!$docdir$ac_delim
16048 infodir!$infodir$ac_delim
16049 htmldir!$htmldir$ac_delim
16050 dvidir!$dvidir$ac_delim
16051 pdfdir!$pdfdir$ac_delim
16052 psdir!$psdir$ac_delim
16053 libdir!$libdir$ac_delim
16054 localedir!$localedir$ac_delim
16055 mandir!$mandir$ac_delim
16056 DEFS!$DEFS$ac_delim
16057 ECHO_C!$ECHO_C$ac_delim
16058 ECHO_N!$ECHO_N$ac_delim
16059 ECHO_T!$ECHO_T$ac_delim
16060 LIBS!$LIBS$ac_delim
16061 build_alias!$build_alias$ac_delim
16062 host_alias!$host_alias$ac_delim
16063 target_alias!$target_alias$ac_delim
16064 E2FSPROGS_YEAR!$E2FSPROGS_YEAR$ac_delim
16065 E2FSPROGS_MONTH!$E2FSPROGS_MONTH$ac_delim
16066 E2FSPROGS_DAY!$E2FSPROGS_DAY$ac_delim
16067 E2FSPROGS_VERSION!$E2FSPROGS_VERSION$ac_delim
16068 E2FSPROGS_PKGVER!$E2FSPROGS_PKGVER$ac_delim
16069 build!$build$ac_delim
16070 build_cpu!$build_cpu$ac_delim
16071 build_vendor!$build_vendor$ac_delim
16072 build_os!$build_os$ac_delim
16073 host!$host$ac_delim
16074 host_cpu!$host_cpu$ac_delim
16075 host_vendor!$host_vendor$ac_delim
16076 host_os!$host_os$ac_delim
16078 CFLAGS!$CFLAGS$ac_delim
16079 LDFLAGS!$LDFLAGS$ac_delim
16080 CPPFLAGS!$CPPFLAGS$ac_delim
16081 ac_ct_CC!$ac_ct_CC$ac_delim
16082 EXEEXT!$EXEEXT$ac_delim
16083 OBJEXT!$OBJEXT$ac_delim
16086 GREP!$GREP$ac_delim
16087 EGREP!$EGREP$ac_delim
16088 LINUX_INCLUDE!$LINUX_INCLUDE$ac_delim
16089 MAINTAINER_CMT!$MAINTAINER_CMT$ac_delim
16090 HTREE_CMT!$HTREE_CMT$ac_delim
16091 ELF_CMT!$ELF_CMT$ac_delim
16092 BSDLIB_CMT!$BSDLIB_CMT$ac_delim
16093 PROFILE_CMT!$PROFILE_CMT$ac_delim
16094 CHECKER_CMT!$CHECKER_CMT$ac_delim
16095 LIB_EXT!$LIB_EXT$ac_delim
16096 STATIC_LIB_EXT!$STATIC_LIB_EXT$ac_delim
16097 PROFILED_LIB_EXT!$PROFILED_LIB_EXT$ac_delim
16098 SWAPFS_CMT!$SWAPFS_CMT$ac_delim
16099 DEBUGFS_CMT!$DEBUGFS_CMT$ac_delim
16102 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 73; then
16104 elif $ac_last_try; then
16105 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
16106 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
16107 { (exit 1); exit 1; }; }
16109 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16113 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
16114 if test -n "$ac_eof"; then
16115 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
16116 ac_eof=`expr $ac_eof + 1`
16119 cat >>$CONFIG_STATUS <<_ACEOF
16120 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
16121 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16122 /^[ ]*@MCONFIG@[ ]*$/{
16126 /^[ ]*@MAKEFILE_ELF@[ ]*$/{
16130 /^[ ]*@MAKEFILE_BSDLIB@[ ]*$/{
16134 /^[ ]*@MAKEFILE_PROFILE@[ ]*$/{
16135 r $MAKEFILE_PROFILE
16138 /^[ ]*@MAKEFILE_CHECKER@[ ]*$/{
16139 r $MAKEFILE_CHECKER
16142 /^[ ]*@MAKEFILE_LIBRARY@[ ]*$/{
16143 r $MAKEFILE_LIBRARY
16146 /^[ ]*@ASM_TYPES_HEADER@[ ]*$/{
16147 r $ASM_TYPES_HEADER
16150 /^[ ]*@PUBLIC_CONFIG_HEADER@[ ]*$/{
16151 r $PUBLIC_CONFIG_HEADER
16156 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
16157 s/^/s,@/; s/!/@,|#_!!_#|/
16160 s/'"$ac_delim"'$/,g/; t
16162 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
16163 ' >>$CONFIG_STATUS <conf$$subs.sed
16164 rm -f conf$$subs.sed
16165 cat >>$CONFIG_STATUS <<_ACEOF
16171 for ac_last_try in false false false false false :; do
16172 cat >conf$$subs.sed <<_ACEOF
16173 IMAGER_CMT!$IMAGER_CMT$ac_delim
16174 RESIZER_CMT!$RESIZER_CMT$ac_delim
16175 FSCK_PROG!$FSCK_PROG$ac_delim
16176 FSCK_MAN!$FSCK_MAN$ac_delim
16177 E2INITRD_PROG!$E2INITRD_PROG$ac_delim
16178 E2INITRD_MAN!$E2INITRD_MAN$ac_delim
16179 PKG_CONFIG!$PKG_CONFIG$ac_delim
16180 DEVMAPPER_REQ!$DEVMAPPER_REQ$ac_delim
16181 DEVMAPPER_PC_LIBS!$DEVMAPPER_PC_LIBS$ac_delim
16182 DEVMAPPER_LIBS!$DEVMAPPER_LIBS$ac_delim
16183 STATIC_DEVMAPPER_LIBS!$STATIC_DEVMAPPER_LIBS$ac_delim
16184 STATIC_BLKID_DEVMAPPER_LIBS!$STATIC_BLKID_DEVMAPPER_LIBS$ac_delim
16185 UUIDD_CMT!$UUIDD_CMT$ac_delim
16186 GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
16187 PACKAGE!$PACKAGE$ac_delim
16188 VERSION!$VERSION$ac_delim
16189 SET_MAKE!$SET_MAKE$ac_delim
16190 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
16191 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
16192 INSTALL_DATA!$INSTALL_DATA$ac_delim
16193 MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
16194 USE_NLS!$USE_NLS$ac_delim
16195 MSGFMT!$MSGFMT$ac_delim
16196 GMSGFMT!$GMSGFMT$ac_delim
16197 XGETTEXT!$XGETTEXT$ac_delim
16198 MSGMERGE!$MSGMERGE$ac_delim
16199 RANLIB!$RANLIB$ac_delim
16200 ALLOCA!$ALLOCA$ac_delim
16201 GLIBC21!$GLIBC21$ac_delim
16202 HAVE_POSIX_PRINTF!$HAVE_POSIX_PRINTF$ac_delim
16203 HAVE_ASPRINTF!$HAVE_ASPRINTF$ac_delim
16204 HAVE_SNPRINTF!$HAVE_SNPRINTF$ac_delim
16205 HAVE_WPRINTF!$HAVE_WPRINTF$ac_delim
16206 LIBICONV!$LIBICONV$ac_delim
16207 LTLIBICONV!$LTLIBICONV$ac_delim
16208 INTLBISON!$INTLBISON$ac_delim
16209 BUILD_INCLUDED_LIBINTL!$BUILD_INCLUDED_LIBINTL$ac_delim
16210 USE_INCLUDED_LIBINTL!$USE_INCLUDED_LIBINTL$ac_delim
16211 CATOBJEXT!$CATOBJEXT$ac_delim
16212 DATADIRNAME!$DATADIRNAME$ac_delim
16213 INSTOBJEXT!$INSTOBJEXT$ac_delim
16214 GENCAT!$GENCAT$ac_delim
16215 INTLOBJS!$INTLOBJS$ac_delim
16216 INTL_LIBTOOL_SUFFIX_PREFIX!$INTL_LIBTOOL_SUFFIX_PREFIX$ac_delim
16217 INTLLIBS!$INTLLIBS$ac_delim
16218 LIBINTL!$LIBINTL$ac_delim
16219 LTLIBINTL!$LTLIBINTL$ac_delim
16220 POSUB!$POSUB$ac_delim
16221 BINARY_TYPE!$BINARY_TYPE$ac_delim
16223 LN_S!$LN_S$ac_delim
16227 CHMOD!$CHMOD$ac_delim
16230 PERL!$PERL$ac_delim
16231 LDCONFIG!$LDCONFIG$ac_delim
16233 STRIP!$STRIP$ac_delim
16234 MAKEINFO!$MAKEINFO$ac_delim
16235 BUILD_CC!$BUILD_CC$ac_delim
16236 SIZEOF_SHORT!$SIZEOF_SHORT$ac_delim
16237 SIZEOF_INT!$SIZEOF_INT$ac_delim
16238 SIZEOF_LONG!$SIZEOF_LONG$ac_delim
16239 SIZEOF_LONG_LONG!$SIZEOF_LONG_LONG$ac_delim
16240 SOCKET_LIB!$SOCKET_LIB$ac_delim
16241 DLOPEN_LIB!$DLOPEN_LIB$ac_delim
16242 UNI_DIFF_OPTS!$UNI_DIFF_OPTS$ac_delim
16243 LINUX_CMT!$LINUX_CMT$ac_delim
16244 CYGWIN_CMT!$CYGWIN_CMT$ac_delim
16245 UNIX_CMT!$UNIX_CMT$ac_delim
16246 root_prefix!$root_prefix$ac_delim
16247 root_bindir!$root_bindir$ac_delim
16248 root_sbindir!$root_sbindir$ac_delim
16249 root_libdir!$root_libdir$ac_delim
16250 root_sysconfdir!$root_sysconfdir$ac_delim
16251 LDFLAG_STATIC!$LDFLAG_STATIC$ac_delim
16252 SS_DIR!$SS_DIR$ac_delim
16253 ET_DIR!$ET_DIR$ac_delim
16254 DO_TEST_SUITE!$DO_TEST_SUITE$ac_delim
16255 INTL_FLAGS!$INTL_FLAGS$ac_delim
16256 BUILD_CFLAGS!$BUILD_CFLAGS$ac_delim
16257 BUILD_LDFLAGS!$BUILD_LDFLAGS$ac_delim
16258 LIBOBJS!$LIBOBJS$ac_delim
16259 LTLIBOBJS!$LTLIBOBJS$ac_delim
16262 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 87; then
16264 elif $ac_last_try; then
16265 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
16266 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
16267 { (exit 1); exit 1; }; }
16269 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16273 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
16274 if test -n "$ac_eof"; then
16275 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
16276 ac_eof=`expr $ac_eof + 1`
16279 cat >>$CONFIG_STATUS <<_ACEOF
16280 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
16281 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
16284 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
16285 s/^/s,@/; s/!/@,|#_!!_#|/
16288 s/'"$ac_delim"'$/,g/; t
16290 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
16291 ' >>$CONFIG_STATUS <conf$$subs.sed
16292 rm -f conf$$subs.sed
16293 cat >>$CONFIG_STATUS <<_ACEOF
16300 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16301 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16302 # trailing colons and then remove the whole line if VPATH becomes empty
16303 # (actually we leave an empty line to preserve line numbers).
16304 if test "x$srcdir" = x.; then
16305 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16306 s/:*\$(srcdir):*/:/
16307 s/:*\${srcdir}:*/:/
16309 s/^\([^=]*=[ ]*\):*/\1/
16315 cat >>$CONFIG_STATUS <<\_ACEOF
16316 fi # test -n "$CONFIG_FILES"
16319 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
16322 :[FHLC]) ac_mode=$ac_tag; continue;;
16324 case $ac_mode$ac_tag in
16326 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
16327 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
16328 { (exit 1); exit 1; }; };;
16329 :[FH]-) ac_tag=-:-;;
16330 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16347 -) ac_f="$tmp/stdin";;
16348 *) # Look for the file first in the build tree, then in the source tree
16349 # (if the path is not absolute). The absolute path cannot be DOS-style,
16350 # because $ac_f cannot contain `:'.
16354 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16356 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
16357 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
16358 { (exit 1); exit 1; }; };;
16360 ac_file_inputs="$ac_file_inputs $ac_f"
16363 # Let's still pretend it is `configure' which instantiates (i.e., don't
16364 # use $as_me), people would be surprised to read:
16365 # /* config.h. Generated by config.status. */
16366 configure_input="Generated from "`IFS=:
16367 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
16368 if test x"$ac_file" != x-; then
16369 configure_input="$ac_file. $configure_input"
16370 { echo "$as_me:$LINENO: creating $ac_file" >&5
16371 echo "$as_me: creating $ac_file" >&6;}
16375 *:-:* | *:-) cat >"$tmp/stdin";;
16380 ac_dir=`$as_dirname -- "$ac_file" ||
16381 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16382 X"$ac_file" : 'X\(//\)[^/]' \| \
16383 X"$ac_file" : 'X\(//\)$' \| \
16384 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16390 /^X\(\/\/\)[^/].*/{
16405 -*) as_dir=./$as_dir;;
16407 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
16411 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
16412 *) as_qdir=$as_dir;;
16414 as_dirs="'$as_qdir' $as_dirs"
16415 as_dir=`$as_dirname -- "$as_dir" ||
16416 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16417 X"$as_dir" : 'X\(//\)[^/]' \| \
16418 X"$as_dir" : 'X\(//\)$' \| \
16419 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16421 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16425 /^X\(\/\/\)[^/].*/{
16438 test -d "$as_dir" && break
16440 test -z "$as_dirs" || eval "mkdir $as_dirs"
16441 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16442 echo "$as_me: error: cannot create directory $as_dir" >&2;}
16443 { (exit 1); exit 1; }; }; }
16447 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16449 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16450 # A ".." for each directory in $ac_dir_suffix.
16451 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
16452 case $ac_top_builddir_sub in
16453 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16454 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16457 ac_abs_top_builddir=$ac_pwd
16458 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16459 # for backward compatibility:
16460 ac_top_builddir=$ac_top_build_prefix
16463 .) # We are building in place.
16465 ac_top_srcdir=$ac_top_builddir_sub
16466 ac_abs_top_srcdir=$ac_pwd ;;
16467 [\\/]* | ?:[\\/]* ) # Absolute name.
16468 ac_srcdir=$srcdir$ac_dir_suffix;
16469 ac_top_srcdir=$srcdir
16470 ac_abs_top_srcdir=$srcdir ;;
16471 *) # Relative name.
16472 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16473 ac_top_srcdir=$ac_top_build_prefix$srcdir
16474 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16476 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16486 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16487 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16491 cat >>$CONFIG_STATUS <<\_ACEOF
16492 # If the template does not know about datarootdir, expand it.
16493 # FIXME: This hack should be removed a few years after 2.60.
16494 ac_datarootdir_hack=; ac_datarootdir_seen=
16496 case `sed -n '/datarootdir/ {
16505 ' $ac_file_inputs` in
16506 *datarootdir*) ac_datarootdir_seen=yes;;
16507 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16508 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16509 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16511 cat >>$CONFIG_STATUS <<_ACEOF
16512 ac_datarootdir_hack='
16513 s&@datadir@&$datadir&g
16514 s&@docdir@&$docdir&g
16515 s&@infodir@&$infodir&g
16516 s&@localedir@&$localedir&g
16517 s&@mandir@&$mandir&g
16518 s&\\\${datarootdir}&$datarootdir&g' ;;
16522 # Neutralize VPATH when `$srcdir' = `.'.
16523 # Shell code in configure.ac might set extrasub.
16524 # FIXME: do we really want to maintain this feature?
16525 cat >>$CONFIG_STATUS <<_ACEOF
16529 cat >>$CONFIG_STATUS <<\_ACEOF
16531 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16532 s&@configure_input@&$configure_input&;t t
16533 s&@top_builddir@&$ac_top_builddir_sub&;t t
16534 s&@srcdir@&$ac_srcdir&;t t
16535 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16536 s&@top_srcdir@&$ac_top_srcdir&;t t
16537 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16538 s&@builddir@&$ac_builddir&;t t
16539 s&@abs_builddir@&$ac_abs_builddir&;t t
16540 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16541 s&@INSTALL@&$ac_INSTALL&;t t
16542 $ac_datarootdir_hack
16543 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
16545 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16546 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16547 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16548 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16549 which seems to be undefined. Please make sure it is defined." >&5
16550 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16551 which seems to be undefined. Please make sure it is defined." >&2;}
16555 -) cat "$tmp/out"; rm -f "$tmp/out";;
16556 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
16561 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
16562 echo "$as_me: executing $ac_file commands" >&6;}
16567 case $ac_file$ac_mode in
16569 for ac_file in $CONFIG_FILES; do
16570 # Support "outfile[:infile[:infile...]]"
16572 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
16574 # PO directories have a Makefile.in generated from Makefile.in.in.
16575 case "$ac_file" in */Makefile.in)
16576 # Adjust a relative srcdir.
16577 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
16578 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
16579 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
16580 # In autoconf-2.13 it is called $ac_given_srcdir.
16581 # In autoconf-2.50 it is called $srcdir.
16582 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
16583 case "$ac_given_srcdir" in
16584 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
16585 /*) top_srcdir="$ac_given_srcdir" ;;
16586 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
16588 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
16589 rm -f "$ac_dir/POTFILES"
16590 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
16591 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
16592 POMAKEFILEDEPS="POTFILES.in"
16593 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
16594 # on $ac_dir but don't depend on user-specified configuration
16596 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
16597 # The LINGUAS file contains the set of available languages.
16598 if test -n "$OBSOLETE_ALL_LINGUAS"; then
16599 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
16601 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
16602 # Hide the ALL_LINGUAS assigment from automake.
16603 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
16604 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
16606 # The set of available languages was given in configure.in.
16607 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
16610 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
16611 # Compute UPDATEPOFILES
16612 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
16613 # Compute DUMMYPOFILES
16614 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
16616 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
16617 case "$ac_given_srcdir" in
16619 *) srcdirpre='$(srcdir)/' ;;
16625 for lang in $ALL_LINGUAS; do
16626 POFILES="$POFILES $srcdirpre$lang.po"
16627 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
16628 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
16629 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
16631 # CATALOGS depends on both $ac_dir and the user's LINGUAS
16632 # environment variable.
16634 if test -n "$ALL_LINGUAS"; then
16635 for presentlang in $ALL_LINGUAS; do
16637 if test "%UNSET%" != "$LINGUAS"; then
16638 desiredlanguages="$LINGUAS"
16640 desiredlanguages="$ALL_LINGUAS"
16642 for desiredlang in $desiredlanguages; do
16643 # Use the presentlang catalog if desiredlang is
16644 # a. equal to presentlang, or
16645 # b. a variant of presentlang (because in this case,
16646 # presentlang can be used as a fallback for messages
16647 # which are not translated in the desiredlang catalog).
16648 case "$desiredlang" in
16649 "$presentlang"*) useit=yes;;
16652 if test $useit = yes; then
16653 INST_LINGUAS="$INST_LINGUAS $presentlang"
16658 if test -n "$INST_LINGUAS"; then
16659 for lang in $INST_LINGUAS; do
16660 CATALOGS="$CATALOGS $lang.gmo"
16663 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
16664 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
16665 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
16666 if test -f "$f"; then
16668 *.orig | *.bak | *~) ;;
16669 *) cat "$f" >> "$ac_dir/Makefile" ;;
16682 { (exit 0); exit 0; }
16684 chmod +x $CONFIG_STATUS
16685 ac_clean_files=$ac_clean_files_save
16688 # configure is writing to config.log, and then calls config.status.
16689 # config.status does its own redirection, appending to config.log.
16690 # Unfortunately, on DOS this fails, as config.log is still kept open
16691 # by configure, so config.status won't be able to write to it; its
16692 # output is simply discarded. So we exec the FD to /dev/null,
16693 # effectively closing config.log, so it can be properly (re)opened and
16694 # appended to by config.status. When coming back to configure, we
16695 # need to make the FD available again.
16696 if test "$no_create" != yes; then
16698 ac_config_status_args=
16699 test "$silent" = yes &&
16700 ac_config_status_args="$ac_config_status_args --quiet"
16702 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16704 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16705 # would make configure fail if this is the last instruction.
16706 $ac_cs_success || { (exit 1); exit 1; }
16709 if test -f util/gen-tarball; then chmod +x util/gen-tarball; fi