2
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.59.
3
# Generated by GNU Autoconf 2.53.
5
# Copyright (C) 2003 Free Software Foundation, Inc.
5
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6
# Free Software Foundation, Inc.
6
7
# This configure script is free software; the Free Software Foundation
7
8
# gives unlimited permission to copy, distribute and modify it.
10
if expr a : '\(a\)' >/dev/null 2>&1; then
8
17
## --------------------- ##
9
18
## M4sh Initialization. ##
10
19
## --------------------- ##
13
22
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17
# is contrary to our usage. Disable this feature.
18
alias -g '${1+"$@"}'='"$@"'
19
25
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22
DUALCASE=1; export DUALCASE # for MKS sh
24
30
# Support unset when possible.
25
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
31
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
32
# Work around bugs in pre-3.0 UWIN ksh.
33
$as_unset ENV MAIL MAILPATH
40
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
eval $as_var=C; export $as_var
51
# Required to use basename.
52
if expr a : '\(a\)' >/dev/null 2>&1; then
58
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
37
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
38
{ $as_unset LANG || test "${LANG+set}" != set; } ||
39
{ LANG=C; export LANG; }
40
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
41
{ $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
42
{ LC_ALL=C; export LC_ALL; }
43
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
44
{ $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
45
{ LC_TIME=C; export LC_TIME; }
46
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
47
{ $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
48
{ LC_CTYPE=C; export LC_CTYPE; }
49
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
50
{ $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
51
{ LANGUAGE=C; export LANGUAGE; }
52
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
53
{ $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
54
{ LC_COLLATE=C; export LC_COLLATE; }
55
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
56
{ $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
57
{ LC_NUMERIC=C; export LC_NUMERIC; }
58
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
59
{ $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
60
{ LC_MESSAGES=C; export LC_MESSAGES; }
65
63
# Name of the executable.
66
as_me=`$as_basename "$0" ||
64
as_me=`(basename "$0") 2>/dev/null ||
67
65
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
66
X"$0" : 'X\(//\)$' \| \
69
67
X"$0" : 'X\(/\)$' \| \
216
211
rm -f conf$$ conf$$.exe conf$$.file
218
if mkdir -p . 2>/dev/null; then
221
test -d ./-p && rmdir ./-p
225
213
as_executable_p="test -f"
227
215
# Sed expression to map a string onto a valid CPP name.
228
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
216
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
230
218
# Sed expression to map a string onto a valid variable name.
231
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
219
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
895
877
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
896
878
ac_top_srcdir=$ac_top_builddir$srcdir ;;
899
# Do not use `cd foo && pwd` to compute absolute paths, because
900
# the directories may not exist.
902
.) ac_abs_builddir="$ac_dir";;
905
.) ac_abs_builddir=`pwd`;;
906
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
907
*) ac_abs_builddir=`pwd`/"$ac_dir";;
910
case $ac_abs_builddir in
911
.) ac_abs_top_builddir=${ac_top_builddir}.;;
913
case ${ac_top_builddir}. in
914
.) ac_abs_top_builddir=$ac_abs_builddir;;
915
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
916
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
919
case $ac_abs_builddir in
920
.) ac_abs_srcdir=$ac_srcdir;;
923
.) ac_abs_srcdir=$ac_abs_builddir;;
924
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
925
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
928
case $ac_abs_builddir in
929
.) ac_abs_top_srcdir=$ac_top_srcdir;;
931
case $ac_top_srcdir in
932
.) ac_abs_top_srcdir=$ac_abs_builddir;;
933
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
934
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
880
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
882
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
883
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
884
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
885
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
939
888
# Check for guested configure; otherwise get Cygnus style configure.
958
907
if $ac_init_version; then
961
Copyright (C) 2003 Free Software Foundation, Inc.
910
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
911
Free Software Foundation, Inc.
962
912
This configure script is free software; the Free Software Foundation
963
913
gives unlimited permission to copy, distribute and modify it.
1023
973
# Keep a trace of the command line.
1024
974
# Strip out --no-create and --no-recursion so they do not pile up.
1025
# Strip out --silent because we don't want to record it for future runs.
1026
975
# Also quote any args containing shell meta-characters.
1027
# Make two passes to allow for proper duplicate-argument suppression.
1028
976
ac_configure_args=
1032
ac_must_keep_next=false
1038
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1039
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1040
| -silent | --silent | --silen | --sile | --sil)
1042
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1043
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1046
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1048
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1049
if test $ac_must_keep_next = true; then
1050
ac_must_keep_next=false # Got value, back to normal.
1053
*=* | --config-cache | -C | -disable-* | --disable-* \
1054
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1055
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1056
| -with-* | --with-* | -without-* | --without-* | --x)
1057
case "$ac_configure_args0 " in
1058
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1061
-* ) ac_must_keep_next=true ;;
1064
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1065
# Get rid of the leading space.
981
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
982
| --no-cr | --no-c | -n ) continue ;;
983
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
984
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
986
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
987
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
989
case " $ac_configure_args " in
990
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
991
*) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
994
# Get rid of the leading space.
1071
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1072
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1074
997
# When interrupted or exit'd, cleanup temporary files, and complete
1075
998
# config.log. We remove comments because anyway the quotes in there
1093
1015
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1096
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1097
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1018
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1019
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1101
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1023
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1108
## ----------------- ##
1109
## Output variables. ##
1110
## ----------------- ##
1113
for ac_var in $ac_subst_vars
1115
eval ac_val=$`echo $ac_var`
1116
echo "$ac_var='"'"'$ac_val'"'"'"
1120
if test -n "$ac_subst_files"; then
1127
for ac_var in $ac_subst_files
1129
eval ac_val=$`echo $ac_var`
1130
echo "$ac_var='"'"'$ac_val'"'"'"
1135
1028
if test -s confdefs.h; then
1137
1030
## ----------- ##
1245
1138
if test "x$ac_old_val" != "x$ac_new_val"; then
1246
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1139
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1247
1140
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1248
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1141
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1249
1142
echo "$as_me: former value: $ac_old_val" >&2;}
1250
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1143
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1251
1144
echo "$as_me: current value: $ac_new_val" >&2;}
1252
ac_cache_corrupted=:
1145
ac_cache_corrupted=:
1255
1148
# Pass precious variables to config.status.
1360
1250
for ac_prog in ginstall scoinst install; do
1361
1251
for ac_exec_ext in '' $ac_executable_extensions; do
1362
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1363
if test $ac_prog = install &&
1364
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1365
# AIX install. It has an incompatible calling convention.
1367
elif test $ac_prog = install &&
1368
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1369
# program-specific install script used by HP pwplus--don't use.
1372
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1252
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1253
if test $ac_prog = install &&
1254
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1255
# AIX install. It has an incompatible calling convention.
1257
elif test $ac_prog = install &&
1258
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1259
# program-specific install script used by HP pwplus--don't use.
1262
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1460
1350
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1461
1351
rm conftest.sed
1463
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1464
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1465
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1353
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1354
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1355
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1466
1356
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1467
1357
echo $ECHO_N "(cached) $ECHO_C" >&6
1469
1359
cat >conftest.make <<\_ACEOF
1471
@echo 'ac_maketemp="$(MAKE)"'
1361
@echo 'ac_maketemp="${MAKE}"'
1473
1363
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1474
1364
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1970
1863
ac_clean_files_save=$ac_clean_files
1971
ac_clean_files="$ac_clean_files a.out a.exe b.out"
1864
ac_clean_files="$ac_clean_files a.out a.exe"
1972
1865
# Try to create an executable without -o first, disregard a.out.
1973
1866
# It will help us diagnose broken compilers, and finding out an intuition
1975
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1976
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1868
echo "$as_me:$LINENO: checking for C compiler default output" >&5
1869
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1977
1870
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1978
1871
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1979
1872
(eval $ac_link_default) 2>&5
1987
1880
# Be careful to initialize this variable, since it used to be cached.
1988
1881
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1990
# b.out is created by i960 compilers.
1991
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1993
test -f "$ac_file" || continue
1883
for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1884
ls a.out conftest 2>/dev/null;
1885
ls a.* conftest.* 2>/dev/null`; do
1994
1886
case $ac_file in
1995
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1998
# This is the source file.
2001
# We found the default executable, but exeext='' is most
2005
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2006
# FIXME: I believe we export ac_cv_exeext for Libtool,
2007
# but it would be cool to find out if it's true. Does anybody
2008
# maintain Libtool? --akim.
1887
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
1888
a.out ) # We found the default executable, but exeext='' is most
1891
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1892
# FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2016
1899
echo "$as_me: failed program was:" >&5
2017
sed 's/^/| /' conftest.$ac_ext >&5
2019
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2020
See \`config.log' for more details." >&5
2021
echo "$as_me: error: C compiler cannot create executables
2022
See \`config.log' for more details." >&2;}
1900
cat conftest.$ac_ext >&5
1901
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1902
echo "$as_me: error: C compiler cannot create executables" >&2;}
2023
1903
{ (exit 77); exit 77; }; }
2078
1956
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2079
1957
# work properly (i.e., refer to `conftest.exe'), while it won't with
2081
for ac_file in conftest.exe conftest conftest.*; do
2082
test -f "$ac_file" || continue
1959
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2083
1960
case $ac_file in
2084
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1961
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2085
1962
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2092
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2093
See \`config.log' for more details." >&5
2094
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2095
See \`config.log' for more details." >&2;}
1969
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1970
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
2096
1971
{ (exit 1); exit 1; }; }
2131
2009
(exit $ac_status); }; then
2132
2010
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2133
2011
case $ac_file in
2134
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2012
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2135
2013
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2140
2018
echo "$as_me: failed program was:" >&5
2141
sed 's/^/| /' conftest.$ac_ext >&5
2143
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2144
See \`config.log' for more details." >&5
2145
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2146
See \`config.log' for more details." >&2;}
2019
cat conftest.$ac_ext >&5
2020
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2021
echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2147
2022
{ (exit 1); exit 1; }; }
2179
2057
rm -f conftest.$ac_objext
2180
2058
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2181
(eval $ac_compile) 2>conftest.er1
2059
(eval $ac_compile) 2>&5
2183
grep -v '^ *+' conftest.er1 >conftest.err
2185
cat conftest.err >&5
2186
2061
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2187
2062
(exit $ac_status); } &&
2188
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2189
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2192
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2193
(exit $ac_status); }; } &&
2194
{ ac_try='test -s conftest.$ac_objext'
2063
{ ac_try='test -s conftest.$ac_objext'
2195
2064
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2196
2065
(eval $ac_try) 2>&5
2237
2108
rm -f conftest.$ac_objext
2238
2109
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2239
(eval $ac_compile) 2>conftest.er1
2110
(eval $ac_compile) 2>&5
2241
grep -v '^ *+' conftest.er1 >conftest.err
2243
cat conftest.err >&5
2244
2112
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2245
2113
(exit $ac_status); } &&
2246
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2247
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2250
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2251
(exit $ac_status); }; } &&
2252
{ ac_try='test -s conftest.$ac_objext'
2114
{ ac_try='test -s conftest.$ac_objext'
2253
2115
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2254
2116
(eval $ac_try) 2>&5
2284
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2285
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2286
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2287
echo $ECHO_N "(cached) $ECHO_C" >&6
2289
ac_cv_prog_cc_stdc=no
2291
cat >conftest.$ac_ext <<_ACEOF
2294
cat confdefs.h >>conftest.$ac_ext
2295
cat >>conftest.$ac_ext <<_ACEOF
2296
/* end confdefs.h. */
2299
#include <sys/types.h>
2300
#include <sys/stat.h>
2301
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2302
struct buf { int x; };
2303
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2304
static char *e (p, i)
2310
static char *f (char * (*g) (char **, int), char **p, ...)
2315
s = g (p, va_arg (v,int));
2320
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2321
function prototypes and stuff, but not '\xHH' hex character constants.
2322
These don't provoke an error unfortunately, instead are silently treated
2323
as 'x'. The following induces an error, until -std1 is added to get
2324
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2325
array size at least. It's necessary to write '\x00'==0 to get something
2326
that's true only with -std1. */
2327
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2329
int test (int i, double x);
2330
struct s1 {int (*f) (int a);};
2331
struct s2 {int (*f) (double a);};
2332
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2338
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2343
# Don't try gcc -ansi; that turns off useful extensions and
2344
# breaks some systems' header files.
2345
# AIX -qlanglvl=ansi
2346
# Ultrix and OSF/1 -std1
2347
# HP-UX 10.20 and later -Ae
2348
# HP-UX older versions -Aa -D_HPUX_SOURCE
2349
# SVR4 -Xc -D__EXTENSIONS__
2350
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2352
CC="$ac_save_CC $ac_arg"
2353
rm -f conftest.$ac_objext
2354
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2355
(eval $ac_compile) 2>conftest.er1
2357
grep -v '^ *+' conftest.er1 >conftest.err
2359
cat conftest.err >&5
2360
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361
(exit $ac_status); } &&
2362
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2363
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2366
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2367
(exit $ac_status); }; } &&
2368
{ ac_try='test -s conftest.$ac_objext'
2369
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2372
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373
(exit $ac_status); }; }; then
2374
ac_cv_prog_cc_stdc=$ac_arg
2377
echo "$as_me: failed program was:" >&5
2378
sed 's/^/| /' conftest.$ac_ext >&5
2381
rm -f conftest.err conftest.$ac_objext
2383
rm -f conftest.$ac_ext conftest.$ac_objext
2388
case "x$ac_cv_prog_cc_stdc" in
2390
echo "$as_me:$LINENO: result: none needed" >&5
2391
echo "${ECHO_T}none needed" >&6 ;;
2393
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2394
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2395
CC="$CC $ac_cv_prog_cc_stdc" ;;
2398
2145
# Some people use a C++ compiler to compile C. Since we use `exit',
2399
2146
# in C++ we need to declare it. In case someone uses the same compiler
2400
2147
# for both compiling C and C++ we need to have the C++ compiler decide
2407
2154
rm -f conftest.$ac_objext
2408
2155
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2409
(eval $ac_compile) 2>conftest.er1
2156
(eval $ac_compile) 2>&5
2411
grep -v '^ *+' conftest.er1 >conftest.err
2413
cat conftest.err >&5
2414
2158
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2415
2159
(exit $ac_status); } &&
2416
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2417
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2420
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2421
(exit $ac_status); }; } &&
2422
{ ac_try='test -s conftest.$ac_objext'
2160
{ ac_try='test -s conftest.$ac_objext'
2423
2161
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2424
2162
(eval $ac_try) 2>&5
2426
2164
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427
2165
(exit $ac_status); }; }; then
2428
2166
for ac_declaration in \
2168
'#include <stdlib.h>' \
2430
2169
'extern "C" void std::exit (int) throw (); using std::exit;' \
2431
2170
'extern "C" void std::exit (int); using std::exit;' \
2432
2171
'extern "C" void exit (int) throw ();' \
2452
2194
rm -f conftest.$ac_objext
2453
2195
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2454
(eval $ac_compile) 2>conftest.er1
2196
(eval $ac_compile) 2>&5
2456
grep -v '^ *+' conftest.er1 >conftest.err
2458
cat conftest.err >&5
2459
2198
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2460
2199
(exit $ac_status); } &&
2461
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2462
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2465
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466
(exit $ac_status); }; } &&
2467
{ ac_try='test -s conftest.$ac_objext'
2200
{ ac_try='test -s conftest.$ac_objext'
2468
2201
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2469
2202
(eval $ac_try) 2>&5
2496
2231
rm -f conftest.$ac_objext
2497
2232
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2498
(eval $ac_compile) 2>conftest.er1
2233
(eval $ac_compile) 2>&5
2500
grep -v '^ *+' conftest.er1 >conftest.err
2502
cat conftest.err >&5
2503
2235
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504
2236
(exit $ac_status); } &&
2505
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2506
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2509
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510
(exit $ac_status); }; } &&
2511
{ ac_try='test -s conftest.$ac_objext'
2237
{ ac_try='test -s conftest.$ac_objext'
2512
2238
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2513
2239
(eval $ac_try) 2>&5
2575
2302
rm -f conftest.$ac_objext conftest$ac_exeext
2576
2303
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2577
(eval $ac_link) 2>conftest.er1
2304
(eval $ac_link) 2>&5
2579
grep -v '^ *+' conftest.er1 >conftest.err
2581
cat conftest.err >&5
2582
2306
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583
2307
(exit $ac_status); } &&
2584
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2585
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2588
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589
(exit $ac_status); }; } &&
2590
{ ac_try='test -s conftest$ac_exeext'
2308
{ ac_try='test -s conftest$ac_exeext'
2591
2309
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2592
2310
(eval $ac_try) 2>&5
2973
2692
rm -f conftest.$ac_objext
2974
2693
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2975
(eval $ac_compile) 2>conftest.er1
2694
(eval $ac_compile) 2>&5
2977
grep -v '^ *+' conftest.er1 >conftest.err
2979
cat conftest.err >&5
2980
2696
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981
2697
(exit $ac_status); } &&
2982
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2983
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2986
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987
(exit $ac_status); }; } &&
2988
{ ac_try='test -s conftest.$ac_objext'
2698
{ ac_try='test -s conftest.$ac_objext'
2989
2699
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2990
2700
(eval $ac_try) 2>&5
3031
2743
rm -f conftest.$ac_objext
3032
2744
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3033
(eval $ac_compile) 2>conftest.er1
2745
(eval $ac_compile) 2>&5
3035
grep -v '^ *+' conftest.er1 >conftest.err
3037
cat conftest.err >&5
3038
2747
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3039
2748
(exit $ac_status); } &&
3040
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3041
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3044
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3045
(exit $ac_status); }; } &&
3046
{ ac_try='test -s conftest.$ac_objext'
2749
{ ac_try='test -s conftest.$ac_objext'
3047
2750
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3048
2751
(eval $ac_try) 2>&5
3078
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3079
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3080
if test "${ac_cv_prog_cc_stdc+set}" = set; then
3081
echo $ECHO_N "(cached) $ECHO_C" >&6
3083
ac_cv_prog_cc_stdc=no
3085
cat >conftest.$ac_ext <<_ACEOF
3088
cat confdefs.h >>conftest.$ac_ext
3089
cat >>conftest.$ac_ext <<_ACEOF
3090
/* end confdefs.h. */
3093
#include <sys/types.h>
3094
#include <sys/stat.h>
3095
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3096
struct buf { int x; };
3097
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3098
static char *e (p, i)
3104
static char *f (char * (*g) (char **, int), char **p, ...)
3109
s = g (p, va_arg (v,int));
3114
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3115
function prototypes and stuff, but not '\xHH' hex character constants.
3116
These don't provoke an error unfortunately, instead are silently treated
3117
as 'x'. The following induces an error, until -std1 is added to get
3118
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3119
array size at least. It's necessary to write '\x00'==0 to get something
3120
that's true only with -std1. */
3121
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3123
int test (int i, double x);
3124
struct s1 {int (*f) (int a);};
3125
struct s2 {int (*f) (double a);};
3126
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3132
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3137
# Don't try gcc -ansi; that turns off useful extensions and
3138
# breaks some systems' header files.
3139
# AIX -qlanglvl=ansi
3140
# Ultrix and OSF/1 -std1
3141
# HP-UX 10.20 and later -Ae
3142
# HP-UX older versions -Aa -D_HPUX_SOURCE
3143
# SVR4 -Xc -D__EXTENSIONS__
3144
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3146
CC="$ac_save_CC $ac_arg"
3147
rm -f conftest.$ac_objext
3148
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3149
(eval $ac_compile) 2>conftest.er1
3151
grep -v '^ *+' conftest.er1 >conftest.err
3153
cat conftest.err >&5
3154
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3155
(exit $ac_status); } &&
3156
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3157
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3160
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161
(exit $ac_status); }; } &&
3162
{ ac_try='test -s conftest.$ac_objext'
3163
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3166
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3167
(exit $ac_status); }; }; then
3168
ac_cv_prog_cc_stdc=$ac_arg
3171
echo "$as_me: failed program was:" >&5
3172
sed 's/^/| /' conftest.$ac_ext >&5
3175
rm -f conftest.err conftest.$ac_objext
3177
rm -f conftest.$ac_ext conftest.$ac_objext
3182
case "x$ac_cv_prog_cc_stdc" in
3184
echo "$as_me:$LINENO: result: none needed" >&5
3185
echo "${ECHO_T}none needed" >&6 ;;
3187
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3188
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3189
CC="$CC $ac_cv_prog_cc_stdc" ;;
3192
2780
# Some people use a C++ compiler to compile C. Since we use `exit',
3193
2781
# in C++ we need to declare it. In case someone uses the same compiler
3194
2782
# for both compiling C and C++ we need to have the C++ compiler decide
3201
2789
rm -f conftest.$ac_objext
3202
2790
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3203
(eval $ac_compile) 2>conftest.er1
2791
(eval $ac_compile) 2>&5
3205
grep -v '^ *+' conftest.er1 >conftest.err
3207
cat conftest.err >&5
3208
2793
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209
2794
(exit $ac_status); } &&
3210
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3211
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3214
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3215
(exit $ac_status); }; } &&
3216
{ ac_try='test -s conftest.$ac_objext'
2795
{ ac_try='test -s conftest.$ac_objext'
3217
2796
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3218
2797
(eval $ac_try) 2>&5
3220
2799
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3221
2800
(exit $ac_status); }; }; then
3222
2801
for ac_declaration in \
2803
'#include <stdlib.h>' \
3224
2804
'extern "C" void std::exit (int) throw (); using std::exit;' \
3225
2805
'extern "C" void std::exit (int); using std::exit;' \
3226
2806
'extern "C" void exit (int) throw ();' \
3246
2829
rm -f conftest.$ac_objext
3247
2830
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3248
(eval $ac_compile) 2>conftest.er1
2831
(eval $ac_compile) 2>&5
3250
grep -v '^ *+' conftest.er1 >conftest.err
3252
cat conftest.err >&5
3253
2833
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254
2834
(exit $ac_status); } &&
3255
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3256
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3259
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260
(exit $ac_status); }; } &&
3261
{ ac_try='test -s conftest.$ac_objext'
2835
{ ac_try='test -s conftest.$ac_objext'
3262
2836
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3263
2837
(eval $ac_try) 2>&5
3290
2866
rm -f conftest.$ac_objext
3291
2867
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3292
(eval $ac_compile) 2>conftest.er1
2868
(eval $ac_compile) 2>&5
3294
grep -v '^ *+' conftest.er1 >conftest.err
3296
cat conftest.err >&5
3297
2870
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298
2871
(exit $ac_status); } &&
3299
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3300
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3303
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304
(exit $ac_status); }; } &&
3305
{ ac_try='test -s conftest.$ac_objext'
2872
{ ac_try='test -s conftest.$ac_objext'
3306
2873
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3307
2874
(eval $ac_try) 2>&5
3402
2970
rm -f conftest.$ac_objext
3403
2971
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3404
(eval $ac_compile) 2>conftest.er1
2972
(eval $ac_compile) 2>&5
3406
grep -v '^ *+' conftest.er1 >conftest.err
3408
cat conftest.err >&5
3409
2974
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410
2975
(exit $ac_status); } &&
3411
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3412
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3415
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416
(exit $ac_status); }; } &&
3417
{ ac_try='test -s conftest.$ac_objext'
2976
{ ac_try='test -s conftest.$ac_objext'
3418
2977
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3419
2978
(eval $ac_try) 2>&5
3468
3026
# Use a header file that comes with gcc, so configuring glibc
3469
3027
# with a fresh cross-compiler works.
3470
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3471
# <limits.h> exists even on freestanding compilers.
3472
3028
# On the NeXT, cc -E runs the code through the compiler's parser,
3473
3029
# not just through cpp. "Syntax error" is here to catch this case.
3474
3030
cat >conftest.$ac_ext <<_ACEOF
3477
cat confdefs.h >>conftest.$ac_ext
3478
cat >>conftest.$ac_ext <<_ACEOF
3479
/* end confdefs.h. */
3481
# include <limits.h>
3483
# include <assert.h>
3031
#line $LINENO "configure"
3032
#include "confdefs.h"
3487
3036
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3488
3037
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3490
grep -v '^ *+' conftest.er1 >conftest.err
3039
egrep -v '^ *\+' conftest.er1 >conftest.err
3491
3040
rm -f conftest.er1
3492
3041
cat conftest.err >&5
3493
3042
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494
3043
(exit $ac_status); } >/dev/null; then
3495
3044
if test -s conftest.err; then
3496
3045
ac_cpp_err=$ac_c_preproc_warn_flag
3497
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3515
3062
# OK, works on sane cases. Now check whether non-existent headers
3516
3063
# can be detected and how.
3517
3064
cat >conftest.$ac_ext <<_ACEOF
3520
cat confdefs.h >>conftest.$ac_ext
3521
cat >>conftest.$ac_ext <<_ACEOF
3522
/* end confdefs.h. */
3065
#line $LINENO "configure"
3066
#include "confdefs.h"
3523
3067
#include <ac_nonexistent.h>
3525
3069
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3526
3070
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3528
grep -v '^ *+' conftest.er1 >conftest.err
3072
egrep -v '^ *\+' conftest.er1 >conftest.err
3529
3073
rm -f conftest.er1
3530
3074
cat conftest.err >&5
3531
3075
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3532
3076
(exit $ac_status); } >/dev/null; then
3533
3077
if test -s conftest.err; then
3534
3078
ac_cpp_err=$ac_c_preproc_warn_flag
3535
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3575
3117
# Use a header file that comes with gcc, so configuring glibc
3576
3118
# with a fresh cross-compiler works.
3577
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3578
# <limits.h> exists even on freestanding compilers.
3579
3119
# On the NeXT, cc -E runs the code through the compiler's parser,
3580
3120
# not just through cpp. "Syntax error" is here to catch this case.
3581
3121
cat >conftest.$ac_ext <<_ACEOF
3584
cat confdefs.h >>conftest.$ac_ext
3585
cat >>conftest.$ac_ext <<_ACEOF
3586
/* end confdefs.h. */
3588
# include <limits.h>
3590
# include <assert.h>
3122
#line $LINENO "configure"
3123
#include "confdefs.h"
3594
3127
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3595
3128
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3597
grep -v '^ *+' conftest.er1 >conftest.err
3130
egrep -v '^ *\+' conftest.er1 >conftest.err
3598
3131
rm -f conftest.er1
3599
3132
cat conftest.err >&5
3600
3133
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3601
3134
(exit $ac_status); } >/dev/null; then
3602
3135
if test -s conftest.err; then
3603
3136
ac_cpp_err=$ac_c_preproc_warn_flag
3604
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3622
3153
# OK, works on sane cases. Now check whether non-existent headers
3623
3154
# can be detected and how.
3624
3155
cat >conftest.$ac_ext <<_ACEOF
3627
cat confdefs.h >>conftest.$ac_ext
3628
cat >>conftest.$ac_ext <<_ACEOF
3629
/* end confdefs.h. */
3156
#line $LINENO "configure"
3157
#include "confdefs.h"
3630
3158
#include <ac_nonexistent.h>
3632
3160
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3633
3161
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3635
grep -v '^ *+' conftest.er1 >conftest.err
3163
egrep -v '^ *\+' conftest.er1 >conftest.err
3636
3164
rm -f conftest.er1
3637
3165
cat conftest.err >&5
3638
3166
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3639
3167
(exit $ac_status); } >/dev/null; then
3640
3168
if test -s conftest.err; then
3641
3169
ac_cpp_err=$ac_c_preproc_warn_flag
3642
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3679
3203
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3682
echo "$as_me:$LINENO: checking for egrep" >&5
3683
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3684
if test "${ac_cv_prog_egrep+set}" = set; then
3685
echo $ECHO_N "(cached) $ECHO_C" >&6
3687
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3688
then ac_cv_prog_egrep='grep -E'
3689
else ac_cv_prog_egrep='egrep'
3692
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3693
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3694
EGREP=$ac_cv_prog_egrep
3697
3206
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3698
3207
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3699
3208
if test "${ac_cv_header_stdc+set}" = set; then
3700
3209
echo $ECHO_N "(cached) $ECHO_C" >&6
3702
3211
cat >conftest.$ac_ext <<_ACEOF
3705
cat confdefs.h >>conftest.$ac_ext
3706
cat >>conftest.$ac_ext <<_ACEOF
3707
/* end confdefs.h. */
3212
#line $LINENO "configure"
3213
#include "confdefs.h"
3708
3214
#include <stdlib.h>
3709
3215
#include <stdarg.h>
3710
3216
#include <string.h>
3711
3217
#include <float.h>
3721
rm -f conftest.$ac_objext
3722
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3723
(eval $ac_compile) 2>conftest.er1
3220
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3221
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3725
grep -v '^ *+' conftest.er1 >conftest.err
3223
egrep -v '^ *\+' conftest.er1 >conftest.err
3726
3224
rm -f conftest.er1
3727
3225
cat conftest.err >&5
3728
3226
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3729
(exit $ac_status); } &&
3730
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3731
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3734
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3735
(exit $ac_status); }; } &&
3736
{ ac_try='test -s conftest.$ac_objext'
3737
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3740
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741
(exit $ac_status); }; }; then
3227
(exit $ac_status); } >/dev/null; then
3228
if test -s conftest.err; then
3229
ac_cpp_err=$ac_c_preproc_warn_flag
3236
if test -z "$ac_cpp_err"; then
3742
3237
ac_cv_header_stdc=yes
3744
3239
echo "$as_me: failed program was:" >&5
3745
sed 's/^/| /' conftest.$ac_ext >&5
3747
ac_cv_header_stdc=no
3240
cat conftest.$ac_ext >&5
3241
ac_cv_header_stdc=no
3749
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3243
rm -f conftest.err conftest.$ac_ext
3751
3245
if test $ac_cv_header_stdc = yes; then
3752
3246
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3753
3247
cat >conftest.$ac_ext <<_ACEOF
3756
cat confdefs.h >>conftest.$ac_ext
3757
cat >>conftest.$ac_ext <<_ACEOF
3758
/* end confdefs.h. */
3248
#line $LINENO "configure"
3249
#include "confdefs.h"
3759
3250
#include <string.h>
3762
3253
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3763
$EGREP "memchr" >/dev/null 2>&1; then
3254
egrep "memchr" >/dev/null 2>&1; then
3766
3257
ac_cv_header_stdc=no
3798
3286
cat >conftest.$ac_ext <<_ACEOF
3801
cat confdefs.h >>conftest.$ac_ext
3802
cat >>conftest.$ac_ext <<_ACEOF
3803
/* end confdefs.h. */
3287
#line $LINENO "configure"
3288
#include "confdefs.h"
3804
3289
#include <ctype.h>
3805
3290
#if ((' ' & 0x0FF) == 0x020)
3806
3291
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3807
3292
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3809
# define ISLOWER(c) \
3810
(('a' <= (c) && (c) <= 'i') \
3811
|| ('j' <= (c) && (c) <= 'r') \
3812
|| ('s' <= (c) && (c) <= 'z'))
3294
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3295
|| ('j' <= (c) && (c) <= 'r') \
3296
|| ('s' <= (c) && (c) <= 'z'))
3813
3297
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3920
3406
rm -f conftest.$ac_objext
3921
3407
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3922
(eval $ac_compile) 2>conftest.er1
3408
(eval $ac_compile) 2>&5
3924
grep -v '^ *+' conftest.er1 >conftest.err
3926
cat conftest.err >&5
3927
3410
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3928
3411
(exit $ac_status); } &&
3929
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3930
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3933
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934
(exit $ac_status); }; } &&
3935
{ ac_try='test -s conftest.$ac_objext'
3412
{ ac_try='test -s conftest.$ac_objext'
3936
3413
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3937
3414
(eval $ac_try) 2>&5
4192
3668
RANLIB="$ac_cv_prog_RANLIB"
3671
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3672
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3673
if test "${ac_cv_prog_cc_stdc+set}" = set; then
3674
echo $ECHO_N "(cached) $ECHO_C" >&6
3676
ac_cv_prog_cc_stdc=no
3678
cat >conftest.$ac_ext <<_ACEOF
3679
#line $LINENO "configure"
3680
#include "confdefs.h"
3683
#include <sys/types.h>
3684
#include <sys/stat.h>
3685
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3686
struct buf { int x; };
3687
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3688
static char *e (p, i)
3694
static char *f (char * (*g) (char **, int), char **p, ...)
3699
s = g (p, va_arg (v,int));
3703
int test (int i, double x);
3704
struct s1 {int (*f) (int a);};
3705
struct s2 {int (*f) (double a);};
3706
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3709
#ifdef F77_DUMMY_MAIN
3713
int F77_DUMMY_MAIN() { return 1; }
3718
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3723
# Don't try gcc -ansi; that turns off useful extensions and
3724
# breaks some systems' header files.
3725
# AIX -qlanglvl=ansi
3726
# Ultrix and OSF/1 -std1
3727
# HP-UX 10.20 and later -Ae
3728
# HP-UX older versions -Aa -D_HPUX_SOURCE
3729
# SVR4 -Xc -D__EXTENSIONS__
3730
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3732
CC="$ac_save_CC $ac_arg"
3733
rm -f conftest.$ac_objext
3734
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3735
(eval $ac_compile) 2>&5
3737
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3738
(exit $ac_status); } &&
3739
{ ac_try='test -s conftest.$ac_objext'
3740
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3743
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3744
(exit $ac_status); }; }; then
3745
ac_cv_prog_cc_stdc=$ac_arg
3748
echo "$as_me: failed program was:" >&5
3749
cat conftest.$ac_ext >&5
3751
rm -f conftest.$ac_objext
3753
rm -f conftest.$ac_ext conftest.$ac_objext
3758
case "x$ac_cv_prog_cc_stdc" in
3760
echo "$as_me:$LINENO: result: none needed" >&5
3761
echo "${ECHO_T}none needed" >&6 ;;
3763
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3764
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3765
CC="$CC $ac_cv_prog_cc_stdc" ;;
4195
3768
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4196
3769
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4197
3770
if test "${ac_cv_c_const+set}" = set; then
4198
3771
echo $ECHO_N "(cached) $ECHO_C" >&6
4200
3773
cat >conftest.$ac_ext <<_ACEOF
4203
cat confdefs.h >>conftest.$ac_ext
4204
cat >>conftest.$ac_ext <<_ACEOF
4205
/* end confdefs.h. */
3774
#line $LINENO "configure"
3775
#include "confdefs.h"
3777
#ifdef F77_DUMMY_MAIN
3781
int F77_DUMMY_MAIN() { return 1; }
4261
3837
rm -f conftest.$ac_objext
4262
3838
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4263
(eval $ac_compile) 2>conftest.er1
3839
(eval $ac_compile) 2>&5
4265
grep -v '^ *+' conftest.er1 >conftest.err
4267
cat conftest.err >&5
4268
3841
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4269
3842
(exit $ac_status); } &&
4270
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4271
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4274
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4275
(exit $ac_status); }; } &&
4276
{ ac_try='test -s conftest.$ac_objext'
3843
{ ac_try='test -s conftest.$ac_objext'
4277
3844
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4278
3845
(eval $ac_try) 2>&5
4306
3872
ac_cv_c_inline=no
4307
3873
for ac_kw in inline __inline__ __inline; do
4308
3874
cat >conftest.$ac_ext <<_ACEOF
4311
cat confdefs.h >>conftest.$ac_ext
4312
cat >>conftest.$ac_ext <<_ACEOF
4313
/* end confdefs.h. */
3875
#line $LINENO "configure"
3876
#include "confdefs.h"
4314
3877
#ifndef __cplusplus
4316
static $ac_kw foo_t static_foo () {return 0; }
4317
$ac_kw foo_t foo () {return 0; }
3878
static $ac_kw int static_foo () {return 0; }
3879
$ac_kw int foo () {return 0; }
4321
3883
rm -f conftest.$ac_objext
4322
3884
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4323
(eval $ac_compile) 2>conftest.er1
3885
(eval $ac_compile) 2>&5
4325
grep -v '^ *+' conftest.er1 >conftest.err
4327
cat conftest.err >&5
4328
3887
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4329
3888
(exit $ac_status); } &&
4330
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4331
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4334
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4335
(exit $ac_status); }; } &&
4336
{ ac_try='test -s conftest.$ac_objext'
3889
{ ac_try='test -s conftest.$ac_objext'
4337
3890
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4338
3891
(eval $ac_try) 2>&5
4342
3895
ac_cv_c_inline=$ac_kw; break
4344
3897
echo "$as_me: failed program was:" >&5
4345
sed 's/^/| /' conftest.$ac_ext >&5
3898
cat conftest.$ac_ext >&5
4348
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3900
rm -f conftest.$ac_objext conftest.$ac_ext
4352
3904
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4353
3905
echo "${ECHO_T}$ac_cv_c_inline" >&6
4356
3906
case $ac_cv_c_inline in
4357
3907
inline | yes) ;;
4359
case $ac_cv_c_inline in
4361
*) ac_val=$ac_cv_c_inline;;
4363
cat >>confdefs.h <<_ACEOF
4365
#define inline $ac_val
3909
cat >>confdefs.h <<\_ACEOF
3913
*) cat >>confdefs.h <<_ACEOF
3914
#define inline $ac_cv_c_inline
4371
3919
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4388
3936
echo $ECHO_N "(cached) $ECHO_C" >&6
4390
3938
cat >conftest.$ac_ext <<_ACEOF
4393
cat confdefs.h >>conftest.$ac_ext
4394
cat >>conftest.$ac_ext <<_ACEOF
4395
/* end confdefs.h. */
3939
#line $LINENO "configure"
3940
#include "confdefs.h"
4396
3941
$ac_includes_default
4398
3943
#include <$ac_header>
4400
3945
rm -f conftest.$ac_objext
4401
3946
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4402
(eval $ac_compile) 2>conftest.er1
3947
(eval $ac_compile) 2>&5
4404
grep -v '^ *+' conftest.er1 >conftest.err
4406
cat conftest.err >&5
4407
3949
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4408
3950
(exit $ac_status); } &&
4409
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4410
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4413
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4414
(exit $ac_status); }; } &&
4415
{ ac_try='test -s conftest.$ac_objext'
3951
{ ac_try='test -s conftest.$ac_objext'
4416
3952
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4417
3953
(eval $ac_try) 2>&5
4465
4003
rm -f conftest.$ac_objext
4466
4004
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4467
(eval $ac_compile) 2>conftest.er1
4005
(eval $ac_compile) 2>&5
4469
grep -v '^ *+' conftest.er1 >conftest.err
4471
cat conftest.err >&5
4472
4007
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4473
4008
(exit $ac_status); } &&
4474
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4475
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4478
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4479
(exit $ac_status); }; } &&
4480
{ ac_try='test -s conftest.$ac_objext'
4009
{ ac_try='test -s conftest.$ac_objext'
4481
4010
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4482
4011
(eval $ac_try) 2>&5
4530
4061
rm -f conftest.$ac_objext
4531
4062
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4532
(eval $ac_compile) 2>conftest.er1
4063
(eval $ac_compile) 2>&5
4534
grep -v '^ *+' conftest.er1 >conftest.err
4536
cat conftest.err >&5
4537
4065
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4538
4066
(exit $ac_status); } &&
4539
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4540
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4543
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4544
(exit $ac_status); }; } &&
4545
{ ac_try='test -s conftest.$ac_objext'
4067
{ ac_try='test -s conftest.$ac_objext'
4546
4068
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4547
4069
(eval $ac_try) 2>&5
4594
4118
rm -f conftest.$ac_objext conftest$ac_exeext
4595
4119
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4596
(eval $ac_link) 2>conftest.er1
4120
(eval $ac_link) 2>&5
4598
grep -v '^ *+' conftest.er1 >conftest.err
4600
cat conftest.err >&5
4601
4122
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4602
4123
(exit $ac_status); } &&
4603
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4604
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4607
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4608
(exit $ac_status); }; } &&
4609
{ ac_try='test -s conftest$ac_exeext'
4124
{ ac_try='test -s conftest$ac_exeext'
4610
4125
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4611
4126
(eval $ac_try) 2>&5
4675
4191
rm -f conftest.$ac_objext conftest$ac_exeext
4676
4192
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4677
(eval $ac_link) 2>conftest.er1
4193
(eval $ac_link) 2>&5
4679
grep -v '^ *+' conftest.er1 >conftest.err
4681
cat conftest.err >&5
4682
4195
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683
4196
(exit $ac_status); } &&
4684
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4685
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4688
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4689
(exit $ac_status); }; } &&
4690
{ ac_try='test -s conftest$ac_exeext'
4197
{ ac_try='test -s conftest$ac_exeext'
4691
4198
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4692
4199
(eval $ac_try) 2>&5
4763
4265
echo $ECHO_N "(cached) $ECHO_C" >&6
4765
4267
cat >conftest.$ac_ext <<_ACEOF
4768
cat confdefs.h >>conftest.$ac_ext
4769
cat >>conftest.$ac_ext <<_ACEOF
4770
/* end confdefs.h. */
4771
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4772
For example, HP-UX 11i <limits.h> declares gettimeofday. */
4773
#define $ac_func innocuous_$ac_func
4268
#line $LINENO "configure"
4269
#include "confdefs.h"
4775
4270
/* System header to define __stub macros and hopefully few prototypes,
4776
which can conflict with char $ac_func (); below.
4777
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4778
<limits.h> exists even on freestanding compilers. */
4781
# include <limits.h>
4783
# include <assert.h>
4271
which can conflict with char $ac_func (); below. */
4788
4273
/* Override any gcc2 internal prototype to avoid an error. */
4789
4274
#ifdef __cplusplus
4793
4277
/* We use char because int might match the return type of a gcc2
4794
4278
builtin and then its argument prototype would still apply. */
4795
4279
char $ac_func ();
4282
#ifdef F77_DUMMY_MAIN
4286
int F77_DUMMY_MAIN() { return 1; }
4796
4291
/* The GNU C library defines this for functions which it implements
4797
4292
to always fail with ENOSYS. Some functions are actually named
4798
4293
something starting with __ and the normal name is an alias. */
4799
4294
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4802
char (*f) () = $ac_func;
4811
return f != $ac_func;
4816
4304
rm -f conftest.$ac_objext conftest$ac_exeext
4817
4305
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4818
(eval $ac_link) 2>conftest.er1
4306
(eval $ac_link) 2>&5
4820
grep -v '^ *+' conftest.er1 >conftest.err
4822
cat conftest.err >&5
4823
4308
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4824
4309
(exit $ac_status); } &&
4825
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4826
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4829
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4830
(exit $ac_status); }; } &&
4831
{ ac_try='test -s conftest$ac_exeext'
4310
{ ac_try='test -s conftest$ac_exeext'
4832
4311
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4833
4312
(eval $ac_try) 2>&5
4943
4416
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4944
4417
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4945
4418
cat >conftest.$ac_ext <<_ACEOF
4948
cat confdefs.h >>conftest.$ac_ext
4949
cat >>conftest.$ac_ext <<_ACEOF
4950
/* end confdefs.h. */
4419
#line $LINENO "configure"
4420
#include "confdefs.h"
4951
4421
$ac_includes_default
4952
4422
#include <$ac_header>
4954
4424
rm -f conftest.$ac_objext
4955
4425
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4956
(eval $ac_compile) 2>conftest.er1
4426
(eval $ac_compile) 2>&5
4958
grep -v '^ *+' conftest.er1 >conftest.err
4960
cat conftest.err >&5
4961
4428
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4962
4429
(exit $ac_status); } &&
4963
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4964
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4967
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4968
(exit $ac_status); }; } &&
4969
{ ac_try='test -s conftest.$ac_objext'
4430
{ ac_try='test -s conftest.$ac_objext'
4970
4431
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4971
4432
(eval $ac_try) 2>&5
4987
4447
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4988
4448
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4989
4449
cat >conftest.$ac_ext <<_ACEOF
4992
cat confdefs.h >>conftest.$ac_ext
4993
cat >>conftest.$ac_ext <<_ACEOF
4994
/* end confdefs.h. */
4450
#line $LINENO "configure"
4451
#include "confdefs.h"
4995
4452
#include <$ac_header>
4997
4454
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4998
4455
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5000
grep -v '^ *+' conftest.er1 >conftest.err
4457
egrep -v '^ *\+' conftest.er1 >conftest.err
5001
4458
rm -f conftest.er1
5002
4459
cat conftest.err >&5
5003
4460
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5004
4461
(exit $ac_status); } >/dev/null; then
5005
4462
if test -s conftest.err; then
5006
4463
ac_cpp_err=$ac_c_preproc_warn_flag
5007
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5024
4479
echo "${ECHO_T}$ac_header_preproc" >&6
5026
4481
# So? What about this header?
5027
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4482
case $ac_header_compiler:$ac_header_preproc in
5029
4484
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5030
4485
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5031
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5032
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5033
ac_header_preproc=yes
4486
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4487
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5036
4489
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5037
4490
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5038
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5039
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5040
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5041
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5042
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5043
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4491
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4492
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5044
4493
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5045
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5046
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5047
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5050
## ------------------------------------------ ##
5051
## Report this to the AC_PACKAGE_NAME lists. ##
5052
## ------------------------------------------ ##
5055
sed "s/^/$as_me: WARNING: /" >&2
4494
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5058
4496
echo "$as_me:$LINENO: checking for $ac_header" >&5
5059
4497
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5060
4498
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5061
4499
echo $ECHO_N "(cached) $ECHO_C" >&6
5063
eval "$as_ac_Header=\$ac_header_preproc"
4501
eval "$as_ac_Header=$ac_header_preproc"
5065
4503
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5066
4504
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5085
4523
echo $ECHO_N "(cached) $ECHO_C" >&6
5087
4525
cat >conftest.$ac_ext <<_ACEOF
5090
cat confdefs.h >>conftest.$ac_ext
5091
cat >>conftest.$ac_ext <<_ACEOF
5092
/* end confdefs.h. */
5093
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5094
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5095
#define $ac_func innocuous_$ac_func
4526
#line $LINENO "configure"
4527
#include "confdefs.h"
5097
4528
/* System header to define __stub macros and hopefully few prototypes,
5098
which can conflict with char $ac_func (); below.
5099
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5100
<limits.h> exists even on freestanding compilers. */
5103
# include <limits.h>
5105
# include <assert.h>
4529
which can conflict with char $ac_func (); below. */
5110
4531
/* Override any gcc2 internal prototype to avoid an error. */
5111
4532
#ifdef __cplusplus
5115
4535
/* We use char because int might match the return type of a gcc2
5116
4536
builtin and then its argument prototype would still apply. */
5117
4537
char $ac_func ();
4540
#ifdef F77_DUMMY_MAIN
4544
int F77_DUMMY_MAIN() { return 1; }
5118
4549
/* The GNU C library defines this for functions which it implements
5119
4550
to always fail with ENOSYS. Some functions are actually named
5120
4551
something starting with __ and the normal name is an alias. */
5121
4552
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5124
char (*f) () = $ac_func;
5133
return f != $ac_func;
5138
4562
rm -f conftest.$ac_objext conftest$ac_exeext
5139
4563
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5140
(eval $ac_link) 2>conftest.er1
4564
(eval $ac_link) 2>&5
5142
grep -v '^ *+' conftest.er1 >conftest.err
5144
cat conftest.err >&5
5145
4566
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5146
4567
(exit $ac_status); } &&
5147
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5148
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5151
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5152
(exit $ac_status); }; } &&
5153
{ ac_try='test -s conftest$ac_exeext'
4568
{ ac_try='test -s conftest$ac_exeext'
5154
4569
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5155
4570
(eval $ac_try) 2>&5
5292
4702
data2 = (char *) malloc (2 * pagesize);
5295
data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
4705
data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
5296
4706
if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5297
MAP_PRIVATE | MAP_FIXED, fd, 0L))
4707
MAP_PRIVATE | MAP_FIXED, fd, 0L))
5299
4709
for (i = 0; i < pagesize; ++i)
5300
4710
if (*(data + i) != *(data2 + i))
5377
4786
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5378
4787
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5379
4788
cat >conftest.$ac_ext <<_ACEOF
5382
cat confdefs.h >>conftest.$ac_ext
5383
cat >>conftest.$ac_ext <<_ACEOF
5384
/* end confdefs.h. */
4789
#line $LINENO "configure"
4790
#include "confdefs.h"
5385
4791
$ac_includes_default
5386
4792
#include <$ac_header>
5388
4794
rm -f conftest.$ac_objext
5389
4795
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5390
(eval $ac_compile) 2>conftest.er1
4796
(eval $ac_compile) 2>&5
5392
grep -v '^ *+' conftest.er1 >conftest.err
5394
cat conftest.err >&5
5395
4798
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5396
4799
(exit $ac_status); } &&
5397
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5398
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5401
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5402
(exit $ac_status); }; } &&
5403
{ ac_try='test -s conftest.$ac_objext'
4800
{ ac_try='test -s conftest.$ac_objext'
5404
4801
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5405
4802
(eval $ac_try) 2>&5
5421
4817
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5422
4818
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5423
4819
cat >conftest.$ac_ext <<_ACEOF
5426
cat confdefs.h >>conftest.$ac_ext
5427
cat >>conftest.$ac_ext <<_ACEOF
5428
/* end confdefs.h. */
4820
#line $LINENO "configure"
4821
#include "confdefs.h"
5429
4822
#include <$ac_header>
5431
4824
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5432
4825
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5434
grep -v '^ *+' conftest.er1 >conftest.err
4827
egrep -v '^ *\+' conftest.er1 >conftest.err
5435
4828
rm -f conftest.er1
5436
4829
cat conftest.err >&5
5437
4830
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5438
4831
(exit $ac_status); } >/dev/null; then
5439
4832
if test -s conftest.err; then
5440
4833
ac_cpp_err=$ac_c_preproc_warn_flag
5441
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5458
4849
echo "${ECHO_T}$ac_header_preproc" >&6
5460
4851
# So? What about this header?
5461
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4852
case $ac_header_compiler:$ac_header_preproc in
5463
4854
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5464
4855
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5465
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5466
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5467
ac_header_preproc=yes
4856
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4857
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5470
4859
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5471
4860
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5472
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5473
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5474
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5475
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5476
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5477
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4861
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4862
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5478
4863
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5479
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5480
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5481
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5484
## ------------------------------------------ ##
5485
## Report this to the AC_PACKAGE_NAME lists. ##
5486
## ------------------------------------------ ##
5489
sed "s/^/$as_me: WARNING: /" >&2
4864
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5492
4866
echo "$as_me:$LINENO: checking for $ac_header" >&5
5493
4867
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5494
4868
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5495
4869
echo $ECHO_N "(cached) $ECHO_C" >&6
5497
eval "$as_ac_Header=\$ac_header_preproc"
4871
eval "$as_ac_Header=$ac_header_preproc"
5499
4873
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5500
4874
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5530
4904
echo $ECHO_N "(cached) $ECHO_C" >&6
5532
4906
cat >conftest.$ac_ext <<_ACEOF
5535
cat confdefs.h >>conftest.$ac_ext
5536
cat >>conftest.$ac_ext <<_ACEOF
5537
/* end confdefs.h. */
5538
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5539
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5540
#define $ac_func innocuous_$ac_func
4907
#line $LINENO "configure"
4908
#include "confdefs.h"
5542
4909
/* System header to define __stub macros and hopefully few prototypes,
5543
which can conflict with char $ac_func (); below.
5544
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5545
<limits.h> exists even on freestanding compilers. */
5548
# include <limits.h>
5550
# include <assert.h>
4910
which can conflict with char $ac_func (); below. */
5555
4912
/* Override any gcc2 internal prototype to avoid an error. */
5556
4913
#ifdef __cplusplus
5560
4916
/* We use char because int might match the return type of a gcc2
5561
4917
builtin and then its argument prototype would still apply. */
5562
4918
char $ac_func ();
4921
#ifdef F77_DUMMY_MAIN
4925
int F77_DUMMY_MAIN() { return 1; }
5563
4930
/* The GNU C library defines this for functions which it implements
5564
4931
to always fail with ENOSYS. Some functions are actually named
5565
4932
something starting with __ and the normal name is an alias. */
5566
4933
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5569
char (*f) () = $ac_func;
5578
return f != $ac_func;
5583
4943
rm -f conftest.$ac_objext conftest$ac_exeext
5584
4944
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5585
(eval $ac_link) 2>conftest.er1
4945
(eval $ac_link) 2>&5
5587
grep -v '^ *+' conftest.er1 >conftest.err
5589
cat conftest.err >&5
5590
4947
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5591
4948
(exit $ac_status); } &&
5592
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5593
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5596
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5597
(exit $ac_status); }; } &&
5598
{ ac_try='test -s conftest$ac_exeext'
4949
{ ac_try='test -s conftest$ac_exeext'
5599
4950
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5600
4951
(eval $ac_try) 2>&5
5646
4998
rm -f conftest.$ac_objext conftest$ac_exeext
5647
4999
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5648
(eval $ac_link) 2>conftest.er1
5000
(eval $ac_link) 2>&5
5650
grep -v '^ *+' conftest.er1 >conftest.err
5652
cat conftest.err >&5
5653
5002
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5654
5003
(exit $ac_status); } &&
5655
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5656
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5659
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5660
(exit $ac_status); }; } &&
5661
{ ac_try='test -s conftest$ac_exeext'
5004
{ ac_try='test -s conftest$ac_exeext'
5662
5005
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5663
5006
(eval $ac_try) 2>&5
5709
5050
echo "$as_me:$LINENO: checking libintl.h usability" >&5
5710
5051
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
5711
5052
cat >conftest.$ac_ext <<_ACEOF
5714
cat confdefs.h >>conftest.$ac_ext
5715
cat >>conftest.$ac_ext <<_ACEOF
5716
/* end confdefs.h. */
5053
#line $LINENO "configure"
5054
#include "confdefs.h"
5717
5055
$ac_includes_default
5718
5056
#include <libintl.h>
5720
5058
rm -f conftest.$ac_objext
5721
5059
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5722
(eval $ac_compile) 2>conftest.er1
5060
(eval $ac_compile) 2>&5
5724
grep -v '^ *+' conftest.er1 >conftest.err
5726
cat conftest.err >&5
5727
5062
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5728
5063
(exit $ac_status); } &&
5729
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5730
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5733
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5734
(exit $ac_status); }; } &&
5735
{ ac_try='test -s conftest.$ac_objext'
5064
{ ac_try='test -s conftest.$ac_objext'
5736
5065
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5737
5066
(eval $ac_try) 2>&5
5753
5081
echo "$as_me:$LINENO: checking libintl.h presence" >&5
5754
5082
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
5755
5083
cat >conftest.$ac_ext <<_ACEOF
5758
cat confdefs.h >>conftest.$ac_ext
5759
cat >>conftest.$ac_ext <<_ACEOF
5760
/* end confdefs.h. */
5084
#line $LINENO "configure"
5085
#include "confdefs.h"
5761
5086
#include <libintl.h>
5763
5088
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5764
5089
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5766
grep -v '^ *+' conftest.er1 >conftest.err
5091
egrep -v '^ *\+' conftest.er1 >conftest.err
5767
5092
rm -f conftest.er1
5768
5093
cat conftest.err >&5
5769
5094
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5770
5095
(exit $ac_status); } >/dev/null; then
5771
5096
if test -s conftest.err; then
5772
5097
ac_cpp_err=$ac_c_preproc_warn_flag
5773
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5790
5113
echo "${ECHO_T}$ac_header_preproc" >&6
5792
5115
# So? What about this header?
5793
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5116
case $ac_header_compiler:$ac_header_preproc in
5795
5118
{ echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
5796
5119
echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5797
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
5798
echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
5799
ac_header_preproc=yes
5120
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
5121
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
5802
5123
{ echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
5803
5124
echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
5804
{ echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
5805
echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
5806
{ echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
5807
echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
5808
{ echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
5809
echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
5125
{ echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
5126
echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
5810
5127
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
5811
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
5812
{ echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
5813
echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
5816
## ------------------------------------------ ##
5817
## Report this to the AC_PACKAGE_NAME lists. ##
5818
## ------------------------------------------ ##
5821
sed "s/^/$as_me: WARNING: /" >&2
5128
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
5824
5130
echo "$as_me:$LINENO: checking for libintl.h" >&5
5825
5131
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
5856
5165
rm -f conftest.$ac_objext conftest$ac_exeext
5857
5166
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5858
(eval $ac_link) 2>conftest.er1
5167
(eval $ac_link) 2>&5
5860
grep -v '^ *+' conftest.er1 >conftest.err
5862
cat conftest.err >&5
5863
5169
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5864
5170
(exit $ac_status); } &&
5865
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5866
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5869
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5870
(exit $ac_status); }; } &&
5871
{ ac_try='test -s conftest$ac_exeext'
5171
{ ac_try='test -s conftest$ac_exeext'
5872
5172
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5873
5173
(eval $ac_try) 2>&5
5923
5224
rm -f conftest.$ac_objext conftest$ac_exeext
5924
5225
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5925
(eval $ac_link) 2>conftest.er1
5226
(eval $ac_link) 2>&5
5927
grep -v '^ *+' conftest.er1 >conftest.err
5929
cat conftest.err >&5
5930
5228
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5931
5229
(exit $ac_status); } &&
5932
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5933
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5936
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5937
(exit $ac_status); }; } &&
5938
{ ac_try='test -s conftest$ac_exeext'
5230
{ ac_try='test -s conftest$ac_exeext'
5939
5231
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5940
5232
(eval $ac_try) 2>&5
5987
5280
rm -f conftest.$ac_objext conftest$ac_exeext
5988
5281
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5989
(eval $ac_link) 2>conftest.er1
5282
(eval $ac_link) 2>&5
5991
grep -v '^ *+' conftest.er1 >conftest.err
5993
cat conftest.err >&5
5994
5284
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5995
5285
(exit $ac_status); } &&
5996
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5997
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6000
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6001
(exit $ac_status); }; } &&
6002
{ ac_try='test -s conftest$ac_exeext'
5286
{ ac_try='test -s conftest$ac_exeext'
6003
5287
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6004
5288
(eval $ac_try) 2>&5
6062
5347
rm -f conftest.$ac_objext conftest$ac_exeext
6063
5348
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6064
(eval $ac_link) 2>conftest.er1
5349
(eval $ac_link) 2>&5
6066
grep -v '^ *+' conftest.er1 >conftest.err
6068
cat conftest.err >&5
6069
5351
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6070
5352
(exit $ac_status); } &&
6071
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6072
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6075
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6076
(exit $ac_status); }; } &&
6077
{ ac_try='test -s conftest$ac_exeext'
5353
{ ac_try='test -s conftest$ac_exeext'
6078
5354
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6079
5355
(eval $ac_try) 2>&5
6160
5434
echo $ECHO_N "(cached) $ECHO_C" >&6
6162
5436
cat >conftest.$ac_ext <<_ACEOF
6165
cat confdefs.h >>conftest.$ac_ext
6166
cat >>conftest.$ac_ext <<_ACEOF
6167
/* end confdefs.h. */
6168
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6169
For example, HP-UX 11i <limits.h> declares gettimeofday. */
6170
#define $ac_func innocuous_$ac_func
5437
#line $LINENO "configure"
5438
#include "confdefs.h"
6172
5439
/* System header to define __stub macros and hopefully few prototypes,
6173
which can conflict with char $ac_func (); below.
6174
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6175
<limits.h> exists even on freestanding compilers. */
6178
# include <limits.h>
6180
# include <assert.h>
5440
which can conflict with char $ac_func (); below. */
6185
5442
/* Override any gcc2 internal prototype to avoid an error. */
6186
5443
#ifdef __cplusplus
6190
5446
/* We use char because int might match the return type of a gcc2
6191
5447
builtin and then its argument prototype would still apply. */
6192
5448
char $ac_func ();
5451
#ifdef F77_DUMMY_MAIN
5455
int F77_DUMMY_MAIN() { return 1; }
6193
5460
/* The GNU C library defines this for functions which it implements
6194
5461
to always fail with ENOSYS. Some functions are actually named
6195
5462
something starting with __ and the normal name is an alias. */
6196
5463
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6199
char (*f) () = $ac_func;
6208
return f != $ac_func;
6213
5473
rm -f conftest.$ac_objext conftest$ac_exeext
6214
5474
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6215
(eval $ac_link) 2>conftest.er1
5475
(eval $ac_link) 2>&5
6217
grep -v '^ *+' conftest.er1 >conftest.err
6219
cat conftest.err >&5
6220
5477
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221
5478
(exit $ac_status); } &&
6222
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6223
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6226
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6227
(exit $ac_status); }; } &&
6228
{ ac_try='test -s conftest$ac_exeext'
5479
{ ac_try='test -s conftest$ac_exeext'
6229
5480
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6230
5481
(eval $ac_try) 2>&5
6346
5598
rm -f conftest.$ac_objext conftest$ac_exeext
6347
5599
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6348
(eval $ac_link) 2>conftest.er1
5600
(eval $ac_link) 2>&5
6350
grep -v '^ *+' conftest.er1 >conftest.err
6352
cat conftest.err >&5
6353
5602
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6354
5603
(exit $ac_status); } &&
6355
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6356
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6359
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6360
(exit $ac_status); }; } &&
6361
{ ac_try='test -s conftest$ac_exeext'
5604
{ ac_try='test -s conftest$ac_exeext'
6362
5605
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6363
5606
(eval $ac_try) 2>&5
6475
5716
echo "$as_me:$LINENO: checking linux/version.h usability" >&5
6476
5717
echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
6477
5718
cat >conftest.$ac_ext <<_ACEOF
6480
cat confdefs.h >>conftest.$ac_ext
6481
cat >>conftest.$ac_ext <<_ACEOF
6482
/* end confdefs.h. */
5719
#line $LINENO "configure"
5720
#include "confdefs.h"
6483
5721
$ac_includes_default
6484
5722
#include <linux/version.h>
6486
5724
rm -f conftest.$ac_objext
6487
5725
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6488
(eval $ac_compile) 2>conftest.er1
5726
(eval $ac_compile) 2>&5
6490
grep -v '^ *+' conftest.er1 >conftest.err
6492
cat conftest.err >&5
6493
5728
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6494
5729
(exit $ac_status); } &&
6495
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6496
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6499
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6500
(exit $ac_status); }; } &&
6501
{ ac_try='test -s conftest.$ac_objext'
5730
{ ac_try='test -s conftest.$ac_objext'
6502
5731
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6503
5732
(eval $ac_try) 2>&5
6519
5747
echo "$as_me:$LINENO: checking linux/version.h presence" >&5
6520
5748
echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
6521
5749
cat >conftest.$ac_ext <<_ACEOF
6524
cat confdefs.h >>conftest.$ac_ext
6525
cat >>conftest.$ac_ext <<_ACEOF
6526
/* end confdefs.h. */
5750
#line $LINENO "configure"
5751
#include "confdefs.h"
6527
5752
#include <linux/version.h>
6529
5754
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6530
5755
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6532
grep -v '^ *+' conftest.er1 >conftest.err
5757
egrep -v '^ *\+' conftest.er1 >conftest.err
6533
5758
rm -f conftest.er1
6534
5759
cat conftest.err >&5
6535
5760
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6536
5761
(exit $ac_status); } >/dev/null; then
6537
5762
if test -s conftest.err; then
6538
5763
ac_cpp_err=$ac_c_preproc_warn_flag
6539
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6556
5779
echo "${ECHO_T}$ac_header_preproc" >&6
6558
5781
# So? What about this header?
6559
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5782
case $ac_header_compiler:$ac_header_preproc in
6561
5784
{ echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
6562
5785
echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6563
{ echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
6564
echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
6565
ac_header_preproc=yes
5786
{ echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
5787
echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;};;
6568
5789
{ echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
6569
5790
echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
6570
{ echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
6571
echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
6572
{ echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
6573
echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
6574
{ echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
6575
echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
5791
{ echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
5792
echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
6576
5793
{ echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
6577
echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
6578
{ echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
6579
echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
6582
## ------------------------------------------ ##
6583
## Report this to the AC_PACKAGE_NAME lists. ##
6584
## ------------------------------------------ ##
6587
sed "s/^/$as_me: WARNING: /" >&2
5794
echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;};;
6590
5796
echo "$as_me:$LINENO: checking for linux/version.h" >&5
6591
5797
echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
6698
5904
# trailing colons and then remove the whole line if VPATH becomes empty
6699
5905
# (actually we leave an empty line to preserve line numbers).
6700
5906
if test "x$srcdir" = x.; then
6701
ac_vpsub='/^[ ]*VPATH[ ]*=/{
5907
ac_vpsub='/^[ ]*VPATH[ ]*=/{
6702
5908
s/:*\$(srcdir):*/:/;
6703
5909
s/:*\${srcdir}:*/:/;
6704
5910
s/:*@srcdir@:*/:/;
6705
s/^\([^=]*=[ ]*\):*/\1/;
5911
s/^\([^=]*=[ ]*\):*/\1/;
6711
5917
DEFS=-DHAVE_CONFIG_H
6715
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6716
# 1. Remove the extension, and $U if already installed.
6717
ac_i=`echo "$ac_i" |
6718
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6720
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6721
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6725
LTLIBOBJS=$ac_ltlibobjs
6729
5920
: ${CONFIG_STATUS=./config.status}
6730
5921
ac_clean_files_save=$ac_clean_files
6753
5943
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6756
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6757
# is contrary to our usage. Disable this feature.
6758
alias -g '${1+"$@"}'='"$@"'
6759
5946
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6762
DUALCASE=1; export DUALCASE # for MKS sh
6764
5951
# Support unset when possible.
6765
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5952
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
6772
# Work around bugs in pre-3.0 UWIN ksh.
6773
$as_unset ENV MAIL MAILPATH
6780
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6781
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6782
LC_TELEPHONE LC_TIME
6784
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6785
eval $as_var=C; export $as_var
6791
# Required to use basename.
6792
if expr a : '\(a\)' >/dev/null 2>&1; then
6798
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6799
as_basename=basename
5958
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
5959
{ $as_unset LANG || test "${LANG+set}" != set; } ||
5960
{ LANG=C; export LANG; }
5961
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
5962
{ $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
5963
{ LC_ALL=C; export LC_ALL; }
5964
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
5965
{ $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
5966
{ LC_TIME=C; export LC_TIME; }
5967
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
5968
{ $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
5969
{ LC_CTYPE=C; export LC_CTYPE; }
5970
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
5971
{ $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
5972
{ LANGUAGE=C; export LANGUAGE; }
5973
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
5974
{ $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
5975
{ LC_COLLATE=C; export LC_COLLATE; }
5976
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
5977
{ $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
5978
{ LC_NUMERIC=C; export LC_NUMERIC; }
5979
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
5980
{ $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
5981
{ LC_MESSAGES=C; export LC_MESSAGES; }
6805
5984
# Name of the executable.
6806
as_me=`$as_basename "$0" ||
5985
as_me=`(basename "$0") 2>/dev/null ||
6807
5986
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6808
5987
X"$0" : 'X\(//\)$' \| \
6809
5988
X"$0" : 'X\(/\)$' \| \
6958
6134
rm -f conf$$ conf$$.exe conf$$.file
6960
if mkdir -p . 2>/dev/null; then
6963
test -d ./-p && rmdir ./-p
6967
6136
as_executable_p="test -f"
6969
6138
# Sed expression to map a string onto a valid CPP name.
6970
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6139
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
6972
6141
# Sed expression to map a string onto a valid variable name.
6973
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6142
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
7038
6207
-h, --help print this help, then exit
7039
6208
-V, --version print version number, then exit
7040
-q, --quiet do not print progress messages
7041
6209
-d, --debug don't remove temporary files
7042
6210
--recheck update $as_me by reconfiguring in the same conditions
7043
6211
--file=FILE[:TEMPLATE]
7044
instantiate the configuration file FILE
6212
instantiate the configuration file FILE
7045
6213
--header=FILE[:TEMPLATE]
7046
instantiate the configuration header FILE
6214
instantiate the configuration header FILE
7048
6216
Configuration files:
7060
6228
cat >>$CONFIG_STATUS <<_ACEOF
7061
6229
ac_cs_version="\\
7063
configured by $0, generated by GNU Autoconf 2.59,
6231
configured by $0, generated by GNU Autoconf 2.53,
7064
6232
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7066
Copyright (C) 2003 Free Software Foundation, Inc.
6234
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6235
Free Software Foundation, Inc.
7067
6236
This config.status script is free software; the Free Software Foundation
7068
6237
gives unlimited permission to copy, distribute and modify it."
7081
6250
ac_option=`expr "x$1" : 'x\([^=]*\)='`
7082
6251
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6253
set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
7090
6257
*) # This is not an option, so the user has probably given explicit
7093
6259
ac_need_defaults=false;;
7097
6263
# Handling of the options.
7099
cat >>$CONFIG_STATUS <<\_ACEOF
6265
cat >>$CONFIG_STATUS <<_ACEOF
7100
6266
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6267
echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
6268
exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
6270
cat >>$CONFIG_STATUS <<\_ACEOF
7102
6271
--version | --vers* | -V )
7103
6272
echo "$ac_cs_version"; exit 0 ;;
7361
6507
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7362
6508
case $ac_file in
7363
6509
- | *:- | *:-:* ) # input from stdin
7365
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7366
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6511
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6512
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7367
6513
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7368
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6514
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7369
6515
* ) ac_file_in=$ac_file.in ;;
7372
6518
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7373
6519
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7374
6520
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7375
X"$ac_file" : 'X\(//\)[^/]' \| \
7376
X"$ac_file" : 'X\(//\)$' \| \
7377
X"$ac_file" : 'X\(/\)' \| \
7378
. : '\(.\)' 2>/dev/null ||
6521
X"$ac_file" : 'X\(//\)[^/]' \| \
6522
X"$ac_file" : 'X\(//\)$' \| \
6523
X"$ac_file" : 'X\(/\)' \| \
6524
. : '\(.\)' 2>/dev/null ||
7379
6525
echo X"$ac_file" |
7380
6526
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7381
6527
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7382
6528
/^X\(\/\/\)$/{ s//\1/; q; }
7383
6529
/^X\(\/\).*/{ s//\1/; q; }
7385
{ if $as_mkdir_p; then
7390
while test ! -d "$as_dir"; do
7391
as_dirs="$as_dir $as_dirs"
7392
as_dir=`(dirname "$as_dir") 2>/dev/null ||
7393
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7394
X"$as_dir" : 'X\(//\)[^/]' \| \
7395
X"$as_dir" : 'X\(//\)$' \| \
7396
X"$as_dir" : 'X\(/\)' \| \
7397
. : '\(.\)' 2>/dev/null ||
7399
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7400
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7401
/^X\(\/\/\)$/{ s//\1/; q; }
7402
/^X\(\/\).*/{ s//\1/; q; }
7405
test ! -n "$as_dirs" || mkdir $as_dirs
7406
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7407
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7408
{ (exit 1); exit 1; }; }; }
6532
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
6536
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
6537
case $as_mkdir_dir in
6538
# Skip DOS drivespec
6539
?:) as_incr_dir=$as_mkdir_dir ;;
6541
as_incr_dir=$as_incr_dir/$as_mkdir_dir
6542
test -d "$as_incr_dir" ||
6543
mkdir "$as_incr_dir" ||
6544
{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
6545
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
6546
{ (exit 1); exit 1; }; }
7432
6573
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7433
6574
ac_top_srcdir=$ac_top_builddir$srcdir ;;
7436
# Do not use `cd foo && pwd` to compute absolute paths, because
7437
# the directories may not exist.
7439
.) ac_abs_builddir="$ac_dir";;
7442
.) ac_abs_builddir=`pwd`;;
7443
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7444
*) ac_abs_builddir=`pwd`/"$ac_dir";;
7447
case $ac_abs_builddir in
7448
.) ac_abs_top_builddir=${ac_top_builddir}.;;
7450
case ${ac_top_builddir}. in
7451
.) ac_abs_top_builddir=$ac_abs_builddir;;
7452
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7453
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7456
case $ac_abs_builddir in
7457
.) ac_abs_srcdir=$ac_srcdir;;
7460
.) ac_abs_srcdir=$ac_abs_builddir;;
7461
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7462
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7465
case $ac_abs_builddir in
7466
.) ac_abs_top_srcdir=$ac_top_srcdir;;
7468
case $ac_top_srcdir in
7469
.) ac_abs_top_srcdir=$ac_abs_builddir;;
7470
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7471
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6576
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6578
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
6579
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
6580
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6581
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7476
6584
case $INSTALL in
7497
6610
-) echo $tmp/stdin ;;
7499
# Absolute (can't be DOS-style, as IFS=:)
7500
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6612
# Absolute (can't be DOS-style, as IFS=:)
6613
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7501
6614
echo "$as_me: error: cannot find input file: $f" >&2;}
7502
6615
{ (exit 1); exit 1; }; }
7505
if test -f "$f"; then
7508
elif test -f "$srcdir/$f"; then
7513
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6618
if test -f "$f"; then
6621
elif test -f "$srcdir/$f"; then
6626
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7514
6627
echo "$as_me: error: cannot find input file: $f" >&2;}
7515
6628
{ (exit 1); exit 1; }; }
7518
6631
done` || { (exit 1); exit 1; }
7520
if test x"$ac_file" != x-; then
7521
{ echo "$as_me:$LINENO: creating $ac_file" >&5
7522
echo "$as_me: creating $ac_file" >&6;}
7526
6633
cat >>$CONFIG_STATUS <<_ACEOF
7575
6682
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7576
6683
case $ac_file in
7577
6684
- | *:- | *:-:* ) # input from stdin
7579
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7580
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6686
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6687
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7581
6688
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7582
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6689
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7583
6690
* ) ac_file_in=$ac_file.in ;;
7594
6701
-) echo $tmp/stdin ;;
7596
# Absolute (can't be DOS-style, as IFS=:)
7597
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6703
# Absolute (can't be DOS-style, as IFS=:)
6704
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7598
6705
echo "$as_me: error: cannot find input file: $f" >&2;}
7599
6706
{ (exit 1); exit 1; }; }
7600
# Do quote $f, to prevent DOS paths from being IFS'd.
7603
if test -f "$f"; then
7606
elif test -f "$srcdir/$f"; then
7611
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6709
if test -f "$f"; then
6712
elif test -f "$srcdir/$f"; then
6717
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7612
6718
echo "$as_me: error: cannot find input file: $f" >&2;}
7613
6719
{ (exit 1); exit 1; }; }
7616
6722
done` || { (exit 1); exit 1; }
7617
6723
# Remove the trailing spaces.
7618
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6724
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7641
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6747
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7643
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6749
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7646
6752
# If some macros were called several times there might be several times
7654
6760
# example, in the case of _POSIX_SOURCE, which is predefined and required
7655
6761
# on some systems where configure will not decide to define it.
7656
6762
cat >>conftest.undefs <<\_ACEOF
7657
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6763
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7660
6766
# Break up conftest.defines because some shells have a limit on the size
7661
6767
# of here documents, and old seds have small limits too (100 cmds).
7662
6768
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7663
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6769
echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7664
6770
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7665
6771
echo ' :' >>$CONFIG_STATUS
7666
6772
rm -f conftest.tail
7724
6830
cat $tmp/in >>$tmp/config.h
7726
6832
if test x"$ac_file" != x-; then
7727
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6833
if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
7728
6834
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7729
6835
echo "$as_me: $ac_file is unchanged" >&6;}
7731
6837
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7732
6838
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7733
X"$ac_file" : 'X\(//\)[^/]' \| \
7734
X"$ac_file" : 'X\(//\)$' \| \
7735
X"$ac_file" : 'X\(/\)' \| \
7736
. : '\(.\)' 2>/dev/null ||
6839
X"$ac_file" : 'X\(//\)[^/]' \| \
6840
X"$ac_file" : 'X\(//\)$' \| \
6841
X"$ac_file" : 'X\(/\)' \| \
6842
. : '\(.\)' 2>/dev/null ||
7737
6843
echo X"$ac_file" |
7738
6844
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7739
6845
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7740
6846
/^X\(\/\/\)$/{ s//\1/; q; }
7741
6847
/^X\(\/\).*/{ s//\1/; q; }
7743
{ if $as_mkdir_p; then
7748
while test ! -d "$as_dir"; do
7749
as_dirs="$as_dir $as_dirs"
7750
as_dir=`(dirname "$as_dir") 2>/dev/null ||
7751
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7752
X"$as_dir" : 'X\(//\)[^/]' \| \
7753
X"$as_dir" : 'X\(//\)$' \| \
7754
X"$as_dir" : 'X\(/\)' \| \
7755
. : '\(.\)' 2>/dev/null ||
7757
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7758
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7759
/^X\(\/\/\)$/{ s//\1/; q; }
7760
/^X\(\/\).*/{ s//\1/; q; }
7763
test ! -n "$as_dirs" || mkdir $as_dirs
7764
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7765
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7766
{ (exit 1); exit 1; }; }; }
6850
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
6854
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
6855
case $as_mkdir_dir in
6856
# Skip DOS drivespec
6857
?:) as_incr_dir=$as_mkdir_dir ;;
6859
as_incr_dir=$as_incr_dir/$as_mkdir_dir
6860
test -d "$as_incr_dir" ||
6861
mkdir "$as_incr_dir" ||
6862
{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
6863
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
6864
{ (exit 1); exit 1; }; }
7769
6870
mv $tmp/config.h $ac_file
7784
6885
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
7785
6886
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
7786
6887
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7787
X"$ac_dest" : 'X\(//\)[^/]' \| \
7788
X"$ac_dest" : 'X\(//\)$' \| \
7789
X"$ac_dest" : 'X\(/\)' \| \
7790
. : '\(.\)' 2>/dev/null ||
6888
X"$ac_dest" : 'X\(//\)[^/]' \| \
6889
X"$ac_dest" : 'X\(//\)$' \| \
6890
X"$ac_dest" : 'X\(/\)' \| \
6891
. : '\(.\)' 2>/dev/null ||
7791
6892
echo X"$ac_dest" |
7792
6893
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7793
6894
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7794
6895
/^X\(\/\/\)$/{ s//\1/; q; }
7795
6896
/^X\(\/\).*/{ s//\1/; q; }
7797
{ if $as_mkdir_p; then
7802
while test ! -d "$as_dir"; do
7803
as_dirs="$as_dir $as_dirs"
7804
as_dir=`(dirname "$as_dir") 2>/dev/null ||
7805
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7806
X"$as_dir" : 'X\(//\)[^/]' \| \
7807
X"$as_dir" : 'X\(//\)$' \| \
7808
X"$as_dir" : 'X\(/\)' \| \
7809
. : '\(.\)' 2>/dev/null ||
7811
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7812
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7813
/^X\(\/\/\)$/{ s//\1/; q; }
7814
/^X\(\/\).*/{ s//\1/; q; }
7817
test ! -n "$as_dirs" || mkdir $as_dirs
7818
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7819
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7820
{ (exit 1); exit 1; }; }; }
7824
6900
if test "$ac_dir" != .; then
7844
6920
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7845
6921
ac_top_srcdir=$ac_top_builddir$srcdir ;;
7848
# Do not use `cd foo && pwd` to compute absolute paths, because
7849
# the directories may not exist.
7851
.) ac_abs_builddir="$ac_dir";;
7854
.) ac_abs_builddir=`pwd`;;
7855
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7856
*) ac_abs_builddir=`pwd`/"$ac_dir";;
7859
case $ac_abs_builddir in
7860
.) ac_abs_top_builddir=${ac_top_builddir}.;;
7862
case ${ac_top_builddir}. in
7863
.) ac_abs_top_builddir=$ac_abs_builddir;;
7864
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7865
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7868
case $ac_abs_builddir in
7869
.) ac_abs_srcdir=$ac_srcdir;;
7872
.) ac_abs_srcdir=$ac_abs_builddir;;
7873
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7874
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7877
case $ac_abs_builddir in
7878
.) ac_abs_top_srcdir=$ac_top_srcdir;;
7880
case $ac_top_srcdir in
7881
.) ac_abs_top_srcdir=$ac_abs_builddir;;
7882
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7883
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6923
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6925
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
6926
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
6927
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6928
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7888
6931
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5