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
729 BUILD_INCLUDED_LIBINTL
736 INTL_LIBTOOL_SUFFIX_PREFIX
781 ac_subst_files
='MCONFIG
788 PUBLIC_CONFIG_HEADER'
789 ac_precious_vars
='build_alias
801 # Initialize some variables set by options.
803 ac_init_version
=false
804 # The variables have the same names as the options, with
805 # dashes changed to underlines.
813 program_transform_name
=s
,x
,x
,
821 # Installation directory options.
822 # These are left unexpanded so users can "make install exec_prefix=/foo"
823 # and all the variables that are supposed to be based on exec_prefix
824 # by default will actually change.
825 # Use braces instead of parens because sh, perl, etc. also accept them.
826 # (The list follows the same order as the GNU Coding Standards.)
827 bindir
='${exec_prefix}/bin'
828 sbindir
='${exec_prefix}/sbin'
829 libexecdir
='${exec_prefix}/libexec'
830 datarootdir
='${prefix}/share'
831 datadir
='${datarootdir}'
832 sysconfdir
='${prefix}/etc'
833 sharedstatedir
='${prefix}/com'
834 localstatedir
='${prefix}/var'
835 includedir
='${prefix}/include'
836 oldincludedir
='/usr/include'
837 docdir
='${datarootdir}/doc/${PACKAGE}'
838 infodir
='${datarootdir}/info'
843 libdir
='${exec_prefix}/lib'
844 localedir
='${datarootdir}/locale'
845 mandir
='${datarootdir}/man'
851 # If the previous option needs an argument, assign it.
852 if test -n "$ac_prev"; then
853 eval $ac_prev=\
$ac_option
859 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
863 # Accept the important Cygnus configure options, so we can diagnose typos.
865 case $ac_dashdash$ac_option in
869 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
871 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
874 -build |
--build |
--buil |
--bui |
--bu)
875 ac_prev
=build_alias
;;
876 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
877 build_alias
=$ac_optarg ;;
879 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
880 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
881 ac_prev
=cache_file
;;
882 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
883 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
884 cache_file
=$ac_optarg ;;
887 cache_file
=config.cache
;;
889 -datadir |
--datadir |
--datadi |
--datad)
891 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
892 datadir
=$ac_optarg ;;
894 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
895 |
--dataroo |
--dataro |
--datar)
896 ac_prev
=datarootdir
;;
897 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
898 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
899 datarootdir
=$ac_optarg ;;
901 -disable-* |
--disable-*)
902 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
903 # Reject names that are not valid shell variable names.
904 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
905 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
906 { (exit 1); exit 1; }; }
907 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
908 eval enable_
$ac_feature=no
;;
910 -docdir |
--docdir |
--docdi |
--doc |
--do)
912 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
915 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
917 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
920 -enable-* |
--enable-*)
921 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
922 # Reject names that are not valid shell variable names.
923 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
924 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
925 { (exit 1); exit 1; }; }
926 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
927 eval enable_
$ac_feature=\
$ac_optarg ;;
929 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
930 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
931 |
--exec |
--exe |
--ex)
932 ac_prev
=exec_prefix
;;
933 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
934 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
935 |
--exec=* |
--exe=* |
--ex=*)
936 exec_prefix
=$ac_optarg ;;
938 -gas |
--gas |
--ga |
--g)
939 # Obsolete; use --with-gas.
942 -help |
--help |
--hel |
--he |
-h)
944 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
945 ac_init_help
=recursive
;;
946 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
947 ac_init_help
=short
;;
949 -host |
--host |
--hos |
--ho)
950 ac_prev
=host_alias
;;
951 -host=* |
--host=* |
--hos=* |
--ho=*)
952 host_alias
=$ac_optarg ;;
954 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
956 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
958 htmldir
=$ac_optarg ;;
960 -includedir |
--includedir |
--includedi |
--included |
--include \
961 |
--includ |
--inclu |
--incl |
--inc)
962 ac_prev
=includedir
;;
963 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
964 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
965 includedir
=$ac_optarg ;;
967 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
969 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
970 infodir
=$ac_optarg ;;
972 -libdir |
--libdir |
--libdi |
--libd)
974 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
977 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
978 |
--libexe |
--libex |
--libe)
979 ac_prev
=libexecdir
;;
980 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
981 |
--libexe=* |
--libex=* |
--libe=*)
982 libexecdir
=$ac_optarg ;;
984 -localedir |
--localedir |
--localedi |
--localed |
--locale)
986 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
987 localedir
=$ac_optarg ;;
989 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
990 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
991 ac_prev
=localstatedir
;;
992 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
993 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
994 localstatedir
=$ac_optarg ;;
996 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
998 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1001 -nfp |
--nfp |
--nf)
1002 # Obsolete; use --without-fp.
1005 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1006 |
--no-cr |
--no-c |
-n)
1009 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1010 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1013 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1014 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1015 |
--oldin |
--oldi |
--old |
--ol |
--o)
1016 ac_prev
=oldincludedir
;;
1017 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1018 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1019 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1020 oldincludedir
=$ac_optarg ;;
1022 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1024 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1025 prefix
=$ac_optarg ;;
1027 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1028 |
--program-pre |
--program-pr |
--program-p)
1029 ac_prev
=program_prefix
;;
1030 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1031 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1032 program_prefix
=$ac_optarg ;;
1034 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1035 |
--program-suf |
--program-su |
--program-s)
1036 ac_prev
=program_suffix
;;
1037 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1038 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1039 program_suffix
=$ac_optarg ;;
1041 -program-transform-name |
--program-transform-name \
1042 |
--program-transform-nam |
--program-transform-na \
1043 |
--program-transform-n |
--program-transform- \
1044 |
--program-transform |
--program-transfor \
1045 |
--program-transfo |
--program-transf \
1046 |
--program-trans |
--program-tran \
1047 |
--progr-tra |
--program-tr |
--program-t)
1048 ac_prev
=program_transform_name
;;
1049 -program-transform-name=* |
--program-transform-name=* \
1050 |
--program-transform-nam=* |
--program-transform-na=* \
1051 |
--program-transform-n=* |
--program-transform-=* \
1052 |
--program-transform=* |
--program-transfor=* \
1053 |
--program-transfo=* |
--program-transf=* \
1054 |
--program-trans=* |
--program-tran=* \
1055 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1056 program_transform_name
=$ac_optarg ;;
1058 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1060 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1061 pdfdir
=$ac_optarg ;;
1063 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1065 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1068 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1069 |
-silent |
--silent |
--silen |
--sile |
--sil)
1072 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1074 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1076 sbindir
=$ac_optarg ;;
1078 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1079 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1080 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1082 ac_prev
=sharedstatedir
;;
1083 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1084 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1085 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1087 sharedstatedir
=$ac_optarg ;;
1089 -site |
--site |
--sit)
1091 -site=* |
--site=* |
--sit=*)
1094 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1096 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1097 srcdir
=$ac_optarg ;;
1099 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1100 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1101 ac_prev
=sysconfdir
;;
1102 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1103 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1104 sysconfdir
=$ac_optarg ;;
1106 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1107 ac_prev
=target_alias
;;
1108 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1109 target_alias
=$ac_optarg ;;
1111 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1114 -version |
--version |
--versio |
--versi |
--vers |
-V)
1115 ac_init_version
=: ;;
1118 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1121 { echo "$as_me: error: invalid package name: $ac_package" >&2
1122 { (exit 1); exit 1; }; }
1123 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1124 eval with_
$ac_package=\
$ac_optarg ;;
1126 -without-* |
--without-*)
1127 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1128 # Reject names that are not valid shell variable names.
1129 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1130 { echo "$as_me: error: invalid package name: $ac_package" >&2
1131 { (exit 1); exit 1; }; }
1132 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1133 eval with_
$ac_package=no
;;
1136 # Obsolete; use --with-x.
1139 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1140 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1141 ac_prev
=x_includes
;;
1142 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1143 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1144 x_includes
=$ac_optarg ;;
1146 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1147 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1148 ac_prev
=x_libraries
;;
1149 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1150 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1151 x_libraries
=$ac_optarg ;;
1153 -*) { echo "$as_me: error: unrecognized option: $ac_option
1154 Try \`$0 --help' for more information." >&2
1155 { (exit 1); exit 1; }; }
1159 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1160 # Reject names that are not valid shell variable names.
1161 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1162 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1163 { (exit 1); exit 1; }; }
1164 eval $ac_envvar=\
$ac_optarg
1165 export $ac_envvar ;;
1168 # FIXME: should be removed in autoconf 3.0.
1169 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1170 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1171 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1172 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1178 if test -n "$ac_prev"; then
1179 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1180 { echo "$as_me: error: missing argument to $ac_option" >&2
1181 { (exit 1); exit 1; }; }
1184 # Be sure to have absolute directory names.
1185 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1186 datadir sysconfdir sharedstatedir localstatedir includedir \
1187 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1188 libdir localedir mandir
1190 eval ac_val
=\$
$ac_var
1192 [\\/$
]* | ?
:[\\/]* ) continue;;
1193 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1195 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1196 { (exit 1); exit 1; }; }
1199 # There might be people who depend on the old broken behavior: `$host'
1200 # used to hold the argument of --host etc.
1201 # FIXME: To remove some day.
1204 target
=$target_alias
1206 # FIXME: To remove some day.
1207 if test "x$host_alias" != x
; then
1208 if test "x$build_alias" = x
; then
1209 cross_compiling
=maybe
1210 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1211 If a cross compiler is detected then cross compile mode will be used." >&2
1212 elif test "x$build_alias" != "x$host_alias"; then
1218 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1220 test "$silent" = yes && exec 6>/dev
/null
1223 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1224 ac_ls_di
=`ls -di .` &&
1225 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1226 { echo "$as_me: error: Working directory cannot be determined" >&2
1227 { (exit 1); exit 1; }; }
1228 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1229 { echo "$as_me: error: pwd does not report name of working directory" >&2
1230 { (exit 1); exit 1; }; }
1233 # Find the source files, if location was not specified.
1234 if test -z "$srcdir"; then
1235 ac_srcdir_defaulted
=yes
1236 # Try the directory containing this script, then the parent directory.
1237 ac_confdir
=`$as_dirname -- "$0" ||
1238 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1239 X"$0" : 'X\(//\)[^/]' \| \
1240 X"$0" : 'X\(//\)$' \| \
1241 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1243 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1261 if test ! -r "$srcdir/$ac_unique_file"; then
1265 ac_srcdir_defaulted
=no
1267 if test ! -r "$srcdir/$ac_unique_file"; then
1268 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1269 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1270 { (exit 1); exit 1; }; }
1272 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1274 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1275 { (exit 1); exit 1; }; }
1277 # When building in place, set srcdir=.
1278 if test "$ac_abs_confdir" = "$ac_pwd"; then
1281 # Remove unnecessary trailing slashes from srcdir.
1282 # Double slashes in file names in object file debugging info
1283 # mess up M-x gdb in Emacs.
1285 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1287 for ac_var
in $ac_precious_vars; do
1288 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1289 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1290 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1291 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1295 # Report the --help message.
1297 if test "$ac_init_help" = "long"; then
1298 # Omit some internal or obsolete options to make the list less imposing.
1299 # This message is too long to be a string in the A/UX 3.1 sh.
1301 \`configure' configures this package to adapt to many kinds of systems.
1303 Usage: $0 [OPTION]... [VAR=VALUE]...
1305 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1306 VAR=VALUE. See below for descriptions of some of the useful variables.
1308 Defaults for the options are specified in brackets.
1311 -h, --help display this help and exit
1312 --help=short display options specific to this package
1313 --help=recursive display the short help of all the included packages
1314 -V, --version display version information and exit
1315 -q, --quiet, --silent do not print \`checking...' messages
1316 --cache-file=FILE cache test results in FILE [disabled]
1317 -C, --config-cache alias for \`--cache-file=config.cache'
1318 -n, --no-create do not create output files
1319 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1321 Installation directories:
1322 --prefix=PREFIX install architecture-independent files in PREFIX
1323 [$ac_default_prefix]
1324 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1327 By default, \`make install' will install all the files in
1328 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1329 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1330 for instance \`--prefix=\$HOME'.
1332 For better control, use the options below.
1334 Fine tuning of the installation directories:
1335 --bindir=DIR user executables [EPREFIX/bin]
1336 --sbindir=DIR system admin executables [EPREFIX/sbin]
1337 --libexecdir=DIR program executables [EPREFIX/libexec]
1338 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1339 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1340 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1341 --libdir=DIR object code libraries [EPREFIX/lib]
1342 --includedir=DIR C header files [PREFIX/include]
1343 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1344 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1345 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1346 --infodir=DIR info documentation [DATAROOTDIR/info]
1347 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1348 --mandir=DIR man documentation [DATAROOTDIR/man]
1349 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1350 --htmldir=DIR html documentation [DOCDIR]
1351 --dvidir=DIR dvi documentation [DOCDIR]
1352 --pdfdir=DIR pdf documentation [DOCDIR]
1353 --psdir=DIR ps documentation [DOCDIR]
1359 --build=BUILD configure
for building on BUILD
[guessed
]
1360 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1364 if test -n "$ac_init_help"; then
1369 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1370 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1371 --enable-maintainer-mode enable makefile rules useful
for maintainers
1372 --enable-compression enable EXPERIMENTAL compression support
1373 --enable-htree enable EXPERIMENTAL htree directory support
1374 --enable-elf-shlibs select ELF shared libraries
1375 --enable-bsd-shlibs select BSD shared libraries
1376 --enable-profile build profiling libraries
1377 --enable-checker build checker libraries
1378 --enable-jbd-debug enable journal debugging
1379 --enable-blkid-debug enable blkid debugging
1380 --disable-testio-debug disable the use of the
test I
/O manager
for debugging
1381 --disable-libblkid do not build private blkid library
1382 --disable-debugfs disable support of debugfs program
1383 --disable-imager disable support of e2image program
1384 --disable-resizer disable support of e2resize program
1385 --enable-fsck build fsck wrapper program
1386 --enable-e2initrd-helper build e2initrd-helper program
1387 --disable-tls disable use of thread
local support
1388 --disable-uuidd disable building the uuid daemon
1389 --disable-nls do not use Native Language Support
1390 --disable-rpath do not hardcode runtime library paths
1393 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1394 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1395 --with-diet-libc use diet libc
1396 --with-cc=COMPILER
select compiler to use
1397 --with-linker=LINKER
select linker to use
1398 --with-ccopts=CCOPTS
select compiler
command line options
1399 --with-ldopts=LDOPTS
select linker
command line options
1400 --with-root-prefix=PREFIX override prefix variable
for files to be placed
in the root
1401 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1402 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1403 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1404 --with-included-gettext use the GNU gettext library included here
1405 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1406 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1408 Some influential environment variables
:
1409 CC C compiler
command
1410 CFLAGS C compiler flags
1411 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1412 nonstandard directory
<lib dir
>
1413 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1414 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1415 you have headers
in a nonstandard directory
<include dir
>
1417 PKG_CONFIG path to pkg-config utility
1419 Use these variables to override the choices made by
`configure' or to help
1420 it to find libraries and programs with nonstandard names/locations.
1426 if test "$ac_init_help" = "recursive"; then
1427 # If there are subdirs, report their specific --help.
1428 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1429 test -d "$ac_dir" || continue
1433 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1435 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1436 # A ".." for each directory in $ac_dir_suffix.
1437 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1438 case $ac_top_builddir_sub in
1439 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1440 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1443 ac_abs_top_builddir=$ac_pwd
1444 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1445 # for backward compatibility:
1446 ac_top_builddir=$ac_top_build_prefix
1449 .) # We are building in place.
1451 ac_top_srcdir=$ac_top_builddir_sub
1452 ac_abs_top_srcdir=$ac_pwd ;;
1453 [\\/]* | ?:[\\/]* ) # Absolute name.
1454 ac_srcdir=$srcdir$ac_dir_suffix;
1455 ac_top_srcdir=$srcdir
1456 ac_abs_top_srcdir=$srcdir ;;
1458 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1459 ac_top_srcdir=$ac_top_build_prefix$srcdir
1460 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1462 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1464 cd "$ac_dir" || { ac_status=$?; continue; }
1465 # Check for guested configure.
1466 if test -f "$ac_srcdir/configure.gnu"; then
1468 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1469 elif test -f "$ac_srcdir/configure"; then
1471 $SHELL "$ac_srcdir/configure" --help=recursive
1473 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1475 cd "$ac_pwd" || { ac_status=$?; break; }
1479 test -n "$ac_init_help" && exit $ac_status
1480 if $ac_init_version; then
1483 generated by GNU Autoconf 2.61
1485 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1486 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1487 This configure script is free software; the Free Software Foundation
1488 gives unlimited permission to copy, distribute and modify it.
1492 cat >config.log <<_ACEOF
1493 This file contains any messages produced by compilers while
1494 running configure, to aid debugging if configure makes a mistake.
1496 It was created by $as_me, which was
1497 generated by GNU Autoconf 2.61. Invocation command line was
1509 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1510 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1511 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1512 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1513 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1515 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1516 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1518 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1519 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1520 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1521 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1522 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1523 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1524 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1532 test -z "$as_dir" && as_dir=.
1533 echo "PATH: $as_dir"
1549 # Keep a trace of the command line.
1550 # Strip out --no-create and --no-recursion so they do not pile up.
1551 # Strip out --silent because we don't want to record it for future runs.
1552 # Also quote any args containing shell meta-characters.
1553 # Make two passes to allow for proper duplicate-argument suppression.
1557 ac_must_keep_next=false
1563 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1564 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1565 | -silent | --silent | --silen | --sile | --sil)
1568 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1571 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1573 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1574 if test $ac_must_keep_next = true; then
1575 ac_must_keep_next=false # Got value, back to normal.
1578 *=* | --config-cache | -C | -disable-* | --disable-* \
1579 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1580 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1581 | -with-* | --with-* | -without-* | --without-* | --x)
1582 case "$ac_configure_args0 " in
1583 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1586 -* ) ac_must_keep_next=true ;;
1589 ac_configure_args="$ac_configure_args '$ac_arg'"
1594 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1595 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1597 # When interrupted or exit'd, cleanup temporary files, and complete
1598 # config.log. We remove comments because anyway the quotes in there
1599 # would cause problems or look ugly.
1600 # WARNING: Use '\'' to represent an apostrophe within the trap.
1601 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1602 trap 'exit_status=$?
1603 # Save into config.log some information that might help in debugging.
1608 ## ---------------- ##
1609 ## Cache variables. ##
1610 ## ---------------- ##
1613 # The following way of writing the cache mishandles newlines in values,
1615 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1616 eval ac_val=\$$ac_var
1620 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1621 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1624 _ | IFS | as_nl) ;; #(
1625 *) $as_unset $ac_var ;;
1630 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1631 *${as_nl}ac_space=\ *)
1633 "s/'\''/'\''\\\\'\'''\''/g;
1634 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1637 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1645 ## ----------------- ##
1646 ## Output variables. ##
1647 ## ----------------- ##
1650 for ac_var in $ac_subst_vars
1652 eval ac_val=\$$ac_var
1654 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1656 echo "$ac_var='\''$ac_val'\''"
1660 if test -n "$ac_subst_files"; then
1662 ## ------------------- ##
1663 ## File substitutions. ##
1664 ## ------------------- ##
1667 for ac_var in $ac_subst_files
1669 eval ac_val=\$$ac_var
1671 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1673 echo "$ac_var='\''$ac_val'\''"
1678 if test -s confdefs.h; then
1688 test "$ac_signal" != 0 &&
1689 echo "$as_me: caught signal $ac_signal"
1690 echo "$as_me: exit $exit_status"
1692 rm -f core *.core core.conftest.* &&
1693 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1696 for ac_signal in 1 2 13 15; do
1697 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1701 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1702 rm -f -r conftest* confdefs.h
1704 # Predefined preprocessor variables.
1706 cat >>confdefs.h <<_ACEOF
1707 #define PACKAGE_NAME "$PACKAGE_NAME"
1711 cat >>confdefs.h <<_ACEOF
1712 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1716 cat >>confdefs.h <<_ACEOF
1717 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1721 cat >>confdefs.h <<_ACEOF
1722 #define PACKAGE_STRING "$PACKAGE_STRING"
1726 cat >>confdefs.h <<_ACEOF
1727 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1731 # Let the site file select an alternate cache file if it wants to.
1732 # Prefer explicitly selected file to automatically selected ones.
1733 if test -n "$CONFIG_SITE"; then
1734 set x "$CONFIG_SITE"
1735 elif test "x$prefix" != xNONE; then
1736 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1738 set x "$ac_default_prefix/share/config.site" \
1739 "$ac_default_prefix/etc/config.site"
1744 if test -r "$ac_site_file"; then
1745 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1746 echo "$as_me: loading site script $ac_site_file" >&6;}
1747 sed 's/^/| /' "$ac_site_file" >&5
1752 if test -r "$cache_file"; then
1753 # Some versions of bash will fail to source /dev/null (special
1754 # files actually), so we avoid doing that.
1755 if test -f "$cache_file"; then
1756 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1757 echo "$as_me: loading cache $cache_file" >&6;}
1759 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1760 *) . "./$cache_file";;
1764 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1765 echo "$as_me: creating cache $cache_file" >&6;}
1769 # Check that the precious variables saved in the cache have kept the same
1771 ac_cache_corrupted=false
1772 for ac_var in $ac_precious_vars; do
1773 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1774 eval ac_new_set=\$ac_env_${ac_var}_set
1775 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1776 eval ac_new_val=\$ac_env_${ac_var}_value
1777 case $ac_old_set,$ac_new_set in
1779 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1780 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1781 ac_cache_corrupted=: ;;
1783 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1784 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1785 ac_cache_corrupted=: ;;
1788 if test "x$ac_old_val" != "x$ac_new_val"; then
1789 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1790 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1791 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1792 echo "$as_me: former value
: $ac_old_val" >&2;}
1793 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1794 echo "$as_me: current value
: $ac_new_val" >&2;}
1795 ac_cache_corrupted=:
1798 # Pass precious variables to config.status.
1799 if test "$ac_new_set" = set; then
1801 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1802 *) ac_arg=$ac_var=$ac_new_val ;;
1804 case " $ac_configure_args " in
1805 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1806 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1810 if $ac_cache_corrupted; then
1811 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1812 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1813 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1814 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1815 { (exit 1); exit 1; }; }
1835 ac_cpp='$CPP $CPPFLAGS'
1836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1843 for ac_dir in config "$srcdir"/config; do
1844 if test -f "$ac_dir/install-sh"; then
1846 ac_install_sh="$ac_aux_dir/install-sh -c"
1848 elif test -f "$ac_dir/install.sh"; then
1850 ac_install_sh="$ac_aux_dir/install.sh -c"
1852 elif test -f "$ac_dir/shtool"; then
1854 ac_install_sh="$ac_aux_dir/shtool install -c"
1858 if test -z "$ac_aux_dir"; then
1859 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
1860 echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
1861 { (exit 1); exit 1; }; }
1864 # These three variables are undocumented and unsupported,
1865 # and are intended to be withdrawn in a future Autoconf release.
1866 # They can cause serious problems if a builder's source tree is in a directory
1867 # whose full name contains unusual characters.
1868 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1869 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1870 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1876 E2FSPROGS_VERSION=`grep E2FSPROGS_VERSION
${srcdir}/version.h \
1877 |
awk '{print $3}' |
tr \" " " |
awk '{print $1}'`
1878 DATE=`grep E2FSPROGS_DATE
${srcdir}/version.h |
awk '{print $3}' \
1880 E2FSPROGS_DAY=`echo $DATE |
awk -F- '{print $1}'`
1881 MONTH=`echo $DATE |
awk -F- '{print $2}'`
1882 YEAR=`echo $DATE |
awk -F- '{print $3}'`
1884 if expr $YEAR ">" 1900 > /dev/null ; then
1885 E2FSPROGS_YEAR=$YEAR
1886 elif expr $YEAR ">" 90 >/dev/null ; then
1887 E2FSPROGS_YEAR=19$YEAR
1889 E2FSPROGS_YEAR=20$YEAR
1893 Jan) MONTH_NUM=01; E2FSPROGS_MONTH="January" ;;
1894 Feb) MONTH_NUM=02; E2FSPROGS_MONTH="February" ;;
1895 Mar) MONTH_NUM=03; E2FSPROGS_MONTH="March" ;;
1896 Apr) MONTH_NUM=04; E2FSPROGS_MONTH="April" ;;
1897 May) MONTH_NUM=05; E2FSPROGS_MONTH="May" ;;
1898 Jun) MONTH_NUM=06; E2FSPROGS_MONTH="June" ;;
1899 Jul) MONTH_NUM=07; E2FSPROGS_MONTH="July" ;;
1900 Aug) MONTH_NUM=08; E2FSPROGS_MONTH="August" ;;
1901 Sep) MONTH_NUM=09; E2FSPROGS_MONTH="September" ;;
1902 Oct) MONTH_NUM=10; E2FSPROGS_MONTH="October" ;;
1903 Nov) MONTH_NUM=11; E2FSPROGS_MONTH="November" ;;
1904 Dec) MONTH_NUM=12; E2FSPROGS_MONTH="December" ;;
1905 *) { echo "$as_me:$LINENO: WARNING: Unknown month $MONTH??" >&5
1906 echo "$as_me: WARNING: Unknown month $MONTH??" >&2;} ;;
1909 base_ver=`echo $E2FSPROGS_VERSION | \
1910 sed -e 's/-WIP//' -e 's/pre-//' -e 's/-PLUS//'`
1912 date_spec=${E2FSPROGS_YEAR}.${MONTH_NUM}.${E2FSPROGS_DAY}
1914 case $E2FSPROGS_VERSION in
1916 E2FSPROGS_PKGVER="$base_ver~WIP-$E2FSPROGS_YEAR-$MONTH_NUM-$E2FSPROGS_DAY"
1919 E2FSPROGS_PKGVER="$base_ver"
1923 unset DATE MONTH YEAR base_ver pre_vers date_spec
1924 { echo "$as_me:$LINENO: result: Generating configuration file for e2fsprogs version $E2FSPROGS_VERSION" >&5
1925 echo "${ECHO_T}Generating configuration file for e2fsprogs version $E2FSPROGS_VERSION" >&6; }
1926 { echo "$as_me:$LINENO: result: Release date is ${E2FSPROGS_MONTH}, ${E2FSPROGS_YEAR}" >&5
1927 echo "${ECHO_T}Release date is ${E2FSPROGS_MONTH}, ${E2FSPROGS_YEAR}" >&6; }
1933 # Make sure we can run config.sub.
1934 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1935 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1936 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1937 { (exit 1); exit 1; }; }
1939 { echo "$as_me:$LINENO: checking build system type" >&5
1940 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1941 if test "${ac_cv_build+set}" = set; then
1942 echo $ECHO_N "(cached) $ECHO_C" >&6
1944 ac_build_alias=$build_alias
1945 test "x$ac_build_alias" = x &&
1946 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1947 test "x$ac_build_alias" = x &&
1948 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1949 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1950 { (exit 1); exit 1; }; }
1951 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1952 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1953 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1954 { (exit 1); exit 1; }; }
1957 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1958 echo "${ECHO_T}$ac_cv_build" >&6; }
1959 case $ac_cv_build in
1961 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1962 echo "$as_me: error: invalid value of canonical build" >&2;}
1963 { (exit 1); exit 1; }; };;
1966 ac_save_IFS=$IFS; IFS='-'
1972 # Remember, the first character of IFS is used to create $*,
1973 # except with old shells:
1976 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
1979 { echo "$as_me:$LINENO: checking host system type" >&5
1980 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1981 if test "${ac_cv_host+set}" = set; then
1982 echo $ECHO_N "(cached) $ECHO_C" >&6
1984 if test "x$host_alias" = x; then
1985 ac_cv_host=$ac_cv_build
1987 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1988 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1989 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1990 { (exit 1); exit 1; }; }
1994 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1995 echo "${ECHO_T}$ac_cv_host" >&6; }
1998 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1999 echo "$as_me: error: invalid value of canonical host" >&2;}
2000 { (exit 1); exit 1; }; };;
2003 ac_save_IFS=$IFS; IFS='-'
2009 # Remember, the first character of IFS is used to create $*,
2010 # except with old shells:
2013 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2018 # Check whether --with-diet-libc was given.
2019 if test "${with_diet_libc+set}" = set; then
2020 withval=$with_diet_libc; CC="diet cc -nostdinc"
2022 { echo "$as_me:$LINENO: result: CC=$CC" >&5
2023 echo "${ECHO_T}CC=$CC" >&6; }
2026 # Check whether --with-cc was given.
2027 if test "${with_cc+set}" = set; then
2028 withval=$with_cc; { echo "$as_me:$LINENO: result: CC=$withval" >&5
2029 echo "${ECHO_T}CC=$withval" >&6; }
2032 if test -z "$CC" ; then CC=cc; fi
2033 { echo "$as_me:$LINENO: result: CC defaults to $CC" >&5
2034 echo "${ECHO_T}CC defaults to $CC" >&6; }
2039 ac_cpp='$CPP $CPPFLAGS'
2040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2043 if test -n "$ac_tool_prefix"; then
2044 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2045 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2046 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2048 if test "${ac_cv_prog_CC+set}" = set; then
2049 echo $ECHO_N "(cached) $ECHO_C" >&6
2051 if test -n "$CC"; then
2052 ac_cv_prog_CC="$CC" # Let the user override the test.
2054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2058 test -z "$as_dir" && as_dir=.
2059 for ac_exec_ext in '' $ac_executable_extensions; do
2060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2061 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2072 if test -n "$CC"; then
2073 { echo "$as_me:$LINENO: result: $CC" >&5
2074 echo "${ECHO_T}$CC" >&6; }
2076 { echo "$as_me:$LINENO: result: no" >&5
2077 echo "${ECHO_T}no" >&6; }
2082 if test -z "$ac_cv_prog_CC"; then
2084 # Extract the first word of "gcc", so it can be a program name with args.
2085 set dummy gcc; ac_word=$2
2086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2088 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2089 echo $ECHO_N "(cached) $ECHO_C" >&6
2091 if test -n "$ac_ct_CC"; then
2092 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2098 test -z "$as_dir" && as_dir=.
2099 for ac_exec_ext in '' $ac_executable_extensions; do
2100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2101 ac_cv_prog_ac_ct_CC="gcc"
2102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2111 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2112 if test -n "$ac_ct_CC"; then
2113 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2114 echo "${ECHO_T}$ac_ct_CC" >&6; }
2116 { echo "$as_me:$LINENO: result: no" >&5
2117 echo "${ECHO_T}no" >&6; }
2120 if test "x$ac_ct_CC" = x; then
2123 case $cross_compiling:$ac_tool_warned in
2125 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2126 whose name does not start with the host triplet. If you think this
2127 configuration is useful to you, please write to autoconf@gnu.org." >&5
2128 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2129 whose name does not start with the host triplet. If you think this
2130 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2131 ac_tool_warned=yes ;;
2139 if test -z "$CC"; then
2140 if test -n "$ac_tool_prefix"; then
2141 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2142 set dummy ${ac_tool_prefix}cc; ac_word=$2
2143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2145 if test "${ac_cv_prog_CC+set}" = set; then
2146 echo $ECHO_N "(cached) $ECHO_C" >&6
2148 if test -n "$CC"; then
2149 ac_cv_prog_CC="$CC" # Let the user override the test.
2151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2155 test -z "$as_dir" && as_dir=.
2156 for ac_exec_ext in '' $ac_executable_extensions; do
2157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2158 ac_cv_prog_CC="${ac_tool_prefix}cc"
2159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2169 if test -n "$CC"; then
2170 { echo "$as_me:$LINENO: result: $CC" >&5
2171 echo "${ECHO_T}$CC" >&6; }
2173 { echo "$as_me:$LINENO: result: no" >&5
2174 echo "${ECHO_T}no" >&6; }
2180 if test -z "$CC"; then
2181 # Extract the first word of "cc", so it can be a program name with args.
2182 set dummy cc; ac_word=$2
2183 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2185 if test "${ac_cv_prog_CC+set}" = set; then
2186 echo $ECHO_N "(cached) $ECHO_C" >&6
2188 if test -n "$CC"; then
2189 ac_cv_prog_CC="$CC" # Let the user override the test.
2192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2196 test -z "$as_dir" && as_dir=.
2197 for ac_exec_ext in '' $ac_executable_extensions; do
2198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2199 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2200 ac_prog_rejected=yes
2204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2211 if test $ac_prog_rejected = yes; then
2212 # We found a bogon in the path, so make sure we never use it.
2213 set dummy $ac_cv_prog_CC
2215 if test $# != 0; then
2216 # We chose a different compiler from the bogus one.
2217 # However, it has the same basename, so the bogon will be chosen
2218 # first if we set CC to just the basename; use the full file name.
2220 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2226 if test -n "$CC"; then
2227 { echo "$as_me:$LINENO: result: $CC" >&5
2228 echo "${ECHO_T}$CC" >&6; }
2230 { echo "$as_me:$LINENO: result: no" >&5
2231 echo "${ECHO_T}no" >&6; }
2236 if test -z "$CC"; then
2237 if test -n "$ac_tool_prefix"; then
2238 for ac_prog in cl.exe
2240 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2241 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2244 if test "${ac_cv_prog_CC+set}" = set; then
2245 echo $ECHO_N "(cached) $ECHO_C" >&6
2247 if test -n "$CC"; then
2248 ac_cv_prog_CC="$CC" # Let the user override the test.
2250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2254 test -z "$as_dir" && as_dir=.
2255 for ac_exec_ext in '' $ac_executable_extensions; do
2256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2257 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2268 if test -n "$CC"; then
2269 { echo "$as_me:$LINENO: result: $CC" >&5
2270 echo "${ECHO_T}$CC" >&6; }
2272 { echo "$as_me:$LINENO: result: no" >&5
2273 echo "${ECHO_T}no" >&6; }
2277 test -n "$CC" && break
2280 if test -z "$CC"; then
2282 for ac_prog in cl.exe
2284 # Extract the first word of "$ac_prog", so it can be a program name with args.
2285 set dummy $ac_prog; ac_word=$2
2286 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2288 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2289 echo $ECHO_N "(cached) $ECHO_C" >&6
2291 if test -n "$ac_ct_CC"; then
2292 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2298 test -z "$as_dir" && as_dir=.
2299 for ac_exec_ext in '' $ac_executable_extensions; do
2300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2301 ac_cv_prog_ac_ct_CC="$ac_prog"
2302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2311 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2312 if test -n "$ac_ct_CC"; then
2313 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2314 echo "${ECHO_T}$ac_ct_CC" >&6; }
2316 { echo "$as_me:$LINENO: result: no" >&5
2317 echo "${ECHO_T}no" >&6; }
2321 test -n "$ac_ct_CC" && break
2324 if test "x$ac_ct_CC" = x; then
2327 case $cross_compiling:$ac_tool_warned in
2329 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2330 whose name does not start with the host triplet. If you think this
2331 configuration is useful to you, please write to autoconf@gnu.org." >&5
2332 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2333 whose name does not start with the host triplet. If you think this
2334 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2335 ac_tool_warned=yes ;;
2344 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2345 See \`config.log
' for more details." >&5
2346 echo "$as_me: error: no acceptable C compiler found in \$PATH
2347 See \`config.log' for more details.
" >&2;}
2348 { (exit 1); exit 1; }; }
2350 # Provide some information about the compiler.
2351 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2352 ac_compiler=`set X $ac_compile; echo $2`
2353 { (ac_try="$ac_compiler --version >&5"
2355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2356 *) ac_try_echo=$ac_try;;
2358 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2359 (eval "$ac_compiler --version >&5") 2>&5
2361 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2362 (exit $ac_status); }
2363 { (ac_try="$ac_compiler -v >&5"
2365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2366 *) ac_try_echo=$ac_try;;
2368 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2369 (eval "$ac_compiler -v >&5") 2>&5
2371 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2372 (exit $ac_status); }
2373 { (ac_try="$ac_compiler -V >&5"
2375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2376 *) ac_try_echo=$ac_try;;
2378 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2379 (eval "$ac_compiler -V >&5") 2>&5
2381 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2382 (exit $ac_status); }
2384 cat >conftest.$ac_ext <<_ACEOF
2387 cat confdefs.h >>conftest.$ac_ext
2388 cat >>conftest.$ac_ext <<_ACEOF
2389 /* end confdefs.h. */
2399 ac_clean_files_save=$ac_clean_files
2400 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2401 # Try to create an executable without -o first, disregard a.out.
2402 # It will help us diagnose broken compilers, and finding out an intuition
2404 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2405 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2406 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2408 # List of possible output files, starting from the most likely.
2409 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2410 # only as a last resort. b.out is created by i960 compilers.
2411 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2413 # The IRIX 6 linker writes into existing files which may not be
2414 # executable, retaining their permissions. Remove them first so a
2415 # subsequent execution test works.
2417 for ac_file in $ac_files
2420 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2421 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2426 if { (ac_try="$ac_link_default"
2428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2429 *) ac_try_echo=$ac_try;;
2431 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2432 (eval "$ac_link_default") 2>&5
2434 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2435 (exit $ac_status); }; then
2436 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2437 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2438 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2439 # so that the user can short-circuit this test for compilers unknown to
2441 for ac_file in $ac_files ''
2443 test -f "$ac_file" || continue
2445 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2448 # We found the default executable, but exeext='' is most
2452 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2454 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2456 # We set ac_cv_exeext here because the later test for it is not
2457 # safe: cross compilers may not add the suffix if given an `-o'
2458 # argument, so we may need to know it at that point already.
2459 # Even if this section looks crufty: it has the advantage of
2466 test "$ac_cv_exeext" = no && ac_cv_exeext=
2472 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2473 echo "${ECHO_T}$ac_file" >&6; }
2474 if test -z "$ac_file"; then
2475 echo "$as_me: failed program was
:" >&5
2476 sed 's/^/| /' conftest.$ac_ext >&5
2478 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2479 See \
`config.log' for more details." >&5
2480 echo "$as_me: error: C compiler cannot create executables
2481 See \`config.log
' for more details." >&2;}
2482 { (exit 77); exit 77; }; }
2485 ac_exeext=$ac_cv_exeext
2487 # Check that the compiler produces executables we can run. If not, either
2488 # the compiler is broken, or we cross compile.
2489 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2490 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2491 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2492 # If not cross compiling, check that we can run a simple program.
2493 if test "$cross_compiling" != yes; then
2494 if { ac_try='.
/$ac_file'
2495 { (case "(($ac_try" in
2496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2497 *) ac_try_echo=$ac_try;;
2499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2500 (eval "$ac_try") 2>&5
2502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503 (exit $ac_status); }; }; then
2506 if test "$cross_compiling" = maybe; then
2509 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2510 If you meant to cross compile, use \`--host'.
2511 See \
`config.log' for more details." >&5
2512 echo "$as_me: error: cannot run C compiled programs.
2513 If you meant to cross compile, use \`--host'.
2514 See \`config.log' for more details.
" >&2;}
2515 { (exit 1); exit 1; }; }
2519 { echo "$as_me:$LINENO: result
: yes" >&5
2520 echo "${ECHO_T}yes" >&6; }
2522 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2523 ac_clean_files=$ac_clean_files_save
2524 # Check that the compiler produces executables we can run. If not, either
2525 # the compiler is broken, or we cross compile.
2526 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2527 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2528 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2529 echo "${ECHO_T}$cross_compiling" >&6; }
2531 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2532 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2533 if { (ac_try="$ac_link"
2535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2536 *) ac_try_echo=$ac_try;;
2538 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2539 (eval "$ac_link") 2>&5
2541 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2542 (exit $ac_status); }; then
2543 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2544 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2545 # work properly (i.e., refer to `conftest.exe'), while it won't with
2547 for ac_file in conftest.exe conftest conftest.*; do
2548 test -f "$ac_file" || continue
2550 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2551 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2557 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2558 See \
`config.log' for more details." >&5
2559 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2560 See \`config.log
' for more details." >&2;}
2561 { (exit 1); exit 1; }; }
2564 rm -f conftest$ac_cv_exeext
2565 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2566 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2568 rm -f conftest.$ac_ext
2569 EXEEXT=$ac_cv_exeext
2571 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2572 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2573 if test "${ac_cv_objext+set}" = set; then
2574 echo $ECHO_N "(cached) $ECHO_C" >&6
2576 cat >conftest.$ac_ext <<_ACEOF
2579 cat confdefs.h >>conftest.$ac_ext
2580 cat >>conftest.$ac_ext <<_ACEOF
2581 /* end confdefs.h. */
2591 rm -f conftest.o conftest.obj
2592 if { (ac_try="$ac_compile"
2594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2595 *) ac_try_echo=$ac_try;;
2597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2598 (eval "$ac_compile") 2>&5
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); }; then
2602 for ac_file in conftest.o conftest.obj conftest.*; do
2603 test -f "$ac_file" || continue;
2605 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2606 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2611 echo "$as_me: failed program was:" >&5
2612 sed 's
/^
/|
/' conftest.$ac_ext >&5
2614 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2615 See \`config.log' for more details.
" >&5
2616 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2617 See \
`config.log' for more details." >&2;}
2618 { (exit 1); exit 1; }; }
2621 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2623 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2624 echo "${ECHO_T}$ac_cv_objext" >&6; }
2625 OBJEXT=$ac_cv_objext
2627 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2628 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2629 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2630 echo $ECHO_N "(cached) $ECHO_C" >&6
2632 cat >conftest.$ac_ext <<_ACEOF
2635 cat confdefs.h >>conftest.$ac_ext
2636 cat >>conftest.$ac_ext <<_ACEOF
2637 /* end confdefs.h. */
2650 rm -f conftest.$ac_objext
2651 if { (ac_try="$ac_compile"
2653 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2654 *) ac_try_echo
=$ac_try;;
2656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2657 (eval "$ac_compile") 2>conftest.er1
2659 grep -v '^ *+' conftest.er1
>conftest.err
2661 cat conftest.err
>&5
2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); } && {
2664 test -z "$ac_c_werror_flag" ||
2665 test ! -s conftest.err
2666 } && test -s conftest.
$ac_objext; then
2669 echo "$as_me: failed program was:" >&5
2670 sed 's/^/| /' conftest.
$ac_ext >&5
2675 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2676 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2679 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2680 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2681 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2682 ac_test_CFLAGS
=${CFLAGS+set}
2683 ac_save_CFLAGS
=$CFLAGS
2684 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2685 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2686 if test "${ac_cv_prog_cc_g+set}" = set; then
2687 echo $ECHO_N "(cached) $ECHO_C" >&6
2689 ac_save_c_werror_flag
=$ac_c_werror_flag
2690 ac_c_werror_flag
=yes
2693 cat >conftest.
$ac_ext <<_ACEOF
2696 cat confdefs.h
>>conftest.
$ac_ext
2697 cat >>conftest.
$ac_ext <<_ACEOF
2698 /* end confdefs.h. */
2708 rm -f conftest.
$ac_objext
2709 if { (ac_try
="$ac_compile"
2711 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2712 *) ac_try_echo=$ac_try;;
2714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2715 (eval "$ac_compile") 2>conftest.er1
2717 grep -v '^ *+' conftest.er1 >conftest.err
2719 cat conftest.err >&5
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); } && {
2722 test -z "$ac_c_werror_flag" ||
2723 test ! -s conftest.err
2724 } && test -s conftest.$ac_objext; then
2727 echo "$as_me: failed program was:" >&5
2728 sed 's/^/| /' conftest.$ac_ext >&5
2731 cat >conftest.$ac_ext <<_ACEOF
2734 cat confdefs.h >>conftest.$ac_ext
2735 cat >>conftest.$ac_ext <<_ACEOF
2736 /* end confdefs.h. */
2746 rm -f conftest.$ac_objext
2747 if { (ac_try="$ac_compile"
2749 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2750 *) ac_try_echo
=$ac_try;;
2752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2753 (eval "$ac_compile") 2>conftest.er1
2755 grep -v '^ *+' conftest.er1
>conftest.err
2757 cat conftest.err
>&5
2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); } && {
2760 test -z "$ac_c_werror_flag" ||
2761 test ! -s conftest.err
2762 } && test -s conftest.
$ac_objext; then
2765 echo "$as_me: failed program was:" >&5
2766 sed 's/^/| /' conftest.
$ac_ext >&5
2768 ac_c_werror_flag
=$ac_save_c_werror_flag
2770 cat >conftest.
$ac_ext <<_ACEOF
2773 cat confdefs.h
>>conftest.
$ac_ext
2774 cat >>conftest.
$ac_ext <<_ACEOF
2775 /* end confdefs.h. */
2785 rm -f conftest.
$ac_objext
2786 if { (ac_try
="$ac_compile"
2788 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2789 *) ac_try_echo=$ac_try;;
2791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2792 (eval "$ac_compile") 2>conftest.er1
2794 grep -v '^ *+' conftest.er1 >conftest.err
2796 cat conftest.err >&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); } && {
2799 test -z "$ac_c_werror_flag" ||
2800 test ! -s conftest.err
2801 } && test -s conftest.$ac_objext; then
2804 echo "$as_me: failed program was:" >&5
2805 sed 's/^/| /' conftest.$ac_ext >&5
2810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2817 ac_c_werror_flag=$ac_save_c_werror_flag
2819 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2820 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2821 if test "$ac_test_CFLAGS" = set; then
2822 CFLAGS=$ac_save_CFLAGS
2823 elif test $ac_cv_prog_cc_g = yes; then
2824 if test "$GCC" = yes; then
2830 if test "$GCC" = yes; then
2836 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2837 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2838 if test "${ac_cv_prog_cc_c89+set}" = set; then
2839 echo $ECHO_N "(cached) $ECHO_C" >&6
2841 ac_cv_prog_cc_c89=no
2843 cat >conftest.$ac_ext <<_ACEOF
2846 cat confdefs.h >>conftest.$ac_ext
2847 cat >>conftest.$ac_ext <<_ACEOF
2848 /* end confdefs.h. */
2851 #include <sys/types.h>
2852 #include <sys/stat.h>
2853 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2854 struct buf { int x; };
2855 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2856 static char *e (p, i)
2862 static char *f (char * (*g) (char **, int), char **p, ...)
2867 s = g (p, va_arg (v,int));
2872 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2873 function prototypes and stuff, but not '\xHH' hex character constants.
2874 These don't provoke an error unfortunately, instead are silently treated
2875 as 'x'. The following induces an error, until -std is added to get
2876 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2877 array size at least. It's necessary to write '\x00'==0 to get something
2878 that's true only with -std. */
2879 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2881 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2882 inside strings and character constants. */
2884 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2886 int test (int i, double x);
2887 struct s1 {int (*f) (int a);};
2888 struct s2 {int (*f) (double a);};
2889 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2895 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2900 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2901 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2903 CC="$ac_save_CC $ac_arg"
2904 rm -f conftest.$ac_objext
2905 if { (ac_try="$ac_compile"
2907 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2908 *) ac_try_echo
=$ac_try;;
2910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2911 (eval "$ac_compile") 2>conftest.er1
2913 grep -v '^ *+' conftest.er1
>conftest.err
2915 cat conftest.err
>&5
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); } && {
2918 test -z "$ac_c_werror_flag" ||
2919 test ! -s conftest.err
2920 } && test -s conftest.
$ac_objext; then
2921 ac_cv_prog_cc_c89
=$ac_arg
2923 echo "$as_me: failed program was:" >&5
2924 sed 's/^/| /' conftest.
$ac_ext >&5
2929 rm -f core conftest.err conftest.
$ac_objext
2930 test "x$ac_cv_prog_cc_c89" != "xno" && break
2932 rm -f conftest.
$ac_ext
2937 case "x$ac_cv_prog_cc_c89" in
2939 { echo "$as_me:$LINENO: result: none needed" >&5
2940 echo "${ECHO_T}none needed" >&6; } ;;
2942 { echo "$as_me:$LINENO: result: unsupported" >&5
2943 echo "${ECHO_T}unsupported" >&6; } ;;
2945 CC
="$CC $ac_cv_prog_cc_c89"
2946 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2947 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2952 ac_cpp
='$CPP $CPPFLAGS'
2953 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2954 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2955 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2958 ac_cpp
='$CPP $CPPFLAGS'
2959 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2960 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2961 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2962 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2963 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2964 # On Suns, sometimes $CPP names a directory.
2965 if test -n "$CPP" && test -d "$CPP"; then
2968 if test -z "$CPP"; then
2969 if test "${ac_cv_prog_CPP+set}" = set; then
2970 echo $ECHO_N "(cached) $ECHO_C" >&6
2972 # Double quotes because CPP needs to be expanded
2973 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2976 for ac_c_preproc_warn_flag
in '' yes
2978 # Use a header file that comes with gcc, so configuring glibc
2979 # with a fresh cross-compiler works.
2980 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2981 # <limits.h> exists even on freestanding compilers.
2982 # On the NeXT, cc -E runs the code through the compiler's parser,
2983 # not just through cpp. "Syntax error" is here to catch this case.
2984 cat >conftest.
$ac_ext <<_ACEOF
2987 cat confdefs.h
>>conftest.
$ac_ext
2988 cat >>conftest.
$ac_ext <<_ACEOF
2989 /* end confdefs.h. */
2991 # include <limits.h>
2993 # include <assert.h>
2997 if { (ac_try
="$ac_cpp conftest.$ac_ext"
2999 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3000 *) ac_try_echo=$ac_try;;
3002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3003 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3005 grep -v '^ *+' conftest.er1 >conftest.err
3007 cat conftest.err >&5
3008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3009 (exit $ac_status); } >/dev/null && {
3010 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3011 test ! -s conftest.err
3015 echo "$as_me: failed program was:" >&5
3016 sed 's/^/| /' conftest.$ac_ext >&5
3018 # Broken: fails on valid input.
3022 rm -f conftest.err conftest.$ac_ext
3024 # OK, works on sane cases. Now check whether nonexistent headers
3025 # can be detected and how.
3026 cat >conftest.$ac_ext <<_ACEOF
3029 cat confdefs.h >>conftest.$ac_ext
3030 cat >>conftest.$ac_ext <<_ACEOF
3031 /* end confdefs.h. */
3032 #include <ac_nonexistent.h>
3034 if { (ac_try="$ac_cpp conftest.$ac_ext"
3036 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3037 *) ac_try_echo
=$ac_try;;
3039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3040 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3042 grep -v '^ *+' conftest.er1
>conftest.err
3044 cat conftest.err
>&5
3045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046 (exit $ac_status); } >/dev
/null
&& {
3047 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3048 test ! -s conftest.err
3050 # Broken: success on invalid input.
3053 echo "$as_me: failed program was:" >&5
3054 sed 's/^/| /' conftest.
$ac_ext >&5
3056 # Passes both tests.
3061 rm -f conftest.err conftest.
$ac_ext
3064 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3065 rm -f conftest.err conftest.
$ac_ext
3066 if $ac_preproc_ok; then
3078 { echo "$as_me:$LINENO: result: $CPP" >&5
3079 echo "${ECHO_T}$CPP" >&6; }
3081 for ac_c_preproc_warn_flag
in '' yes
3083 # Use a header file that comes with gcc, so configuring glibc
3084 # with a fresh cross-compiler works.
3085 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3086 # <limits.h> exists even on freestanding compilers.
3087 # On the NeXT, cc -E runs the code through the compiler's parser,
3088 # not just through cpp. "Syntax error" is here to catch this case.
3089 cat >conftest.
$ac_ext <<_ACEOF
3092 cat confdefs.h
>>conftest.
$ac_ext
3093 cat >>conftest.
$ac_ext <<_ACEOF
3094 /* end confdefs.h. */
3096 # include <limits.h>
3098 # include <assert.h>
3102 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3104 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3105 *) ac_try_echo=$ac_try;;
3107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3108 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3110 grep -v '^ *+' conftest.er1 >conftest.err
3112 cat conftest.err >&5
3113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3114 (exit $ac_status); } >/dev/null && {
3115 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3116 test ! -s conftest.err
3120 echo "$as_me: failed program was:" >&5
3121 sed 's/^/| /' conftest.$ac_ext >&5
3123 # Broken: fails on valid input.
3127 rm -f conftest.err conftest.$ac_ext
3129 # OK, works on sane cases. Now check whether nonexistent headers
3130 # can be detected and how.
3131 cat >conftest.$ac_ext <<_ACEOF
3134 cat confdefs.h >>conftest.$ac_ext
3135 cat >>conftest.$ac_ext <<_ACEOF
3136 /* end confdefs.h. */
3137 #include <ac_nonexistent.h>
3139 if { (ac_try="$ac_cpp conftest.$ac_ext"
3141 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3142 *) ac_try_echo
=$ac_try;;
3144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3145 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3147 grep -v '^ *+' conftest.er1
>conftest.err
3149 cat conftest.err
>&5
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); } >/dev
/null
&& {
3152 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3153 test ! -s conftest.err
3155 # Broken: success on invalid input.
3158 echo "$as_me: failed program was:" >&5
3159 sed 's/^/| /' conftest.
$ac_ext >&5
3161 # Passes both tests.
3166 rm -f conftest.err conftest.
$ac_ext
3169 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3170 rm -f conftest.err conftest.
$ac_ext
3171 if $ac_preproc_ok; then
3174 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3175 See \`config.log' for more details." >&5
3176 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3177 See \`config.log' for more details." >&2;}
3178 { (exit 1); exit 1; }; }
3182 ac_cpp
='$CPP $CPPFLAGS'
3183 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3184 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3185 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3188 # Check whether --with-linker was given.
3189 if test "${with_linker+set}" = set; then
3190 withval
=$with_linker; { echo "$as_me:$LINENO: result: LD=$withval" >&5
3191 echo "${ECHO_T}LD=$withval" >&6; }
3194 if test -z "$LD" ; then LD
=$CC; fi
3195 { echo "$as_me:$LINENO: result: LD defaults to $LD" >&5
3196 echo "${ECHO_T}LD defaults to $LD" >&6; }
3201 # Check whether --with-ccopts was given.
3202 if test "${with_ccopts+set}" = set; then
3203 withval
=$with_ccopts; { echo "$as_me:$LINENO: result: CCOPTS is $withval" >&5
3204 echo "${ECHO_T}CCOPTS is $withval" >&6; }
3209 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3210 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3211 if test "${ac_cv_path_GREP+set}" = set; then
3212 echo $ECHO_N "(cached) $ECHO_C" >&6
3214 # Extract the first word of "grep ggrep" to use in msg output
3215 if test -z "$GREP"; then
3216 set dummy
grep ggrep
; ac_prog_name
=$2
3217 if test "${ac_cv_path_GREP+set}" = set; then
3218 echo $ECHO_N "(cached) $ECHO_C" >&6
3220 ac_path_GREP_found
=false
3221 # Loop through the user's path and test for each of PROGNAME-LIST
3222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3223 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3226 test -z "$as_dir" && as_dir
=.
3227 for ac_prog
in grep ggrep
; do
3228 for ac_exec_ext
in '' $ac_executable_extensions; do
3229 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3230 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3231 # Check for GNU ac_path_GREP and select it if it is found.
3232 # Check for GNU $ac_path_GREP
3233 case `"$ac_path_GREP" --version 2>&1` in
3235 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3238 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3241 cat "conftest.in" "conftest.in" >"conftest.tmp"
3242 mv "conftest.tmp" "conftest.in"
3243 cp "conftest.in" "conftest.nl"
3244 echo 'GREP' >> "conftest.nl"
3245 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3246 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3247 ac_count
=`expr $ac_count + 1`
3248 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3249 # Best one so far, save it but keep looking for a better one
3250 ac_cv_path_GREP
="$ac_path_GREP"
3251 ac_path_GREP_max
=$ac_count
3253 # 10*(2^10) chars as input seems more than enough
3254 test $ac_count -gt 10 && break
3256 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3260 $ac_path_GREP_found && break 3
3270 GREP
="$ac_cv_path_GREP"
3271 if test -z "$GREP"; then
3272 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3273 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3274 { (exit 1); exit 1; }; }
3278 ac_cv_path_GREP
=$GREP
3283 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3284 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3285 GREP
="$ac_cv_path_GREP"
3288 { echo "$as_me:$LINENO: checking for egrep" >&5
3289 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3290 if test "${ac_cv_path_EGREP+set}" = set; then
3291 echo $ECHO_N "(cached) $ECHO_C" >&6
3293 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3294 then ac_cv_path_EGREP
="$GREP -E"
3296 # Extract the first word of "egrep" to use in msg output
3297 if test -z "$EGREP"; then
3298 set dummy
egrep; ac_prog_name
=$2
3299 if test "${ac_cv_path_EGREP+set}" = set; then
3300 echo $ECHO_N "(cached) $ECHO_C" >&6
3302 ac_path_EGREP_found
=false
3303 # Loop through the user's path and test for each of PROGNAME-LIST
3304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3305 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3308 test -z "$as_dir" && as_dir
=.
3309 for ac_prog
in egrep; do
3310 for ac_exec_ext
in '' $ac_executable_extensions; do
3311 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3312 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3313 # Check for GNU ac_path_EGREP and select it if it is found.
3314 # Check for GNU $ac_path_EGREP
3315 case `"$ac_path_EGREP" --version 2>&1` in
3317 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3320 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3323 cat "conftest.in" "conftest.in" >"conftest.tmp"
3324 mv "conftest.tmp" "conftest.in"
3325 cp "conftest.in" "conftest.nl"
3326 echo 'EGREP' >> "conftest.nl"
3327 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3328 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3329 ac_count
=`expr $ac_count + 1`
3330 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3331 # Best one so far, save it but keep looking for a better one
3332 ac_cv_path_EGREP
="$ac_path_EGREP"
3333 ac_path_EGREP_max
=$ac_count
3335 # 10*(2^10) chars as input seems more than enough
3336 test $ac_count -gt 10 && break
3338 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3342 $ac_path_EGREP_found && break 3
3352 EGREP
="$ac_cv_path_EGREP"
3353 if test -z "$EGREP"; then
3354 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3355 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3356 { (exit 1); exit 1; }; }
3360 ac_cv_path_EGREP
=$EGREP
3366 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3367 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3368 EGREP
="$ac_cv_path_EGREP"
3371 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3372 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3373 if test "${ac_cv_header_stdc+set}" = set; then
3374 echo $ECHO_N "(cached) $ECHO_C" >&6
3376 cat >conftest.
$ac_ext <<_ACEOF
3379 cat confdefs.h
>>conftest.
$ac_ext
3380 cat >>conftest.
$ac_ext <<_ACEOF
3381 /* end confdefs.h. */
3395 rm -f conftest.
$ac_objext
3396 if { (ac_try
="$ac_compile"
3398 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3399 *) ac_try_echo=$ac_try;;
3401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3402 (eval "$ac_compile") 2>conftest.er1
3404 grep -v '^ *+' conftest.er1 >conftest.err
3406 cat conftest.err >&5
3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); } && {
3409 test -z "$ac_c_werror_flag" ||
3410 test ! -s conftest.err
3411 } && test -s conftest.$ac_objext; then
3412 ac_cv_header_stdc=yes
3414 echo "$as_me: failed program was:" >&5
3415 sed 's/^/| /' conftest.$ac_ext >&5
3417 ac_cv_header_stdc=no
3420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3422 if test $ac_cv_header_stdc = yes; then
3423 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3424 cat >conftest.$ac_ext <<_ACEOF
3427 cat confdefs.h >>conftest.$ac_ext
3428 cat >>conftest.$ac_ext <<_ACEOF
3429 /* end confdefs.h. */
3433 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3434 $EGREP "memchr" >/dev/null 2>&1; then
3437 ac_cv_header_stdc=no
3443 if test $ac_cv_header_stdc = yes; then
3444 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3445 cat >conftest.$ac_ext <<_ACEOF
3448 cat confdefs.h >>conftest.$ac_ext
3449 cat >>conftest.$ac_ext <<_ACEOF
3450 /* end confdefs.h. */
3454 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3455 $EGREP "free" >/dev/null 2>&1; then
3458 ac_cv_header_stdc=no
3464 if test $ac_cv_header_stdc = yes; then
3465 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3466 if test "$cross_compiling" = yes; then
3469 cat >conftest.$ac_ext <<_ACEOF
3472 cat confdefs.h >>conftest.$ac_ext
3473 cat >>conftest.$ac_ext <<_ACEOF
3474 /* end confdefs.h. */
3477 #if ((' ' & 0x0FF) == 0x020)
3478 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3479 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3481 # define ISLOWER(c) \
3482 (('a' <= (c) && (c) <= 'i') \
3483 || ('j' <= (c) && (c) <= 'r') \
3484 || ('s' <= (c) && (c) <= 'z'))
3485 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3488 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3493 for (i = 0; i < 256; i++)
3494 if (XOR (islower (i), ISLOWER (i))
3495 || toupper (i) != TOUPPER (i))
3500 rm -f conftest$ac_exeext
3501 if { (ac_try="$ac_link"
3503 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3504 *) ac_try_echo
=$ac_try;;
3506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3507 (eval "$ac_link") 2>&5
3509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3510 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3511 { (case "(($ac_try" in
3512 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3513 *) ac_try_echo=$ac_try;;
3515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3516 (eval "$ac_try") 2>&5
3518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3519 (exit $ac_status); }; }; then
3522 echo "$as_me: program exited with status $ac_status" >&5
3523 echo "$as_me: failed program was:" >&5
3524 sed 's/^/| /' conftest.$ac_ext >&5
3527 ac_cv_header_stdc=no
3529 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3535 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3536 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3537 if test $ac_cv_header_stdc = yes; then
3539 cat >>confdefs.h <<\_ACEOF
3540 #define STDC_HEADERS 1
3545 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3555 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3556 inttypes.h stdint.h unistd.h
3558 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
3559 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3561 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3562 echo $ECHO_N "(cached) $ECHO_C" >&6
3564 cat >conftest.$ac_ext <<_ACEOF
3567 cat confdefs.h >>conftest.$ac_ext
3568 cat >>conftest.$ac_ext <<_ACEOF
3569 /* end confdefs.h. */
3570 $ac_includes_default
3572 #include <$ac_header>
3574 rm -f conftest.$ac_objext
3575 if { (ac_try="$ac_compile"
3577 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3578 *) ac_try_echo
=$ac_try;;
3580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3581 (eval "$ac_compile") 2>conftest.er1
3583 grep -v '^ *+' conftest.er1
>conftest.err
3585 cat conftest.err
>&5
3586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3587 (exit $ac_status); } && {
3588 test -z "$ac_c_werror_flag" ||
3589 test ! -s conftest.err
3590 } && test -s conftest.
$ac_objext; then
3591 eval "$as_ac_Header=yes"
3593 echo "$as_me: failed program was:" >&5
3594 sed 's/^/| /' conftest.
$ac_ext >&5
3596 eval "$as_ac_Header=no"
3599 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3601 ac_res
=`eval echo '${'$as_ac_Header'}'`
3602 { echo "$as_me:$LINENO: result: $ac_res" >&5
3603 echo "${ECHO_T}$ac_res" >&6; }
3604 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3605 cat >>confdefs.h
<<_ACEOF
3606 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3614 if test "${ac_cv_header_linux_fs_h+set}" = set; then
3615 { echo "$as_me:$LINENO: checking for linux/fs.h" >&5
3616 echo $ECHO_N "checking for linux/fs.h... $ECHO_C" >&6; }
3617 if test "${ac_cv_header_linux_fs_h+set}" = set; then
3618 echo $ECHO_N "(cached) $ECHO_C" >&6
3620 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_fs_h" >&5
3621 echo "${ECHO_T}$ac_cv_header_linux_fs_h" >&6; }
3623 # Is the header compilable?
3624 { echo "$as_me:$LINENO: checking linux/fs.h usability" >&5
3625 echo $ECHO_N "checking linux/fs.h usability... $ECHO_C" >&6; }
3626 cat >conftest.
$ac_ext <<_ACEOF
3629 cat confdefs.h
>>conftest.
$ac_ext
3630 cat >>conftest.
$ac_ext <<_ACEOF
3631 /* end confdefs.h. */
3632 $ac_includes_default
3633 #include <linux/fs.h>
3635 rm -f conftest.
$ac_objext
3636 if { (ac_try
="$ac_compile"
3638 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3639 *) ac_try_echo=$ac_try;;
3641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3642 (eval "$ac_compile") 2>conftest.er1
3644 grep -v '^ *+' conftest.er1 >conftest.err
3646 cat conftest.err >&5
3647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3648 (exit $ac_status); } && {
3649 test -z "$ac_c_werror_flag" ||
3650 test ! -s conftest.err
3651 } && test -s conftest.$ac_objext; then
3652 ac_header_compiler=yes
3654 echo "$as_me: failed program was:" >&5
3655 sed 's/^/| /' conftest.$ac_ext >&5
3657 ac_header_compiler=no
3660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3661 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3662 echo "${ECHO_T}$ac_header_compiler" >&6; }
3664 # Is the header present?
3665 { echo "$as_me:$LINENO: checking linux/fs.h presence" >&5
3666 echo $ECHO_N "checking linux/fs.h presence... $ECHO_C" >&6; }
3667 cat >conftest.$ac_ext <<_ACEOF
3670 cat confdefs.h >>conftest.$ac_ext
3671 cat >>conftest.$ac_ext <<_ACEOF
3672 /* end confdefs.h. */
3673 #include <linux/fs.h>
3675 if { (ac_try="$ac_cpp conftest.$ac_ext"
3677 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3678 *) ac_try_echo
=$ac_try;;
3680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3681 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3683 grep -v '^ *+' conftest.er1
>conftest.err
3685 cat conftest.err
>&5
3686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3687 (exit $ac_status); } >/dev
/null
&& {
3688 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3689 test ! -s conftest.err
3691 ac_header_preproc
=yes
3693 echo "$as_me: failed program was:" >&5
3694 sed 's/^/| /' conftest.
$ac_ext >&5
3696 ac_header_preproc
=no
3699 rm -f conftest.err conftest.
$ac_ext
3700 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3701 echo "${ECHO_T}$ac_header_preproc" >&6; }
3703 # So? What about this header?
3704 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3706 { echo "$as_me:$LINENO: WARNING: linux/fs.h: accepted by the compiler, rejected by the preprocessor!" >&5
3707 echo "$as_me: WARNING: linux/fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3708 { echo "$as_me:$LINENO: WARNING: linux/fs.h: proceeding with the compiler's result" >&5
3709 echo "$as_me: WARNING: linux/fs.h: proceeding with the compiler's result" >&2;}
3710 ac_header_preproc
=yes
3713 { echo "$as_me:$LINENO: WARNING: linux/fs.h: present but cannot be compiled" >&5
3714 echo "$as_me: WARNING: linux/fs.h: present but cannot be compiled" >&2;}
3715 { echo "$as_me:$LINENO: WARNING: linux/fs.h: check for missing prerequisite headers?" >&5
3716 echo "$as_me: WARNING: linux/fs.h: check for missing prerequisite headers?" >&2;}
3717 { echo "$as_me:$LINENO: WARNING: linux/fs.h: see the Autoconf documentation" >&5
3718 echo "$as_me: WARNING: linux/fs.h: see the Autoconf documentation" >&2;}
3719 { echo "$as_me:$LINENO: WARNING: linux/fs.h: section \"Present But Cannot Be Compiled\"" >&5
3720 echo "$as_me: WARNING: linux/fs.h: section \"Present But Cannot Be Compiled\"" >&2;}
3721 { echo "$as_me:$LINENO: WARNING: linux/fs.h: proceeding with the preprocessor's result" >&5
3722 echo "$as_me: WARNING: linux/fs.h: proceeding with the preprocessor's result" >&2;}
3723 { echo "$as_me:$LINENO: WARNING: linux/fs.h: in the future, the compiler will take precedence" >&5
3724 echo "$as_me: WARNING: linux/fs.h: in the future, the compiler will take precedence" >&2;}
3728 { echo "$as_me:$LINENO: checking for linux/fs.h" >&5
3729 echo $ECHO_N "checking for linux/fs.h... $ECHO_C" >&6; }
3730 if test "${ac_cv_header_linux_fs_h+set}" = set; then
3731 echo $ECHO_N "(cached) $ECHO_C" >&6
3733 ac_cv_header_linux_fs_h
=$ac_header_preproc
3735 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_fs_h" >&5
3736 echo "${ECHO_T}$ac_cv_header_linux_fs_h" >&6; }
3739 if test $ac_cv_header_linux_fs_h = yes; then
3746 if test "$linux_headers" != yes; then
3747 LINUX_INCLUDE
='-I$(top_builddir)/include'
3750 { echo "$as_me:$LINENO: checking for additional special compiler flags" >&5
3751 echo $ECHO_N "checking for additional special compiler flags... $ECHO_C" >&6; }
3752 if test "$GCC" = yes
3755 alpha
) addcflags
="-mieee" ;;
3758 if test "x$addcflags" != x
3760 { echo "$as_me:$LINENO: result: $addcflags" >&5
3761 echo "${ECHO_T}$addcflags" >&6; }
3762 CFLAGS
="$addcflags $CFLAGS"
3764 { echo "$as_me:$LINENO: result: (none)" >&5
3765 echo "${ECHO_T}(none)" >&6; }
3771 # Check whether --with-ldopts was given.
3772 if test "${with_ldopts+set}" = set; then
3773 withval
=$with_ldopts; { echo "$as_me:$LINENO: result: LDFLAGS is $withval" >&5
3774 echo "${ECHO_T}LDFLAGS is $withval" >&6; }
3779 # Check whether --with-root-prefix was given.
3780 if test "${with_root_prefix+set}" = set; then
3781 withval
=$with_root_prefix; root_prefix
=$withval
3785 # Check whether --enable-maintainer-mode was given.
3786 if test "${enable_maintainer_mode+set}" = set; then
3787 enableval
=$enable_maintainer_mode; if test "$enableval" = "no"
3790 { echo "$as_me:$LINENO: result: Disabling maintainer mode" >&5
3791 echo "${ECHO_T}Disabling maintainer mode" >&6; }
3794 { echo "$as_me:$LINENO: result: Enabling maintainer mode" >&5
3795 echo "${ECHO_T}Enabling maintainer mode" >&6; }
3800 { echo "$as_me:$LINENO: result: Disabling maintainer mode by default" >&5
3801 echo "${ECHO_T}Disabling maintainer mode by default" >&6; }
3806 # Check whether --enable-compression was given.
3807 if test "${enable_compression+set}" = set; then
3808 enableval
=$enable_compression; if test "$enableval" = "no"
3810 { echo "$as_me:$LINENO: result: Disabling compression support" >&5
3811 echo "${ECHO_T}Disabling compression support" >&6; }
3813 cat >>confdefs.h
<<\_ACEOF
3814 #define ENABLE_COMPRESSION 1
3817 { echo "$as_me:$LINENO: result: Enabling compression support" >&5
3818 echo "${ECHO_T}Enabling compression support" >&6; }
3819 { echo "$as_me:$LINENO: WARNING: Compression support is experimental" >&5
3820 echo "$as_me: WARNING: Compression support is experimental" >&2;}
3824 { echo "$as_me:$LINENO: result: Disabling compression support by default" >&5
3825 echo "${ECHO_T}Disabling compression support by default" >&6; }
3829 # Check whether --enable-htree was given.
3830 if test "${enable_htree+set}" = set; then
3831 enableval
=$enable_htree; if test "$enableval" = "no"
3834 { echo "$as_me:$LINENO: result: Disabling htree directory support" >&5
3835 echo "${ECHO_T}Disabling htree directory support" >&6; }
3838 cat >>confdefs.h
<<\_ACEOF
3839 #define ENABLE_HTREE 1
3842 { echo "$as_me:$LINENO: result: Enabling htree directory support" >&5
3843 echo "${ECHO_T}Enabling htree directory support" >&6; }
3848 cat >>confdefs.h
<<\_ACEOF
3849 #define ENABLE_HTREE 1
3852 { echo "$as_me:$LINENO: result: Enabling htree directory support by default" >&5
3853 echo "${ECHO_T}Enabling htree directory support by default" >&6; }
3858 E2_PKG_CONFIG_STATIC
=--static
3861 # Check whether --enable-elf-shlibs was given.
3862 if test "${enable_elf_shlibs+set}" = set; then
3863 enableval
=$enable_elf_shlibs; if test "$enableval" = "no"
3866 MAKEFILE_ELF
=/dev
/null
3867 { echo "$as_me:$LINENO: result: Disabling ELF shared libraries" >&5
3868 echo "${ECHO_T}Disabling ELF shared libraries" >&6; }
3870 E2_PKG_CONFIG_STATIC
=
3872 MAKEFILE_ELF
=$srcdir/lib
/Makefile.elf-lib
3875 MAKEFILE_ELF
=$srcdir/lib
/Makefile.solaris-lib
3881 LDFLAG_DYNAMIC
='-Wl,-rpath-link,$(top_builddir)/lib'
3882 { echo "$as_me:$LINENO: result: Enabling ELF shared libraries" >&5
3883 echo "${ECHO_T}Enabling ELF shared libraries" >&6; }
3887 MAKEFILE_ELF
=/dev
/null
3889 { echo "$as_me:$LINENO: result: Disabling ELF shared libraries by default" >&5
3890 echo "${ECHO_T}Disabling ELF shared libraries by default" >&6; }
3896 # Check whether --enable-bsd-shlibs was given.
3897 if test "${enable_bsd_shlibs+set}" = set; then
3898 enableval
=$enable_bsd_shlibs; if test "$enableval" = "no"
3901 MAKEFILE_BSDLIB
=/dev
/null
3902 { echo "$as_me:$LINENO: result: Disabling BSD shared libraries" >&5
3903 echo "${ECHO_T}Disabling BSD shared libraries" >&6; }
3905 E2_PKG_CONFIG_STATIC
=
3907 MAKEFILE_BSDLIB
=$srcdir/lib
/Makefile.bsd-lib
3911 MAKEFILE_BSDLIB
=$srcdir/lib
/Makefile.darwin-lib
3915 { echo "$as_me:$LINENO: result: Enabling BSD shared libraries" >&5
3916 echo "${ECHO_T}Enabling BSD shared libraries" >&6; }
3920 MAKEFILE_BSDLIB
=/dev
/null
3922 { echo "$as_me:$LINENO: result: Disabling BSD shared libraries by default" >&5
3923 echo "${ECHO_T}Disabling BSD shared libraries by default" >&6; }
3929 # Check whether --enable-profile was given.
3930 if test "${enable_profile+set}" = set; then
3931 enableval
=$enable_profile; if test "$enableval" = "no"
3934 MAKEFILE_PROFILE
=/dev
/null
3935 { echo "$as_me:$LINENO: result: Disabling profiling libraries" >&5
3936 echo "${ECHO_T}Disabling profiling libraries" >&6; }
3939 MAKEFILE_PROFILE
=$srcdir/lib
/Makefile.profile
3940 PROFILED_LIB_EXT
=_p.a
3941 { echo "$as_me:$LINENO: result: Building profiling libraries" >&5
3942 echo "${ECHO_T}Building profiling libraries" >&6; }
3947 MAKEFILE_PROFILE
=/dev
/null
3948 { echo "$as_me:$LINENO: result: Disabling profiling libraries by default" >&5
3949 echo "${ECHO_T}Disabling profiling libraries by default" >&6; }
3955 # Check whether --enable-checker was given.
3956 if test "${enable_checker+set}" = set; then
3957 enableval
=$enable_checker; if test "$enableval" = "no"
3960 MAKEFILE_CHECKER
=/dev
/null
3961 { echo "$as_me:$LINENO: result: Disabling checker libraries" >&5
3962 echo "${ECHO_T}Disabling checker libraries" >&6; }
3965 MAKEFILE_CHECKER
=$srcdir/lib
/Makefile.checker
3966 { echo "$as_me:$LINENO: result: Building checker libraries" >&5
3967 echo "${ECHO_T}Building checker libraries" >&6; }
3972 MAKEFILE_CHECKER
=/dev
/null
3973 { echo "$as_me:$LINENO: result: Disabling checker libraries by default" >&5
3974 echo "${ECHO_T}Disabling checker libraries by default" >&6; }
3985 # Check whether --enable-jbd-debug was given.
3986 if test "${enable_jbd_debug+set}" = set; then
3987 enableval
=$enable_jbd_debug; if test "$enableval" = "no"
3989 { echo "$as_me:$LINENO: result: Disabling journal debugging" >&5
3990 echo "${ECHO_T}Disabling journal debugging" >&6; }
3992 cat >>confdefs.h
<<\_ACEOF
3993 #define CONFIG_JBD_DEBUG 1
3996 { echo "$as_me:$LINENO: result: Enabling journal debugging" >&5
3997 echo "${ECHO_T}Enabling journal debugging" >&6; }
4001 { echo "$as_me:$LINENO: result: Disabling journal debugging by default" >&5
4002 echo "${ECHO_T}Disabling journal debugging by default" >&6; }
4006 # Check whether --enable-blkid-debug was given.
4007 if test "${enable_blkid_debug+set}" = set; then
4008 enableval
=$enable_blkid_debug; if test "$enableval" = "no"
4010 { echo "$as_me:$LINENO: result: Disabling blkid debugging" >&5
4011 echo "${ECHO_T}Disabling blkid debugging" >&6; }
4013 cat >>confdefs.h
<<\_ACEOF
4014 #define CONFIG_BLKID_DEBUG 1
4017 { echo "$as_me:$LINENO: result: Enabling blkid debugging" >&5
4018 echo "${ECHO_T}Enabling blkid debugging" >&6; }
4022 { echo "$as_me:$LINENO: result: Disabling blkid debugging by default" >&5
4023 echo "${ECHO_T}Disabling blkid debugging by default" >&6; }
4027 # Check whether --enable-testio-debug was given.
4028 if test "${enable_testio_debug+set}" = set; then
4029 enableval
=$enable_testio_debug; if test "$enableval" = "no"
4031 { echo "$as_me:$LINENO: result: Disabling testio debugging" >&5
4032 echo "${ECHO_T}Disabling testio debugging" >&6; }
4036 cat >>confdefs.h
<<\_ACEOF
4037 #define CONFIG_TESTIO_DEBUG 1
4040 { echo "$as_me:$LINENO: result: Enabling testio debugging" >&5
4041 echo "${ECHO_T}Enabling testio debugging" >&6; }
4045 { echo "$as_me:$LINENO: result: Enabling testio debugging by default" >&5
4046 echo "${ECHO_T}Enabling testio debugging by default" >&6; }
4047 cat >>confdefs.h
<<\_ACEOF
4048 #define CONFIG_TESTIO_DEBUG 1
4058 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4059 if test -n "$ac_tool_prefix"; then
4060 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4061 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
4062 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4064 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4065 echo $ECHO_N "(cached) $ECHO_C" >&6
4069 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
4072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4076 test -z "$as_dir" && as_dir
=.
4077 for ac_exec_ext
in '' $ac_executable_extensions; do
4078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4079 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4090 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
4091 if test -n "$PKG_CONFIG"; then
4092 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
4093 echo "${ECHO_T}$PKG_CONFIG" >&6; }
4095 { echo "$as_me:$LINENO: result: no" >&5
4096 echo "${ECHO_T}no" >&6; }
4101 if test -z "$ac_cv_path_PKG_CONFIG"; then
4102 ac_pt_PKG_CONFIG
=$PKG_CONFIG
4103 # Extract the first word of "pkg-config", so it can be a program name with args.
4104 set dummy pkg-config
; ac_word
=$2
4105 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4107 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
4108 echo $ECHO_N "(cached) $ECHO_C" >&6
4110 case $ac_pt_PKG_CONFIG in
4112 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4119 test -z "$as_dir" && as_dir
=.
4120 for ac_exec_ext
in '' $ac_executable_extensions; do
4121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4122 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4133 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
4134 if test -n "$ac_pt_PKG_CONFIG"; then
4135 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
4136 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
4138 { echo "$as_me:$LINENO: result: no" >&5
4139 echo "${ECHO_T}no" >&6; }
4142 if test "x$ac_pt_PKG_CONFIG" = x
; then
4145 case $cross_compiling:$ac_tool_warned in
4147 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4148 whose name does not start with the host triplet. If you think this
4149 configuration is useful to you, please write to autoconf@gnu.org." >&5
4150 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4151 whose name does not start with the host triplet. If you think this
4152 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4153 ac_tool_warned
=yes ;;
4155 PKG_CONFIG
=$ac_pt_PKG_CONFIG
4158 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
4162 if test -n "$PKG_CONFIG"; then
4163 _pkg_min_version
=0.9.0
4164 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
4165 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
4166 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4167 { echo "$as_me:$LINENO: result: yes" >&5
4168 echo "${ECHO_T}yes" >&6; }
4170 { echo "$as_me:$LINENO: result: no" >&5
4171 echo "${ECHO_T}no" >&6; }
4181 DEPPROFILED_LIBBLKID
=
4183 # Check whether --enable-libblkid was given.
4184 if test "${enable_libblkid+set}" = set; then
4185 enableval
=$enable_libblkid; if test "$enableval" = "no"
4187 if test -z "$PKG_CONFIG"; then
4188 { { echo "$as_me:$LINENO: error: pkg-config not installed; please install it." >&5
4189 echo "$as_me: error: pkg-config not installed; please install it." >&2;}
4190 { (exit 1); exit 1; }; }
4193 { echo "$as_me:$LINENO: checking for blkid_get_cache in -lblkid" >&5
4194 echo $ECHO_N "checking for blkid_get_cache in -lblkid... $ECHO_C" >&6; }
4195 if test "${ac_cv_lib_blkid_blkid_get_cache+set}" = set; then
4196 echo $ECHO_N "(cached) $ECHO_C" >&6
4198 ac_check_lib_save_LIBS
=$LIBS
4199 LIBS
="-lblkid $LIBBLKID $LIBS"
4200 cat >conftest.
$ac_ext <<_ACEOF
4203 cat confdefs.h
>>conftest.
$ac_ext
4204 cat >>conftest.
$ac_ext <<_ACEOF
4205 /* end confdefs.h. */
4207 /* Override any GCC internal prototype to avoid an error.
4208 Use char because int might match the return type of a GCC
4209 builtin and then its argument prototype would still apply. */
4213 char blkid_get_cache ();
4217 return blkid_get_cache ();
4222 rm -f conftest.
$ac_objext conftest
$ac_exeext
4223 if { (ac_try
="$ac_link"
4225 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4226 *) ac_try_echo=$ac_try;;
4228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4229 (eval "$ac_link") 2>conftest.er1
4231 grep -v '^ *+' conftest.er1 >conftest.err
4233 cat conftest.err >&5
4234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4235 (exit $ac_status); } && {
4236 test -z "$ac_c_werror_flag" ||
4237 test ! -s conftest.err
4238 } && test -s conftest$ac_exeext &&
4239 $as_test_x conftest$ac_exeext; then
4240 ac_cv_lib_blkid_blkid_get_cache=yes
4242 echo "$as_me: failed program was:" >&5
4243 sed 's/^/| /' conftest.$ac_ext >&5
4245 ac_cv_lib_blkid_blkid_get_cache=no
4248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4249 conftest$ac_exeext conftest.$ac_ext
4250 LIBS=$ac_check_lib_save_LIBS
4252 { echo "$as_me:$LINENO: result: $ac_cv_lib_blkid_blkid_get_cache" >&5
4253 echo "${ECHO_T}$ac_cv_lib_blkid_blkid_get_cache" >&6; }
4254 if test $ac_cv_lib_blkid_blkid_get_cache = yes; then
4255 LIBBLKID=`$PKG_CONFIG --libs blkid
`;
4256 STATIC_LIBBLKID=`$PKG_CONFIG --static --libs blkid
`
4258 { { echo "$as_me:$LINENO: error: external blkid library not found" >&5
4259 echo "$as_me: error: external blkid library not found" >&2;}
4260 { (exit 1); exit 1; }; }
4264 { echo "$as_me:$LINENO: result: Disabling private blkid library" >&5
4265 echo "${ECHO_T}Disabling private blkid library" >&6; }
4267 LIBBLKID='$(LIB)/libblkid'$LIB_EXT
4268 DEPLIBBLKID=$LIBBLKID
4269 STATIC_LIBBLKID='$(LIB)/libblkid'$STATIC_LIB_EXT
4270 DEPSTATIC_LIBBLKID=$STATIC_LIBBLKID
4271 PROFILED_LIBBLKID='$(LIB)/libblkid'$PROFILED_LIB_EXT
4272 DEPPROFILED_LIBBLKID=$PROFILED_LIBBLKID
4273 cat >>confdefs.h <<\_ACEOF
4274 #define CONFIG_BUILD_FINDFS 1
4277 { echo "$as_me:$LINENO: result: Enabling private blkid library" >&5
4278 echo "${ECHO_T}Enabling private blkid library" >&6; }
4282 LIBBLKID='$(LIB)/libblkid'$LIB_EXT
4283 DEPLIBBLKID=$LIBBLKID
4284 STATIC_LIBBLKID='$(LIB)/libblkid'$STATIC_LIB_EXT
4285 DEPSTATIC_LIBBLKID=$STATIC_LIBBLKID
4286 PROFILED_LIBBLKID='$(LIB)/libblkid'$PROFILED_LIB_EXT
4287 DEPPROFILED_LIBBLKID=$PROFILED_LIBBLKID
4288 cat >>confdefs.h <<\_ACEOF
4289 #define CONFIG_BUILD_FINDFS 1
4292 { echo "$as_me:$LINENO: result: Enabling private blkid library by default" >&5
4293 echo "${ECHO_T}Enabling private blkid library by default" >&6; }
4304 # Check whether --enable-debugfs was given.
4305 if test "${enable_debugfs+set}" = set; then
4306 enableval=$enable_debugfs; if test "$enableval" = "no"
4308 { echo "$as_me:$LINENO: result: Disabling debugfs support" >&5
4309 echo "${ECHO_T}Disabling debugfs support" >&6; }
4313 { echo "$as_me:$LINENO: result: Enabling debugfs support" >&5
4314 echo "${ECHO_T}Enabling debugfs support" >&6; }
4318 { echo "$as_me:$LINENO: result: Enabling debugfs support by default" >&5
4319 echo "${ECHO_T}Enabling debugfs support by default" >&6; }
4325 # Check whether --enable-imager was given.
4326 if test "${enable_imager+set}" = set; then
4327 enableval=$enable_imager; if test "$enableval" = "no"
4329 { echo "$as_me:$LINENO: result: Disabling e2image support" >&5
4330 echo "${ECHO_T}Disabling e2image support" >&6; }
4334 { echo "$as_me:$LINENO: result: Enabling e2image support" >&5
4335 echo "${ECHO_T}Enabling e2image support" >&6; }
4339 { echo "$as_me:$LINENO: result: Enabling e2image support by default" >&5
4340 echo "${ECHO_T}Enabling e2image support by default" >&6; }
4346 # Check whether --enable-resizer was given.
4347 if test "${enable_resizer+set}" = set; then
4348 enableval=$enable_resizer; if test "$enableval" = "no"
4350 { echo "$as_me:$LINENO: result: Disabling e2resize support" >&5
4351 echo "${ECHO_T}Disabling e2resize support" >&6; }
4355 { echo "$as_me:$LINENO: result: Enabling e2resize support" >&5
4356 echo "${ECHO_T}Enabling e2resize support" >&6; }
4360 { echo "$as_me:$LINENO: result: Enabling e2resize support by default" >&5
4361 echo "${ECHO_T}Enabling e2resize support by default" >&6; }
4367 # Check whether --enable-fsck was given.
4368 if test "${enable_fsck+set}" = set; then
4369 enableval=$enable_fsck; if test "$enableval" = "no"
4371 FSCK_PROG='' FSCK_MAN=''
4372 { echo "$as_me:$LINENO: result: Not building fsck wrapper" >&5
4373 echo "${ECHO_T}Not building fsck wrapper" >&6; }
4375 FSCK_PROG=fsck FSCK_MAN=fsck.8
4376 { echo "$as_me:$LINENO: result: Building fsck wrapper" >&5
4377 echo "${ECHO_T}Building fsck wrapper" >&6; }
4383 FSCK_PROG='' FSCK_MAN=''
4384 { echo "$as_me:$LINENO: result: Not building fsck wrapper by default" >&5
4385 echo "${ECHO_T}Not building fsck wrapper by default" >&6; }
4388 FSCK_PROG=fsck FSCK_MAN=fsck.8
4389 { echo "$as_me:$LINENO: result: Building fsck wrapper by default" >&5
4390 echo "${ECHO_T}Building fsck wrapper by default" >&6; }
4397 # Check whether --enable-e2initrd-helper was given.
4398 if test "${enable_e2initrd_helper+set}" = set; then
4399 enableval=$enable_e2initrd_helper; if test "$enableval" = "no"
4401 E2INITRD_PROG='' E2INITRD_MAN=''
4402 { echo "$as_me:$LINENO: result: Not building e2initrd helper" >&5
4403 echo "${ECHO_T}Not building e2initrd helper" >&6; }
4405 E2INITRD_PROG=e2initrd_helper E2INITRD_MAN=e2initrd_helper.8
4406 { echo "$as_me:$LINENO: result: Building e2initrd helper" >&5
4407 echo "${ECHO_T}Building e2initrd helper" >&6; }
4411 E2INITRD_PROG=e2initrd_helper E2INITRD_MAN=e2initrd_helper.8
4412 { echo "$as_me:$LINENO: result: Building e2initrd helper by default" >&5
4413 echo "${ECHO_T}Building e2initrd helper by default" >&6; }
4419 # Check whether --enable-tls was given.
4420 if test "${enable_tls+set}" = set; then
4421 enableval=$enable_tls; if test "$enableval" = "no"
4424 { echo "$as_me:$LINENO: result: Disabling thread local support" >&5
4425 echo "${ECHO_T}Disabling thread local support" >&6; }
4428 { echo "$as_me:$LINENO: result: Enabling thread local support" >&5
4429 echo "${ECHO_T}Enabling thread local support" >&6; }
4433 if test -n "$WITH_DIET_LIBC"
4436 { echo "$as_me:$LINENO: result: Diet libc does not support thread local support" >&5
4437 echo "${ECHO_T}Diet libc does not support thread local support" >&6; }
4440 { echo "$as_me:$LINENO: result: Try using thread local support by default" >&5
4441 echo "${ECHO_T}Try using thread local support by default" >&6; }
4446 if test "$try_tls" = "yes"
4449 { echo "$as_me:$LINENO: checking for thread local storage (TLS) class" >&5
4450 echo $ECHO_N "checking for thread local storage (TLS) class... $ECHO_C" >&6; }
4451 if test "${ac_cv_tls+set}" = set; then
4452 echo $ECHO_N "(cached) $ECHO_C" >&6
4455 ax_tls_keywords="__thread __declspec(thread) none"
4456 for ax_tls_keyword in $ax_tls_keywords; do
4457 case $ax_tls_keyword in
4458 none) ac_cv_tls=none ; break ;;
4460 cat >conftest.$ac_ext <<_ACEOF
4463 cat confdefs.h >>conftest.$ac_ext
4464 cat >>conftest.$ac_ext <<_ACEOF
4465 /* end confdefs.h. */
4469 static $ax_tls_keyword int bar;
4480 rm -f conftest.$ac_objext
4481 if { (ac_try="$ac_compile"
4483 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4484 *) ac_try_echo
=$ac_try;;
4486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4487 (eval "$ac_compile") 2>conftest.er1
4489 grep -v '^ *+' conftest.er1
>conftest.err
4491 cat conftest.err
>&5
4492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4493 (exit $ac_status); } && {
4494 test -z "$ac_c_werror_flag" ||
4495 test ! -s conftest.err
4496 } && test -s conftest.
$ac_objext; then
4497 ac_cv_tls
=$ax_tls_keyword ; break
4499 echo "$as_me: failed program was:" >&5
4500 sed 's/^/| /' conftest.
$ac_ext >&5
4506 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4513 if test "$ac_cv_tls" != "none"; then
4515 cat >>confdefs.h
<<_ACEOF
4516 #define TLS $ac_cv_tls
4520 { echo "$as_me:$LINENO: result: $ac_cv_tls" >&5
4521 echo "${ECHO_T}$ac_cv_tls" >&6; }
4524 # Check whether --enable-uuidd was given.
4525 if test "${enable_uuidd+set}" = set; then
4526 enableval
=$enable_uuidd; if test "$enableval" = "no"
4528 { echo "$as_me:$LINENO: result: Not building uuidd" >&5
4529 echo "${ECHO_T}Not building uuidd" >&6; }
4532 cat >>confdefs.h
<<\_ACEOF
4537 { echo "$as_me:$LINENO: result: Building uuidd" >&5
4538 echo "${ECHO_T}Building uuidd" >&6; }
4542 cat >>confdefs.h
<<\_ACEOF
4547 { echo "$as_me:$LINENO: result: Building uuidd by default" >&5
4548 echo "${ECHO_T}Building uuidd by default" >&6; }
4553 MAKEFILE_LIBRARY
=$srcdir/lib
/Makefile.library
4555 GETTEXT_PACKAGE
=e2fsprogs
4557 VERSION
="$E2FSPROGS_VERSION"
4559 cat >>confdefs.h
<<_ACEOF
4560 #define PACKAGE "$PACKAGE"
4563 cat >>confdefs.h
<<_ACEOF
4564 #define VERSION "$VERSION"
4571 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4572 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
4573 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4574 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
4575 echo $ECHO_N "(cached) $ECHO_C" >&6
4577 cat >conftest.
make <<\_ACEOF
4580 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4582 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4583 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4585 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4587 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4591 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4592 { echo "$as_me:$LINENO: result: yes" >&5
4593 echo "${ECHO_T}yes" >&6; }
4596 { echo "$as_me:$LINENO: result: no" >&5
4597 echo "${ECHO_T}no" >&6; }
4598 SET_MAKE
="MAKE=${MAKE-make}"
4601 # Find a good install program. We prefer a C program (faster),
4602 # so one script is as good as another. But avoid the broken or
4603 # incompatible versions:
4604 # SysV /etc/install, /usr/sbin/install
4605 # SunOS /usr/etc/install
4606 # IRIX /sbin/install
4608 # AmigaOS /C/install, which installs bootblocks on floppy discs
4609 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4610 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4611 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4612 # OS/2's system install, which has a completely different semantic
4613 # ./install, which can be erroneously created by make from ./install.sh.
4614 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4615 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4616 if test -z "$INSTALL"; then
4617 if test "${ac_cv_path_install+set}" = set; then
4618 echo $ECHO_N "(cached) $ECHO_C" >&6
4620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4624 test -z "$as_dir" && as_dir
=.
4625 # Account for people who put trailing slashes in PATH elements.
4627 .
/ | .
// |
/cC
/* | \
4628 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4629 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4632 # OSF1 and SCO ODT 3.0 have their own names for install.
4633 # Don't use installbsd from OSF since it installs stuff as root
4635 for ac_prog
in ginstall scoinst
install; do
4636 for ac_exec_ext
in '' $ac_executable_extensions; do
4637 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4638 if test $ac_prog = install &&
4639 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4640 # AIX install. It has an incompatible calling convention.
4642 elif test $ac_prog = install &&
4643 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4644 # program-specific install script used by HP pwplus--don't use.
4647 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4660 if test "${ac_cv_path_install+set}" = set; then
4661 INSTALL
=$ac_cv_path_install
4663 # As a last resort, use the slow shell script. Don't cache a
4664 # value for INSTALL within a source directory, because that will
4665 # break other packages using the cache if that directory is
4666 # removed, or if the value is a relative name.
4667 INSTALL
=$ac_install_sh
4670 { echo "$as_me:$LINENO: result: $INSTALL" >&5
4671 echo "${ECHO_T}$INSTALL" >&6; }
4673 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4674 # It thinks the first close brace ends the variable substitution.
4675 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4677 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4679 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4683 if test -n "$ac_aux_dir"; then
4684 case "$ac_aux_dir" in
4685 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
4686 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
4689 if test -z "$MKINSTALLDIRS"; then
4690 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
4695 { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
4696 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
4697 # Check whether --enable-nls was given.
4698 if test "${enable_nls+set}" = set; then
4699 enableval
=$enable_nls; USE_NLS
=$enableval
4704 { echo "$as_me:$LINENO: result: $USE_NLS" >&5
4705 echo "${ECHO_T}$USE_NLS" >&6; }
4712 # Prepare PATH_SEPARATOR.
4713 # The user is always right.
4714 if test "${PATH_SEPARATOR+set}" != set; then
4715 echo "#! /bin/sh" >conf$$.sh
4716 echo "exit 0" >>conf$$.sh
4718 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4726 # Find out how to test for executable files. Don't use a zero-byte file,
4727 # as systems may use methods other than mode bits to determine executability.
4728 cat >conf$$.
file <<_ASEOF
4732 chmod +x conf$$.
file
4733 if test -x conf$$.
file >/dev
/null
2>&1; then
4734 ac_executable_p
="test -x"
4736 ac_executable_p
="test -f"
4740 # Extract the first word of "msgfmt", so it can be a program name with args.
4741 set dummy msgfmt
; ac_word
=$2
4742 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4744 if test "${ac_cv_path_MSGFMT+set}" = set; then
4745 echo $ECHO_N "(cached) $ECHO_C" >&6
4749 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
4752 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
4753 for ac_dir
in $PATH; do
4755 test -z "$ac_dir" && ac_dir
=.
4756 for ac_exec_ext
in '' $ac_executable_extensions; do
4757 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4758 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
4759 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
4760 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
4767 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
4771 MSGFMT
="$ac_cv_path_MSGFMT"
4772 if test "$MSGFMT" != ":"; then
4773 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
4774 echo "${ECHO_T}$MSGFMT" >&6; }
4776 { echo "$as_me:$LINENO: result: no" >&5
4777 echo "${ECHO_T}no" >&6; }
4780 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4781 set dummy gmsgfmt
; ac_word
=$2
4782 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4784 if test "${ac_cv_path_GMSGFMT+set}" = set; then
4785 echo $ECHO_N "(cached) $ECHO_C" >&6
4789 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
4792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4796 test -z "$as_dir" && as_dir
=.
4797 for ac_exec_ext
in '' $ac_executable_extensions; do
4798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4799 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
4800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4807 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
4811 GMSGFMT
=$ac_cv_path_GMSGFMT
4812 if test -n "$GMSGFMT"; then
4813 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
4814 echo "${ECHO_T}$GMSGFMT" >&6; }
4816 { echo "$as_me:$LINENO: result: no" >&5
4817 echo "${ECHO_T}no" >&6; }
4823 # Prepare PATH_SEPARATOR.
4824 # The user is always right.
4825 if test "${PATH_SEPARATOR+set}" != set; then
4826 echo "#! /bin/sh" >conf$$.sh
4827 echo "exit 0" >>conf$$.sh
4829 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4837 # Find out how to test for executable files. Don't use a zero-byte file,
4838 # as systems may use methods other than mode bits to determine executability.
4839 cat >conf$$.
file <<_ASEOF
4843 chmod +x conf$$.
file
4844 if test -x conf$$.
file >/dev
/null
2>&1; then
4845 ac_executable_p
="test -x"
4847 ac_executable_p
="test -f"
4851 # Extract the first word of "xgettext", so it can be a program name with args.
4852 set dummy xgettext
; ac_word
=$2
4853 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4855 if test "${ac_cv_path_XGETTEXT+set}" = set; then
4856 echo $ECHO_N "(cached) $ECHO_C" >&6
4860 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
4863 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
4864 for ac_dir
in $PATH; do
4866 test -z "$ac_dir" && ac_dir
=.
4867 for ac_exec_ext
in '' $ac_executable_extensions; do
4868 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4869 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
4870 (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
4871 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
4878 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
4882 XGETTEXT
="$ac_cv_path_XGETTEXT"
4883 if test "$XGETTEXT" != ":"; then
4884 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
4885 echo "${ECHO_T}$XGETTEXT" >&6; }
4887 { echo "$as_me:$LINENO: result: no" >&5
4888 echo "${ECHO_T}no" >&6; }
4894 # Prepare PATH_SEPARATOR.
4895 # The user is always right.
4896 if test "${PATH_SEPARATOR+set}" != set; then
4897 echo "#! /bin/sh" >conf$$.sh
4898 echo "exit 0" >>conf$$.sh
4900 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4908 # Find out how to test for executable files. Don't use a zero-byte file,
4909 # as systems may use methods other than mode bits to determine executability.
4910 cat >conf$$.
file <<_ASEOF
4914 chmod +x conf$$.
file
4915 if test -x conf$$.
file >/dev
/null
2>&1; then
4916 ac_executable_p
="test -x"
4918 ac_executable_p
="test -f"
4922 # Extract the first word of "msgmerge", so it can be a program name with args.
4923 set dummy msgmerge
; ac_word
=$2
4924 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4926 if test "${ac_cv_path_MSGMERGE+set}" = set; then
4927 echo $ECHO_N "(cached) $ECHO_C" >&6
4931 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
4934 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
4935 for ac_dir
in $PATH; do
4937 test -z "$ac_dir" && ac_dir
=.
4938 for ac_exec_ext
in '' $ac_executable_extensions; do
4939 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4940 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
4941 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
4948 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
4952 MSGMERGE
="$ac_cv_path_MSGMERGE"
4953 if test "$MSGMERGE" != ":"; then
4954 { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
4955 echo "${ECHO_T}$MSGMERGE" >&6; }
4957 { echo "$as_me:$LINENO: result: no" >&5
4958 echo "${ECHO_T}no" >&6; }
4962 if test "$GMSGFMT" != ":"; then
4963 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
4964 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
4967 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
4968 { echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
4969 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
4974 if test "$XGETTEXT" != ":"; then
4975 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
4976 (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
4979 { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
4980 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
4986 ac_config_commands
="$ac_config_commands default-1"
4989 if test -n "$ac_tool_prefix"; then
4990 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4991 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4994 if test "${ac_cv_prog_RANLIB+set}" = set; then
4995 echo $ECHO_N "(cached) $ECHO_C" >&6
4997 if test -n "$RANLIB"; then
4998 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5004 test -z "$as_dir" && as_dir
=.
5005 for ac_exec_ext
in '' $ac_executable_extensions; do
5006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5007 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5017 RANLIB
=$ac_cv_prog_RANLIB
5018 if test -n "$RANLIB"; then
5019 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5020 echo "${ECHO_T}$RANLIB" >&6; }
5022 { echo "$as_me:$LINENO: result: no" >&5
5023 echo "${ECHO_T}no" >&6; }
5028 if test -z "$ac_cv_prog_RANLIB"; then
5029 ac_ct_RANLIB
=$RANLIB
5030 # Extract the first word of "ranlib", so it can be a program name with args.
5031 set dummy ranlib
; ac_word
=$2
5032 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5034 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5035 echo $ECHO_N "(cached) $ECHO_C" >&6
5037 if test -n "$ac_ct_RANLIB"; then
5038 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5044 test -z "$as_dir" && as_dir
=.
5045 for ac_exec_ext
in '' $ac_executable_extensions; do
5046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5047 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5057 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5058 if test -n "$ac_ct_RANLIB"; then
5059 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5060 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5062 { echo "$as_me:$LINENO: result: no" >&5
5063 echo "${ECHO_T}no" >&6; }
5066 if test "x$ac_ct_RANLIB" = x
; then
5069 case $cross_compiling:$ac_tool_warned in
5071 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5072 whose name does not start with the host triplet. If you think this
5073 configuration is useful to you, please write to autoconf@gnu.org." >&5
5074 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5075 whose name does not start with the host triplet. If you think this
5076 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5077 ac_tool_warned
=yes ;;
5079 RANLIB
=$ac_ct_RANLIB
5082 RANLIB
="$ac_cv_prog_RANLIB"
5086 { echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
5087 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6; }
5088 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
5089 echo $ECHO_N "(cached) $ECHO_C" >&6
5091 ac_check_lib_save_LIBS
=$LIBS
5092 LIBS
="-lcposix $LIBS"
5093 cat >conftest.
$ac_ext <<_ACEOF
5096 cat confdefs.h
>>conftest.
$ac_ext
5097 cat >>conftest.
$ac_ext <<_ACEOF
5098 /* end confdefs.h. */
5100 /* Override any GCC internal prototype to avoid an error.
5101 Use char because int might match the return type of a GCC
5102 builtin and then its argument prototype would still apply. */
5115 rm -f conftest.
$ac_objext conftest
$ac_exeext
5116 if { (ac_try
="$ac_link"
5118 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5119 *) ac_try_echo=$ac_try;;
5121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5122 (eval "$ac_link") 2>conftest.er1
5124 grep -v '^ *+' conftest.er1 >conftest.err
5126 cat conftest.err >&5
5127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5128 (exit $ac_status); } && {
5129 test -z "$ac_c_werror_flag" ||
5130 test ! -s conftest.err
5131 } && test -s conftest$ac_exeext &&
5132 $as_test_x conftest$ac_exeext; then
5133 ac_cv_lib_cposix_strerror=yes
5135 echo "$as_me: failed program was:" >&5
5136 sed 's/^/| /' conftest.$ac_ext >&5
5138 ac_cv_lib_cposix_strerror=no
5141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5142 conftest$ac_exeext conftest.$ac_ext
5143 LIBS=$ac_check_lib_save_LIBS
5145 { echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
5146 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6; }
5147 if test $ac_cv_lib_cposix_strerror = yes; then
5148 LIBS="$LIBS -lcposix"
5153 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5154 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
5155 if test "${ac_cv_c_const+set}" = set; then
5156 echo $ECHO_N "(cached) $ECHO_C" >&6
5158 cat >conftest.$ac_ext <<_ACEOF
5161 cat confdefs.h >>conftest.$ac_ext
5162 cat >>conftest.$ac_ext <<_ACEOF
5163 /* end confdefs.h. */
5168 /* FIXME: Include the comments suggested by Paul. */
5170 /* Ultrix mips cc rejects this. */
5171 typedef int charset[2];
5173 /* SunOS 4.1.1 cc rejects this. */
5174 char const *const *pcpcc;
5176 /* NEC SVR4.0.2 mips cc rejects this. */
5177 struct point {int x, y;};
5178 static struct point const zero = {0,0};
5179 /* AIX XL C 1.02.0.0 rejects this.
5180 It does not let you subtract one const X* pointer from another in
5181 an arm of an if-expression whose if-part is not a constant
5183 const char *g = "string";
5184 pcpcc = &g + (g ? g-g : 0);
5185 /* HPUX 7.0 cc rejects these. */
5187 ppc = (char**) pcpcc;
5188 pcpcc = (char const *const *) ppc;
5189 { /* SCO 3.2v4 cc rejects this. */
5191 char const *s = 0 ? (char *) 0 : (char const *) 0;
5196 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5198 const int *foo = &x[0];
5201 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5202 typedef const int *iptr;
5206 { /* AIX XL C 1.02.0.0 rejects this saying
5207 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5208 struct s { int j; const int *ap[3]; };
5209 struct s *b; b->j = 5;
5211 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5215 return !cs[0] && !zero.x;
5222 rm -f conftest.$ac_objext
5223 if { (ac_try="$ac_compile"
5225 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5226 *) ac_try_echo
=$ac_try;;
5228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5229 (eval "$ac_compile") 2>conftest.er1
5231 grep -v '^ *+' conftest.er1
>conftest.err
5233 cat conftest.err
>&5
5234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5235 (exit $ac_status); } && {
5236 test -z "$ac_c_werror_flag" ||
5237 test ! -s conftest.err
5238 } && test -s conftest.
$ac_objext; then
5241 echo "$as_me: failed program was:" >&5
5242 sed 's/^/| /' conftest.
$ac_ext >&5
5247 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5249 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5250 echo "${ECHO_T}$ac_cv_c_const" >&6; }
5251 if test $ac_cv_c_const = no
; then
5253 cat >>confdefs.h
<<\_ACEOF
5260 { echo "$as_me:$LINENO: checking for signed" >&5
5261 echo $ECHO_N "checking for signed... $ECHO_C" >&6; }
5262 if test "${bh_cv_c_signed+set}" = set; then
5263 echo $ECHO_N "(cached) $ECHO_C" >&6
5265 cat >conftest.
$ac_ext <<_ACEOF
5268 cat confdefs.h
>>conftest.
$ac_ext
5269 cat >>conftest.
$ac_ext <<_ACEOF
5270 /* end confdefs.h. */
5280 rm -f conftest.
$ac_objext
5281 if { (ac_try
="$ac_compile"
5283 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5284 *) ac_try_echo=$ac_try;;
5286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5287 (eval "$ac_compile") 2>conftest.er1
5289 grep -v '^ *+' conftest.er1 >conftest.err
5291 cat conftest.err >&5
5292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5293 (exit $ac_status); } && {
5294 test -z "$ac_c_werror_flag" ||
5295 test ! -s conftest.err
5296 } && test -s conftest.$ac_objext; then
5299 echo "$as_me: failed program was:" >&5
5300 sed 's/^/| /' conftest.$ac_ext >&5
5305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5307 { echo "$as_me:$LINENO: result: $bh_cv_c_signed" >&5
5308 echo "${ECHO_T}$bh_cv_c_signed" >&6; }
5309 if test $bh_cv_c_signed = no; then
5311 cat >>confdefs.h <<\_ACEOF
5317 { echo "$as_me:$LINENO: checking for inline" >&5
5318 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
5319 if test "${ac_cv_c_inline+set}" = set; then
5320 echo $ECHO_N "(cached) $ECHO_C" >&6
5323 for ac_kw in inline __inline__ __inline; do
5324 cat >conftest.$ac_ext <<_ACEOF
5327 cat confdefs.h >>conftest.$ac_ext
5328 cat >>conftest.$ac_ext <<_ACEOF
5329 /* end confdefs.h. */
5332 static $ac_kw foo_t static_foo () {return 0; }
5333 $ac_kw foo_t foo () {return 0; }
5337 rm -f conftest.$ac_objext
5338 if { (ac_try="$ac_compile"
5340 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5341 *) ac_try_echo
=$ac_try;;
5343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5344 (eval "$ac_compile") 2>conftest.er1
5346 grep -v '^ *+' conftest.er1
>conftest.err
5348 cat conftest.err
>&5
5349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5350 (exit $ac_status); } && {
5351 test -z "$ac_c_werror_flag" ||
5352 test ! -s conftest.err
5353 } && test -s conftest.
$ac_objext; then
5354 ac_cv_c_inline
=$ac_kw
5356 echo "$as_me: failed program was:" >&5
5357 sed 's/^/| /' conftest.
$ac_ext >&5
5362 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5363 test "$ac_cv_c_inline" != no
&& break
5367 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5368 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
5371 case $ac_cv_c_inline in
5374 case $ac_cv_c_inline in
5376 *) ac_val
=$ac_cv_c_inline;;
5378 cat >>confdefs.h
<<_ACEOF
5380 #define inline $ac_val
5386 { echo "$as_me:$LINENO: checking for off_t" >&5
5387 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
5388 if test "${ac_cv_type_off_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 off_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_off_t=yes
5429 echo "$as_me: failed program was:" >&5
5430 sed 's/^/| /' conftest.$ac_ext >&5
5435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5437 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5438 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
5439 if test $ac_cv_type_off_t = yes; then
5443 cat >>confdefs.h <<_ACEOF
5444 #define off_t long int
5449 { echo "$as_me:$LINENO: checking for size_t" >&5
5450 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
5451 if test "${ac_cv_type_size_t+set}" = set; then
5452 echo $ECHO_N "(cached) $ECHO_C" >&6
5454 cat >conftest.$ac_ext <<_ACEOF
5457 cat confdefs.h >>conftest.$ac_ext
5458 cat >>conftest.$ac_ext <<_ACEOF
5459 /* end confdefs.h. */
5460 $ac_includes_default
5461 typedef size_t ac__type_new_;
5465 if ((ac__type_new_ *) 0)
5467 if (sizeof (ac__type_new_))
5473 rm -f conftest.$ac_objext
5474 if { (ac_try="$ac_compile"
5476 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5477 *) ac_try_echo
=$ac_try;;
5479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5480 (eval "$ac_compile") 2>conftest.er1
5482 grep -v '^ *+' conftest.er1
>conftest.err
5484 cat conftest.err
>&5
5485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5486 (exit $ac_status); } && {
5487 test -z "$ac_c_werror_flag" ||
5488 test ! -s conftest.err
5489 } && test -s conftest.
$ac_objext; then
5490 ac_cv_type_size_t
=yes
5492 echo "$as_me: failed program was:" >&5
5493 sed 's/^/| /' conftest.
$ac_ext >&5
5495 ac_cv_type_size_t
=no
5498 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5500 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5501 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
5502 if test $ac_cv_type_size_t = yes; then
5506 cat >>confdefs.h
<<_ACEOF
5507 #define size_t unsigned int
5513 { echo "$as_me:$LINENO: checking for long long" >&5
5514 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
5515 if test "${ac_cv_type_long_long+set}" = set; then
5516 echo $ECHO_N "(cached) $ECHO_C" >&6
5518 cat >conftest.
$ac_ext <<_ACEOF
5521 cat confdefs.h
>>conftest.
$ac_ext
5522 cat >>conftest.
$ac_ext <<_ACEOF
5523 /* end confdefs.h. */
5524 long long ll = 1LL; int i = 63;
5528 long long llmax = (long long) -1;
5529 return ll << i | ll >> i | llmax / ll | llmax % ll;
5534 rm -f conftest.
$ac_objext conftest
$ac_exeext
5535 if { (ac_try
="$ac_link"
5537 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5538 *) ac_try_echo=$ac_try;;
5540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5541 (eval "$ac_link") 2>conftest.er1
5543 grep -v '^ *+' conftest.er1 >conftest.err
5545 cat conftest.err >&5
5546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5547 (exit $ac_status); } && {
5548 test -z "$ac_c_werror_flag" ||
5549 test ! -s conftest.err
5550 } && test -s conftest$ac_exeext &&
5551 $as_test_x conftest$ac_exeext; then
5552 ac_cv_type_long_long=yes
5554 echo "$as_me: failed program was:" >&5
5555 sed 's/^/| /' conftest.$ac_ext >&5
5557 ac_cv_type_long_long=no
5560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5561 conftest$ac_exeext conftest.$ac_ext
5563 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
5564 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
5565 if test $ac_cv_type_long_long = yes; then
5567 cat >>confdefs.h <<\_ACEOF
5568 #define HAVE_LONG_LONG 1
5574 { echo "$as_me:$LINENO: checking for long double" >&5
5575 echo $ECHO_N "checking for long double... $ECHO_C" >&6; }
5576 if test "${gt_cv_c_long_double+set}" = set; then
5577 echo $ECHO_N "(cached) $ECHO_C" >&6
5579 if test "$GCC" = yes; then
5580 gt_cv_c_long_double=yes
5582 cat >conftest.$ac_ext <<_ACEOF
5585 cat confdefs.h >>conftest.$ac_ext
5586 cat >>conftest.$ac_ext <<_ACEOF
5587 /* end confdefs.h. */
5589 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
5590 long double foo = 0.0;
5591 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
5592 int array [2*(sizeof(long double) >= sizeof(double)) - 1];
5602 rm -f conftest.$ac_objext
5603 if { (ac_try="$ac_compile"
5605 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5606 *) ac_try_echo
=$ac_try;;
5608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5609 (eval "$ac_compile") 2>conftest.er1
5611 grep -v '^ *+' conftest.er1
>conftest.err
5613 cat conftest.err
>&5
5614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5615 (exit $ac_status); } && {
5616 test -z "$ac_c_werror_flag" ||
5617 test ! -s conftest.err
5618 } && test -s conftest.
$ac_objext; then
5619 gt_cv_c_long_double
=yes
5621 echo "$as_me: failed program was:" >&5
5622 sed 's/^/| /' conftest.
$ac_ext >&5
5624 gt_cv_c_long_double
=no
5627 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5630 { echo "$as_me:$LINENO: result: $gt_cv_c_long_double" >&5
5631 echo "${ECHO_T}$gt_cv_c_long_double" >&6; }
5632 if test $gt_cv_c_long_double = yes; then
5634 cat >>confdefs.h
<<\_ACEOF
5635 #define HAVE_LONG_DOUBLE 1
5641 { echo "$as_me:$LINENO: checking for wchar_t" >&5
5642 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
5643 if test "${gt_cv_c_wchar_t+set}" = set; then
5644 echo $ECHO_N "(cached) $ECHO_C" >&6
5646 cat >conftest.
$ac_ext <<_ACEOF
5649 cat confdefs.h
>>conftest.
$ac_ext
5650 cat >>conftest.
$ac_ext <<_ACEOF
5651 /* end confdefs.h. */
5653 wchar_t foo = (wchar_t)'\0';
5662 rm -f conftest.
$ac_objext
5663 if { (ac_try
="$ac_compile"
5665 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5666 *) ac_try_echo=$ac_try;;
5668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5669 (eval "$ac_compile") 2>conftest.er1
5671 grep -v '^ *+' conftest.er1 >conftest.err
5673 cat conftest.err >&5
5674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5675 (exit $ac_status); } && {
5676 test -z "$ac_c_werror_flag" ||
5677 test ! -s conftest.err
5678 } && test -s conftest.$ac_objext; then
5681 echo "$as_me: failed program was:" >&5
5682 sed 's/^/| /' conftest.$ac_ext >&5
5687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5689 { echo "$as_me:$LINENO: result: $gt_cv_c_wchar_t" >&5
5690 echo "${ECHO_T}$gt_cv_c_wchar_t" >&6; }
5691 if test $gt_cv_c_wchar_t = yes; then
5693 cat >>confdefs.h <<\_ACEOF
5694 #define HAVE_WCHAR_T 1
5700 { echo "$as_me:$LINENO: checking for wint_t" >&5
5701 echo $ECHO_N "checking for wint_t... $ECHO_C" >&6; }
5702 if test "${gt_cv_c_wint_t+set}" = set; then
5703 echo $ECHO_N "(cached) $ECHO_C" >&6
5705 cat >conftest.$ac_ext <<_ACEOF
5708 cat confdefs.h >>conftest.$ac_ext
5709 cat >>conftest.$ac_ext <<_ACEOF
5710 /* end confdefs.h. */
5712 wint_t foo = (wchar_t)'\0';
5721 rm -f conftest.$ac_objext
5722 if { (ac_try="$ac_compile"
5724 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5725 *) ac_try_echo
=$ac_try;;
5727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5728 (eval "$ac_compile") 2>conftest.er1
5730 grep -v '^ *+' conftest.er1
>conftest.err
5732 cat conftest.err
>&5
5733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5734 (exit $ac_status); } && {
5735 test -z "$ac_c_werror_flag" ||
5736 test ! -s conftest.err
5737 } && test -s conftest.
$ac_objext; then
5740 echo "$as_me: failed program was:" >&5
5741 sed 's/^/| /' conftest.
$ac_ext >&5
5746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5748 { echo "$as_me:$LINENO: result: $gt_cv_c_wint_t" >&5
5749 echo "${ECHO_T}$gt_cv_c_wint_t" >&6; }
5750 if test $gt_cv_c_wint_t = yes; then
5752 cat >>confdefs.h
<<\_ACEOF
5753 #define HAVE_WINT_T 1
5759 { echo "$as_me:$LINENO: checking for inttypes.h" >&5
5760 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6; }
5761 if test "${jm_ac_cv_header_inttypes_h+set}" = set; then
5762 echo $ECHO_N "(cached) $ECHO_C" >&6
5764 cat >conftest.
$ac_ext <<_ACEOF
5767 cat confdefs.h
>>conftest.
$ac_ext
5768 cat >>conftest.
$ac_ext <<_ACEOF
5769 /* end confdefs.h. */
5770 #include <sys/types.h>
5771 #include <inttypes.h>
5775 uintmax_t i = (uintmax_t) -1;
5780 rm -f conftest.
$ac_objext
5781 if { (ac_try
="$ac_compile"
5783 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5784 *) ac_try_echo=$ac_try;;
5786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5787 (eval "$ac_compile") 2>conftest.er1
5789 grep -v '^ *+' conftest.er1 >conftest.err
5791 cat conftest.err >&5
5792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5793 (exit $ac_status); } && {
5794 test -z "$ac_c_werror_flag" ||
5795 test ! -s conftest.err
5796 } && test -s conftest.$ac_objext; then
5797 jm_ac_cv_header_inttypes_h=yes
5799 echo "$as_me: failed program was:" >&5
5800 sed 's/^/| /' conftest.$ac_ext >&5
5802 jm_ac_cv_header_inttypes_h=no
5805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5807 { echo "$as_me:$LINENO: result: $jm_ac_cv_header_inttypes_h" >&5
5808 echo "${ECHO_T}$jm_ac_cv_header_inttypes_h" >&6; }
5809 if test $jm_ac_cv_header_inttypes_h = yes; then
5811 cat >>confdefs.h <<_ACEOF
5812 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
5818 { echo "$as_me:$LINENO: checking for stdint.h" >&5
5819 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; }
5820 if test "${jm_ac_cv_header_stdint_h+set}" = set; then
5821 echo $ECHO_N "(cached) $ECHO_C" >&6
5823 cat >conftest.$ac_ext <<_ACEOF
5826 cat confdefs.h >>conftest.$ac_ext
5827 cat >>conftest.$ac_ext <<_ACEOF
5828 /* end confdefs.h. */
5829 #include <sys/types.h>
5834 uintmax_t i = (uintmax_t) -1;
5839 rm -f conftest.$ac_objext
5840 if { (ac_try="$ac_compile"
5842 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5843 *) ac_try_echo
=$ac_try;;
5845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5846 (eval "$ac_compile") 2>conftest.er1
5848 grep -v '^ *+' conftest.er1
>conftest.err
5850 cat conftest.err
>&5
5851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5852 (exit $ac_status); } && {
5853 test -z "$ac_c_werror_flag" ||
5854 test ! -s conftest.err
5855 } && test -s conftest.
$ac_objext; then
5856 jm_ac_cv_header_stdint_h
=yes
5858 echo "$as_me: failed program was:" >&5
5859 sed 's/^/| /' conftest.
$ac_ext >&5
5861 jm_ac_cv_header_stdint_h
=no
5864 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5866 { echo "$as_me:$LINENO: result: $jm_ac_cv_header_stdint_h" >&5
5867 echo "${ECHO_T}$jm_ac_cv_header_stdint_h" >&6; }
5868 if test $jm_ac_cv_header_stdint_h = yes; then
5870 cat >>confdefs.h
<<_ACEOF
5871 #define HAVE_STDINT_H_WITH_UINTMAX 1
5879 { echo "$as_me:$LINENO: checking for intmax_t" >&5
5880 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6; }
5881 if test "${gt_cv_c_intmax_t+set}" = set; then
5882 echo $ECHO_N "(cached) $ECHO_C" >&6
5884 cat >conftest.
$ac_ext <<_ACEOF
5887 cat confdefs.h
>>conftest.
$ac_ext
5888 cat >>conftest.
$ac_ext <<_ACEOF
5889 /* end confdefs.h. */
5893 #if HAVE_STDINT_H_WITH_UINTMAX
5896 #if HAVE_INTTYPES_H_WITH_UINTMAX
5897 #include <inttypes.h>
5908 rm -f conftest.
$ac_objext
5909 if { (ac_try
="$ac_compile"
5911 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5912 *) ac_try_echo=$ac_try;;
5914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5915 (eval "$ac_compile") 2>conftest.er1
5917 grep -v '^ *+' conftest.er1 >conftest.err
5919 cat conftest.err >&5
5920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5921 (exit $ac_status); } && {
5922 test -z "$ac_c_werror_flag" ||
5923 test ! -s conftest.err
5924 } && test -s conftest.$ac_objext; then
5925 gt_cv_c_intmax_t=yes
5927 echo "$as_me: failed program was:" >&5
5928 sed 's/^/| /' conftest.$ac_ext >&5
5933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5935 { echo "$as_me:$LINENO: result: $gt_cv_c_intmax_t" >&5
5936 echo "${ECHO_T}$gt_cv_c_intmax_t" >&6; }
5937 if test $gt_cv_c_intmax_t = yes; then
5939 cat >>confdefs.h <<\_ACEOF
5940 #define HAVE_INTMAX_T 1
5947 { echo "$as_me:$LINENO: checking whether printf() supports POSIX/XSI format strings" >&5
5948 echo $ECHO_N "checking whether printf() supports POSIX/XSI format strings... $ECHO_C" >&6; }
5949 if test "${gt_cv_func_printf_posix+set}" = set; then
5950 echo $ECHO_N "(cached) $ECHO_C" >&6
5953 if test "$cross_compiling" = yes; then
5955 cat >conftest.$ac_ext <<_ACEOF
5958 cat confdefs.h >>conftest.$ac_ext
5959 cat >>conftest.$ac_ext <<_ACEOF
5960 /* end confdefs.h. */
5962 #if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
5967 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5968 $EGREP "notposix" >/dev/null 2>&1; then
5969 gt_cv_func_printf_posix="guessing no"
5971 gt_cv_func_printf_posix="guessing yes"
5977 cat >conftest.$ac_ext <<_ACEOF
5980 cat confdefs.h >>conftest.$ac_ext
5981 cat >>conftest.$ac_ext <<_ACEOF
5982 /* end confdefs.h. */
5986 /* The string "%2$d %1$d", with dollar characters protected from the shell's
5987 dollar expansion (possibly an autoconf bug). */
5988 static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
5989 static char buf[100];
5992 sprintf (buf, format, 33, 55);
5993 return (strcmp (buf, "55 33") != 0);
5996 rm -f conftest$ac_exeext
5997 if { (ac_try="$ac_link"
5999 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6000 *) ac_try_echo
=$ac_try;;
6002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6003 (eval "$ac_link") 2>&5
6005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6006 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6007 { (case "(($ac_try" in
6008 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6009 *) ac_try_echo=$ac_try;;
6011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6012 (eval "$ac_try") 2>&5
6014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6015 (exit $ac_status); }; }; then
6016 gt_cv_func_printf_posix=yes
6018 echo "$as_me: program exited with status $ac_status" >&5
6019 echo "$as_me: failed program was:" >&5
6020 sed 's/^/| /' conftest.$ac_ext >&5
6023 gt_cv_func_printf_posix=no
6025 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6031 { echo "$as_me:$LINENO: result: $gt_cv_func_printf_posix" >&5
6032 echo "${ECHO_T}$gt_cv_func_printf_posix" >&6; }
6033 case $gt_cv_func_printf_posix in
6036 cat >>confdefs.h <<\_ACEOF
6037 #define HAVE_POSIX_PRINTF 1
6043 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6044 # for constant arguments. Useless!
6045 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
6046 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
6047 if test "${ac_cv_working_alloca_h+set}" = set; then
6048 echo $ECHO_N "(cached) $ECHO_C" >&6
6050 cat >conftest.$ac_ext <<_ACEOF
6053 cat confdefs.h >>conftest.$ac_ext
6054 cat >>conftest.$ac_ext <<_ACEOF
6055 /* end confdefs.h. */
6060 char *p = (char *) alloca (2 * sizeof (int));
6066 rm -f conftest.$ac_objext conftest$ac_exeext
6067 if { (ac_try="$ac_link"
6069 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6070 *) ac_try_echo
=$ac_try;;
6072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6073 (eval "$ac_link") 2>conftest.er1
6075 grep -v '^ *+' conftest.er1
>conftest.err
6077 cat conftest.err
>&5
6078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6079 (exit $ac_status); } && {
6080 test -z "$ac_c_werror_flag" ||
6081 test ! -s conftest.err
6082 } && test -s conftest
$ac_exeext &&
6083 $as_test_x conftest
$ac_exeext; then
6084 ac_cv_working_alloca_h
=yes
6086 echo "$as_me: failed program was:" >&5
6087 sed 's/^/| /' conftest.
$ac_ext >&5
6089 ac_cv_working_alloca_h
=no
6092 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6093 conftest
$ac_exeext conftest.
$ac_ext
6095 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6096 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
6097 if test $ac_cv_working_alloca_h = yes; then
6099 cat >>confdefs.h
<<\_ACEOF
6100 #define HAVE_ALLOCA_H 1
6105 { echo "$as_me:$LINENO: checking for alloca" >&5
6106 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
6107 if test "${ac_cv_func_alloca_works+set}" = set; then
6108 echo $ECHO_N "(cached) $ECHO_C" >&6
6110 cat >conftest.
$ac_ext <<_ACEOF
6113 cat confdefs.h
>>conftest.
$ac_ext
6114 cat >>conftest.
$ac_ext <<_ACEOF
6115 /* end confdefs.h. */
6117 # define alloca __builtin_alloca
6120 # include <malloc.h>
6121 # define alloca _alloca
6123 # ifdef HAVE_ALLOCA_H
6124 # include <alloca.h>
6129 # ifndef alloca /* predefined by HP cc +Olibcalls */
6140 char *p = (char *) alloca (1);
6146 rm -f conftest.
$ac_objext conftest
$ac_exeext
6147 if { (ac_try
="$ac_link"
6149 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6150 *) ac_try_echo=$ac_try;;
6152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6153 (eval "$ac_link") 2>conftest.er1
6155 grep -v '^ *+' conftest.er1 >conftest.err
6157 cat conftest.err >&5
6158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6159 (exit $ac_status); } && {
6160 test -z "$ac_c_werror_flag" ||
6161 test ! -s conftest.err
6162 } && test -s conftest$ac_exeext &&
6163 $as_test_x conftest$ac_exeext; then
6164 ac_cv_func_alloca_works=yes
6166 echo "$as_me: failed program was:" >&5
6167 sed 's/^/| /' conftest.$ac_ext >&5
6169 ac_cv_func_alloca_works=no
6172 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6173 conftest$ac_exeext conftest.$ac_ext
6175 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6176 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
6178 if test $ac_cv_func_alloca_works = yes; then
6180 cat >>confdefs.h <<\_ACEOF
6181 #define HAVE_ALLOCA 1
6185 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6186 # that cause trouble. Some versions do not even contain alloca or
6187 # contain a buggy version. If you still want to use their alloca,
6188 # use ar to extract alloca.o from them instead of compiling alloca.c.
6190 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
6192 cat >>confdefs.h <<\_ACEOF
6197 { echo "$as_me:$LINENO: checking whether \`alloca.c
' needs Cray hooks" >&5
6198 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks...
$ECHO_C" >&6; }
6199 if test "${ac_cv_os_cray+set}" = set; then
6200 echo $ECHO_N "(cached
) $ECHO_C" >&6
6202 cat >conftest.$ac_ext <<_ACEOF
6205 cat confdefs.h >>conftest.$ac_ext
6206 cat >>conftest.$ac_ext <<_ACEOF
6207 /* end confdefs.h. */
6208 #if defined CRAY && ! defined CRAY2
6215 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6216 $EGREP "webecray
" >/dev/null 2>&1; then
6224 { echo "$as_me:$LINENO: result
: $ac_cv_os_cray" >&5
6225 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
6226 if test $ac_cv_os_cray = yes; then
6227 for ac_func in _getb67 GETB67 getb67; do
6228 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
6229 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
6230 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
6231 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
6232 echo $ECHO_N "(cached
) $ECHO_C" >&6
6234 cat >conftest.$ac_ext <<_ACEOF
6237 cat confdefs.h >>conftest.$ac_ext
6238 cat >>conftest.$ac_ext <<_ACEOF
6239 /* end confdefs.h. */
6240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6242 #define $ac_func innocuous_$ac_func
6244 /* System header to define __stub macros and hopefully few prototypes,
6245 which can conflict with char $ac_func (); below.
6246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6247 <limits.h> exists even on freestanding compilers. */
6250 # include <limits.h>
6252 # include <assert.h>
6257 /* Override any GCC internal prototype to avoid an error.
6258 Use char because int might match the return type of a GCC
6259 builtin and then its argument prototype would still apply. */
6264 /* The GNU C library defines this for functions which it implements
6265 to always fail with ENOSYS. Some functions are actually named
6266 something starting with __ and the normal name is an alias. */
6267 #if defined __stub_$ac_func || defined __stub___$ac_func
6279 rm -f conftest.$ac_objext conftest$ac_exeext
6280 if { (ac_try="$ac_link"
6282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6283 *) ac_try_echo=$ac_try;;
6285 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6286 (eval "$ac_link") 2>conftest.er1
6288 grep -v '^ *+' conftest.er1 >conftest.err
6290 cat conftest.err >&5
6291 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6292 (exit $ac_status); } && {
6293 test -z "$ac_c_werror_flag" ||
6294 test ! -s conftest.err
6295 } && test -s conftest$ac_exeext &&
6296 $as_test_x conftest$ac_exeext; then
6297 eval "$as_ac_var=yes"
6299 echo "$as_me: failed program was
:" >&5
6300 sed 's/^/| /' conftest.$ac_ext >&5
6302 eval "$as_ac_var=no
"
6305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6306 conftest$ac_exeext conftest.$ac_ext
6308 ac_res=`eval echo '${'$as_ac_var'}'`
6309 { echo "$as_me:$LINENO: result
: $ac_res" >&5
6310 echo "${ECHO_T}$ac_res" >&6; }
6311 if test `eval echo '${'$as_ac_var'}'` = yes; then
6313 cat >>confdefs.h <<_ACEOF
6314 #define CRAY_STACKSEG_END $ac_func
6323 { echo "$as_me:$LINENO: checking stack direction
for C alloca
" >&5
6324 echo $ECHO_N "checking stack direction
for C alloca...
$ECHO_C" >&6; }
6325 if test "${ac_cv_c_stack_direction+set}" = set; then
6326 echo $ECHO_N "(cached
) $ECHO_C" >&6
6328 if test "$cross_compiling" = yes; then
6329 ac_cv_c_stack_direction=0
6331 cat >conftest.$ac_ext <<_ACEOF
6334 cat confdefs.h >>conftest.$ac_ext
6335 cat >>conftest.$ac_ext <<_ACEOF
6336 /* end confdefs.h. */
6337 $ac_includes_default
6339 find_stack_direction ()
6341 static char *addr = 0;
6346 return find_stack_direction ();
6349 return (&dummy > addr) ? 1 : -1;
6355 return find_stack_direction () < 0;
6358 rm -f conftest$ac_exeext
6359 if { (ac_try="$ac_link"
6361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6362 *) ac_try_echo=$ac_try;;
6364 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6365 (eval "$ac_link") 2>&5
6367 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6368 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6369 { (case "(($ac_try" in
6370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6371 *) ac_try_echo=$ac_try;;
6373 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6374 (eval "$ac_try") 2>&5
6376 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6377 (exit $ac_status); }; }; then
6378 ac_cv_c_stack_direction=1
6380 echo "$as_me: program exited with status
$ac_status" >&5
6381 echo "$as_me: failed program was
:" >&5
6382 sed 's/^/| /' conftest.$ac_ext >&5
6385 ac_cv_c_stack_direction=-1
6387 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6392 { echo "$as_me:$LINENO: result
: $ac_cv_c_stack_direction" >&5
6393 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
6395 cat >>confdefs.h <<_ACEOF
6396 #define STACK_DIRECTION $ac_cv_c_stack_direction
6404 for ac_header in stdlib.h unistd.h
6406 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
6407 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
6408 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
6409 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
6410 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
6411 echo $ECHO_N "(cached
) $ECHO_C" >&6
6413 ac_res=`eval echo '${'$as_ac_Header'}'`
6414 { echo "$as_me:$LINENO: result
: $ac_res" >&5
6415 echo "${ECHO_T}$ac_res" >&6; }
6417 # Is the header compilable?
6418 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
6419 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
6420 cat >conftest.$ac_ext <<_ACEOF
6423 cat confdefs.h >>conftest.$ac_ext
6424 cat >>conftest.$ac_ext <<_ACEOF
6425 /* end confdefs.h. */
6426 $ac_includes_default
6427 #include <$ac_header>
6429 rm -f conftest.$ac_objext
6430 if { (ac_try="$ac_compile"
6432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6433 *) ac_try_echo=$ac_try;;
6435 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6436 (eval "$ac_compile") 2>conftest.er1
6438 grep -v '^ *+' conftest.er1 >conftest.err
6440 cat conftest.err >&5
6441 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6442 (exit $ac_status); } && {
6443 test -z "$ac_c_werror_flag" ||
6444 test ! -s conftest.err
6445 } && test -s conftest.$ac_objext; then
6446 ac_header_compiler=yes
6448 echo "$as_me: failed program was
:" >&5
6449 sed 's/^/| /' conftest.$ac_ext >&5
6451 ac_header_compiler=no
6454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6455 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
6456 echo "${ECHO_T}$ac_header_compiler" >&6; }
6458 # Is the header present?
6459 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
6460 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
6461 cat >conftest.$ac_ext <<_ACEOF
6464 cat confdefs.h >>conftest.$ac_ext
6465 cat >>conftest.$ac_ext <<_ACEOF
6466 /* end confdefs.h. */
6467 #include <$ac_header>
6469 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6472 *) ac_try_echo=$ac_try;;
6474 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6475 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6477 grep -v '^ *+' conftest.er1 >conftest.err
6479 cat conftest.err >&5
6480 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6481 (exit $ac_status); } >/dev/null && {
6482 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6483 test ! -s conftest.err
6485 ac_header_preproc=yes
6487 echo "$as_me: failed program was
:" >&5
6488 sed 's/^/| /' conftest.$ac_ext >&5
6490 ac_header_preproc=no
6493 rm -f conftest.err conftest.$ac_ext
6494 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
6495 echo "${ECHO_T}$ac_header_preproc" >&6; }
6497 # So? What about this header?
6498 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6500 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
6501 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
6502 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
6503 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
6504 ac_header_preproc=yes
6507 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
6508 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
6509 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
6510 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
6511 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
6512 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
6513 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
6514 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
6515 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
6516 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
6517 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
6518 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
6522 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
6523 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
6524 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
6525 echo $ECHO_N "(cached
) $ECHO_C" >&6
6527 eval "$as_ac_Header=\
$ac_header_preproc"
6529 ac_res=`eval echo '${'$as_ac_Header'}'`
6530 { echo "$as_me:$LINENO: result
: $ac_res" >&5
6531 echo "${ECHO_T}$ac_res" >&6; }
6534 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6535 cat >>confdefs.h <<_ACEOF
6536 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
6544 for ac_func in getpagesize
6546 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
6547 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
6548 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
6549 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
6550 echo $ECHO_N "(cached
) $ECHO_C" >&6
6552 cat >conftest.$ac_ext <<_ACEOF
6555 cat confdefs.h >>conftest.$ac_ext
6556 cat >>conftest.$ac_ext <<_ACEOF
6557 /* end confdefs.h. */
6558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6560 #define $ac_func innocuous_$ac_func
6562 /* System header to define __stub macros and hopefully few prototypes,
6563 which can conflict with char $ac_func (); below.
6564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6565 <limits.h> exists even on freestanding compilers. */
6568 # include <limits.h>
6570 # include <assert.h>
6575 /* Override any GCC internal prototype to avoid an error.
6576 Use char because int might match the return type of a GCC
6577 builtin and then its argument prototype would still apply. */
6582 /* The GNU C library defines this for functions which it implements
6583 to always fail with ENOSYS. Some functions are actually named
6584 something starting with __ and the normal name is an alias. */
6585 #if defined __stub_$ac_func || defined __stub___$ac_func
6597 rm -f conftest.$ac_objext conftest$ac_exeext
6598 if { (ac_try="$ac_link"
6600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6601 *) ac_try_echo=$ac_try;;
6603 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6604 (eval "$ac_link") 2>conftest.er1
6606 grep -v '^ *+' conftest.er1 >conftest.err
6608 cat conftest.err >&5
6609 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6610 (exit $ac_status); } && {
6611 test -z "$ac_c_werror_flag" ||
6612 test ! -s conftest.err
6613 } && test -s conftest$ac_exeext &&
6614 $as_test_x conftest$ac_exeext; then
6615 eval "$as_ac_var=yes"
6617 echo "$as_me: failed program was
:" >&5
6618 sed 's/^/| /' conftest.$ac_ext >&5
6620 eval "$as_ac_var=no
"
6623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6624 conftest$ac_exeext conftest.$ac_ext
6626 ac_res=`eval echo '${'$as_ac_var'}'`
6627 { echo "$as_me:$LINENO: result
: $ac_res" >&5
6628 echo "${ECHO_T}$ac_res" >&6; }
6629 if test `eval echo '${'$as_ac_var'}'` = yes; then
6630 cat >>confdefs.h <<_ACEOF
6631 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
6637 { echo "$as_me:$LINENO: checking
for working mmap
" >&5
6638 echo $ECHO_N "checking
for working mmap...
$ECHO_C" >&6; }
6639 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6640 echo $ECHO_N "(cached
) $ECHO_C" >&6
6642 if test "$cross_compiling" = yes; then
6643 ac_cv_func_mmap_fixed_mapped=no
6645 cat >conftest.$ac_ext <<_ACEOF
6648 cat confdefs.h >>conftest.$ac_ext
6649 cat >>conftest.$ac_ext <<_ACEOF
6650 /* end confdefs.h. */
6651 $ac_includes_default
6652 /* malloc might have been renamed as rpl_malloc. */
6655 /* Thanks to Mike Haertel and Jim Avera for this test.
6656 Here is a matrix of mmap possibilities:
6657 mmap private not fixed
6658 mmap private fixed at somewhere currently unmapped
6659 mmap private fixed at somewhere already mapped
6660 mmap shared not fixed
6661 mmap shared fixed at somewhere currently unmapped
6662 mmap shared fixed at somewhere already mapped
6663 For private mappings, we should verify that changes cannot be read()
6664 back from the file, nor mmap's back from the file at a different
6665 address. (There have been systems where private was not correctly
6666 implemented like the infamous i386 svr4.0, and systems where the
6667 VM page cache was not coherent with the file system buffer cache
6668 like early versions of FreeBSD and possibly contemporary NetBSD.)
6669 For shared mappings, we should conversely verify that changes get
6670 propagated back to all the places they're supposed to be.
6672 Grep wants private fixed already mapped.
6673 The main things grep needs to know about mmap are:
6674 * does it exist and is it safe to write into the mmap'd area
6675 * how to use it (BSD variants) */
6678 #include <sys/mman.h>
6680 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6684 /* This mess was copied from the GNU getpagesize.h. */
6685 #ifndef HAVE_GETPAGESIZE
6686 /* Assume that all systems that can run configure have sys/param.h. */
6687 # ifndef HAVE_SYS_PARAM_H
6688 # define HAVE_SYS_PARAM_H 1
6691 # ifdef _SC_PAGESIZE
6692 # define getpagesize() sysconf(_SC_PAGESIZE)
6693 # else /* no _SC_PAGESIZE */
6694 # ifdef HAVE_SYS_PARAM_H
6695 # include <sys/param.h>
6696 # ifdef EXEC_PAGESIZE
6697 # define getpagesize() EXEC_PAGESIZE
6698 # else /* no EXEC_PAGESIZE */
6700 # define getpagesize() NBPG * CLSIZE
6703 # endif /* no CLSIZE */
6704 # else /* no NBPG */
6706 # define getpagesize() NBPC
6707 # else /* no NBPC */
6709 # define getpagesize() PAGESIZE
6710 # endif /* PAGESIZE */
6711 # endif /* no NBPC */
6712 # endif /* no NBPG */
6713 # endif /* no EXEC_PAGESIZE */
6714 # else /* no HAVE_SYS_PARAM_H */
6715 # define getpagesize() 8192 /* punt totally */
6716 # endif /* no HAVE_SYS_PARAM_H */
6717 # endif /* no _SC_PAGESIZE */
6719 #endif /* no HAVE_GETPAGESIZE */
6724 char *data, *data2, *data3;
6728 pagesize = getpagesize ();
6730 /* First, make a file with some known garbage in it. */
6731 data = (char *) malloc (pagesize);
6734 for (i = 0; i < pagesize; ++i)
6735 *(data + i) = rand ();
6737 fd = creat ("conftest.mmap
", 0600);
6740 if (write (fd, data, pagesize) != pagesize)
6744 /* Next, try to mmap the file at a fixed address which already has
6745 something else allocated at it. If we can, also make sure that
6746 we see the same garbage. */
6747 fd = open ("conftest.mmap
", O_RDWR);
6750 data2 = (char *) malloc (2 * pagesize);
6753 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
6754 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6755 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6757 for (i = 0; i < pagesize; ++i)
6758 if (*(data + i) != *(data2 + i))
6761 /* Finally, make sure that changes to the mapped area do not
6762 percolate back to the file as seen by read(). (This is a bug on
6763 some variants of i386 svr4.0.) */
6764 for (i = 0; i < pagesize; ++i)
6765 *(data2 + i) = *(data2 + i) + 1;
6766 data3 = (char *) malloc (pagesize);
6769 if (read (fd, data3, pagesize) != pagesize)
6771 for (i = 0; i < pagesize; ++i)
6772 if (*(data + i) != *(data3 + i))
6778 rm -f conftest$ac_exeext
6779 if { (ac_try="$ac_link"
6781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6782 *) ac_try_echo=$ac_try;;
6784 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6785 (eval "$ac_link") 2>&5
6787 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6788 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6789 { (case "(($ac_try" in
6790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6791 *) ac_try_echo=$ac_try;;
6793 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6794 (eval "$ac_try") 2>&5
6796 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6797 (exit $ac_status); }; }; then
6798 ac_cv_func_mmap_fixed_mapped=yes
6800 echo "$as_me: program exited with status
$ac_status" >&5
6801 echo "$as_me: failed program was
:" >&5
6802 sed 's/^/| /' conftest.$ac_ext >&5
6805 ac_cv_func_mmap_fixed_mapped=no
6807 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6812 { echo "$as_me:$LINENO: result
: $ac_cv_func_mmap_fixed_mapped" >&5
6813 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
6814 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6816 cat >>confdefs.h <<\_ACEOF
6824 { echo "$as_me:$LINENO: checking whether we are using the GNU C Library
2.1 or newer
" >&5
6825 echo $ECHO_N "checking whether we are using the GNU C Library
2.1 or newer...
$ECHO_C" >&6; }
6826 if test "${ac_cv_gnu_library_2_1+set}" = set; then
6827 echo $ECHO_N "(cached
) $ECHO_C" >&6
6829 cat >conftest.$ac_ext <<_ACEOF
6832 cat confdefs.h >>conftest.$ac_ext
6833 cat >>conftest.$ac_ext <<_ACEOF
6834 /* end confdefs.h. */
6836 #include <features.h>
6837 #ifdef __GNU_LIBRARY__
6838 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
6844 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6845 $EGREP "Lucky GNU user
" >/dev/null 2>&1; then
6846 ac_cv_gnu_library_2_1=yes
6848 ac_cv_gnu_library_2_1=no
6855 { echo "$as_me:$LINENO: result
: $ac_cv_gnu_library_2_1" >&5
6856 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6; }
6858 GLIBC21="$ac_cv_gnu_library_2_1"
6863 { echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE
" >&5
6864 echo $ECHO_N "checking whether integer division by zero raises SIGFPE...
$ECHO_C" >&6; }
6865 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then
6866 echo $ECHO_N "(cached
) $ECHO_C" >&6
6869 if test "$cross_compiling" = yes; then
6871 # Guess based on the CPU.
6873 alpha* | i3456786 | m68k | s390*)
6874 gt_cv_int_divbyzero_sigfpe="guessing
yes";;
6876 gt_cv_int_divbyzero_sigfpe="guessing no
";;
6880 cat >conftest.$ac_ext <<_ACEOF
6883 cat confdefs.h >>conftest.$ac_ext
6884 cat >>conftest.$ac_ext <<_ACEOF
6885 /* end confdefs.h. */
6892 sigfpe_handler (int sig)
6894 sigfpe_handler (sig) int sig;
6897 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
6898 exit (sig != SIGFPE);
6908 signal (SIGFPE, sigfpe_handler);
6909 /* IRIX and AIX (when "xlc
-qcheck" is used) yield signal SIGTRAP. */
6910 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
6911 signal (SIGTRAP, sigfpe_handler);
6913 /* Linux/SPARC yields signal SIGILL. */
6914 #if defined (__sparc__) && defined (__linux__)
6915 signal (SIGILL, sigfpe_handler);
6924 rm -f conftest$ac_exeext
6925 if { (ac_try="$ac_link"
6927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6928 *) ac_try_echo=$ac_try;;
6930 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6931 (eval "$ac_link") 2>&5
6933 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6934 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6935 { (case "(($ac_try" in
6936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6937 *) ac_try_echo=$ac_try;;
6939 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6940 (eval "$ac_try") 2>&5
6942 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6943 (exit $ac_status); }; }; then
6944 gt_cv_int_divbyzero_sigfpe=yes
6946 echo "$as_me: program exited with status
$ac_status" >&5
6947 echo "$as_me: failed program was
:" >&5
6948 sed 's/^/| /' conftest.$ac_ext >&5
6951 gt_cv_int_divbyzero_sigfpe=no
6953 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6959 { echo "$as_me:$LINENO: result
: $gt_cv_int_divbyzero_sigfpe" >&5
6960 echo "${ECHO_T}$gt_cv_int_divbyzero_sigfpe" >&6; }
6961 case "$gt_cv_int_divbyzero_sigfpe" in
6966 cat >>confdefs.h <<_ACEOF
6967 #define INTDIV0_RAISES_SIGFPE $value
6972 { echo "$as_me:$LINENO: checking
for unsigned long long
" >&5
6973 echo $ECHO_N "checking
for unsigned long long...
$ECHO_C" >&6; }
6974 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
6975 echo $ECHO_N "(cached
) $ECHO_C" >&6
6977 cat >conftest.$ac_ext <<_ACEOF
6980 cat confdefs.h >>conftest.$ac_ext
6981 cat >>conftest.$ac_ext <<_ACEOF
6982 /* end confdefs.h. */
6983 unsigned long long ull = 1ULL; int i = 63;
6987 unsigned long long ullmax = (unsigned long long) -1;
6988 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
6993 rm -f conftest.$ac_objext conftest$ac_exeext
6994 if { (ac_try="$ac_link"
6996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6997 *) ac_try_echo=$ac_try;;
6999 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7000 (eval "$ac_link") 2>conftest.er1
7002 grep -v '^ *+' conftest.er1 >conftest.err
7004 cat conftest.err >&5
7005 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7006 (exit $ac_status); } && {
7007 test -z "$ac_c_werror_flag" ||
7008 test ! -s conftest.err
7009 } && test -s conftest$ac_exeext &&
7010 $as_test_x conftest$ac_exeext; then
7011 ac_cv_type_unsigned_long_long=yes
7013 echo "$as_me: failed program was
:" >&5
7014 sed 's/^/| /' conftest.$ac_ext >&5
7016 ac_cv_type_unsigned_long_long=no
7019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7020 conftest$ac_exeext conftest.$ac_ext
7022 { echo "$as_me:$LINENO: result
: $ac_cv_type_unsigned_long_long" >&5
7023 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6; }
7024 if test $ac_cv_type_unsigned_long_long = yes; then
7026 cat >>confdefs.h <<\_ACEOF
7027 #define HAVE_UNSIGNED_LONG_LONG 1
7035 if test $jm_ac_cv_header_inttypes_h = no && test $jm_ac_cv_header_stdint_h = no; then
7037 test $ac_cv_type_unsigned_long_long = yes \
7038 && ac_type='unsigned long long' \
7039 || ac_type='unsigned long'
7041 cat >>confdefs.h <<_ACEOF
7042 #define uintmax_t $ac_type
7047 cat >>confdefs.h <<\_ACEOF
7048 #define HAVE_UINTMAX_T 1
7054 { echo "$as_me:$LINENO: checking
for inttypes.h
" >&5
7055 echo $ECHO_N "checking
for inttypes.h...
$ECHO_C" >&6; }
7056 if test "${gt_cv_header_inttypes_h+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 <sys/types.h>
7067 #include <inttypes.h>
7076 rm -f conftest.$ac_objext
7077 if { (ac_try="$ac_compile"
7079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7080 *) ac_try_echo=$ac_try;;
7082 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7083 (eval "$ac_compile") 2>conftest.er1
7085 grep -v '^ *+' conftest.er1 >conftest.err
7087 cat conftest.err >&5
7088 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7089 (exit $ac_status); } && {
7090 test -z "$ac_c_werror_flag" ||
7091 test ! -s conftest.err
7092 } && test -s conftest.$ac_objext; then
7093 gt_cv_header_inttypes_h=yes
7095 echo "$as_me: failed program was
:" >&5
7096 sed 's/^/| /' conftest.$ac_ext >&5
7098 gt_cv_header_inttypes_h=no
7101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7104 { echo "$as_me:$LINENO: result
: $gt_cv_header_inttypes_h" >&5
7105 echo "${ECHO_T}$gt_cv_header_inttypes_h" >&6; }
7106 if test $gt_cv_header_inttypes_h = yes; then
7108 cat >>confdefs.h <<_ACEOF
7109 #define HAVE_INTTYPES_H 1
7116 if test $gt_cv_header_inttypes_h = yes; then
7117 { echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken
" >&5
7118 echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken...
$ECHO_C" >&6; }
7119 if test "${gt_cv_inttypes_pri_broken+set}" = set; then
7120 echo $ECHO_N "(cached
) $ECHO_C" >&6
7123 cat >conftest.$ac_ext <<_ACEOF
7126 cat confdefs.h >>conftest.$ac_ext
7127 cat >>conftest.$ac_ext <<_ACEOF
7128 /* end confdefs.h. */
7129 #include <inttypes.h>
7142 rm -f conftest.$ac_objext
7143 if { (ac_try="$ac_compile"
7145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7146 *) ac_try_echo=$ac_try;;
7148 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7149 (eval "$ac_compile") 2>conftest.er1
7151 grep -v '^ *+' conftest.er1 >conftest.err
7153 cat conftest.err >&5
7154 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7155 (exit $ac_status); } && {
7156 test -z "$ac_c_werror_flag" ||
7157 test ! -s conftest.err
7158 } && test -s conftest.$ac_objext; then
7159 gt_cv_inttypes_pri_broken=no
7161 echo "$as_me: failed program was
:" >&5
7162 sed 's/^/| /' conftest.$ac_ext >&5
7164 gt_cv_inttypes_pri_broken=yes
7167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7170 { echo "$as_me:$LINENO: result
: $gt_cv_inttypes_pri_broken" >&5
7171 echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6; }
7173 if test "$gt_cv_inttypes_pri_broken" = yes; then
7175 cat >>confdefs.h <<_ACEOF
7176 #define PRI_MACROS_BROKEN 1
7183 for ac_header in stdint.h
7185 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7186 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7187 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
7188 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
7189 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7190 echo $ECHO_N "(cached
) $ECHO_C" >&6
7192 ac_res=`eval echo '${'$as_ac_Header'}'`
7193 { echo "$as_me:$LINENO: result
: $ac_res" >&5
7194 echo "${ECHO_T}$ac_res" >&6; }
7196 # Is the header compilable?
7197 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
7198 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
7199 cat >conftest.$ac_ext <<_ACEOF
7202 cat confdefs.h >>conftest.$ac_ext
7203 cat >>conftest.$ac_ext <<_ACEOF
7204 /* end confdefs.h. */
7205 $ac_includes_default
7206 #include <$ac_header>
7208 rm -f conftest.$ac_objext
7209 if { (ac_try="$ac_compile"
7211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7212 *) ac_try_echo=$ac_try;;
7214 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7215 (eval "$ac_compile") 2>conftest.er1
7217 grep -v '^ *+' conftest.er1 >conftest.err
7219 cat conftest.err >&5
7220 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7221 (exit $ac_status); } && {
7222 test -z "$ac_c_werror_flag" ||
7223 test ! -s conftest.err
7224 } && test -s conftest.$ac_objext; then
7225 ac_header_compiler=yes
7227 echo "$as_me: failed program was
:" >&5
7228 sed 's/^/| /' conftest.$ac_ext >&5
7230 ac_header_compiler=no
7233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7234 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
7235 echo "${ECHO_T}$ac_header_compiler" >&6; }
7237 # Is the header present?
7238 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
7239 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
7240 cat >conftest.$ac_ext <<_ACEOF
7243 cat confdefs.h >>conftest.$ac_ext
7244 cat >>conftest.$ac_ext <<_ACEOF
7245 /* end confdefs.h. */
7246 #include <$ac_header>
7248 if { (ac_try="$ac_cpp conftest.
$ac_ext"
7250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7251 *) ac_try_echo=$ac_try;;
7253 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7254 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
7256 grep -v '^ *+' conftest.er1 >conftest.err
7258 cat conftest.err >&5
7259 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7260 (exit $ac_status); } >/dev/null && {
7261 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7262 test ! -s conftest.err
7264 ac_header_preproc=yes
7266 echo "$as_me: failed program was
:" >&5
7267 sed 's/^/| /' conftest.$ac_ext >&5
7269 ac_header_preproc=no
7272 rm -f conftest.err conftest.$ac_ext
7273 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
7274 echo "${ECHO_T}$ac_header_preproc" >&6; }
7276 # So? What about this header?
7277 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7279 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
7280 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
7281 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
7282 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
7283 ac_header_preproc=yes
7286 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
7287 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
7288 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
7289 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
7290 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
7291 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
7292 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
7293 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
7294 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
7295 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
7296 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
7297 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
7301 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
7302 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
7303 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7304 echo $ECHO_N "(cached
) $ECHO_C" >&6
7306 eval "$as_ac_Header=\
$ac_header_preproc"
7308 ac_res=`eval echo '${'$as_ac_Header'}'`
7309 { echo "$as_me:$LINENO: result
: $ac_res" >&5
7310 echo "${ECHO_T}$ac_res" >&6; }
7313 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7314 cat >>confdefs.h <<_ACEOF
7315 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7322 { echo "$as_me:$LINENO: checking
for SIZE_MAX
" >&5
7323 echo $ECHO_N "checking
for SIZE_MAX...
$ECHO_C" >&6; }
7325 cat >conftest.$ac_ext <<_ACEOF
7328 cat confdefs.h >>conftest.$ac_ext
7329 cat >>conftest.$ac_ext <<_ACEOF
7330 /* end confdefs.h. */
7341 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7342 $EGREP "Found it
" >/dev/null 2>&1; then
7347 if test -z "$result"; then
7348 if test "$cross_compiling" = yes; then
7349 # Depending upon the size, compute the lo and hi bounds.
7350 cat >conftest.$ac_ext <<_ACEOF
7353 cat confdefs.h >>conftest.$ac_ext
7354 cat >>conftest.$ac_ext <<_ACEOF
7355 /* end confdefs.h. */
7360 static int test_array [1 - 2 * !((~(size_t)0 / 10) >= 0)];
7367 rm -f conftest.$ac_objext
7368 if { (ac_try="$ac_compile"
7370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7371 *) ac_try_echo=$ac_try;;
7373 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7374 (eval "$ac_compile") 2>conftest.er1
7376 grep -v '^ *+' conftest.er1 >conftest.err
7378 cat conftest.err >&5
7379 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7380 (exit $ac_status); } && {
7381 test -z "$ac_c_werror_flag" ||
7382 test ! -s conftest.err
7383 } && test -s conftest.$ac_objext; then
7386 cat >conftest.$ac_ext <<_ACEOF
7389 cat confdefs.h >>conftest.$ac_ext
7390 cat >>conftest.$ac_ext <<_ACEOF
7391 /* end confdefs.h. */
7396 static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)];
7403 rm -f conftest.$ac_objext
7404 if { (ac_try="$ac_compile"
7406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7407 *) ac_try_echo=$ac_try;;
7409 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7410 (eval "$ac_compile") 2>conftest.er1
7412 grep -v '^ *+' conftest.er1 >conftest.err
7414 cat conftest.err >&5
7415 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7416 (exit $ac_status); } && {
7417 test -z "$ac_c_werror_flag" ||
7418 test ! -s conftest.err
7419 } && test -s conftest.$ac_objext; then
7420 ac_hi=$ac_mid; break
7422 echo "$as_me: failed program was
:" >&5
7423 sed 's/^/| /' conftest.$ac_ext >&5
7425 ac_lo=`expr $ac_mid + 1`
7426 if test $ac_lo -le $ac_mid; then
7430 ac_mid=`expr 2 '*' $ac_mid + 1`
7433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7436 echo "$as_me: failed program was
:" >&5
7437 sed 's/^/| /' conftest.$ac_ext >&5
7439 cat >conftest.$ac_ext <<_ACEOF
7442 cat confdefs.h >>conftest.$ac_ext
7443 cat >>conftest.$ac_ext <<_ACEOF
7444 /* end confdefs.h. */
7449 static int test_array [1 - 2 * !((~(size_t)0 / 10) < 0)];
7456 rm -f conftest.$ac_objext
7457 if { (ac_try="$ac_compile"
7459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7460 *) ac_try_echo=$ac_try;;
7462 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7463 (eval "$ac_compile") 2>conftest.er1
7465 grep -v '^ *+' conftest.er1 >conftest.err
7467 cat conftest.err >&5
7468 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7469 (exit $ac_status); } && {
7470 test -z "$ac_c_werror_flag" ||
7471 test ! -s conftest.err
7472 } && test -s conftest.$ac_objext; then
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
7509 ac_lo=$ac_mid; break
7511 echo "$as_me: failed program was
:" >&5
7512 sed 's/^/| /' conftest.$ac_ext >&5
7514 ac_hi=`expr '(' $ac_mid ')' - 1`
7515 if test $ac_mid -le $ac_hi; then
7519 ac_mid=`expr 2 '*' $ac_mid`
7522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7525 echo "$as_me: failed program was
:" >&5
7526 sed 's/^/| /' conftest.$ac_ext >&5
7531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7535 # Binary search between lo and hi bounds.
7536 while test "x
$ac_lo" != "x
$ac_hi"; do
7537 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7538 cat >conftest.$ac_ext <<_ACEOF
7541 cat confdefs.h >>conftest.$ac_ext
7542 cat >>conftest.$ac_ext <<_ACEOF
7543 /* end confdefs.h. */
7548 static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)];
7555 rm -f conftest.$ac_objext
7556 if { (ac_try="$ac_compile"
7558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7559 *) ac_try_echo=$ac_try;;
7561 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7562 (eval "$ac_compile") 2>conftest.er1
7564 grep -v '^ *+' conftest.er1 >conftest.err
7566 cat conftest.err >&5
7567 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7568 (exit $ac_status); } && {
7569 test -z "$ac_c_werror_flag" ||
7570 test ! -s conftest.err
7571 } && test -s conftest.$ac_objext; then
7574 echo "$as_me: failed program was
:" >&5
7575 sed 's/^/| /' conftest.$ac_ext >&5
7577 ac_lo=`expr '(' $ac_mid ')' + 1`
7580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7587 cat >conftest.$ac_ext <<_ACEOF
7590 cat confdefs.h >>conftest.$ac_ext
7591 cat >>conftest.$ac_ext <<_ACEOF
7592 /* end confdefs.h. */
7594 static long int longval () { return ~(size_t)0 / 10; }
7595 static unsigned long int ulongval () { return ~(size_t)0 / 10; }
7602 FILE *f = fopen ("conftest.val
", "w
");
7605 if ((~(size_t)0 / 10) < 0)
7607 long int i = longval ();
7608 if (i != (~(size_t)0 / 10))
7610 fprintf (f, "%ld
\n", i);
7614 unsigned long int i = ulongval ();
7615 if (i != (~(size_t)0 / 10))
7617 fprintf (f, "%lu
\n", i);
7619 return ferror (f) || fclose (f) != 0;
7625 rm -f conftest$ac_exeext
7626 if { (ac_try="$ac_link"
7628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7629 *) ac_try_echo=$ac_try;;
7631 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7632 (eval "$ac_link") 2>&5
7634 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7635 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7636 { (case "(($ac_try" in
7637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7638 *) ac_try_echo=$ac_try;;
7640 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7641 (eval "$ac_try") 2>&5
7643 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7644 (exit $ac_status); }; }; then
7645 res_hi=`cat conftest.val`
7647 echo "$as_me: program exited with status
$ac_status" >&5
7648 echo "$as_me: failed program was
:" >&5
7649 sed 's/^/| /' conftest.$ac_ext >&5
7654 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7658 if test "$cross_compiling" = yes; then
7659 # Depending upon the size, compute the lo and hi bounds.
7660 cat >conftest.$ac_ext <<_ACEOF
7663 cat confdefs.h >>conftest.$ac_ext
7664 cat >>conftest.$ac_ext <<_ACEOF
7665 /* end confdefs.h. */
7670 static int test_array [1 - 2 * !((~(size_t)0 % 10) >= 0)];
7677 rm -f conftest.$ac_objext
7678 if { (ac_try="$ac_compile"
7680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7681 *) ac_try_echo=$ac_try;;
7683 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7684 (eval "$ac_compile") 2>conftest.er1
7686 grep -v '^ *+' conftest.er1 >conftest.err
7688 cat conftest.err >&5
7689 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7690 (exit $ac_status); } && {
7691 test -z "$ac_c_werror_flag" ||
7692 test ! -s conftest.err
7693 } && test -s conftest.$ac_objext; then
7696 cat >conftest.$ac_ext <<_ACEOF
7699 cat confdefs.h >>conftest.$ac_ext
7700 cat >>conftest.$ac_ext <<_ACEOF
7701 /* end confdefs.h. */
7706 static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)];
7713 rm -f conftest.$ac_objext
7714 if { (ac_try="$ac_compile"
7716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7717 *) ac_try_echo=$ac_try;;
7719 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7720 (eval "$ac_compile") 2>conftest.er1
7722 grep -v '^ *+' conftest.er1 >conftest.err
7724 cat conftest.err >&5
7725 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7726 (exit $ac_status); } && {
7727 test -z "$ac_c_werror_flag" ||
7728 test ! -s conftest.err
7729 } && test -s conftest.$ac_objext; then
7730 ac_hi=$ac_mid; break
7732 echo "$as_me: failed program was
:" >&5
7733 sed 's/^/| /' conftest.$ac_ext >&5
7735 ac_lo=`expr $ac_mid + 1`
7736 if test $ac_lo -le $ac_mid; then
7740 ac_mid=`expr 2 '*' $ac_mid + 1`
7743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7746 echo "$as_me: failed program was
:" >&5
7747 sed 's/^/| /' conftest.$ac_ext >&5
7749 cat >conftest.$ac_ext <<_ACEOF
7752 cat confdefs.h >>conftest.$ac_ext
7753 cat >>conftest.$ac_ext <<_ACEOF
7754 /* end confdefs.h. */
7759 static int test_array [1 - 2 * !((~(size_t)0 % 10) < 0)];
7766 rm -f conftest.$ac_objext
7767 if { (ac_try="$ac_compile"
7769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7770 *) ac_try_echo=$ac_try;;
7772 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7773 (eval "$ac_compile") 2>conftest.er1
7775 grep -v '^ *+' conftest.er1 >conftest.err
7777 cat conftest.err >&5
7778 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7779 (exit $ac_status); } && {
7780 test -z "$ac_c_werror_flag" ||
7781 test ! -s conftest.err
7782 } && test -s conftest.$ac_objext; then
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
7819 ac_lo=$ac_mid; break
7821 echo "$as_me: failed program was
:" >&5
7822 sed 's/^/| /' conftest.$ac_ext >&5
7824 ac_hi=`expr '(' $ac_mid ')' - 1`
7825 if test $ac_mid -le $ac_hi; then
7829 ac_mid=`expr 2 '*' $ac_mid`
7832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7835 echo "$as_me: failed program was
:" >&5
7836 sed 's/^/| /' conftest.$ac_ext >&5
7841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7845 # Binary search between lo and hi bounds.
7846 while test "x
$ac_lo" != "x
$ac_hi"; do
7847 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7848 cat >conftest.$ac_ext <<_ACEOF
7851 cat confdefs.h >>conftest.$ac_ext
7852 cat >>conftest.$ac_ext <<_ACEOF
7853 /* end confdefs.h. */
7858 static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)];
7865 rm -f conftest.$ac_objext
7866 if { (ac_try="$ac_compile"
7868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7869 *) ac_try_echo=$ac_try;;
7871 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7872 (eval "$ac_compile") 2>conftest.er1
7874 grep -v '^ *+' conftest.er1 >conftest.err
7876 cat conftest.err >&5
7877 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7878 (exit $ac_status); } && {
7879 test -z "$ac_c_werror_flag" ||
7880 test ! -s conftest.err
7881 } && test -s conftest.$ac_objext; then
7884 echo "$as_me: failed program was
:" >&5
7885 sed 's/^/| /' conftest.$ac_ext >&5
7887 ac_lo=`expr '(' $ac_mid ')' + 1`
7890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7897 cat >conftest.$ac_ext <<_ACEOF
7900 cat confdefs.h >>conftest.$ac_ext
7901 cat >>conftest.$ac_ext <<_ACEOF
7902 /* end confdefs.h. */
7904 static long int longval () { return ~(size_t)0 % 10; }
7905 static unsigned long int ulongval () { return ~(size_t)0 % 10; }
7912 FILE *f = fopen ("conftest.val
", "w
");
7915 if ((~(size_t)0 % 10) < 0)
7917 long int i = longval ();
7918 if (i != (~(size_t)0 % 10))
7920 fprintf (f, "%ld
\n", i);
7924 unsigned long int i = ulongval ();
7925 if (i != (~(size_t)0 % 10))
7927 fprintf (f, "%lu
\n", i);
7929 return ferror (f) || fclose (f) != 0;
7935 rm -f conftest$ac_exeext
7936 if { (ac_try="$ac_link"
7938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7939 *) ac_try_echo=$ac_try;;
7941 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7942 (eval "$ac_link") 2>&5
7944 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7945 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7946 { (case "(($ac_try" in
7947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7948 *) ac_try_echo=$ac_try;;
7950 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7951 (eval "$ac_try") 2>&5
7953 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7954 (exit $ac_status); }; }; then
7955 res_lo=`cat conftest.val`
7957 echo "$as_me: program exited with status
$ac_status" >&5
7958 echo "$as_me: failed program was
:" >&5
7959 sed 's/^/| /' conftest.$ac_ext >&5
7964 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7968 if test "$cross_compiling" = yes; then
7969 # Depending upon the size, compute the lo and hi bounds.
7970 cat >conftest.$ac_ext <<_ACEOF
7973 cat confdefs.h >>conftest.$ac_ext
7974 cat >>conftest.$ac_ext <<_ACEOF
7975 /* end confdefs.h. */
7980 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= 0)];
7987 rm -f conftest.$ac_objext
7988 if { (ac_try="$ac_compile"
7990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7991 *) ac_try_echo=$ac_try;;
7993 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7994 (eval "$ac_compile") 2>conftest.er1
7996 grep -v '^ *+' conftest.er1 >conftest.err
7998 cat conftest.err >&5
7999 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8000 (exit $ac_status); } && {
8001 test -z "$ac_c_werror_flag" ||
8002 test ! -s conftest.err
8003 } && test -s conftest.$ac_objext; then
8006 cat >conftest.$ac_ext <<_ACEOF
8009 cat confdefs.h >>conftest.$ac_ext
8010 cat >>conftest.$ac_ext <<_ACEOF
8011 /* end confdefs.h. */
8016 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
8023 rm -f conftest.$ac_objext
8024 if { (ac_try="$ac_compile"
8026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8027 *) ac_try_echo=$ac_try;;
8029 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8030 (eval "$ac_compile") 2>conftest.er1
8032 grep -v '^ *+' conftest.er1 >conftest.err
8034 cat conftest.err >&5
8035 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8036 (exit $ac_status); } && {
8037 test -z "$ac_c_werror_flag" ||
8038 test ! -s conftest.err
8039 } && test -s conftest.$ac_objext; then
8040 ac_hi=$ac_mid; break
8042 echo "$as_me: failed program was
:" >&5
8043 sed 's/^/| /' conftest.$ac_ext >&5
8045 ac_lo=`expr $ac_mid + 1`
8046 if test $ac_lo -le $ac_mid; then
8050 ac_mid=`expr 2 '*' $ac_mid + 1`
8053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8056 echo "$as_me: failed program was
:" >&5
8057 sed 's/^/| /' conftest.$ac_ext >&5
8059 cat >conftest.$ac_ext <<_ACEOF
8062 cat confdefs.h >>conftest.$ac_ext
8063 cat >>conftest.$ac_ext <<_ACEOF
8064 /* end confdefs.h. */
8069 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) < 0)];
8076 rm -f conftest.$ac_objext
8077 if { (ac_try="$ac_compile"
8079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8080 *) ac_try_echo=$ac_try;;
8082 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8083 (eval "$ac_compile") 2>conftest.er1
8085 grep -v '^ *+' conftest.er1 >conftest.err
8087 cat conftest.err >&5
8088 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8089 (exit $ac_status); } && {
8090 test -z "$ac_c_werror_flag" ||
8091 test ! -s conftest.err
8092 } && test -s conftest.$ac_objext; then
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
8129 ac_lo=$ac_mid; break
8131 echo "$as_me: failed program was
:" >&5
8132 sed 's/^/| /' conftest.$ac_ext >&5
8134 ac_hi=`expr '(' $ac_mid ')' - 1`
8135 if test $ac_mid -le $ac_hi; then
8139 ac_mid=`expr 2 '*' $ac_mid`
8142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8145 echo "$as_me: failed program was
:" >&5
8146 sed 's/^/| /' conftest.$ac_ext >&5
8151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8155 # Binary search between lo and hi bounds.
8156 while test "x
$ac_lo" != "x
$ac_hi"; do
8157 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8158 cat >conftest.$ac_ext <<_ACEOF
8161 cat confdefs.h >>conftest.$ac_ext
8162 cat >>conftest.$ac_ext <<_ACEOF
8163 /* end confdefs.h. */
8168 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
8175 rm -f conftest.$ac_objext
8176 if { (ac_try="$ac_compile"
8178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8179 *) ac_try_echo=$ac_try;;
8181 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8182 (eval "$ac_compile") 2>conftest.er1
8184 grep -v '^ *+' conftest.er1 >conftest.err
8186 cat conftest.err >&5
8187 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8188 (exit $ac_status); } && {
8189 test -z "$ac_c_werror_flag" ||
8190 test ! -s conftest.err
8191 } && test -s conftest.$ac_objext; then
8194 echo "$as_me: failed program was
:" >&5
8195 sed 's/^/| /' conftest.$ac_ext >&5
8197 ac_lo=`expr '(' $ac_mid ')' + 1`
8200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8203 ?*) fits_in_uint=$ac_lo;;
8207 cat >conftest.$ac_ext <<_ACEOF
8210 cat confdefs.h >>conftest.$ac_ext
8211 cat >>conftest.$ac_ext <<_ACEOF
8212 /* end confdefs.h. */
8214 static long int longval () { return sizeof (size_t) <= sizeof (unsigned int); }
8215 static unsigned long int ulongval () { return sizeof (size_t) <= sizeof (unsigned int); }
8222 FILE *f = fopen ("conftest.val
", "w
");
8225 if ((sizeof (size_t) <= sizeof (unsigned int)) < 0)
8227 long int i = longval ();
8228 if (i != (sizeof (size_t) <= sizeof (unsigned int)))
8230 fprintf (f, "%ld
\n", i);
8234 unsigned long int i = ulongval ();
8235 if (i != (sizeof (size_t) <= sizeof (unsigned int)))
8237 fprintf (f, "%lu
\n", i);
8239 return ferror (f) || fclose (f) != 0;
8245 rm -f conftest$ac_exeext
8246 if { (ac_try="$ac_link"
8248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8249 *) ac_try_echo=$ac_try;;
8251 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8252 (eval "$ac_link") 2>&5
8254 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8255 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8256 { (case "(($ac_try" in
8257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8258 *) ac_try_echo=$ac_try;;
8260 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8261 (eval "$ac_try") 2>&5
8263 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8264 (exit $ac_status); }; }; then
8265 fits_in_uint=`cat conftest.val`
8267 echo "$as_me: program exited with status
$ac_status" >&5
8268 echo "$as_me: failed program was
:" >&5
8269 sed 's/^/| /' conftest.$ac_ext >&5
8274 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8278 if test "$fits_in_uint" = 1; then
8279 cat >conftest.$ac_ext <<_ACEOF
8282 cat confdefs.h >>conftest.$ac_ext
8283 cat >>conftest.$ac_ext <<_ACEOF
8284 /* end confdefs.h. */
8287 extern unsigned long foo;
8297 rm -f conftest.$ac_objext
8298 if { (ac_try="$ac_compile"
8300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8301 *) ac_try_echo=$ac_try;;
8303 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8304 (eval "$ac_compile") 2>conftest.er1
8306 grep -v '^ *+' conftest.er1 >conftest.err
8308 cat conftest.err >&5
8309 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8310 (exit $ac_status); } && {
8311 test -z "$ac_c_werror_flag" ||
8312 test ! -s conftest.err
8313 } && test -s conftest.$ac_objext; then
8316 echo "$as_me: failed program was
:" >&5
8317 sed 's/^/| /' conftest.$ac_ext >&5
8322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8324 if test -z "$result"; then
8325 if test "$fits_in_uint" = 1; then
8326 result="$res_hi$res_lo"U
8328 result="$res_hi$res_lo"UL
8334 { echo "$as_me:$LINENO: result
: $result" >&5
8335 echo "${ECHO_T}$result" >&6; }
8336 if test "$result" != yes; then
8338 cat >>confdefs.h <<_ACEOF
8339 #define SIZE_MAX $result
8347 for ac_header in stdint.h
8349 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
8350 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8351 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
8352 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
8353 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8354 echo $ECHO_N "(cached
) $ECHO_C" >&6
8356 ac_res=`eval echo '${'$as_ac_Header'}'`
8357 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8358 echo "${ECHO_T}$ac_res" >&6; }
8360 # Is the header compilable?
8361 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
8362 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
8363 cat >conftest.$ac_ext <<_ACEOF
8366 cat confdefs.h >>conftest.$ac_ext
8367 cat >>conftest.$ac_ext <<_ACEOF
8368 /* end confdefs.h. */
8369 $ac_includes_default
8370 #include <$ac_header>
8372 rm -f conftest.$ac_objext
8373 if { (ac_try="$ac_compile"
8375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8376 *) ac_try_echo=$ac_try;;
8378 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8379 (eval "$ac_compile") 2>conftest.er1
8381 grep -v '^ *+' conftest.er1 >conftest.err
8383 cat conftest.err >&5
8384 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8385 (exit $ac_status); } && {
8386 test -z "$ac_c_werror_flag" ||
8387 test ! -s conftest.err
8388 } && test -s conftest.$ac_objext; then
8389 ac_header_compiler=yes
8391 echo "$as_me: failed program was
:" >&5
8392 sed 's/^/| /' conftest.$ac_ext >&5
8394 ac_header_compiler=no
8397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8398 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
8399 echo "${ECHO_T}$ac_header_compiler" >&6; }
8401 # Is the header present?
8402 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
8403 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
8404 cat >conftest.$ac_ext <<_ACEOF
8407 cat confdefs.h >>conftest.$ac_ext
8408 cat >>conftest.$ac_ext <<_ACEOF
8409 /* end confdefs.h. */
8410 #include <$ac_header>
8412 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8415 *) ac_try_echo=$ac_try;;
8417 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8418 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8420 grep -v '^ *+' conftest.er1 >conftest.err
8422 cat conftest.err >&5
8423 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8424 (exit $ac_status); } >/dev/null && {
8425 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8426 test ! -s conftest.err
8428 ac_header_preproc=yes
8430 echo "$as_me: failed program was
:" >&5
8431 sed 's/^/| /' conftest.$ac_ext >&5
8433 ac_header_preproc=no
8436 rm -f conftest.err conftest.$ac_ext
8437 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
8438 echo "${ECHO_T}$ac_header_preproc" >&6; }
8440 # So? What about this header?
8441 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8443 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
8444 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
8445 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
8446 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
8447 ac_header_preproc=yes
8450 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
8451 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
8452 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
8453 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
8454 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
8455 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
8456 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
8457 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
8458 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
8459 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
8460 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
8461 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
8465 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
8466 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
8467 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8468 echo $ECHO_N "(cached
) $ECHO_C" >&6
8470 eval "$as_ac_Header=\
$ac_header_preproc"
8472 ac_res=`eval echo '${'$as_ac_Header'}'`
8473 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8474 echo "${ECHO_T}$ac_res" >&6; }
8477 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8478 cat >>confdefs.h <<_ACEOF
8479 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8488 if test "X
$prefix" = "XNONE
"; then
8489 acl_final_prefix="$ac_default_prefix"
8491 acl_final_prefix="$prefix"
8493 if test "X
$exec_prefix" = "XNONE
"; then
8494 acl_final_exec_prefix='${prefix}'
8496 acl_final_exec_prefix="$exec_prefix"
8498 acl_save_prefix="$prefix"
8499 prefix="$acl_final_prefix"
8500 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
8501 prefix="$acl_save_prefix"
8504 # Check whether --with-gnu-ld was given.
8505 if test "${with_gnu_ld+set}" = set; then
8506 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
8511 # Prepare PATH_SEPARATOR.
8512 # The user is always right.
8513 if test "${PATH_SEPARATOR+set}" != set; then
8514 echo "#! /bin/sh" >conf$$.sh
8515 echo "exit 0" >>conf$$.sh
8517 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8525 if test "$GCC" = yes; then
8526 # Check if gcc -print-prog-name=ld gives a path.
8527 { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
8528 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
8531 # gcc leaves a trailing carriage return which upsets mingw
8532 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8534 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
8537 # Accept absolute paths.
8538 [\\/]* |
[A-Za-z
]:[\\/]*)
8539 re_direlt
='/[^/][^/]*/\.\./'
8540 # Canonicalize the path of ld
8541 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
8542 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
8543 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
8545 test -z "$LD" && LD
="$ac_prog"
8548 # If it fails, then pretend we aren't using GCC.
8552 # If it is relative, then search for the first ld in PATH.
8556 elif test "$with_gnu_ld" = yes; then
8557 { echo "$as_me:$LINENO: checking for GNU ld" >&5
8558 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
8560 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
8561 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
8563 if test "${acl_cv_path_LD+set}" = set; then
8564 echo $ECHO_N "(cached) $ECHO_C" >&6
8566 if test -z "$LD"; then
8567 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
8568 for ac_dir
in $PATH; do
8569 test -z "$ac_dir" && ac_dir
=.
8570 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
8571 acl_cv_path_LD
="$ac_dir/$ac_prog"
8572 # Check to see if the program is GNU ld. I'd rather use --version,
8573 # but apparently some GNU ld's only accept -v.
8574 # Break only if it was the GNU/non-GNU ld that we prefer.
8575 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
8576 *GNU
* |
*'with BFD'*)
8577 test "$with_gnu_ld" != no
&& break ;;
8579 test "$with_gnu_ld" != yes && break ;;
8585 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
8589 LD
="$acl_cv_path_LD"
8590 if test -n "$LD"; then
8591 { echo "$as_me:$LINENO: result: $LD" >&5
8592 echo "${ECHO_T}$LD" >&6; }
8594 { echo "$as_me:$LINENO: result: no" >&5
8595 echo "${ECHO_T}no" >&6; }
8597 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
8598 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
8599 { (exit 1); exit 1; }; }
8600 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
8601 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
8602 if test "${acl_cv_prog_gnu_ld+set}" = set; then
8603 echo $ECHO_N "(cached) $ECHO_C" >&6
8605 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
8606 case `$LD -v 2>&1 </dev/null` in
8607 *GNU
* |
*'with BFD'*)
8608 acl_cv_prog_gnu_ld
=yes ;;
8610 acl_cv_prog_gnu_ld
=no
;;
8613 { echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
8614 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; }
8615 with_gnu_ld
=$acl_cv_prog_gnu_ld
8619 { echo "$as_me:$LINENO: checking for shared library run path origin" >&5
8620 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; }
8621 if test "${acl_cv_rpath+set}" = set; then
8622 echo $ECHO_N "(cached) $ECHO_C" >&6
8625 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
8626 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
8632 { echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
8633 echo "${ECHO_T}$acl_cv_rpath" >&6; }
8635 libext
="$acl_cv_libext"
8636 shlibext
="$acl_cv_shlibext"
8637 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
8638 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
8639 hardcode_direct
="$acl_cv_hardcode_direct"
8640 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
8641 # Check whether --enable-rpath was given.
8642 if test "${enable_rpath+set}" = set; then
8643 enableval
=$enable_rpath; :
8657 acl_save_prefix
="$prefix"
8658 prefix
="$acl_final_prefix"
8659 acl_save_exec_prefix
="$exec_prefix"
8660 exec_prefix
="$acl_final_exec_prefix"
8662 eval additional_includedir
=\"$includedir\"
8663 eval additional_libdir
=\"$libdir\"
8665 exec_prefix
="$acl_save_exec_prefix"
8666 prefix
="$acl_save_prefix"
8669 # Check whether --with-libiconv-prefix was given.
8670 if test "${with_libiconv_prefix+set}" = set; then
8671 withval
=$with_libiconv_prefix;
8672 if test "X$withval" = "Xno"; then
8675 if test "X$withval" = "X"; then
8677 acl_save_prefix
="$prefix"
8678 prefix
="$acl_final_prefix"
8679 acl_save_exec_prefix
="$exec_prefix"
8680 exec_prefix
="$acl_final_exec_prefix"
8682 eval additional_includedir
=\"$includedir\"
8683 eval additional_libdir
=\"$libdir\"
8685 exec_prefix
="$acl_save_exec_prefix"
8686 prefix
="$acl_save_prefix"
8689 additional_includedir
="$withval/include"
8690 additional_libdir
="$withval/lib"
8701 names_already_handled
=
8702 names_next_round
='iconv '
8703 while test -n "$names_next_round"; do
8704 names_this_round
="$names_next_round"
8706 for name
in $names_this_round; do
8708 for n
in $names_already_handled; do
8709 if test "$n" = "$name"; then
8714 if test -z "$already_handled"; then
8715 names_already_handled
="$names_already_handled $name"
8716 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
8717 eval value
=\"\
$HAVE_LIB$uppername\"
8718 if test -n "$value"; then
8719 if test "$value" = yes; then
8720 eval value
=\"\
$LIB$uppername\"
8721 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
8722 eval value
=\"\
$LTLIB$uppername\"
8723 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
8732 if test $use_additional = yes; then
8733 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
8734 found_dir
="$additional_libdir"
8735 found_so
="$additional_libdir/lib$name.$shlibext"
8736 if test -f "$additional_libdir/lib$name.la"; then
8737 found_la
="$additional_libdir/lib$name.la"
8740 if test -f "$additional_libdir/lib$name.$libext"; then
8741 found_dir
="$additional_libdir"
8742 found_a
="$additional_libdir/lib$name.$libext"
8743 if test -f "$additional_libdir/lib$name.la"; then
8744 found_la
="$additional_libdir/lib$name.la"
8749 if test "X$found_dir" = "X"; then
8750 for x
in $LDFLAGS $LTLIBICONV; do
8752 acl_save_prefix
="$prefix"
8753 prefix
="$acl_final_prefix"
8754 acl_save_exec_prefix
="$exec_prefix"
8755 exec_prefix
="$acl_final_exec_prefix"
8757 exec_prefix
="$acl_save_exec_prefix"
8758 prefix
="$acl_save_prefix"
8762 dir
=`echo "X$x" | sed -e 's/^X-L//'`
8763 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
8765 found_so
="$dir/lib$name.$shlibext"
8766 if test -f "$dir/lib$name.la"; then
8767 found_la
="$dir/lib$name.la"
8770 if test -f "$dir/lib$name.$libext"; then
8772 found_a
="$dir/lib$name.$libext"
8773 if test -f "$dir/lib$name.la"; then
8774 found_la
="$dir/lib$name.la"
8780 if test "X$found_dir" != "X"; then
8785 if test "X$found_dir" != "X"; then
8786 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
8787 if test "X$found_so" != "X"; then
8788 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
8789 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8792 for x
in $ltrpathdirs; do
8793 if test "X$x" = "X$found_dir"; then
8798 if test -z "$haveit"; then
8799 ltrpathdirs
="$ltrpathdirs $found_dir"
8801 if test "$hardcode_direct" = yes; then
8802 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8804 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
8805 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8807 for x
in $rpathdirs; do
8808 if test "X$x" = "X$found_dir"; then
8813 if test -z "$haveit"; then
8814 rpathdirs
="$rpathdirs $found_dir"
8818 for x
in $LDFLAGS $LIBICONV; do
8820 acl_save_prefix
="$prefix"
8821 prefix
="$acl_final_prefix"
8822 acl_save_exec_prefix
="$exec_prefix"
8823 exec_prefix
="$acl_final_exec_prefix"
8825 exec_prefix
="$acl_save_exec_prefix"
8826 prefix
="$acl_save_prefix"
8828 if test "X$x" = "X-L$found_dir"; then
8833 if test -z "$haveit"; then
8834 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
8836 if test "$hardcode_minus_L" != no
; then
8837 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8839 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
8845 if test "X$found_a" != "X"; then
8846 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
8848 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
8851 additional_includedir
=
8852 case "$found_dir" in
8854 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
8855 additional_includedir
="$basedir/include"
8858 if test "X$additional_includedir" != "X"; then
8859 if test "X$additional_includedir" != "X/usr/include"; then
8861 if test "X$additional_includedir" = "X/usr/local/include"; then
8862 if test -n "$GCC"; then
8864 linux
*) haveit
=yes;;
8868 if test -z "$haveit"; then
8869 for x
in $CPPFLAGS $INCICONV; do
8871 acl_save_prefix
="$prefix"
8872 prefix
="$acl_final_prefix"
8873 acl_save_exec_prefix
="$exec_prefix"
8874 exec_prefix
="$acl_final_exec_prefix"
8876 exec_prefix
="$acl_save_exec_prefix"
8877 prefix
="$acl_save_prefix"
8879 if test "X$x" = "X-I$additional_includedir"; then
8884 if test -z "$haveit"; then
8885 if test -d "$additional_includedir"; then
8886 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
8892 if test -n "$found_la"; then
8893 save_libdir
="$libdir"
8895 */* |
*\\*) .
"$found_la" ;;
8896 *) .
"./$found_la" ;;
8898 libdir
="$save_libdir"
8899 for dep
in $dependency_libs; do
8902 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
8903 if test "X$additional_libdir" != "X/usr/lib"; then
8905 if test "X$additional_libdir" = "X/usr/local/lib"; then
8906 if test -n "$GCC"; then
8908 linux
*) haveit
=yes;;
8912 if test -z "$haveit"; then
8914 for x
in $LDFLAGS $LIBICONV; do
8916 acl_save_prefix
="$prefix"
8917 prefix
="$acl_final_prefix"
8918 acl_save_exec_prefix
="$exec_prefix"
8919 exec_prefix
="$acl_final_exec_prefix"
8921 exec_prefix
="$acl_save_exec_prefix"
8922 prefix
="$acl_save_prefix"
8924 if test "X$x" = "X-L$additional_libdir"; then
8929 if test -z "$haveit"; then
8930 if test -d "$additional_libdir"; then
8931 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
8935 for x
in $LDFLAGS $LTLIBICONV; do
8937 acl_save_prefix
="$prefix"
8938 prefix
="$acl_final_prefix"
8939 acl_save_exec_prefix
="$exec_prefix"
8940 exec_prefix
="$acl_final_exec_prefix"
8942 exec_prefix
="$acl_save_exec_prefix"
8943 prefix
="$acl_save_prefix"
8945 if test "X$x" = "X-L$additional_libdir"; then
8950 if test -z "$haveit"; then
8951 if test -d "$additional_libdir"; then
8952 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
8959 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
8960 if test "$enable_rpath" != no
; then
8962 for x
in $rpathdirs; do
8963 if test "X$x" = "X$dir"; then
8968 if test -z "$haveit"; then
8969 rpathdirs
="$rpathdirs $dir"
8972 for x
in $ltrpathdirs; do
8973 if test "X$x" = "X$dir"; then
8978 if test -z "$haveit"; then
8979 ltrpathdirs
="$ltrpathdirs $dir"
8984 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
8987 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
8990 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
8991 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
8997 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
8998 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
9004 if test "X$rpathdirs" != "X"; then
9005 if test -n "$hardcode_libdir_separator"; then
9007 for found_dir
in $rpathdirs; do
9008 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
9010 acl_save_libdir
="$libdir"
9012 eval flag
=\"$hardcode_libdir_flag_spec\"
9013 libdir
="$acl_save_libdir"
9014 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
9016 for found_dir
in $rpathdirs; do
9017 acl_save_libdir
="$libdir"
9019 eval flag
=\"$hardcode_libdir_flag_spec\"
9020 libdir
="$acl_save_libdir"
9021 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
9025 if test "X$ltrpathdirs" != "X"; then
9026 for found_dir
in $ltrpathdirs; do
9027 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
9038 { echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
9039 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6; }
9040 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
9041 echo $ECHO_N "(cached) $ECHO_C" >&6
9043 cat >conftest.
$ac_ext <<_ACEOF
9046 cat confdefs.h
>>conftest.
$ac_ext
9047 cat >>conftest.
$ac_ext <<_ACEOF
9048 /* end confdefs.h. */
9049 $ac_includes_default
9050 typedef ptrdiff_t ac__type_new_;
9054 if ((ac__type_new_ *) 0)
9056 if (sizeof (ac__type_new_))
9062 rm -f conftest.
$ac_objext
9063 if { (ac_try
="$ac_compile"
9065 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9066 *) ac_try_echo=$ac_try;;
9068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9069 (eval "$ac_compile") 2>conftest.er1
9071 grep -v '^ *+' conftest.er1 >conftest.err
9073 cat conftest.err >&5
9074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9075 (exit $ac_status); } && {
9076 test -z "$ac_c_werror_flag" ||
9077 test ! -s conftest.err
9078 } && test -s conftest.$ac_objext; then
9079 ac_cv_type_ptrdiff_t=yes
9081 echo "$as_me: failed program was:" >&5
9082 sed 's/^/| /' conftest.$ac_ext >&5
9084 ac_cv_type_ptrdiff_t=no
9087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9089 { echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
9090 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6; }
9091 if test $ac_cv_type_ptrdiff_t = yes; then
9095 cat >>confdefs.h <<\_ACEOF
9096 #define ptrdiff_t long
9112 for ac_header in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
9113 stdlib.h string.h unistd.h sys/param.h
9115 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9116 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9117 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9118 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9119 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9120 echo $ECHO_N "(cached) $ECHO_C" >&6
9122 ac_res=`eval echo '${'$as_ac_Header'}'`
9123 { echo "$as_me:$LINENO: result: $ac_res" >&5
9124 echo "${ECHO_T}$ac_res" >&6; }
9126 # Is the header compilable?
9127 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9128 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9129 cat >conftest.$ac_ext <<_ACEOF
9132 cat confdefs.h >>conftest.$ac_ext
9133 cat >>conftest.$ac_ext <<_ACEOF
9134 /* end confdefs.h. */
9135 $ac_includes_default
9136 #include <$ac_header>
9138 rm -f conftest.$ac_objext
9139 if { (ac_try="$ac_compile"
9141 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9142 *) ac_try_echo
=$ac_try;;
9144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9145 (eval "$ac_compile") 2>conftest.er1
9147 grep -v '^ *+' conftest.er1
>conftest.err
9149 cat conftest.err
>&5
9150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9151 (exit $ac_status); } && {
9152 test -z "$ac_c_werror_flag" ||
9153 test ! -s conftest.err
9154 } && test -s conftest.
$ac_objext; then
9155 ac_header_compiler
=yes
9157 echo "$as_me: failed program was:" >&5
9158 sed 's/^/| /' conftest.
$ac_ext >&5
9160 ac_header_compiler
=no
9163 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9164 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9165 echo "${ECHO_T}$ac_header_compiler" >&6; }
9167 # Is the header present?
9168 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9169 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9170 cat >conftest.
$ac_ext <<_ACEOF
9173 cat confdefs.h
>>conftest.
$ac_ext
9174 cat >>conftest.
$ac_ext <<_ACEOF
9175 /* end confdefs.h. */
9176 #include <$ac_header>
9178 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9180 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9181 *) ac_try_echo=$ac_try;;
9183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9184 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9186 grep -v '^ *+' conftest.er1 >conftest.err
9188 cat conftest.err >&5
9189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9190 (exit $ac_status); } >/dev/null && {
9191 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9192 test ! -s conftest.err
9194 ac_header_preproc=yes
9196 echo "$as_me: failed program was:" >&5
9197 sed 's/^/| /' conftest.$ac_ext >&5
9199 ac_header_preproc=no
9202 rm -f conftest.err conftest.$ac_ext
9203 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9204 echo "${ECHO_T}$ac_header_preproc" >&6; }
9206 # So? What about this header?
9207 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9209 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9210 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9211 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9212 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9213 ac_header_preproc=yes
9216 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9217 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9218 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9219 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9220 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9221 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9222 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9223 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9224 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9225 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9226 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9227 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9231 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9233 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9234 echo $ECHO_N "(cached) $ECHO_C" >&6
9236 eval "$as_ac_Header=\$ac_header_preproc"
9238 ac_res=`eval echo '${'$as_ac_Header'}'`
9239 { echo "$as_me:$LINENO: result: $ac_res" >&5
9240 echo "${ECHO_T}$ac_res" >&6; }
9243 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9244 cat >>confdefs.h <<_ACEOF
9245 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9275 for ac_func in asprintf fwprintf getcwd getegid geteuid getgid getuid \
9276 mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \
9277 strtoul tsearch wcslen __argz_count __argz_stringify __argz_next \
9280 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
9281 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9283 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9284 echo $ECHO_N "(cached) $ECHO_C" >&6
9286 cat >conftest.$ac_ext <<_ACEOF
9289 cat confdefs.h >>conftest.$ac_ext
9290 cat >>conftest.$ac_ext <<_ACEOF
9291 /* end confdefs.h. */
9292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9294 #define $ac_func innocuous_$ac_func
9296 /* System header to define __stub macros and hopefully few prototypes,
9297 which can conflict with char $ac_func (); below.
9298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9299 <limits.h> exists even on freestanding compilers. */
9302 # include <limits.h>
9304 # include <assert.h>
9309 /* Override any GCC internal prototype to avoid an error.
9310 Use char because int might match the return type of a GCC
9311 builtin and then its argument prototype would still apply. */
9316 /* The GNU C library defines this for functions which it implements
9317 to always fail with ENOSYS. Some functions are actually named
9318 something starting with __ and the normal name is an alias. */
9319 #if defined __stub_$ac_func || defined __stub___$ac_func
9331 rm -f conftest.$ac_objext conftest$ac_exeext
9332 if { (ac_try="$ac_link"
9334 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9335 *) ac_try_echo
=$ac_try;;
9337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9338 (eval "$ac_link") 2>conftest.er1
9340 grep -v '^ *+' conftest.er1
>conftest.err
9342 cat conftest.err
>&5
9343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9344 (exit $ac_status); } && {
9345 test -z "$ac_c_werror_flag" ||
9346 test ! -s conftest.err
9347 } && test -s conftest
$ac_exeext &&
9348 $as_test_x conftest
$ac_exeext; then
9349 eval "$as_ac_var=yes"
9351 echo "$as_me: failed program was:" >&5
9352 sed 's/^/| /' conftest.
$ac_ext >&5
9354 eval "$as_ac_var=no"
9357 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9358 conftest
$ac_exeext conftest.
$ac_ext
9360 ac_res
=`eval echo '${'$as_ac_var'}'`
9361 { echo "$as_me:$LINENO: result: $ac_res" >&5
9362 echo "${ECHO_T}$ac_res" >&6; }
9363 if test `eval echo '${'$as_ac_var'}'` = yes; then
9364 cat >>confdefs.h
<<_ACEOF
9365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9373 { echo "$as_me:$LINENO: checking whether _snprintf is declared" >&5
9374 echo $ECHO_N "checking whether _snprintf is declared... $ECHO_C" >&6; }
9375 if test "${ac_cv_have_decl__snprintf+set}" = set; then
9376 echo $ECHO_N "(cached) $ECHO_C" >&6
9378 cat >conftest.
$ac_ext <<_ACEOF
9381 cat confdefs.h
>>conftest.
$ac_ext
9382 cat >>conftest.
$ac_ext <<_ACEOF
9383 /* end confdefs.h. */
9390 char *p = (char *) _snprintf;
9397 rm -f conftest.
$ac_objext
9398 if { (ac_try
="$ac_compile"
9400 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9401 *) ac_try_echo=$ac_try;;
9403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9404 (eval "$ac_compile") 2>conftest.er1
9406 grep -v '^ *+' conftest.er1 >conftest.err
9408 cat conftest.err >&5
9409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9410 (exit $ac_status); } && {
9411 test -z "$ac_c_werror_flag" ||
9412 test ! -s conftest.err
9413 } && test -s conftest.$ac_objext; then
9414 ac_cv_have_decl__snprintf=yes
9416 echo "$as_me: failed program was:" >&5
9417 sed 's/^/| /' conftest.$ac_ext >&5
9419 ac_cv_have_decl__snprintf=no
9422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9424 { echo "$as_me:$LINENO: result: $ac_cv_have_decl__snprintf" >&5
9425 echo "${ECHO_T}$ac_cv_have_decl__snprintf" >&6; }
9426 if test $ac_cv_have_decl__snprintf = yes; then
9432 cat >>confdefs.h <<_ACEOF
9433 #define HAVE_DECL__SNPRINTF $gt_value
9438 { echo "$as_me:$LINENO: checking whether _snwprintf is declared" >&5
9439 echo $ECHO_N "checking whether _snwprintf is declared... $ECHO_C" >&6; }
9440 if test "${ac_cv_have_decl__snwprintf+set}" = set; then
9441 echo $ECHO_N "(cached) $ECHO_C" >&6
9443 cat >conftest.$ac_ext <<_ACEOF
9446 cat confdefs.h >>conftest.$ac_ext
9447 cat >>conftest.$ac_ext <<_ACEOF
9448 /* end confdefs.h. */
9455 char *p = (char *) _snwprintf;
9462 rm -f conftest.$ac_objext
9463 if { (ac_try="$ac_compile"
9465 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9466 *) ac_try_echo
=$ac_try;;
9468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9469 (eval "$ac_compile") 2>conftest.er1
9471 grep -v '^ *+' conftest.er1
>conftest.err
9473 cat conftest.err
>&5
9474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9475 (exit $ac_status); } && {
9476 test -z "$ac_c_werror_flag" ||
9477 test ! -s conftest.err
9478 } && test -s conftest.
$ac_objext; then
9479 ac_cv_have_decl__snwprintf
=yes
9481 echo "$as_me: failed program was:" >&5
9482 sed 's/^/| /' conftest.
$ac_ext >&5
9484 ac_cv_have_decl__snwprintf
=no
9487 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9489 { echo "$as_me:$LINENO: result: $ac_cv_have_decl__snwprintf" >&5
9490 echo "${ECHO_T}$ac_cv_have_decl__snwprintf" >&6; }
9491 if test $ac_cv_have_decl__snwprintf = yes; then
9497 cat >>confdefs.h
<<_ACEOF
9498 #define HAVE_DECL__SNWPRINTF $gt_value
9504 { echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5
9505 echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6; }
9506 if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then
9507 echo $ECHO_N "(cached) $ECHO_C" >&6
9509 cat >conftest.
$ac_ext <<_ACEOF
9512 cat confdefs.h
>>conftest.
$ac_ext
9513 cat >>conftest.
$ac_ext <<_ACEOF
9514 /* end confdefs.h. */
9520 #ifndef feof_unlocked
9521 char *p = (char *) feof_unlocked;
9528 rm -f conftest.
$ac_objext
9529 if { (ac_try
="$ac_compile"
9531 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9532 *) ac_try_echo=$ac_try;;
9534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9535 (eval "$ac_compile") 2>conftest.er1
9537 grep -v '^ *+' conftest.er1 >conftest.err
9539 cat conftest.err >&5
9540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9541 (exit $ac_status); } && {
9542 test -z "$ac_c_werror_flag" ||
9543 test ! -s conftest.err
9544 } && test -s conftest.$ac_objext; then
9545 ac_cv_have_decl_feof_unlocked=yes
9547 echo "$as_me: failed program was:" >&5
9548 sed 's/^/| /' conftest.$ac_ext >&5
9550 ac_cv_have_decl_feof_unlocked=no
9553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9555 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5
9556 echo "${ECHO_T}$ac_cv_have_decl_feof_unlocked" >&6; }
9557 if test $ac_cv_have_decl_feof_unlocked = yes; then
9563 cat >>confdefs.h <<_ACEOF
9564 #define HAVE_DECL_FEOF_UNLOCKED $gt_value
9569 { echo "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5
9570 echo $ECHO_N "checking whether fgets_unlocked is declared... $ECHO_C" >&6; }
9571 if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then
9572 echo $ECHO_N "(cached) $ECHO_C" >&6
9574 cat >conftest.$ac_ext <<_ACEOF
9577 cat confdefs.h >>conftest.$ac_ext
9578 cat >>conftest.$ac_ext <<_ACEOF
9579 /* end confdefs.h. */
9585 #ifndef fgets_unlocked
9586 char *p = (char *) fgets_unlocked;
9593 rm -f conftest.$ac_objext
9594 if { (ac_try="$ac_compile"
9596 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9597 *) ac_try_echo
=$ac_try;;
9599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9600 (eval "$ac_compile") 2>conftest.er1
9602 grep -v '^ *+' conftest.er1
>conftest.err
9604 cat conftest.err
>&5
9605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9606 (exit $ac_status); } && {
9607 test -z "$ac_c_werror_flag" ||
9608 test ! -s conftest.err
9609 } && test -s conftest.
$ac_objext; then
9610 ac_cv_have_decl_fgets_unlocked
=yes
9612 echo "$as_me: failed program was:" >&5
9613 sed 's/^/| /' conftest.
$ac_ext >&5
9615 ac_cv_have_decl_fgets_unlocked
=no
9618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9620 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5
9621 echo "${ECHO_T}$ac_cv_have_decl_fgets_unlocked" >&6; }
9622 if test $ac_cv_have_decl_fgets_unlocked = yes; then
9628 cat >>confdefs.h
<<_ACEOF
9629 #define HAVE_DECL_FGETS_UNLOCKED $gt_value
9634 { echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
9635 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6; }
9636 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
9637 echo $ECHO_N "(cached) $ECHO_C" >&6
9639 cat >conftest.
$ac_ext <<_ACEOF
9642 cat confdefs.h
>>conftest.
$ac_ext
9643 cat >>conftest.
$ac_ext <<_ACEOF
9644 /* end confdefs.h. */
9650 #ifndef getc_unlocked
9651 char *p = (char *) getc_unlocked;
9658 rm -f conftest.
$ac_objext
9659 if { (ac_try
="$ac_compile"
9661 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9662 *) ac_try_echo=$ac_try;;
9664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9665 (eval "$ac_compile") 2>conftest.er1
9667 grep -v '^ *+' conftest.er1 >conftest.err
9669 cat conftest.err >&5
9670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9671 (exit $ac_status); } && {
9672 test -z "$ac_c_werror_flag" ||
9673 test ! -s conftest.err
9674 } && test -s conftest.$ac_objext; then
9675 ac_cv_have_decl_getc_unlocked=yes
9677 echo "$as_me: failed program was:" >&5
9678 sed 's/^/| /' conftest.$ac_ext >&5
9680 ac_cv_have_decl_getc_unlocked=no
9683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9685 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
9686 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6; }
9687 if test $ac_cv_have_decl_getc_unlocked = yes; then
9693 cat >>confdefs.h <<_ACEOF
9694 #define HAVE_DECL_GETC_UNLOCKED $gt_value
9699 case $gt_cv_func_printf_posix in
9700 *yes) HAVE_POSIX_PRINTF=1 ;;
9701 *) HAVE_POSIX_PRINTF=0 ;;
9704 if test "$ac_cv_func_asprintf" = yes; then
9710 if test "$ac_cv_func_snprintf" = yes; then
9716 if test "$ac_cv_func_wprintf" = yes; then
9728 am_save_CPPFLAGS="$CPPFLAGS"
9730 for element in $INCICONV; do
9732 for x in $CPPFLAGS; do
9734 acl_save_prefix="$prefix"
9735 prefix="$acl_final_prefix"
9736 acl_save_exec_prefix="$exec_prefix"
9737 exec_prefix="$acl_final_exec_prefix"
9739 exec_prefix="$acl_save_exec_prefix"
9740 prefix="$acl_save_prefix"
9742 if test "X$x" = "X$element"; then
9747 if test -z "$haveit"; then
9748 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
9753 { echo "$as_me:$LINENO: checking for iconv" >&5
9754 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
9755 if test "${am_cv_func_iconv+set}" = set; then
9756 echo $ECHO_N "(cached) $ECHO_C" >&6
9759 am_cv_func_iconv="no, consider installing GNU libiconv"
9761 cat >conftest.$ac_ext <<_ACEOF
9764 cat confdefs.h >>conftest.$ac_ext
9765 cat >>conftest.$ac_ext <<_ACEOF
9766 /* end confdefs.h. */
9772 iconv_t cd = iconv_open("","");
9773 iconv(cd,NULL,NULL,NULL,NULL);
9779 rm -f conftest.$ac_objext conftest$ac_exeext
9780 if { (ac_try="$ac_link"
9782 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9783 *) ac_try_echo
=$ac_try;;
9785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9786 (eval "$ac_link") 2>conftest.er1
9788 grep -v '^ *+' conftest.er1
>conftest.err
9790 cat conftest.err
>&5
9791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9792 (exit $ac_status); } && {
9793 test -z "$ac_c_werror_flag" ||
9794 test ! -s conftest.err
9795 } && test -s conftest
$ac_exeext &&
9796 $as_test_x conftest
$ac_exeext; then
9797 am_cv_func_iconv
=yes
9799 echo "$as_me: failed program was:" >&5
9800 sed 's/^/| /' conftest.
$ac_ext >&5
9805 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9806 conftest
$ac_exeext conftest.
$ac_ext
9807 if test "$am_cv_func_iconv" != yes; then
9808 am_save_LIBS
="$LIBS"
9809 LIBS
="$LIBS $LIBICONV"
9810 cat >conftest.
$ac_ext <<_ACEOF
9813 cat confdefs.h
>>conftest.
$ac_ext
9814 cat >>conftest.
$ac_ext <<_ACEOF
9815 /* end confdefs.h. */
9821 iconv_t cd = iconv_open("","");
9822 iconv(cd,NULL,NULL,NULL,NULL);
9828 rm -f conftest.
$ac_objext conftest
$ac_exeext
9829 if { (ac_try
="$ac_link"
9831 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9832 *) ac_try_echo=$ac_try;;
9834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9835 (eval "$ac_link") 2>conftest.er1
9837 grep -v '^ *+' conftest.er1 >conftest.err
9839 cat conftest.err >&5
9840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9841 (exit $ac_status); } && {
9842 test -z "$ac_c_werror_flag" ||
9843 test ! -s conftest.err
9844 } && test -s conftest$ac_exeext &&
9845 $as_test_x conftest$ac_exeext; then
9847 am_cv_func_iconv=yes
9849 echo "$as_me: failed program was:" >&5
9850 sed 's/^/| /' conftest.$ac_ext >&5
9855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9856 conftest$ac_exeext conftest.$ac_ext
9857 LIBS="$am_save_LIBS"
9861 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
9862 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
9863 if test "$am_cv_func_iconv" = yes; then
9865 cat >>confdefs.h <<\_ACEOF
9866 #define HAVE_ICONV 1
9870 if test "$am_cv_lib_iconv" = yes; then
9871 { echo "$as_me:$LINENO: checking how to link with libiconv" >&5
9872 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; }
9873 { echo "$as_me:$LINENO: result: $LIBICONV" >&5
9874 echo "${ECHO_T}$LIBICONV" >&6; }
9876 CPPFLAGS="$am_save_CPPFLAGS"
9883 if test "$am_cv_func_iconv" = yes; then
9884 { echo "$as_me:$LINENO: checking for iconv declaration" >&5
9885 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6; }
9886 if test "${am_cv_proto_iconv+set}" = set; then
9887 echo $ECHO_N "(cached) $ECHO_C" >&6
9890 cat >conftest.$ac_ext <<_ACEOF
9893 cat confdefs.h >>conftest.$ac_ext
9894 cat >>conftest.$ac_ext <<_ACEOF
9895 /* end confdefs.h. */
9903 #if defined(__STDC__) || defined(__cplusplus)
9904 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
9917 rm -f conftest.$ac_objext
9918 if { (ac_try="$ac_compile"
9920 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9921 *) ac_try_echo
=$ac_try;;
9923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9924 (eval "$ac_compile") 2>conftest.er1
9926 grep -v '^ *+' conftest.er1
>conftest.err
9928 cat conftest.err
>&5
9929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9930 (exit $ac_status); } && {
9931 test -z "$ac_c_werror_flag" ||
9932 test ! -s conftest.err
9933 } && test -s conftest.
$ac_objext; then
9934 am_cv_proto_iconv_arg1
=""
9936 echo "$as_me: failed program was:" >&5
9937 sed 's/^/| /' conftest.
$ac_ext >&5
9939 am_cv_proto_iconv_arg1
="const"
9942 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9943 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);"
9946 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
9947 { echo "$as_me:$LINENO: result: ${ac_t:-
9948 }$am_cv_proto_iconv" >&5
9949 echo "${ECHO_T}${ac_t:-
9950 }$am_cv_proto_iconv" >&6; }
9952 cat >>confdefs.h
<<_ACEOF
9953 #define ICONV_CONST $am_cv_proto_iconv_arg1
9959 { echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
9960 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6; }
9961 if test "${am_cv_langinfo_codeset+set}" = set; then
9962 echo $ECHO_N "(cached) $ECHO_C" >&6
9964 cat >conftest.
$ac_ext <<_ACEOF
9967 cat confdefs.h
>>conftest.
$ac_ext
9968 cat >>conftest.
$ac_ext <<_ACEOF
9969 /* end confdefs.h. */
9970 #include <langinfo.h>
9974 char* cs = nl_langinfo(CODESET);
9979 rm -f conftest.
$ac_objext conftest
$ac_exeext
9980 if { (ac_try
="$ac_link"
9982 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9983 *) ac_try_echo=$ac_try;;
9985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9986 (eval "$ac_link") 2>conftest.er1
9988 grep -v '^ *+' conftest.er1 >conftest.err
9990 cat conftest.err >&5
9991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9992 (exit $ac_status); } && {
9993 test -z "$ac_c_werror_flag" ||
9994 test ! -s conftest.err
9995 } && test -s conftest$ac_exeext &&
9996 $as_test_x conftest$ac_exeext; then
9997 am_cv_langinfo_codeset=yes
9999 echo "$as_me: failed program was:" >&5
10000 sed 's/^/| /' conftest.$ac_ext >&5
10002 am_cv_langinfo_codeset=no
10005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10006 conftest$ac_exeext conftest.$ac_ext
10009 { echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
10010 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6; }
10011 if test $am_cv_langinfo_codeset = yes; then
10013 cat >>confdefs.h <<\_ACEOF
10014 #define HAVE_LANGINFO_CODESET 1
10019 if test $ac_cv_header_locale_h = yes; then
10021 { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
10022 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
10023 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
10024 echo $ECHO_N "(cached) $ECHO_C" >&6
10026 cat >conftest.$ac_ext <<_ACEOF
10029 cat confdefs.h >>conftest.$ac_ext
10030 cat >>conftest.$ac_ext <<_ACEOF
10031 /* end confdefs.h. */
10032 #include <locale.h>
10041 rm -f conftest.$ac_objext conftest$ac_exeext
10042 if { (ac_try="$ac_link"
10043 case "(($ac_try" in
10044 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10045 *) ac_try_echo
=$ac_try;;
10047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10048 (eval "$ac_link") 2>conftest.er1
10050 grep -v '^ *+' conftest.er1
>conftest.err
10052 cat conftest.err
>&5
10053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10054 (exit $ac_status); } && {
10055 test -z "$ac_c_werror_flag" ||
10056 test ! -s conftest.err
10057 } && test -s conftest
$ac_exeext &&
10058 $as_test_x conftest
$ac_exeext; then
10059 am_cv_val_LC_MESSAGES
=yes
10061 echo "$as_me: failed program was:" >&5
10062 sed 's/^/| /' conftest.
$ac_ext >&5
10064 am_cv_val_LC_MESSAGES
=no
10067 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10068 conftest
$ac_exeext conftest.
$ac_ext
10070 { echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
10071 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
10072 if test $am_cv_val_LC_MESSAGES = yes; then
10074 cat >>confdefs.h
<<\_ACEOF
10075 #define HAVE_LC_MESSAGES 1
10082 for ac_prog
in bison
10084 # Extract the first word of "$ac_prog", so it can be a program name with args.
10085 set dummy
$ac_prog; ac_word
=$2
10086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10088 if test "${ac_cv_prog_INTLBISON+set}" = set; then
10089 echo $ECHO_N "(cached) $ECHO_C" >&6
10091 if test -n "$INTLBISON"; then
10092 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
10094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10095 for as_dir
in $PATH
10098 test -z "$as_dir" && as_dir
=.
10099 for ac_exec_ext
in '' $ac_executable_extensions; do
10100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10101 ac_cv_prog_INTLBISON
="$ac_prog"
10102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10111 INTLBISON
=$ac_cv_prog_INTLBISON
10112 if test -n "$INTLBISON"; then
10113 { echo "$as_me:$LINENO: result: $INTLBISON" >&5
10114 echo "${ECHO_T}$INTLBISON" >&6; }
10116 { echo "$as_me:$LINENO: result: no" >&5
10117 echo "${ECHO_T}no" >&6; }
10121 test -n "$INTLBISON" && break
10124 if test -z "$INTLBISON"; then
10127 { echo "$as_me:$LINENO: checking version of bison" >&5
10128 echo $ECHO_N "checking version of bison... $ECHO_C" >&6; }
10129 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
10130 case $ac_prog_version in
10131 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
10132 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
10133 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
10134 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
10136 { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
10137 echo "${ECHO_T}$ac_prog_version" >&6; }
10139 if test $ac_verc_fail = yes; then
10158 { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
10159 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
10160 # Check whether --enable-nls was given.
10161 if test "${enable_nls+set}" = set; then
10162 enableval
=$enable_nls; USE_NLS
=$enableval
10167 { echo "$as_me:$LINENO: result: $USE_NLS" >&5
10168 echo "${ECHO_T}$USE_NLS" >&6; }
10173 BUILD_INCLUDED_LIBINTL
=no
10174 USE_INCLUDED_LIBINTL
=no
10180 if test "$USE_NLS" = "yes"; then
10181 gt_use_preinstalled_gnugettext
=no
10183 { echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
10184 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6; }
10186 # Check whether --with-included-gettext was given.
10187 if test "${with_included_gettext+set}" = set; then
10188 withval
=$with_included_gettext; nls_cv_force_use_gnu_gettext
=$withval
10190 nls_cv_force_use_gnu_gettext
=no
10193 { echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
10194 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6; }
10196 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
10197 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
10204 { echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
10205 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6; }
10206 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
10207 echo $ECHO_N "(cached) $ECHO_C" >&6
10209 cat >conftest.
$ac_ext <<_ACEOF
10212 cat confdefs.h
>>conftest.
$ac_ext
10213 cat >>conftest.
$ac_ext <<_ACEOF
10214 /* end confdefs.h. */
10215 #include <libintl.h>
10216 extern int _nl_msg_cat_cntr;
10217 extern int *_nl_domain_bindings;
10221 bindtextdomain ("", "");
10222 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
10227 rm -f conftest.
$ac_objext conftest
$ac_exeext
10228 if { (ac_try
="$ac_link"
10229 case "(($ac_try" in
10230 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10231 *) ac_try_echo=$ac_try;;
10233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10234 (eval "$ac_link") 2>conftest.er1
10236 grep -v '^ *+' conftest.er1 >conftest.err
10238 cat conftest.err >&5
10239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10240 (exit $ac_status); } && {
10241 test -z "$ac_c_werror_flag" ||
10242 test ! -s conftest.err
10243 } && test -s conftest$ac_exeext &&
10244 $as_test_x conftest$ac_exeext; then
10245 gt_cv_func_gnugettext1_libc=yes
10247 echo "$as_me: failed program was:" >&5
10248 sed 's/^/| /' conftest.$ac_ext >&5
10250 gt_cv_func_gnugettext1_libc=no
10253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10254 conftest$ac_exeext conftest.$ac_ext
10256 { echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
10257 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6; }
10259 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
10265 acl_save_prefix="$prefix"
10266 prefix="$acl_final_prefix"
10267 acl_save_exec_prefix="$exec_prefix"
10268 exec_prefix="$acl_final_exec_prefix"
10270 eval additional_includedir=\"$includedir\"
10271 eval additional_libdir=\"$libdir\"
10273 exec_prefix="$acl_save_exec_prefix"
10274 prefix="$acl_save_prefix"
10277 # Check whether --with-libintl-prefix was given.
10278 if test "${with_libintl_prefix+set}" = set; then
10279 withval=$with_libintl_prefix;
10280 if test "X$withval" = "Xno"; then
10283 if test "X$withval" = "X"; then
10285 acl_save_prefix="$prefix"
10286 prefix="$acl_final_prefix"
10287 acl_save_exec_prefix="$exec_prefix"
10288 exec_prefix="$acl_final_exec_prefix"
10290 eval additional_includedir=\"$includedir\"
10291 eval additional_libdir=\"$libdir\"
10293 exec_prefix="$acl_save_exec_prefix"
10294 prefix="$acl_save_prefix"
10297 additional_includedir="$withval/include"
10298 additional_libdir="$withval/lib"
10309 names_already_handled=
10310 names_next_round='intl '
10311 while test -n "$names_next_round"; do
10312 names_this_round="$names_next_round"
10314 for name in $names_this_round; do
10316 for n in $names_already_handled; do
10317 if test "$n" = "$name"; then
10318 already_handled=yes
10322 if test -z "$already_handled"; then
10323 names_already_handled="$names_already_handled $name"
10324 uppername=`echo "$name" |
sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
10325 eval value=\"\$HAVE_LIB$uppername\"
10326 if test -n "$value"; then
10327 if test "$value" = yes; then
10328 eval value=\"\$LIB$uppername\"
10329 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
10330 eval value=\"\$LTLIB$uppername\"
10331 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
10340 if test $use_additional = yes; then
10341 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
10342 found_dir="$additional_libdir"
10343 found_so="$additional_libdir/lib$name.$shlibext"
10344 if test -f "$additional_libdir/lib$name.la"; then
10345 found_la="$additional_libdir/lib$name.la"
10348 if test -f "$additional_libdir/lib$name.$libext"; then
10349 found_dir="$additional_libdir"
10350 found_a="$additional_libdir/lib$name.$libext"
10351 if test -f "$additional_libdir/lib$name.la"; then
10352 found_la="$additional_libdir/lib$name.la"
10357 if test "X$found_dir" = "X"; then
10358 for x in $LDFLAGS $LTLIBINTL; do
10360 acl_save_prefix="$prefix"
10361 prefix="$acl_final_prefix"
10362 acl_save_exec_prefix="$exec_prefix"
10363 exec_prefix="$acl_final_exec_prefix"
10365 exec_prefix="$acl_save_exec_prefix"
10366 prefix="$acl_save_prefix"
10370 dir=`echo "X$x" |
sed -e 's/^X-L//'`
10371 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
10373 found_so="$dir/lib$name.$shlibext"
10374 if test -f "$dir/lib$name.la"; then
10375 found_la="$dir/lib$name.la"
10378 if test -f "$dir/lib$name.$libext"; then
10380 found_a="$dir/lib$name.$libext"
10381 if test -f "$dir/lib$name.la"; then
10382 found_la="$dir/lib$name.la"
10388 if test "X$found_dir" != "X"; then
10393 if test "X$found_dir" != "X"; then
10394 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
10395 if test "X$found_so" != "X"; then
10396 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
10397 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
10400 for x in $ltrpathdirs; do
10401 if test "X$x" = "X$found_dir"; then
10406 if test -z "$haveit"; then
10407 ltrpathdirs="$ltrpathdirs $found_dir"
10409 if test "$hardcode_direct" = yes; then
10410 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
10412 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
10413 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
10415 for x in $rpathdirs; do
10416 if test "X$x" = "X$found_dir"; then
10421 if test -z "$haveit"; then
10422 rpathdirs="$rpathdirs $found_dir"
10426 for x in $LDFLAGS $LIBINTL; do
10428 acl_save_prefix="$prefix"
10429 prefix="$acl_final_prefix"
10430 acl_save_exec_prefix="$exec_prefix"
10431 exec_prefix="$acl_final_exec_prefix"
10433 exec_prefix="$acl_save_exec_prefix"
10434 prefix="$acl_save_prefix"
10436 if test "X$x" = "X-L$found_dir"; then
10441 if test -z "$haveit"; then
10442 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
10444 if test "$hardcode_minus_L" != no; then
10445 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
10447 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
10453 if test "X$found_a" != "X"; then
10454 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
10456 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
10459 additional_includedir=
10460 case "$found_dir" in
10462 basedir=`echo "X$found_dir" |
sed -e 's,^X,,' -e 's,/lib/*$,,'`
10463 additional_includedir="$basedir/include"
10466 if test "X$additional_includedir" != "X"; then
10467 if test "X$additional_includedir" != "X/usr/include"; then
10469 if test "X$additional_includedir" = "X/usr/local/include"; then
10470 if test -n "$GCC"; then
10472 linux*) haveit=yes;;
10476 if test -z "$haveit"; then
10477 for x in $CPPFLAGS $INCINTL; do
10479 acl_save_prefix="$prefix"
10480 prefix="$acl_final_prefix"
10481 acl_save_exec_prefix="$exec_prefix"
10482 exec_prefix="$acl_final_exec_prefix"
10484 exec_prefix="$acl_save_exec_prefix"
10485 prefix="$acl_save_prefix"
10487 if test "X$x" = "X-I$additional_includedir"; then
10492 if test -z "$haveit"; then
10493 if test -d "$additional_includedir"; then
10494 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
10500 if test -n "$found_la"; then
10501 save_libdir="$libdir"
10502 case "$found_la" in
10503 */* | *\\*) . "$found_la" ;;
10504 *) . "./$found_la" ;;
10506 libdir="$save_libdir"
10507 for dep in $dependency_libs; do
10510 additional_libdir=`echo "X$dep" |
sed -e 's/^X-L//'`
10511 if test "X$additional_libdir" != "X/usr/lib"; then
10513 if test "X$additional_libdir" = "X/usr/local/lib"; then
10514 if test -n "$GCC"; then
10516 linux*) haveit=yes;;
10520 if test -z "$haveit"; then
10522 for x in $LDFLAGS $LIBINTL; do
10524 acl_save_prefix="$prefix"
10525 prefix="$acl_final_prefix"
10526 acl_save_exec_prefix="$exec_prefix"
10527 exec_prefix="$acl_final_exec_prefix"
10529 exec_prefix="$acl_save_exec_prefix"
10530 prefix="$acl_save_prefix"
10532 if test "X$x" = "X-L$additional_libdir"; then
10537 if test -z "$haveit"; then
10538 if test -d "$additional_libdir"; then
10539 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
10543 for x in $LDFLAGS $LTLIBINTL; do
10545 acl_save_prefix="$prefix"
10546 prefix="$acl_final_prefix"
10547 acl_save_exec_prefix="$exec_prefix"
10548 exec_prefix="$acl_final_exec_prefix"
10550 exec_prefix="$acl_save_exec_prefix"
10551 prefix="$acl_save_prefix"
10553 if test "X$x" = "X-L$additional_libdir"; then
10558 if test -z "$haveit"; then
10559 if test -d "$additional_libdir"; then
10560 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
10567 dir=`echo "X$dep" |
sed -e 's/^X-R//'`
10568 if test "$enable_rpath" != no; then
10570 for x in $rpathdirs; do
10571 if test "X$x" = "X$dir"; then
10576 if test -z "$haveit"; then
10577 rpathdirs="$rpathdirs $dir"
10580 for x in $ltrpathdirs; do
10581 if test "X$x" = "X$dir"; then
10586 if test -z "$haveit"; then
10587 ltrpathdirs="$ltrpathdirs $dir"
10592 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's/^X-l//'`
10595 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10598 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
10599 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
10605 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
10606 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
10612 if test "X$rpathdirs" != "X"; then
10613 if test -n "$hardcode_libdir_separator"; then
10615 for found_dir in $rpathdirs; do
10616 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
10618 acl_save_libdir="$libdir"
10620 eval flag=\"$hardcode_libdir_flag_spec\"
10621 libdir="$acl_save_libdir"
10622 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
10624 for found_dir in $rpathdirs; do
10625 acl_save_libdir="$libdir"
10626 libdir="$found_dir"
10627 eval flag=\"$hardcode_libdir_flag_spec\"
10628 libdir="$acl_save_libdir"
10629 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
10633 if test "X$ltrpathdirs" != "X"; then
10634 for found_dir in $ltrpathdirs; do
10635 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
10639 { echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
10640 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6; }
10641 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
10642 echo $ECHO_N "(cached) $ECHO_C" >&6
10644 gt_save_CPPFLAGS="$CPPFLAGS"
10645 CPPFLAGS="$CPPFLAGS $INCINTL"
10646 gt_save_LIBS="$LIBS"
10647 LIBS="$LIBS $LIBINTL"
10648 cat >conftest.$ac_ext <<_ACEOF
10651 cat confdefs.h >>conftest.$ac_ext
10652 cat >>conftest.$ac_ext <<_ACEOF
10653 /* end confdefs.h. */
10654 #include <libintl.h>
10655 extern int _nl_msg_cat_cntr;
10660 const char *_nl_expand_alias ();
10664 bindtextdomain ("", "");
10665 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
10670 rm -f conftest.$ac_objext conftest$ac_exeext
10671 if { (ac_try="$ac_link"
10672 case "(($ac_try" in
10673 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10674 *) ac_try_echo
=$ac_try;;
10676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10677 (eval "$ac_link") 2>conftest.er1
10679 grep -v '^ *+' conftest.er1
>conftest.err
10681 cat conftest.err
>&5
10682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10683 (exit $ac_status); } && {
10684 test -z "$ac_c_werror_flag" ||
10685 test ! -s conftest.err
10686 } && test -s conftest
$ac_exeext &&
10687 $as_test_x conftest
$ac_exeext; then
10688 gt_cv_func_gnugettext1_libintl
=yes
10690 echo "$as_me: failed program was:" >&5
10691 sed 's/^/| /' conftest.
$ac_ext >&5
10693 gt_cv_func_gnugettext1_libintl
=no
10696 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10697 conftest
$ac_exeext conftest.
$ac_ext
10698 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
10699 LIBS
="$LIBS $LIBICONV"
10700 cat >conftest.
$ac_ext <<_ACEOF
10703 cat confdefs.h
>>conftest.
$ac_ext
10704 cat >>conftest.
$ac_ext <<_ACEOF
10705 /* end confdefs.h. */
10706 #include <libintl.h>
10707 extern int _nl_msg_cat_cntr;
10712 const char *_nl_expand_alias ();
10716 bindtextdomain ("", "");
10717 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
10722 rm -f conftest.
$ac_objext conftest
$ac_exeext
10723 if { (ac_try
="$ac_link"
10724 case "(($ac_try" in
10725 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10726 *) ac_try_echo=$ac_try;;
10728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10729 (eval "$ac_link") 2>conftest.er1
10731 grep -v '^ *+' conftest.er1 >conftest.err
10733 cat conftest.err >&5
10734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10735 (exit $ac_status); } && {
10736 test -z "$ac_c_werror_flag" ||
10737 test ! -s conftest.err
10738 } && test -s conftest$ac_exeext &&
10739 $as_test_x conftest$ac_exeext; then
10740 LIBINTL="$LIBINTL $LIBICONV"
10741 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
10742 gt_cv_func_gnugettext1_libintl=yes
10745 echo "$as_me: failed program was:" >&5
10746 sed 's/^/| /' conftest.$ac_ext >&5
10751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10752 conftest$ac_exeext conftest.$ac_ext
10754 CPPFLAGS="$gt_save_CPPFLAGS"
10755 LIBS="$gt_save_LIBS"
10757 { echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
10758 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6; }
10761 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
10762 || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
10763 && test "$PACKAGE" != gettext-runtime \
10764 && test "$PACKAGE" != gettext-tools; }; then
10765 gt_use_preinstalled_gnugettext=yes
10773 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
10774 nls_cv_use_gnu_gettext=yes
10778 if test "$nls_cv_use_gnu_gettext" = "yes"; then
10779 BUILD_INCLUDED_LIBINTL=yes
10780 USE_INCLUDED_LIBINTL=yes
10781 LIBINTL="\${top_builddir}/intl/libintl.a $LIBICONV"
10782 LTLIBINTL="\${top_builddir}/intl/libintl.a $LTLIBICONV"
10783 LIBS=`echo " $LIBS " |
sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
10786 if test "$gt_use_preinstalled_gnugettext" = "yes" \
10787 || test "$nls_cv_use_gnu_gettext" = "yes"; then
10792 if test "$gt_use_preinstalled_gnugettext" = "yes" \
10793 || test "$nls_cv_use_gnu_gettext" = "yes"; then
10795 cat >>confdefs.h <<\_ACEOF
10796 #define ENABLE_NLS 1
10804 { echo "$as_me:$LINENO: checking whether to use NLS" >&5
10805 echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6; }
10806 { echo "$as_me:$LINENO: result: $USE_NLS" >&5
10807 echo "${ECHO_T}$USE_NLS" >&6; }
10808 if test "$USE_NLS" = "yes"; then
10809 { echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
10810 echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6; }
10811 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
10812 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
10813 gt_source="external libintl"
10818 gt_source="included intl directory"
10820 { echo "$as_me:$LINENO: result: $gt_source" >&5
10821 echo "${ECHO_T}$gt_source" >&6; }
10824 if test "$USE_NLS" = "yes"; then
10826 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
10827 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
10828 { echo "$as_me:$LINENO: checking how to link with libintl" >&5
10829 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6; }
10830 { echo "$as_me:$LINENO: result: $LIBINTL" >&5
10831 echo "${ECHO_T}$LIBINTL" >&6; }
10833 for element in $INCINTL; do
10835 for x in $CPPFLAGS; do
10837 acl_save_prefix="$prefix"
10838 prefix="$acl_final_prefix"
10839 acl_save_exec_prefix="$exec_prefix"
10840 exec_prefix="$acl_final_exec_prefix"
10842 exec_prefix="$acl_save_exec_prefix"
10843 prefix="$acl_save_prefix"
10845 if test "X$x" = "X$element"; then
10850 if test -z "$haveit"; then
10851 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
10858 cat >>confdefs.h <<\_ACEOF
10859 #define HAVE_GETTEXT 1
10863 cat >>confdefs.h <<\_ACEOF
10864 #define HAVE_DCGETTEXT 1
10873 if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
10874 BUILD_INCLUDED_LIBINTL=yes
10881 nls_cv_header_intl=
10882 nls_cv_header_libgt=
10893 if test "$USE_INCLUDED_LIBINTL" = yes; then
10894 INTLOBJS="\$(GETTOBJS)"
10898 INTL_LIBTOOL_SUFFIX_PREFIX=
10902 INTLLIBS="$LIBINTL"
10910 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
10911 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
10912 set x ${MAKE-make}; ac_make=`echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
10913 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
10914 echo $ECHO_N "(cached) $ECHO_C" >&6
10916 cat >conftest.make <<\_ACEOF
10919 @echo '@@@%%%=$(MAKE)=@@@%%%'
10921 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10922 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
10923 *@@@%%%=?*=@@@%%%*)
10924 eval ac_cv_prog_make_${ac_make}_set=yes;;
10926 eval ac_cv_prog_make_${ac_make}_set=no;;
10928 rm -f conftest.make
10930 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
10931 { echo "$as_me:$LINENO: result: yes" >&5
10932 echo "${ECHO_T}yes" >&6; }
10935 { echo "$as_me:$LINENO: result: no" >&5
10936 echo "${ECHO_T}no" >&6; }
10937 SET_MAKE="MAKE=${MAKE-make}"
10940 # Extract the first word of "ln", so it can be a program name with args.
10941 set dummy ln; ac_word=$2
10942 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10944 if test "${ac_cv_path_LN+set}" = set; then
10945 echo $ECHO_N "(cached) $ECHO_C" >&6
10949 ac_cv_path_LN="$LN" # Let the user override the test with a path.
10952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10953 for as_dir in $PATH
10956 test -z "$as_dir" && as_dir=.
10957 for ac_exec_ext in '' $ac_executable_extensions; do
10958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10959 ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
10960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10967 test -z "$ac_cv_path_LN" && ac_cv_path_LN="ln"
10972 if test -n "$LN"; then
10973 { echo "$as_me:$LINENO: result: $LN" >&5
10974 echo "${ECHO_T}$LN" >&6; }
10976 { echo "$as_me:$LINENO: result: no" >&5
10977 echo "${ECHO_T}no" >&6; }
10981 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
10982 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
10984 if test "$LN_S" = "ln -s"; then
10985 { echo "$as_me:$LINENO: result: yes" >&5
10986 echo "${ECHO_T}yes" >&6; }
10988 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
10989 echo "${ECHO_T}no, using $LN_S" >&6; }
10992 # Extract the first word of "mv", so it can be a program name with args.
10993 set dummy mv; ac_word=$2
10994 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10996 if test "${ac_cv_path_MV+set}" = set; then
10997 echo $ECHO_N "(cached) $ECHO_C" >&6
11001 ac_cv_path_MV="$MV" # Let the user override the test with a path.
11004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11005 for as_dir in $PATH
11008 test -z "$as_dir" && as_dir=.
11009 for ac_exec_ext in '' $ac_executable_extensions; do
11010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11011 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
11012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11019 test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
11024 if test -n "$MV"; then
11025 { echo "$as_me:$LINENO: result: $MV" >&5
11026 echo "${ECHO_T}$MV" >&6; }
11028 { echo "$as_me:$LINENO: result: no" >&5
11029 echo "${ECHO_T}no" >&6; }
11033 # Extract the first word of "cp", so it can be a program name with args.
11034 set dummy cp; ac_word=$2
11035 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11037 if test "${ac_cv_path_CP+set}" = set; then
11038 echo $ECHO_N "(cached) $ECHO_C" >&6
11042 ac_cv_path_CP="$CP" # Let the user override the test with a path.
11045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11046 for as_dir in $PATH
11049 test -z "$as_dir" && as_dir=.
11050 for ac_exec_ext in '' $ac_executable_extensions; do
11051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11052 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
11053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11060 test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
11065 if test -n "$CP"; then
11066 { echo "$as_me:$LINENO: result: $CP" >&5
11067 echo "${ECHO_T}$CP" >&6; }
11069 { echo "$as_me:$LINENO: result: no" >&5
11070 echo "${ECHO_T}no" >&6; }
11074 # Extract the first word of "rm", so it can be a program name with args.
11075 set dummy rm; ac_word=$2
11076 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11078 if test "${ac_cv_path_RM+set}" = set; then
11079 echo $ECHO_N "(cached) $ECHO_C" >&6
11083 ac_cv_path_RM="$RM" # Let the user override the test with a path.
11086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11087 for as_dir in $PATH
11090 test -z "$as_dir" && as_dir=.
11091 for ac_exec_ext in '' $ac_executable_extensions; do
11092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11093 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
11094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11101 test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
11106 if test -n "$RM"; then
11107 { echo "$as_me:$LINENO: result: $RM" >&5
11108 echo "${ECHO_T}$RM" >&6; }
11110 { echo "$as_me:$LINENO: result: no" >&5
11111 echo "${ECHO_T}no" >&6; }
11115 # Extract the first word of "chmod", so it can be a program name with args.
11116 set dummy chmod; ac_word=$2
11117 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11119 if test "${ac_cv_path_CHMOD+set}" = set; then
11120 echo $ECHO_N "(cached) $ECHO_C" >&6
11124 ac_cv_path_CHMOD="$CHMOD" # Let the user override the test with a path.
11127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11128 for as_dir in $PATH
11131 test -z "$as_dir" && as_dir=.
11132 for ac_exec_ext in '' $ac_executable_extensions; do
11133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11134 ac_cv_path_CHMOD="$as_dir/$ac_word$ac_exec_ext"
11135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11142 test -z "$ac_cv_path_CHMOD" && ac_cv_path_CHMOD=":"
11146 CHMOD=$ac_cv_path_CHMOD
11147 if test -n "$CHMOD"; then
11148 { echo "$as_me:$LINENO: result: $CHMOD" >&5
11149 echo "${ECHO_T}$CHMOD" >&6; }
11151 { echo "$as_me:$LINENO: result: no" >&5
11152 echo "${ECHO_T}no" >&6; }
11156 for ac_prog in gawk mawk nawk awk
11158 # Extract the first word of "$ac_prog", so it can be a program name with args.
11159 set dummy $ac_prog; ac_word=$2
11160 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11162 if test "${ac_cv_prog_AWK+set}" = set; then
11163 echo $ECHO_N "(cached) $ECHO_C" >&6
11165 if test -n "$AWK"; then
11166 ac_cv_prog_AWK="$AWK" # Let the user override the test.
11168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11169 for as_dir in $PATH
11172 test -z "$as_dir" && as_dir=.
11173 for ac_exec_ext in '' $ac_executable_extensions; do
11174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11175 ac_cv_prog_AWK="$ac_prog"
11176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11185 AWK=$ac_cv_prog_AWK
11186 if test -n "$AWK"; then
11187 { echo "$as_me:$LINENO: result: $AWK" >&5
11188 echo "${ECHO_T}$AWK" >&6; }
11190 { echo "$as_me:$LINENO: result: no" >&5
11191 echo "${ECHO_T}no" >&6; }
11195 test -n "$AWK" && break
11198 { echo "$as_me:$LINENO: checking for egrep" >&5
11199 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
11200 if test "${ac_cv_path_EGREP+set}" = set; then
11201 echo $ECHO_N "(cached) $ECHO_C" >&6
11203 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
11204 then ac_cv_path_EGREP="$GREP -E"
11206 # Extract the first word of "egrep" to use in msg output
11207 if test -z "$EGREP"; then
11208 set dummy egrep; ac_prog_name=$2
11209 if test "${ac_cv_path_EGREP+set}" = set; then
11210 echo $ECHO_N "(cached) $ECHO_C" >&6
11212 ac_path_EGREP_found=false
11213 # Loop through the user's path and test for each of PROGNAME-LIST
11214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11215 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
11218 test -z "$as_dir" && as_dir=.
11219 for ac_prog in egrep; do
11220 for ac_exec_ext in '' $ac_executable_extensions; do
11221 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
11222 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
11223 # Check for GNU ac_path_EGREP and select it if it is found.
11224 # Check for GNU $ac_path_EGREP
11225 case `"$ac_path_EGREP" --version 2>&1` in
11227 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
11230 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
11233 cat "conftest.in" "conftest.in" >"conftest.tmp"
11234 mv "conftest.tmp" "conftest.in"
11235 cp "conftest.in" "conftest.nl"
11236 echo 'EGREP' >> "conftest.nl"
11237 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
11238 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
11239 ac_count=`expr $ac_count + 1`
11240 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
11241 # Best one so far, save it but keep looking for a better one
11242 ac_cv_path_EGREP="$ac_path_EGREP"
11243 ac_path_EGREP_max=$ac_count
11245 # 10*(2^10) chars as input seems more than enough
11246 test $ac_count -gt 10 && break
11248 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
11252 $ac_path_EGREP_found && break 3
11262 EGREP="$ac_cv_path_EGREP"
11263 if test -z "$EGREP"; then
11264 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
11265 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
11266 { (exit 1); exit 1; }; }
11270 ac_cv_path_EGREP=$EGREP
11276 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
11277 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
11278 EGREP="$ac_cv_path_EGREP"
11281 # Extract the first word of "sed", so it can be a program name with args.
11282 set dummy sed; ac_word=$2
11283 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11285 if test "${ac_cv_path_SED+set}" = set; then
11286 echo $ECHO_N "(cached) $ECHO_C" >&6
11290 ac_cv_path_SED="$SED" # Let the user override the test with a path.
11293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11294 for as_dir in $PATH
11297 test -z "$as_dir" && as_dir=.
11298 for ac_exec_ext in '' $ac_executable_extensions; do
11299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11300 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
11301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11308 test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed"
11312 SED=$ac_cv_path_SED
11313 if test -n "$SED"; then
11314 { echo "$as_me:$LINENO: result: $SED" >&5
11315 echo "${ECHO_T}$SED" >&6; }
11317 { echo "$as_me:$LINENO: result: no" >&5
11318 echo "${ECHO_T}no" >&6; }
11322 # Extract the first word of "perl", so it can be a program name with args.
11323 set dummy perl; ac_word=$2
11324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11326 if test "${ac_cv_path_PERL+set}" = set; then
11327 echo $ECHO_N "(cached) $ECHO_C" >&6
11331 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
11334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11335 for as_dir in $PATH
11338 test -z "$as_dir" && as_dir=.
11339 for ac_exec_ext in '' $ac_executable_extensions; do
11340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11341 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
11342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11349 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl"
11353 PERL=$ac_cv_path_PERL
11354 if test -n "$PERL"; then
11355 { echo "$as_me:$LINENO: result: $PERL" >&5
11356 echo "${ECHO_T}$PERL" >&6; }
11358 { echo "$as_me:$LINENO: result: no" >&5
11359 echo "${ECHO_T}no" >&6; }
11363 # Extract the first word of "ldconfig", so it can be a program name with args.
11364 set dummy ldconfig; ac_word=$2
11365 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11367 if test "${ac_cv_path_LDCONFIG+set}" = set; then
11368 echo $ECHO_N "(cached) $ECHO_C" >&6
11372 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
11375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11376 for as_dir in $PATH
11379 test -z "$as_dir" && as_dir=.
11380 for ac_exec_ext in '' $ac_executable_extensions; do
11381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11382 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
11383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11390 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG=":"
11394 LDCONFIG=$ac_cv_path_LDCONFIG
11395 if test -n "$LDCONFIG"; then
11396 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
11397 echo "${ECHO_T}$LDCONFIG" >&6; }
11399 { echo "$as_me:$LINENO: result: no" >&5
11400 echo "${ECHO_T}no" >&6; }
11404 if test -n "$ac_tool_prefix"; then
11405 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
11406 set dummy ${ac_tool_prefix}ar; ac_word=$2
11407 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11409 if test "${ac_cv_prog_AR+set}" = set; then
11410 echo $ECHO_N "(cached) $ECHO_C" >&6
11412 if test -n "$AR"; then
11413 ac_cv_prog_AR="$AR" # Let the user override the test.
11415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11416 for as_dir in $PATH
11419 test -z "$as_dir" && as_dir=.
11420 for ac_exec_ext in '' $ac_executable_extensions; do
11421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11422 ac_cv_prog_AR="${ac_tool_prefix}ar"
11423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11433 if test -n "$AR"; then
11434 { echo "$as_me:$LINENO: result: $AR" >&5
11435 echo "${ECHO_T}$AR" >&6; }
11437 { echo "$as_me:$LINENO: result: no" >&5
11438 echo "${ECHO_T}no" >&6; }
11443 if test -z "$ac_cv_prog_AR"; then
11445 # Extract the first word of "ar", so it can be a program name with args.
11446 set dummy ar; ac_word=$2
11447 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11449 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
11450 echo $ECHO_N "(cached) $ECHO_C" >&6
11452 if test -n "$ac_ct_AR"; then
11453 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
11455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11456 for as_dir in $PATH
11459 test -z "$as_dir" && as_dir=.
11460 for ac_exec_ext in '' $ac_executable_extensions; do
11461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11462 ac_cv_prog_ac_ct_AR="ar"
11463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11472 ac_ct_AR=$ac_cv_prog_ac_ct_AR
11473 if test -n "$ac_ct_AR"; then
11474 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
11475 echo "${ECHO_T}$ac_ct_AR" >&6; }
11477 { echo "$as_me:$LINENO: result: no" >&5
11478 echo "${ECHO_T}no" >&6; }
11481 if test "x$ac_ct_AR" = x; then
11484 case $cross_compiling:$ac_tool_warned in
11486 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11487 whose name does not start with the host triplet. If you think this
11488 configuration is useful to you, please write to autoconf@gnu.org." >&5
11489 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11490 whose name does not start with the host triplet. If you think this
11491 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11492 ac_tool_warned=yes ;;
11497 AR="$ac_cv_prog_AR"
11500 if test -n "$ac_tool_prefix"; then
11501 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11502 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11503 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11505 if test "${ac_cv_prog_RANLIB+set}" = set; then
11506 echo $ECHO_N "(cached) $ECHO_C" >&6
11508 if test -n "$RANLIB"; then
11509 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11512 for as_dir in $PATH
11515 test -z "$as_dir" && as_dir=.
11516 for ac_exec_ext in '' $ac_executable_extensions; do
11517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11518 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11528 RANLIB=$ac_cv_prog_RANLIB
11529 if test -n "$RANLIB"; then
11530 { echo "$as_me:$LINENO: result: $RANLIB" >&5
11531 echo "${ECHO_T}$RANLIB" >&6; }
11533 { echo "$as_me:$LINENO: result: no" >&5
11534 echo "${ECHO_T}no" >&6; }
11539 if test -z "$ac_cv_prog_RANLIB"; then
11540 ac_ct_RANLIB=$RANLIB
11541 # Extract the first word of "ranlib", so it can be a program name with args.
11542 set dummy ranlib; ac_word=$2
11543 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11545 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11546 echo $ECHO_N "(cached) $ECHO_C" >&6
11548 if test -n "$ac_ct_RANLIB"; then
11549 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11552 for as_dir in $PATH
11555 test -z "$as_dir" && as_dir=.
11556 for ac_exec_ext in '' $ac_executable_extensions; do
11557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11558 ac_cv_prog_ac_ct_RANLIB="ranlib"
11559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11568 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11569 if test -n "$ac_ct_RANLIB"; then
11570 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11571 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
11573 { echo "$as_me:$LINENO: result: no" >&5
11574 echo "${ECHO_T}no" >&6; }
11577 if test "x$ac_ct_RANLIB" = x; then
11580 case $cross_compiling:$ac_tool_warned in
11582 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11583 whose name does not start with the host triplet. If you think this
11584 configuration is useful to you, please write to autoconf@gnu.org." >&5
11585 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11586 whose name does not start with the host triplet. If you think this
11587 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11588 ac_tool_warned=yes ;;
11590 RANLIB=$ac_ct_RANLIB
11593 RANLIB="$ac_cv_prog_RANLIB"
11596 if test -n "$ac_tool_prefix"; then
11597 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
11598 set dummy ${ac_tool_prefix}strip; ac_word=$2
11599 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11601 if test "${ac_cv_prog_STRIP+set}" = set; then
11602 echo $ECHO_N "(cached) $ECHO_C" >&6
11604 if test -n "$STRIP"; then
11605 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11608 for as_dir in $PATH
11611 test -z "$as_dir" && as_dir=.
11612 for ac_exec_ext in '' $ac_executable_extensions; do
11613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11614 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
11615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11624 STRIP=$ac_cv_prog_STRIP
11625 if test -n "$STRIP"; then
11626 { echo "$as_me:$LINENO: result: $STRIP" >&5
11627 echo "${ECHO_T}$STRIP" >&6; }
11629 { echo "$as_me:$LINENO: result: no" >&5
11630 echo "${ECHO_T}no" >&6; }
11635 if test -z "$ac_cv_prog_STRIP"; then
11637 # Extract the first word of "strip", so it can be a program name with args.
11638 set dummy strip; ac_word=$2
11639 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11641 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
11642 echo $ECHO_N "(cached) $ECHO_C" >&6
11644 if test -n "$ac_ct_STRIP"; then
11645 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
11647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11648 for as_dir in $PATH
11651 test -z "$as_dir" && as_dir=.
11652 for ac_exec_ext in '' $ac_executable_extensions; do
11653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11654 ac_cv_prog_ac_ct_STRIP="strip"
11655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11664 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
11665 if test -n "$ac_ct_STRIP"; then
11666 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
11667 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
11669 { echo "$as_me:$LINENO: result: no" >&5
11670 echo "${ECHO_T}no" >&6; }
11673 if test "x$ac_ct_STRIP" = x; then
11676 case $cross_compiling:$ac_tool_warned in
11678 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11679 whose name does not start with the host triplet. If you think this
11680 configuration is useful to you, please write to autoconf@gnu.org." >&5
11681 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11682 whose name does not start with the host triplet. If you think this
11683 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11684 ac_tool_warned=yes ;;
11689 STRIP="$ac_cv_prog_STRIP"
11692 # Extract the first word of "makeinfo", so it can be a program name with args.
11693 set dummy makeinfo; ac_word=$2
11694 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11696 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
11697 echo $ECHO_N "(cached) $ECHO_C" >&6
11699 if test -n "$MAKEINFO"; then
11700 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
11702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11703 for as_dir in $PATH
11706 test -z "$as_dir" && as_dir=.
11707 for ac_exec_ext in '' $ac_executable_extensions; do
11708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11709 ac_cv_prog_MAKEINFO="makeinfo"
11710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11719 MAKEINFO=$ac_cv_prog_MAKEINFO
11720 if test -n "$MAKEINFO"; then
11721 { echo "$as_me:$LINENO: result: $MAKEINFO" >&5
11722 echo "${ECHO_T}$MAKEINFO" >&6; }
11724 { echo "$as_me:$LINENO: result: no" >&5
11725 echo "${ECHO_T}no" >&6; }
11729 if test "_$MAKEINFO" = "_"; then
11730 MAKEINFO="@echo Makeinfo is missing. Info documentation will not be built.;true"
11732 case "$MAKEINFO" in
11734 { echo "$as_me:$LINENO: WARNING:
11735 *** Makeinfo is missing. Info documentation will not be built." >&5
11736 echo "$as_me: WARNING:
11737 *** Makeinfo is missing. Info documentation will not be built." >&2;}
11744 # Find a good install program. We prefer a C program (faster),
11745 # so one script is as good as another. But avoid the broken or
11746 # incompatible versions:
11747 # SysV /etc/install, /usr/sbin/install
11748 # SunOS /usr/etc/install
11749 # IRIX /sbin/install
11751 # AmigaOS /C/install, which installs bootblocks on floppy discs
11752 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11753 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11754 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11755 # OS/2's system install, which has a completely different semantic
11756 # ./install, which can be erroneously created by make from ./install.sh.
11757 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11758 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
11759 if test -z "$INSTALL"; then
11760 if test "${ac_cv_path_install+set}" = set; then
11761 echo $ECHO_N "(cached) $ECHO_C" >&6
11763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11764 for as_dir in $PATH
11767 test -z "$as_dir" && as_dir=.
11768 # Account for people who put trailing slashes in PATH elements.
11770 ./ | .// | /cC/* | \
11771 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11772 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
11775 # OSF1 and SCO ODT 3.0 have their own names for install.
11776 # Don't use installbsd from OSF since it installs stuff as root
11778 for ac_prog in ginstall scoinst install; do
11779 for ac_exec_ext in '' $ac_executable_extensions; do
11780 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
11781 if test $ac_prog = install &&
11782 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11783 # AIX install. It has an incompatible calling convention.
11785 elif test $ac_prog = install &&
11786 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11787 # program-specific install script used by HP pwplus--don't use.
11790 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11803 if test "${ac_cv_path_install+set}" = set; then
11804 INSTALL=$ac_cv_path_install
11806 # As a last resort, use the slow shell script. Don't cache a
11807 # value for INSTALL within a source directory, because that will
11808 # break other packages using the cache if that directory is
11809 # removed, or if the value is a relative name.
11810 INSTALL=$ac_install_sh
11813 { echo "$as_me:$LINENO: result: $INSTALL" >&5
11814 echo "${ECHO_T}$INSTALL" >&6; }
11816 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11817 # It thinks the first close brace ends the variable substitution.
11818 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11820 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11822 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11824 # See if we need a separate native compiler.
11825 if test $cross_compiling = no; then
11829 for ac_prog in gcc cc
11831 # Extract the first word of "$ac_prog", so it can be a program name with args.
11832 set dummy $ac_prog; ac_word=$2
11833 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11835 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
11836 echo $ECHO_N "(cached) $ECHO_C" >&6
11838 if test -n "$BUILD_CC"; then
11839 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
11841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11842 for as_dir in $PATH
11845 test -z "$as_dir" && as_dir=.
11846 for ac_exec_ext in '' $ac_executable_extensions; do
11847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11848 ac_cv_prog_BUILD_CC="$ac_prog"
11849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11858 BUILD_CC=$ac_cv_prog_BUILD_CC
11859 if test -n "$BUILD_CC"; then
11860 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
11861 echo "${ECHO_T}$BUILD_CC" >&6; }
11863 { echo "$as_me:$LINENO: result: no" >&5
11864 echo "${ECHO_T}no" >&6; }
11868 test -n "$BUILD_CC" && break
11910 for ac_header in dirent.h errno.h getopt.h malloc.h mntent.h paths.h semaphore.h setjmp.h signal.h stdarg.h stdint.h stdlib.h termios.h termio.h unistd.h utime.h linux/fd.h linux/major.h net/if_dl.h netinet/in.h sys/disklabel.h sys/file.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
11912 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11913 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11914 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11915 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11916 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11917 echo $ECHO_N "(cached) $ECHO_C" >&6
11919 ac_res=`eval echo '${'$as_ac_Header'}'`
11920 { echo "$as_me:$LINENO: result: $ac_res" >&5
11921 echo "${ECHO_T}$ac_res" >&6; }
11923 # Is the header compilable?
11924 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11925 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11926 cat >conftest.$ac_ext <<_ACEOF
11929 cat confdefs.h >>conftest.$ac_ext
11930 cat >>conftest.$ac_ext <<_ACEOF
11931 /* end confdefs.h. */
11932 $ac_includes_default
11933 #include <$ac_header>
11935 rm -f conftest.$ac_objext
11936 if { (ac_try="$ac_compile"
11937 case "(($ac_try" in
11938 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11939 *) ac_try_echo
=$ac_try;;
11941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11942 (eval "$ac_compile") 2>conftest.er1
11944 grep -v '^ *+' conftest.er1
>conftest.err
11946 cat conftest.err
>&5
11947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11948 (exit $ac_status); } && {
11949 test -z "$ac_c_werror_flag" ||
11950 test ! -s conftest.err
11951 } && test -s conftest.
$ac_objext; then
11952 ac_header_compiler
=yes
11954 echo "$as_me: failed program was:" >&5
11955 sed 's/^/| /' conftest.
$ac_ext >&5
11957 ac_header_compiler
=no
11960 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11961 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11962 echo "${ECHO_T}$ac_header_compiler" >&6; }
11964 # Is the header present?
11965 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11966 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11967 cat >conftest.
$ac_ext <<_ACEOF
11970 cat confdefs.h
>>conftest.
$ac_ext
11971 cat >>conftest.
$ac_ext <<_ACEOF
11972 /* end confdefs.h. */
11973 #include <$ac_header>
11975 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11976 case "(($ac_try" in
11977 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11978 *) ac_try_echo=$ac_try;;
11980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11981 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11983 grep -v '^ *+' conftest.er1 >conftest.err
11985 cat conftest.err >&5
11986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11987 (exit $ac_status); } >/dev/null && {
11988 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11989 test ! -s conftest.err
11991 ac_header_preproc=yes
11993 echo "$as_me: failed program was:" >&5
11994 sed 's/^/| /' conftest.$ac_ext >&5
11996 ac_header_preproc=no
11999 rm -f conftest.err conftest.$ac_ext
12000 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12001 echo "${ECHO_T}$ac_header_preproc" >&6; }
12003 # So? What about this header?
12004 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12006 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12007 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12008 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12009 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12010 ac_header_preproc=yes
12013 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12014 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12015 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12016 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12017 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12018 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12019 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12020 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12021 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12022 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12023 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12024 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12028 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12030 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12031 echo $ECHO_N "(cached) $ECHO_C" >&6
12033 eval "$as_ac_Header=\$ac_header_preproc"
12035 ac_res=`eval echo '${'$as_ac_Header'}'`
12036 { echo "$as_me:$LINENO: result: $ac_res" >&5
12037 echo "${ECHO_T}$ac_res" >&6; }
12040 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12041 cat >>confdefs.h <<_ACEOF
12042 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12051 for ac_header in sys/disk.h sys/mount.h
12053 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
12054 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12056 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12057 echo $ECHO_N "(cached) $ECHO_C" >&6
12059 cat >conftest.$ac_ext <<_ACEOF
12062 cat confdefs.h >>conftest.$ac_ext
12063 cat >>conftest.$ac_ext <<_ACEOF
12064 /* end confdefs.h. */
12066 #if HAVE_SYS_QUEUE_H
12067 #include <sys/queue.h>
12071 #include <$ac_header>
12073 rm -f conftest.$ac_objext
12074 if { (ac_try="$ac_compile"
12075 case "(($ac_try" in
12076 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12077 *) ac_try_echo
=$ac_try;;
12079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12080 (eval "$ac_compile") 2>conftest.er1
12082 grep -v '^ *+' conftest.er1
>conftest.err
12084 cat conftest.err
>&5
12085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12086 (exit $ac_status); } && {
12087 test -z "$ac_c_werror_flag" ||
12088 test ! -s conftest.err
12089 } && test -s conftest.
$ac_objext; then
12090 eval "$as_ac_Header=yes"
12092 echo "$as_me: failed program was:" >&5
12093 sed 's/^/| /' conftest.
$ac_ext >&5
12095 eval "$as_ac_Header=no"
12098 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12100 ac_res
=`eval echo '${'$as_ac_Header'}'`
12101 { echo "$as_me:$LINENO: result: $ac_res" >&5
12102 echo "${ECHO_T}$ac_res" >&6; }
12103 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12104 cat >>confdefs.h
<<_ACEOF
12105 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12113 for ac_header
in net
/if.h
12115 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12116 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12118 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12119 echo $ECHO_N "(cached) $ECHO_C" >&6
12121 cat >conftest.
$ac_ext <<_ACEOF
12124 cat confdefs.h
>>conftest.
$ac_ext
12125 cat >>conftest.
$ac_ext <<_ACEOF
12126 /* end confdefs.h. */
12128 #if HAVE_SYS_TYPES_H
12129 #include <sys/types.h>
12131 #if HAVE_SYS_SOCKET
12132 #include <sys/socket.h>
12136 #include <$ac_header>
12138 rm -f conftest.
$ac_objext
12139 if { (ac_try
="$ac_compile"
12140 case "(($ac_try" in
12141 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12142 *) ac_try_echo=$ac_try;;
12144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12145 (eval "$ac_compile") 2>conftest.er1
12147 grep -v '^ *+' conftest.er1 >conftest.err
12149 cat conftest.err >&5
12150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12151 (exit $ac_status); } && {
12152 test -z "$ac_c_werror_flag" ||
12153 test ! -s conftest.err
12154 } && test -s conftest.$ac_objext; then
12155 eval "$as_ac_Header=yes"
12157 echo "$as_me: failed program was:" >&5
12158 sed 's/^/| /' conftest.$ac_ext >&5
12160 eval "$as_ac_Header=no"
12163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12165 ac_res=`eval echo '${'$as_ac_Header'}'`
12166 { echo "$as_me:$LINENO: result: $ac_res" >&5
12167 echo "${ECHO_T}$ac_res" >&6; }
12168 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12169 cat >>confdefs.h <<_ACEOF
12170 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12178 for ac_func in vprintf
12180 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
12181 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12183 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12184 echo $ECHO_N "(cached) $ECHO_C" >&6
12186 cat >conftest.$ac_ext <<_ACEOF
12189 cat confdefs.h >>conftest.$ac_ext
12190 cat >>conftest.$ac_ext <<_ACEOF
12191 /* end confdefs.h. */
12192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12194 #define $ac_func innocuous_$ac_func
12196 /* System header to define __stub macros and hopefully few prototypes,
12197 which can conflict with char $ac_func (); below.
12198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12199 <limits.h> exists even on freestanding compilers. */
12202 # include <limits.h>
12204 # include <assert.h>
12209 /* Override any GCC internal prototype to avoid an error.
12210 Use char because int might match the return type of a GCC
12211 builtin and then its argument prototype would still apply. */
12216 /* The GNU C library defines this for functions which it implements
12217 to always fail with ENOSYS. Some functions are actually named
12218 something starting with __ and the normal name is an alias. */
12219 #if defined __stub_$ac_func || defined __stub___$ac_func
12226 return $ac_func ();
12231 rm -f conftest.$ac_objext conftest$ac_exeext
12232 if { (ac_try="$ac_link"
12233 case "(($ac_try" in
12234 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12235 *) ac_try_echo
=$ac_try;;
12237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12238 (eval "$ac_link") 2>conftest.er1
12240 grep -v '^ *+' conftest.er1
>conftest.err
12242 cat conftest.err
>&5
12243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12244 (exit $ac_status); } && {
12245 test -z "$ac_c_werror_flag" ||
12246 test ! -s conftest.err
12247 } && test -s conftest
$ac_exeext &&
12248 $as_test_x conftest
$ac_exeext; then
12249 eval "$as_ac_var=yes"
12251 echo "$as_me: failed program was:" >&5
12252 sed 's/^/| /' conftest.
$ac_ext >&5
12254 eval "$as_ac_var=no"
12257 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12258 conftest
$ac_exeext conftest.
$ac_ext
12260 ac_res
=`eval echo '${'$as_ac_var'}'`
12261 { echo "$as_me:$LINENO: result: $ac_res" >&5
12262 echo "${ECHO_T}$ac_res" >&6; }
12263 if test `eval echo '${'$as_ac_var'}'` = yes; then
12264 cat >>confdefs.h
<<_ACEOF
12265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12268 { echo "$as_me:$LINENO: checking for _doprnt" >&5
12269 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
12270 if test "${ac_cv_func__doprnt+set}" = set; then
12271 echo $ECHO_N "(cached) $ECHO_C" >&6
12273 cat >conftest.
$ac_ext <<_ACEOF
12276 cat confdefs.h
>>conftest.
$ac_ext
12277 cat >>conftest.
$ac_ext <<_ACEOF
12278 /* end confdefs.h. */
12279 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
12280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12281 #define _doprnt innocuous__doprnt
12283 /* System header to define __stub macros and hopefully few prototypes,
12284 which can conflict with char _doprnt (); below.
12285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12286 <limits.h> exists even on freestanding compilers. */
12289 # include <limits.h>
12291 # include <assert.h>
12296 /* Override any GCC internal prototype to avoid an error.
12297 Use char because int might match the return type of a GCC
12298 builtin and then its argument prototype would still apply. */
12303 /* The GNU C library defines this for functions which it implements
12304 to always fail with ENOSYS. Some functions are actually named
12305 something starting with __ and the normal name is an alias. */
12306 #if defined __stub__doprnt || defined __stub____doprnt
12318 rm -f conftest.
$ac_objext conftest
$ac_exeext
12319 if { (ac_try
="$ac_link"
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_link") 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_exeext &&
12335 $as_test_x conftest$ac_exeext; then
12336 ac_cv_func__doprnt=yes
12338 echo "$as_me: failed program was:" >&5
12339 sed 's/^/| /' conftest.$ac_ext >&5
12341 ac_cv_func__doprnt=no
12344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12345 conftest$ac_exeext conftest.$ac_ext
12347 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
12348 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
12349 if test $ac_cv_func__doprnt = yes; then
12351 cat >>confdefs.h <<\_ACEOF
12352 #define HAVE_DOPRNT 1
12361 { echo "$as_me:$LINENO: checking for struct dirent.d_reclen" >&5
12362 echo $ECHO_N "checking for struct dirent.d_reclen... $ECHO_C" >&6; }
12363 if test "${ac_cv_member_struct_dirent_d_reclen+set}" = set; then
12364 echo $ECHO_N "(cached) $ECHO_C" >&6
12366 cat >conftest.$ac_ext <<_ACEOF
12369 cat confdefs.h >>conftest.$ac_ext
12370 cat >>conftest.$ac_ext <<_ACEOF
12371 /* end confdefs.h. */
12372 #include <dirent.h>
12377 static struct dirent ac_aggr;
12378 if (ac_aggr.d_reclen)
12384 rm -f conftest.$ac_objext
12385 if { (ac_try="$ac_compile"
12386 case "(($ac_try" in
12387 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12388 *) ac_try_echo
=$ac_try;;
12390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12391 (eval "$ac_compile") 2>conftest.er1
12393 grep -v '^ *+' conftest.er1
>conftest.err
12395 cat conftest.err
>&5
12396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12397 (exit $ac_status); } && {
12398 test -z "$ac_c_werror_flag" ||
12399 test ! -s conftest.err
12400 } && test -s conftest.
$ac_objext; then
12401 ac_cv_member_struct_dirent_d_reclen
=yes
12403 echo "$as_me: failed program was:" >&5
12404 sed 's/^/| /' conftest.
$ac_ext >&5
12406 cat >conftest.
$ac_ext <<_ACEOF
12409 cat confdefs.h
>>conftest.
$ac_ext
12410 cat >>conftest.
$ac_ext <<_ACEOF
12411 /* end confdefs.h. */
12412 #include <dirent.h>
12417 static struct dirent ac_aggr;
12418 if (sizeof ac_aggr.d_reclen)
12424 rm -f conftest.
$ac_objext
12425 if { (ac_try
="$ac_compile"
12426 case "(($ac_try" in
12427 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12428 *) ac_try_echo=$ac_try;;
12430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12431 (eval "$ac_compile") 2>conftest.er1
12433 grep -v '^ *+' conftest.er1 >conftest.err
12435 cat conftest.err >&5
12436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12437 (exit $ac_status); } && {
12438 test -z "$ac_c_werror_flag" ||
12439 test ! -s conftest.err
12440 } && test -s conftest.$ac_objext; then
12441 ac_cv_member_struct_dirent_d_reclen=yes
12443 echo "$as_me: failed program was:" >&5
12444 sed 's/^/| /' conftest.$ac_ext >&5
12446 ac_cv_member_struct_dirent_d_reclen=no
12449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12454 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_dirent_d_reclen" >&5
12455 echo "${ECHO_T}$ac_cv_member_struct_dirent_d_reclen" >&6; }
12456 if test $ac_cv_member_struct_dirent_d_reclen = yes; then
12457 cat >>confdefs.h <<\_ACEOF
12458 #define HAVE_RECLEN_DIRENT 1
12463 { echo "$as_me:$LINENO: checking for ssize_t" >&5
12464 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
12465 if test "${ac_cv_type_ssize_t+set}" = set; then
12466 echo $ECHO_N "(cached) $ECHO_C" >&6
12468 cat >conftest.$ac_ext <<_ACEOF
12471 cat confdefs.h >>conftest.$ac_ext
12472 cat >>conftest.$ac_ext <<_ACEOF
12473 /* end confdefs.h. */
12474 #include <sys/types.h>
12476 typedef ssize_t ac__type_new_;
12480 if ((ac__type_new_ *) 0)
12482 if (sizeof (ac__type_new_))
12488 rm -f conftest.$ac_objext
12489 if { (ac_try="$ac_compile"
12490 case "(($ac_try" in
12491 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12492 *) ac_try_echo
=$ac_try;;
12494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12495 (eval "$ac_compile") 2>conftest.er1
12497 grep -v '^ *+' conftest.er1
>conftest.err
12499 cat conftest.err
>&5
12500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12501 (exit $ac_status); } && {
12502 test -z "$ac_c_werror_flag" ||
12503 test ! -s conftest.err
12504 } && test -s conftest.
$ac_objext; then
12505 ac_cv_type_ssize_t
=yes
12507 echo "$as_me: failed program was:" >&5
12508 sed 's/^/| /' conftest.
$ac_ext >&5
12510 ac_cv_type_ssize_t
=no
12513 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12515 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
12516 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
12517 if test $ac_cv_type_ssize_t = yes; then
12518 cat >>confdefs.h
<<\_ACEOF
12519 #define HAVE_TYPE_SSIZE_T 1
12524 { echo "$as_me:$LINENO: checking whether llseek is declared" >&5
12525 echo $ECHO_N "checking whether llseek is declared... $ECHO_C" >&6; }
12526 if test "${ac_cv_have_decl_llseek+set}" = set; then
12527 echo $ECHO_N "(cached) $ECHO_C" >&6
12529 cat >conftest.
$ac_ext <<_ACEOF
12532 cat confdefs.h
>>conftest.
$ac_ext
12533 cat >>conftest.
$ac_ext <<_ACEOF
12534 /* end confdefs.h. */
12535 #include <unistd.h>
12548 rm -f conftest.
$ac_objext
12549 if { (ac_try
="$ac_compile"
12550 case "(($ac_try" in
12551 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12552 *) ac_try_echo=$ac_try;;
12554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12555 (eval "$ac_compile") 2>conftest.er1
12557 grep -v '^ *+' conftest.er1 >conftest.err
12559 cat conftest.err >&5
12560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12561 (exit $ac_status); } && {
12562 test -z "$ac_c_werror_flag" ||
12563 test ! -s conftest.err
12564 } && test -s conftest.$ac_objext; then
12565 ac_cv_have_decl_llseek=yes
12567 echo "$as_me: failed program was:" >&5
12568 sed 's/^/| /' conftest.$ac_ext >&5
12570 ac_cv_have_decl_llseek=no
12573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12575 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_llseek" >&5
12576 echo "${ECHO_T}$ac_cv_have_decl_llseek" >&6; }
12577 if test $ac_cv_have_decl_llseek = yes; then
12578 cat >>confdefs.h <<\_ACEOF
12579 #define HAVE_LLSEEK_PROTOTYPE 1
12584 { echo "$as_me:$LINENO: checking whether lseek64 is declared" >&5
12585 echo $ECHO_N "checking whether lseek64 is declared... $ECHO_C" >&6; }
12586 if test "${ac_cv_have_decl_lseek64+set}" = set; then
12587 echo $ECHO_N "(cached) $ECHO_C" >&6
12589 cat >conftest.$ac_ext <<_ACEOF
12592 cat confdefs.h >>conftest.$ac_ext
12593 cat >>conftest.$ac_ext <<_ACEOF
12594 /* end confdefs.h. */
12595 #define _LARGEFILE_SOURCE
12596 #define _LARGEFILE64_SOURCE
12597 #include <unistd.h>
12610 rm -f conftest.$ac_objext
12611 if { (ac_try="$ac_compile"
12612 case "(($ac_try" in
12613 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12614 *) ac_try_echo
=$ac_try;;
12616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12617 (eval "$ac_compile") 2>conftest.er1
12619 grep -v '^ *+' conftest.er1
>conftest.err
12621 cat conftest.err
>&5
12622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12623 (exit $ac_status); } && {
12624 test -z "$ac_c_werror_flag" ||
12625 test ! -s conftest.err
12626 } && test -s conftest.
$ac_objext; then
12627 ac_cv_have_decl_lseek64
=yes
12629 echo "$as_me: failed program was:" >&5
12630 sed 's/^/| /' conftest.
$ac_ext >&5
12632 ac_cv_have_decl_lseek64
=no
12635 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12637 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_lseek64" >&5
12638 echo "${ECHO_T}$ac_cv_have_decl_lseek64" >&6; }
12639 if test $ac_cv_have_decl_lseek64 = yes; then
12640 cat >>confdefs.h
<<\_ACEOF
12641 #define HAVE_LSEEK64_PROTOTYPE 1
12646 { echo "$as_me:$LINENO: checking for short" >&5
12647 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
12648 if test "${ac_cv_type_short+set}" = set; then
12649 echo $ECHO_N "(cached) $ECHO_C" >&6
12651 cat >conftest.
$ac_ext <<_ACEOF
12654 cat confdefs.h
>>conftest.
$ac_ext
12655 cat >>conftest.
$ac_ext <<_ACEOF
12656 /* end confdefs.h. */
12657 $ac_includes_default
12658 typedef short ac__type_new_;
12662 if ((ac__type_new_ *) 0)
12664 if (sizeof (ac__type_new_))
12670 rm -f conftest.
$ac_objext
12671 if { (ac_try
="$ac_compile"
12672 case "(($ac_try" in
12673 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12674 *) ac_try_echo=$ac_try;;
12676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12677 (eval "$ac_compile") 2>conftest.er1
12679 grep -v '^ *+' conftest.er1 >conftest.err
12681 cat conftest.err >&5
12682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12683 (exit $ac_status); } && {
12684 test -z "$ac_c_werror_flag" ||
12685 test ! -s conftest.err
12686 } && test -s conftest.$ac_objext; then
12687 ac_cv_type_short=yes
12689 echo "$as_me: failed program was:" >&5
12690 sed 's/^/| /' conftest.$ac_ext >&5
12692 ac_cv_type_short=no
12695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12697 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
12698 echo "${ECHO_T}$ac_cv_type_short" >&6; }
12700 # The cast to long int works around a bug in the HP C Compiler
12701 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12702 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
12703 # This bug is HP SR number 8606223364.
12704 { echo "$as_me:$LINENO: checking size of short" >&5
12705 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
12706 if test "${ac_cv_sizeof_short+set}" = set; then
12707 echo $ECHO_N "(cached) $ECHO_C" >&6
12709 if test "$cross_compiling" = yes; then
12710 # Depending upon the size, compute the lo and hi bounds.
12711 cat >conftest.$ac_ext <<_ACEOF
12714 cat confdefs.h >>conftest.$ac_ext
12715 cat >>conftest.$ac_ext <<_ACEOF
12716 /* end confdefs.h. */
12717 $ac_includes_default
12718 typedef short ac__type_sizeof_;
12722 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
12729 rm -f conftest.$ac_objext
12730 if { (ac_try="$ac_compile"
12731 case "(($ac_try" in
12732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12733 *) ac_try_echo=$ac_try;;
12735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12736 (eval "$ac_compile") 2>conftest.er1
12738 grep -v '^
*+' conftest.er1 >conftest.err
12740 cat conftest.err >&5
12741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12742 (exit $ac_status); } && {
12743 test -z "$ac_c_werror_flag" ||
12744 test ! -s conftest.err
12745 } && test -s conftest.$ac_objext; then
12748 cat >conftest.$ac_ext <<_ACEOF
12751 cat confdefs.h >>conftest.$ac_ext
12752 cat >>conftest.$ac_ext <<_ACEOF
12753 /* end confdefs.h. */
12754 $ac_includes_default
12755 typedef short ac__type_sizeof_;
12759 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
12766 rm -f conftest.$ac_objext
12767 if { (ac_try="$ac_compile"
12768 case "(($ac_try" in
12769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12770 *) ac_try_echo=$ac_try;;
12772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12773 (eval "$ac_compile") 2>conftest.er1
12775 grep -v '^
*+' conftest.er1 >conftest.err
12777 cat conftest.err >&5
12778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12779 (exit $ac_status); } && {
12780 test -z "$ac_c_werror_flag" ||
12781 test ! -s conftest.err
12782 } && test -s conftest.$ac_objext; then
12783 ac_hi=$ac_mid; break
12785 echo "$as_me: failed program was:" >&5
12786 sed 's
/^
/|
/' conftest.$ac_ext >&5
12788 ac_lo=`expr $ac_mid + 1`
12789 if test $ac_lo -le $ac_mid; then
12793 ac_mid=`expr 2 '*' $ac_mid + 1`
12796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12799 echo "$as_me: failed program was:" >&5
12800 sed 's
/^
/|
/' conftest.$ac_ext >&5
12802 cat >conftest.$ac_ext <<_ACEOF
12805 cat confdefs.h >>conftest.$ac_ext
12806 cat >>conftest.$ac_ext <<_ACEOF
12807 /* end confdefs.h. */
12808 $ac_includes_default
12809 typedef short ac__type_sizeof_;
12813 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
12820 rm -f conftest.$ac_objext
12821 if { (ac_try="$ac_compile"
12822 case "(($ac_try" in
12823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12824 *) ac_try_echo=$ac_try;;
12826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12827 (eval "$ac_compile") 2>conftest.er1
12829 grep -v '^
*+' conftest.er1 >conftest.err
12831 cat conftest.err >&5
12832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12833 (exit $ac_status); } && {
12834 test -z "$ac_c_werror_flag" ||
12835 test ! -s conftest.err
12836 } && test -s conftest.$ac_objext; then
12839 cat >conftest.$ac_ext <<_ACEOF
12842 cat confdefs.h >>conftest.$ac_ext
12843 cat >>conftest.$ac_ext <<_ACEOF
12844 /* end confdefs.h. */
12845 $ac_includes_default
12846 typedef short ac__type_sizeof_;
12850 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
12857 rm -f conftest.$ac_objext
12858 if { (ac_try="$ac_compile"
12859 case "(($ac_try" in
12860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12861 *) ac_try_echo=$ac_try;;
12863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12864 (eval "$ac_compile") 2>conftest.er1
12866 grep -v '^
*+' conftest.er1 >conftest.err
12868 cat conftest.err >&5
12869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12870 (exit $ac_status); } && {
12871 test -z "$ac_c_werror_flag" ||
12872 test ! -s conftest.err
12873 } && test -s conftest.$ac_objext; then
12874 ac_lo=$ac_mid; break
12876 echo "$as_me: failed program was:" >&5
12877 sed 's
/^
/|
/' conftest.$ac_ext >&5
12879 ac_hi=`expr '(' $ac_mid ')' - 1`
12880 if test $ac_mid -le $ac_hi; then
12884 ac_mid=`expr 2 '*' $ac_mid`
12887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12890 echo "$as_me: failed program was:" >&5
12891 sed 's
/^
/|
/' conftest.$ac_ext >&5
12896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12900 # Binary search between lo and hi bounds.
12901 while test "x$ac_lo" != "x$ac_hi"; do
12902 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12903 cat >conftest.$ac_ext <<_ACEOF
12906 cat confdefs.h >>conftest.$ac_ext
12907 cat >>conftest.$ac_ext <<_ACEOF
12908 /* end confdefs.h. */
12909 $ac_includes_default
12910 typedef short ac__type_sizeof_;
12914 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
12921 rm -f conftest.$ac_objext
12922 if { (ac_try="$ac_compile"
12923 case "(($ac_try" in
12924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12925 *) ac_try_echo=$ac_try;;
12927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12928 (eval "$ac_compile") 2>conftest.er1
12930 grep -v '^
*+' conftest.er1 >conftest.err
12932 cat conftest.err >&5
12933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12934 (exit $ac_status); } && {
12935 test -z "$ac_c_werror_flag" ||
12936 test ! -s conftest.err
12937 } && test -s conftest.$ac_objext; then
12940 echo "$as_me: failed program was:" >&5
12941 sed 's
/^
/|
/' conftest.$ac_ext >&5
12943 ac_lo=`expr '(' $ac_mid ')' + 1`
12946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12949 ?*) ac_cv_sizeof_short=$ac_lo;;
12950 '') if test "$ac_cv_type_short" = yes; then
12951 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
12952 See \`config.log' for more details.
" >&5
12953 echo "$as_me: error
: cannot compute sizeof
(short
)
12954 See \
`config.log' for more details." >&2;}
12955 { (exit 77); exit 77; }; }
12957 ac_cv_sizeof_short=0
12961 cat >conftest.$ac_ext <<_ACEOF
12964 cat confdefs.h >>conftest.$ac_ext
12965 cat >>conftest.$ac_ext <<_ACEOF
12966 /* end confdefs.h. */
12967 $ac_includes_default
12968 typedef short ac__type_sizeof_;
12969 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
12970 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
12972 #include <stdlib.h>
12977 FILE *f = fopen ("conftest.val", "w");
12980 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
12982 long int i = longval ();
12983 if (i != ((long int) (sizeof (ac__type_sizeof_))))
12985 fprintf (f, "%ld\n", i);
12989 unsigned long int i = ulongval ();
12990 if (i != ((long int) (sizeof (ac__type_sizeof_))))
12992 fprintf (f, "%lu\n", i);
12994 return ferror (f) || fclose (f) != 0;
13000 rm -f conftest$ac_exeext
13001 if { (ac_try="$ac_link"
13002 case "(($ac_try" in
13003 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13004 *) ac_try_echo
=$ac_try;;
13006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13007 (eval "$ac_link") 2>&5
13009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13010 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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_try") 2>&5
13018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13019 (exit $ac_status); }; }; then
13020 ac_cv_sizeof_short=`cat conftest.val
`
13022 echo "$as_me: program exited with status $ac_status" >&5
13023 echo "$as_me: failed program was:" >&5
13024 sed 's/^/| /' conftest.$ac_ext >&5
13026 ( exit $ac_status )
13027 if test "$ac_cv_type_short" = yes; then
13028 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
13029 See \`config.log
' for more details." >&5
13030 echo "$as_me: error: cannot compute sizeof (short)
13031 See \`config.log' for more details.
" >&2;}
13032 { (exit 77); exit 77; }; }
13034 ac_cv_sizeof_short=0
13037 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13041 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_short" >&5
13042 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
13046 cat >>confdefs.h <<_ACEOF
13047 #define SIZEOF_SHORT $ac_cv_sizeof_short
13051 { echo "$as_me:$LINENO: checking
for int
" >&5
13052 echo $ECHO_N "checking
for int...
$ECHO_C" >&6; }
13053 if test "${ac_cv_type_int+set}" = set; then
13054 echo $ECHO_N "(cached
) $ECHO_C" >&6
13056 cat >conftest.$ac_ext <<_ACEOF
13059 cat confdefs.h >>conftest.$ac_ext
13060 cat >>conftest.$ac_ext <<_ACEOF
13061 /* end confdefs.h. */
13062 $ac_includes_default
13063 typedef int ac__type_new_;
13067 if ((ac__type_new_ *) 0)
13069 if (sizeof (ac__type_new_))
13075 rm -f conftest.$ac_objext
13076 if { (ac_try="$ac_compile"
13077 case "(($ac_try" in
13078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13079 *) ac_try_echo=$ac_try;;
13081 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13082 (eval "$ac_compile") 2>conftest.er1
13084 grep -v '^ *+' conftest.er1 >conftest.err
13086 cat conftest.err >&5
13087 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13088 (exit $ac_status); } && {
13089 test -z "$ac_c_werror_flag" ||
13090 test ! -s conftest.err
13091 } && test -s conftest.$ac_objext; then
13094 echo "$as_me: failed program was
:" >&5
13095 sed 's/^/| /' conftest.$ac_ext >&5
13100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13102 { echo "$as_me:$LINENO: result
: $ac_cv_type_int" >&5
13103 echo "${ECHO_T}$ac_cv_type_int" >&6; }
13105 # The cast to long int works around a bug in the HP C Compiler
13106 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13107 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13108 # This bug is HP SR number 8606223364.
13109 { echo "$as_me:$LINENO: checking size of int
" >&5
13110 echo $ECHO_N "checking size of int...
$ECHO_C" >&6; }
13111 if test "${ac_cv_sizeof_int+set}" = set; then
13112 echo $ECHO_N "(cached
) $ECHO_C" >&6
13114 if test "$cross_compiling" = yes; then
13115 # Depending upon the size, compute the lo and hi bounds.
13116 cat >conftest.$ac_ext <<_ACEOF
13119 cat confdefs.h >>conftest.$ac_ext
13120 cat >>conftest.$ac_ext <<_ACEOF
13121 /* end confdefs.h. */
13122 $ac_includes_default
13123 typedef int ac__type_sizeof_;
13127 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
13134 rm -f conftest.$ac_objext
13135 if { (ac_try="$ac_compile"
13136 case "(($ac_try" in
13137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13138 *) ac_try_echo=$ac_try;;
13140 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13141 (eval "$ac_compile") 2>conftest.er1
13143 grep -v '^ *+' conftest.er1 >conftest.err
13145 cat conftest.err >&5
13146 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13147 (exit $ac_status); } && {
13148 test -z "$ac_c_werror_flag" ||
13149 test ! -s conftest.err
13150 } && test -s conftest.$ac_objext; then
13153 cat >conftest.$ac_ext <<_ACEOF
13156 cat confdefs.h >>conftest.$ac_ext
13157 cat >>conftest.$ac_ext <<_ACEOF
13158 /* end confdefs.h. */
13159 $ac_includes_default
13160 typedef int ac__type_sizeof_;
13164 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
13171 rm -f conftest.$ac_objext
13172 if { (ac_try="$ac_compile"
13173 case "(($ac_try" in
13174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13175 *) ac_try_echo=$ac_try;;
13177 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13178 (eval "$ac_compile") 2>conftest.er1
13180 grep -v '^ *+' conftest.er1 >conftest.err
13182 cat conftest.err >&5
13183 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13184 (exit $ac_status); } && {
13185 test -z "$ac_c_werror_flag" ||
13186 test ! -s conftest.err
13187 } && test -s conftest.$ac_objext; then
13188 ac_hi=$ac_mid; break
13190 echo "$as_me: failed program was
:" >&5
13191 sed 's/^/| /' conftest.$ac_ext >&5
13193 ac_lo=`expr $ac_mid + 1`
13194 if test $ac_lo -le $ac_mid; then
13198 ac_mid=`expr 2 '*' $ac_mid + 1`
13201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13204 echo "$as_me: failed program was
:" >&5
13205 sed 's/^/| /' conftest.$ac_ext >&5
13207 cat >conftest.$ac_ext <<_ACEOF
13210 cat confdefs.h >>conftest.$ac_ext
13211 cat >>conftest.$ac_ext <<_ACEOF
13212 /* end confdefs.h. */
13213 $ac_includes_default
13214 typedef int ac__type_sizeof_;
13218 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
13225 rm -f conftest.$ac_objext
13226 if { (ac_try="$ac_compile"
13227 case "(($ac_try" in
13228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13229 *) ac_try_echo=$ac_try;;
13231 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13232 (eval "$ac_compile") 2>conftest.er1
13234 grep -v '^ *+' conftest.er1 >conftest.err
13236 cat conftest.err >&5
13237 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13238 (exit $ac_status); } && {
13239 test -z "$ac_c_werror_flag" ||
13240 test ! -s conftest.err
13241 } && test -s conftest.$ac_objext; then
13244 cat >conftest.$ac_ext <<_ACEOF
13247 cat confdefs.h >>conftest.$ac_ext
13248 cat >>conftest.$ac_ext <<_ACEOF
13249 /* end confdefs.h. */
13250 $ac_includes_default
13251 typedef int ac__type_sizeof_;
13255 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
13262 rm -f conftest.$ac_objext
13263 if { (ac_try="$ac_compile"
13264 case "(($ac_try" in
13265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13266 *) ac_try_echo=$ac_try;;
13268 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13269 (eval "$ac_compile") 2>conftest.er1
13271 grep -v '^ *+' conftest.er1 >conftest.err
13273 cat conftest.err >&5
13274 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13275 (exit $ac_status); } && {
13276 test -z "$ac_c_werror_flag" ||
13277 test ! -s conftest.err
13278 } && test -s conftest.$ac_objext; then
13279 ac_lo=$ac_mid; break
13281 echo "$as_me: failed program was
:" >&5
13282 sed 's/^/| /' conftest.$ac_ext >&5
13284 ac_hi=`expr '(' $ac_mid ')' - 1`
13285 if test $ac_mid -le $ac_hi; then
13289 ac_mid=`expr 2 '*' $ac_mid`
13292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13295 echo "$as_me: failed program was
:" >&5
13296 sed 's/^/| /' conftest.$ac_ext >&5
13301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13305 # Binary search between lo and hi bounds.
13306 while test "x
$ac_lo" != "x
$ac_hi"; do
13307 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13308 cat >conftest.$ac_ext <<_ACEOF
13311 cat confdefs.h >>conftest.$ac_ext
13312 cat >>conftest.$ac_ext <<_ACEOF
13313 /* end confdefs.h. */
13314 $ac_includes_default
13315 typedef int ac__type_sizeof_;
13319 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
13326 rm -f conftest.$ac_objext
13327 if { (ac_try="$ac_compile"
13328 case "(($ac_try" in
13329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13330 *) ac_try_echo=$ac_try;;
13332 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13333 (eval "$ac_compile") 2>conftest.er1
13335 grep -v '^ *+' conftest.er1 >conftest.err
13337 cat conftest.err >&5
13338 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13339 (exit $ac_status); } && {
13340 test -z "$ac_c_werror_flag" ||
13341 test ! -s conftest.err
13342 } && test -s conftest.$ac_objext; then
13345 echo "$as_me: failed program was
:" >&5
13346 sed 's/^/| /' conftest.$ac_ext >&5
13348 ac_lo=`expr '(' $ac_mid ')' + 1`
13351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13354 ?*) ac_cv_sizeof_int=$ac_lo;;
13355 '') if test "$ac_cv_type_int" = yes; then
13356 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
13357 See \
`config.log' for more details." >&5
13358 echo "$as_me: error: cannot compute sizeof (int)
13359 See \`config.log
' for more details." >&2;}
13360 { (exit 77); exit 77; }; }
13366 cat >conftest.$ac_ext <<_ACEOF
13369 cat confdefs.h >>conftest.$ac_ext
13370 cat >>conftest.$ac_ext <<_ACEOF
13371 /* end confdefs.h. */
13372 $ac_includes_default
13373 typedef int ac__type_sizeof_;
13374 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
13375 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
13377 #include <stdlib.h>
13382 FILE *f = fopen ("conftest.val", "w");
13385 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
13387 long int i = longval ();
13388 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13390 fprintf (f, "%ld\n", i);
13394 unsigned long int i = ulongval ();
13395 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13397 fprintf (f, "%lu\n", i);
13399 return ferror (f) || fclose (f) != 0;
13405 rm -f conftest$ac_exeext
13406 if { (ac_try="$ac_link"
13407 case "(($ac_try" in
13408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13409 *) ac_try_echo=$ac_try;;
13411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13412 (eval "$ac_link") 2>&5
13414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13415 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
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_try") 2>&5
13423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13424 (exit $ac_status); }; }; then
13425 ac_cv_sizeof_int=`cat conftest.val`
13427 echo "$as_me: program exited with status $ac_status" >&5
13428 echo "$as_me: failed program was:" >&5
13429 sed 's
/^
/|
/' conftest.$ac_ext >&5
13431 ( exit $ac_status )
13432 if test "$ac_cv_type_int" = yes; then
13433 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
13434 See \`config.log' for more details.
" >&5
13435 echo "$as_me: error
: cannot compute sizeof
(int
)
13436 See \
`config.log' for more details." >&2;}
13437 { (exit 77); exit 77; }; }
13442 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13446 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
13447 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
13451 cat >>confdefs.h <<_ACEOF
13452 #define SIZEOF_INT $ac_cv_sizeof_int
13456 { echo "$as_me:$LINENO: checking for long" >&5
13457 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
13458 if test "${ac_cv_type_long+set}" = set; then
13459 echo $ECHO_N "(cached) $ECHO_C" >&6
13461 cat >conftest.$ac_ext <<_ACEOF
13464 cat confdefs.h >>conftest.$ac_ext
13465 cat >>conftest.$ac_ext <<_ACEOF
13466 /* end confdefs.h. */
13467 $ac_includes_default
13468 typedef long ac__type_new_;
13472 if ((ac__type_new_ *) 0)
13474 if (sizeof (ac__type_new_))
13480 rm -f conftest.$ac_objext
13481 if { (ac_try="$ac_compile"
13482 case "(($ac_try" in
13483 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13484 *) ac_try_echo
=$ac_try;;
13486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13487 (eval "$ac_compile") 2>conftest.er1
13489 grep -v '^ *+' conftest.er1
>conftest.err
13491 cat conftest.err
>&5
13492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13493 (exit $ac_status); } && {
13494 test -z "$ac_c_werror_flag" ||
13495 test ! -s conftest.err
13496 } && test -s conftest.
$ac_objext; then
13497 ac_cv_type_long
=yes
13499 echo "$as_me: failed program was:" >&5
13500 sed 's/^/| /' conftest.
$ac_ext >&5
13505 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13507 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
13508 echo "${ECHO_T}$ac_cv_type_long" >&6; }
13510 # The cast to long int works around a bug in the HP C Compiler
13511 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13512 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13513 # This bug is HP SR number 8606223364.
13514 { echo "$as_me:$LINENO: checking size of long" >&5
13515 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
13516 if test "${ac_cv_sizeof_long+set}" = set; then
13517 echo $ECHO_N "(cached) $ECHO_C" >&6
13519 if test "$cross_compiling" = yes; then
13520 # Depending upon the size, compute the lo and hi bounds.
13521 cat >conftest.
$ac_ext <<_ACEOF
13524 cat confdefs.h
>>conftest.
$ac_ext
13525 cat >>conftest.
$ac_ext <<_ACEOF
13526 /* end confdefs.h. */
13527 $ac_includes_default
13528 typedef long ac__type_sizeof_;
13532 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
13539 rm -f conftest.
$ac_objext
13540 if { (ac_try
="$ac_compile"
13541 case "(($ac_try" in
13542 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13543 *) ac_try_echo=$ac_try;;
13545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13546 (eval "$ac_compile") 2>conftest.er1
13548 grep -v '^ *+' conftest.er1 >conftest.err
13550 cat conftest.err >&5
13551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13552 (exit $ac_status); } && {
13553 test -z "$ac_c_werror_flag" ||
13554 test ! -s conftest.err
13555 } && test -s conftest.$ac_objext; then
13558 cat >conftest.$ac_ext <<_ACEOF
13561 cat confdefs.h >>conftest.$ac_ext
13562 cat >>conftest.$ac_ext <<_ACEOF
13563 /* end confdefs.h. */
13564 $ac_includes_default
13565 typedef long ac__type_sizeof_;
13569 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
13576 rm -f conftest.$ac_objext
13577 if { (ac_try="$ac_compile"
13578 case "(($ac_try" in
13579 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13580 *) ac_try_echo
=$ac_try;;
13582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13583 (eval "$ac_compile") 2>conftest.er1
13585 grep -v '^ *+' conftest.er1
>conftest.err
13587 cat conftest.err
>&5
13588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13589 (exit $ac_status); } && {
13590 test -z "$ac_c_werror_flag" ||
13591 test ! -s conftest.err
13592 } && test -s conftest.
$ac_objext; then
13593 ac_hi
=$ac_mid; break
13595 echo "$as_me: failed program was:" >&5
13596 sed 's/^/| /' conftest.
$ac_ext >&5
13598 ac_lo
=`expr $ac_mid + 1`
13599 if test $ac_lo -le $ac_mid; then
13603 ac_mid
=`expr 2 '*' $ac_mid + 1`
13606 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13609 echo "$as_me: failed program was:" >&5
13610 sed 's/^/| /' conftest.
$ac_ext >&5
13612 cat >conftest.
$ac_ext <<_ACEOF
13615 cat confdefs.h
>>conftest.
$ac_ext
13616 cat >>conftest.
$ac_ext <<_ACEOF
13617 /* end confdefs.h. */
13618 $ac_includes_default
13619 typedef long ac__type_sizeof_;
13623 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
13630 rm -f conftest.
$ac_objext
13631 if { (ac_try
="$ac_compile"
13632 case "(($ac_try" in
13633 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13634 *) ac_try_echo=$ac_try;;
13636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13637 (eval "$ac_compile") 2>conftest.er1
13639 grep -v '^ *+' conftest.er1 >conftest.err
13641 cat conftest.err >&5
13642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13643 (exit $ac_status); } && {
13644 test -z "$ac_c_werror_flag" ||
13645 test ! -s conftest.err
13646 } && test -s conftest.$ac_objext; then
13649 cat >conftest.$ac_ext <<_ACEOF
13652 cat confdefs.h >>conftest.$ac_ext
13653 cat >>conftest.$ac_ext <<_ACEOF
13654 /* end confdefs.h. */
13655 $ac_includes_default
13656 typedef long ac__type_sizeof_;
13660 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
13667 rm -f conftest.$ac_objext
13668 if { (ac_try="$ac_compile"
13669 case "(($ac_try" in
13670 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13671 *) ac_try_echo
=$ac_try;;
13673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13674 (eval "$ac_compile") 2>conftest.er1
13676 grep -v '^ *+' conftest.er1
>conftest.err
13678 cat conftest.err
>&5
13679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680 (exit $ac_status); } && {
13681 test -z "$ac_c_werror_flag" ||
13682 test ! -s conftest.err
13683 } && test -s conftest.
$ac_objext; then
13684 ac_lo
=$ac_mid; break
13686 echo "$as_me: failed program was:" >&5
13687 sed 's/^/| /' conftest.
$ac_ext >&5
13689 ac_hi
=`expr '(' $ac_mid ')' - 1`
13690 if test $ac_mid -le $ac_hi; then
13694 ac_mid
=`expr 2 '*' $ac_mid`
13697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13700 echo "$as_me: failed program was:" >&5
13701 sed 's/^/| /' conftest.
$ac_ext >&5
13706 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13709 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13710 # Binary search between lo and hi bounds.
13711 while test "x$ac_lo" != "x$ac_hi"; do
13712 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13713 cat >conftest.
$ac_ext <<_ACEOF
13716 cat confdefs.h
>>conftest.
$ac_ext
13717 cat >>conftest.
$ac_ext <<_ACEOF
13718 /* end confdefs.h. */
13719 $ac_includes_default
13720 typedef long ac__type_sizeof_;
13724 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
13731 rm -f conftest.
$ac_objext
13732 if { (ac_try
="$ac_compile"
13733 case "(($ac_try" in
13734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13735 *) ac_try_echo=$ac_try;;
13737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13738 (eval "$ac_compile") 2>conftest.er1
13740 grep -v '^ *+' conftest.er1 >conftest.err
13742 cat conftest.err >&5
13743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13744 (exit $ac_status); } && {
13745 test -z "$ac_c_werror_flag" ||
13746 test ! -s conftest.err
13747 } && test -s conftest.$ac_objext; then
13750 echo "$as_me: failed program was:" >&5
13751 sed 's/^/| /' conftest.$ac_ext >&5
13753 ac_lo=`expr '(' $ac_mid ')' + 1`
13756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13759 ?*) ac_cv_sizeof_long=$ac_lo;;
13760 '') if test "$ac_cv_type_long" = yes; then
13761 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
13762 See \`config.log
' for more details." >&5
13763 echo "$as_me: error: cannot compute sizeof (long)
13764 See \`config.log' for more details.
" >&2;}
13765 { (exit 77); exit 77; }; }
13767 ac_cv_sizeof_long=0
13771 cat >conftest.$ac_ext <<_ACEOF
13774 cat confdefs.h >>conftest.$ac_ext
13775 cat >>conftest.$ac_ext <<_ACEOF
13776 /* end confdefs.h. */
13777 $ac_includes_default
13778 typedef long ac__type_sizeof_;
13779 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
13780 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
13782 #include <stdlib.h>
13787 FILE *f = fopen ("conftest.val
", "w
");
13790 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
13792 long int i = longval ();
13793 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13795 fprintf (f, "%ld
\n", i);
13799 unsigned long int i = ulongval ();
13800 if (i != ((long int) (sizeof (ac__type_sizeof_))))
13802 fprintf (f, "%lu
\n", i);
13804 return ferror (f) || fclose (f) != 0;
13810 rm -f conftest$ac_exeext
13811 if { (ac_try="$ac_link"
13812 case "(($ac_try" in
13813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13814 *) ac_try_echo=$ac_try;;
13816 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13817 (eval "$ac_link") 2>&5
13819 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13820 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
13828 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13829 (exit $ac_status); }; }; then
13830 ac_cv_sizeof_long=`cat conftest.val`
13832 echo "$as_me: program exited with status
$ac_status" >&5
13833 echo "$as_me: failed program was
:" >&5
13834 sed 's/^/| /' conftest.$ac_ext >&5
13836 ( exit $ac_status )
13837 if test "$ac_cv_type_long" = yes; then
13838 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
13839 See \
`config.log' for more details." >&5
13840 echo "$as_me: error: cannot compute sizeof (long)
13841 See \`config.log
' for more details." >&2;}
13842 { (exit 77); exit 77; }; }
13844 ac_cv_sizeof_long=0
13847 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13851 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
13852 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
13856 cat >>confdefs.h <<_ACEOF
13857 #define SIZEOF_LONG $ac_cv_sizeof_long
13861 { echo "$as_me:$LINENO: checking for long long" >&5
13862 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
13863 if test "${ac_cv_type_long_long+set}" = set; then
13864 echo $ECHO_N "(cached) $ECHO_C" >&6
13866 cat >conftest.$ac_ext <<_ACEOF
13869 cat confdefs.h >>conftest.$ac_ext
13870 cat >>conftest.$ac_ext <<_ACEOF
13871 /* end confdefs.h. */
13872 $ac_includes_default
13873 typedef long long ac__type_new_;
13877 if ((ac__type_new_ *) 0)
13879 if (sizeof (ac__type_new_))
13885 rm -f conftest.$ac_objext
13886 if { (ac_try="$ac_compile"
13887 case "(($ac_try" in
13888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13889 *) ac_try_echo=$ac_try;;
13891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13892 (eval "$ac_compile") 2>conftest.er1
13894 grep -v '^
*+' conftest.er1 >conftest.err
13896 cat conftest.err >&5
13897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13898 (exit $ac_status); } && {
13899 test -z "$ac_c_werror_flag" ||
13900 test ! -s conftest.err
13901 } && test -s conftest.$ac_objext; then
13902 ac_cv_type_long_long=yes
13904 echo "$as_me: failed program was:" >&5
13905 sed 's
/^
/|
/' conftest.$ac_ext >&5
13907 ac_cv_type_long_long=no
13910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13912 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
13913 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
13915 # The cast to long int works around a bug in the HP C Compiler
13916 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13917 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13918 # This bug is HP SR number 8606223364.
13919 { echo "$as_me:$LINENO: checking size of long long" >&5
13920 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
13921 if test "${ac_cv_sizeof_long_long+set}" = set; then
13922 echo $ECHO_N "(cached) $ECHO_C" >&6
13924 if test "$cross_compiling" = yes; then
13925 # Depending upon the size, compute the lo and hi bounds.
13926 cat >conftest.
$ac_ext <<_ACEOF
13929 cat confdefs.h
>>conftest.
$ac_ext
13930 cat >>conftest.
$ac_ext <<_ACEOF
13931 /* end confdefs.h. */
13932 $ac_includes_default
13933 typedef long long ac__type_sizeof_;
13937 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
13944 rm -f conftest.
$ac_objext
13945 if { (ac_try
="$ac_compile"
13946 case "(($ac_try" in
13947 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13948 *) ac_try_echo=$ac_try;;
13950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13951 (eval "$ac_compile") 2>conftest.er1
13953 grep -v '^ *+' conftest.er1 >conftest.err
13955 cat conftest.err >&5
13956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13957 (exit $ac_status); } && {
13958 test -z "$ac_c_werror_flag" ||
13959 test ! -s conftest.err
13960 } && test -s conftest.$ac_objext; then
13963 cat >conftest.$ac_ext <<_ACEOF
13966 cat confdefs.h >>conftest.$ac_ext
13967 cat >>conftest.$ac_ext <<_ACEOF
13968 /* end confdefs.h. */
13969 $ac_includes_default
13970 typedef long long ac__type_sizeof_;
13974 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
13981 rm -f conftest.$ac_objext
13982 if { (ac_try="$ac_compile"
13983 case "(($ac_try" in
13984 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13985 *) ac_try_echo
=$ac_try;;
13987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13988 (eval "$ac_compile") 2>conftest.er1
13990 grep -v '^ *+' conftest.er1
>conftest.err
13992 cat conftest.err
>&5
13993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13994 (exit $ac_status); } && {
13995 test -z "$ac_c_werror_flag" ||
13996 test ! -s conftest.err
13997 } && test -s conftest.
$ac_objext; then
13998 ac_hi
=$ac_mid; break
14000 echo "$as_me: failed program was:" >&5
14001 sed 's/^/| /' conftest.
$ac_ext >&5
14003 ac_lo
=`expr $ac_mid + 1`
14004 if test $ac_lo -le $ac_mid; then
14008 ac_mid
=`expr 2 '*' $ac_mid + 1`
14011 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14014 echo "$as_me: failed program was:" >&5
14015 sed 's/^/| /' conftest.
$ac_ext >&5
14017 cat >conftest.
$ac_ext <<_ACEOF
14020 cat confdefs.h
>>conftest.
$ac_ext
14021 cat >>conftest.
$ac_ext <<_ACEOF
14022 /* end confdefs.h. */
14023 $ac_includes_default
14024 typedef long long ac__type_sizeof_;
14028 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
14035 rm -f conftest.
$ac_objext
14036 if { (ac_try
="$ac_compile"
14037 case "(($ac_try" in
14038 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14039 *) ac_try_echo=$ac_try;;
14041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14042 (eval "$ac_compile") 2>conftest.er1
14044 grep -v '^ *+' conftest.er1 >conftest.err
14046 cat conftest.err >&5
14047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14048 (exit $ac_status); } && {
14049 test -z "$ac_c_werror_flag" ||
14050 test ! -s conftest.err
14051 } && test -s conftest.$ac_objext; then
14054 cat >conftest.$ac_ext <<_ACEOF
14057 cat confdefs.h >>conftest.$ac_ext
14058 cat >>conftest.$ac_ext <<_ACEOF
14059 /* end confdefs.h. */
14060 $ac_includes_default
14061 typedef long long ac__type_sizeof_;
14065 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
14072 rm -f conftest.$ac_objext
14073 if { (ac_try="$ac_compile"
14074 case "(($ac_try" in
14075 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14076 *) ac_try_echo
=$ac_try;;
14078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14079 (eval "$ac_compile") 2>conftest.er1
14081 grep -v '^ *+' conftest.er1
>conftest.err
14083 cat conftest.err
>&5
14084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14085 (exit $ac_status); } && {
14086 test -z "$ac_c_werror_flag" ||
14087 test ! -s conftest.err
14088 } && test -s conftest.
$ac_objext; then
14089 ac_lo
=$ac_mid; break
14091 echo "$as_me: failed program was:" >&5
14092 sed 's/^/| /' conftest.
$ac_ext >&5
14094 ac_hi
=`expr '(' $ac_mid ')' - 1`
14095 if test $ac_mid -le $ac_hi; then
14099 ac_mid
=`expr 2 '*' $ac_mid`
14102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14105 echo "$as_me: failed program was:" >&5
14106 sed 's/^/| /' conftest.
$ac_ext >&5
14111 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14115 # Binary search between lo and hi bounds.
14116 while test "x$ac_lo" != "x$ac_hi"; do
14117 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14118 cat >conftest.
$ac_ext <<_ACEOF
14121 cat confdefs.h
>>conftest.
$ac_ext
14122 cat >>conftest.
$ac_ext <<_ACEOF
14123 /* end confdefs.h. */
14124 $ac_includes_default
14125 typedef long long ac__type_sizeof_;
14129 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
14136 rm -f conftest.
$ac_objext
14137 if { (ac_try
="$ac_compile"
14138 case "(($ac_try" in
14139 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14140 *) ac_try_echo=$ac_try;;
14142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14143 (eval "$ac_compile") 2>conftest.er1
14145 grep -v '^ *+' conftest.er1 >conftest.err
14147 cat conftest.err >&5
14148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149 (exit $ac_status); } && {
14150 test -z "$ac_c_werror_flag" ||
14151 test ! -s conftest.err
14152 } && test -s conftest.$ac_objext; then
14155 echo "$as_me: failed program was:" >&5
14156 sed 's/^/| /' conftest.$ac_ext >&5
14158 ac_lo=`expr '(' $ac_mid ')' + 1`
14161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14164 ?*) ac_cv_sizeof_long_long=$ac_lo;;
14165 '') if test "$ac_cv_type_long_long" = yes; then
14166 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
14167 See \`config.log
' for more details." >&5
14168 echo "$as_me: error: cannot compute sizeof (long long)
14169 See \`config.log' for more details.
" >&2;}
14170 { (exit 77); exit 77; }; }
14172 ac_cv_sizeof_long_long=0
14176 cat >conftest.$ac_ext <<_ACEOF
14179 cat confdefs.h >>conftest.$ac_ext
14180 cat >>conftest.$ac_ext <<_ACEOF
14181 /* end confdefs.h. */
14182 $ac_includes_default
14183 typedef long long ac__type_sizeof_;
14184 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
14185 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
14187 #include <stdlib.h>
14192 FILE *f = fopen ("conftest.val
", "w
");
14195 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
14197 long int i = longval ();
14198 if (i != ((long int) (sizeof (ac__type_sizeof_))))
14200 fprintf (f, "%ld
\n", i);
14204 unsigned long int i = ulongval ();
14205 if (i != ((long int) (sizeof (ac__type_sizeof_))))
14207 fprintf (f, "%lu
\n", i);
14209 return ferror (f) || fclose (f) != 0;
14215 rm -f conftest$ac_exeext
14216 if { (ac_try="$ac_link"
14217 case "(($ac_try" in
14218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14219 *) ac_try_echo=$ac_try;;
14221 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14222 (eval "$ac_link") 2>&5
14224 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14225 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14226 { (case "(($ac_try" in
14227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14228 *) ac_try_echo=$ac_try;;
14230 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14231 (eval "$ac_try") 2>&5
14233 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14234 (exit $ac_status); }; }; then
14235 ac_cv_sizeof_long_long=`cat conftest.val`
14237 echo "$as_me: program exited with status
$ac_status" >&5
14238 echo "$as_me: failed program was
:" >&5
14239 sed 's/^/| /' conftest.$ac_ext >&5
14241 ( exit $ac_status )
14242 if test "$ac_cv_type_long_long" = yes; then
14243 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
14244 See \
`config.log' for more details." >&5
14245 echo "$as_me: error: cannot compute sizeof (long long)
14246 See \`config.log
' for more details." >&2;}
14247 { (exit 77); exit 77; }; }
14249 ac_cv_sizeof_long_long=0
14252 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14256 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
14257 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
14261 cat >>confdefs.h <<_ACEOF
14262 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
14266 SIZEOF_SHORT=$ac_cv_sizeof_short
14267 SIZEOF_INT=$ac_cv_sizeof_int
14268 SIZEOF_LONG=$ac_cv_sizeof_long
14269 SIZEOF_LONG_LONG=$ac_cv_sizeof_long_long
14274 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
14275 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
14276 if test "${ac_cv_c_bigendian+set}" = set; then
14277 echo $ECHO_N "(cached) $ECHO_C" >&6
14279 # See if sys/param.h defines the BYTE_ORDER macro.
14280 cat >conftest.$ac_ext <<_ACEOF
14283 cat confdefs.h >>conftest.$ac_ext
14284 cat >>conftest.$ac_ext <<_ACEOF
14285 /* end confdefs.h. */
14286 #include <sys/types.h>
14287 #include <sys/param.h>
14292 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
14293 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
14294 bogus endian macros
14301 rm -f conftest.$ac_objext
14302 if { (ac_try="$ac_compile"
14303 case "(($ac_try" in
14304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14305 *) ac_try_echo=$ac_try;;
14307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14308 (eval "$ac_compile") 2>conftest.er1
14310 grep -v '^
*+' conftest.er1 >conftest.err
14312 cat conftest.err >&5
14313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14314 (exit $ac_status); } && {
14315 test -z "$ac_c_werror_flag" ||
14316 test ! -s conftest.err
14317 } && test -s conftest.$ac_objext; then
14318 # It does; now see whether it defined to BIG_ENDIAN or not.
14319 cat >conftest.$ac_ext <<_ACEOF
14322 cat confdefs.h >>conftest.$ac_ext
14323 cat >>conftest.$ac_ext <<_ACEOF
14324 /* end confdefs.h. */
14325 #include <sys/types.h>
14326 #include <sys/param.h>
14331 #if BYTE_ORDER != BIG_ENDIAN
14339 rm -f conftest.$ac_objext
14340 if { (ac_try="$ac_compile"
14341 case "(($ac_try" in
14342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14343 *) ac_try_echo=$ac_try;;
14345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14346 (eval "$ac_compile") 2>conftest.er1
14348 grep -v '^
*+' conftest.er1 >conftest.err
14350 cat conftest.err >&5
14351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14352 (exit $ac_status); } && {
14353 test -z "$ac_c_werror_flag" ||
14354 test ! -s conftest.err
14355 } && test -s conftest.$ac_objext; then
14356 ac_cv_c_bigendian=yes
14358 echo "$as_me: failed program was:" >&5
14359 sed 's
/^
/|
/' conftest.$ac_ext >&5
14361 ac_cv_c_bigendian=no
14364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14366 echo "$as_me: failed program was:" >&5
14367 sed 's
/^
/|
/' conftest.$ac_ext >&5
14369 # It does not; compile a test program.
14370 if test "$cross_compiling" = yes; then
14371 # try to guess the endianness by grepping values into an object file
14372 ac_cv_c_bigendian=unknown
14373 cat >conftest.$ac_ext <<_ACEOF
14376 cat confdefs.h >>conftest.$ac_ext
14377 cat >>conftest.$ac_ext <<_ACEOF
14378 /* end confdefs.h. */
14379 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14380 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14381 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
14382 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14383 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14384 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
14388 _ascii (); _ebcdic ();
14393 rm -f conftest.$ac_objext
14394 if { (ac_try="$ac_compile"
14395 case "(($ac_try" in
14396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14397 *) ac_try_echo=$ac_try;;
14399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14400 (eval "$ac_compile") 2>conftest.er1
14402 grep -v '^
*+' conftest.er1 >conftest.err
14404 cat conftest.err >&5
14405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14406 (exit $ac_status); } && {
14407 test -z "$ac_c_werror_flag" ||
14408 test ! -s conftest.err
14409 } && test -s conftest.$ac_objext; then
14410 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
14411 ac_cv_c_bigendian=yes
14413 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
14414 if test "$ac_cv_c_bigendian" = unknown; then
14415 ac_cv_c_bigendian=no
14417 # finding both strings is unlikely to happen, but who knows?
14418 ac_cv_c_bigendian=unknown
14422 echo "$as_me: failed program was:" >&5
14423 sed 's
/^
/|
/' conftest.$ac_ext >&5
14428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14430 cat >conftest.$ac_ext <<_ACEOF
14433 cat confdefs.h >>conftest.$ac_ext
14434 cat >>conftest.$ac_ext <<_ACEOF
14435 /* end confdefs.h. */
14436 $ac_includes_default
14441 /* Are we little or big endian? From Harbison&Steele. */
14445 char c[sizeof (long int)];
14448 return u.c[sizeof (long int) - 1] == 1;
14454 rm -f conftest$ac_exeext
14455 if { (ac_try="$ac_link"
14456 case "(($ac_try" in
14457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14458 *) ac_try_echo=$ac_try;;
14460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14461 (eval "$ac_link") 2>&5
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
14465 { (case "(($ac_try" in
14466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14467 *) ac_try_echo=$ac_try;;
14469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14470 (eval "$ac_try") 2>&5
14472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14473 (exit $ac_status); }; }; then
14474 ac_cv_c_bigendian=no
14476 echo "$as_me: program exited with status $ac_status" >&5
14477 echo "$as_me: failed program was:" >&5
14478 sed 's
/^
/|
/' conftest.$ac_ext >&5
14480 ( exit $ac_status )
14481 ac_cv_c_bigendian=yes
14483 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14491 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
14492 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
14493 case $ac_cv_c_bigendian in
14496 cat >>confdefs.h <<\_ACEOF
14497 #define WORDS_BIGENDIAN 1
14503 { { echo "$as_me:$LINENO: error: unknown endianness
14504 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
14505 echo "$as_me: error: unknown endianness
14506 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
14507 { (exit 1); exit 1; }; } ;;
14510 BUILD_CC="$BUILD_CC" CPP="$CPP" /bin/sh $ac_aux_dir/parse-types.sh
14511 ASM_TYPES_HEADER=./asm_types.h
14513 echo "/* These defines are needed for the public ext2fs.h header file */" \
14515 if grep HAVE_SYS_TYPES_H confdefs.h > tmp_config.$$; then
14516 uniq tmp_config.$$ >> public_config.h
14518 echo "#undef HAVE_SYS_TYPES_H" >> public_config.h
14520 if grep WORDS_BIGENDIAN confdefs.h > tmp_config.$$; then
14521 uniq tmp_config.$$ >> public_config.h
14523 echo "#undef WORDS_BIGENDIAN" >> public_config.h
14525 rm -f tmp_config.$$
14526 PUBLIC_CONFIG_HEADER=./public_config.h
14529 for ac_header in inttypes.h
14531 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14532 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14533 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14534 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14535 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14536 echo $ECHO_N "(cached) $ECHO_C" >&6
14538 ac_res=`eval echo '${'$as_ac_Header'}'`
14539 { echo "$as_me:$LINENO: result: $ac_res" >&5
14540 echo "${ECHO_T}$ac_res" >&6; }
14542 # Is the header compilable?
14543 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14544 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14545 cat >conftest.$ac_ext <<_ACEOF
14548 cat confdefs.h >>conftest.$ac_ext
14549 cat >>conftest.$ac_ext <<_ACEOF
14550 /* end confdefs.h. */
14551 $ac_includes_default
14552 #include <$ac_header>
14554 rm -f conftest.$ac_objext
14555 if { (ac_try="$ac_compile"
14556 case "(($ac_try" in
14557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14558 *) ac_try_echo=$ac_try;;
14560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14561 (eval "$ac_compile") 2>conftest.er1
14563 grep -v '^
*+' conftest.er1 >conftest.err
14565 cat conftest.err >&5
14566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567 (exit $ac_status); } && {
14568 test -z "$ac_c_werror_flag" ||
14569 test ! -s conftest.err
14570 } && test -s conftest.$ac_objext; then
14571 ac_header_compiler=yes
14573 echo "$as_me: failed program was:" >&5
14574 sed 's
/^
/|
/' conftest.$ac_ext >&5
14576 ac_header_compiler=no
14579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14580 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14581 echo "${ECHO_T}$ac_header_compiler" >&6; }
14583 # Is the header present?
14584 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14585 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14586 cat >conftest.$ac_ext <<_ACEOF
14589 cat confdefs.h >>conftest.$ac_ext
14590 cat >>conftest.$ac_ext <<_ACEOF
14591 /* end confdefs.h. */
14592 #include <$ac_header>
14594 if { (ac_try="$ac_cpp conftest.$ac_ext"
14595 case "(($ac_try" in
14596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14597 *) ac_try_echo=$ac_try;;
14599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14600 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14602 grep -v '^
*+' conftest.er1 >conftest.err
14604 cat conftest.err >&5
14605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14606 (exit $ac_status); } >/dev/null && {
14607 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14608 test ! -s conftest.err
14610 ac_header_preproc=yes
14612 echo "$as_me: failed program was:" >&5
14613 sed 's
/^
/|
/' conftest.$ac_ext >&5
14615 ac_header_preproc=no
14618 rm -f conftest.err conftest.$ac_ext
14619 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14620 echo "${ECHO_T}$ac_header_preproc" >&6; }
14622 # So? What about this header?
14623 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14625 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14626 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14627 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
14628 echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
14629 ac_header_preproc=yes
14632 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14633 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14634 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14635 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14636 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14637 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14638 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14639 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14640 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
14641 echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
14642 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14643 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14647 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14648 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14649 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14650 echo $ECHO_N "(cached) $ECHO_C" >&6
14652 eval "$as_ac_Header=\$ac_header_preproc"
14654 ac_res=`eval echo '${'$as_ac_Header'}'`
14655 { echo "$as_me:$LINENO: result: $ac_res" >&5
14656 echo "${ECHO_T}$ac_res" >&6; }
14659 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14660 cat >>confdefs.h <<_ACEOF
14661 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14668 { echo "$as_me:$LINENO: checking for intptr_t" >&5
14669 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6; }
14670 if test "${ac_cv_type_intptr_t+set}" = set; then
14671 echo $ECHO_N "(cached) $ECHO_C" >&6
14673 cat >conftest.$ac_ext <<_ACEOF
14676 cat confdefs.h >>conftest.$ac_ext
14677 cat >>conftest.$ac_ext <<_ACEOF
14678 /* end confdefs.h. */
14679 $ac_includes_default
14680 typedef intptr_t ac__type_new_;
14684 if ((ac__type_new_ *) 0)
14686 if (sizeof (ac__type_new_))
14692 rm -f conftest.$ac_objext
14693 if { (ac_try="$ac_compile"
14694 case "(($ac_try" in
14695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14696 *) ac_try_echo=$ac_try;;
14698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14699 (eval "$ac_compile") 2>conftest.er1
14701 grep -v '^
*+' conftest.er1 >conftest.err
14703 cat conftest.err >&5
14704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14705 (exit $ac_status); } && {
14706 test -z "$ac_c_werror_flag" ||
14707 test ! -s conftest.err
14708 } && test -s conftest.$ac_objext; then
14709 ac_cv_type_intptr_t=yes
14711 echo "$as_me: failed program was:" >&5
14712 sed 's
/^
/|
/' conftest.$ac_ext >&5
14714 ac_cv_type_intptr_t=no
14717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14719 { echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
14720 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6; }
14721 if test $ac_cv_type_intptr_t = yes; then
14723 cat >>confdefs.h <<_ACEOF
14724 #define HAVE_INTPTR_T 1
14730 { echo "$as_me:$LINENO: checking whether struct stat has a st_flags field" >&5
14731 echo $ECHO_N "checking whether struct stat has a st_flags field... $ECHO_C" >&6; }
14732 if test "${e2fsprogs_cv_struct_st_flags+set}" = set; then
14733 echo $ECHO_N "(cached) $ECHO_C" >&6
14735 cat >conftest.$ac_ext <<_ACEOF
14738 cat confdefs.h >>conftest.$ac_ext
14739 cat >>conftest.$ac_ext <<_ACEOF
14740 /* end confdefs.h. */
14741 #include <sys/stat.h>
14745 struct stat stat; stat.st_flags = 0;
14750 rm -f conftest.$ac_objext
14751 if { (ac_try="$ac_compile"
14752 case "(($ac_try" in
14753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14754 *) ac_try_echo=$ac_try;;
14756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14757 (eval "$ac_compile") 2>conftest.er1
14759 grep -v '^
*+' conftest.er1 >conftest.err
14761 cat conftest.err >&5
14762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14763 (exit $ac_status); } && {
14764 test -z "$ac_c_werror_flag" ||
14765 test ! -s conftest.err
14766 } && test -s conftest.$ac_objext; then
14767 e2fsprogs_cv_struct_st_flags=yes
14769 echo "$as_me: failed program was:" >&5
14770 sed 's
/^
/|
/' conftest.$ac_ext >&5
14772 e2fsprogs_cv_struct_st_flags=no
14775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14778 { echo "$as_me:$LINENO: result: $e2fsprogs_cv_struct_st_flags" >&5
14779 echo "${ECHO_T}$e2fsprogs_cv_struct_st_flags" >&6; }
14780 if test "$e2fsprogs_cv_struct_st_flags" = yes; then
14781 { echo "$as_me:$LINENO: checking whether st_flags field is useful" >&5
14782 echo $ECHO_N "checking whether st_flags field is useful... $ECHO_C" >&6; }
14783 if test "${e2fsprogs_cv_struct_st_flags_immut+set}" = set; then
14784 echo $ECHO_N "(cached) $ECHO_C" >&6
14786 cat >conftest.$ac_ext <<_ACEOF
14789 cat confdefs.h >>conftest.$ac_ext
14790 cat >>conftest.$ac_ext <<_ACEOF
14791 /* end confdefs.h. */
14792 #include <sys/stat.h>
14796 struct stat stat; stat.st_flags |= UF_IMMUTABLE;
14801 rm -f conftest.$ac_objext
14802 if { (ac_try="$ac_compile"
14803 case "(($ac_try" in
14804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14805 *) ac_try_echo=$ac_try;;
14807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14808 (eval "$ac_compile") 2>conftest.er1
14810 grep -v '^
*+' conftest.er1 >conftest.err
14812 cat conftest.err >&5
14813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14814 (exit $ac_status); } && {
14815 test -z "$ac_c_werror_flag" ||
14816 test ! -s conftest.err
14817 } && test -s conftest.$ac_objext; then
14818 e2fsprogs_cv_struct_st_flags_immut=yes
14820 echo "$as_me: failed program was:" >&5
14821 sed 's
/^
/|
/' conftest.$ac_ext >&5
14823 e2fsprogs_cv_struct_st_flags_immut=no
14826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14829 { echo "$as_me:$LINENO: result: $e2fsprogs_cv_struct_st_flags_immut" >&5
14830 echo "${ECHO_T}$e2fsprogs_cv_struct_st_flags_immut" >&6; }
14831 if test "$e2fsprogs_cv_struct_st_flags_immut" = yes; then
14832 cat >>confdefs.h <<\_ACEOF
14833 #define HAVE_STAT_FLAGS 1
14838 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
14839 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
14840 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
14841 echo $ECHO_N "(cached) $ECHO_C" >&6
14843 cat >conftest.$ac_ext <<_ACEOF
14846 cat confdefs.h >>conftest.$ac_ext
14847 cat >>conftest.$ac_ext <<_ACEOF
14848 /* end confdefs.h. */
14849 #include <sys/types.h>
14850 #include <sys/socket.h>
14855 static struct sockaddr ac_aggr;
14856 if (ac_aggr.sa_len)
14862 rm -f conftest.$ac_objext
14863 if { (ac_try="$ac_compile"
14864 case "(($ac_try" in
14865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14866 *) ac_try_echo=$ac_try;;
14868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14869 (eval "$ac_compile") 2>conftest.er1
14871 grep -v '^
*+' conftest.er1 >conftest.err
14873 cat conftest.err >&5
14874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14875 (exit $ac_status); } && {
14876 test -z "$ac_c_werror_flag" ||
14877 test ! -s conftest.err
14878 } && test -s conftest.$ac_objext; then
14879 ac_cv_member_struct_sockaddr_sa_len=yes
14881 echo "$as_me: failed program was:" >&5
14882 sed 's
/^
/|
/' conftest.$ac_ext >&5
14884 cat >conftest.$ac_ext <<_ACEOF
14887 cat confdefs.h >>conftest.$ac_ext
14888 cat >>conftest.$ac_ext <<_ACEOF
14889 /* end confdefs.h. */
14890 #include <sys/types.h>
14891 #include <sys/socket.h>
14896 static struct sockaddr ac_aggr;
14897 if (sizeof ac_aggr.sa_len)
14903 rm -f conftest.$ac_objext
14904 if { (ac_try="$ac_compile"
14905 case "(($ac_try" in
14906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14907 *) ac_try_echo=$ac_try;;
14909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14910 (eval "$ac_compile") 2>conftest.er1
14912 grep -v '^
*+' conftest.er1 >conftest.err
14914 cat conftest.err >&5
14915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14916 (exit $ac_status); } && {
14917 test -z "$ac_c_werror_flag" ||
14918 test ! -s conftest.err
14919 } && test -s conftest.$ac_objext; then
14920 ac_cv_member_struct_sockaddr_sa_len=yes
14922 echo "$as_me: failed program was:" >&5
14923 sed 's
/^
/|
/' conftest.$ac_ext >&5
14925 ac_cv_member_struct_sockaddr_sa_len=no
14928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14933 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
14934 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
14935 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
14937 cat >>confdefs.h <<_ACEOF
14938 #define HAVE_SA_LEN 1
14976 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 usleep nanosleep getdtablesize getrlimit
14978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14979 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14981 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14982 echo $ECHO_N "(cached) $ECHO_C" >&6
14984 cat >conftest.$ac_ext <<_ACEOF
14987 cat confdefs.h >>conftest.$ac_ext
14988 cat >>conftest.$ac_ext <<_ACEOF
14989 /* end confdefs.h. */
14990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14992 #define $ac_func innocuous_$ac_func
14994 /* System header to define __stub macros and hopefully few prototypes,
14995 which can conflict with char $ac_func (); below.
14996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14997 <limits.h> exists even on freestanding compilers. */
15000 # include <limits.h>
15002 # include <assert.h>
15007 /* Override any GCC internal prototype to avoid an error.
15008 Use char because int might match the return type of a GCC
15009 builtin and then its argument prototype would still apply. */
15014 /* The GNU C library defines this for functions which it implements
15015 to always fail with ENOSYS. Some functions are actually named
15016 something starting with __ and the normal name is an alias. */
15017 #if defined __stub_$ac_func || defined __stub___$ac_func
15024 return $ac_func ();
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 eval "$as_ac_var=yes"
15049 echo "$as_me: failed program was:" >&5
15050 sed 's
/^
/|
/' conftest.$ac_ext >&5
15052 eval "$as_ac_var=no"
15055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15056 conftest$ac_exeext conftest.$ac_ext
15058 ac_res=`eval echo '${'$as_ac_var'}'`
15059 { echo "$as_me:$LINENO: result: $ac_res" >&5
15060 echo "${ECHO_T}$ac_res" >&6; }
15061 if test `eval echo '${'$as_ac_var'}'` = yes; then
15062 cat >>confdefs.h <<_ACEOF
15063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15070 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
15071 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
15072 if test "${ac_cv_lib_socket_socket+set}" = set; then
15073 echo $ECHO_N "(cached) $ECHO_C" >&6
15075 ac_check_lib_save_LIBS=$LIBS
15076 LIBS="-lsocket $LIBS"
15077 cat >conftest.$ac_ext <<_ACEOF
15080 cat confdefs.h >>conftest.$ac_ext
15081 cat >>conftest.$ac_ext <<_ACEOF
15082 /* end confdefs.h. */
15084 /* Override any GCC internal prototype to avoid an error.
15085 Use char because int might match the return type of a GCC
15086 builtin and then its argument prototype would still apply. */
15099 rm -f conftest.$ac_objext conftest$ac_exeext
15100 if { (ac_try="$ac_link"
15101 case "(($ac_try" in
15102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15103 *) ac_try_echo=$ac_try;;
15105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15106 (eval "$ac_link") 2>conftest.er1
15108 grep -v '^
*+' conftest.er1 >conftest.err
15110 cat conftest.err >&5
15111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15112 (exit $ac_status); } && {
15113 test -z "$ac_c_werror_flag" ||
15114 test ! -s conftest.err
15115 } && test -s conftest$ac_exeext &&
15116 $as_test_x conftest$ac_exeext; then
15117 ac_cv_lib_socket_socket=yes
15119 echo "$as_me: failed program was:" >&5
15120 sed 's
/^
/|
/' conftest.$ac_ext >&5
15122 ac_cv_lib_socket_socket=no
15125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15126 conftest$ac_exeext conftest.$ac_ext
15127 LIBS=$ac_check_lib_save_LIBS
15129 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
15130 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
15131 if test $ac_cv_lib_socket_socket = yes; then
15132 SOCKET_LIB=-lsocket
15137 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15138 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15139 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15140 echo $ECHO_N "(cached) $ECHO_C" >&6
15142 ac_check_lib_save_LIBS=$LIBS
15144 cat >conftest.$ac_ext <<_ACEOF
15147 cat confdefs.h >>conftest.$ac_ext
15148 cat >>conftest.$ac_ext <<_ACEOF
15149 /* end confdefs.h. */
15151 /* Override any GCC internal prototype to avoid an error.
15152 Use char because int might match the return type of a GCC
15153 builtin and then its argument prototype would still apply. */
15166 rm -f conftest.$ac_objext conftest$ac_exeext
15167 if { (ac_try="$ac_link"
15168 case "(($ac_try" in
15169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15170 *) ac_try_echo=$ac_try;;
15172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15173 (eval "$ac_link") 2>conftest.er1
15175 grep -v '^
*+' conftest.er1 >conftest.err
15177 cat conftest.err >&5
15178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15179 (exit $ac_status); } && {
15180 test -z "$ac_c_werror_flag" ||
15181 test ! -s conftest.err
15182 } && test -s conftest$ac_exeext &&
15183 $as_test_x conftest$ac_exeext; then
15184 ac_cv_lib_dl_dlopen=yes
15186 echo "$as_me: failed program was:" >&5
15187 sed 's
/^
/|
/' conftest.$ac_ext >&5
15189 ac_cv_lib_dl_dlopen=no
15192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15193 conftest$ac_exeext conftest.$ac_ext
15194 LIBS=$ac_check_lib_save_LIBS
15196 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15197 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15198 if test $ac_cv_lib_dl_dlopen = yes; then
15200 cat >>confdefs.h <<\_ACEOF
15201 #define HAVE_DLOPEN 1
15207 { echo "$as_me:$LINENO: checking for optreset" >&5
15208 echo $ECHO_N "checking for optreset... $ECHO_C" >&6; }
15209 if test "${ac_cv_have_optreset+set}" = set; then
15210 echo $ECHO_N "(cached) $ECHO_C" >&6
15212 cat >conftest.$ac_ext <<_ACEOF
15215 cat confdefs.h >>conftest.$ac_ext
15216 cat >>conftest.$ac_ext <<_ACEOF
15217 /* end confdefs.h. */
15218 #include <unistd.h>
15221 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15222 $EGREP "optreset" >/dev/null 2>&1; then
15223 ac_cv_have_optreset=yes
15225 ac_cv_have_optreset=no
15230 { echo "$as_me:$LINENO: result: $ac_cv_have_optreset" >&5
15231 echo "${ECHO_T}$ac_cv_have_optreset" >&6; }
15232 if test $ac_cv_have_optreset = yes; then
15233 cat >>confdefs.h <<\_ACEOF
15234 #define HAVE_OPTRESET 1
15239 { echo "$as_me:$LINENO: checking for sem_init" >&5
15240 echo $ECHO_N "checking for sem_init... $ECHO_C" >&6; }
15241 if test "${ac_cv_func_sem_init+set}" = set; then
15242 echo $ECHO_N "(cached) $ECHO_C" >&6
15244 cat >conftest.$ac_ext <<_ACEOF
15247 cat confdefs.h >>conftest.$ac_ext
15248 cat >>conftest.$ac_ext <<_ACEOF
15249 /* end confdefs.h. */
15250 /* Define sem_init to an innocuous variant, in case <limits.h> declares sem_init.
15251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15252 #define sem_init innocuous_sem_init
15254 /* System header to define __stub macros and hopefully few prototypes,
15255 which can conflict with char sem_init (); below.
15256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15257 <limits.h> exists even on freestanding compilers. */
15260 # include <limits.h>
15262 # include <assert.h>
15267 /* Override any GCC internal prototype to avoid an error.
15268 Use char because int might match the return type of a GCC
15269 builtin and then its argument prototype would still apply. */
15274 /* The GNU C library defines this for functions which it implements
15275 to always fail with ENOSYS. Some functions are actually named
15276 something starting with __ and the normal name is an alias. */
15277 #if defined __stub_sem_init || defined __stub___sem_init
15284 return sem_init ();
15289 rm -f conftest.$ac_objext conftest$ac_exeext
15290 if { (ac_try="$ac_link"
15291 case "(($ac_try" in
15292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15293 *) ac_try_echo=$ac_try;;
15295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15296 (eval "$ac_link") 2>conftest.er1
15298 grep -v '^
*+' conftest.er1 >conftest.err
15300 cat conftest.err >&5
15301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15302 (exit $ac_status); } && {
15303 test -z "$ac_c_werror_flag" ||
15304 test ! -s conftest.err
15305 } && test -s conftest$ac_exeext &&
15306 $as_test_x conftest$ac_exeext; then
15307 ac_cv_func_sem_init=yes
15309 echo "$as_me: failed program was:" >&5
15310 sed 's
/^
/|
/' conftest.$ac_ext >&5
15312 ac_cv_func_sem_init=no
15315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15316 conftest$ac_exeext conftest.$ac_ext
15318 { echo "$as_me:$LINENO: result: $ac_cv_func_sem_init" >&5
15319 echo "${ECHO_T}$ac_cv_func_sem_init" >&6; }
15320 if test $ac_cv_func_sem_init = yes; then
15323 { echo "$as_me:$LINENO: checking for sem_init in -lpthread" >&5
15324 echo $ECHO_N "checking for sem_init in -lpthread... $ECHO_C" >&6; }
15325 if test "${ac_cv_lib_pthread_sem_init+set}" = set; then
15326 echo $ECHO_N "(cached) $ECHO_C" >&6
15328 ac_check_lib_save_LIBS=$LIBS
15329 LIBS="-lpthread $LIBS"
15330 cat >conftest.$ac_ext <<_ACEOF
15333 cat confdefs.h >>conftest.$ac_ext
15334 cat >>conftest.$ac_ext <<_ACEOF
15335 /* end confdefs.h. */
15337 /* Override any GCC internal prototype to avoid an error.
15338 Use char because int might match the return type of a GCC
15339 builtin and then its argument prototype would still apply. */
15347 return sem_init ();
15352 rm -f conftest.$ac_objext conftest$ac_exeext
15353 if { (ac_try="$ac_link"
15354 case "(($ac_try" in
15355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15356 *) ac_try_echo=$ac_try;;
15358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15359 (eval "$ac_link") 2>conftest.er1
15361 grep -v '^
*+' conftest.er1 >conftest.err
15363 cat conftest.err >&5
15364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15365 (exit $ac_status); } && {
15366 test -z "$ac_c_werror_flag" ||
15367 test ! -s conftest.err
15368 } && test -s conftest$ac_exeext &&
15369 $as_test_x conftest$ac_exeext; then
15370 ac_cv_lib_pthread_sem_init=yes
15372 echo "$as_me: failed program was:" >&5
15373 sed 's
/^
/|
/' conftest.$ac_ext >&5
15375 ac_cv_lib_pthread_sem_init=no
15378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15379 conftest$ac_exeext conftest.$ac_ext
15380 LIBS=$ac_check_lib_save_LIBS
15382 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_sem_init" >&5
15383 echo "${ECHO_T}$ac_cv_lib_pthread_sem_init" >&6; }
15384 if test $ac_cv_lib_pthread_sem_init = yes; then
15385 cat >>confdefs.h <<\_ACEOF
15386 #define HAVE_SEM_INIT 1
15389 SEM_INIT_LIB=-lpthread
15391 { echo "$as_me:$LINENO: checking for sem_init in -lrt" >&5
15392 echo $ECHO_N "checking for sem_init in -lrt... $ECHO_C" >&6; }
15393 if test "${ac_cv_lib_rt_sem_init+set}" = set; then
15394 echo $ECHO_N "(cached) $ECHO_C" >&6
15396 ac_check_lib_save_LIBS=$LIBS
15398 cat >conftest.$ac_ext <<_ACEOF
15401 cat confdefs.h >>conftest.$ac_ext
15402 cat >>conftest.$ac_ext <<_ACEOF
15403 /* end confdefs.h. */
15405 /* Override any GCC internal prototype to avoid an error.
15406 Use char because int might match the return type of a GCC
15407 builtin and then its argument prototype would still apply. */
15415 return sem_init ();
15420 rm -f conftest.$ac_objext conftest$ac_exeext
15421 if { (ac_try="$ac_link"
15422 case "(($ac_try" in
15423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15424 *) ac_try_echo=$ac_try;;
15426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15427 (eval "$ac_link") 2>conftest.er1
15429 grep -v '^
*+' conftest.er1 >conftest.err
15431 cat conftest.err >&5
15432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15433 (exit $ac_status); } && {
15434 test -z "$ac_c_werror_flag" ||
15435 test ! -s conftest.err
15436 } && test -s conftest$ac_exeext &&
15437 $as_test_x conftest$ac_exeext; then
15438 ac_cv_lib_rt_sem_init=yes
15440 echo "$as_me: failed program was:" >&5
15441 sed 's
/^
/|
/' conftest.$ac_ext >&5
15443 ac_cv_lib_rt_sem_init=no
15446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15447 conftest$ac_exeext conftest.$ac_ext
15448 LIBS=$ac_check_lib_save_LIBS
15450 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sem_init" >&5
15451 echo "${ECHO_T}$ac_cv_lib_rt_sem_init" >&6; }
15452 if test $ac_cv_lib_rt_sem_init = yes; then
15453 cat >>confdefs.h <<\_ACEOF
15454 #define HAVE_SEM_INIT 1
15459 { echo "$as_me:$LINENO: checking for sem_init in -lposix4" >&5
15460 echo $ECHO_N "checking for sem_init in -lposix4... $ECHO_C" >&6; }
15461 if test "${ac_cv_lib_posix4_sem_init+set}" = set; then
15462 echo $ECHO_N "(cached) $ECHO_C" >&6
15464 ac_check_lib_save_LIBS=$LIBS
15465 LIBS="-lposix4 $LIBS"
15466 cat >conftest.$ac_ext <<_ACEOF
15469 cat confdefs.h >>conftest.$ac_ext
15470 cat >>conftest.$ac_ext <<_ACEOF
15471 /* end confdefs.h. */
15473 /* Override any GCC internal prototype to avoid an error.
15474 Use char because int might match the return type of a GCC
15475 builtin and then its argument prototype would still apply. */
15483 return sem_init ();
15488 rm -f conftest.$ac_objext conftest$ac_exeext
15489 if { (ac_try="$ac_link"
15490 case "(($ac_try" in
15491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15492 *) ac_try_echo=$ac_try;;
15494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15495 (eval "$ac_link") 2>conftest.er1
15497 grep -v '^
*+' conftest.er1 >conftest.err
15499 cat conftest.err >&5
15500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15501 (exit $ac_status); } && {
15502 test -z "$ac_c_werror_flag" ||
15503 test ! -s conftest.err
15504 } && test -s conftest$ac_exeext &&
15505 $as_test_x conftest$ac_exeext; then
15506 ac_cv_lib_posix4_sem_init=yes
15508 echo "$as_me: failed program was:" >&5
15509 sed 's
/^
/|
/' conftest.$ac_ext >&5
15511 ac_cv_lib_posix4_sem_init=no
15514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15515 conftest$ac_exeext conftest.$ac_ext
15516 LIBS=$ac_check_lib_save_LIBS
15518 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sem_init" >&5
15519 echo "${ECHO_T}$ac_cv_lib_posix4_sem_init" >&6; }
15520 if test $ac_cv_lib_posix4_sem_init = yes; then
15521 cat >>confdefs.h <<\_ACEOF
15522 #define HAVE_SEM_INIT 1
15525 SEM_INIT_LIB=-lposix4
15534 { echo "$as_me:$LINENO: checking for unified diff option" >&5
15535 echo $ECHO_N "checking for unified diff option... $ECHO_C" >&6; }
15536 if diff -u $0 $0 > /dev/null 2>&1 ; then
15541 { echo "$as_me:$LINENO: result: $UNI_DIFF_OPTS" >&5
15542 echo "${ECHO_T}$UNI_DIFF_OPTS" >&6; }
15546 cat >>confdefs.h <<\_ACEOF
15547 #define HAVE_EXT2_IOCTLS 1
15568 linux* | gnu* | k*bsd*-gnu)
15569 if test "$prefix" = NONE -a "$root_prefix" = NONE ; then
15571 { echo "$as_me:$LINENO: result: On $host_os systems, root_prefix defaults to ''" >&5
15572 echo "${ECHO_T}On $host_os systems, root_prefix defaults to ''" >&6; }
15577 linux* | gnu* | k*bsd*-gnu)
15578 if test "$prefix" = NONE ; then
15580 { echo "$as_me:$LINENO: result: On $host_os systems, prefix defaults to /usr" >&5
15581 echo "${ECHO_T}On $host_os systems, prefix defaults to /usr" >&6; }
15582 if test "$mandir" = '${prefix}/man
' ; then
15583 { echo "$as_me:$LINENO: result: ...and mandir defaults to /usr/share/man" >&5
15584 echo "${ECHO_T}...and mandir defaults to /usr/share/man" >&6; }
15585 mandir=/usr/share/man
15590 if test "$root_prefix" = NONE ; then
15591 if test "$prefix" = NONE ; then
15592 root_prefix="$ac_default_prefix"
15594 root_prefix="$prefix"
15596 root_bindir=$bindir
15597 root_sbindir=$sbindir
15598 root_libdir=$libdir
15599 root_sysconfdir=$sysconfdir
15601 root_bindir='${root_prefix}/bin
'
15602 root_sbindir='${root_prefix}/sbin
'
15603 root_libdir='${root_prefix}/lib
'
15604 root_sysconfdir='${root_prefix}/etc
'
15606 if test "$bindir" != '${exec_prefix}/bin
'; then
15607 root_bindir=$bindir
15608 { echo "$as_me:$LINENO: result: Setting root_bindir to $root_bindir" >&5
15609 echo "${ECHO_T}Setting root_bindir to $root_bindir" >&6; }
15611 if test "$sbindir" != '${exec_prefix}/sbin
'; then
15612 root_sbindir=$sbindir
15613 { echo "$as_me:$LINENO: result: Setting root_sbindir to $root_sbindir" >&5
15614 echo "${ECHO_T}Setting root_sbindir to $root_sbindir" >&6; }
15616 if test "$libdir" != '${exec_prefix}/lib
'; then
15617 root_libdir=$libdir
15618 { echo "$as_me:$LINENO: result: Setting root_libdir to $root_libdir" >&5
15619 echo "${ECHO_T}Setting root_libdir to $root_libdir" >&6; }
15621 if test "$sysconfdir" != '${prefix}/etc
'; then
15622 root_sysconfdir=$sysconfdir
15623 { echo "$as_me:$LINENO: result: Setting root_sysconfdir to $root_sysconfdir" >&5
15624 echo "${ECHO_T}Setting root_sysconfdir to $root_sysconfdir" >&6; }
15631 { echo "$as_me:$LINENO: checking whether linker accepts -static" >&5
15632 echo $ECHO_N "checking whether linker accepts -static... $ECHO_C" >&6; }
15633 if test "${ac_cv_e2fsprogs_use_static+set}" = set; then
15634 echo $ECHO_N "(cached) $ECHO_C" >&6
15636 SAVE_LDFLAGS=$LDFLAGS; LDFLAGS="$LDFLAGS -static"
15637 cat >conftest.$ac_ext <<_ACEOF
15640 cat confdefs.h >>conftest.$ac_ext
15641 cat >>conftest.$ac_ext <<_ACEOF
15642 /* end confdefs.h. */
15652 rm -f conftest.$ac_objext conftest$ac_exeext
15653 if { (ac_try="$ac_link"
15654 case "(($ac_try" in
15655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15656 *) ac_try_echo=$ac_try;;
15658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15659 (eval "$ac_link") 2>conftest.er1
15661 grep -v '^
*+' conftest.er1 >conftest.err
15663 cat conftest.err >&5
15664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665 (exit $ac_status); } && {
15666 test -z "$ac_c_werror_flag" ||
15667 test ! -s conftest.err
15668 } && test -s conftest$ac_exeext &&
15669 $as_test_x conftest$ac_exeext; then
15670 ac_cv_e2fsprogs_use_static=yes
15672 echo "$as_me: failed program was:" >&5
15673 sed 's
/^
/|
/' conftest.$ac_ext >&5
15675 ac_cv_e2fsprogs_use_static=no
15678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15679 conftest$ac_exeext conftest.$ac_ext
15680 LDFLAGS=$SAVE_LDFLAGS
15685 ac_cv_e2fsprogs_use_static=no
15688 { echo "$as_me:$LINENO: result: $ac_cv_e2fsprogs_use_static" >&5
15689 echo "${ECHO_T}$ac_cv_e2fsprogs_use_static" >&6; }
15691 if test $ac_cv_e2fsprogs_use_static = yes; then
15692 LDFLAG_STATIC=-static
15697 { echo "$as_me:$LINENO: result: Using Apple Darwin / GNU libintl workaround" >&5
15698 echo "${ECHO_T}Using Apple Darwin / GNU libintl workaround" >&6; }
15699 cat >>confdefs.h <<\_ACEOF
15700 #define _INTL_REDIRECT_MACROS 1
15705 SS_DIR=`cd ${srcdir}/lib/ss; pwd`
15706 ET_DIR=`cd ${srcdir}/lib/et; pwd`
15709 if test "$cross_compiling" = yes ; then
15712 DO_TEST_SUITE=check
15716 if test "$USE_INCLUDED_LIBINTL" = "yes" ; then
15717 INTL_FLAGS='-I$
(top_builddir
)/intl
-I$
(top_srcdir
)/intl
'
15720 if test $cross_compiling = no; then
15721 BUILD_CFLAGS="$CFLAGS"
15722 BUILD_LDFLAGS="$LDFLAGS"
15729 test -d lib || mkdir lib
15730 test -d include || mkdir include
15731 test -d include/linux || mkdir include/linux
15732 test -d include/asm || mkdir include/asm
15733 for i in MCONFIG Makefile e2fsprogs.spec \
15734 util/Makefile util/subst.conf util/gen-tarball \
15735 lib/et/Makefile lib/ss/Makefile lib/e2p/Makefile \
15736 lib/ext2fs/Makefile lib/ext2fs/ext2_types.h \
15737 lib/uuid/Makefile lib/uuid/uuid_types.h \
15738 lib/blkid/Makefile lib/blkid/blkid_types.h \
15739 lib/ss/ss.pc lib/uuid/uuid.pc lib/et/com_err.pc \
15740 lib/e2p/e2p.pc lib/blkid/blkid.pc lib/ext2fs/ext2fs.pc \
15741 misc/Makefile ext2ed/Makefile e2fsck/Makefile \
15742 debugfs/Makefile tests/Makefile tests/progs/Makefile \
15743 resize/Makefile doc/Makefile intl/Makefile po/Makefile.in ; do
15744 if test -d `dirname ${srcdir}/$i` ; then
15745 outlist="$outlist $i"
15748 ac_config_files="$ac_config_files $outlist"
15750 cat >confcache <<\_ACEOF
15751 # This file is a shell script that caches the results of configure
15752 # tests run on this system so they can be shared between configure
15753 # scripts and configure runs, see configure's option
--config-cache.
15754 # It is not useful on other systems. If it contains results you don't
15755 # want to keep, you may remove or edit it.
15757 # config.status only pays attention to the cache file if you give it
15758 # the --recheck option to rerun configure.
15760 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15761 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15762 # following values.
15766 # The following way of writing the cache mishandles newlines in values,
15767 # but we know of no workaround that is simple, portable, and efficient.
15768 # So, we kill variables containing newlines.
15769 # Ultrix sh set writes to stderr and can't be redirected directly,
15770 # and sets the high bit in the cache file unless we assign to the vars.
15772 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15773 eval ac_val
=\$
$ac_var
15777 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15778 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15781 _ | IFS | as_nl
) ;; #(
15782 *) $as_unset $ac_var ;;
15788 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15789 *${as_nl}ac_space
=\
*)
15790 # `set' does not quote correctly, so add quotes (double-quote
15791 # substitution turns \\\\ into \\, and sed turns \\ into \).
15794 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15797 # `set' quotes correctly as required by POSIX, so do not add quotes.
15798 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15807 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15809 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15811 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15812 if test -w "$cache_file"; then
15813 test "x$cache_file" != "x/dev/null" &&
15814 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15815 echo "$as_me: updating cache $cache_file" >&6;}
15816 cat confcache
>$cache_file
15818 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15819 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15824 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15825 # Let make expand exec_prefix.
15826 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15828 # Transform confdefs.h into DEFS.
15829 # Protect against shell expansion while executing Makefile rules.
15830 # Protect against Makefile macro expansion.
15832 # If the first sed substitution is executed (which looks for macros that
15833 # take arguments), then branch to the quote section. Otherwise,
15834 # look for a macro that doesn't take arguments.
15838 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
15840 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
15844 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
15857 DEFS
=`sed -n "$ac_script" confdefs.h`
15862 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15863 # 1. Remove the extension, and $U if already installed.
15864 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15865 ac_i
=`echo "$ac_i" | sed "$ac_script"`
15866 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15867 # will be set to the directory where LIBOBJS objects are built.
15868 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15869 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
15871 LIBOBJS
=$ac_libobjs
15873 LTLIBOBJS
=$ac_ltlibobjs
15877 : ${CONFIG_STATUS=./config.status}
15878 ac_clean_files_save
=$ac_clean_files
15879 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15880 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15881 echo "$as_me: creating $CONFIG_STATUS" >&6;}
15882 cat >$CONFIG_STATUS <<_ACEOF
15884 # Generated by $as_me.
15885 # Run this file to recreate the current configuration.
15886 # Compiler output produced by configure, useful for debugging
15887 # configure, is in config.log if it exists.
15890 ac_cs_recheck=false
15892 SHELL=\${CONFIG_SHELL-$SHELL}
15895 cat >>$CONFIG_STATUS <<\_ACEOF
15896 ## --------------------- ##
15897 ## M4sh Initialization. ##
15898 ## --------------------- ##
15900 # Be more Bourne compatible
15901 DUALCASE
=1; export DUALCASE
# for MKS sh
15902 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
15905 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
15906 # is contrary to our usage. Disable this feature.
15907 alias -g '${1+"$@"}'='"$@"'
15908 setopt NO_GLOB_SUBST
15910 case `(set -o) 2>/dev/null` in
15911 *posix
*) set -o posix
;;
15920 # Avoid depending upon Character Ranges.
15921 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15922 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15923 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15924 as_cr_digits
='0123456789'
15925 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15927 # The user is always right.
15928 if test "${PATH_SEPARATOR+set}" != set; then
15929 echo "#! /bin/sh" >conf$$.sh
15930 echo "exit 0" >>conf$$.sh
15932 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
15940 # Support unset when possible.
15941 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
15949 # We need space, tab and new line, in precisely that order. Quoting is
15950 # there to prevent editors from complaining about space-tab.
15951 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15952 # splitting by setting IFS to empty value.)
15957 # Find who we are. Look in the path if we contain no directory separator.
15959 *[\\/]* ) as_myself
=$0 ;;
15960 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15961 for as_dir
in $PATH
15964 test -z "$as_dir" && as_dir
=.
15965 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15971 # We did not find ourselves, most probably we were run as `sh COMMAND'
15972 # in which case we are not to be found in the path.
15973 if test "x$as_myself" = x
; then
15976 if test ! -f "$as_myself"; then
15977 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15978 { (exit 1); exit 1; }
15981 # Work around bugs in pre-3.0 UWIN ksh.
15982 for as_var
in ENV MAIL MAILPATH
15983 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
15991 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
15992 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
15993 LC_TELEPHONE LC_TIME
15995 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
15996 eval $as_var=C
; export $as_var
15998 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
16002 # Required to use basename.
16003 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16004 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16010 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16011 as_basename
=basename
16017 # Name of the executable.
16018 as_me
=`$as_basename -- "$0" ||
16019 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16020 X"$0" : 'X\(//\)$' \| \
16021 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16023 sed '/^.*\/\([^/][^/]*\)\/*$/{
16042 as_lineno_1
=$LINENO
16043 as_lineno_2
=$LINENO
16044 test "x$as_lineno_1" != "x$as_lineno_2" &&
16045 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
16047 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
16048 # uniformly replaced by the line number. The first 'sed' inserts a
16049 # line-number line after each line using $LINENO; the second 'sed'
16050 # does the real work. The second script uses 'N' to pair each
16051 # line-number line with the line containing $LINENO, and appends
16052 # trailing '-' during substitution so that $LINENO is not a special
16053 # case at line end.
16054 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
16055 # scripts with optimization help from Paolo Bonzini. Blame Lee
16056 # E. McMahon (1931-1989) for sed's syntax. :-)
16068 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
16071 ' >$as_me.lineno
&&
16072 chmod +x
"$as_me.lineno" ||
16073 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
16074 { (exit 1); exit 1; }; }
16076 # Don't try to exec as it changes $[0], causing all sort of problems
16077 # (the dirname of $[0] is not the place where we might find the
16078 # original and so on. Autoconf is especially sensitive to this).
16079 .
"./$as_me.lineno"
16080 # Exit status is that of the last command.
16085 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16091 ECHO_C
= ECHO_N
= ECHO_T
=
16092 case `echo -n x` in
16094 case `echo 'x\c'` in
16095 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16102 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16103 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16109 rm -f conf$$ conf$$.exe conf$$.
file
16110 if test -d conf$$.dir
; then
16111 rm -f conf$$.dir
/conf$$.
file
16117 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16119 # ... but there are two gotchas:
16120 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16121 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16122 # In both cases, we have to default to `cp -p'.
16123 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16125 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16130 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16131 rmdir conf$$.dir
2>/dev
/null
16133 if mkdir
-p .
2>/dev
/null
; then
16136 test -d .
/-p && rmdir .
/-p
16140 if test -x / >/dev
/null
2>&1; then
16141 as_test_x
='test -x'
16143 if ls -dL / >/dev
/null
2>&1; then
16150 if test -d "$1"; then
16156 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
16157 ???[sx]*):;;*)false;;esac;fi
16161 as_executable_p
=$as_test_x
16163 # Sed expression to map a string onto a valid CPP name.
16164 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16166 # Sed expression to map a string onto a valid variable name.
16167 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16172 # Save the log message, to keep $[0] and so on meaningful, and to
16173 # report actual input values of CONFIG_FILES etc. instead of their
16174 # values after options handling.
16176 This file was extended by $as_me, which was
16177 generated by GNU Autoconf 2.61. Invocation command line was
16179 CONFIG_FILES = $CONFIG_FILES
16180 CONFIG_HEADERS = $CONFIG_HEADERS
16181 CONFIG_LINKS = $CONFIG_LINKS
16182 CONFIG_COMMANDS = $CONFIG_COMMANDS
16185 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16190 cat >>$CONFIG_STATUS <<_ACEOF
16191 # Files that config.status was made for.
16192 config_files="$ac_config_files"
16193 config_commands="$ac_config_commands"
16197 cat >>$CONFIG_STATUS <<\_ACEOF
16199 \`$as_me' instantiates files from templates according to the
16200 current configuration.
16202 Usage: $0 [OPTIONS] [FILE]...
16204 -h, --help print this help, then exit
16205 -V, --version print version number and configuration settings, then exit
16206 -q, --quiet do not print progress messages
16207 -d, --debug don't remove temporary files
16208 --recheck update $as_me by reconfiguring in the same conditions
16209 --file=FILE[:TEMPLATE]
16210 instantiate the configuration file FILE
16212 Configuration files:
16215 Configuration commands:
16218 Report bugs to <bug-autoconf@gnu.org>."
16221 cat >>$CONFIG_STATUS <<_ACEOF
16224 configured by $0, generated by GNU Autoconf 2.61,
16225 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16227 Copyright (C) 2006 Free Software Foundation, Inc.
16228 This config.status script is free software; the Free Software Foundation
16229 gives unlimited permission to copy, distribute and modify it."
16236 cat >>$CONFIG_STATUS <<\_ACEOF
16237 # If no file are specified by the user, then we need to provide default
16238 # value. By we need to know if files were specified by the user.
16244 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16245 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16256 # Handling of the options.
16257 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16259 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16260 echo "$ac_cs_version"; exit ;;
16261 --debug |
--debu |
--deb |
--de |
--d |
-d )
16263 --file |
--fil |
--fi |
--f )
16265 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
16266 ac_need_defaults
=false
;;
16267 --he |
--h |
--help |
--hel |
-h )
16268 echo "$ac_cs_usage"; exit ;;
16269 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16270 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16273 # This is an error.
16274 -*) { echo "$as_me: error: unrecognized option: $1
16275 Try \`$0 --help' for more information." >&2
16276 { (exit 1); exit 1; }; } ;;
16278 *) ac_config_targets
="$ac_config_targets $1"
16279 ac_need_defaults
=false
;;
16285 ac_configure_extra_args
=
16287 if $ac_cs_silent; then
16289 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16293 cat >>$CONFIG_STATUS <<_ACEOF
16294 if \$ac_cs_recheck; then
16295 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
16296 CONFIG_SHELL=$SHELL
16297 export CONFIG_SHELL
16298 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16302 cat >>$CONFIG_STATUS <<\_ACEOF
16306 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16307 ## Running $as_me. ##
16313 cat >>$CONFIG_STATUS <<_ACEOF
16317 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
16318 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
16320 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
16321 # Capture the value of LINGUAS because we need it to compute CATALOGS.
16322 LINGUAS="${LINGUAS-%UNSET%}"
16327 cat >>$CONFIG_STATUS <<\_ACEOF
16329 # Handling of arguments.
16330 for ac_config_target
in $ac_config_targets
16332 case $ac_config_target in
16333 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16334 "$outlist") CONFIG_FILES
="$CONFIG_FILES $outlist" ;;
16336 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
16337 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
16338 { (exit 1); exit 1; }; };;
16343 # If the user did not use the arguments to specify the items to instantiate,
16344 # then the envvar interface is used. Set only those that are not.
16345 # We use the long form for the default assignment because of an extremely
16346 # bizarre bug on SunOS 4.1.3.
16347 if $ac_need_defaults; then
16348 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16349 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16352 # Have a temporary directory for convenience. Make it in the build tree
16353 # simply because there is no reason against having it here, and in addition,
16354 # creating and moving files from /tmp can sometimes cause problems.
16355 # Hook for its removal unless debugging.
16356 # Note that there is a small window in which the directory will not be cleaned:
16357 # after its creation but before its name has been assigned to `$tmp'.
16361 trap 'exit_status=$?
16362 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16364 trap '{ (exit 1); exit 1; }' 1 2 13 15
16366 # Create a (secure) tmp directory for tmp files.
16369 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16370 test -n "$tmp" && test -d "$tmp"
16373 tmp
=.
/conf$$
-$RANDOM
16374 (umask 077 && mkdir
"$tmp")
16377 echo "$me: cannot create a temporary directory in ." >&2
16378 { (exit 1); exit 1; }
16382 # Set up the sed scripts for CONFIG_FILES section.
16385 # No need to generate the scripts if there are no CONFIG_FILES.
16386 # This happens for instance when ./config.status config.h
16387 if test -n "$CONFIG_FILES"; then
16391 # Create sed commands to just substitute file output variables.
16393 # Remaining file output variables are in a fragment that also has non-file
16399 for ac_last_try
in false false false false false
:; do
16400 cat >conf$
$subs.
sed <<_ACEOF
16401 SHELL!$SHELL$ac_delim
16402 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
16403 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
16404 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
16405 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
16406 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
16407 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
16408 exec_prefix!$exec_prefix$ac_delim
16409 prefix!$prefix$ac_delim
16410 program_transform_name!$program_transform_name$ac_delim
16411 bindir!$bindir$ac_delim
16412 sbindir!$sbindir$ac_delim
16413 libexecdir!$libexecdir$ac_delim
16414 datarootdir!$datarootdir$ac_delim
16415 datadir!$datadir$ac_delim
16416 sysconfdir!$sysconfdir$ac_delim
16417 sharedstatedir!$sharedstatedir$ac_delim
16418 localstatedir!$localstatedir$ac_delim
16419 includedir!$includedir$ac_delim
16420 oldincludedir!$oldincludedir$ac_delim
16421 docdir!$docdir$ac_delim
16422 infodir!$infodir$ac_delim
16423 htmldir!$htmldir$ac_delim
16424 dvidir!$dvidir$ac_delim
16425 pdfdir!$pdfdir$ac_delim
16426 psdir!$psdir$ac_delim
16427 libdir!$libdir$ac_delim
16428 localedir!$localedir$ac_delim
16429 mandir!$mandir$ac_delim
16430 DEFS!$DEFS$ac_delim
16431 ECHO_C!$ECHO_C$ac_delim
16432 ECHO_N!$ECHO_N$ac_delim
16433 ECHO_T!$ECHO_T$ac_delim
16434 LIBS!$LIBS$ac_delim
16435 build_alias!$build_alias$ac_delim
16436 host_alias!$host_alias$ac_delim
16437 target_alias!$target_alias$ac_delim
16438 E2FSPROGS_YEAR!$E2FSPROGS_YEAR$ac_delim
16439 E2FSPROGS_MONTH!$E2FSPROGS_MONTH$ac_delim
16440 E2FSPROGS_DAY!$E2FSPROGS_DAY$ac_delim
16441 E2FSPROGS_VERSION!$E2FSPROGS_VERSION$ac_delim
16442 E2FSPROGS_PKGVER!$E2FSPROGS_PKGVER$ac_delim
16443 build!$build$ac_delim
16444 build_cpu!$build_cpu$ac_delim
16445 build_vendor!$build_vendor$ac_delim
16446 build_os!$build_os$ac_delim
16447 host!$host$ac_delim
16448 host_cpu!$host_cpu$ac_delim
16449 host_vendor!$host_vendor$ac_delim
16450 host_os!$host_os$ac_delim
16452 CFLAGS!$CFLAGS$ac_delim
16453 LDFLAGS!$LDFLAGS$ac_delim
16454 CPPFLAGS!$CPPFLAGS$ac_delim
16455 ac_ct_CC!$ac_ct_CC$ac_delim
16456 EXEEXT!$EXEEXT$ac_delim
16457 OBJEXT!$OBJEXT$ac_delim
16460 GREP!$GREP$ac_delim
16461 EGREP!$EGREP$ac_delim
16462 LINUX_INCLUDE!$LINUX_INCLUDE$ac_delim
16463 MAINTAINER_CMT!$MAINTAINER_CMT$ac_delim
16464 HTREE_CMT!$HTREE_CMT$ac_delim
16465 ELF_CMT!$ELF_CMT$ac_delim
16466 BSDLIB_CMT!$BSDLIB_CMT$ac_delim
16467 PROFILE_CMT!$PROFILE_CMT$ac_delim
16468 CHECKER_CMT!$CHECKER_CMT$ac_delim
16469 LIB_EXT!$LIB_EXT$ac_delim
16470 STATIC_LIB_EXT!$STATIC_LIB_EXT$ac_delim
16471 PROFILED_LIB_EXT!$PROFILED_LIB_EXT$ac_delim
16472 LDFLAG_DYNAMIC!$LDFLAG_DYNAMIC$ac_delim
16473 PRIVATE_LIBS_CMT!$PRIVATE_LIBS_CMT$ac_delim
16476 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 73; then
16478 elif $ac_last_try; then
16479 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
16480 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
16481 { (exit 1); exit 1; }; }
16483 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
16487 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
16488 if test -n "$ac_eof"; then
16489 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
16490 ac_eof
=`expr $ac_eof + 1`
16493 cat >>$CONFIG_STATUS <<_ACEOF
16494 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
16495 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16496 /^[ ]*@MCONFIG@[ ]*$/{
16500 /^[ ]*@MAKEFILE_ELF@[ ]*$/{
16504 /^[ ]*@MAKEFILE_BSDLIB@[ ]*$/{
16508 /^[ ]*@MAKEFILE_PROFILE@[ ]*$/{
16509 r $MAKEFILE_PROFILE
16512 /^[ ]*@MAKEFILE_CHECKER@[ ]*$/{
16513 r $MAKEFILE_CHECKER
16516 /^[ ]*@MAKEFILE_LIBRARY@[ ]*$/{
16517 r $MAKEFILE_LIBRARY
16520 /^[ ]*@ASM_TYPES_HEADER@[ ]*$/{
16521 r $ASM_TYPES_HEADER
16524 /^[ ]*@PUBLIC_CONFIG_HEADER@[ ]*$/{
16525 r $PUBLIC_CONFIG_HEADER
16530 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
16531 s/^/s,@/; s/!/@,|#_!!_#|/
16534 s/'"$ac_delim"'$/,g/; t
16536 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
16537 ' >>$CONFIG_STATUS <conf$
$subs.
sed
16538 rm -f conf$
$subs.
sed
16539 cat >>$CONFIG_STATUS <<_ACEOF
16545 for ac_last_try
in false false false false false
:; do
16546 cat >conf$
$subs.
sed <<_ACEOF
16547 TEST_IO_CMT!$TEST_IO_CMT$ac_delim
16548 PKG_CONFIG!$PKG_CONFIG$ac_delim
16549 LIBBLKID!$LIBBLKID$ac_delim
16550 DEPLIBBLKID!$DEPLIBBLKID$ac_delim
16551 STATIC_LIBBLKID!$STATIC_LIBBLKID$ac_delim
16552 DEPSTATIC_LIBBLKID!$DEPSTATIC_LIBBLKID$ac_delim
16553 PROFILED_LIBBLKID!$PROFILED_LIBBLKID$ac_delim
16554 DEPPROFILED_LIBBLKID!$DEPPROFILED_LIBBLKID$ac_delim
16555 BLKID_CMT!$BLKID_CMT$ac_delim
16556 DEBUGFS_CMT!$DEBUGFS_CMT$ac_delim
16557 IMAGER_CMT!$IMAGER_CMT$ac_delim
16558 RESIZER_CMT!$RESIZER_CMT$ac_delim
16559 FSCK_PROG!$FSCK_PROG$ac_delim
16560 FSCK_MAN!$FSCK_MAN$ac_delim
16561 E2INITRD_PROG!$E2INITRD_PROG$ac_delim
16562 E2INITRD_MAN!$E2INITRD_MAN$ac_delim
16563 UUIDD_CMT!$UUIDD_CMT$ac_delim
16564 GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
16565 PACKAGE!$PACKAGE$ac_delim
16566 VERSION!$VERSION$ac_delim
16567 SET_MAKE!$SET_MAKE$ac_delim
16568 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
16569 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
16570 INSTALL_DATA!$INSTALL_DATA$ac_delim
16571 MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
16572 USE_NLS!$USE_NLS$ac_delim
16573 MSGFMT!$MSGFMT$ac_delim
16574 GMSGFMT!$GMSGFMT$ac_delim
16575 XGETTEXT!$XGETTEXT$ac_delim
16576 MSGMERGE!$MSGMERGE$ac_delim
16577 RANLIB!$RANLIB$ac_delim
16578 ALLOCA!$ALLOCA$ac_delim
16579 GLIBC21!$GLIBC21$ac_delim
16580 HAVE_POSIX_PRINTF!$HAVE_POSIX_PRINTF$ac_delim
16581 HAVE_ASPRINTF!$HAVE_ASPRINTF$ac_delim
16582 HAVE_SNPRINTF!$HAVE_SNPRINTF$ac_delim
16583 HAVE_WPRINTF!$HAVE_WPRINTF$ac_delim
16584 LIBICONV!$LIBICONV$ac_delim
16585 LTLIBICONV!$LTLIBICONV$ac_delim
16586 INTLBISON!$INTLBISON$ac_delim
16587 BUILD_INCLUDED_LIBINTL!$BUILD_INCLUDED_LIBINTL$ac_delim
16588 USE_INCLUDED_LIBINTL!$USE_INCLUDED_LIBINTL$ac_delim
16589 CATOBJEXT!$CATOBJEXT$ac_delim
16590 DATADIRNAME!$DATADIRNAME$ac_delim
16591 INSTOBJEXT!$INSTOBJEXT$ac_delim
16592 GENCAT!$GENCAT$ac_delim
16593 INTLOBJS!$INTLOBJS$ac_delim
16594 INTL_LIBTOOL_SUFFIX_PREFIX!$INTL_LIBTOOL_SUFFIX_PREFIX$ac_delim
16595 INTLLIBS!$INTLLIBS$ac_delim
16596 LIBINTL!$LIBINTL$ac_delim
16597 LTLIBINTL!$LTLIBINTL$ac_delim
16598 POSUB!$POSUB$ac_delim
16599 BINARY_TYPE!$BINARY_TYPE$ac_delim
16601 LN_S!$LN_S$ac_delim
16605 CHMOD!$CHMOD$ac_delim
16608 PERL!$PERL$ac_delim
16609 LDCONFIG!$LDCONFIG$ac_delim
16611 STRIP!$STRIP$ac_delim
16612 MAKEINFO!$MAKEINFO$ac_delim
16613 BUILD_CC!$BUILD_CC$ac_delim
16614 SIZEOF_SHORT!$SIZEOF_SHORT$ac_delim
16615 SIZEOF_INT!$SIZEOF_INT$ac_delim
16616 SIZEOF_LONG!$SIZEOF_LONG$ac_delim
16617 SIZEOF_LONG_LONG!$SIZEOF_LONG_LONG$ac_delim
16618 SOCKET_LIB!$SOCKET_LIB$ac_delim
16619 DLOPEN_LIB!$DLOPEN_LIB$ac_delim
16620 SEM_INIT_LIB!$SEM_INIT_LIB$ac_delim
16621 UNI_DIFF_OPTS!$UNI_DIFF_OPTS$ac_delim
16622 LINUX_CMT!$LINUX_CMT$ac_delim
16623 CYGWIN_CMT!$CYGWIN_CMT$ac_delim
16624 UNIX_CMT!$UNIX_CMT$ac_delim
16625 root_prefix!$root_prefix$ac_delim
16626 root_bindir!$root_bindir$ac_delim
16627 root_sbindir!$root_sbindir$ac_delim
16628 root_libdir!$root_libdir$ac_delim
16629 root_sysconfdir!$root_sysconfdir$ac_delim
16630 LDFLAG_STATIC!$LDFLAG_STATIC$ac_delim
16631 SS_DIR!$SS_DIR$ac_delim
16632 ET_DIR!$ET_DIR$ac_delim
16633 DO_TEST_SUITE!$DO_TEST_SUITE$ac_delim
16634 INTL_FLAGS!$INTL_FLAGS$ac_delim
16635 BUILD_CFLAGS!$BUILD_CFLAGS$ac_delim
16636 BUILD_LDFLAGS!$BUILD_LDFLAGS$ac_delim
16637 LIBOBJS!$LIBOBJS$ac_delim
16638 LTLIBOBJS!$LTLIBOBJS$ac_delim
16641 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 92; then
16643 elif $ac_last_try; then
16644 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
16645 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
16646 { (exit 1); exit 1; }; }
16648 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
16652 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
16653 if test -n "$ac_eof"; then
16654 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
16655 ac_eof
=`expr $ac_eof + 1`
16658 cat >>$CONFIG_STATUS <<_ACEOF
16659 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
16660 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
16663 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
16664 s/^/s,@/; s/!/@,|#_!!_#|/
16667 s/'"$ac_delim"'$/,g/; t
16669 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
16670 ' >>$CONFIG_STATUS <conf$
$subs.
sed
16671 rm -f conf$
$subs.
sed
16672 cat >>$CONFIG_STATUS <<_ACEOF
16679 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16680 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16681 # trailing colons and then remove the whole line if VPATH becomes empty
16682 # (actually we leave an empty line to preserve line numbers).
16683 if test "x$srcdir" = x.
; then
16684 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
16685 s/:*\$(srcdir):*/:/
16686 s/:*\${srcdir}:*/:/
16688 s/^\([^=]*=[ ]*\):*/\1/
16694 cat >>$CONFIG_STATUS <<\_ACEOF
16695 fi # test -n "$CONFIG_FILES"
16698 for ac_tag
in :F
$CONFIG_FILES :C
$CONFIG_COMMANDS
16701 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16703 case $ac_mode$ac_tag in
16705 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
16706 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
16707 { (exit 1); exit 1; }; };;
16708 :[FH
]-) ac_tag
=-:-;;
16709 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16726 -) ac_f
="$tmp/stdin";;
16727 *) # Look for the file first in the build tree, then in the source tree
16728 # (if the path is not absolute). The absolute path cannot be DOS-style,
16729 # because $ac_f cannot contain `:'.
16733 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16735 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
16736 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
16737 { (exit 1); exit 1; }; };;
16739 ac_file_inputs
="$ac_file_inputs $ac_f"
16742 # Let's still pretend it is `configure' which instantiates (i.e., don't
16743 # use $as_me), people would be surprised to read:
16744 # /* config.h. Generated by config.status. */
16745 configure_input
="Generated from "`IFS=:
16746 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
16747 if test x
"$ac_file" != x-
; then
16748 configure_input
="$ac_file. $configure_input"
16749 { echo "$as_me:$LINENO: creating $ac_file" >&5
16750 echo "$as_me: creating $ac_file" >&6;}
16754 *:-:* |
*:-) cat >"$tmp/stdin";;
16759 ac_dir
=`$as_dirname -- "$ac_file" ||
16760 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16761 X"$ac_file" : 'X\(//\)[^/]' \| \
16762 X"$ac_file" : 'X\(//\)$' \| \
16763 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16765 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16769 /^X\(\/\/\)[^/].*/{
16784 -*) as_dir
=.
/$as_dir;;
16786 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
16790 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
16791 *) as_qdir
=$as_dir;;
16793 as_dirs
="'$as_qdir' $as_dirs"
16794 as_dir
=`$as_dirname -- "$as_dir" ||
16795 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16796 X"$as_dir" : 'X\(//\)[^/]' \| \
16797 X"$as_dir" : 'X\(//\)$' \| \
16798 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16800 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16804 /^X\(\/\/\)[^/].*/{
16817 test -d "$as_dir" && break
16819 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16820 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16821 echo "$as_me: error: cannot create directory $as_dir" >&2;}
16822 { (exit 1); exit 1; }; }; }
16826 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16828 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16829 # A ".." for each directory in $ac_dir_suffix.
16830 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
16831 case $ac_top_builddir_sub in
16832 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16833 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16836 ac_abs_top_builddir
=$ac_pwd
16837 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16838 # for backward compatibility:
16839 ac_top_builddir
=$ac_top_build_prefix
16842 .
) # We are building in place.
16844 ac_top_srcdir
=$ac_top_builddir_sub
16845 ac_abs_top_srcdir
=$ac_pwd ;;
16846 [\\/]* | ?
:[\\/]* ) # Absolute name.
16847 ac_srcdir
=$srcdir$ac_dir_suffix;
16848 ac_top_srcdir
=$srcdir
16849 ac_abs_top_srcdir
=$srcdir ;;
16850 *) # Relative name.
16851 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16852 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16853 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16855 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16865 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16866 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16870 cat >>$CONFIG_STATUS <<\_ACEOF
16871 # If the template does not know about datarootdir, expand it.
16872 # FIXME: This hack should be removed a few years after 2.60.
16873 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16875 case `sed -n '/datarootdir/ {
16884 ' $ac_file_inputs` in
16885 *datarootdir
*) ac_datarootdir_seen
=yes;;
16886 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16887 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16888 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16890 cat >>$CONFIG_STATUS <<_ACEOF
16891 ac_datarootdir_hack='
16892 s&@datadir@&$datadir&g
16893 s&@docdir@&$docdir&g
16894 s&@infodir@&$infodir&g
16895 s&@localedir@&$localedir&g
16896 s&@mandir@&$mandir&g
16897 s&\\\${datarootdir}&$datarootdir&g' ;;
16901 # Neutralize VPATH when `$srcdir' = `.'.
16902 # Shell code in configure.ac might set extrasub.
16903 # FIXME: do we really want to maintain this feature?
16904 cat >>$CONFIG_STATUS <<_ACEOF
16908 cat >>$CONFIG_STATUS <<\_ACEOF
16910 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16911 s
&@configure_input@
&$configure_input&;t t
16912 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16913 s
&@srcdir@
&$ac_srcdir&;t t
16914 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16915 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16916 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16917 s
&@builddir@
&$ac_builddir&;t t
16918 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16919 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16920 s
&@INSTALL@
&$ac_INSTALL&;t t
16921 $ac_datarootdir_hack
16922 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
16924 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16925 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16926 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16927 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16928 which seems to be undefined. Please make sure it is defined." >&5
16929 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16930 which seems to be undefined. Please make sure it is defined." >&2;}
16934 -) cat "$tmp/out"; rm -f "$tmp/out";;
16935 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
16940 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
16941 echo "$as_me: executing $ac_file commands" >&6;}
16946 case $ac_file$ac_mode in
16948 for ac_file in $CONFIG_FILES; do
16949 # Support "outfile[:infile[:infile...]]"
16951 *:*) ac_file=`echo "$ac_file"|sed 's
%:.
*%%'` ;;
16953 # PO directories have a Makefile.in generated from Makefile.in.in.
16954 case "$ac_file" in */Makefile.in)
16955 # Adjust a relative srcdir.
16956 ac_dir=`echo "$ac_file"|sed 's
%/[^
/][^
/]*$
%%'`
16957 ac_dir_suffix="/`echo "$ac_dir"|sed 's
%^\.
/%%'`"
16958 ac_dots=`echo "$ac_dir_suffix"|sed 's
%/[^
/]*%..
/%g
'`
16959 # In autoconf-2.13 it is called $ac_given_srcdir.
16960 # In autoconf-2.50 it is called $srcdir.
16961 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
16962 case "$ac_given_srcdir" in
16963 .) top_srcdir=`echo $ac_dots|sed 's
%/$
%%'` ;;
16964 /*) top_srcdir="$ac_given_srcdir" ;;
16965 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
16967 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
16968 rm -f "$ac_dir/POTFILES"
16969 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
16970 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
16971 POMAKEFILEDEPS="POTFILES.in"
16972 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
16973 # on $ac_dir but don't depend on user-specified configuration
16975 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
16976 # The LINGUAS file contains the set of available languages.
16977 if test -n "$OBSOLETE_ALL_LINGUAS"; then
16978 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
16980 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
16981 # Hide the ALL_LINGUAS assigment from automake.
16982 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
16983 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
16985 # The set of available languages was given in configure.in.
16986 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
16989 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
16990 # Compute UPDATEPOFILES
16991 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
16992 # Compute DUMMYPOFILES
16993 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
16995 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
16996 case "$ac_given_srcdir" in
16998 *) srcdirpre
='$(srcdir)/' ;;
17004 for lang
in $ALL_LINGUAS; do
17005 POFILES
="$POFILES $srcdirpre$lang.po"
17006 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
17007 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
17008 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
17010 # CATALOGS depends on both $ac_dir and the user's LINGUAS
17011 # environment variable.
17013 if test -n "$ALL_LINGUAS"; then
17014 for presentlang
in $ALL_LINGUAS; do
17016 if test "%UNSET%" != "$LINGUAS"; then
17017 desiredlanguages
="$LINGUAS"
17019 desiredlanguages
="$ALL_LINGUAS"
17021 for desiredlang
in $desiredlanguages; do
17022 # Use the presentlang catalog if desiredlang is
17023 # a. equal to presentlang, or
17024 # b. a variant of presentlang (because in this case,
17025 # presentlang can be used as a fallback for messages
17026 # which are not translated in the desiredlang catalog).
17027 case "$desiredlang" in
17028 "$presentlang"*) useit
=yes;;
17031 if test $useit = yes; then
17032 INST_LINGUAS
="$INST_LINGUAS $presentlang"
17037 if test -n "$INST_LINGUAS"; then
17038 for lang
in $INST_LINGUAS; do
17039 CATALOGS
="$CATALOGS $lang.gmo"
17042 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
17043 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"
17044 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
17045 if test -f "$f"; then
17047 *.orig |
*.bak |
*~
) ;;
17048 *) cat "$f" >> "$ac_dir/Makefile" ;;
17061 { (exit 0); exit 0; }
17063 chmod +x
$CONFIG_STATUS
17064 ac_clean_files
=$ac_clean_files_save
17067 # configure is writing to config.log, and then calls config.status.
17068 # config.status does its own redirection, appending to config.log.
17069 # Unfortunately, on DOS this fails, as config.log is still kept open
17070 # by configure, so config.status won't be able to write to it; its
17071 # output is simply discarded. So we exec the FD to /dev/null,
17072 # effectively closing config.log, so it can be properly (re)opened and
17073 # appended to by config.status. When coming back to configure, we
17074 # need to make the FD available again.
17075 if test "$no_create" != yes; then
17077 ac_config_status_args
=
17078 test "$silent" = yes &&
17079 ac_config_status_args
="$ac_config_status_args --quiet"
17081 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17083 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17084 # would make configure fail if this is the last instruction.
17085 $ac_cs_success ||
{ (exit 1); exit 1; }
17088 if test -f util
/gen-tarball
; then chmod +x util
/gen-tarball
; fi