3
2
# Guess values for system-dependent variables and create Makefiles.
4
# Generated automatically using autoconf version 2.13
5
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
3
# Generated by GNU Autoconf 2.59.
5
# Copyright (C) 2003 Free Software Foundation, Inc.
7
6
# This configure script is free software; the Free Software Foundation
8
7
# gives unlimited permission to copy, distribute and modify it.
8
## --------------------- ##
9
## M4sh Initialization. ##
10
## --------------------- ##
12
# Be Bourne compatible
13
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
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22
DUALCASE=1; export DUALCASE # for MKS sh
24
# Support unset when possible.
25
if ( (MAIL=60; unset MAIL) || exit) >/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
65
# Name of the executable.
66
as_me=`$as_basename "$0" ||
67
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
X"$0" : 'X\(//\)$' \| \
69
X"$0" : 'X\(/\)$' \| \
70
. : '\(.\)' 2>/dev/null ||
72
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
/^X\/\(\/\/\)$/{ s//\1/; q; }
74
/^X\/\(\/\).*/{ s//\1/; q; }
78
# PATH needs CR, and LINENO needs CR and PATH.
79
# Avoid depending upon Character Ranges.
80
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83
as_cr_digits='0123456789'
84
as_cr_alnum=$as_cr_Letters$as_cr_digits
86
# The user is always right.
87
if test "${PATH_SEPARATOR+set}" != set; then
88
echo "#! /bin/sh" >conf$$.sh
89
echo "exit 0" >>conf$$.sh
91
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
test "x$as_lineno_1" != "x$as_lineno_2" &&
104
test "x$as_lineno_3" = "x$as_lineno_2" || {
105
# Find who we are. Look in the path if we contain no path at all
108
*[\\/]* ) as_myself=$0 ;;
109
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113
test -z "$as_dir" && as_dir=.
114
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119
# We did not find ourselves, most probably we were run as `sh COMMAND'
120
# in which case we are not to be found in the path.
121
if test "x$as_myself" = x; then
124
if test ! -f "$as_myself"; then
125
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
{ (exit 1); exit 1; }; }
128
case $CONFIG_SHELL in
130
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
test -z "$as_dir" && as_dir=.
135
for as_base in sh bash ksh sh5; do
138
if ("$as_dir/$as_base" -c '
141
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
test "x$as_lineno_1" != "x$as_lineno_2" &&
143
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
CONFIG_SHELL=$as_dir/$as_base
148
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
# uniformly replaced by the line number. The first 'sed' inserts a
158
# line-number line before each line; the second 'sed' does the real
159
# work. The second script uses 'N' to pair each line-number line
160
# with the numbered line, and appends trailing '-' during
161
# substitution so that $LINENO is not a special case at line end.
162
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164
sed '=' <$as_myself |
169
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172
s,^['$as_cr_digits']*\n,,
174
chmod +x $as_me.lineno ||
175
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
{ (exit 1); exit 1; }; }
178
# Don't try to exec as it changes $[0], causing all sort of problems
179
# (the dirname of $[0] is not the place where we might find the
180
# original and so on. Autoconf is especially sensible to this).
182
# Exit status is that of the last command.
187
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
*c*,-n*) ECHO_N= ECHO_C='
190
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194
if expr a : '\(a\)' >/dev/null 2>&1; then
200
rm -f conf$$ conf$$.exe conf$$.file
202
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
# We could just check for DJGPP; but this test a) works b) is more generic
204
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
if test -f conf$$.exe; then
206
# Don't use ln at all; we don't have any links
211
elif ln conf$$.file conf$$ 2>/dev/null; then
216
rm -f conf$$ conf$$.exe conf$$.file
218
if mkdir -p . 2>/dev/null; then
221
test -d ./-p && rmdir ./-p
225
as_executable_p="test -f"
227
# 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'"
230
# Sed expression to map a string onto a valid variable name.
231
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
# We need space, tab and new line, in precisely that order.
245
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246
# so uname gets run too.
247
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
12
254
ac_default_prefix=/usr/local
13
# Any additions from configure.in:
255
ac_config_libobj_dir=.
260
SHELL=${CONFIG_SHELL-/bin/sh}
262
# Maximum number of lines to put in a shell here document.
263
# This variable seems obsolete. It should probably be removed, and
264
# only ac_max_sed_lines should be used.
265
: ${ac_max_here_lines=38}
267
# Identity of this package.
274
ac_unique_file="common.c"
275
# Factoring default headers for most tests.
276
ac_includes_default="\
279
# include <sys/types.h>
282
# include <sys/stat.h>
293
# if !STDC_HEADERS && HAVE_MEMORY_H
299
# include <strings.h>
302
# include <inttypes.h>
312
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS LSOF CFLAGS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CC LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP LIBOBJS LTLIBOBJS'
15
315
# Initialize some variables set by options.
317
ac_init_version=false
16
318
# The variables have the same names as the options, with
17
319
# dashes changed to underlines.
19
cache_file=./config.cache
26
325
program_prefix=NONE
470
728
if test ! -r $srcdir/$ac_unique_file; then
471
729
if test "$ac_srcdir_defaulted" = yes; then
472
{ echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
730
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731
{ (exit 1); exit 1; }; }
474
{ echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
733
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734
{ (exit 1); exit 1; }; }
477
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
737
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739
{ (exit 1); exit 1; }; }
740
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741
ac_env_build_alias_set=${build_alias+set}
742
ac_env_build_alias_value=$build_alias
743
ac_cv_env_build_alias_set=${build_alias+set}
744
ac_cv_env_build_alias_value=$build_alias
745
ac_env_host_alias_set=${host_alias+set}
746
ac_env_host_alias_value=$host_alias
747
ac_cv_env_host_alias_set=${host_alias+set}
748
ac_cv_env_host_alias_value=$host_alias
749
ac_env_target_alias_set=${target_alias+set}
750
ac_env_target_alias_value=$target_alias
751
ac_cv_env_target_alias_set=${target_alias+set}
752
ac_cv_env_target_alias_value=$target_alias
753
ac_env_CC_set=${CC+set}
755
ac_cv_env_CC_set=${CC+set}
756
ac_cv_env_CC_value=$CC
757
ac_env_CFLAGS_set=${CFLAGS+set}
758
ac_env_CFLAGS_value=$CFLAGS
759
ac_cv_env_CFLAGS_set=${CFLAGS+set}
760
ac_cv_env_CFLAGS_value=$CFLAGS
761
ac_env_LDFLAGS_set=${LDFLAGS+set}
762
ac_env_LDFLAGS_value=$LDFLAGS
763
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764
ac_cv_env_LDFLAGS_value=$LDFLAGS
765
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766
ac_env_CPPFLAGS_value=$CPPFLAGS
767
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769
ac_env_CPP_set=${CPP+set}
770
ac_env_CPP_value=$CPP
771
ac_cv_env_CPP_set=${CPP+set}
772
ac_cv_env_CPP_value=$CPP
775
# Report the --help message.
777
if test "$ac_init_help" = "long"; then
778
# Omit some internal or obsolete options to make the list less imposing.
779
# This message is too long to be a string in the A/UX 3.1 sh.
781
\`configure' configures this package to adapt to many kinds of systems.
783
Usage: $0 [OPTION]... [VAR=VALUE]...
785
To assign environment variables (e.g., CC, CFLAGS...), specify them as
786
VAR=VALUE. See below for descriptions of some of the useful variables.
788
Defaults for the options are specified in brackets.
791
-h, --help display this help and exit
792
--help=short display options specific to this package
793
--help=recursive display the short help of all the included packages
794
-V, --version display version information and exit
795
-q, --quiet, --silent do not print \`checking...' messages
796
--cache-file=FILE cache test results in FILE [disabled]
797
-C, --config-cache alias for \`--cache-file=config.cache'
798
-n, --no-create do not create output files
799
--srcdir=DIR find the sources in DIR [configure dir or \`..']
804
Installation directories:
805
--prefix=PREFIX install architecture-independent files in PREFIX
807
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810
By default, \`make install' will install all the files in
811
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813
for instance \`--prefix=\$HOME'.
815
For better control, use the options below.
817
Fine tuning of the installation directories:
818
--bindir=DIR user executables [EPREFIX/bin]
819
--sbindir=DIR system admin executables [EPREFIX/sbin]
820
--libexecdir=DIR program executables [EPREFIX/libexec]
821
--datadir=DIR read-only architecture-independent data [PREFIX/share]
822
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
825
--libdir=DIR object code libraries [EPREFIX/lib]
826
--includedir=DIR C header files [PREFIX/include]
827
--oldincludedir=DIR C header files for non-gcc [/usr/include]
828
--infodir=DIR info documentation [PREFIX/info]
829
--mandir=DIR man documentation [PREFIX/man]
836
if test -n "$ac_init_help"; then
840
Some influential environment variables:
841
CC C compiler command
842
CFLAGS C compiler flags
843
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
844
nonstandard directory <lib dir>
845
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
846
headers in a nonstandard directory <include dir>
849
Use these variables to override the choices made by `configure' or to help
850
it to find libraries and programs with nonstandard names/locations.
855
if test "$ac_init_help" = "recursive"; then
856
# If there are subdirs, report their specific --help.
858
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
859
test -d $ac_dir || continue
862
if test "$ac_dir" != .; then
863
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
864
# A "../" for each directory in $ac_dir_suffix.
865
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
867
ac_dir_suffix= ac_top_builddir=
871
.) # No --srcdir option. We are building in place.
873
if test -z "$ac_top_builddir"; then
876
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
878
[\\/]* | ?:[\\/]* ) # Absolute path.
879
ac_srcdir=$srcdir$ac_dir_suffix;
880
ac_top_srcdir=$srcdir ;;
882
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
883
ac_top_srcdir=$ac_top_builddir$srcdir ;;
886
# Do not use `cd foo && pwd` to compute absolute paths, because
887
# the directories may not exist.
889
.) ac_abs_builddir="$ac_dir";;
892
.) ac_abs_builddir=`pwd`;;
893
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
894
*) ac_abs_builddir=`pwd`/"$ac_dir";;
897
case $ac_abs_builddir in
898
.) ac_abs_top_builddir=${ac_top_builddir}.;;
900
case ${ac_top_builddir}. in
901
.) ac_abs_top_builddir=$ac_abs_builddir;;
902
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
903
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
906
case $ac_abs_builddir in
907
.) ac_abs_srcdir=$ac_srcdir;;
910
.) ac_abs_srcdir=$ac_abs_builddir;;
911
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
912
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
915
case $ac_abs_builddir in
916
.) ac_abs_top_srcdir=$ac_top_srcdir;;
918
case $ac_top_srcdir in
919
.) ac_abs_top_srcdir=$ac_abs_builddir;;
920
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
921
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
926
# Check for guested configure; otherwise get Cygnus style configure.
927
if test -f $ac_srcdir/configure.gnu; then
929
$SHELL $ac_srcdir/configure.gnu --help=recursive
930
elif test -f $ac_srcdir/configure; then
932
$SHELL $ac_srcdir/configure --help=recursive
933
elif test -f $ac_srcdir/configure.ac ||
934
test -f $ac_srcdir/configure.in; then
938
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
944
test -n "$ac_init_help" && exit 0
945
if $ac_init_version; then
948
Copyright (C) 2003 Free Software Foundation, Inc.
949
This configure script is free software; the Free Software Foundation
950
gives unlimited permission to copy, distribute and modify it.
956
This file contains any messages produced by compilers while
957
running configure, to aid debugging if configure makes a mistake.
959
It was created by $as_me, which was
960
generated by GNU Autoconf 2.59. Invocation command line was
971
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
972
uname -m = `(uname -m) 2>/dev/null || echo unknown`
973
uname -r = `(uname -r) 2>/dev/null || echo unknown`
974
uname -s = `(uname -s) 2>/dev/null || echo unknown`
975
uname -v = `(uname -v) 2>/dev/null || echo unknown`
977
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
978
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
980
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
981
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
982
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
983
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
984
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
985
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
986
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
990
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
994
test -z "$as_dir" && as_dir=.
1010
# Keep a trace of the command line.
1011
# Strip out --no-create and --no-recursion so they do not pile up.
1012
# Strip out --silent because we don't want to record it for future runs.
1013
# Also quote any args containing shell meta-characters.
1014
# Make two passes to allow for proper duplicate-argument suppression.
1019
ac_must_keep_next=false
1025
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1026
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1027
| -silent | --silent | --silen | --sile | --sil)
1029
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1030
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1033
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1035
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1036
if test $ac_must_keep_next = true; then
1037
ac_must_keep_next=false # Got value, back to normal.
1040
*=* | --config-cache | -C | -disable-* | --disable-* \
1041
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1042
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1043
| -with-* | --with-* | -without-* | --without-* | --x)
1044
case "$ac_configure_args0 " in
1045
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1048
-* ) ac_must_keep_next=true ;;
1051
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1052
# Get rid of the leading space.
1058
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1059
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1061
# When interrupted or exit'd, cleanup temporary files, and complete
1062
# config.log. We remove comments because anyway the quotes in there
1063
# would cause problems or look ugly.
1064
# WARNING: Be sure not to use single quotes in there, as some shells,
1065
# such as our DU 5.0 friend, will then `close' the trap.
1066
trap 'exit_status=$?
1067
# Save into config.log some information that might help in debugging.
1072
## ---------------- ##
1073
## Cache variables. ##
1074
## ---------------- ##
1077
# The following way of writing the cache mishandles newlines in values,
1080
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1083
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1084
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1088
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1095
## ----------------- ##
1096
## Output variables. ##
1097
## ----------------- ##
1100
for ac_var in $ac_subst_vars
1102
eval ac_val=$`echo $ac_var`
1103
echo "$ac_var='"'"'$ac_val'"'"'"
1107
if test -n "$ac_subst_files"; then
1114
for ac_var in $ac_subst_files
1116
eval ac_val=$`echo $ac_var`
1117
echo "$ac_var='"'"'$ac_val'"'"'"
1122
if test -s confdefs.h; then
1129
sed "/^$/d" confdefs.h | sort
1132
test "$ac_signal" != 0 &&
1133
echo "$as_me: caught signal $ac_signal"
1134
echo "$as_me: exit $exit_status"
1136
rm -f core *.core &&
1137
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1140
for ac_signal in 1 2 13 15; do
1141
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1145
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1146
rm -rf conftest* confdefs.h
1147
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1150
# Predefined preprocessor variables.
1152
cat >>confdefs.h <<_ACEOF
1153
#define PACKAGE_NAME "$PACKAGE_NAME"
1157
cat >>confdefs.h <<_ACEOF
1158
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1162
cat >>confdefs.h <<_ACEOF
1163
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1167
cat >>confdefs.h <<_ACEOF
1168
#define PACKAGE_STRING "$PACKAGE_STRING"
1172
cat >>confdefs.h <<_ACEOF
1173
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1177
# Let the site file select an alternate cache file if it wants to.
479
1178
# Prefer explicitly selected file to automatically selected ones.
480
1179
if test -z "$CONFIG_SITE"; then
481
1180
if test "x$prefix" != xNONE; then
580
1409
# SunOS /usr/etc/install
581
1410
# IRIX /sbin/install
582
1411
# AIX /bin/install
1412
# AmigaOS /C/install, which installs bootblocks on floppy discs
583
1413
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
584
1414
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
585
1415
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1416
# OS/2's system install, which has a completely different semantic
586
1417
# ./install, which can be erroneously created by make from ./install.sh.
587
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
588
echo "configure:589: checking for a BSD compatible install" >&5
1418
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1419
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
589
1420
if test -z "$INSTALL"; then
590
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
591
echo $ac_n "(cached) $ac_c" 1>&6
1421
if test "${ac_cv_path_install+set}" = set; then
1422
echo $ECHO_N "(cached) $ECHO_C" >&6
593
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
594
for ac_dir in $PATH; do
595
# Account for people who put trailing slashes in PATH elements.
597
/|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
599
# OSF1 and SCO ODT 3.0 have their own names for install.
600
# Don't use installbsd from OSF since it installs stuff as root
602
for ac_prog in ginstall scoinst install; do
603
if test -f $ac_dir/$ac_prog; then
1424
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1428
test -z "$as_dir" && as_dir=.
1429
# Account for people who put trailing slashes in PATH elements.
1431
./ | .// | /cC/* | \
1432
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1433
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1436
# OSF1 and SCO ODT 3.0 have their own names for install.
1437
# Don't use installbsd from OSF since it installs stuff as root
1439
for ac_prog in ginstall scoinst install; do
1440
for ac_exec_ext in '' $ac_executable_extensions; do
1441
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
604
1442
if test $ac_prog = install &&
605
grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1443
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
606
1444
# AIX install. It has an incompatible calling convention.
1446
elif test $ac_prog = install &&
1447
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1448
# program-specific install script used by HP pwplus--don't use.
609
ac_cv_path_install="$ac_dir/$ac_prog -c"
1451
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
620
1463
if test "${ac_cv_path_install+set}" = set; then
621
INSTALL="$ac_cv_path_install"
1464
INSTALL=$ac_cv_path_install
623
1466
# As a last resort, use the slow shell script. We don't cache a
624
1467
# path for INSTALL within a source directory, because that will
625
1468
# break other packages using the cache if that directory is
626
1469
# removed, or if the path is relative.
627
INSTALL="$ac_install_sh"
1470
INSTALL=$ac_install_sh
630
echo "$ac_t""$INSTALL" 1>&6
1473
echo "$as_me:$LINENO: result: $INSTALL" >&5
1474
echo "${ECHO_T}$INSTALL" >&6
632
1476
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
633
1477
# It thinks the first close brace ends the variable substitution.
634
1478
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
636
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1480
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
638
1482
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
640
# Extract the first word of "gcc", so it can be a program name with args.
1485
ac_cpp='$CPP $CPPFLAGS'
1486
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1487
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1488
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1489
if test -n "$ac_tool_prefix"; then
1490
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1491
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1492
echo "$as_me:$LINENO: checking for $ac_word" >&5
1493
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1494
if test "${ac_cv_prog_CC+set}" = set; then
1495
echo $ECHO_N "(cached) $ECHO_C" >&6
1497
if test -n "$CC"; then
1498
ac_cv_prog_CC="$CC" # Let the user override the test.
1500
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1504
test -z "$as_dir" && as_dir=.
1505
for ac_exec_ext in '' $ac_executable_extensions; do
1506
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1507
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1508
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1517
if test -n "$CC"; then
1518
echo "$as_me:$LINENO: result: $CC" >&5
1519
echo "${ECHO_T}$CC" >&6
1521
echo "$as_me:$LINENO: result: no" >&5
1522
echo "${ECHO_T}no" >&6
1526
if test -z "$ac_cv_prog_CC"; then
1528
# Extract the first word of "gcc", so it can be a program name with args.
641
1529
set dummy gcc; ac_word=$2
642
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
643
echo "configure:644: checking for $ac_word" >&5
644
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
645
echo $ac_n "(cached) $ac_c" 1>&6
1530
echo "$as_me:$LINENO: checking for $ac_word" >&5
1531
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1532
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1533
echo $ECHO_N "(cached) $ECHO_C" >&6
1535
if test -n "$ac_ct_CC"; then
1536
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1538
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1542
test -z "$as_dir" && as_dir=.
1543
for ac_exec_ext in '' $ac_executable_extensions; do
1544
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1545
ac_cv_prog_ac_ct_CC="gcc"
1546
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1554
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1555
if test -n "$ac_ct_CC"; then
1556
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1557
echo "${ECHO_T}$ac_ct_CC" >&6
1559
echo "$as_me:$LINENO: result: no" >&5
1560
echo "${ECHO_T}no" >&6
1568
if test -z "$CC"; then
1569
if test -n "$ac_tool_prefix"; then
1570
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1571
set dummy ${ac_tool_prefix}cc; ac_word=$2
1572
echo "$as_me:$LINENO: checking for $ac_word" >&5
1573
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1574
if test "${ac_cv_prog_CC+set}" = set; then
1575
echo $ECHO_N "(cached) $ECHO_C" >&6
647
1577
if test -n "$CC"; then
648
1578
ac_cv_prog_CC="$CC" # Let the user override the test.
650
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
652
for ac_dir in $ac_dummy; do
653
test -z "$ac_dir" && ac_dir=.
654
if test -f $ac_dir/$ac_word; then
1580
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1584
test -z "$as_dir" && as_dir=.
1585
for ac_exec_ext in '' $ac_executable_extensions; do
1586
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1587
ac_cv_prog_CC="${ac_tool_prefix}cc"
1588
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
663
1597
if test -n "$CC"; then
664
echo "$ac_t""$CC" 1>&6
666
echo "$ac_t""no" 1>&6
1598
echo "$as_me:$LINENO: result: $CC" >&5
1599
echo "${ECHO_T}$CC" >&6
1601
echo "$as_me:$LINENO: result: no" >&5
1602
echo "${ECHO_T}no" >&6
1606
if test -z "$ac_cv_prog_CC"; then
1608
# Extract the first word of "cc", so it can be a program name with args.
1609
set dummy cc; ac_word=$2
1610
echo "$as_me:$LINENO: checking for $ac_word" >&5
1611
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1612
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1613
echo $ECHO_N "(cached) $ECHO_C" >&6
1615
if test -n "$ac_ct_CC"; then
1616
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1618
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1622
test -z "$as_dir" && as_dir=.
1623
for ac_exec_ext in '' $ac_executable_extensions; do
1624
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1625
ac_cv_prog_ac_ct_CC="cc"
1626
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1634
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1635
if test -n "$ac_ct_CC"; then
1636
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1637
echo "${ECHO_T}$ac_ct_CC" >&6
1639
echo "$as_me:$LINENO: result: no" >&5
1640
echo "${ECHO_T}no" >&6
669
1649
if test -z "$CC"; then
670
1650
# Extract the first word of "cc", so it can be a program name with args.
671
1651
set dummy cc; ac_word=$2
672
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
673
echo "configure:674: checking for $ac_word" >&5
674
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
675
echo $ac_n "(cached) $ac_c" 1>&6
1652
echo "$as_me:$LINENO: checking for $ac_word" >&5
1653
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1654
if test "${ac_cv_prog_CC+set}" = set; then
1655
echo $ECHO_N "(cached) $ECHO_C" >&6
677
1657
if test -n "$CC"; then
678
1658
ac_cv_prog_CC="$CC" # Let the user override the test.
680
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
681
1660
ac_prog_rejected=no
683
for ac_dir in $ac_dummy; do
684
test -z "$ac_dir" && ac_dir=.
685
if test -f $ac_dir/$ac_word; then
686
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1661
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1665
test -z "$as_dir" && as_dir=.
1666
for ac_exec_ext in '' $ac_executable_extensions; do
1667
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1668
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1669
ac_prog_rejected=yes
1673
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
695
1679
if test $ac_prog_rejected = yes; then
696
1680
# We found a bogon in the path, so make sure we never use it.
697
1681
set dummy $ac_cv_prog_CC
699
if test $# -gt 0; then
1683
if test $# != 0; then
700
1684
# We chose a different compiler from the bogus one.
701
1685
# However, it has the same basename, so the bogon will be chosen
702
1686
# first if we set CC to just the basename; use the full file name.
704
set dummy "$ac_dir/$ac_word" "$@"
1688
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
712
1694
if test -n "$CC"; then
713
echo "$ac_t""$CC" 1>&6
1695
echo "$as_me:$LINENO: result: $CC" >&5
1696
echo "${ECHO_T}$CC" >&6
715
echo "$ac_t""no" 1>&6
1698
echo "$as_me:$LINENO: result: no" >&5
1699
echo "${ECHO_T}no" >&6
718
if test -z "$CC"; then
721
# Extract the first word of "cl", so it can be a program name with args.
722
set dummy cl; ac_word=$2
723
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
724
echo "configure:725: checking for $ac_word" >&5
725
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
726
echo $ac_n "(cached) $ac_c" 1>&6
1703
if test -z "$CC"; then
1704
if test -n "$ac_tool_prefix"; then
1707
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1708
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1709
echo "$as_me:$LINENO: checking for $ac_word" >&5
1710
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1711
if test "${ac_cv_prog_CC+set}" = set; then
1712
echo $ECHO_N "(cached) $ECHO_C" >&6
728
1714
if test -n "$CC"; then
729
1715
ac_cv_prog_CC="$CC" # Let the user override the test.
731
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
733
for ac_dir in $ac_dummy; do
734
test -z "$ac_dir" && ac_dir=.
735
if test -f $ac_dir/$ac_word; then
1717
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1721
test -z "$as_dir" && as_dir=.
1722
for ac_exec_ext in '' $ac_executable_extensions; do
1723
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1724
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1725
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1734
if test -n "$CC"; then
1735
echo "$as_me:$LINENO: result: $CC" >&5
1736
echo "${ECHO_T}$CC" >&6
1738
echo "$as_me:$LINENO: result: no" >&5
1739
echo "${ECHO_T}no" >&6
1742
test -n "$CC" && break
744
if test -n "$CC"; then
745
echo "$ac_t""$CC" 1>&6
747
echo "$ac_t""no" 1>&6
1745
if test -z "$CC"; then
1749
# Extract the first word of "$ac_prog", so it can be a program name with args.
1750
set dummy $ac_prog; ac_word=$2
1751
echo "$as_me:$LINENO: checking for $ac_word" >&5
1752
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1753
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1754
echo $ECHO_N "(cached) $ECHO_C" >&6
1756
if test -n "$ac_ct_CC"; then
1757
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1759
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1763
test -z "$as_dir" && as_dir=.
1764
for ac_exec_ext in '' $ac_executable_extensions; do
1765
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1766
ac_cv_prog_ac_ct_CC="$ac_prog"
1767
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
752
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
755
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
756
echo "configure:757: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
759
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
760
ac_cpp='$CPP $CPPFLAGS'
761
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
762
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
763
cross_compiling=$ac_cv_prog_cc_cross
765
cat > conftest.$ac_ext << EOF
767
#line 768 "configure"
768
#include "confdefs.h"
772
if { (eval echo configure:773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
773
ac_cv_prog_cc_works=yes
774
# If we can't run a trivial program, we are probably using a cross compiler.
775
if (./conftest; exit) 2>/dev/null; then
776
ac_cv_prog_cc_cross=no
1775
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1776
if test -n "$ac_ct_CC"; then
1777
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1778
echo "${ECHO_T}$ac_ct_CC" >&6
1780
echo "$as_me:$LINENO: result: no" >&5
1781
echo "${ECHO_T}no" >&6
1784
test -n "$ac_ct_CC" && break
1793
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1794
See \`config.log' for more details." >&5
1795
echo "$as_me: error: no acceptable C compiler found in \$PATH
1796
See \`config.log' for more details." >&2;}
1797
{ (exit 1); exit 1; }; }
1799
# Provide some information about the compiler.
1800
echo "$as_me:$LINENO:" \
1801
"checking for C compiler version" >&5
1802
ac_compiler=`set X $ac_compile; echo $2`
1803
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1804
(eval $ac_compiler --version </dev/null >&5) 2>&5
1806
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1807
(exit $ac_status); }
1808
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1809
(eval $ac_compiler -v </dev/null >&5) 2>&5
1811
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1812
(exit $ac_status); }
1813
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1814
(eval $ac_compiler -V </dev/null >&5) 2>&5
1816
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1817
(exit $ac_status); }
1819
cat >conftest.$ac_ext <<_ACEOF
1822
cat confdefs.h >>conftest.$ac_ext
1823
cat >>conftest.$ac_ext <<_ACEOF
1824
/* end confdefs.h. */
1834
ac_clean_files_save=$ac_clean_files
1835
ac_clean_files="$ac_clean_files a.out a.exe b.out"
1836
# Try to create an executable without -o first, disregard a.out.
1837
# It will help us diagnose broken compilers, and finding out an intuition
1839
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1840
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1841
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1842
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1843
(eval $ac_link_default) 2>&5
1845
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1846
(exit $ac_status); }; then
1847
# Find the output, starting from the most likely. This scheme is
1848
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1851
# Be careful to initialize this variable, since it used to be cached.
1852
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1854
# b.out is created by i960 compilers.
1855
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1857
test -f "$ac_file" || continue
1859
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1862
# This is the source file.
1865
# We found the default executable, but exeext='' is most
1869
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1870
# FIXME: I believe we export ac_cv_exeext for Libtool,
1871
# but it would be cool to find out if it's true. Does anybody
1872
# maintain Libtool? --akim.
1880
echo "$as_me: failed program was:" >&5
1881
sed 's/^/| /' conftest.$ac_ext >&5
1883
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1884
See \`config.log' for more details." >&5
1885
echo "$as_me: error: C compiler cannot create executables
1886
See \`config.log' for more details." >&2;}
1887
{ (exit 77); exit 77; }; }
1890
ac_exeext=$ac_cv_exeext
1891
echo "$as_me:$LINENO: result: $ac_file" >&5
1892
echo "${ECHO_T}$ac_file" >&6
1894
# Check the compiler produces executables we can run. If not, either
1895
# the compiler is broken, or we cross compile.
1896
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1897
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1898
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1899
# If not cross compiling, check that we can run a simple program.
1900
if test "$cross_compiling" != yes; then
1901
if { ac_try='./$ac_file'
1902
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1905
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1906
(exit $ac_status); }; }; then
778
ac_cv_prog_cc_cross=yes
1909
if test "$cross_compiling" = maybe; then
1912
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1913
If you meant to cross compile, use \`--host'.
1914
See \`config.log' for more details." >&5
1915
echo "$as_me: error: cannot run C compiled programs.
1916
If you meant to cross compile, use \`--host'.
1917
See \`config.log' for more details." >&2;}
1918
{ (exit 1); exit 1; }; }
781
echo "configure: failed program was:" >&5
782
cat conftest.$ac_ext >&5
783
ac_cv_prog_cc_works=no
787
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
788
ac_cpp='$CPP $CPPFLAGS'
789
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
790
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
791
cross_compiling=$ac_cv_prog_cc_cross
793
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
794
if test $ac_cv_prog_cc_works = no; then
795
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
797
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
798
echo "configure:799: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
799
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
800
cross_compiling=$ac_cv_prog_cc_cross
802
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
803
echo "configure:804: checking whether we are using GNU C" >&5
804
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
805
echo $ac_n "(cached) $ac_c" 1>&6
807
cat > conftest.c <<EOF
1922
echo "$as_me:$LINENO: result: yes" >&5
1923
echo "${ECHO_T}yes" >&6
1925
rm -f a.out a.exe conftest$ac_cv_exeext b.out
1926
ac_clean_files=$ac_clean_files_save
1927
# Check the compiler produces executables we can run. If not, either
1928
# the compiler is broken, or we cross compile.
1929
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1930
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1931
echo "$as_me:$LINENO: result: $cross_compiling" >&5
1932
echo "${ECHO_T}$cross_compiling" >&6
1934
echo "$as_me:$LINENO: checking for suffix of executables" >&5
1935
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1936
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1937
(eval $ac_link) 2>&5
1939
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1940
(exit $ac_status); }; then
1941
# If both `conftest.exe' and `conftest' are `present' (well, observable)
1942
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1943
# work properly (i.e., refer to `conftest.exe'), while it won't with
1945
for ac_file in conftest.exe conftest conftest.*; do
1946
test -f "$ac_file" || continue
1948
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1949
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1956
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1957
See \`config.log' for more details." >&5
1958
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1959
See \`config.log' for more details." >&2;}
1960
{ (exit 1); exit 1; }; }
1963
rm -f conftest$ac_cv_exeext
1964
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1965
echo "${ECHO_T}$ac_cv_exeext" >&6
1967
rm -f conftest.$ac_ext
1968
EXEEXT=$ac_cv_exeext
1970
echo "$as_me:$LINENO: checking for suffix of object files" >&5
1971
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1972
if test "${ac_cv_objext+set}" = set; then
1973
echo $ECHO_N "(cached) $ECHO_C" >&6
1975
cat >conftest.$ac_ext <<_ACEOF
1978
cat confdefs.h >>conftest.$ac_ext
1979
cat >>conftest.$ac_ext <<_ACEOF
1980
/* end confdefs.h. */
1990
rm -f conftest.o conftest.obj
1991
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1992
(eval $ac_compile) 2>&5
1994
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1995
(exit $ac_status); }; then
1996
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1998
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1999
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2004
echo "$as_me: failed program was:" >&5
2005
sed 's/^/| /' conftest.$ac_ext >&5
2007
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2008
See \`config.log' for more details." >&5
2009
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2010
See \`config.log' for more details." >&2;}
2011
{ (exit 1); exit 1; }; }
2014
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2016
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2017
echo "${ECHO_T}$ac_cv_objext" >&6
2018
OBJEXT=$ac_cv_objext
2020
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2021
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2022
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2023
echo $ECHO_N "(cached) $ECHO_C" >&6
2025
cat >conftest.$ac_ext <<_ACEOF
2028
cat confdefs.h >>conftest.$ac_ext
2029
cat >>conftest.$ac_ext <<_ACEOF
2030
/* end confdefs.h. */
812
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:813: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
819
echo "$ac_t""$ac_cv_prog_gcc" 1>&6
821
if test $ac_cv_prog_gcc = yes; then
827
ac_test_CFLAGS="${CFLAGS+set}"
828
ac_save_CFLAGS="$CFLAGS"
830
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
831
echo "configure:832: checking whether ${CC-cc} accepts -g" >&5
832
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
833
echo $ac_n "(cached) $ac_c" 1>&6
835
echo 'void f(){}' > conftest.c
836
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
2043
rm -f conftest.$ac_objext
2044
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2045
(eval $ac_compile) 2>conftest.er1
2047
grep -v '^ *+' conftest.er1 >conftest.err
2049
cat conftest.err >&5
2050
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2051
(exit $ac_status); } &&
2052
{ ac_try='test -z "$ac_c_werror_flag"
2053
|| test ! -s conftest.err'
2054
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2057
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2058
(exit $ac_status); }; } &&
2059
{ ac_try='test -s conftest.$ac_objext'
2060
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2063
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2064
(exit $ac_status); }; }; then
2067
echo "$as_me: failed program was:" >&5
2068
sed 's/^/| /' conftest.$ac_ext >&5
2072
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2073
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2076
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2077
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2078
GCC=`test $ac_compiler_gnu = yes && echo yes`
2079
ac_test_CFLAGS=${CFLAGS+set}
2080
ac_save_CFLAGS=$CFLAGS
2082
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2083
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2084
if test "${ac_cv_prog_cc_g+set}" = set; then
2085
echo $ECHO_N "(cached) $ECHO_C" >&6
2087
cat >conftest.$ac_ext <<_ACEOF
2090
cat confdefs.h >>conftest.$ac_ext
2091
cat >>conftest.$ac_ext <<_ACEOF
2092
/* end confdefs.h. */
2102
rm -f conftest.$ac_objext
2103
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2104
(eval $ac_compile) 2>conftest.er1
2106
grep -v '^ *+' conftest.er1 >conftest.err
2108
cat conftest.err >&5
2109
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2110
(exit $ac_status); } &&
2111
{ ac_try='test -z "$ac_c_werror_flag"
2112
|| test ! -s conftest.err'
2113
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2116
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2117
(exit $ac_status); }; } &&
2118
{ ac_try='test -s conftest.$ac_objext'
2119
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2122
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2123
(exit $ac_status); }; }; then
837
2124
ac_cv_prog_cc_g=yes
845
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
2126
echo "$as_me: failed program was:" >&5
2127
sed 's/^/| /' conftest.$ac_ext >&5
2131
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2133
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2134
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
846
2135
if test "$ac_test_CFLAGS" = set; then
847
CFLAGS="$ac_save_CFLAGS"
2136
CFLAGS=$ac_save_CFLAGS
848
2137
elif test $ac_cv_prog_cc_g = yes; then
849
2138
if test "$GCC" = yes; then
864
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
865
echo "configure:866: checking how to run the C preprocessor" >&5
2150
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2151
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2152
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2153
echo $ECHO_N "(cached) $ECHO_C" >&6
2155
ac_cv_prog_cc_stdc=no
2157
cat >conftest.$ac_ext <<_ACEOF
2160
cat confdefs.h >>conftest.$ac_ext
2161
cat >>conftest.$ac_ext <<_ACEOF
2162
/* end confdefs.h. */
2165
#include <sys/types.h>
2166
#include <sys/stat.h>
2167
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2168
struct buf { int x; };
2169
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2170
static char *e (p, i)
2176
static char *f (char * (*g) (char **, int), char **p, ...)
2181
s = g (p, va_arg (v,int));
2186
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2187
function prototypes and stuff, but not '\xHH' hex character constants.
2188
These don't provoke an error unfortunately, instead are silently treated
2189
as 'x'. The following induces an error, until -std1 is added to get
2190
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2191
array size at least. It's necessary to write '\x00'==0 to get something
2192
that's true only with -std1. */
2193
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2195
int test (int i, double x);
2196
struct s1 {int (*f) (int a);};
2197
struct s2 {int (*f) (double a);};
2198
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2204
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2209
# Don't try gcc -ansi; that turns off useful extensions and
2210
# breaks some systems' header files.
2211
# AIX -qlanglvl=ansi
2212
# Ultrix and OSF/1 -std1
2213
# HP-UX 10.20 and later -Ae
2214
# HP-UX older versions -Aa -D_HPUX_SOURCE
2215
# SVR4 -Xc -D__EXTENSIONS__
2216
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2218
CC="$ac_save_CC $ac_arg"
2219
rm -f conftest.$ac_objext
2220
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2221
(eval $ac_compile) 2>conftest.er1
2223
grep -v '^ *+' conftest.er1 >conftest.err
2225
cat conftest.err >&5
2226
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2227
(exit $ac_status); } &&
2228
{ ac_try='test -z "$ac_c_werror_flag"
2229
|| test ! -s conftest.err'
2230
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2233
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2234
(exit $ac_status); }; } &&
2235
{ ac_try='test -s conftest.$ac_objext'
2236
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2239
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2240
(exit $ac_status); }; }; then
2241
ac_cv_prog_cc_stdc=$ac_arg
2244
echo "$as_me: failed program was:" >&5
2245
sed 's/^/| /' conftest.$ac_ext >&5
2248
rm -f conftest.err conftest.$ac_objext
2250
rm -f conftest.$ac_ext conftest.$ac_objext
2255
case "x$ac_cv_prog_cc_stdc" in
2257
echo "$as_me:$LINENO: result: none needed" >&5
2258
echo "${ECHO_T}none needed" >&6 ;;
2260
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2261
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2262
CC="$CC $ac_cv_prog_cc_stdc" ;;
2265
# Some people use a C++ compiler to compile C. Since we use `exit',
2266
# in C++ we need to declare it. In case someone uses the same compiler
2267
# for both compiling C and C++ we need to have the C++ compiler decide
2268
# the declaration of exit, since it's the most demanding environment.
2269
cat >conftest.$ac_ext <<_ACEOF
2274
rm -f conftest.$ac_objext
2275
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2276
(eval $ac_compile) 2>conftest.er1
2278
grep -v '^ *+' conftest.er1 >conftest.err
2280
cat conftest.err >&5
2281
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2282
(exit $ac_status); } &&
2283
{ ac_try='test -z "$ac_c_werror_flag"
2284
|| test ! -s conftest.err'
2285
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2288
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2289
(exit $ac_status); }; } &&
2290
{ ac_try='test -s conftest.$ac_objext'
2291
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2294
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2295
(exit $ac_status); }; }; then
2296
for ac_declaration in \
2298
'extern "C" void std::exit (int) throw (); using std::exit;' \
2299
'extern "C" void std::exit (int); using std::exit;' \
2300
'extern "C" void exit (int) throw ();' \
2301
'extern "C" void exit (int);' \
2304
cat >conftest.$ac_ext <<_ACEOF
2307
cat confdefs.h >>conftest.$ac_ext
2308
cat >>conftest.$ac_ext <<_ACEOF
2309
/* end confdefs.h. */
2320
rm -f conftest.$ac_objext
2321
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2322
(eval $ac_compile) 2>conftest.er1
2324
grep -v '^ *+' conftest.er1 >conftest.err
2326
cat conftest.err >&5
2327
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328
(exit $ac_status); } &&
2329
{ ac_try='test -z "$ac_c_werror_flag"
2330
|| test ! -s conftest.err'
2331
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2334
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2335
(exit $ac_status); }; } &&
2336
{ ac_try='test -s conftest.$ac_objext'
2337
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2340
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2341
(exit $ac_status); }; }; then
2344
echo "$as_me: failed program was:" >&5
2345
sed 's/^/| /' conftest.$ac_ext >&5
2349
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2350
cat >conftest.$ac_ext <<_ACEOF
2353
cat confdefs.h >>conftest.$ac_ext
2354
cat >>conftest.$ac_ext <<_ACEOF
2355
/* end confdefs.h. */
2365
rm -f conftest.$ac_objext
2366
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2367
(eval $ac_compile) 2>conftest.er1
2369
grep -v '^ *+' conftest.er1 >conftest.err
2371
cat conftest.err >&5
2372
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373
(exit $ac_status); } &&
2374
{ ac_try='test -z "$ac_c_werror_flag"
2375
|| test ! -s conftest.err'
2376
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2379
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2380
(exit $ac_status); }; } &&
2381
{ ac_try='test -s conftest.$ac_objext'
2382
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2385
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2386
(exit $ac_status); }; }; then
2389
echo "$as_me: failed program was:" >&5
2390
sed 's/^/| /' conftest.$ac_ext >&5
2393
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2396
if test -n "$ac_declaration"; then
2397
echo '#ifdef __cplusplus' >>confdefs.h
2398
echo $ac_declaration >>confdefs.h
2399
echo '#endif' >>confdefs.h
2403
echo "$as_me: failed program was:" >&5
2404
sed 's/^/| /' conftest.$ac_ext >&5
2407
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2409
ac_cpp='$CPP $CPPFLAGS'
2410
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2411
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2412
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2418
ac_cpp='$CPP $CPPFLAGS'
2419
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2420
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2421
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2422
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2423
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
866
2424
# On Suns, sometimes $CPP names a directory.
867
2425
if test -n "$CPP" && test -d "$CPP"; then
870
2428
if test -z "$CPP"; then
871
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
872
echo $ac_n "(cached) $ac_c" 1>&6
874
# This must be in double quotes, not single quotes, because CPP may get
875
# substituted into the Makefile and "${CC-cc}" will confuse make.
877
# On the NeXT, cc -E runs the code through the compiler's parser,
878
# not just through cpp.
879
cat > conftest.$ac_ext <<EOF
880
#line 881 "configure"
881
#include "confdefs.h"
885
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
886
{ (eval echo configure:887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
887
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
888
if test -z "$ac_err"; then
892
echo "configure: failed program was:" >&5
893
cat conftest.$ac_ext >&5
895
CPP="${CC-cc} -E -traditional-cpp"
896
cat > conftest.$ac_ext <<EOF
897
#line 898 "configure"
898
#include "confdefs.h"
902
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
903
{ (eval echo configure:904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
904
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
905
if test -z "$ac_err"; then
909
echo "configure: failed program was:" >&5
910
cat conftest.$ac_ext >&5
912
CPP="${CC-cc} -nologo -E"
913
cat > conftest.$ac_ext <<EOF
914
#line 915 "configure"
915
#include "confdefs.h"
919
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
920
{ (eval echo configure:921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
921
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
922
if test -z "$ac_err"; then
926
echo "configure: failed program was:" >&5
927
cat conftest.$ac_ext >&5
936
ac_cv_prog_CPP="$CPP"
938
CPP="$ac_cv_prog_CPP"
940
ac_cv_prog_CPP="$CPP"
942
echo "$ac_t""$CPP" 1>&6
944
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
945
echo "configure:946: checking for ANSI C header files" >&5
946
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
947
echo $ac_n "(cached) $ac_c" 1>&6
949
cat > conftest.$ac_ext <<EOF
950
#line 951 "configure"
951
#include "confdefs.h"
2429
if test "${ac_cv_prog_CPP+set}" = set; then
2430
echo $ECHO_N "(cached) $ECHO_C" >&6
2432
# Double quotes because CPP needs to be expanded
2433
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2436
for ac_c_preproc_warn_flag in '' yes
2438
# Use a header file that comes with gcc, so configuring glibc
2439
# with a fresh cross-compiler works.
2440
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2441
# <limits.h> exists even on freestanding compilers.
2442
# On the NeXT, cc -E runs the code through the compiler's parser,
2443
# not just through cpp. "Syntax error" is here to catch this case.
2444
cat >conftest.$ac_ext <<_ACEOF
2447
cat confdefs.h >>conftest.$ac_ext
2448
cat >>conftest.$ac_ext <<_ACEOF
2449
/* end confdefs.h. */
2451
# include <limits.h>
2453
# include <assert.h>
2457
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2458
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2460
grep -v '^ *+' conftest.er1 >conftest.err
2462
cat conftest.err >&5
2463
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2464
(exit $ac_status); } >/dev/null; then
2465
if test -s conftest.err; then
2466
ac_cpp_err=$ac_c_preproc_warn_flag
2467
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2474
if test -z "$ac_cpp_err"; then
2477
echo "$as_me: failed program was:" >&5
2478
sed 's/^/| /' conftest.$ac_ext >&5
2480
# Broken: fails on valid input.
2483
rm -f conftest.err conftest.$ac_ext
2485
# OK, works on sane cases. Now check whether non-existent headers
2486
# can be detected and how.
2487
cat >conftest.$ac_ext <<_ACEOF
2490
cat confdefs.h >>conftest.$ac_ext
2491
cat >>conftest.$ac_ext <<_ACEOF
2492
/* end confdefs.h. */
2493
#include <ac_nonexistent.h>
2495
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2496
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2498
grep -v '^ *+' conftest.er1 >conftest.err
2500
cat conftest.err >&5
2501
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502
(exit $ac_status); } >/dev/null; then
2503
if test -s conftest.err; then
2504
ac_cpp_err=$ac_c_preproc_warn_flag
2505
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2512
if test -z "$ac_cpp_err"; then
2513
# Broken: success on invalid input.
2516
echo "$as_me: failed program was:" >&5
2517
sed 's/^/| /' conftest.$ac_ext >&5
2519
# Passes both tests.
2523
rm -f conftest.err conftest.$ac_ext
2526
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2527
rm -f conftest.err conftest.$ac_ext
2528
if $ac_preproc_ok; then
2540
echo "$as_me:$LINENO: result: $CPP" >&5
2541
echo "${ECHO_T}$CPP" >&6
2543
for ac_c_preproc_warn_flag in '' yes
2545
# Use a header file that comes with gcc, so configuring glibc
2546
# with a fresh cross-compiler works.
2547
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2548
# <limits.h> exists even on freestanding compilers.
2549
# On the NeXT, cc -E runs the code through the compiler's parser,
2550
# not just through cpp. "Syntax error" is here to catch this case.
2551
cat >conftest.$ac_ext <<_ACEOF
2554
cat confdefs.h >>conftest.$ac_ext
2555
cat >>conftest.$ac_ext <<_ACEOF
2556
/* end confdefs.h. */
2558
# include <limits.h>
2560
# include <assert.h>
2564
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2565
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2567
grep -v '^ *+' conftest.er1 >conftest.err
2569
cat conftest.err >&5
2570
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2571
(exit $ac_status); } >/dev/null; then
2572
if test -s conftest.err; then
2573
ac_cpp_err=$ac_c_preproc_warn_flag
2574
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2581
if test -z "$ac_cpp_err"; then
2584
echo "$as_me: failed program was:" >&5
2585
sed 's/^/| /' conftest.$ac_ext >&5
2587
# Broken: fails on valid input.
2590
rm -f conftest.err conftest.$ac_ext
2592
# OK, works on sane cases. Now check whether non-existent headers
2593
# can be detected and how.
2594
cat >conftest.$ac_ext <<_ACEOF
2597
cat confdefs.h >>conftest.$ac_ext
2598
cat >>conftest.$ac_ext <<_ACEOF
2599
/* end confdefs.h. */
2600
#include <ac_nonexistent.h>
2602
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2603
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2605
grep -v '^ *+' conftest.er1 >conftest.err
2607
cat conftest.err >&5
2608
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609
(exit $ac_status); } >/dev/null; then
2610
if test -s conftest.err; then
2611
ac_cpp_err=$ac_c_preproc_warn_flag
2612
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2619
if test -z "$ac_cpp_err"; then
2620
# Broken: success on invalid input.
2623
echo "$as_me: failed program was:" >&5
2624
sed 's/^/| /' conftest.$ac_ext >&5
2626
# Passes both tests.
2630
rm -f conftest.err conftest.$ac_ext
2633
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2634
rm -f conftest.err conftest.$ac_ext
2635
if $ac_preproc_ok; then
2638
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2639
See \`config.log' for more details." >&5
2640
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2641
See \`config.log' for more details." >&2;}
2642
{ (exit 1); exit 1; }; }
2646
ac_cpp='$CPP $CPPFLAGS'
2647
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2648
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2649
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2652
echo "$as_me:$LINENO: checking for egrep" >&5
2653
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2654
if test "${ac_cv_prog_egrep+set}" = set; then
2655
echo $ECHO_N "(cached) $ECHO_C" >&6
2657
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2658
then ac_cv_prog_egrep='grep -E'
2659
else ac_cv_prog_egrep='egrep'
2662
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2663
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2664
EGREP=$ac_cv_prog_egrep
2667
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2668
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2669
if test "${ac_cv_header_stdc+set}" = set; then
2670
echo $ECHO_N "(cached) $ECHO_C" >&6
2672
cat >conftest.$ac_ext <<_ACEOF
2675
cat confdefs.h >>conftest.$ac_ext
2676
cat >>conftest.$ac_ext <<_ACEOF
2677
/* end confdefs.h. */
952
2678
#include <stdlib.h>
953
2679
#include <stdarg.h>
954
2680
#include <string.h>
955
2681
#include <float.h>
957
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
958
{ (eval echo configure:959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
959
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
960
if test -z "$ac_err"; then
2691
rm -f conftest.$ac_objext
2692
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2693
(eval $ac_compile) 2>conftest.er1
2695
grep -v '^ *+' conftest.er1 >conftest.err
2697
cat conftest.err >&5
2698
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699
(exit $ac_status); } &&
2700
{ ac_try='test -z "$ac_c_werror_flag"
2701
|| test ! -s conftest.err'
2702
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2705
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2706
(exit $ac_status); }; } &&
2707
{ ac_try='test -s conftest.$ac_objext'
2708
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2711
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2712
(exit $ac_status); }; }; then
962
2713
ac_cv_header_stdc=yes
965
echo "configure: failed program was:" >&5
966
cat conftest.$ac_ext >&5
2715
echo "$as_me: failed program was:" >&5
2716
sed 's/^/| /' conftest.$ac_ext >&5
2718
ac_cv_header_stdc=no
2720
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
972
2722
if test $ac_cv_header_stdc = yes; then
973
2723
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
974
cat > conftest.$ac_ext <<EOF
975
#line 976 "configure"
976
#include "confdefs.h"
2724
cat >conftest.$ac_ext <<_ACEOF
2727
cat confdefs.h >>conftest.$ac_ext
2728
cat >>conftest.$ac_ext <<_ACEOF
2729
/* end confdefs.h. */
977
2730
#include <string.h>
979
2733
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
980
egrep "memchr" >/dev/null 2>&1; then
2734
$EGREP "memchr" >/dev/null 2>&1; then
984
2737
ac_cv_header_stdc=no
1008
2764
if test $ac_cv_header_stdc = yes; then
1009
2765
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1010
if test "$cross_compiling" = yes; then
2766
if test "$cross_compiling" = yes; then
1013
cat > conftest.$ac_ext <<EOF
1014
#line 1015 "configure"
1015
#include "confdefs.h"
2769
cat >conftest.$ac_ext <<_ACEOF
2772
cat confdefs.h >>conftest.$ac_ext
2773
cat >>conftest.$ac_ext <<_ACEOF
2774
/* end confdefs.h. */
1016
2775
#include <ctype.h>
1017
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1018
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2776
#if ((' ' & 0x0FF) == 0x020)
2777
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2778
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2780
# define ISLOWER(c) \
2781
(('a' <= (c) && (c) <= 'i') \
2782
|| ('j' <= (c) && (c) <= 'r') \
2783
|| ('s' <= (c) && (c) <= 'z'))
2784
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
1019
2787
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1020
int main () { int i; for (i = 0; i < 256; i++)
1021
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1025
if { (eval echo configure:1026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2792
for (i = 0; i < 256; i++)
2793
if (XOR (islower (i), ISLOWER (i))
2794
|| toupper (i) != TOUPPER (i))
2799
rm -f conftest$ac_exeext
2800
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2801
(eval $ac_link) 2>&5
2803
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2805
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2808
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2809
(exit $ac_status); }; }; then
1029
echo "configure: failed program was:" >&5
1030
cat conftest.$ac_ext >&5
1032
ac_cv_header_stdc=no
1040
echo "$ac_t""$ac_cv_header_stdc" 1>&6
2812
echo "$as_me: program exited with status $ac_status" >&5
2813
echo "$as_me: failed program was:" >&5
2814
sed 's/^/| /' conftest.$ac_ext >&5
2817
ac_cv_header_stdc=no
2819
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2823
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2824
echo "${ECHO_T}$ac_cv_header_stdc" >&6
1041
2825
if test $ac_cv_header_stdc = yes; then
1042
cat >> confdefs.h <<\EOF
2827
cat >>confdefs.h <<\_ACEOF
1043
2828
#define STDC_HEADERS 1
1048
echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
1049
echo "configure:1050: checking for sys/wait.h that is POSIX.1 compatible" >&5
1050
if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
1051
echo $ac_n "(cached) $ac_c" 1>&6
2833
echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
2834
echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
2835
if test "${ac_cv_header_sys_wait_h+set}" = set; then
2836
echo $ECHO_N "(cached) $ECHO_C" >&6
1053
cat > conftest.$ac_ext <<EOF
1054
#line 1055 "configure"
1055
#include "confdefs.h"
2838
cat >conftest.$ac_ext <<_ACEOF
2841
cat confdefs.h >>conftest.$ac_ext
2842
cat >>conftest.$ac_ext <<_ACEOF
2843
/* end confdefs.h. */
1056
2844
#include <sys/types.h>
1057
2845
#include <sys/wait.h>
1058
2846
#ifndef WEXITSTATUS
1059
#define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
2847
# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
1061
2849
#ifndef WIFEXITED
1062
#define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
2850
# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
1067
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
1070
if { (eval echo configure:1071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2858
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
2863
rm -f conftest.$ac_objext
2864
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2865
(eval $ac_compile) 2>conftest.er1
2867
grep -v '^ *+' conftest.er1 >conftest.err
2869
cat conftest.err >&5
2870
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2871
(exit $ac_status); } &&
2872
{ ac_try='test -z "$ac_c_werror_flag"
2873
|| test ! -s conftest.err'
2874
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2877
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2878
(exit $ac_status); }; } &&
2879
{ ac_try='test -s conftest.$ac_objext'
2880
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2883
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884
(exit $ac_status); }; }; then
1072
2885
ac_cv_header_sys_wait_h=yes
1074
echo "configure: failed program was:" >&5
1075
cat conftest.$ac_ext >&5
1077
ac_cv_header_sys_wait_h=no
2887
echo "$as_me: failed program was:" >&5
2888
sed 's/^/| /' conftest.$ac_ext >&5
1082
echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
2890
ac_cv_header_sys_wait_h=no
2892
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2894
echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
2895
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
1083
2896
if test $ac_cv_header_sys_wait_h = yes; then
1084
cat >> confdefs.h <<\EOF
2898
cat >>confdefs.h <<\_ACEOF
1085
2899
#define HAVE_SYS_WAIT_H 1
1090
for ac_hdr in fcntl.h sys/time.h syslog.h unistd.h
1092
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1093
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1094
echo "configure:1095: checking for $ac_hdr" >&5
1095
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1096
echo $ac_n "(cached) $ac_c" 1>&6
1098
cat > conftest.$ac_ext <<EOF
1099
#line 1100 "configure"
1100
#include "confdefs.h"
1103
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1104
{ (eval echo configure:1105: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1105
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1106
if test -z "$ac_err"; then
1108
eval "ac_cv_header_$ac_safe=yes"
1111
echo "configure: failed program was:" >&5
1112
cat conftest.$ac_ext >&5
1114
eval "ac_cv_header_$ac_safe=no"
1118
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1119
echo "$ac_t""yes" 1>&6
1120
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1121
cat >> confdefs.h <<EOF
1122
#define $ac_tr_hdr 1
1126
echo "$ac_t""no" 1>&6
1131
echo $ac_n "checking for pid_t""... $ac_c" 1>&6
1132
echo "configure:1133: checking for pid_t" >&5
1133
if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
1134
echo $ac_n "(cached) $ac_c" 1>&6
1136
cat > conftest.$ac_ext <<EOF
1137
#line 1138 "configure"
1138
#include "confdefs.h"
1139
#include <sys/types.h>
1145
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1146
egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
2904
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
2914
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
2915
inttypes.h stdint.h unistd.h
2917
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2918
echo "$as_me:$LINENO: checking for $ac_header" >&5
2919
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2920
if eval "test \"\${$as_ac_Header+set}\" = set"; then
2921
echo $ECHO_N "(cached) $ECHO_C" >&6
2923
cat >conftest.$ac_ext <<_ACEOF
2926
cat confdefs.h >>conftest.$ac_ext
2927
cat >>conftest.$ac_ext <<_ACEOF
2928
/* end confdefs.h. */
2929
$ac_includes_default
2931
#include <$ac_header>
2933
rm -f conftest.$ac_objext
2934
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2935
(eval $ac_compile) 2>conftest.er1
2937
grep -v '^ *+' conftest.er1 >conftest.err
2939
cat conftest.err >&5
2940
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2941
(exit $ac_status); } &&
2942
{ ac_try='test -z "$ac_c_werror_flag"
2943
|| test ! -s conftest.err'
2944
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2947
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948
(exit $ac_status); }; } &&
2949
{ ac_try='test -s conftest.$ac_objext'
2950
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2953
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2954
(exit $ac_status); }; }; then
2955
eval "$as_ac_Header=yes"
2957
echo "$as_me: failed program was:" >&5
2958
sed 's/^/| /' conftest.$ac_ext >&5
2960
eval "$as_ac_Header=no"
2962
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2964
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2965
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2966
if test `eval echo '${'$as_ac_Header'}'` = yes; then
2967
cat >>confdefs.h <<_ACEOF
2968
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2980
for ac_header in fcntl.h sys/time.h syslog.h unistd.h
2982
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2983
if eval "test \"\${$as_ac_Header+set}\" = set"; then
2984
echo "$as_me:$LINENO: checking for $ac_header" >&5
2985
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2986
if eval "test \"\${$as_ac_Header+set}\" = set"; then
2987
echo $ECHO_N "(cached) $ECHO_C" >&6
2989
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2990
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2992
# Is the header compilable?
2993
echo "$as_me:$LINENO: checking $ac_header usability" >&5
2994
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2995
cat >conftest.$ac_ext <<_ACEOF
2998
cat confdefs.h >>conftest.$ac_ext
2999
cat >>conftest.$ac_ext <<_ACEOF
3000
/* end confdefs.h. */
3001
$ac_includes_default
3002
#include <$ac_header>
3004
rm -f conftest.$ac_objext
3005
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3006
(eval $ac_compile) 2>conftest.er1
3008
grep -v '^ *+' conftest.er1 >conftest.err
3010
cat conftest.err >&5
3011
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3012
(exit $ac_status); } &&
3013
{ ac_try='test -z "$ac_c_werror_flag"
3014
|| test ! -s conftest.err'
3015
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3018
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3019
(exit $ac_status); }; } &&
3020
{ ac_try='test -s conftest.$ac_objext'
3021
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3024
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025
(exit $ac_status); }; }; then
3026
ac_header_compiler=yes
3028
echo "$as_me: failed program was:" >&5
3029
sed 's/^/| /' conftest.$ac_ext >&5
3031
ac_header_compiler=no
3033
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3034
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3035
echo "${ECHO_T}$ac_header_compiler" >&6
3037
# Is the header present?
3038
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3039
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3040
cat >conftest.$ac_ext <<_ACEOF
3043
cat confdefs.h >>conftest.$ac_ext
3044
cat >>conftest.$ac_ext <<_ACEOF
3045
/* end confdefs.h. */
3046
#include <$ac_header>
3048
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3049
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3051
grep -v '^ *+' conftest.er1 >conftest.err
3053
cat conftest.err >&5
3054
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3055
(exit $ac_status); } >/dev/null; then
3056
if test -s conftest.err; then
3057
ac_cpp_err=$ac_c_preproc_warn_flag
3058
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3065
if test -z "$ac_cpp_err"; then
3066
ac_header_preproc=yes
3068
echo "$as_me: failed program was:" >&5
3069
sed 's/^/| /' conftest.$ac_ext >&5
3071
ac_header_preproc=no
3073
rm -f conftest.err conftest.$ac_ext
3074
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3075
echo "${ECHO_T}$ac_header_preproc" >&6
3077
# So? What about this header?
3078
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3080
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3081
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3082
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3083
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3084
ac_header_preproc=yes
3087
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3088
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3089
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3090
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3091
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3092
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3093
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3094
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3095
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3096
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3097
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3098
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3101
## ------------------------------------------ ##
3102
## Report this to the AC_PACKAGE_NAME lists. ##
3103
## ------------------------------------------ ##
3106
sed "s/^/$as_me: WARNING: /" >&2
3109
echo "$as_me:$LINENO: checking for $ac_header" >&5
3110
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3111
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3112
echo $ECHO_N "(cached) $ECHO_C" >&6
3114
eval "$as_ac_Header=\$ac_header_preproc"
3116
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3117
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3120
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3121
cat >>confdefs.h <<_ACEOF
3122
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3130
echo "$as_me:$LINENO: checking for pid_t" >&5
3131
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
3132
if test "${ac_cv_type_pid_t+set}" = set; then
3133
echo $ECHO_N "(cached) $ECHO_C" >&6
3135
cat >conftest.$ac_ext <<_ACEOF
3138
cat confdefs.h >>conftest.$ac_ext
3139
cat >>conftest.$ac_ext <<_ACEOF
3140
/* end confdefs.h. */
3141
$ac_includes_default
3153
rm -f conftest.$ac_objext
3154
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3155
(eval $ac_compile) 2>conftest.er1
3157
grep -v '^ *+' conftest.er1 >conftest.err
3159
cat conftest.err >&5
3160
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161
(exit $ac_status); } &&
3162
{ ac_try='test -z "$ac_c_werror_flag"
3163
|| test ! -s conftest.err'
3164
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3167
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3168
(exit $ac_status); }; } &&
3169
{ ac_try='test -s conftest.$ac_objext'
3170
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3173
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3174
(exit $ac_status); }; }; then
1148
3175
ac_cv_type_pid_t=yes
1156
echo "$ac_t""$ac_cv_type_pid_t" 1>&6
1157
if test $ac_cv_type_pid_t = no; then
1158
cat >> confdefs.h <<\EOF
3177
echo "$as_me: failed program was:" >&5
3178
sed 's/^/| /' conftest.$ac_ext >&5
3182
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3184
echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
3185
echo "${ECHO_T}$ac_cv_type_pid_t" >&6
3186
if test $ac_cv_type_pid_t = yes; then
3190
cat >>confdefs.h <<_ACEOF
1159
3191
#define pid_t int
1164
echo $ac_n "checking for size_t""... $ac_c" 1>&6
1165
echo "configure:1166: checking for size_t" >&5
1166
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
1167
echo $ac_n "(cached) $ac_c" 1>&6
3196
echo "$as_me:$LINENO: checking for size_t" >&5
3197
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3198
if test "${ac_cv_type_size_t+set}" = set; then
3199
echo $ECHO_N "(cached) $ECHO_C" >&6
1169
cat > conftest.$ac_ext <<EOF
1170
#line 1171 "configure"
1171
#include "confdefs.h"
1172
#include <sys/types.h>
1178
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1179
egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
3201
cat >conftest.$ac_ext <<_ACEOF
3204
cat confdefs.h >>conftest.$ac_ext
3205
cat >>conftest.$ac_ext <<_ACEOF
3206
/* end confdefs.h. */
3207
$ac_includes_default
3213
if (sizeof (size_t))
3219
rm -f conftest.$ac_objext
3220
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3221
(eval $ac_compile) 2>conftest.er1
3223
grep -v '^ *+' conftest.er1 >conftest.err
3225
cat conftest.err >&5
3226
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227
(exit $ac_status); } &&
3228
{ ac_try='test -z "$ac_c_werror_flag"
3229
|| test ! -s conftest.err'
3230
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3233
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3234
(exit $ac_status); }; } &&
3235
{ ac_try='test -s conftest.$ac_objext'
3236
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3239
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3240
(exit $ac_status); }; }; then
1181
3241
ac_cv_type_size_t=yes
1184
ac_cv_type_size_t=no
1189
echo "$ac_t""$ac_cv_type_size_t" 1>&6
1190
if test $ac_cv_type_size_t = no; then
1191
cat >> confdefs.h <<\EOF
3243
echo "$as_me: failed program was:" >&5
3244
sed 's/^/| /' conftest.$ac_ext >&5
3246
ac_cv_type_size_t=no
3248
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3250
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3251
echo "${ECHO_T}$ac_cv_type_size_t" >&6
3252
if test $ac_cv_type_size_t = yes; then
3256
cat >>confdefs.h <<_ACEOF
1192
3257
#define size_t unsigned
1197
echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
1198
echo "configure:1199: checking for uid_t in sys/types.h" >&5
1199
if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
1200
echo $ac_n "(cached) $ac_c" 1>&6
3262
echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
3263
echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
3264
if test "${ac_cv_type_uid_t+set}" = set; then
3265
echo $ECHO_N "(cached) $ECHO_C" >&6
1202
cat > conftest.$ac_ext <<EOF
1203
#line 1204 "configure"
1204
#include "confdefs.h"
3267
cat >conftest.$ac_ext <<_ACEOF
3270
cat confdefs.h >>conftest.$ac_ext
3271
cat >>conftest.$ac_ext <<_ACEOF
3272
/* end confdefs.h. */
1205
3273
#include <sys/types.h>
1207
3276
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1208
egrep "uid_t" >/dev/null 2>&1; then
3277
$EGREP "uid_t" >/dev/null 2>&1; then
1210
3278
ac_cv_type_uid_t=yes
1213
3280
ac_cv_type_uid_t=no
1215
3282
rm -f conftest*
1219
echo "$ac_t""$ac_cv_type_uid_t" 1>&6
3285
echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
3286
echo "${ECHO_T}$ac_cv_type_uid_t" >&6
1220
3287
if test $ac_cv_type_uid_t = no; then
1221
cat >> confdefs.h <<\EOF
3289
cat >>confdefs.h <<\_ACEOF
1222
3290
#define uid_t int
1225
cat >> confdefs.h <<\EOF
3294
cat >>confdefs.h <<\_ACEOF
1226
3295
#define gid_t int
1232
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
1233
echo "configure:1234: checking return type of signal handlers" >&5
1234
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
1235
echo $ac_n "(cached) $ac_c" 1>&6
3301
echo "$as_me:$LINENO: checking return type of signal handlers" >&5
3302
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
3303
if test "${ac_cv_type_signal+set}" = set; then
3304
echo $ECHO_N "(cached) $ECHO_C" >&6
1237
cat > conftest.$ac_ext <<EOF
1238
#line 1239 "configure"
1239
#include "confdefs.h"
3306
cat >conftest.$ac_ext <<_ACEOF
3309
cat confdefs.h >>conftest.$ac_ext
3310
cat >>conftest.$ac_ext <<_ACEOF
3311
/* end confdefs.h. */
1240
3312
#include <sys/types.h>
1241
3313
#include <signal.h>
1245
3317
#ifdef __cplusplus
1246
3318
extern "C" void (*signal (int, void (*)(int)))(int);
1248
3320
void (*signal ()) ();
1255
if { (eval echo configure:1256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3331
rm -f conftest.$ac_objext
3332
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3333
(eval $ac_compile) 2>conftest.er1
3335
grep -v '^ *+' conftest.er1 >conftest.err
3337
cat conftest.err >&5
3338
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339
(exit $ac_status); } &&
3340
{ ac_try='test -z "$ac_c_werror_flag"
3341
|| test ! -s conftest.err'
3342
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3345
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3346
(exit $ac_status); }; } &&
3347
{ ac_try='test -s conftest.$ac_objext'
3348
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3351
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352
(exit $ac_status); }; }; then
1257
3353
ac_cv_type_signal=void
1259
echo "configure: failed program was:" >&5
1260
cat conftest.$ac_ext >&5
1262
ac_cv_type_signal=int
1267
echo "$ac_t""$ac_cv_type_signal" 1>&6
1268
cat >> confdefs.h <<EOF
3355
echo "$as_me: failed program was:" >&5
3356
sed 's/^/| /' conftest.$ac_ext >&5
3358
ac_cv_type_signal=int
3360
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3362
echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
3363
echo "${ECHO_T}$ac_cv_type_signal" >&6
3365
cat >>confdefs.h <<_ACEOF
1269
3366
#define RETSIGTYPE $ac_cv_type_signal
1273
3374
for ac_func in select socket strerror strstr
1275
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1276
echo "configure:1277: checking for $ac_func" >&5
1277
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1278
echo $ac_n "(cached) $ac_c" 1>&6
3376
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3377
echo "$as_me:$LINENO: checking for $ac_func" >&5
3378
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3379
if eval "test \"\${$as_ac_var+set}\" = set"; then
3380
echo $ECHO_N "(cached) $ECHO_C" >&6
1280
cat > conftest.$ac_ext <<EOF
1281
#line 1282 "configure"
1282
#include "confdefs.h"
3382
cat >conftest.$ac_ext <<_ACEOF
3385
cat confdefs.h >>conftest.$ac_ext
3386
cat >>conftest.$ac_ext <<_ACEOF
3387
/* end confdefs.h. */
3388
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3389
For example, HP-UX 11i <limits.h> declares gettimeofday. */
3390
#define $ac_func innocuous_$ac_func
1283
3392
/* System header to define __stub macros and hopefully few prototypes,
1284
which can conflict with char $ac_func(); below. */
3393
which can conflict with char $ac_func (); below.
3394
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3395
<limits.h> exists even on freestanding compilers. */
3398
# include <limits.h>
3400
# include <assert.h>
1286
3405
/* Override any gcc2 internal prototype to avoid an error. */
1287
3410
/* We use char because int might match the return type of a gcc2
1288
builtin and then its argument prototype would still apply. */
3411
builtin and then its argument prototype would still apply. */
1293
3413
/* The GNU C library defines this for functions which it implements
1294
3414
to always fail with ENOSYS. Some functions are actually named
1295
3415
something starting with __ and the normal name is an alias. */
1296
3416
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1304
if { (eval echo configure:1305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1306
eval "ac_cv_func_$ac_func=yes"
1308
echo "configure: failed program was:" >&5
1309
cat conftest.$ac_ext >&5
1311
eval "ac_cv_func_$ac_func=no"
1316
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1317
echo "$ac_t""yes" 1>&6
1318
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1319
cat >> confdefs.h <<EOF
1320
#define $ac_tr_func 1
1324
echo "$ac_t""no" 1>&6
3419
char (*f) () = $ac_func;
3428
return f != $ac_func;
3433
rm -f conftest.$ac_objext conftest$ac_exeext
3434
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3435
(eval $ac_link) 2>conftest.er1
3437
grep -v '^ *+' conftest.er1 >conftest.err
3439
cat conftest.err >&5
3440
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3441
(exit $ac_status); } &&
3442
{ ac_try='test -z "$ac_c_werror_flag"
3443
|| test ! -s conftest.err'
3444
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3447
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3448
(exit $ac_status); }; } &&
3449
{ ac_try='test -s conftest$ac_exeext'
3450
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3453
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3454
(exit $ac_status); }; }; then
3455
eval "$as_ac_var=yes"
3457
echo "$as_me: failed program was:" >&5
3458
sed 's/^/| /' conftest.$ac_ext >&5
3460
eval "$as_ac_var=no"
3462
rm -f conftest.err conftest.$ac_objext \
3463
conftest$ac_exeext conftest.$ac_ext
3465
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3466
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3467
if test `eval echo '${'$as_ac_var'}'` = yes; then
3468
cat >>confdefs.h <<_ACEOF
3469
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3475
echo "$as_me:$LINENO: checking for gethostent" >&5
3476
echo $ECHO_N "checking for gethostent... $ECHO_C" >&6
3477
if test "${ac_cv_func_gethostent+set}" = set; then
3478
echo $ECHO_N "(cached) $ECHO_C" >&6
3480
cat >conftest.$ac_ext <<_ACEOF
3483
cat confdefs.h >>conftest.$ac_ext
3484
cat >>conftest.$ac_ext <<_ACEOF
3485
/* end confdefs.h. */
3486
/* Define gethostent to an innocuous variant, in case <limits.h> declares gethostent.
3487
For example, HP-UX 11i <limits.h> declares gettimeofday. */
3488
#define gethostent innocuous_gethostent
3490
/* System header to define __stub macros and hopefully few prototypes,
3491
which can conflict with char gethostent (); below.
3492
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3493
<limits.h> exists even on freestanding compilers. */
3496
# include <limits.h>
3498
# include <assert.h>
3503
/* Override any gcc2 internal prototype to avoid an error. */
3508
/* We use char because int might match the return type of a gcc2
3509
builtin and then its argument prototype would still apply. */
3511
/* The GNU C library defines this for functions which it implements
3512
to always fail with ENOSYS. Some functions are actually named
3513
something starting with __ and the normal name is an alias. */
3514
#if defined (__stub_gethostent) || defined (__stub___gethostent)
3517
char (*f) () = gethostent;
3526
return f != gethostent;
3531
rm -f conftest.$ac_objext conftest$ac_exeext
3532
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3533
(eval $ac_link) 2>conftest.er1
3535
grep -v '^ *+' conftest.er1 >conftest.err
3537
cat conftest.err >&5
3538
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3539
(exit $ac_status); } &&
3540
{ ac_try='test -z "$ac_c_werror_flag"
3541
|| test ! -s conftest.err'
3542
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3545
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3546
(exit $ac_status); }; } &&
3547
{ ac_try='test -s conftest$ac_exeext'
3548
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3551
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552
(exit $ac_status); }; }; then
3553
ac_cv_func_gethostent=yes
3555
echo "$as_me: failed program was:" >&5
3556
sed 's/^/| /' conftest.$ac_ext >&5
3558
ac_cv_func_gethostent=no
3560
rm -f conftest.err conftest.$ac_objext \
3561
conftest$ac_exeext conftest.$ac_ext
3563
echo "$as_me:$LINENO: result: $ac_cv_func_gethostent" >&5
3564
echo "${ECHO_T}$ac_cv_func_gethostent" >&6
3565
if test $ac_cv_func_gethostent = yes; then
3569
echo "$as_me:$LINENO: checking for gethostent in -lnsl" >&5
3570
echo $ECHO_N "checking for gethostent in -lnsl... $ECHO_C" >&6
3571
if test "${ac_cv_lib_nsl_gethostent+set}" = set; then
3572
echo $ECHO_N "(cached) $ECHO_C" >&6
3574
ac_check_lib_save_LIBS=$LIBS
3576
cat >conftest.$ac_ext <<_ACEOF
3579
cat confdefs.h >>conftest.$ac_ext
3580
cat >>conftest.$ac_ext <<_ACEOF
3581
/* end confdefs.h. */
3583
/* Override any gcc2 internal prototype to avoid an error. */
3587
/* We use char because int might match the return type of a gcc2
3588
builtin and then its argument prototype would still apply. */
3598
rm -f conftest.$ac_objext conftest$ac_exeext
3599
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3600
(eval $ac_link) 2>conftest.er1
3602
grep -v '^ *+' conftest.er1 >conftest.err
3604
cat conftest.err >&5
3605
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606
(exit $ac_status); } &&
3607
{ ac_try='test -z "$ac_c_werror_flag"
3608
|| test ! -s conftest.err'
3609
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3612
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613
(exit $ac_status); }; } &&
3614
{ ac_try='test -s conftest$ac_exeext'
3615
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3618
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619
(exit $ac_status); }; }; then
3620
ac_cv_lib_nsl_gethostent=yes
3622
echo "$as_me: failed program was:" >&5
3623
sed 's/^/| /' conftest.$ac_ext >&5
3625
ac_cv_lib_nsl_gethostent=no
3627
rm -f conftest.err conftest.$ac_objext \
3628
conftest$ac_exeext conftest.$ac_ext
3629
LIBS=$ac_check_lib_save_LIBS
3631
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostent" >&5
3632
echo "${ECHO_T}$ac_cv_lib_nsl_gethostent" >&6
3633
if test $ac_cv_lib_nsl_gethostent = yes; then
3634
cat >>confdefs.h <<_ACEOF
3635
#define HAVE_LIBNSL 1
3644
echo "$as_me:$LINENO: checking for setsockopt" >&5
3645
echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
3646
if test "${ac_cv_func_setsockopt+set}" = set; then
3647
echo $ECHO_N "(cached) $ECHO_C" >&6
3649
cat >conftest.$ac_ext <<_ACEOF
3652
cat confdefs.h >>conftest.$ac_ext
3653
cat >>conftest.$ac_ext <<_ACEOF
3654
/* end confdefs.h. */
3655
/* Define setsockopt to an innocuous variant, in case <limits.h> declares setsockopt.
3656
For example, HP-UX 11i <limits.h> declares gettimeofday. */
3657
#define setsockopt innocuous_setsockopt
3659
/* System header to define __stub macros and hopefully few prototypes,
3660
which can conflict with char setsockopt (); below.
3661
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3662
<limits.h> exists even on freestanding compilers. */
3665
# include <limits.h>
3667
# include <assert.h>
3672
/* Override any gcc2 internal prototype to avoid an error. */
3677
/* We use char because int might match the return type of a gcc2
3678
builtin and then its argument prototype would still apply. */
3680
/* The GNU C library defines this for functions which it implements
3681
to always fail with ENOSYS. Some functions are actually named
3682
something starting with __ and the normal name is an alias. */
3683
#if defined (__stub_setsockopt) || defined (__stub___setsockopt)
3686
char (*f) () = setsockopt;
3695
return f != setsockopt;
3700
rm -f conftest.$ac_objext conftest$ac_exeext
3701
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3702
(eval $ac_link) 2>conftest.er1
3704
grep -v '^ *+' conftest.er1 >conftest.err
3706
cat conftest.err >&5
3707
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3708
(exit $ac_status); } &&
3709
{ ac_try='test -z "$ac_c_werror_flag"
3710
|| test ! -s conftest.err'
3711
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3714
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3715
(exit $ac_status); }; } &&
3716
{ ac_try='test -s conftest$ac_exeext'
3717
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3720
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3721
(exit $ac_status); }; }; then
3722
ac_cv_func_setsockopt=yes
3724
echo "$as_me: failed program was:" >&5
3725
sed 's/^/| /' conftest.$ac_ext >&5
3727
ac_cv_func_setsockopt=no
3729
rm -f conftest.err conftest.$ac_objext \
3730
conftest$ac_exeext conftest.$ac_ext
3732
echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5
3733
echo "${ECHO_T}$ac_cv_func_setsockopt" >&6
3734
if test $ac_cv_func_setsockopt = yes; then
3738
echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5
3739
echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6
3740
if test "${ac_cv_lib_socket_setsockopt+set}" = set; then
3741
echo $ECHO_N "(cached) $ECHO_C" >&6
3743
ac_check_lib_save_LIBS=$LIBS
3744
LIBS="-lsocket $LIBS"
3745
cat >conftest.$ac_ext <<_ACEOF
3748
cat confdefs.h >>conftest.$ac_ext
3749
cat >>conftest.$ac_ext <<_ACEOF
3750
/* end confdefs.h. */
3752
/* Override any gcc2 internal prototype to avoid an error. */
3756
/* We use char because int might match the return type of a gcc2
3757
builtin and then its argument prototype would still apply. */
3767
rm -f conftest.$ac_objext conftest$ac_exeext
3768
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3769
(eval $ac_link) 2>conftest.er1
3771
grep -v '^ *+' conftest.er1 >conftest.err
3773
cat conftest.err >&5
3774
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3775
(exit $ac_status); } &&
3776
{ ac_try='test -z "$ac_c_werror_flag"
3777
|| test ! -s conftest.err'
3778
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3781
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782
(exit $ac_status); }; } &&
3783
{ ac_try='test -s conftest$ac_exeext'
3784
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3787
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3788
(exit $ac_status); }; }; then
3789
ac_cv_lib_socket_setsockopt=yes
3791
echo "$as_me: failed program was:" >&5
3792
sed 's/^/| /' conftest.$ac_ext >&5
3794
ac_cv_lib_socket_setsockopt=no
3796
rm -f conftest.err conftest.$ac_objext \
3797
conftest$ac_exeext conftest.$ac_ext
3798
LIBS=$ac_check_lib_save_LIBS
3800
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5
3801
echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6
3802
if test $ac_cv_lib_socket_setsockopt = yes; then
3803
cat >>confdefs.h <<_ACEOF
3804
#define HAVE_LIBSOCKET 1
3807
LIBS="-lsocket $LIBS"
1329
3814
echo -n 'checking for /var/run/... '
1330
3815
if test -d /var/run
1338
3823
echo -n 'checking for getopt_long... '
1339
cat > conftest.$ac_ext <<EOF
1340
#line 1341 "configure"
1341
#include "confdefs.h"
3824
cat >conftest.$ac_ext <<_ACEOF
3827
cat confdefs.h >>conftest.$ac_ext
3828
cat >>conftest.$ac_ext <<_ACEOF
3829
/* end confdefs.h. */
1342
3830
#include <stdio.h>
1343
3831
#include <stdlib.h>
1344
3832
#include <unistd.h>
1345
3833
#include <getopt.h>
1347
3837
getopt_long(0,NULL,NULL,NULL,NULL);
1350
if { (eval echo configure:1351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3842
rm -f conftest.$ac_objext
3843
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3844
(eval $ac_compile) 2>conftest.er1
3846
grep -v '^ *+' conftest.er1 >conftest.err
3848
cat conftest.err >&5
3849
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3850
(exit $ac_status); } &&
3851
{ ac_try='test -z "$ac_c_werror_flag"
3852
|| test ! -s conftest.err'
3853
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3856
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857
(exit $ac_status); }; } &&
3858
{ ac_try='test -s conftest.$ac_objext'
3859
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3862
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3863
(exit $ac_status); }; }; then
1352
3864
echo yes; echo \#define HAS_GETOPT_LONG >> config.h
1354
echo "configure: failed program was:" >&5
1355
cat conftest.$ac_ext >&5
1357
echo no - short command line options only
3866
echo "$as_me: failed program was:" >&5
3867
sed 's/^/| /' conftest.$ac_ext >&5
3869
echo no - short command line options only
1362
cat > confcache <<\EOF
3871
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3873
ac_config_files="$ac_config_files Makefile"
3874
cat >confcache <<\_ACEOF
1363
3875
# This file is a shell script that caches the results of configure
1364
3876
# tests run on this system so they can be shared between configure
1365
# scripts and configure runs. It is not useful on other systems.
1366
# If it contains results you don't want to keep, you may remove or edit it.
1368
# By default, configure uses ./config.cache as the cache file,
1369
# creating it if it does not exist already. You can give configure
1370
# the --cache-file=FILE option to use a different cache file; that is
1371
# what configure does when it calls configure scripts in
1372
# subdirectories, so they share the cache.
1373
# Giving --cache-file=/dev/null disables caching, for debugging configure.
1374
# config.status only pays attention to the cache file if you give it the
1375
# --recheck option to rerun configure.
3877
# scripts and configure runs, see configure's option --config-cache.
3878
# It is not useful on other systems. If it contains results you don't
3879
# want to keep, you may remove or edit it.
3881
# config.status only pays attention to the cache file if you give it
3882
# the --recheck option to rerun configure.
3884
# `ac_cv_env_foo' variables (set or unset) will be overridden when
3885
# loading this file, other *unset* `ac_cv_foo' will be assigned the
1378
3890
# The following way of writing the cache mishandles newlines in values,
1379
3891
# but we know of no workaround that is simple, portable, and efficient.
1380
3892
# So, don't put newlines in cache variables' values.
1381
3893
# Ultrix sh set writes to stderr and can't be redirected directly,
1382
3894
# and sets the high bit in the cache file unless we assign to the vars.
1384
case `(ac_space=' '; set | grep ac_space) 2>&1` in
1386
# `set' does not quote correctly, so add quotes (double-quote substitution
1387
# turns \\\\ into \\, and sed turns \\ into \).
1389
-e "s/'/'\\\\''/g" \
1390
-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1393
# `set' quotes correctly as required by POSIX, so do not add quotes.
1394
sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1397
if cmp -s $cache_file confcache; then
3897
case `(ac_space=' '; set | grep ac_space) 2>&1` in
3899
# `set' does not quote correctly, so add quotes (double-quote
3900
# substitution turns \\\\ into \\, and sed turns \\ into \).
3903
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3906
# `set' quotes correctly as required by POSIX, so do not add quotes.
3908
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3915
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3917
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3919
if diff $cache_file confcache >/dev/null 2>&1; then :; else
1400
3920
if test -w $cache_file; then
1401
echo "updating cache $cache_file"
1402
cat confcache > $cache_file
3921
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3922
cat confcache >$cache_file
1404
3924
echo "not updating unwritable cache $cache_file"
1407
3927
rm -f confcache
1409
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1411
3929
test "x$prefix" = xNONE && prefix=$ac_default_prefix
1412
3930
# Let make expand exec_prefix.
1413
3931
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1415
# Any assignment to VPATH causes Sun make to only execute
1416
# the first set of double-colon rules, so remove it if not needed.
1417
# If there is a colon in the path, we need to keep it.
3933
# VPATH may cause trouble with some makes, so we remove $(srcdir),
3934
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3935
# trailing colons and then remove the whole line if VPATH becomes empty
3936
# (actually we leave an empty line to preserve line numbers).
1418
3937
if test "x$srcdir" = x.; then
1419
ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
3938
ac_vpsub='/^[ ]*VPATH[ ]*=/{
3939
s/:*\$(srcdir):*/:/;
3940
s/:*\${srcdir}:*/:/;
3942
s/^\([^=]*=[ ]*\):*/\1/;
1422
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1424
3948
# Transform confdefs.h into DEFS.
1425
3949
# Protect against shell expansion while executing Makefile rules.
1426
3950
# Protect against Makefile macro expansion.
1427
cat > conftest.defs <<\EOF
1428
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1429
s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
1434
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
1438
# Without the "./", some shells look in PATH for config.status.
3952
# If the first sed substitution is executed (which looks for macros that
3953
# take arguments), then we branch to the quote section. Otherwise,
3954
# look for a macro that doesn't take arguments.
3955
cat >confdef2opt.sed <<\_ACEOF
3958
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3960
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3964
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3970
# We use echo to avoid assuming a particular line-breaking character.
3971
# The extra dot is to prevent the shell from consuming trailing
3972
# line-breaks from the sub-command output. A line-break within
3973
# single-quotes doesn't work because, if this script is created in a
3974
# platform that uses two characters for line-breaks (e.g., DOS), tr
3976
ac_LF_and_DOT=`echo; echo .`
3977
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3978
rm -f confdef2opt.sed
3983
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3984
# 1. Remove the extension, and $U if already installed.
3985
ac_i=`echo "$ac_i" |
3986
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3988
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3989
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3993
LTLIBOBJS=$ac_ltlibobjs
1439
3997
: ${CONFIG_STATUS=./config.status}
1441
echo creating $CONFIG_STATUS
1442
rm -f $CONFIG_STATUS
1443
cat > $CONFIG_STATUS <<EOF
1445
# Generated automatically by configure.
3998
ac_clean_files_save=$ac_clean_files
3999
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4000
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4001
echo "$as_me: creating $CONFIG_STATUS" >&6;}
4002
cat >$CONFIG_STATUS <<_ACEOF
4004
# Generated by $as_me.
1446
4005
# Run this file to recreate the current configuration.
1447
# This directory was configured as follows,
1448
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1450
# $0 $ac_configure_args
1452
4006
# Compiler output produced by configure, useful for debugging
1453
# configure, is in ./config.log if it exists.
1455
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1458
case "\$ac_option" in
4007
# configure, is in config.log if it exists.
4012
SHELL=\${CONFIG_SHELL-$SHELL}
4015
cat >>$CONFIG_STATUS <<\_ACEOF
4016
## --------------------- ##
4017
## M4sh Initialization. ##
4018
## --------------------- ##
4020
# Be Bourne compatible
4021
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4024
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4025
# is contrary to our usage. Disable this feature.
4026
alias -g '${1+"$@"}'='"$@"'
4027
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4030
DUALCASE=1; export DUALCASE # for MKS sh
4032
# Support unset when possible.
4033
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4040
# Work around bugs in pre-3.0 UWIN ksh.
4041
$as_unset ENV MAIL MAILPATH
4048
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4049
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4050
LC_TELEPHONE LC_TIME
4052
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4053
eval $as_var=C; export $as_var
4059
# Required to use basename.
4060
if expr a : '\(a\)' >/dev/null 2>&1; then
4066
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4067
as_basename=basename
4073
# Name of the executable.
4074
as_me=`$as_basename "$0" ||
4075
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4076
X"$0" : 'X\(//\)$' \| \
4077
X"$0" : 'X\(/\)$' \| \
4078
. : '\(.\)' 2>/dev/null ||
4080
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4081
/^X\/\(\/\/\)$/{ s//\1/; q; }
4082
/^X\/\(\/\).*/{ s//\1/; q; }
4086
# PATH needs CR, and LINENO needs CR and PATH.
4087
# Avoid depending upon Character Ranges.
4088
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4089
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4090
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4091
as_cr_digits='0123456789'
4092
as_cr_alnum=$as_cr_Letters$as_cr_digits
4094
# The user is always right.
4095
if test "${PATH_SEPARATOR+set}" != set; then
4096
echo "#! /bin/sh" >conf$$.sh
4097
echo "exit 0" >>conf$$.sh
4099
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4110
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4111
test "x$as_lineno_1" != "x$as_lineno_2" &&
4112
test "x$as_lineno_3" = "x$as_lineno_2" || {
4113
# Find who we are. Look in the path if we contain no path at all
4116
*[\\/]* ) as_myself=$0 ;;
4117
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4121
test -z "$as_dir" && as_dir=.
4122
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4127
# We did not find ourselves, most probably we were run as `sh COMMAND'
4128
# in which case we are not to be found in the path.
4129
if test "x$as_myself" = x; then
4132
if test ! -f "$as_myself"; then
4133
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4134
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4135
{ (exit 1); exit 1; }; }
4137
case $CONFIG_SHELL in
4139
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4140
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4143
test -z "$as_dir" && as_dir=.
4144
for as_base in sh bash ksh sh5; do
4147
if ("$as_dir/$as_base" -c '
4150
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4151
test "x$as_lineno_1" != "x$as_lineno_2" &&
4152
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4153
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4154
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4155
CONFIG_SHELL=$as_dir/$as_base
4157
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4165
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4166
# uniformly replaced by the line number. The first 'sed' inserts a
4167
# line-number line before each line; the second 'sed' does the real
4168
# work. The second script uses 'N' to pair each line-number line
4169
# with the numbered line, and appends trailing '-' during
4170
# substitution so that $LINENO is not a special case at line end.
4171
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4172
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4173
sed '=' <$as_myself |
4178
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4181
s,^['$as_cr_digits']*\n,,
4183
chmod +x $as_me.lineno ||
4184
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4185
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4186
{ (exit 1); exit 1; }; }
4188
# Don't try to exec as it changes $[0], causing all sort of problems
4189
# (the dirname of $[0] is not the place where we might find the
4190
# original and so on. Autoconf is especially sensible to this).
4192
# Exit status is that of the last command.
4197
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4198
*c*,-n*) ECHO_N= ECHO_C='
4200
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4201
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4204
if expr a : '\(a\)' >/dev/null 2>&1; then
4210
rm -f conf$$ conf$$.exe conf$$.file
4212
if ln -s conf$$.file conf$$ 2>/dev/null; then
4213
# We could just check for DJGPP; but this test a) works b) is more generic
4214
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4215
if test -f conf$$.exe; then
4216
# Don't use ln at all; we don't have any links
4221
elif ln conf$$.file conf$$ 2>/dev/null; then
4226
rm -f conf$$ conf$$.exe conf$$.file
4228
if mkdir -p . 2>/dev/null; then
4231
test -d ./-p && rmdir ./-p
4235
as_executable_p="test -f"
4237
# Sed expression to map a string onto a valid CPP name.
4238
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4240
# Sed expression to map a string onto a valid variable name.
4241
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4245
# We need space, tab and new line, in precisely that order.
4255
# Open the log real soon, to keep \$[0] and so on meaningful, and to
4256
# report actual input values of CONFIG_FILES etc. instead of their
4257
# values after options handling. Logging --version etc. is OK.
4261
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4262
## Running $as_me. ##
4267
This file was extended by $as_me, which was
4268
generated by GNU Autoconf 2.59. Invocation command line was
4270
CONFIG_FILES = $CONFIG_FILES
4271
CONFIG_HEADERS = $CONFIG_HEADERS
4272
CONFIG_LINKS = $CONFIG_LINKS
4273
CONFIG_COMMANDS = $CONFIG_COMMANDS
4277
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4281
# Files that config.status was made for.
4282
if test -n "$ac_config_files"; then
4283
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4286
if test -n "$ac_config_headers"; then
4287
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4290
if test -n "$ac_config_links"; then
4291
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4294
if test -n "$ac_config_commands"; then
4295
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4298
cat >>$CONFIG_STATUS <<\_ACEOF
4301
\`$as_me' instantiates files from templates according to the
4302
current configuration.
4304
Usage: $0 [OPTIONS] [FILE]...
4306
-h, --help print this help, then exit
4307
-V, --version print version number, then exit
4308
-q, --quiet do not print progress messages
4309
-d, --debug don't remove temporary files
4310
--recheck update $as_me by reconfiguring in the same conditions
4311
--file=FILE[:TEMPLATE]
4312
instantiate the configuration file FILE
4314
Configuration files:
4317
Report bugs to <bug-autoconf@gnu.org>."
4320
cat >>$CONFIG_STATUS <<_ACEOF
4323
configured by $0, generated by GNU Autoconf 2.59,
4324
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4326
Copyright (C) 2003 Free Software Foundation, Inc.
4327
This config.status script is free software; the Free Software Foundation
4328
gives unlimited permission to copy, distribute and modify it."
4333
cat >>$CONFIG_STATUS <<\_ACEOF
4334
# If no file are specified by the user, then we need to provide default
4335
# value. By we need to know if files were specified by the user.
4341
ac_option=`expr "x$1" : 'x\([^=]*\)='`
4342
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4350
*) # This is not an option, so the user has probably given explicit
4353
ac_need_defaults=false;;
4357
# Handling of the options.
4359
cat >>$CONFIG_STATUS <<\_ACEOF
1459
4360
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1460
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1461
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1462
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1463
echo "$CONFIG_STATUS generated by autoconf version 2.13"
1465
-help | --help | --hel | --he | --h)
1466
echo "\$ac_cs_usage"; exit 0 ;;
1467
*) echo "\$ac_cs_usage"; exit 1 ;;
1471
ac_given_srcdir=$srcdir
1472
ac_given_INSTALL="$INSTALL"
1474
trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1476
cat >> $CONFIG_STATUS <<EOF
1478
# Protect against being on the right side of a sed subst in config.status.
1479
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1480
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1484
s%@CFLAGS@%$CFLAGS%g
1485
s%@CPPFLAGS@%$CPPFLAGS%g
1486
s%@CXXFLAGS@%$CXXFLAGS%g
1487
s%@FFLAGS@%$FFLAGS%g
1489
s%@LDFLAGS@%$LDFLAGS%g
1491
s%@exec_prefix@%$exec_prefix%g
1492
s%@prefix@%$prefix%g
1493
s%@program_transform_name@%$program_transform_name%g
1494
s%@bindir@%$bindir%g
1495
s%@sbindir@%$sbindir%g
1496
s%@libexecdir@%$libexecdir%g
1497
s%@datadir@%$datadir%g
1498
s%@sysconfdir@%$sysconfdir%g
1499
s%@sharedstatedir@%$sharedstatedir%g
1500
s%@localstatedir@%$localstatedir%g
1501
s%@libdir@%$libdir%g
1502
s%@includedir@%$includedir%g
1503
s%@oldincludedir@%$oldincludedir%g
1504
s%@infodir@%$infodir%g
1505
s%@mandir@%$mandir%g
1506
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1507
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
1508
s%@INSTALL_DATA@%$INSTALL_DATA%g
4362
--version | --vers* | -V )
4363
echo "$ac_cs_version"; exit 0 ;;
4365
# Conflict between --help and --header
4366
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
4367
Try \`$0 --help' for more information." >&5
4368
echo "$as_me: error: ambiguous option: $1
4369
Try \`$0 --help' for more information." >&2;}
4370
{ (exit 1); exit 1; }; };;
4371
--help | --hel | -h )
4372
echo "$ac_cs_usage"; exit 0 ;;
4373
--debug | --d* | -d )
4375
--file | --fil | --fi | --f )
4377
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4378
ac_need_defaults=false;;
4379
--header | --heade | --head | --hea )
4381
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4382
ac_need_defaults=false;;
4383
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
4384
| -silent | --silent | --silen | --sile | --sil | --si | --s)
4388
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4389
Try \`$0 --help' for more information." >&5
4390
echo "$as_me: error: unrecognized option: $1
4391
Try \`$0 --help' for more information." >&2;}
4392
{ (exit 1); exit 1; }; } ;;
4394
*) ac_config_targets="$ac_config_targets $1" ;;
4400
ac_configure_extra_args=
4402
if $ac_cs_silent; then
4404
ac_configure_extra_args="$ac_configure_extra_args --silent"
4408
cat >>$CONFIG_STATUS <<_ACEOF
4409
if \$ac_cs_recheck; then
4410
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4411
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4420
cat >>$CONFIG_STATUS <<\_ACEOF
4421
for ac_config_target in $ac_config_targets
4423
case "$ac_config_target" in
4424
# Handling of arguments.
4425
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4426
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4427
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4428
{ (exit 1); exit 1; }; };;
4432
# If the user did not use the arguments to specify the items to instantiate,
4433
# then the envvar interface is used. Set only those that are not.
4434
# We use the long form for the default assignment because of an extremely
4435
# bizarre bug on SunOS 4.1.3.
4436
if $ac_need_defaults; then
4437
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4440
# Have a temporary directory for convenience. Make it in the build tree
4441
# simply because there is no reason to put it here, and in addition,
4442
# creating and moving files from /tmp can sometimes cause problems.
4443
# Create a temporary directory, and hook for its removal unless debugging.
4446
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4447
trap '{ (exit 1); exit 1; }' 1 2 13 15
4450
# Create a (secure) tmp directory for tmp files.
4453
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4454
test -n "$tmp" && test -d "$tmp"
4457
tmp=./confstat$$-$RANDOM
4458
(umask 077 && mkdir $tmp)
4461
echo "$me: cannot create a temporary directory in ." >&2
4462
{ (exit 1); exit 1; }
4467
cat >>$CONFIG_STATUS <<_ACEOF
4470
# CONFIG_FILES section.
4473
# No need to generate the scripts if there are no CONFIG_FILES.
4474
# This happens for instance when ./config.status config.h
4475
if test -n "\$CONFIG_FILES"; then
4476
# Protect against being on the right side of a sed subst in config.status.
4477
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4478
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4479
s,@SHELL@,$SHELL,;t t
4480
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4481
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4482
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4483
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4484
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4485
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4486
s,@exec_prefix@,$exec_prefix,;t t
4487
s,@prefix@,$prefix,;t t
4488
s,@program_transform_name@,$program_transform_name,;t t
4489
s,@bindir@,$bindir,;t t
4490
s,@sbindir@,$sbindir,;t t
4491
s,@libexecdir@,$libexecdir,;t t
4492
s,@datadir@,$datadir,;t t
4493
s,@sysconfdir@,$sysconfdir,;t t
4494
s,@sharedstatedir@,$sharedstatedir,;t t
4495
s,@localstatedir@,$localstatedir,;t t
4496
s,@libdir@,$libdir,;t t
4497
s,@includedir@,$includedir,;t t
4498
s,@oldincludedir@,$oldincludedir,;t t
4499
s,@infodir@,$infodir,;t t
4500
s,@mandir@,$mandir,;t t
4501
s,@build_alias@,$build_alias,;t t
4502
s,@host_alias@,$host_alias,;t t
4503
s,@target_alias@,$target_alias,;t t
4505
s,@ECHO_C@,$ECHO_C,;t t
4506
s,@ECHO_N@,$ECHO_N,;t t
4507
s,@ECHO_T@,$ECHO_T,;t t
4510
s,@CFLAGS@,$CFLAGS,;t t
4511
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4512
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4513
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4515
s,@LDFLAGS@,$LDFLAGS,;t t
4516
s,@CPPFLAGS@,$CPPFLAGS,;t t
4517
s,@ac_ct_CC@,$ac_ct_CC,;t t
4518
s,@EXEEXT@,$EXEEXT,;t t
4519
s,@OBJEXT@,$OBJEXT,;t t
4521
s,@EGREP@,$EGREP,;t t
4522
s,@LIBOBJS@,$LIBOBJS,;t t
4523
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1515
cat >> $CONFIG_STATUS <<\EOF
1517
# Split the substitutions into bite-sized pieces for seds with
1518
# small command number limits, like on Digital OSF/1 and HP-UX.
1519
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1520
ac_file=1 # Number of current file.
1521
ac_beg=1 # First line for current file.
1522
ac_end=$ac_max_sed_cmds # Line after last line for current file.
1525
while $ac_more_lines; do
1526
if test $ac_beg -gt 1; then
1527
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1529
sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1531
if test ! -s conftest.s$ac_file; then
1533
rm -f conftest.s$ac_file
1535
if test -z "$ac_sed_cmds"; then
1536
ac_sed_cmds="sed -f conftest.s$ac_file"
1538
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1540
ac_file=`expr $ac_file + 1`
1542
ac_end=`expr $ac_end + $ac_max_sed_cmds`
1545
if test -z "$ac_sed_cmds"; then
1550
cat >> $CONFIG_STATUS <<EOF
1552
CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
1554
cat >> $CONFIG_STATUS <<\EOF
1555
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
4528
cat >>$CONFIG_STATUS <<\_ACEOF
4529
# Split the substitutions into bite-sized pieces for seds with
4530
# small command number limits, like on Digital OSF/1 and HP-UX.
4532
ac_sed_frag=1 # Number of current file.
4533
ac_beg=1 # First line for current file.
4534
ac_end=$ac_max_sed_lines # Line after last line for current file.
4537
while $ac_more_lines; do
4538
if test $ac_beg -gt 1; then
4539
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4541
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4543
if test ! -s $tmp/subs.frag; then
4546
# The purpose of the label and of the branching condition is to
4547
# speed up the sed processing (if there are no `@' at all, there
4548
# is no need to browse any of the substitutions).
4549
# These are the two extra sed commands mentioned above.
4551
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4552
if test -z "$ac_sed_cmds"; then
4553
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4555
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4557
ac_sed_frag=`expr $ac_sed_frag + 1`
4559
ac_end=`expr $ac_end + $ac_max_sed_lines`
4562
if test -z "$ac_sed_cmds"; then
4565
fi # test -n "$CONFIG_FILES"
4568
cat >>$CONFIG_STATUS <<\_ACEOF
4569
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
1556
4570
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1558
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1559
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1560
*) ac_file_in="${ac_file}.in" ;;
4572
- | *:- | *:-:* ) # input from stdin
4574
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4575
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4576
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4577
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4578
* ) ac_file_in=$ac_file.in ;;
1563
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1565
# Remove last slash and all that follows it. Not all systems have dirname.
1566
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1567
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1568
# The file is in a subdirectory.
1569
test ! -d "$ac_dir" && mkdir "$ac_dir"
1570
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1571
# A "../" for each directory in $ac_dir_suffix.
1572
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
4581
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4582
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4583
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4584
X"$ac_file" : 'X\(//\)[^/]' \| \
4585
X"$ac_file" : 'X\(//\)$' \| \
4586
X"$ac_file" : 'X\(/\)' \| \
4587
. : '\(.\)' 2>/dev/null ||
4589
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4590
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4591
/^X\(\/\/\)$/{ s//\1/; q; }
4592
/^X\(\/\).*/{ s//\1/; q; }
4594
{ if $as_mkdir_p; then
1574
ac_dir_suffix= ac_dots=
1577
case "$ac_given_srcdir" in
1579
if test -z "$ac_dots"; then top_srcdir=.
1580
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1581
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
4599
while test ! -d "$as_dir"; do
4600
as_dirs="$as_dir $as_dirs"
4601
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4602
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4603
X"$as_dir" : 'X\(//\)[^/]' \| \
4604
X"$as_dir" : 'X\(//\)$' \| \
4605
X"$as_dir" : 'X\(/\)' \| \
4606
. : '\(.\)' 2>/dev/null ||
4608
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4609
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4610
/^X\(\/\/\)$/{ s//\1/; q; }
4611
/^X\(\/\).*/{ s//\1/; q; }
4614
test ! -n "$as_dirs" || mkdir $as_dirs
4615
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4616
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4617
{ (exit 1); exit 1; }; }; }
4621
if test "$ac_dir" != .; then
4622
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4623
# A "../" for each directory in $ac_dir_suffix.
4624
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4626
ac_dir_suffix= ac_top_builddir=
4630
.) # No --srcdir option. We are building in place.
4632
if test -z "$ac_top_builddir"; then
4635
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4637
[\\/]* | ?:[\\/]* ) # Absolute path.
4638
ac_srcdir=$srcdir$ac_dir_suffix;
4639
ac_top_srcdir=$srcdir ;;
1582
4640
*) # Relative path.
1583
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1584
top_srcdir="$ac_dots$ac_given_srcdir" ;;
1587
case "$ac_given_INSTALL" in
1588
[/$]*) INSTALL="$ac_given_INSTALL" ;;
1589
*) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1592
echo creating "$ac_file"
1594
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1596
*Makefile*) ac_comsub="1i\\
1597
# $configure_input" ;;
1601
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1603
s%@configure_input@%$configure_input%g
1604
s%@srcdir@%$srcdir%g
1605
s%@top_srcdir@%$top_srcdir%g
1606
s%@INSTALL@%$INSTALL%g
1607
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1612
cat >> $CONFIG_STATUS <<EOF
1615
cat >> $CONFIG_STATUS <<\EOF
4641
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4642
ac_top_srcdir=$ac_top_builddir$srcdir ;;
4645
# Do not use `cd foo && pwd` to compute absolute paths, because
4646
# the directories may not exist.
4648
.) ac_abs_builddir="$ac_dir";;
4651
.) ac_abs_builddir=`pwd`;;
4652
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4653
*) ac_abs_builddir=`pwd`/"$ac_dir";;
4656
case $ac_abs_builddir in
4657
.) ac_abs_top_builddir=${ac_top_builddir}.;;
4659
case ${ac_top_builddir}. in
4660
.) ac_abs_top_builddir=$ac_abs_builddir;;
4661
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4662
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4665
case $ac_abs_builddir in
4666
.) ac_abs_srcdir=$ac_srcdir;;
4669
.) ac_abs_srcdir=$ac_abs_builddir;;
4670
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4671
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4674
case $ac_abs_builddir in
4675
.) ac_abs_top_srcdir=$ac_top_srcdir;;
4677
case $ac_top_srcdir in
4678
.) ac_abs_top_srcdir=$ac_abs_builddir;;
4679
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4680
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4686
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4687
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4690
if test x"$ac_file" != x-; then
4691
{ echo "$as_me:$LINENO: creating $ac_file" >&5
4692
echo "$as_me: creating $ac_file" >&6;}
4695
# Let's still pretend it is `configure' which instantiates (i.e., don't
4696
# use $as_me), people would be surprised to read:
4697
# /* config.h. Generated by config.status. */
4698
if test x"$ac_file" = x-; then
4701
configure_input="$ac_file. "
4703
configure_input=$configure_input"Generated from `echo $ac_file_in |
4704
sed 's,.*/,,'` by configure."
4706
# First look for the input files in the build tree, otherwise in the
4708
ac_file_inputs=`IFS=:
4709
for f in $ac_file_in; do
4711
-) echo $tmp/stdin ;;
4713
# Absolute (can't be DOS-style, as IFS=:)
4714
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4715
echo "$as_me: error: cannot find input file: $f" >&2;}
4716
{ (exit 1); exit 1; }; }
4719
if test -f "$f"; then
4722
elif test -f "$srcdir/$f"; then
4727
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4728
echo "$as_me: error: cannot find input file: $f" >&2;}
4729
{ (exit 1); exit 1; }; }
4732
done` || { (exit 1); exit 1; }
4734
cat >>$CONFIG_STATUS <<_ACEOF
4738
cat >>$CONFIG_STATUS <<\_ACEOF
4740
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4741
s,@configure_input@,$configure_input,;t t
4742
s,@srcdir@,$ac_srcdir,;t t
4743
s,@abs_srcdir@,$ac_abs_srcdir,;t t
4744
s,@top_srcdir@,$ac_top_srcdir,;t t
4745
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4746
s,@builddir@,$ac_builddir,;t t
4747
s,@abs_builddir@,$ac_abs_builddir,;t t
4748
s,@top_builddir@,$ac_top_builddir,;t t
4749
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4750
s,@INSTALL@,$ac_INSTALL,;t t
4751
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4753
if test x"$ac_file" != x-; then
4754
mv $tmp/out $ac_file
4763
cat >>$CONFIG_STATUS <<\_ACEOF
4765
{ (exit 0); exit 0; }
1619
4767
chmod +x $CONFIG_STATUS
1620
rm -fr confdefs* $ac_clean_files
1621
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
4768
ac_clean_files=$ac_clean_files_save
4771
# configure is writing to config.log, and then calls config.status.
4772
# config.status does its own redirection, appending to config.log.
4773
# Unfortunately, on DOS this fails, as config.log is still kept open
4774
# by configure, so config.status won't be able to write to it; its
4775
# output is simply discarded. So we exec the FD to /dev/null,
4776
# effectively closing config.log, so it can be properly (re)opened and
4777
# appended to by config.status. When coming back to configure, we
4778
# need to make the FD available again.
4779
if test "$no_create" != yes; then
4781
ac_config_status_args=
4782
test "$silent" = yes &&
4783
ac_config_status_args="$ac_config_status_args --quiet"
4785
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4787
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
4788
# would make configure fail if this is the last instruction.
4789
$ac_cs_success || { (exit 1); exit 1; }