728
485
if test ! -r $srcdir/$ac_unique_file; then
729
486
if test "$ac_srcdir_defaulted" = yes; then
730
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731
{ (exit 1); exit 1; }; }
487
{ echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
733
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734
{ (exit 1); exit 1; }; }
489
{ echo "configure: error: can not find sources in $srcdir" 1>&2; exit 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
841
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
842
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
843
--with-debug produce debug info (default no)
844
--with-https https support (default no)
845
--with-ntlm NTLM authorization support (default no)
846
--with-aso Amiga Style Outbound (ASO) support (default no)
848
Some influential environment variables:
849
CC C compiler command
850
CFLAGS C compiler flags
851
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
852
nonstandard directory <lib dir>
853
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
854
headers in a nonstandard directory <include dir>
857
Use these variables to override the choices made by `configure' or to help
858
it to find libraries and programs with nonstandard names/locations.
863
if test "$ac_init_help" = "recursive"; then
864
# If there are subdirs, report their specific --help.
866
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
867
test -d $ac_dir || continue
870
if test "$ac_dir" != .; then
871
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
872
# A "../" for each directory in $ac_dir_suffix.
873
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
875
ac_dir_suffix= ac_top_builddir=
879
.) # No --srcdir option. We are building in place.
881
if test -z "$ac_top_builddir"; then
884
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
886
[\\/]* | ?:[\\/]* ) # Absolute path.
887
ac_srcdir=$srcdir$ac_dir_suffix;
888
ac_top_srcdir=$srcdir ;;
890
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
891
ac_top_srcdir=$ac_top_builddir$srcdir ;;
894
# Do not use `cd foo && pwd` to compute absolute paths, because
895
# the directories may not exist.
897
.) ac_abs_builddir="$ac_dir";;
900
.) ac_abs_builddir=`pwd`;;
901
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
902
*) ac_abs_builddir=`pwd`/"$ac_dir";;
905
case $ac_abs_builddir in
906
.) ac_abs_top_builddir=${ac_top_builddir}.;;
908
case ${ac_top_builddir}. in
909
.) ac_abs_top_builddir=$ac_abs_builddir;;
910
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
911
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
914
case $ac_abs_builddir in
915
.) ac_abs_srcdir=$ac_srcdir;;
918
.) ac_abs_srcdir=$ac_abs_builddir;;
919
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
920
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
923
case $ac_abs_builddir in
924
.) ac_abs_top_srcdir=$ac_top_srcdir;;
926
case $ac_top_srcdir in
927
.) ac_abs_top_srcdir=$ac_abs_builddir;;
928
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
929
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
934
# Check for guested configure; otherwise get Cygnus style configure.
935
if test -f $ac_srcdir/configure.gnu; then
937
$SHELL $ac_srcdir/configure.gnu --help=recursive
938
elif test -f $ac_srcdir/configure; then
940
$SHELL $ac_srcdir/configure --help=recursive
941
elif test -f $ac_srcdir/configure.ac ||
942
test -f $ac_srcdir/configure.in; then
946
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
952
test -n "$ac_init_help" && exit 0
953
if $ac_init_version; then
956
Copyright (C) 2003 Free Software Foundation, Inc.
957
This configure script is free software; the Free Software Foundation
958
gives unlimited permission to copy, distribute and modify it.
964
This file contains any messages produced by compilers while
965
running configure, to aid debugging if configure makes a mistake.
967
It was created by $as_me, which was
968
generated by GNU Autoconf 2.59. Invocation command line was
979
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
980
uname -m = `(uname -m) 2>/dev/null || echo unknown`
981
uname -r = `(uname -r) 2>/dev/null || echo unknown`
982
uname -s = `(uname -s) 2>/dev/null || echo unknown`
983
uname -v = `(uname -v) 2>/dev/null || echo unknown`
985
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
986
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
988
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
989
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
990
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
991
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
992
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
993
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
994
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
998
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1002
test -z "$as_dir" && as_dir=.
1003
echo "PATH: $as_dir"
1018
# Keep a trace of the command line.
1019
# Strip out --no-create and --no-recursion so they do not pile up.
1020
# Strip out --silent because we don't want to record it for future runs.
1021
# Also quote any args containing shell meta-characters.
1022
# Make two passes to allow for proper duplicate-argument suppression.
1027
ac_must_keep_next=false
1033
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1034
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1035
| -silent | --silent | --silen | --sile | --sil)
1037
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1038
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1041
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1043
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1044
if test $ac_must_keep_next = true; then
1045
ac_must_keep_next=false # Got value, back to normal.
1048
*=* | --config-cache | -C | -disable-* | --disable-* \
1049
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1050
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1051
| -with-* | --with-* | -without-* | --without-* | --x)
1052
case "$ac_configure_args0 " in
1053
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1056
-* ) ac_must_keep_next=true ;;
1059
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1060
# Get rid of the leading space.
1066
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1067
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1069
# When interrupted or exit'd, cleanup temporary files, and complete
1070
# config.log. We remove comments because anyway the quotes in there
1071
# would cause problems or look ugly.
1072
# WARNING: Be sure not to use single quotes in there, as some shells,
1073
# such as our DU 5.0 friend, will then `close' the trap.
1074
trap 'exit_status=$?
1075
# Save into config.log some information that might help in debugging.
1080
## ---------------- ##
1081
## Cache variables. ##
1082
## ---------------- ##
1085
# The following way of writing the cache mishandles newlines in values,
1088
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1091
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1092
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1096
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1103
## ----------------- ##
1104
## Output variables. ##
1105
## ----------------- ##
1108
for ac_var in $ac_subst_vars
1110
eval ac_val=$`echo $ac_var`
1111
echo "$ac_var='"'"'$ac_val'"'"'"
1115
if test -n "$ac_subst_files"; then
1122
for ac_var in $ac_subst_files
1124
eval ac_val=$`echo $ac_var`
1125
echo "$ac_var='"'"'$ac_val'"'"'"
1130
if test -s confdefs.h; then
1137
sed "/^$/d" confdefs.h | sort
1140
test "$ac_signal" != 0 &&
1141
echo "$as_me: caught signal $ac_signal"
1142
echo "$as_me: exit $exit_status"
1144
rm -f core *.core &&
1145
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1148
for ac_signal in 1 2 13 15; do
1149
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1153
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1154
rm -rf conftest* confdefs.h
1155
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1158
# Predefined preprocessor variables.
1160
cat >>confdefs.h <<_ACEOF
1161
#define PACKAGE_NAME "$PACKAGE_NAME"
1165
cat >>confdefs.h <<_ACEOF
1166
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1170
cat >>confdefs.h <<_ACEOF
1171
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1175
cat >>confdefs.h <<_ACEOF
1176
#define PACKAGE_STRING "$PACKAGE_STRING"
1180
cat >>confdefs.h <<_ACEOF
1181
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1185
# Let the site file select an alternate cache file if it wants to.
492
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
1186
494
# Prefer explicitly selected file to automatically selected ones.
1187
if test -z "$CONFIG_SITE"; then
1188
if test "x$prefix" != xNONE; then
1189
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1191
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
495
if test -z "$sitefile"; then
496
if test -z "$CONFIG_SITE"; then
497
if test "x$prefix" != xNONE; then
498
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
500
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
504
CONFIG_SITE="$sitefile"
1194
506
for ac_site_file in $CONFIG_SITE; do
1195
507
if test -r "$ac_site_file"; then
1196
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1197
echo "$as_me: loading site script $ac_site_file" >&6;}
1198
sed 's/^/| /' "$ac_site_file" >&5
508
echo "loading site script $ac_site_file"
1199
509
. "$ac_site_file"
1203
513
if test -r "$cache_file"; then
1204
# Some versions of bash will fail to source /dev/null (special
1205
# files actually), so we avoid doing that.
1206
if test -f "$cache_file"; then
1207
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1208
echo "$as_me: loading cache $cache_file" >&6;}
1210
[\\/]* | ?:[\\/]* ) . $cache_file;;
1211
*) . ./$cache_file;;
514
echo "loading cache $cache_file"
1215
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1216
echo "$as_me: creating cache $cache_file" >&6;}
1220
# Check that the precious variables saved in the cache have kept the same
1222
ac_cache_corrupted=false
1223
for ac_var in `(set) 2>&1 |
1224
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1225
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1226
eval ac_new_set=\$ac_env_${ac_var}_set
1227
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1228
eval ac_new_val="\$ac_env_${ac_var}_value"
1229
case $ac_old_set,$ac_new_set in
1231
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1232
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1233
ac_cache_corrupted=: ;;
1235
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1236
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1237
ac_cache_corrupted=: ;;
1240
if test "x$ac_old_val" != "x$ac_new_val"; then
1241
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1242
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1243
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1244
echo "$as_me: former value: $ac_old_val" >&2;}
1245
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1246
echo "$as_me: current value: $ac_new_val" >&2;}
1247
ac_cache_corrupted=:
1250
# Pass precious variables to config.status.
1251
if test "$ac_new_set" = set; then
1253
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1254
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1255
*) ac_arg=$ac_var=$ac_new_val ;;
1257
case " $ac_configure_args " in
1258
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1259
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1263
if $ac_cache_corrupted; then
1264
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1265
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1266
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1267
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1268
{ (exit 1); exit 1; }; }
517
echo "creating cache $cache_file"
522
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1272
523
ac_cpp='$CPP $CPPFLAGS'
1273
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1274
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1275
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1296
for ac_prog in gawk mawk nawk awk
524
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
525
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
526
cross_compiling=$ac_cv_prog_cc_cross
530
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
531
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
532
if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
539
ac_n= ac_c='\c' ac_t=
544
for ac_prog in mawk gawk nawk awk
1298
# Extract the first word of "$ac_prog", so it can be a program name with args.
546
# Extract the first word of "$ac_prog", so it can be a program name with args.
1299
547
set dummy $ac_prog; ac_word=$2
1300
echo "$as_me:$LINENO: checking for $ac_word" >&5
1301
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1302
if test "${ac_cv_prog_AWK+set}" = set; then
1303
echo $ECHO_N "(cached) $ECHO_C" >&6
548
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
549
echo "configure:550: checking for $ac_word" >&5
550
if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
551
echo $ac_n "(cached) $ac_c" 1>&6
1305
553
if test -n "$AWK"; then
1306
554
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1308
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1312
test -z "$as_dir" && as_dir=.
1313
for ac_exec_ext in '' $ac_executable_extensions; do
1314
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1315
ac_cv_prog_AWK="$ac_prog"
1316
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
556
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
558
for ac_dir in $ac_dummy; do
559
test -z "$ac_dir" && ac_dir=.
560
if test -f $ac_dir/$ac_word; then
561
ac_cv_prog_AWK="$ac_prog"
568
AWK="$ac_cv_prog_AWK"
1325
569
if test -n "$AWK"; then
1326
echo "$as_me:$LINENO: result: $AWK" >&5
1327
echo "${ECHO_T}$AWK" >&6
1329
echo "$as_me:$LINENO: result: no" >&5
1330
echo "${ECHO_T}no" >&6
1333
test -n "$AWK" && break
1337
ac_cpp='$CPP $CPPFLAGS'
1338
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1339
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1340
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1341
if test -n "$ac_tool_prefix"; then
1342
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1343
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1344
echo "$as_me:$LINENO: checking for $ac_word" >&5
1345
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1346
if test "${ac_cv_prog_CC+set}" = set; then
1347
echo $ECHO_N "(cached) $ECHO_C" >&6
1349
if test -n "$CC"; then
1350
ac_cv_prog_CC="$CC" # Let the user override the test.
1352
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1356
test -z "$as_dir" && as_dir=.
1357
for ac_exec_ext in '' $ac_executable_extensions; do
1358
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1359
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1360
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1369
if test -n "$CC"; then
1370
echo "$as_me:$LINENO: result: $CC" >&5
1371
echo "${ECHO_T}$CC" >&6
1373
echo "$as_me:$LINENO: result: no" >&5
1374
echo "${ECHO_T}no" >&6
1378
if test -z "$ac_cv_prog_CC"; then
1380
# Extract the first word of "gcc", so it can be a program name with args.
570
echo "$ac_t""$AWK" 1>&6
572
echo "$ac_t""no" 1>&6
575
test -n "$AWK" && break
578
# Extract the first word of "gcc", so it can be a program name with args.
1381
579
set dummy gcc; ac_word=$2
1382
echo "$as_me:$LINENO: checking for $ac_word" >&5
1383
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1384
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1385
echo $ECHO_N "(cached) $ECHO_C" >&6
1387
if test -n "$ac_ct_CC"; then
1388
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1390
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1394
test -z "$as_dir" && as_dir=.
1395
for ac_exec_ext in '' $ac_executable_extensions; do
1396
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1397
ac_cv_prog_ac_ct_CC="gcc"
1398
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1406
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1407
if test -n "$ac_ct_CC"; then
1408
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1409
echo "${ECHO_T}$ac_ct_CC" >&6
1411
echo "$as_me:$LINENO: result: no" >&5
1412
echo "${ECHO_T}no" >&6
1420
if test -z "$CC"; then
1421
if test -n "$ac_tool_prefix"; then
1422
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1423
set dummy ${ac_tool_prefix}cc; ac_word=$2
1424
echo "$as_me:$LINENO: checking for $ac_word" >&5
1425
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1426
if test "${ac_cv_prog_CC+set}" = set; then
1427
echo $ECHO_N "(cached) $ECHO_C" >&6
580
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
581
echo "configure:582: checking for $ac_word" >&5
582
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
583
echo $ac_n "(cached) $ac_c" 1>&6
1429
585
if test -n "$CC"; then
1430
586
ac_cv_prog_CC="$CC" # Let the user override the test.
1432
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1436
test -z "$as_dir" && as_dir=.
1437
for ac_exec_ext in '' $ac_executable_extensions; do
1438
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1439
ac_cv_prog_CC="${ac_tool_prefix}cc"
1440
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
588
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
590
for ac_dir in $ac_dummy; do
591
test -z "$ac_dir" && ac_dir=.
592
if test -f $ac_dir/$ac_word; then
1449
601
if test -n "$CC"; then
1450
echo "$as_me:$LINENO: result: $CC" >&5
1451
echo "${ECHO_T}$CC" >&6
1453
echo "$as_me:$LINENO: result: no" >&5
1454
echo "${ECHO_T}no" >&6
1458
if test -z "$ac_cv_prog_CC"; then
1460
# Extract the first word of "cc", so it can be a program name with args.
1461
set dummy cc; ac_word=$2
1462
echo "$as_me:$LINENO: checking for $ac_word" >&5
1463
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1464
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1465
echo $ECHO_N "(cached) $ECHO_C" >&6
1467
if test -n "$ac_ct_CC"; then
1468
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1470
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1474
test -z "$as_dir" && as_dir=.
1475
for ac_exec_ext in '' $ac_executable_extensions; do
1476
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1477
ac_cv_prog_ac_ct_CC="cc"
1478
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1486
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1487
if test -n "$ac_ct_CC"; then
1488
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1489
echo "${ECHO_T}$ac_ct_CC" >&6
1491
echo "$as_me:$LINENO: result: no" >&5
1492
echo "${ECHO_T}no" >&6
602
echo "$ac_t""$CC" 1>&6
604
echo "$ac_t""no" 1>&6
1501
607
if test -z "$CC"; then
1502
608
# Extract the first word of "cc", so it can be a program name with args.
1503
609
set dummy cc; ac_word=$2
1504
echo "$as_me:$LINENO: checking for $ac_word" >&5
1505
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1506
if test "${ac_cv_prog_CC+set}" = set; then
1507
echo $ECHO_N "(cached) $ECHO_C" >&6
610
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
611
echo "configure:612: checking for $ac_word" >&5
612
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
613
echo $ac_n "(cached) $ac_c" 1>&6
1509
615
if test -n "$CC"; then
1510
616
ac_cv_prog_CC="$CC" # Let the user override the test.
618
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1512
619
ac_prog_rejected=no
1513
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1517
test -z "$as_dir" && as_dir=.
1518
for ac_exec_ext in '' $ac_executable_extensions; do
1519
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1520
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1521
ac_prog_rejected=yes
1525
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
621
for ac_dir in $ac_dummy; do
622
test -z "$ac_dir" && ac_dir=.
623
if test -f $ac_dir/$ac_word; then
624
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1531
633
if test $ac_prog_rejected = yes; then
1532
634
# We found a bogon in the path, so make sure we never use it.
1533
635
set dummy $ac_cv_prog_CC
1535
if test $# != 0; then
637
if test $# -gt 0; then
1536
638
# We chose a different compiler from the bogus one.
1537
639
# However, it has the same basename, so the bogon will be chosen
1538
640
# first if we set CC to just the basename; use the full file name.
1540
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
642
set dummy "$ac_dir/$ac_word" "$@"
1546
650
if test -n "$CC"; then
1547
echo "$as_me:$LINENO: result: $CC" >&5
1548
echo "${ECHO_T}$CC" >&6
651
echo "$ac_t""$CC" 1>&6
1550
echo "$as_me:$LINENO: result: no" >&5
1551
echo "${ECHO_T}no" >&6
653
echo "$ac_t""no" 1>&6
1555
if test -z "$CC"; then
1556
if test -n "$ac_tool_prefix"; then
1559
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1560
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1561
echo "$as_me:$LINENO: checking for $ac_word" >&5
1562
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1563
if test "${ac_cv_prog_CC+set}" = set; then
1564
echo $ECHO_N "(cached) $ECHO_C" >&6
656
if test -z "$CC"; then
659
# Extract the first word of "cl", so it can be a program name with args.
660
set dummy cl; ac_word=$2
661
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
662
echo "configure:663: checking for $ac_word" >&5
663
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
664
echo $ac_n "(cached) $ac_c" 1>&6
1566
666
if test -n "$CC"; then
1567
667
ac_cv_prog_CC="$CC" # Let the user override the test.
1569
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1573
test -z "$as_dir" && as_dir=.
1574
for ac_exec_ext in '' $ac_executable_extensions; do
1575
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1576
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1577
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1586
if test -n "$CC"; then
1587
echo "$as_me:$LINENO: result: $CC" >&5
1588
echo "${ECHO_T}$CC" >&6
1590
echo "$as_me:$LINENO: result: no" >&5
1591
echo "${ECHO_T}no" >&6
1594
test -n "$CC" && break
669
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
671
for ac_dir in $ac_dummy; do
672
test -z "$ac_dir" && ac_dir=.
673
if test -f $ac_dir/$ac_word; then
1597
if test -z "$CC"; then
1601
# Extract the first word of "$ac_prog", so it can be a program name with args.
1602
set dummy $ac_prog; ac_word=$2
1603
echo "$as_me:$LINENO: checking for $ac_word" >&5
1604
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1605
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1606
echo $ECHO_N "(cached) $ECHO_C" >&6
1608
if test -n "$ac_ct_CC"; then
1609
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1611
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1615
test -z "$as_dir" && as_dir=.
1616
for ac_exec_ext in '' $ac_executable_extensions; do
1617
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1618
ac_cv_prog_ac_ct_CC="$ac_prog"
1619
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
682
if test -n "$CC"; then
683
echo "$ac_t""$CC" 1>&6
685
echo "$ac_t""no" 1>&6
1627
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1628
if test -n "$ac_ct_CC"; then
1629
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1630
echo "${ECHO_T}$ac_ct_CC" >&6
1632
echo "$as_me:$LINENO: result: no" >&5
1633
echo "${ECHO_T}no" >&6
1636
test -n "$ac_ct_CC" && break
1645
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1646
See \`config.log' for more details." >&5
1647
echo "$as_me: error: no acceptable C compiler found in \$PATH
1648
See \`config.log' for more details." >&2;}
1649
{ (exit 1); exit 1; }; }
1651
# Provide some information about the compiler.
1652
echo "$as_me:$LINENO:" \
1653
"checking for C compiler version" >&5
1654
ac_compiler=`set X $ac_compile; echo $2`
1655
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1656
(eval $ac_compiler --version </dev/null >&5) 2>&5
1658
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1659
(exit $ac_status); }
1660
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1661
(eval $ac_compiler -v </dev/null >&5) 2>&5
1663
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1664
(exit $ac_status); }
1665
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1666
(eval $ac_compiler -V </dev/null >&5) 2>&5
1668
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1669
(exit $ac_status); }
1671
cat >conftest.$ac_ext <<_ACEOF
1674
cat confdefs.h >>conftest.$ac_ext
1675
cat >>conftest.$ac_ext <<_ACEOF
1676
/* end confdefs.h. */
1686
ac_clean_files_save=$ac_clean_files
1687
ac_clean_files="$ac_clean_files a.out a.exe b.out"
1688
# Try to create an executable without -o first, disregard a.out.
1689
# It will help us diagnose broken compilers, and finding out an intuition
1691
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1692
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1693
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1694
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1695
(eval $ac_link_default) 2>&5
1697
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1698
(exit $ac_status); }; then
1699
# Find the output, starting from the most likely. This scheme is
1700
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1703
# Be careful to initialize this variable, since it used to be cached.
1704
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1706
# b.out is created by i960 compilers.
1707
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1709
test -f "$ac_file" || continue
1711
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1714
# This is the source file.
1717
# We found the default executable, but exeext='' is most
1721
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1722
# FIXME: I believe we export ac_cv_exeext for Libtool,
1723
# but it would be cool to find out if it's true. Does anybody
1724
# maintain Libtool? --akim.
1732
echo "$as_me: failed program was:" >&5
1733
sed 's/^/| /' conftest.$ac_ext >&5
1735
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1736
See \`config.log' for more details." >&5
1737
echo "$as_me: error: C compiler cannot create executables
1738
See \`config.log' for more details." >&2;}
1739
{ (exit 77); exit 77; }; }
1742
ac_exeext=$ac_cv_exeext
1743
echo "$as_me:$LINENO: result: $ac_file" >&5
1744
echo "${ECHO_T}$ac_file" >&6
1746
# Check the compiler produces executables we can run. If not, either
1747
# the compiler is broken, or we cross compile.
1748
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1749
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1750
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1751
# If not cross compiling, check that we can run a simple program.
1752
if test "$cross_compiling" != yes; then
1753
if { ac_try='./$ac_file'
1754
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1757
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1758
(exit $ac_status); }; }; then
690
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
693
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
694
echo "configure:695: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
697
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
698
ac_cpp='$CPP $CPPFLAGS'
699
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
700
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
701
cross_compiling=$ac_cv_prog_cc_cross
703
cat > conftest.$ac_ext << EOF
705
#line 706 "configure"
706
#include "confdefs.h"
710
if { (eval echo configure:711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
711
ac_cv_prog_cc_works=yes
712
# If we can't run a trivial program, we are probably using a cross compiler.
713
if (./conftest; exit) 2>/dev/null; then
714
ac_cv_prog_cc_cross=no
1761
if test "$cross_compiling" = maybe; then
1764
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1765
If you meant to cross compile, use \`--host'.
1766
See \`config.log' for more details." >&5
1767
echo "$as_me: error: cannot run C compiled programs.
1768
If you meant to cross compile, use \`--host'.
1769
See \`config.log' for more details." >&2;}
1770
{ (exit 1); exit 1; }; }
716
ac_cv_prog_cc_cross=yes
1774
echo "$as_me:$LINENO: result: yes" >&5
1775
echo "${ECHO_T}yes" >&6
1777
rm -f a.out a.exe conftest$ac_cv_exeext b.out
1778
ac_clean_files=$ac_clean_files_save
1779
# Check the compiler produces executables we can run. If not, either
1780
# the compiler is broken, or we cross compile.
1781
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1782
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1783
echo "$as_me:$LINENO: result: $cross_compiling" >&5
1784
echo "${ECHO_T}$cross_compiling" >&6
1786
echo "$as_me:$LINENO: checking for suffix of executables" >&5
1787
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1788
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1789
(eval $ac_link) 2>&5
1791
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1792
(exit $ac_status); }; then
1793
# If both `conftest.exe' and `conftest' are `present' (well, observable)
1794
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1795
# work properly (i.e., refer to `conftest.exe'), while it won't with
1797
for ac_file in conftest.exe conftest conftest.*; do
1798
test -f "$ac_file" || continue
1800
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1801
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1808
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1809
See \`config.log' for more details." >&5
1810
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1811
See \`config.log' for more details." >&2;}
1812
{ (exit 1); exit 1; }; }
1815
rm -f conftest$ac_cv_exeext
1816
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1817
echo "${ECHO_T}$ac_cv_exeext" >&6
1819
rm -f conftest.$ac_ext
1820
EXEEXT=$ac_cv_exeext
1822
echo "$as_me:$LINENO: checking for suffix of object files" >&5
1823
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1824
if test "${ac_cv_objext+set}" = set; then
1825
echo $ECHO_N "(cached) $ECHO_C" >&6
1827
cat >conftest.$ac_ext <<_ACEOF
1830
cat confdefs.h >>conftest.$ac_ext
1831
cat >>conftest.$ac_ext <<_ACEOF
1832
/* end confdefs.h. */
1842
rm -f conftest.o conftest.obj
1843
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1844
(eval $ac_compile) 2>&5
1846
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1847
(exit $ac_status); }; then
1848
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1850
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1851
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1856
echo "$as_me: failed program was:" >&5
1857
sed 's/^/| /' conftest.$ac_ext >&5
1859
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1860
See \`config.log' for more details." >&5
1861
echo "$as_me: error: cannot compute suffix of object files: cannot compile
1862
See \`config.log' for more details." >&2;}
1863
{ (exit 1); exit 1; }; }
1866
rm -f conftest.$ac_cv_objext conftest.$ac_ext
1868
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1869
echo "${ECHO_T}$ac_cv_objext" >&6
1870
OBJEXT=$ac_cv_objext
1872
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1873
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1874
if test "${ac_cv_c_compiler_gnu+set}" = set; then
1875
echo $ECHO_N "(cached) $ECHO_C" >&6
1877
cat >conftest.$ac_ext <<_ACEOF
1880
cat confdefs.h >>conftest.$ac_ext
1881
cat >>conftest.$ac_ext <<_ACEOF
1882
/* end confdefs.h. */
719
echo "configure: failed program was:" >&5
720
cat conftest.$ac_ext >&5
721
ac_cv_prog_cc_works=no
725
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
726
ac_cpp='$CPP $CPPFLAGS'
727
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
728
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
729
cross_compiling=$ac_cv_prog_cc_cross
731
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
732
if test $ac_cv_prog_cc_works = no; then
733
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
735
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
736
echo "configure:737: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
737
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
738
cross_compiling=$ac_cv_prog_cc_cross
740
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
741
echo "configure:742: checking whether we are using GNU C" >&5
742
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
743
echo $ac_n "(cached) $ac_c" 1>&6
745
cat > conftest.c <<EOF
1895
rm -f conftest.$ac_objext
1896
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1897
(eval $ac_compile) 2>conftest.er1
1899
grep -v '^ *+' conftest.er1 >conftest.err
1901
cat conftest.err >&5
1902
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1903
(exit $ac_status); } &&
1904
{ ac_try='test -z "$ac_c_werror_flag"
1905
|| test ! -s conftest.err'
1906
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1909
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1910
(exit $ac_status); }; } &&
1911
{ ac_try='test -s conftest.$ac_objext'
1912
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1915
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1916
(exit $ac_status); }; }; then
1919
echo "$as_me: failed program was:" >&5
1920
sed 's/^/| /' conftest.$ac_ext >&5
1924
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1925
ac_cv_c_compiler_gnu=$ac_compiler_gnu
1928
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1929
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1930
GCC=`test $ac_compiler_gnu = yes && echo yes`
1931
ac_test_CFLAGS=${CFLAGS+set}
1932
ac_save_CFLAGS=$CFLAGS
1934
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1935
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1936
if test "${ac_cv_prog_cc_g+set}" = set; then
1937
echo $ECHO_N "(cached) $ECHO_C" >&6
1939
cat >conftest.$ac_ext <<_ACEOF
1942
cat confdefs.h >>conftest.$ac_ext
1943
cat >>conftest.$ac_ext <<_ACEOF
1944
/* end confdefs.h. */
1954
rm -f conftest.$ac_objext
1955
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1956
(eval $ac_compile) 2>conftest.er1
1958
grep -v '^ *+' conftest.er1 >conftest.err
1960
cat conftest.err >&5
1961
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1962
(exit $ac_status); } &&
1963
{ ac_try='test -z "$ac_c_werror_flag"
1964
|| test ! -s conftest.err'
1965
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1968
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1969
(exit $ac_status); }; } &&
1970
{ ac_try='test -s conftest.$ac_objext'
1971
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1974
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1975
(exit $ac_status); }; }; then
750
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
757
echo "$ac_t""$ac_cv_prog_gcc" 1>&6
759
if test $ac_cv_prog_gcc = yes; then
765
ac_test_CFLAGS="${CFLAGS+set}"
766
ac_save_CFLAGS="$CFLAGS"
768
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
769
echo "configure:770: checking whether ${CC-cc} accepts -g" >&5
770
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
771
echo $ac_n "(cached) $ac_c" 1>&6
773
echo 'void f(){}' > conftest.c
774
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1976
775
ac_cv_prog_cc_g=yes
1978
echo "$as_me: failed program was:" >&5
1979
sed 's/^/| /' conftest.$ac_ext >&5
1983
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1985
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1986
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
783
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1987
784
if test "$ac_test_CFLAGS" = set; then
1988
CFLAGS=$ac_save_CFLAGS
785
CFLAGS="$ac_save_CFLAGS"
1989
786
elif test $ac_cv_prog_cc_g = yes; then
1990
787
if test "$GCC" = yes; then
2295
823
# SunOS /usr/etc/install
2296
824
# IRIX /sbin/install
2297
825
# AIX /bin/install
2298
# AmigaOS /C/install, which installs bootblocks on floppy discs
2299
826
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2300
827
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2301
828
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2302
# OS/2's system install, which has a completely different semantic
2303
829
# ./install, which can be erroneously created by make from ./install.sh.
2304
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2305
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
830
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
831
echo "configure:832: checking for a BSD compatible install" >&5
2306
832
if test -z "$INSTALL"; then
2307
if test "${ac_cv_path_install+set}" = set; then
2308
echo $ECHO_N "(cached) $ECHO_C" >&6
833
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
834
echo $ac_n "(cached) $ac_c" 1>&6
2310
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2314
test -z "$as_dir" && as_dir=.
2315
# Account for people who put trailing slashes in PATH elements.
2317
./ | .// | /cC/* | \
2318
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2319
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2322
# OSF1 and SCO ODT 3.0 have their own names for install.
2323
# Don't use installbsd from OSF since it installs stuff as root
2325
for ac_prog in ginstall scoinst install; do
2326
for ac_exec_ext in '' $ac_executable_extensions; do
2327
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
836
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
837
for ac_dir in $PATH; do
838
# Account for people who put trailing slashes in PATH elements.
840
/|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
842
# OSF1 and SCO ODT 3.0 have their own names for install.
843
# Don't use installbsd from OSF since it installs stuff as root
845
for ac_prog in ginstall scoinst install; do
846
if test -f $ac_dir/$ac_prog; then
2328
847
if test $ac_prog = install &&
2329
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
848
grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
2330
849
# AIX install. It has an incompatible calling convention.
2332
elif test $ac_prog = install &&
2333
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2334
# program-specific install script used by HP pwplus--don't use.
2337
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
852
ac_cv_path_install="$ac_dir/$ac_prog -c"
2349
863
if test "${ac_cv_path_install+set}" = set; then
2350
INSTALL=$ac_cv_path_install
864
INSTALL="$ac_cv_path_install"
2352
866
# As a last resort, use the slow shell script. We don't cache a
2353
867
# path for INSTALL within a source directory, because that will
2354
868
# break other packages using the cache if that directory is
2355
869
# removed, or if the path is relative.
2356
INSTALL=$ac_install_sh
870
INSTALL="$ac_install_sh"
2359
echo "$as_me:$LINENO: result: $INSTALL" >&5
2360
echo "${ECHO_T}$INSTALL" >&6
873
echo "$ac_t""$INSTALL" 1>&6
2362
875
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2363
876
# It thinks the first close brace ends the variable substitution.
2364
877
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2366
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
879
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
2368
881
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2375
ac_cpp='$CPP $CPPFLAGS'
2376
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2377
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2378
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2379
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2380
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
886
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
887
echo "configure:888: checking how to run the C preprocessor" >&5
2381
888
# On Suns, sometimes $CPP names a directory.
2382
889
if test -n "$CPP" && test -d "$CPP"; then
2385
892
if test -z "$CPP"; then
2386
if test "${ac_cv_prog_CPP+set}" = set; then
2387
echo $ECHO_N "(cached) $ECHO_C" >&6
2389
# Double quotes because CPP needs to be expanded
2390
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2393
for ac_c_preproc_warn_flag in '' yes
2395
# Use a header file that comes with gcc, so configuring glibc
2396
# with a fresh cross-compiler works.
2397
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2398
# <limits.h> exists even on freestanding compilers.
2399
# On the NeXT, cc -E runs the code through the compiler's parser,
2400
# not just through cpp. "Syntax error" is here to catch this case.
2401
cat >conftest.$ac_ext <<_ACEOF
2404
cat confdefs.h >>conftest.$ac_ext
2405
cat >>conftest.$ac_ext <<_ACEOF
2406
/* end confdefs.h. */
2408
# include <limits.h>
2410
# include <assert.h>
2414
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2415
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2417
grep -v '^ *+' conftest.er1 >conftest.err
2419
cat conftest.err >&5
2420
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2421
(exit $ac_status); } >/dev/null; then
2422
if test -s conftest.err; then
2423
ac_cpp_err=$ac_c_preproc_warn_flag
2424
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2431
if test -z "$ac_cpp_err"; then
2434
echo "$as_me: failed program was:" >&5
2435
sed 's/^/| /' conftest.$ac_ext >&5
2437
# Broken: fails on valid input.
2440
rm -f conftest.err conftest.$ac_ext
2442
# OK, works on sane cases. Now check whether non-existent headers
2443
# can be detected and how.
2444
cat >conftest.$ac_ext <<_ACEOF
2447
cat confdefs.h >>conftest.$ac_ext
2448
cat >>conftest.$ac_ext <<_ACEOF
2449
/* end confdefs.h. */
2450
#include <ac_nonexistent.h>
2452
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2453
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2455
grep -v '^ *+' conftest.er1 >conftest.err
2457
cat conftest.err >&5
2458
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459
(exit $ac_status); } >/dev/null; then
2460
if test -s conftest.err; then
2461
ac_cpp_err=$ac_c_preproc_warn_flag
2462
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2469
if test -z "$ac_cpp_err"; then
2470
# Broken: success on invalid input.
2473
echo "$as_me: failed program was:" >&5
2474
sed 's/^/| /' conftest.$ac_ext >&5
2476
# Passes both tests.
2480
rm -f conftest.err conftest.$ac_ext
2483
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2484
rm -f conftest.err conftest.$ac_ext
2485
if $ac_preproc_ok; then
2497
echo "$as_me:$LINENO: result: $CPP" >&5
2498
echo "${ECHO_T}$CPP" >&6
2500
for ac_c_preproc_warn_flag in '' yes
2502
# Use a header file that comes with gcc, so configuring glibc
2503
# with a fresh cross-compiler works.
2504
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2505
# <limits.h> exists even on freestanding compilers.
2506
# On the NeXT, cc -E runs the code through the compiler's parser,
2507
# not just through cpp. "Syntax error" is here to catch this case.
2508
cat >conftest.$ac_ext <<_ACEOF
2511
cat confdefs.h >>conftest.$ac_ext
2512
cat >>conftest.$ac_ext <<_ACEOF
2513
/* end confdefs.h. */
2515
# include <limits.h>
2517
# include <assert.h>
2521
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2522
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2524
grep -v '^ *+' conftest.er1 >conftest.err
2526
cat conftest.err >&5
2527
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2528
(exit $ac_status); } >/dev/null; then
2529
if test -s conftest.err; then
2530
ac_cpp_err=$ac_c_preproc_warn_flag
2531
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2538
if test -z "$ac_cpp_err"; then
2541
echo "$as_me: failed program was:" >&5
2542
sed 's/^/| /' conftest.$ac_ext >&5
2544
# Broken: fails on valid input.
2547
rm -f conftest.err conftest.$ac_ext
2549
# OK, works on sane cases. Now check whether non-existent headers
2550
# can be detected and how.
2551
cat >conftest.$ac_ext <<_ACEOF
2554
cat confdefs.h >>conftest.$ac_ext
2555
cat >>conftest.$ac_ext <<_ACEOF
2556
/* end confdefs.h. */
2557
#include <ac_nonexistent.h>
2559
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2560
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2562
grep -v '^ *+' conftest.er1 >conftest.err
2564
cat conftest.err >&5
2565
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566
(exit $ac_status); } >/dev/null; then
2567
if test -s conftest.err; then
2568
ac_cpp_err=$ac_c_preproc_warn_flag
2569
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2576
if test -z "$ac_cpp_err"; then
2577
# Broken: success on invalid input.
2580
echo "$as_me: failed program was:" >&5
2581
sed 's/^/| /' conftest.$ac_ext >&5
2583
# Passes both tests.
2587
rm -f conftest.err conftest.$ac_ext
2590
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2591
rm -f conftest.err conftest.$ac_ext
2592
if $ac_preproc_ok; then
2595
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2596
See \`config.log' for more details." >&5
2597
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2598
See \`config.log' for more details." >&2;}
2599
{ (exit 1); exit 1; }; }
2603
ac_cpp='$CPP $CPPFLAGS'
2604
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2605
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2606
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2609
echo "$as_me:$LINENO: checking for egrep" >&5
2610
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2611
if test "${ac_cv_prog_egrep+set}" = set; then
2612
echo $ECHO_N "(cached) $ECHO_C" >&6
2614
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2615
then ac_cv_prog_egrep='grep -E'
2616
else ac_cv_prog_egrep='egrep'
2619
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2620
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2621
EGREP=$ac_cv_prog_egrep
2624
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2625
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2626
if test "${ac_cv_header_stdc+set}" = set; then
2627
echo $ECHO_N "(cached) $ECHO_C" >&6
2629
cat >conftest.$ac_ext <<_ACEOF
2632
cat confdefs.h >>conftest.$ac_ext
2633
cat >>conftest.$ac_ext <<_ACEOF
2634
/* end confdefs.h. */
2648
rm -f conftest.$ac_objext
2649
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2650
(eval $ac_compile) 2>conftest.er1
2652
grep -v '^ *+' conftest.er1 >conftest.err
2654
cat conftest.err >&5
2655
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656
(exit $ac_status); } &&
2657
{ ac_try='test -z "$ac_c_werror_flag"
2658
|| test ! -s conftest.err'
2659
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2662
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663
(exit $ac_status); }; } &&
2664
{ ac_try='test -s conftest.$ac_objext'
2665
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2668
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669
(exit $ac_status); }; }; then
2670
ac_cv_header_stdc=yes
2672
echo "$as_me: failed program was:" >&5
2673
sed 's/^/| /' conftest.$ac_ext >&5
2675
ac_cv_header_stdc=no
2677
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2679
if test $ac_cv_header_stdc = yes; then
2680
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2681
cat >conftest.$ac_ext <<_ACEOF
2684
cat confdefs.h >>conftest.$ac_ext
2685
cat >>conftest.$ac_ext <<_ACEOF
2686
/* end confdefs.h. */
2690
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2691
$EGREP "memchr" >/dev/null 2>&1; then
2694
ac_cv_header_stdc=no
2700
if test $ac_cv_header_stdc = yes; then
2701
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2702
cat >conftest.$ac_ext <<_ACEOF
2705
cat confdefs.h >>conftest.$ac_ext
2706
cat >>conftest.$ac_ext <<_ACEOF
2707
/* end confdefs.h. */
2711
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2712
$EGREP "free" >/dev/null 2>&1; then
2715
ac_cv_header_stdc=no
2721
if test $ac_cv_header_stdc = yes; then
2722
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2723
if test "$cross_compiling" = yes; then
2726
cat >conftest.$ac_ext <<_ACEOF
2729
cat confdefs.h >>conftest.$ac_ext
2730
cat >>conftest.$ac_ext <<_ACEOF
2731
/* end confdefs.h. */
2733
#if ((' ' & 0x0FF) == 0x020)
2734
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2735
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2737
# define ISLOWER(c) \
2738
(('a' <= (c) && (c) <= 'i') \
2739
|| ('j' <= (c) && (c) <= 'r') \
2740
|| ('s' <= (c) && (c) <= 'z'))
2741
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2744
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2749
for (i = 0; i < 256; i++)
2750
if (XOR (islower (i), ISLOWER (i))
2751
|| toupper (i) != TOUPPER (i))
2756
rm -f conftest$ac_exeext
2757
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2758
(eval $ac_link) 2>&5
2760
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2762
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2765
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2766
(exit $ac_status); }; }; then
2769
echo "$as_me: program exited with status $ac_status" >&5
2770
echo "$as_me: failed program was:" >&5
2771
sed 's/^/| /' conftest.$ac_ext >&5
2774
ac_cv_header_stdc=no
2776
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2780
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2781
echo "${ECHO_T}$ac_cv_header_stdc" >&6
2782
if test $ac_cv_header_stdc = yes; then
2784
cat >>confdefs.h <<\_ACEOF
2785
#define STDC_HEADERS 1
2790
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
2800
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
2801
inttypes.h stdint.h unistd.h
2803
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2804
echo "$as_me:$LINENO: checking for $ac_header" >&5
2805
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2806
if eval "test \"\${$as_ac_Header+set}\" = set"; then
2807
echo $ECHO_N "(cached) $ECHO_C" >&6
2809
cat >conftest.$ac_ext <<_ACEOF
2812
cat confdefs.h >>conftest.$ac_ext
2813
cat >>conftest.$ac_ext <<_ACEOF
2814
/* end confdefs.h. */
2815
$ac_includes_default
2817
#include <$ac_header>
2819
rm -f conftest.$ac_objext
2820
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2821
(eval $ac_compile) 2>conftest.er1
2823
grep -v '^ *+' conftest.er1 >conftest.err
2825
cat conftest.err >&5
2826
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2827
(exit $ac_status); } &&
2828
{ ac_try='test -z "$ac_c_werror_flag"
2829
|| test ! -s conftest.err'
2830
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2833
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834
(exit $ac_status); }; } &&
2835
{ ac_try='test -s conftest.$ac_objext'
2836
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2839
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840
(exit $ac_status); }; }; then
2841
eval "$as_ac_Header=yes"
2843
echo "$as_me: failed program was:" >&5
2844
sed 's/^/| /' conftest.$ac_ext >&5
2846
eval "$as_ac_Header=no"
2848
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2850
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2851
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2852
if test `eval echo '${'$as_ac_Header'}'` = yes; then
2853
cat >>confdefs.h <<_ACEOF
2854
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2866
for ac_header in sys/vfs.h sys/statfs.h sys/statvfs.h sys/param.h
2868
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2869
if eval "test \"\${$as_ac_Header+set}\" = set"; then
2870
echo "$as_me:$LINENO: checking for $ac_header" >&5
2871
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2872
if eval "test \"\${$as_ac_Header+set}\" = set"; then
2873
echo $ECHO_N "(cached) $ECHO_C" >&6
2875
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2876
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2878
# Is the header compilable?
2879
echo "$as_me:$LINENO: checking $ac_header usability" >&5
2880
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2881
cat >conftest.$ac_ext <<_ACEOF
2884
cat confdefs.h >>conftest.$ac_ext
2885
cat >>conftest.$ac_ext <<_ACEOF
2886
/* end confdefs.h. */
2887
$ac_includes_default
2888
#include <$ac_header>
2890
rm -f conftest.$ac_objext
2891
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2892
(eval $ac_compile) 2>conftest.er1
2894
grep -v '^ *+' conftest.er1 >conftest.err
2896
cat conftest.err >&5
2897
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2898
(exit $ac_status); } &&
2899
{ ac_try='test -z "$ac_c_werror_flag"
2900
|| test ! -s conftest.err'
2901
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2904
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905
(exit $ac_status); }; } &&
2906
{ ac_try='test -s conftest.$ac_objext'
2907
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2910
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911
(exit $ac_status); }; }; then
2912
ac_header_compiler=yes
2914
echo "$as_me: failed program was:" >&5
2915
sed 's/^/| /' conftest.$ac_ext >&5
2917
ac_header_compiler=no
2919
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2920
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2921
echo "${ECHO_T}$ac_header_compiler" >&6
2923
# Is the header present?
2924
echo "$as_me:$LINENO: checking $ac_header presence" >&5
2925
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
2926
cat >conftest.$ac_ext <<_ACEOF
2929
cat confdefs.h >>conftest.$ac_ext
2930
cat >>conftest.$ac_ext <<_ACEOF
2931
/* end confdefs.h. */
2932
#include <$ac_header>
2934
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2935
(eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
2942
if test -s conftest.err; then
2943
ac_cpp_err=$ac_c_preproc_warn_flag
2944
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2951
if test -z "$ac_cpp_err"; then
2952
ac_header_preproc=yes
2954
echo "$as_me: failed program was:" >&5
2955
sed 's/^/| /' conftest.$ac_ext >&5
2957
ac_header_preproc=no
2959
rm -f conftest.err conftest.$ac_ext
2960
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2961
echo "${ECHO_T}$ac_header_preproc" >&6
2963
# So? What about this header?
2964
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
2966
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
2967
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
2968
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
2969
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
2970
ac_header_preproc=yes
2973
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
2974
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
2975
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
2976
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
2977
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
2978
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
2979
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
2980
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
2981
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2982
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
2983
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
2984
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
2987
## ------------------------------------------ ##
2988
## Report this to the AC_PACKAGE_NAME lists. ##
2989
## ------------------------------------------ ##
2992
sed "s/^/$as_me: WARNING: /" >&2
2995
echo "$as_me:$LINENO: checking for $ac_header" >&5
2996
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2997
if eval "test \"\${$as_ac_Header+set}\" = set"; then
2998
echo $ECHO_N "(cached) $ECHO_C" >&6
3000
eval "$as_ac_Header=\$ac_header_preproc"
3002
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3003
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3006
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3007
cat >>confdefs.h <<_ACEOF
3008
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3019
for ac_header in arpa/inet.h sys/ioctl.h sys/time.h io.h
3021
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3022
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3023
echo "$as_me:$LINENO: checking for $ac_header" >&5
3024
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3025
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3026
echo $ECHO_N "(cached) $ECHO_C" >&6
3028
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3029
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3031
# Is the header compilable?
3032
echo "$as_me:$LINENO: checking $ac_header usability" >&5
3033
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3034
cat >conftest.$ac_ext <<_ACEOF
3037
cat confdefs.h >>conftest.$ac_ext
3038
cat >>conftest.$ac_ext <<_ACEOF
3039
/* end confdefs.h. */
3040
$ac_includes_default
3041
#include <$ac_header>
3043
rm -f conftest.$ac_objext
3044
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3045
(eval $ac_compile) 2>conftest.er1
3047
grep -v '^ *+' conftest.er1 >conftest.err
3049
cat conftest.err >&5
3050
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3051
(exit $ac_status); } &&
3052
{ ac_try='test -z "$ac_c_werror_flag"
3053
|| test ! -s conftest.err'
3054
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3057
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3058
(exit $ac_status); }; } &&
3059
{ ac_try='test -s conftest.$ac_objext'
3060
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3063
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3064
(exit $ac_status); }; }; then
3065
ac_header_compiler=yes
3067
echo "$as_me: failed program was:" >&5
3068
sed 's/^/| /' conftest.$ac_ext >&5
3070
ac_header_compiler=no
3072
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3073
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3074
echo "${ECHO_T}$ac_header_compiler" >&6
3076
# Is the header present?
3077
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3078
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3079
cat >conftest.$ac_ext <<_ACEOF
3082
cat confdefs.h >>conftest.$ac_ext
3083
cat >>conftest.$ac_ext <<_ACEOF
3084
/* end confdefs.h. */
3085
#include <$ac_header>
3087
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3088
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3090
grep -v '^ *+' conftest.er1 >conftest.err
3092
cat conftest.err >&5
3093
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3094
(exit $ac_status); } >/dev/null; then
3095
if test -s conftest.err; then
3096
ac_cpp_err=$ac_c_preproc_warn_flag
3097
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3104
if test -z "$ac_cpp_err"; then
3105
ac_header_preproc=yes
3107
echo "$as_me: failed program was:" >&5
3108
sed 's/^/| /' conftest.$ac_ext >&5
3110
ac_header_preproc=no
3112
rm -f conftest.err conftest.$ac_ext
3113
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3114
echo "${ECHO_T}$ac_header_preproc" >&6
3116
# So? What about this header?
3117
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3119
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3120
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3121
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3122
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3123
ac_header_preproc=yes
3126
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3127
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3128
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3129
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3130
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3131
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3132
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3133
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3134
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3135
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3136
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3137
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3140
## ------------------------------------------ ##
3141
## Report this to the AC_PACKAGE_NAME lists. ##
3142
## ------------------------------------------ ##
3145
sed "s/^/$as_me: WARNING: /" >&2
3148
echo "$as_me:$LINENO: checking for $ac_header" >&5
3149
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3150
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3151
echo $ECHO_N "(cached) $ECHO_C" >&6
3153
eval "$as_ac_Header=\$ac_header_preproc"
3155
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3156
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3159
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3160
cat >>confdefs.h <<_ACEOF
3161
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3169
for ac_header in sys/mount.h
3171
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3172
echo "$as_me:$LINENO: checking for $ac_header" >&5
3173
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3174
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3175
echo $ECHO_N "(cached) $ECHO_C" >&6
3177
cat >conftest.$ac_ext <<_ACEOF
3180
cat confdefs.h >>conftest.$ac_ext
3181
cat >>conftest.$ac_ext <<_ACEOF
3182
/* end confdefs.h. */
3183
#ifdef HAVE_SYS_PARAM_H
3184
# include <sys/param.h>
3188
#include <$ac_header>
3190
rm -f conftest.$ac_objext
3191
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3192
(eval $ac_compile) 2>conftest.er1
3194
grep -v '^ *+' conftest.er1 >conftest.err
3196
cat conftest.err >&5
3197
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3198
(exit $ac_status); } &&
3199
{ ac_try='test -z "$ac_c_werror_flag"
3200
|| test ! -s conftest.err'
3201
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3204
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3205
(exit $ac_status); }; } &&
3206
{ ac_try='test -s conftest.$ac_objext'
3207
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3210
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3211
(exit $ac_status); }; }; then
3212
eval "$as_ac_Header=yes"
3214
echo "$as_me: failed program was:" >&5
3215
sed 's/^/| /' conftest.$ac_ext >&5
3217
eval "$as_ac_Header=no"
3219
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3221
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3222
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3223
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3224
cat >>confdefs.h <<_ACEOF
3225
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
893
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
894
echo $ac_n "(cached) $ac_c" 1>&6
896
# This must be in double quotes, not single quotes, because CPP may get
897
# substituted into the Makefile and "${CC-cc}" will confuse make.
899
# On the NeXT, cc -E runs the code through the compiler's parser,
900
# not just through cpp.
901
cat > conftest.$ac_ext <<EOF
902
#line 903 "configure"
903
#include "confdefs.h"
907
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
908
{ (eval echo configure:909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
909
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
910
if test -z "$ac_err"; then
914
echo "configure: failed program was:" >&5
915
cat conftest.$ac_ext >&5
917
CPP="${CC-cc} -E -traditional-cpp"
918
cat > conftest.$ac_ext <<EOF
919
#line 920 "configure"
920
#include "confdefs.h"
924
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
925
{ (eval echo configure:926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
926
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
927
if test -z "$ac_err"; then
931
echo "configure: failed program was:" >&5
932
cat conftest.$ac_ext >&5
934
CPP="${CC-cc} -nologo -E"
935
cat > conftest.$ac_ext <<EOF
936
#line 937 "configure"
937
#include "confdefs.h"
941
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
942
{ (eval echo configure:943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
943
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
944
if test -z "$ac_err"; then
948
echo "configure: failed program was:" >&5
949
cat conftest.$ac_ext >&5
958
ac_cv_prog_CPP="$CPP"
960
CPP="$ac_cv_prog_CPP"
962
ac_cv_prog_CPP="$CPP"
964
echo "$ac_t""$CPP" 1>&6
966
for ac_hdr in sys/vfs.h sys/statfs.h sys/statvfs.h sys/param.h
968
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
969
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
970
echo "configure:971: checking for $ac_hdr" >&5
971
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
972
echo $ac_n "(cached) $ac_c" 1>&6
974
cat > conftest.$ac_ext <<EOF
975
#line 976 "configure"
976
#include "confdefs.h"
979
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
980
{ (eval echo configure:981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
981
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
982
if test -z "$ac_err"; then
984
eval "ac_cv_header_$ac_safe=yes"
987
echo "configure: failed program was:" >&5
988
cat conftest.$ac_ext >&5
990
eval "ac_cv_header_$ac_safe=no"
994
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
995
echo "$ac_t""yes" 1>&6
996
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
997
cat >> confdefs.h <<EOF
1002
echo "$ac_t""no" 1>&6
1006
for ac_hdr in arpa/inet.h sys/ioctl.h sys/time.h io.h unistd.h
1008
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1009
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1010
echo "configure:1011: checking for $ac_hdr" >&5
1011
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1012
echo $ac_n "(cached) $ac_c" 1>&6
1014
cat > conftest.$ac_ext <<EOF
1015
#line 1016 "configure"
1016
#include "confdefs.h"
1019
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1020
{ (eval echo configure:1021: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1021
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1022
if test -z "$ac_err"; then
1024
eval "ac_cv_header_$ac_safe=yes"
1027
echo "configure: failed program was:" >&5
1028
cat conftest.$ac_ext >&5
1030
eval "ac_cv_header_$ac_safe=no"
1034
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1035
echo "$ac_t""yes" 1>&6
1036
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1037
cat >> confdefs.h <<EOF
1038
#define $ac_tr_hdr 1
1042
echo "$ac_t""no" 1>&6
1046
for ac_hdr in sys/mount.h
1048
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1049
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1050
echo "configure:1051: checking for $ac_hdr" >&5
1051
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1052
echo $ac_n "(cached) $ac_c" 1>&6
1054
cat > conftest.$ac_ext <<EOF
1055
#line 1056 "configure"
1056
#include "confdefs.h"
1059
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1060
{ (eval echo configure:1061: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1061
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1062
if test -z "$ac_err"; then
1064
eval "ac_cv_header_$ac_safe=yes"
1067
echo "configure: failed program was:" >&5
1068
cat conftest.$ac_ext >&5
1070
eval "ac_cv_header_$ac_safe=no"
1074
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1075
echo "$ac_t""yes" 1>&6
1076
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1077
cat >> confdefs.h <<EOF
1078
#define $ac_tr_hdr 1
1082
echo "$ac_t""no" 1>&6
3242
1088
for ac_func in snprintf vsyslog waitpid statvfs statfs uname daemon setsid
3244
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3245
echo "$as_me:$LINENO: checking for $ac_func" >&5
3246
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3247
if eval "test \"\${$as_ac_var+set}\" = set"; then
3248
echo $ECHO_N "(cached) $ECHO_C" >&6
1090
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1091
echo "configure:1092: checking for $ac_func" >&5
1092
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1093
echo $ac_n "(cached) $ac_c" 1>&6
3250
cat >conftest.$ac_ext <<_ACEOF
3253
cat confdefs.h >>conftest.$ac_ext
3254
cat >>conftest.$ac_ext <<_ACEOF
3255
/* end confdefs.h. */
3256
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3257
For example, HP-UX 11i <limits.h> declares gettimeofday. */
3258
#define $ac_func innocuous_$ac_func
1095
cat > conftest.$ac_ext <<EOF
1096
#line 1097 "configure"
1097
#include "confdefs.h"
3260
1098
/* System header to define __stub macros and hopefully few prototypes,
3261
which can conflict with char $ac_func (); below.
3262
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3263
<limits.h> exists even on freestanding compilers. */
3266
# include <limits.h>
3268
# include <assert.h>
1099
which can conflict with char $ac_func(); below. */
3273
1101
/* Override any gcc2 internal prototype to avoid an error. */
3278
1102
/* We use char because int might match the return type of a gcc2
3279
builtin and then its argument prototype would still apply. */
1103
builtin and then its argument prototype would still apply. */
3281
1108
/* The GNU C library defines this for functions which it implements
3282
1109
to always fail with ENOSYS. Some functions are actually named
3283
1110
something starting with __ and the normal name is an alias. */
3284
1111
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3287
char (*f) () = $ac_func;
3296
return f != $ac_func;
3301
rm -f conftest.$ac_objext conftest$ac_exeext
3302
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3303
(eval $ac_link) 2>conftest.er1
3305
grep -v '^ *+' conftest.er1 >conftest.err
3307
cat conftest.err >&5
3308
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3309
(exit $ac_status); } &&
3310
{ ac_try='test -z "$ac_c_werror_flag"
3311
|| test ! -s conftest.err'
3312
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3315
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316
(exit $ac_status); }; } &&
3317
{ ac_try='test -s conftest$ac_exeext'
3318
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3321
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3322
(exit $ac_status); }; }; then
3323
eval "$as_ac_var=yes"
3325
echo "$as_me: failed program was:" >&5
3326
sed 's/^/| /' conftest.$ac_ext >&5
3328
eval "$as_ac_var=no"
3330
rm -f conftest.err conftest.$ac_objext \
3331
conftest$ac_exeext conftest.$ac_ext
3333
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3334
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3335
if test `eval echo '${'$as_ac_var'}'` = yes; then
3336
cat >>confdefs.h <<_ACEOF
3337
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1119
if { (eval echo configure:1120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1121
eval "ac_cv_func_$ac_func=yes"
1123
echo "configure: failed program was:" >&5
1124
cat conftest.$ac_ext >&5
1126
eval "ac_cv_func_$ac_func=no"
1131
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1132
echo "$ac_t""yes" 1>&6
1133
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1134
cat >> confdefs.h <<EOF
1135
#define $ac_tr_func 1
1139
echo "$ac_t""no" 1>&6
3344
1143
for ac_func in sigprocmask
3346
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3347
echo "$as_me:$LINENO: checking for $ac_func" >&5
3348
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3349
if eval "test \"\${$as_ac_var+set}\" = set"; then
3350
echo $ECHO_N "(cached) $ECHO_C" >&6
1145
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1146
echo "configure:1147: checking for $ac_func" >&5
1147
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1148
echo $ac_n "(cached) $ac_c" 1>&6
3352
cat >conftest.$ac_ext <<_ACEOF
3355
cat confdefs.h >>conftest.$ac_ext
3356
cat >>conftest.$ac_ext <<_ACEOF
3357
/* end confdefs.h. */
3358
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3359
For example, HP-UX 11i <limits.h> declares gettimeofday. */
3360
#define $ac_func innocuous_$ac_func
1150
cat > conftest.$ac_ext <<EOF
1151
#line 1152 "configure"
1152
#include "confdefs.h"
3362
1153
/* System header to define __stub macros and hopefully few prototypes,
3363
which can conflict with char $ac_func (); below.
3364
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3365
<limits.h> exists even on freestanding compilers. */
3368
# include <limits.h>
3370
# include <assert.h>
1154
which can conflict with char $ac_func(); below. */
3375
1156
/* Override any gcc2 internal prototype to avoid an error. */
3380
1157
/* We use char because int might match the return type of a gcc2
3381
builtin and then its argument prototype would still apply. */
1158
builtin and then its argument prototype would still apply. */
3383
1163
/* The GNU C library defines this for functions which it implements
3384
1164
to always fail with ENOSYS. Some functions are actually named
3385
1165
something starting with __ and the normal name is an alias. */
3386
1166
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3389
char (*f) () = $ac_func;
3398
return f != $ac_func;
3403
rm -f conftest.$ac_objext conftest$ac_exeext
3404
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3405
(eval $ac_link) 2>conftest.er1
3407
grep -v '^ *+' conftest.er1 >conftest.err
3409
cat conftest.err >&5
3410
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411
(exit $ac_status); } &&
3412
{ ac_try='test -z "$ac_c_werror_flag"
3413
|| test ! -s conftest.err'
3414
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3417
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418
(exit $ac_status); }; } &&
3419
{ ac_try='test -s conftest$ac_exeext'
3420
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3423
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3424
(exit $ac_status); }; }; then
3425
eval "$as_ac_var=yes"
3427
echo "$as_me: failed program was:" >&5
3428
sed 's/^/| /' conftest.$ac_ext >&5
3430
eval "$as_ac_var=no"
3432
rm -f conftest.err conftest.$ac_objext \
3433
conftest$ac_exeext conftest.$ac_ext
3435
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3436
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3437
if test `eval echo '${'$as_ac_var'}'` = yes; then
3438
cat >>confdefs.h <<_ACEOF
3439
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1174
if { (eval echo configure:1175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1176
eval "ac_cv_func_$ac_func=yes"
1178
echo "configure: failed program was:" >&5
1179
cat conftest.$ac_ext >&5
1181
eval "ac_cv_func_$ac_func=no"
1186
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1187
echo "$ac_t""yes" 1>&6
1188
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1189
cat >> confdefs.h <<EOF
1190
#define $ac_tr_func 1
1194
echo "$ac_t""no" 1>&6
3446
echo "$as_me:$LINENO: checking for socket" >&5
3447
echo $ECHO_N "checking for socket... $ECHO_C" >&6
3448
if test "${ac_cv_func_socket+set}" = set; then
3449
echo $ECHO_N "(cached) $ECHO_C" >&6
1199
echo $ac_n "checking for socket""... $ac_c" 1>&6
1200
echo "configure:1201: checking for socket" >&5
1201
if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
1202
echo $ac_n "(cached) $ac_c" 1>&6
3451
cat >conftest.$ac_ext <<_ACEOF
3454
cat confdefs.h >>conftest.$ac_ext
3455
cat >>conftest.$ac_ext <<_ACEOF
3456
/* end confdefs.h. */
3457
/* Define socket to an innocuous variant, in case <limits.h> declares socket.
3458
For example, HP-UX 11i <limits.h> declares gettimeofday. */
3459
#define socket innocuous_socket
1204
cat > conftest.$ac_ext <<EOF
1205
#line 1206 "configure"
1206
#include "confdefs.h"
3461
1207
/* System header to define __stub macros and hopefully few prototypes,
3462
which can conflict with char socket (); below.
3463
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3464
<limits.h> exists even on freestanding compilers. */
3467
# include <limits.h>
3469
# include <assert.h>
1208
which can conflict with char socket(); below. */
3474
1210
/* Override any gcc2 internal prototype to avoid an error. */
3479
1211
/* We use char because int might match the return type of a gcc2
3480
builtin and then its argument prototype would still apply. */
1212
builtin and then its argument prototype would still apply. */
3482
1217
/* The GNU C library defines this for functions which it implements
3483
1218
to always fail with ENOSYS. Some functions are actually named
3484
1219
something starting with __ and the normal name is an alias. */
3485
1220
#if defined (__stub_socket) || defined (__stub___socket)
3488
char (*f) () = socket;
3502
rm -f conftest.$ac_objext conftest$ac_exeext
3503
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3504
(eval $ac_link) 2>conftest.er1
3506
grep -v '^ *+' conftest.er1 >conftest.err
3508
cat conftest.err >&5
3509
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3510
(exit $ac_status); } &&
3511
{ ac_try='test -z "$ac_c_werror_flag"
3512
|| test ! -s conftest.err'
3513
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3516
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517
(exit $ac_status); }; } &&
3518
{ ac_try='test -s conftest$ac_exeext'
3519
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3522
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523
(exit $ac_status); }; }; then
3524
ac_cv_func_socket=yes
3526
echo "$as_me: failed program was:" >&5
3527
sed 's/^/| /' conftest.$ac_ext >&5
3529
ac_cv_func_socket=no
3531
rm -f conftest.err conftest.$ac_objext \
3532
conftest$ac_exeext conftest.$ac_ext
3534
echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
3535
echo "${ECHO_T}$ac_cv_func_socket" >&6
1228
if { (eval echo configure:1229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1230
eval "ac_cv_func_socket=yes"
1232
echo "configure: failed program was:" >&5
1233
cat conftest.$ac_ext >&5
1235
eval "ac_cv_func_socket=no"
1240
if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
1241
echo "$ac_t""yes" 1>&6
1244
echo "$ac_t""no" 1>&6
3537
1247
case $ac_cv_func_socket in
3539
echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
3540
echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
3541
if test "${ac_cv_lib_socket_socket+set}" = set; then
3542
echo $ECHO_N "(cached) $ECHO_C" >&6
1248
no) echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
1249
echo "configure:1250: checking for socket in -lsocket" >&5
1250
ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
1251
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1252
echo $ac_n "(cached) $ac_c" 1>&6
3544
ac_check_lib_save_LIBS=$LIBS
1254
ac_save_LIBS="$LIBS"
3545
1255
LIBS="-lsocket $LIBS"
3546
cat >conftest.$ac_ext <<_ACEOF
3549
cat confdefs.h >>conftest.$ac_ext
3550
cat >>conftest.$ac_ext <<_ACEOF
3551
/* end confdefs.h. */
1256
cat > conftest.$ac_ext <<EOF
1257
#line 1258 "configure"
1258
#include "confdefs.h"
3553
1259
/* Override any gcc2 internal prototype to avoid an error. */
3557
1260
/* We use char because int might match the return type of a gcc2
3558
builtin and then its argument prototype would still apply. */
3568
rm -f conftest.$ac_objext conftest$ac_exeext
3569
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3570
(eval $ac_link) 2>conftest.er1
3572
grep -v '^ *+' conftest.er1 >conftest.err
3574
cat conftest.err >&5
3575
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3576
(exit $ac_status); } &&
3577
{ ac_try='test -z "$ac_c_werror_flag"
3578
|| test ! -s conftest.err'
3579
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3582
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3583
(exit $ac_status); }; } &&
3584
{ ac_try='test -s conftest$ac_exeext'
3585
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3588
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3589
(exit $ac_status); }; }; then
3590
ac_cv_lib_socket_socket=yes
1261
builtin and then its argument prototype would still apply. */
1268
if { (eval echo configure:1269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1270
eval "ac_cv_lib_$ac_lib_var=yes"
3592
echo "$as_me: failed program was:" >&5
3593
sed 's/^/| /' conftest.$ac_ext >&5
1272
echo "configure: failed program was:" >&5
1273
cat conftest.$ac_ext >&5
1275
eval "ac_cv_lib_$ac_lib_var=no"
1278
LIBS="$ac_save_LIBS"
3595
ac_cv_lib_socket_socket=no
3597
rm -f conftest.err conftest.$ac_objext \
3598
conftest$ac_exeext conftest.$ac_ext
3599
LIBS=$ac_check_lib_save_LIBS
3601
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3602
echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
3603
if test $ac_cv_lib_socket_socket = yes; then
3604
cat >>confdefs.h <<_ACEOF
3605
#define HAVE_LIBSOCKET 1
1281
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1282
echo "$ac_t""yes" 1>&6
1283
ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \
1284
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
1285
cat >> confdefs.h <<EOF
1286
#define $ac_tr_lib 1
3608
1289
LIBS="-lsocket $LIBS"
1292
echo "$ac_t""no" 1>&6
3613
echo "$as_me:$LINENO: checking for gethostbyname" >&5
3614
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3615
if test "${ac_cv_func_gethostbyname+set}" = set; then
3616
echo $ECHO_N "(cached) $ECHO_C" >&6
1296
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
1297
echo "configure:1298: checking for gethostbyname" >&5
1298
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
1299
echo $ac_n "(cached) $ac_c" 1>&6
3618
cat >conftest.$ac_ext <<_ACEOF
3621
cat confdefs.h >>conftest.$ac_ext
3622
cat >>conftest.$ac_ext <<_ACEOF
3623
/* end confdefs.h. */
3624
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3625
For example, HP-UX 11i <limits.h> declares gettimeofday. */
3626
#define gethostbyname innocuous_gethostbyname
1301
cat > conftest.$ac_ext <<EOF
1302
#line 1303 "configure"
1303
#include "confdefs.h"
3628
1304
/* System header to define __stub macros and hopefully few prototypes,
3629
which can conflict with char gethostbyname (); below.
3630
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3631
<limits.h> exists even on freestanding compilers. */
3634
# include <limits.h>
3636
# include <assert.h>
3639
#undef gethostbyname
1305
which can conflict with char gethostbyname(); below. */
3641
1307
/* Override any gcc2 internal prototype to avoid an error. */
3646
1308
/* We use char because int might match the return type of a gcc2
3647
builtin and then its argument prototype would still apply. */
3648
char gethostbyname ();
1309
builtin and then its argument prototype would still apply. */
1310
char gethostbyname();
3649
1314
/* The GNU C library defines this for functions which it implements
3650
1315
to always fail with ENOSYS. Some functions are actually named
3651
1316
something starting with __ and the normal name is an alias. */
3652
1317
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3655
char (*f) () = gethostbyname;
3664
return f != gethostbyname;
3669
rm -f conftest.$ac_objext conftest$ac_exeext
3670
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3671
(eval $ac_link) 2>conftest.er1
3673
grep -v '^ *+' conftest.er1 >conftest.err
3675
cat conftest.err >&5
3676
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3677
(exit $ac_status); } &&
3678
{ ac_try='test -z "$ac_c_werror_flag"
3679
|| test ! -s conftest.err'
3680
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3683
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3684
(exit $ac_status); }; } &&
3685
{ ac_try='test -s conftest$ac_exeext'
3686
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3689
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3690
(exit $ac_status); }; }; then
3691
ac_cv_func_gethostbyname=yes
3693
echo "$as_me: failed program was:" >&5
3694
sed 's/^/| /' conftest.$ac_ext >&5
3696
ac_cv_func_gethostbyname=no
3698
rm -f conftest.err conftest.$ac_objext \
3699
conftest$ac_exeext conftest.$ac_ext
3701
echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3702
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
1325
if { (eval echo configure:1326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1327
eval "ac_cv_func_gethostbyname=yes"
1329
echo "configure: failed program was:" >&5
1330
cat conftest.$ac_ext >&5
1332
eval "ac_cv_func_gethostbyname=no"
1337
if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
1338
echo "$ac_t""yes" 1>&6
1341
echo "$ac_t""no" 1>&6
3704
1344
case $ac_cv_func_gethostbyname in
3706
echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3707
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3708
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3709
echo $ECHO_N "(cached) $ECHO_C" >&6
1345
no) echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
1346
echo "configure:1347: checking for gethostbyname in -lnsl" >&5
1347
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
1348
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1349
echo $ac_n "(cached) $ac_c" 1>&6
3711
ac_check_lib_save_LIBS=$LIBS
1351
ac_save_LIBS="$LIBS"
3712
1352
LIBS="-lnsl $LIBS"
3713
cat >conftest.$ac_ext <<_ACEOF
3716
cat confdefs.h >>conftest.$ac_ext
3717
cat >>conftest.$ac_ext <<_ACEOF
3718
/* end confdefs.h. */
1353
cat > conftest.$ac_ext <<EOF
1354
#line 1355 "configure"
1355
#include "confdefs.h"
3720
1356
/* Override any gcc2 internal prototype to avoid an error. */
3724
1357
/* We use char because int might match the return type of a gcc2
3725
builtin and then its argument prototype would still apply. */
3726
char gethostbyname ();
3735
rm -f conftest.$ac_objext conftest$ac_exeext
3736
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3737
(eval $ac_link) 2>conftest.er1
3739
grep -v '^ *+' conftest.er1 >conftest.err
3741
cat conftest.err >&5
3742
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3743
(exit $ac_status); } &&
3744
{ ac_try='test -z "$ac_c_werror_flag"
3745
|| test ! -s conftest.err'
3746
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3749
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3750
(exit $ac_status); }; } &&
3751
{ ac_try='test -s conftest$ac_exeext'
3752
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3755
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3756
(exit $ac_status); }; }; then
3757
ac_cv_lib_nsl_gethostbyname=yes
1358
builtin and then its argument prototype would still apply. */
1359
char gethostbyname();
1365
if { (eval echo configure:1366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1367
eval "ac_cv_lib_$ac_lib_var=yes"
3759
echo "$as_me: failed program was:" >&5
3760
sed 's/^/| /' conftest.$ac_ext >&5
1369
echo "configure: failed program was:" >&5
1370
cat conftest.$ac_ext >&5
1372
eval "ac_cv_lib_$ac_lib_var=no"
1375
LIBS="$ac_save_LIBS"
3762
ac_cv_lib_nsl_gethostbyname=no
3764
rm -f conftest.err conftest.$ac_objext \
3765
conftest$ac_exeext conftest.$ac_ext
3766
LIBS=$ac_check_lib_save_LIBS
3768
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3769
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3770
if test $ac_cv_lib_nsl_gethostbyname = yes; then
3771
cat >>confdefs.h <<_ACEOF
3772
#define HAVE_LIBNSL 1
1378
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1379
echo "$ac_t""yes" 1>&6
1380
ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
1381
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
1382
cat >> confdefs.h <<EOF
1383
#define $ac_tr_lib 1
3775
1386
LIBS="-lnsl $LIBS"
1389
echo "$ac_t""no" 1>&6
3781
1393
for ac_func in setproctitle
3783
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3784
echo "$as_me:$LINENO: checking for $ac_func" >&5
3785
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3786
if eval "test \"\${$as_ac_var+set}\" = set"; then
3787
echo $ECHO_N "(cached) $ECHO_C" >&6
1395
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1396
echo "configure:1397: checking for $ac_func" >&5
1397
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1398
echo $ac_n "(cached) $ac_c" 1>&6
3789
cat >conftest.$ac_ext <<_ACEOF
3792
cat confdefs.h >>conftest.$ac_ext
3793
cat >>conftest.$ac_ext <<_ACEOF
3794
/* end confdefs.h. */
3795
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3796
For example, HP-UX 11i <limits.h> declares gettimeofday. */
3797
#define $ac_func innocuous_$ac_func
1400
cat > conftest.$ac_ext <<EOF
1401
#line 1402 "configure"
1402
#include "confdefs.h"
3799
1403
/* System header to define __stub macros and hopefully few prototypes,
3800
which can conflict with char $ac_func (); below.
3801
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3802
<limits.h> exists even on freestanding compilers. */
3805
# include <limits.h>
3807
# include <assert.h>
1404
which can conflict with char $ac_func(); below. */
3812
1406
/* Override any gcc2 internal prototype to avoid an error. */
3817
1407
/* We use char because int might match the return type of a gcc2
3818
builtin and then its argument prototype would still apply. */
1408
builtin and then its argument prototype would still apply. */
3820
1413
/* The GNU C library defines this for functions which it implements
3821
1414
to always fail with ENOSYS. Some functions are actually named
3822
1415
something starting with __ and the normal name is an alias. */
3823
1416
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3826
char (*f) () = $ac_func;
3835
return f != $ac_func;
3840
rm -f conftest.$ac_objext conftest$ac_exeext
3841
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3842
(eval $ac_link) 2>conftest.er1
3844
grep -v '^ *+' conftest.er1 >conftest.err
3846
cat conftest.err >&5
3847
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3848
(exit $ac_status); } &&
3849
{ ac_try='test -z "$ac_c_werror_flag"
3850
|| test ! -s conftest.err'
3851
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3854
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3855
(exit $ac_status); }; } &&
3856
{ ac_try='test -s conftest$ac_exeext'
3857
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3860
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3861
(exit $ac_status); }; }; then
3862
eval "$as_ac_var=yes"
3864
echo "$as_me: failed program was:" >&5
3865
sed 's/^/| /' conftest.$ac_ext >&5
3867
eval "$as_ac_var=no"
3869
rm -f conftest.err conftest.$ac_objext \
3870
conftest$ac_exeext conftest.$ac_ext
3872
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3873
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3874
if test `eval echo '${'$as_ac_var'}'` = yes; then
3875
cat >>confdefs.h <<_ACEOF
3876
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1424
if { (eval echo configure:1425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1426
eval "ac_cv_func_$ac_func=yes"
1428
echo "configure: failed program was:" >&5
1429
cat conftest.$ac_ext >&5
1431
eval "ac_cv_func_$ac_func=no"
1436
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1437
echo "$ac_t""yes" 1>&6
1438
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1439
cat >> confdefs.h <<EOF
1440
#define $ac_tr_func 1
1444
echo "$ac_t""no" 1>&6
3882
1448
case $ac_cv_func_setproctitle in
3883
no) echo "$as_me:$LINENO: checking for setproctitle in -lutil" >&5
3884
echo $ECHO_N "checking for setproctitle in -lutil... $ECHO_C" >&6
3885
if test "${ac_cv_lib_util_setproctitle+set}" = set; then
3886
echo $ECHO_N "(cached) $ECHO_C" >&6
1449
no) echo $ac_n "checking for setproctitle in -lutil""... $ac_c" 1>&6
1450
echo "configure:1451: checking for setproctitle in -lutil" >&5
1451
ac_lib_var=`echo util'_'setproctitle | sed 'y%./+-%__p_%'`
1452
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1453
echo $ac_n "(cached) $ac_c" 1>&6
3888
ac_check_lib_save_LIBS=$LIBS
1455
ac_save_LIBS="$LIBS"
3889
1456
LIBS="-lutil $LIBS"
3890
cat >conftest.$ac_ext <<_ACEOF
3893
cat confdefs.h >>conftest.$ac_ext
3894
cat >>conftest.$ac_ext <<_ACEOF
3895
/* end confdefs.h. */
1457
cat > conftest.$ac_ext <<EOF
1458
#line 1459 "configure"
1459
#include "confdefs.h"
3897
1460
/* Override any gcc2 internal prototype to avoid an error. */
3901
1461
/* We use char because int might match the return type of a gcc2
3902
builtin and then its argument prototype would still apply. */
3903
char setproctitle ();
3912
rm -f conftest.$ac_objext conftest$ac_exeext
3913
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3914
(eval $ac_link) 2>conftest.er1
3916
grep -v '^ *+' conftest.er1 >conftest.err
3918
cat conftest.err >&5
3919
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920
(exit $ac_status); } &&
3921
{ ac_try='test -z "$ac_c_werror_flag"
3922
|| test ! -s conftest.err'
3923
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3926
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3927
(exit $ac_status); }; } &&
3928
{ ac_try='test -s conftest$ac_exeext'
3929
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3932
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3933
(exit $ac_status); }; }; then
3934
ac_cv_lib_util_setproctitle=yes
1462
builtin and then its argument prototype would still apply. */
1463
char setproctitle();
1469
if { (eval echo configure:1470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1471
eval "ac_cv_lib_$ac_lib_var=yes"
3936
echo "$as_me: failed program was:" >&5
3937
sed 's/^/| /' conftest.$ac_ext >&5
1473
echo "configure: failed program was:" >&5
1474
cat conftest.$ac_ext >&5
1476
eval "ac_cv_lib_$ac_lib_var=no"
1479
LIBS="$ac_save_LIBS"
3939
ac_cv_lib_util_setproctitle=no
3941
rm -f conftest.err conftest.$ac_objext \
3942
conftest$ac_exeext conftest.$ac_ext
3943
LIBS=$ac_check_lib_save_LIBS
3945
echo "$as_me:$LINENO: result: $ac_cv_lib_util_setproctitle" >&5
3946
echo "${ECHO_T}$ac_cv_lib_util_setproctitle" >&6
3947
if test $ac_cv_lib_util_setproctitle = yes; then
3948
cat >>confdefs.h <<\_ACEOF
1482
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1483
echo "$ac_t""yes" 1>&6
1484
cat >> confdefs.h <<\EOF
3949
1485
#define HAVE_SETPROCTITLE 1
3951
1487
LIBS="$LIBS -lutil"
1489
echo "$ac_t""no" 1>&6
3955
echo "$as_me:$LINENO: checking for short" >&5
3956
echo $ECHO_N "checking for short... $ECHO_C" >&6
3957
if test "${ac_cv_type_short+set}" = set; then
3958
echo $ECHO_N "(cached) $ECHO_C" >&6
3960
cat >conftest.$ac_ext <<_ACEOF
3963
cat confdefs.h >>conftest.$ac_ext
3964
cat >>conftest.$ac_ext <<_ACEOF
3965
/* end confdefs.h. */
3966
$ac_includes_default
3978
rm -f conftest.$ac_objext
3979
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3980
(eval $ac_compile) 2>conftest.er1
3982
grep -v '^ *+' conftest.er1 >conftest.err
3984
cat conftest.err >&5
3985
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3986
(exit $ac_status); } &&
3987
{ ac_try='test -z "$ac_c_werror_flag"
3988
|| test ! -s conftest.err'
3989
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3992
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3993
(exit $ac_status); }; } &&
3994
{ ac_try='test -s conftest.$ac_objext'
3995
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3998
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3999
(exit $ac_status); }; }; then
4000
ac_cv_type_short=yes
4002
echo "$as_me: failed program was:" >&5
4003
sed 's/^/| /' conftest.$ac_ext >&5
4007
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4009
echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
4010
echo "${ECHO_T}$ac_cv_type_short" >&6
4012
echo "$as_me:$LINENO: checking size of short" >&5
4013
echo $ECHO_N "checking size of short... $ECHO_C" >&6
4014
if test "${ac_cv_sizeof_short+set}" = set; then
4015
echo $ECHO_N "(cached) $ECHO_C" >&6
4017
if test "$ac_cv_type_short" = yes; then
4018
# The cast to unsigned long works around a bug in the HP C Compiler
4019
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4020
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4021
# This bug is HP SR number 8606223364.
4022
if test "$cross_compiling" = yes; then
4023
# Depending upon the size, compute the lo and hi bounds.
4024
cat >conftest.$ac_ext <<_ACEOF
4027
cat confdefs.h >>conftest.$ac_ext
4028
cat >>conftest.$ac_ext <<_ACEOF
4029
/* end confdefs.h. */
4030
$ac_includes_default
4034
static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
4041
rm -f conftest.$ac_objext
4042
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4043
(eval $ac_compile) 2>conftest.er1
4045
grep -v '^ *+' conftest.er1 >conftest.err
4047
cat conftest.err >&5
4048
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4049
(exit $ac_status); } &&
4050
{ ac_try='test -z "$ac_c_werror_flag"
4051
|| test ! -s conftest.err'
4052
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4055
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4056
(exit $ac_status); }; } &&
4057
{ ac_try='test -s conftest.$ac_objext'
4058
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4061
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4062
(exit $ac_status); }; }; then
4065
cat >conftest.$ac_ext <<_ACEOF
4068
cat confdefs.h >>conftest.$ac_ext
4069
cat >>conftest.$ac_ext <<_ACEOF
4070
/* end confdefs.h. */
4071
$ac_includes_default
4075
static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
4082
rm -f conftest.$ac_objext
4083
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4084
(eval $ac_compile) 2>conftest.er1
4086
grep -v '^ *+' conftest.er1 >conftest.err
4088
cat conftest.err >&5
4089
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090
(exit $ac_status); } &&
4091
{ ac_try='test -z "$ac_c_werror_flag"
4092
|| test ! -s conftest.err'
4093
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4096
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4097
(exit $ac_status); }; } &&
4098
{ ac_try='test -s conftest.$ac_objext'
4099
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4102
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4103
(exit $ac_status); }; }; then
4104
ac_hi=$ac_mid; break
4106
echo "$as_me: failed program was:" >&5
4107
sed 's/^/| /' conftest.$ac_ext >&5
4109
ac_lo=`expr $ac_mid + 1`
4110
if test $ac_lo -le $ac_mid; then
4114
ac_mid=`expr 2 '*' $ac_mid + 1`
4116
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4119
echo "$as_me: failed program was:" >&5
4120
sed 's/^/| /' conftest.$ac_ext >&5
4122
cat >conftest.$ac_ext <<_ACEOF
4125
cat confdefs.h >>conftest.$ac_ext
4126
cat >>conftest.$ac_ext <<_ACEOF
4127
/* end confdefs.h. */
4128
$ac_includes_default
4132
static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
4139
rm -f conftest.$ac_objext
4140
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4141
(eval $ac_compile) 2>conftest.er1
4143
grep -v '^ *+' conftest.er1 >conftest.err
4145
cat conftest.err >&5
4146
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4147
(exit $ac_status); } &&
4148
{ ac_try='test -z "$ac_c_werror_flag"
4149
|| test ! -s conftest.err'
4150
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4153
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4154
(exit $ac_status); }; } &&
4155
{ ac_try='test -s conftest.$ac_objext'
4156
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4159
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4160
(exit $ac_status); }; }; then
4163
cat >conftest.$ac_ext <<_ACEOF
4166
cat confdefs.h >>conftest.$ac_ext
4167
cat >>conftest.$ac_ext <<_ACEOF
4168
/* end confdefs.h. */
4169
$ac_includes_default
4173
static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
4180
rm -f conftest.$ac_objext
4181
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4182
(eval $ac_compile) 2>conftest.er1
4184
grep -v '^ *+' conftest.er1 >conftest.err
4186
cat conftest.err >&5
4187
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188
(exit $ac_status); } &&
4189
{ ac_try='test -z "$ac_c_werror_flag"
4190
|| test ! -s conftest.err'
4191
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4194
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4195
(exit $ac_status); }; } &&
4196
{ ac_try='test -s conftest.$ac_objext'
4197
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4200
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201
(exit $ac_status); }; }; then
4202
ac_lo=$ac_mid; break
4204
echo "$as_me: failed program was:" >&5
4205
sed 's/^/| /' conftest.$ac_ext >&5
4207
ac_hi=`expr '(' $ac_mid ')' - 1`
4208
if test $ac_mid -le $ac_hi; then
4212
ac_mid=`expr 2 '*' $ac_mid`
4214
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4217
echo "$as_me: failed program was:" >&5
4218
sed 's/^/| /' conftest.$ac_ext >&5
4222
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4224
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4225
# Binary search between lo and hi bounds.
4226
while test "x$ac_lo" != "x$ac_hi"; do
4227
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4228
cat >conftest.$ac_ext <<_ACEOF
4231
cat confdefs.h >>conftest.$ac_ext
4232
cat >>conftest.$ac_ext <<_ACEOF
4233
/* end confdefs.h. */
4234
$ac_includes_default
4238
static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
4245
rm -f conftest.$ac_objext
4246
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4247
(eval $ac_compile) 2>conftest.er1
4249
grep -v '^ *+' conftest.er1 >conftest.err
4251
cat conftest.err >&5
4252
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4253
(exit $ac_status); } &&
4254
{ ac_try='test -z "$ac_c_werror_flag"
4255
|| test ! -s conftest.err'
4256
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4259
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4260
(exit $ac_status); }; } &&
4261
{ ac_try='test -s conftest.$ac_objext'
4262
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4265
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4266
(exit $ac_status); }; }; then
4269
echo "$as_me: failed program was:" >&5
4270
sed 's/^/| /' conftest.$ac_ext >&5
4272
ac_lo=`expr '(' $ac_mid ')' + 1`
4274
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4277
?*) ac_cv_sizeof_short=$ac_lo;;
4278
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
4279
See \`config.log' for more details." >&5
4280
echo "$as_me: error: cannot compute sizeof (short), 77
4281
See \`config.log' for more details." >&2;}
4282
{ (exit 1); exit 1; }; } ;;
4285
if test "$cross_compiling" = yes; then
4286
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4287
See \`config.log' for more details." >&5
4288
echo "$as_me: error: cannot run test program while cross compiling
4289
See \`config.log' for more details." >&2;}
4290
{ (exit 1); exit 1; }; }
4292
cat >conftest.$ac_ext <<_ACEOF
4295
cat confdefs.h >>conftest.$ac_ext
4296
cat >>conftest.$ac_ext <<_ACEOF
4297
/* end confdefs.h. */
4298
$ac_includes_default
4299
long longval () { return (long) (sizeof (short)); }
4300
unsigned long ulongval () { return (long) (sizeof (short)); }
1493
echo $ac_n "checking size of short""... $ac_c" 1>&6
1494
echo "configure:1495: checking size of short" >&5
1495
if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
1496
echo $ac_n "(cached) $ac_c" 1>&6
1498
if test "$cross_compiling" = yes; then
1499
ac_cv_sizeof_short=0
1501
cat > conftest.$ac_ext <<EOF
1502
#line 1503 "configure"
1503
#include "confdefs.h"
4301
1504
#include <stdio.h>
4307
FILE *f = fopen ("conftest.val", "w");
4310
if (((long) (sizeof (short))) < 0)
4312
long i = longval ();
4313
if (i != ((long) (sizeof (short))))
4315
fprintf (f, "%ld\n", i);
4319
unsigned long i = ulongval ();
4320
if (i != ((long) (sizeof (short))))
4322
fprintf (f, "%lu\n", i);
4324
exit (ferror (f) || fclose (f) != 0);
1507
FILE *f=fopen("conftestval", "w");
1509
fprintf(f, "%d\n", sizeof(short));
4330
rm -f conftest$ac_exeext
4331
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4332
(eval $ac_link) 2>&5
4334
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4335
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4336
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4339
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4340
(exit $ac_status); }; }; then
4341
ac_cv_sizeof_short=`cat conftest.val`
4343
echo "$as_me: program exited with status $ac_status" >&5
4344
echo "$as_me: failed program was:" >&5
4345
sed 's/^/| /' conftest.$ac_ext >&5
4348
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
4349
See \`config.log' for more details." >&5
4350
echo "$as_me: error: cannot compute sizeof (short), 77
4351
See \`config.log' for more details." >&2;}
4352
{ (exit 1); exit 1; }; }
4354
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1513
if { (eval echo configure:1514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1515
ac_cv_sizeof_short=`cat conftestval`
1517
echo "configure: failed program was:" >&5
1518
cat conftest.$ac_ext >&5
4359
1520
ac_cv_sizeof_short=0
4362
echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
4363
echo "${ECHO_T}$ac_cv_sizeof_short" >&6
4364
cat >>confdefs.h <<_ACEOF
1526
echo "$ac_t""$ac_cv_sizeof_short" 1>&6
1527
cat >> confdefs.h <<EOF
4365
1528
#define SIZEOF_SHORT $ac_cv_sizeof_short
4369
echo "$as_me:$LINENO: checking for int" >&5
4370
echo $ECHO_N "checking for int... $ECHO_C" >&6
4371
if test "${ac_cv_type_int+set}" = set; then
4372
echo $ECHO_N "(cached) $ECHO_C" >&6
4374
cat >conftest.$ac_ext <<_ACEOF
4377
cat confdefs.h >>conftest.$ac_ext
4378
cat >>conftest.$ac_ext <<_ACEOF
4379
/* end confdefs.h. */
4380
$ac_includes_default
4392
rm -f conftest.$ac_objext
4393
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4394
(eval $ac_compile) 2>conftest.er1
4396
grep -v '^ *+' conftest.er1 >conftest.err
4398
cat conftest.err >&5
4399
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4400
(exit $ac_status); } &&
4401
{ ac_try='test -z "$ac_c_werror_flag"
4402
|| test ! -s conftest.err'
4403
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4406
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4407
(exit $ac_status); }; } &&
4408
{ ac_try='test -s conftest.$ac_objext'
4409
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4412
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4413
(exit $ac_status); }; }; then
4416
echo "$as_me: failed program was:" >&5
4417
sed 's/^/| /' conftest.$ac_ext >&5
4421
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4423
echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
4424
echo "${ECHO_T}$ac_cv_type_int" >&6
4426
echo "$as_me:$LINENO: checking size of int" >&5
4427
echo $ECHO_N "checking size of int... $ECHO_C" >&6
4428
if test "${ac_cv_sizeof_int+set}" = set; then
4429
echo $ECHO_N "(cached) $ECHO_C" >&6
4431
if test "$ac_cv_type_int" = yes; then
4432
# The cast to unsigned long works around a bug in the HP C Compiler
4433
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4434
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4435
# This bug is HP SR number 8606223364.
4436
if test "$cross_compiling" = yes; then
4437
# Depending upon the size, compute the lo and hi bounds.
4438
cat >conftest.$ac_ext <<_ACEOF
4441
cat confdefs.h >>conftest.$ac_ext
4442
cat >>conftest.$ac_ext <<_ACEOF
4443
/* end confdefs.h. */
4444
$ac_includes_default
4448
static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
4455
rm -f conftest.$ac_objext
4456
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4457
(eval $ac_compile) 2>conftest.er1
4459
grep -v '^ *+' conftest.er1 >conftest.err
4461
cat conftest.err >&5
4462
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4463
(exit $ac_status); } &&
4464
{ ac_try='test -z "$ac_c_werror_flag"
4465
|| test ! -s conftest.err'
4466
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4469
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4470
(exit $ac_status); }; } &&
4471
{ ac_try='test -s conftest.$ac_objext'
4472
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4475
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4476
(exit $ac_status); }; }; then
4479
cat >conftest.$ac_ext <<_ACEOF
4482
cat confdefs.h >>conftest.$ac_ext
4483
cat >>conftest.$ac_ext <<_ACEOF
4484
/* end confdefs.h. */
4485
$ac_includes_default
4489
static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4496
rm -f conftest.$ac_objext
4497
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4498
(eval $ac_compile) 2>conftest.er1
4500
grep -v '^ *+' conftest.er1 >conftest.err
4502
cat conftest.err >&5
4503
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4504
(exit $ac_status); } &&
4505
{ ac_try='test -z "$ac_c_werror_flag"
4506
|| test ! -s conftest.err'
4507
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4510
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4511
(exit $ac_status); }; } &&
4512
{ ac_try='test -s conftest.$ac_objext'
4513
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4516
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4517
(exit $ac_status); }; }; then
4518
ac_hi=$ac_mid; break
4520
echo "$as_me: failed program was:" >&5
4521
sed 's/^/| /' conftest.$ac_ext >&5
4523
ac_lo=`expr $ac_mid + 1`
4524
if test $ac_lo -le $ac_mid; then
4528
ac_mid=`expr 2 '*' $ac_mid + 1`
4530
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4533
echo "$as_me: failed program was:" >&5
4534
sed 's/^/| /' conftest.$ac_ext >&5
4536
cat >conftest.$ac_ext <<_ACEOF
4539
cat confdefs.h >>conftest.$ac_ext
4540
cat >>conftest.$ac_ext <<_ACEOF
4541
/* end confdefs.h. */
4542
$ac_includes_default
4546
static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
4553
rm -f conftest.$ac_objext
4554
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4555
(eval $ac_compile) 2>conftest.er1
4557
grep -v '^ *+' conftest.er1 >conftest.err
4559
cat conftest.err >&5
4560
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4561
(exit $ac_status); } &&
4562
{ ac_try='test -z "$ac_c_werror_flag"
4563
|| test ! -s conftest.err'
4564
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4567
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568
(exit $ac_status); }; } &&
4569
{ ac_try='test -s conftest.$ac_objext'
4570
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4573
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4574
(exit $ac_status); }; }; then
4577
cat >conftest.$ac_ext <<_ACEOF
4580
cat confdefs.h >>conftest.$ac_ext
4581
cat >>conftest.$ac_ext <<_ACEOF
4582
/* end confdefs.h. */
4583
$ac_includes_default
4587
static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
4594
rm -f conftest.$ac_objext
4595
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4596
(eval $ac_compile) 2>conftest.er1
4598
grep -v '^ *+' conftest.er1 >conftest.err
4600
cat conftest.err >&5
4601
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4602
(exit $ac_status); } &&
4603
{ ac_try='test -z "$ac_c_werror_flag"
4604
|| test ! -s conftest.err'
4605
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4608
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609
(exit $ac_status); }; } &&
4610
{ ac_try='test -s conftest.$ac_objext'
4611
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4614
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4615
(exit $ac_status); }; }; then
4616
ac_lo=$ac_mid; break
4618
echo "$as_me: failed program was:" >&5
4619
sed 's/^/| /' conftest.$ac_ext >&5
4621
ac_hi=`expr '(' $ac_mid ')' - 1`
4622
if test $ac_mid -le $ac_hi; then
4626
ac_mid=`expr 2 '*' $ac_mid`
4628
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4631
echo "$as_me: failed program was:" >&5
4632
sed 's/^/| /' conftest.$ac_ext >&5
4636
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4638
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4639
# Binary search between lo and hi bounds.
4640
while test "x$ac_lo" != "x$ac_hi"; do
4641
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4642
cat >conftest.$ac_ext <<_ACEOF
4645
cat confdefs.h >>conftest.$ac_ext
4646
cat >>conftest.$ac_ext <<_ACEOF
4647
/* end confdefs.h. */
4648
$ac_includes_default
4652
static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4659
rm -f conftest.$ac_objext
4660
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4661
(eval $ac_compile) 2>conftest.er1
4663
grep -v '^ *+' conftest.er1 >conftest.err
4665
cat conftest.err >&5
4666
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4667
(exit $ac_status); } &&
4668
{ ac_try='test -z "$ac_c_werror_flag"
4669
|| test ! -s conftest.err'
4670
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4673
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4674
(exit $ac_status); }; } &&
4675
{ ac_try='test -s conftest.$ac_objext'
4676
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4679
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4680
(exit $ac_status); }; }; then
4683
echo "$as_me: failed program was:" >&5
4684
sed 's/^/| /' conftest.$ac_ext >&5
4686
ac_lo=`expr '(' $ac_mid ')' + 1`
4688
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4691
?*) ac_cv_sizeof_int=$ac_lo;;
4692
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4693
See \`config.log' for more details." >&5
4694
echo "$as_me: error: cannot compute sizeof (int), 77
4695
See \`config.log' for more details." >&2;}
4696
{ (exit 1); exit 1; }; } ;;
4699
if test "$cross_compiling" = yes; then
4700
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4701
See \`config.log' for more details." >&5
4702
echo "$as_me: error: cannot run test program while cross compiling
4703
See \`config.log' for more details." >&2;}
4704
{ (exit 1); exit 1; }; }
4706
cat >conftest.$ac_ext <<_ACEOF
4709
cat confdefs.h >>conftest.$ac_ext
4710
cat >>conftest.$ac_ext <<_ACEOF
4711
/* end confdefs.h. */
4712
$ac_includes_default
4713
long longval () { return (long) (sizeof (int)); }
4714
unsigned long ulongval () { return (long) (sizeof (int)); }
1532
echo $ac_n "checking size of int""... $ac_c" 1>&6
1533
echo "configure:1534: checking size of int" >&5
1534
if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
1535
echo $ac_n "(cached) $ac_c" 1>&6
1537
if test "$cross_compiling" = yes; then
1540
cat > conftest.$ac_ext <<EOF
1541
#line 1542 "configure"
1542
#include "confdefs.h"
4715
1543
#include <stdio.h>
4721
FILE *f = fopen ("conftest.val", "w");
4724
if (((long) (sizeof (int))) < 0)
4726
long i = longval ();
4727
if (i != ((long) (sizeof (int))))
4729
fprintf (f, "%ld\n", i);
4733
unsigned long i = ulongval ();
4734
if (i != ((long) (sizeof (int))))
4736
fprintf (f, "%lu\n", i);
4738
exit (ferror (f) || fclose (f) != 0);
1546
FILE *f=fopen("conftestval", "w");
1548
fprintf(f, "%d\n", sizeof(int));
4744
rm -f conftest$ac_exeext
4745
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4746
(eval $ac_link) 2>&5
4748
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4750
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4753
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4754
(exit $ac_status); }; }; then
4755
ac_cv_sizeof_int=`cat conftest.val`
4757
echo "$as_me: program exited with status $ac_status" >&5
4758
echo "$as_me: failed program was:" >&5
4759
sed 's/^/| /' conftest.$ac_ext >&5
4762
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4763
See \`config.log' for more details." >&5
4764
echo "$as_me: error: cannot compute sizeof (int), 77
4765
See \`config.log' for more details." >&2;}
4766
{ (exit 1); exit 1; }; }
4768
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1552
if { (eval echo configure:1553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1554
ac_cv_sizeof_int=`cat conftestval`
1556
echo "configure: failed program was:" >&5
1557
cat conftest.$ac_ext >&5
4773
1559
ac_cv_sizeof_int=0
4776
echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
4777
echo "${ECHO_T}$ac_cv_sizeof_int" >&6
4778
cat >>confdefs.h <<_ACEOF
1565
echo "$ac_t""$ac_cv_sizeof_int" 1>&6
1566
cat >> confdefs.h <<EOF
4779
1567
#define SIZEOF_INT $ac_cv_sizeof_int
4783
echo "$as_me:$LINENO: checking for long" >&5
4784
echo $ECHO_N "checking for long... $ECHO_C" >&6
4785
if test "${ac_cv_type_long+set}" = set; then
4786
echo $ECHO_N "(cached) $ECHO_C" >&6
4788
cat >conftest.$ac_ext <<_ACEOF
4791
cat confdefs.h >>conftest.$ac_ext
4792
cat >>conftest.$ac_ext <<_ACEOF
4793
/* end confdefs.h. */
4794
$ac_includes_default
4806
rm -f conftest.$ac_objext
4807
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4808
(eval $ac_compile) 2>conftest.er1
4810
grep -v '^ *+' conftest.er1 >conftest.err
4812
cat conftest.err >&5
4813
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4814
(exit $ac_status); } &&
4815
{ ac_try='test -z "$ac_c_werror_flag"
4816
|| test ! -s conftest.err'
4817
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4820
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4821
(exit $ac_status); }; } &&
4822
{ ac_try='test -s conftest.$ac_objext'
4823
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4826
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4827
(exit $ac_status); }; }; then
4830
echo "$as_me: failed program was:" >&5
4831
sed 's/^/| /' conftest.$ac_ext >&5
4835
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4837
echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
4838
echo "${ECHO_T}$ac_cv_type_long" >&6
4840
echo "$as_me:$LINENO: checking size of long" >&5
4841
echo $ECHO_N "checking size of long... $ECHO_C" >&6
4842
if test "${ac_cv_sizeof_long+set}" = set; then
4843
echo $ECHO_N "(cached) $ECHO_C" >&6
4845
if test "$ac_cv_type_long" = yes; then
4846
# The cast to unsigned long works around a bug in the HP C Compiler
4847
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4848
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4849
# This bug is HP SR number 8606223364.
4850
if test "$cross_compiling" = yes; then
4851
# Depending upon the size, compute the lo and hi bounds.
4852
cat >conftest.$ac_ext <<_ACEOF
4855
cat confdefs.h >>conftest.$ac_ext
4856
cat >>conftest.$ac_ext <<_ACEOF
4857
/* end confdefs.h. */
4858
$ac_includes_default
4862
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
4869
rm -f conftest.$ac_objext
4870
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4871
(eval $ac_compile) 2>conftest.er1
4873
grep -v '^ *+' conftest.er1 >conftest.err
4875
cat conftest.err >&5
4876
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4877
(exit $ac_status); } &&
4878
{ ac_try='test -z "$ac_c_werror_flag"
4879
|| test ! -s conftest.err'
4880
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4883
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4884
(exit $ac_status); }; } &&
4885
{ ac_try='test -s conftest.$ac_objext'
4886
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4889
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4890
(exit $ac_status); }; }; then
4893
cat >conftest.$ac_ext <<_ACEOF
4896
cat confdefs.h >>conftest.$ac_ext
4897
cat >>conftest.$ac_ext <<_ACEOF
4898
/* end confdefs.h. */
4899
$ac_includes_default
4903
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4910
rm -f conftest.$ac_objext
4911
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4912
(eval $ac_compile) 2>conftest.er1
4914
grep -v '^ *+' conftest.er1 >conftest.err
4916
cat conftest.err >&5
4917
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4918
(exit $ac_status); } &&
4919
{ ac_try='test -z "$ac_c_werror_flag"
4920
|| test ! -s conftest.err'
4921
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4924
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925
(exit $ac_status); }; } &&
4926
{ ac_try='test -s conftest.$ac_objext'
4927
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4930
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4931
(exit $ac_status); }; }; then
4932
ac_hi=$ac_mid; break
4934
echo "$as_me: failed program was:" >&5
4935
sed 's/^/| /' conftest.$ac_ext >&5
4937
ac_lo=`expr $ac_mid + 1`
4938
if test $ac_lo -le $ac_mid; then
4942
ac_mid=`expr 2 '*' $ac_mid + 1`
4944
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4947
echo "$as_me: failed program was:" >&5
4948
sed 's/^/| /' conftest.$ac_ext >&5
4950
cat >conftest.$ac_ext <<_ACEOF
4953
cat confdefs.h >>conftest.$ac_ext
4954
cat >>conftest.$ac_ext <<_ACEOF
4955
/* end confdefs.h. */
4956
$ac_includes_default
4960
static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
4967
rm -f conftest.$ac_objext
4968
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4969
(eval $ac_compile) 2>conftest.er1
4971
grep -v '^ *+' conftest.er1 >conftest.err
4973
cat conftest.err >&5
4974
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4975
(exit $ac_status); } &&
4976
{ ac_try='test -z "$ac_c_werror_flag"
4977
|| test ! -s conftest.err'
4978
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4981
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4982
(exit $ac_status); }; } &&
4983
{ ac_try='test -s conftest.$ac_objext'
4984
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4987
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4988
(exit $ac_status); }; }; then
4991
cat >conftest.$ac_ext <<_ACEOF
4994
cat confdefs.h >>conftest.$ac_ext
4995
cat >>conftest.$ac_ext <<_ACEOF
4996
/* end confdefs.h. */
4997
$ac_includes_default
5001
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
5008
rm -f conftest.$ac_objext
5009
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5010
(eval $ac_compile) 2>conftest.er1
5012
grep -v '^ *+' conftest.er1 >conftest.err
5014
cat conftest.err >&5
5015
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5016
(exit $ac_status); } &&
5017
{ ac_try='test -z "$ac_c_werror_flag"
5018
|| test ! -s conftest.err'
5019
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5022
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5023
(exit $ac_status); }; } &&
5024
{ ac_try='test -s conftest.$ac_objext'
5025
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5028
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5029
(exit $ac_status); }; }; then
5030
ac_lo=$ac_mid; break
5032
echo "$as_me: failed program was:" >&5
5033
sed 's/^/| /' conftest.$ac_ext >&5
5035
ac_hi=`expr '(' $ac_mid ')' - 1`
5036
if test $ac_mid -le $ac_hi; then
5040
ac_mid=`expr 2 '*' $ac_mid`
5042
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5045
echo "$as_me: failed program was:" >&5
5046
sed 's/^/| /' conftest.$ac_ext >&5
5050
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5052
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5053
# Binary search between lo and hi bounds.
5054
while test "x$ac_lo" != "x$ac_hi"; do
5055
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5056
cat >conftest.$ac_ext <<_ACEOF
5059
cat confdefs.h >>conftest.$ac_ext
5060
cat >>conftest.$ac_ext <<_ACEOF
5061
/* end confdefs.h. */
5062
$ac_includes_default
5066
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
5073
rm -f conftest.$ac_objext
5074
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5075
(eval $ac_compile) 2>conftest.er1
5077
grep -v '^ *+' conftest.er1 >conftest.err
5079
cat conftest.err >&5
5080
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5081
(exit $ac_status); } &&
5082
{ ac_try='test -z "$ac_c_werror_flag"
5083
|| test ! -s conftest.err'
5084
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5087
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5088
(exit $ac_status); }; } &&
5089
{ ac_try='test -s conftest.$ac_objext'
5090
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5093
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5094
(exit $ac_status); }; }; then
5097
echo "$as_me: failed program was:" >&5
5098
sed 's/^/| /' conftest.$ac_ext >&5
5100
ac_lo=`expr '(' $ac_mid ')' + 1`
5102
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5105
?*) ac_cv_sizeof_long=$ac_lo;;
5106
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
5107
See \`config.log' for more details." >&5
5108
echo "$as_me: error: cannot compute sizeof (long), 77
5109
See \`config.log' for more details." >&2;}
5110
{ (exit 1); exit 1; }; } ;;
5113
if test "$cross_compiling" = yes; then
5114
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5115
See \`config.log' for more details." >&5
5116
echo "$as_me: error: cannot run test program while cross compiling
5117
See \`config.log' for more details." >&2;}
5118
{ (exit 1); exit 1; }; }
5120
cat >conftest.$ac_ext <<_ACEOF
5123
cat confdefs.h >>conftest.$ac_ext
5124
cat >>conftest.$ac_ext <<_ACEOF
5125
/* end confdefs.h. */
5126
$ac_includes_default
5127
long longval () { return (long) (sizeof (long)); }
5128
unsigned long ulongval () { return (long) (sizeof (long)); }
1571
echo $ac_n "checking size of long""... $ac_c" 1>&6
1572
echo "configure:1573: checking size of long" >&5
1573
if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
1574
echo $ac_n "(cached) $ac_c" 1>&6
1576
if test "$cross_compiling" = yes; then
1579
cat > conftest.$ac_ext <<EOF
1580
#line 1581 "configure"
1581
#include "confdefs.h"
5129
1582
#include <stdio.h>
5135
FILE *f = fopen ("conftest.val", "w");
5138
if (((long) (sizeof (long))) < 0)
5140
long i = longval ();
5141
if (i != ((long) (sizeof (long))))
5143
fprintf (f, "%ld\n", i);
5147
unsigned long i = ulongval ();
5148
if (i != ((long) (sizeof (long))))
5150
fprintf (f, "%lu\n", i);
5152
exit (ferror (f) || fclose (f) != 0);
1585
FILE *f=fopen("conftestval", "w");
1587
fprintf(f, "%d\n", sizeof(long));
5158
rm -f conftest$ac_exeext
5159
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5160
(eval $ac_link) 2>&5
5162
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5163
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5164
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5167
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5168
(exit $ac_status); }; }; then
5169
ac_cv_sizeof_long=`cat conftest.val`
5171
echo "$as_me: program exited with status $ac_status" >&5
5172
echo "$as_me: failed program was:" >&5
5173
sed 's/^/| /' conftest.$ac_ext >&5
5176
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
5177
See \`config.log' for more details." >&5
5178
echo "$as_me: error: cannot compute sizeof (long), 77
5179
See \`config.log' for more details." >&2;}
5180
{ (exit 1); exit 1; }; }
5182
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1591
if { (eval echo configure:1592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1593
ac_cv_sizeof_long=`cat conftestval`
1595
echo "configure: failed program was:" >&5
1596
cat conftest.$ac_ext >&5
5187
1598
ac_cv_sizeof_long=0
5190
echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
5191
echo "${ECHO_T}$ac_cv_sizeof_long" >&6
5192
cat >>confdefs.h <<_ACEOF
1604
echo "$ac_t""$ac_cv_sizeof_long" 1>&6
1605
cat >> confdefs.h <<EOF
5193
1606
#define SIZEOF_LONG $ac_cv_sizeof_long
5198
echo "$as_me:$LINENO: checking for socklen_t" >&5
5199
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
5200
cat >conftest.$ac_ext <<_ACEOF
5203
cat confdefs.h >>conftest.$ac_ext
5204
cat >>conftest.$ac_ext <<_ACEOF
5205
/* end confdefs.h. */
1611
echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
1612
echo "configure:1613: checking for socklen_t" >&5
1613
cat > conftest.$ac_ext <<EOF
1614
#line 1615 "configure"
1615
#include "confdefs.h"
5206
1616
#include <sys/types.h>
5207
1617
#include <sys/socket.h>
5208
1618
#include <netdb.h>
5217
rm -f conftest.$ac_objext
5218
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5219
(eval $ac_compile) 2>conftest.er1
5221
grep -v '^ *+' conftest.er1 >conftest.err
5223
cat conftest.err >&5
5224
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5225
(exit $ac_status); } &&
5226
{ ac_try='test -z "$ac_c_werror_flag"
5227
|| test ! -s conftest.err'
5228
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5231
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5232
(exit $ac_status); }; } &&
5233
{ ac_try='test -s conftest.$ac_objext'
5234
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5237
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5238
(exit $ac_status); }; }; then
5239
cat >>confdefs.h <<\_ACEOF
1623
if { (eval echo configure:1624: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1625
cat >> confdefs.h <<\EOF
5240
1626
#define HAVE_SOCKLEN_T 1
5242
echo "$as_me:$LINENO: result: yes" >&5
5243
echo "${ECHO_T}yes" >&6
1628
echo "$ac_t""yes" 1>&6
5245
echo "$as_me: failed program was:" >&5
5246
sed 's/^/| /' conftest.$ac_ext >&5
5248
echo "$as_me:$LINENO: result: no" >&5
5249
echo "${ECHO_T}no" >&6
1630
echo "configure: failed program was:" >&5
1631
cat conftest.$ac_ext >&5
1633
echo "$ac_t""no" 1>&6
5251
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5254
echo "$as_me:$LINENO: checking for reliable signals" >&5
5255
echo $ECHO_N "checking for reliable signals... $ECHO_C" >&6
1638
echo $ac_n "checking for reliable signals""... $ac_c" 1>&6
1639
echo "configure:1640: checking for reliable signals" >&5
5256
1640
if test "$cross_compiling" = yes; then
5257
cat >>confdefs.h <<\_ACEOF
1641
cat >> confdefs.h <<\EOF
5258
1642
#define SYS5SIGNALS 1
5260
echo "$as_me:$LINENO: result: cross-compiling. No assumptions made" >&5
5261
echo "${ECHO_T}cross-compiling. No assumptions made" >&6
1644
echo "$ac_t""cross-compiling. No assumptions made" 1>&6
5264
cat >conftest.$ac_ext <<_ACEOF
5267
cat confdefs.h >>conftest.$ac_ext
5268
cat >>conftest.$ac_ext <<_ACEOF
5269
/* end confdefs.h. */
1647
cat > conftest.$ac_ext <<EOF
1648
#line 1649 "configure"
1649
#include "confdefs.h"
5271
1651
#include <sys/types.h>
5272
1652
#include <signal.h>
5500
1840
extrasub=s%@HTTPS_SRC@%$HTTPS_SRC%g
5503
1842
# Check whether --with-aso or --without-aso was given.
5504
1843
if test "${with_aso+set}" = set; then
5505
1844
withval="$with_aso"
5506
cat >>confdefs.h <<\_ACEOF
1845
cat >> confdefs.h <<\EOF
5507
1846
#define AMIGADOS_4D_OUTBOUND 1
5513
ac_config_files="$ac_config_files Makefile"
5514
cat >confcache <<\_ACEOF
1854
cat > confcache <<\EOF
5515
1855
# This file is a shell script that caches the results of configure
5516
1856
# tests run on this system so they can be shared between configure
5517
# scripts and configure runs, see configure's option --config-cache.
5518
# It is not useful on other systems. If it contains results you don't
5519
# want to keep, you may remove or edit it.
5521
# config.status only pays attention to the cache file if you give it
5522
# the --recheck option to rerun configure.
5524
# `ac_cv_env_foo' variables (set or unset) will be overridden when
5525
# loading this file, other *unset* `ac_cv_foo' will be assigned the
1857
# scripts and configure runs. It is not useful on other systems.
1858
# If it contains results you don't want to keep, you may remove or edit it.
1860
# By default, configure uses ./config.cache as the cache file,
1861
# creating it if it does not exist already. You can give configure
1862
# the --cache-file=FILE option to use a different cache file; that is
1863
# what configure does when it calls configure scripts in
1864
# subdirectories, so they share the cache.
1865
# Giving --cache-file=/dev/null disables caching, for debugging configure.
1866
# config.status only pays attention to the cache file if you give it the
1867
# --recheck option to rerun configure.
5530
1870
# The following way of writing the cache mishandles newlines in values,
5531
1871
# but we know of no workaround that is simple, portable, and efficient.
5532
1872
# So, don't put newlines in cache variables' values.
5533
1873
# Ultrix sh set writes to stderr and can't be redirected directly,
5534
1874
# and sets the high bit in the cache file unless we assign to the vars.
5537
case `(ac_space=' '; set | grep ac_space) 2>&1` in
5539
# `set' does not quote correctly, so add quotes (double-quote
5540
# substitution turns \\\\ into \\, and sed turns \\ into \).
5543
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5546
# `set' quotes correctly as required by POSIX, so do not add quotes.
5548
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5555
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5557
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5559
if diff $cache_file confcache >/dev/null 2>&1; then :; else
1876
case `(ac_space=' '; set | grep ac_space) 2>&1` in
1878
# `set' does not quote correctly, so add quotes (double-quote substitution
1879
# turns \\\\ into \\, and sed turns \\ into \).
1881
-e "s/'/'\\\\''/g" \
1882
-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1885
# `set' quotes correctly as required by POSIX, so do not add quotes.
1886
sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1889
if cmp -s $cache_file confcache; then
5560
1892
if test -w $cache_file; then
5561
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5562
cat confcache >$cache_file
1893
echo "updating cache $cache_file"
1894
cat confcache > $cache_file
5564
1896
echo "not updating unwritable cache $cache_file"
5567
1899
rm -f confcache
1901
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
5569
1903
test "x$prefix" = xNONE && prefix=$ac_default_prefix
5570
1904
# Let make expand exec_prefix.
5571
1905
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5573
# VPATH may cause trouble with some makes, so we remove $(srcdir),
5574
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5575
# trailing colons and then remove the whole line if VPATH becomes empty
5576
# (actually we leave an empty line to preserve line numbers).
1907
# Any assignment to VPATH causes Sun make to only execute
1908
# the first set of double-colon rules, so remove it if not needed.
1909
# If there is a colon in the path, we need to keep it.
5577
1910
if test "x$srcdir" = x.; then
5578
ac_vpsub='/^[ ]*VPATH[ ]*=/{
5579
s/:*\$(srcdir):*/:/;
5580
s/:*\${srcdir}:*/:/;
5582
s/^\([^=]*=[ ]*\):*/\1/;
1911
ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
1914
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
5588
1916
# Transform confdefs.h into DEFS.
5589
1917
# Protect against shell expansion while executing Makefile rules.
5590
1918
# Protect against Makefile macro expansion.
5592
# If the first sed substitution is executed (which looks for macros that
5593
# take arguments), then we branch to the quote section. Otherwise,
5594
# look for a macro that doesn't take arguments.
5595
cat >confdef2opt.sed <<\_ACEOF
5598
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
5600
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
5604
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
5610
# We use echo to avoid assuming a particular line-breaking character.
5611
# The extra dot is to prevent the shell from consuming trailing
5612
# line-breaks from the sub-command output. A line-break within
5613
# single-quotes doesn't work because, if this script is created in a
5614
# platform that uses two characters for line-breaks (e.g., DOS), tr
5616
ac_LF_and_DOT=`echo; echo .`
5617
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
5618
rm -f confdef2opt.sed
5623
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5624
# 1. Remove the extension, and $U if already installed.
5625
ac_i=`echo "$ac_i" |
5626
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5628
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5629
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5633
LTLIBOBJS=$ac_ltlibobjs
1919
cat > conftest.defs <<\EOF
1920
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1921
s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
1926
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
1930
# Without the "./", some shells look in PATH for config.status.
5637
1931
: ${CONFIG_STATUS=./config.status}
5638
ac_clean_files_save=$ac_clean_files
5639
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5640
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5641
echo "$as_me: creating $CONFIG_STATUS" >&6;}
5642
cat >$CONFIG_STATUS <<_ACEOF
5644
# Generated by $as_me.
1933
echo creating $CONFIG_STATUS
1934
rm -f $CONFIG_STATUS
1935
cat > $CONFIG_STATUS <<EOF
1937
# Generated automatically by configure.
5645
1938
# Run this file to recreate the current configuration.
1939
# This directory was configured as follows,
1940
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1942
# $0 $ac_configure_args
5646
1944
# Compiler output produced by configure, useful for debugging
5647
# configure, is in config.log if it exists.
5652
SHELL=\${CONFIG_SHELL-$SHELL}
5655
cat >>$CONFIG_STATUS <<\_ACEOF
5656
## --------------------- ##
5657
## M4sh Initialization. ##
5658
## --------------------- ##
5660
# Be Bourne compatible
5661
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5664
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5665
# is contrary to our usage. Disable this feature.
5666
alias -g '${1+"$@"}'='"$@"'
5667
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5670
DUALCASE=1; export DUALCASE # for MKS sh
5672
# Support unset when possible.
5673
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5680
# Work around bugs in pre-3.0 UWIN ksh.
5681
$as_unset ENV MAIL MAILPATH
5688
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5689
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5690
LC_TELEPHONE LC_TIME
5692
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5693
eval $as_var=C; export $as_var
5699
# Required to use basename.
5700
if expr a : '\(a\)' >/dev/null 2>&1; then
5706
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5707
as_basename=basename
5713
# Name of the executable.
5714
as_me=`$as_basename "$0" ||
5715
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5716
X"$0" : 'X\(//\)$' \| \
5717
X"$0" : 'X\(/\)$' \| \
5718
. : '\(.\)' 2>/dev/null ||
5720
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5721
/^X\/\(\/\/\)$/{ s//\1/; q; }
5722
/^X\/\(\/\).*/{ s//\1/; q; }
5726
# PATH needs CR, and LINENO needs CR and PATH.
5727
# Avoid depending upon Character Ranges.
5728
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5729
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5730
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5731
as_cr_digits='0123456789'
5732
as_cr_alnum=$as_cr_Letters$as_cr_digits
5734
# The user is always right.
5735
if test "${PATH_SEPARATOR+set}" != set; then
5736
echo "#! /bin/sh" >conf$$.sh
5737
echo "exit 0" >>conf$$.sh
5739
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5750
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5751
test "x$as_lineno_1" != "x$as_lineno_2" &&
5752
test "x$as_lineno_3" = "x$as_lineno_2" || {
5753
# Find who we are. Look in the path if we contain no path at all
5756
*[\\/]* ) as_myself=$0 ;;
5757
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5761
test -z "$as_dir" && as_dir=.
5762
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5767
# We did not find ourselves, most probably we were run as `sh COMMAND'
5768
# in which case we are not to be found in the path.
5769
if test "x$as_myself" = x; then
5772
if test ! -f "$as_myself"; then
5773
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5774
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5775
{ (exit 1); exit 1; }; }
5777
case $CONFIG_SHELL in
5779
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5780
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5783
test -z "$as_dir" && as_dir=.
5784
for as_base in sh bash ksh sh5; do
5787
if ("$as_dir/$as_base" -c '
5790
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5791
test "x$as_lineno_1" != "x$as_lineno_2" &&
5792
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5793
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5794
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5795
CONFIG_SHELL=$as_dir/$as_base
5797
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5805
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5806
# uniformly replaced by the line number. The first 'sed' inserts a
5807
# line-number line before each line; the second 'sed' does the real
5808
# work. The second script uses 'N' to pair each line-number line
5809
# with the numbered line, and appends trailing '-' during
5810
# substitution so that $LINENO is not a special case at line end.
5811
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5812
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5813
sed '=' <$as_myself |
5818
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5821
s,^['$as_cr_digits']*\n,,
5823
chmod +x $as_me.lineno ||
5824
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5825
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5826
{ (exit 1); exit 1; }; }
5828
# Don't try to exec as it changes $[0], causing all sort of problems
5829
# (the dirname of $[0] is not the place where we might find the
5830
# original and so on. Autoconf is especially sensible to this).
5832
# Exit status is that of the last command.
5837
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5838
*c*,-n*) ECHO_N= ECHO_C='
5840
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5841
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5844
if expr a : '\(a\)' >/dev/null 2>&1; then
5850
rm -f conf$$ conf$$.exe conf$$.file
5852
if ln -s conf$$.file conf$$ 2>/dev/null; then
5853
# We could just check for DJGPP; but this test a) works b) is more generic
5854
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5855
if test -f conf$$.exe; then
5856
# Don't use ln at all; we don't have any links
5861
elif ln conf$$.file conf$$ 2>/dev/null; then
5866
rm -f conf$$ conf$$.exe conf$$.file
5868
if mkdir -p . 2>/dev/null; then
5871
test -d ./-p && rmdir ./-p
5875
as_executable_p="test -f"
5877
# Sed expression to map a string onto a valid CPP name.
5878
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5880
# Sed expression to map a string onto a valid variable name.
5881
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5885
# We need space, tab and new line, in precisely that order.
5895
# Open the log real soon, to keep \$[0] and so on meaningful, and to
5896
# report actual input values of CONFIG_FILES etc. instead of their
5897
# values after options handling. Logging --version etc. is OK.
5901
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5902
## Running $as_me. ##
5907
This file was extended by $as_me, which was
5908
generated by GNU Autoconf 2.59. Invocation command line was
5910
CONFIG_FILES = $CONFIG_FILES
5911
CONFIG_HEADERS = $CONFIG_HEADERS
5912
CONFIG_LINKS = $CONFIG_LINKS
5913
CONFIG_COMMANDS = $CONFIG_COMMANDS
5917
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5921
# Files that config.status was made for.
5922
if test -n "$ac_config_files"; then
5923
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5926
if test -n "$ac_config_headers"; then
5927
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5930
if test -n "$ac_config_links"; then
5931
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5934
if test -n "$ac_config_commands"; then
5935
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5938
cat >>$CONFIG_STATUS <<\_ACEOF
5941
\`$as_me' instantiates files from templates according to the
5942
current configuration.
5944
Usage: $0 [OPTIONS] [FILE]...
5946
-h, --help print this help, then exit
5947
-V, --version print version number, then exit
5948
-q, --quiet do not print progress messages
5949
-d, --debug don't remove temporary files
5950
--recheck update $as_me by reconfiguring in the same conditions
5951
--file=FILE[:TEMPLATE]
5952
instantiate the configuration file FILE
5954
Configuration files:
5957
Report bugs to <bug-autoconf@gnu.org>."
5960
cat >>$CONFIG_STATUS <<_ACEOF
5963
configured by $0, generated by GNU Autoconf 2.59,
5964
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5966
Copyright (C) 2003 Free Software Foundation, Inc.
5967
This config.status script is free software; the Free Software Foundation
5968
gives unlimited permission to copy, distribute and modify it."
5973
cat >>$CONFIG_STATUS <<\_ACEOF
5974
# If no file are specified by the user, then we need to provide default
5975
# value. By we need to know if files were specified by the user.
5981
ac_option=`expr "x$1" : 'x\([^=]*\)='`
5982
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5990
*) # This is not an option, so the user has probably given explicit
5993
ac_need_defaults=false;;
5997
# Handling of the options.
5999
cat >>$CONFIG_STATUS <<\_ACEOF
1945
# configure, is in ./config.log if it exists.
1947
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1950
case "\$ac_option" in
6000
1951
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6002
--version | --vers* | -V )
6003
echo "$ac_cs_version"; exit 0 ;;
6005
# Conflict between --help and --header
6006
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
6007
Try \`$0 --help' for more information." >&5
6008
echo "$as_me: error: ambiguous option: $1
6009
Try \`$0 --help' for more information." >&2;}
6010
{ (exit 1); exit 1; }; };;
6011
--help | --hel | -h )
6012
echo "$ac_cs_usage"; exit 0 ;;
6013
--debug | --d* | -d )
6015
--file | --fil | --fi | --f )
6017
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6018
ac_need_defaults=false;;
6019
--header | --heade | --head | --hea )
6021
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6022
ac_need_defaults=false;;
6023
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
6024
| -silent | --silent | --silen | --sile | --sil | --si | --s)
6028
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6029
Try \`$0 --help' for more information." >&5
6030
echo "$as_me: error: unrecognized option: $1
6031
Try \`$0 --help' for more information." >&2;}
6032
{ (exit 1); exit 1; }; } ;;
6034
*) ac_config_targets="$ac_config_targets $1" ;;
6040
ac_configure_extra_args=
6042
if $ac_cs_silent; then
6044
ac_configure_extra_args="$ac_configure_extra_args --silent"
6048
cat >>$CONFIG_STATUS <<_ACEOF
6049
if \$ac_cs_recheck; then
6050
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6051
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6060
cat >>$CONFIG_STATUS <<\_ACEOF
6061
for ac_config_target in $ac_config_targets
6063
case "$ac_config_target" in
6064
# Handling of arguments.
6065
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6066
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6067
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6068
{ (exit 1); exit 1; }; };;
6072
# If the user did not use the arguments to specify the items to instantiate,
6073
# then the envvar interface is used. Set only those that are not.
6074
# We use the long form for the default assignment because of an extremely
6075
# bizarre bug on SunOS 4.1.3.
6076
if $ac_need_defaults; then
6077
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6080
# Have a temporary directory for convenience. Make it in the build tree
6081
# simply because there is no reason to put it here, and in addition,
6082
# creating and moving files from /tmp can sometimes cause problems.
6083
# Create a temporary directory, and hook for its removal unless debugging.
6086
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6087
trap '{ (exit 1); exit 1; }' 1 2 13 15
6090
# Create a (secure) tmp directory for tmp files.
6093
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6094
test -n "$tmp" && test -d "$tmp"
6097
tmp=./confstat$$-$RANDOM
6098
(umask 077 && mkdir $tmp)
6101
echo "$me: cannot create a temporary directory in ." >&2
6102
{ (exit 1); exit 1; }
6107
cat >>$CONFIG_STATUS <<_ACEOF
6110
# CONFIG_FILES section.
6113
# No need to generate the scripts if there are no CONFIG_FILES.
6114
# This happens for instance when ./config.status config.h
6115
if test -n "\$CONFIG_FILES"; then
6116
# Protect against being on the right side of a sed subst in config.status.
6117
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6118
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6119
s,@SHELL@,$SHELL,;t t
6120
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6121
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6122
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6123
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6124
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6125
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6126
s,@exec_prefix@,$exec_prefix,;t t
6127
s,@prefix@,$prefix,;t t
6128
s,@program_transform_name@,$program_transform_name,;t t
6129
s,@bindir@,$bindir,;t t
6130
s,@sbindir@,$sbindir,;t t
6131
s,@libexecdir@,$libexecdir,;t t
6132
s,@datadir@,$datadir,;t t
6133
s,@sysconfdir@,$sysconfdir,;t t
6134
s,@sharedstatedir@,$sharedstatedir,;t t
6135
s,@localstatedir@,$localstatedir,;t t
6136
s,@libdir@,$libdir,;t t
6137
s,@includedir@,$includedir,;t t
6138
s,@oldincludedir@,$oldincludedir,;t t
6139
s,@infodir@,$infodir,;t t
6140
s,@mandir@,$mandir,;t t
6141
s,@build_alias@,$build_alias,;t t
6142
s,@host_alias@,$host_alias,;t t
6143
s,@target_alias@,$target_alias,;t t
6145
s,@ECHO_C@,$ECHO_C,;t t
6146
s,@ECHO_N@,$ECHO_N,;t t
6147
s,@ECHO_T@,$ECHO_T,;t t
6151
s,@CFLAGS@,$CFLAGS,;t t
6152
s,@LDFLAGS@,$LDFLAGS,;t t
6153
s,@CPPFLAGS@,$CPPFLAGS,;t t
6154
s,@ac_ct_CC@,$ac_ct_CC,;t t
6155
s,@EXEEXT@,$EXEEXT,;t t
6156
s,@OBJEXT@,$OBJEXT,;t t
6157
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6158
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6159
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6161
s,@EGREP@,$EGREP,;t t
6162
s,@LIBOBJS@,$LIBOBJS,;t t
6163
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1952
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1953
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1954
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1955
echo "$CONFIG_STATUS generated by autoconf version 2.13"
1957
-help | --help | --hel | --he | --h)
1958
echo "\$ac_cs_usage"; exit 0 ;;
1959
*) echo "\$ac_cs_usage"; exit 1 ;;
1963
ac_given_srcdir=$srcdir
1964
ac_given_INSTALL="$INSTALL"
1966
trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1968
cat >> $CONFIG_STATUS <<EOF
1970
# Protect against being on the right side of a sed subst in config.status.
1971
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1972
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1976
s%@CFLAGS@%$CFLAGS%g
1977
s%@CPPFLAGS@%$CPPFLAGS%g
1978
s%@CXXFLAGS@%$CXXFLAGS%g
1979
s%@FFLAGS@%$FFLAGS%g
1981
s%@LDFLAGS@%$LDFLAGS%g
1983
s%@exec_prefix@%$exec_prefix%g
1984
s%@prefix@%$prefix%g
1985
s%@program_transform_name@%$program_transform_name%g
1986
s%@bindir@%$bindir%g
1987
s%@sbindir@%$sbindir%g
1988
s%@libexecdir@%$libexecdir%g
1989
s%@datadir@%$datadir%g
1990
s%@sysconfdir@%$sysconfdir%g
1991
s%@sharedstatedir@%$sharedstatedir%g
1992
s%@localstatedir@%$localstatedir%g
1993
s%@libdir@%$libdir%g
1994
s%@includedir@%$includedir%g
1995
s%@oldincludedir@%$oldincludedir%g
1996
s%@infodir@%$infodir%g
1997
s%@mandir@%$mandir%g
2000
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
2001
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
2002
s%@INSTALL_DATA@%$INSTALL_DATA%g
6168
cat >>$CONFIG_STATUS <<\_ACEOF
6169
# Split the substitutions into bite-sized pieces for seds with
6170
# small command number limits, like on Digital OSF/1 and HP-UX.
6172
ac_sed_frag=1 # Number of current file.
6173
ac_beg=1 # First line for current file.
6174
ac_end=$ac_max_sed_lines # Line after last line for current file.
6177
while $ac_more_lines; do
6178
if test $ac_beg -gt 1; then
6179
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6181
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6183
if test ! -s $tmp/subs.frag; then
6186
# The purpose of the label and of the branching condition is to
6187
# speed up the sed processing (if there are no `@' at all, there
6188
# is no need to browse any of the substitutions).
6189
# These are the two extra sed commands mentioned above.
6191
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6192
if test -z "$ac_sed_cmds"; then
6193
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6195
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6197
ac_sed_frag=`expr $ac_sed_frag + 1`
6199
ac_end=`expr $ac_end + $ac_max_sed_lines`
6202
if test -z "$ac_sed_cmds"; then
6205
fi # test -n "$CONFIG_FILES"
6208
cat >>$CONFIG_STATUS <<\_ACEOF
6209
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2008
cat >> $CONFIG_STATUS <<\EOF
2010
# Split the substitutions into bite-sized pieces for seds with
2011
# small command number limits, like on Digital OSF/1 and HP-UX.
2012
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
2013
ac_file=1 # Number of current file.
2014
ac_beg=1 # First line for current file.
2015
ac_end=$ac_max_sed_cmds # Line after last line for current file.
2018
while $ac_more_lines; do
2019
if test $ac_beg -gt 1; then
2020
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
2022
sed "${ac_end}q" conftest.subs > conftest.s$ac_file
2024
if test ! -s conftest.s$ac_file; then
2026
rm -f conftest.s$ac_file
2028
if test -z "$ac_sed_cmds"; then
2029
ac_sed_cmds="sed -f conftest.s$ac_file"
2031
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
2033
ac_file=`expr $ac_file + 1`
2035
ac_end=`expr $ac_end + $ac_max_sed_cmds`
2038
if test -z "$ac_sed_cmds"; then
2043
cat >> $CONFIG_STATUS <<EOF
2045
CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
2047
cat >> $CONFIG_STATUS <<\EOF
2048
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
6210
2049
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6212
- | *:- | *:-:* ) # input from stdin
6214
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6215
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6216
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6217
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6218
* ) ac_file_in=$ac_file.in ;;
2051
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
2052
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2053
*) ac_file_in="${ac_file}.in" ;;
6221
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6222
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6223
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6224
X"$ac_file" : 'X\(//\)[^/]' \| \
6225
X"$ac_file" : 'X\(//\)$' \| \
6226
X"$ac_file" : 'X\(/\)' \| \
6227
. : '\(.\)' 2>/dev/null ||
6229
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6230
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
6231
/^X\(\/\/\)$/{ s//\1/; q; }
6232
/^X\(\/\).*/{ s//\1/; q; }
6234
{ if $as_mkdir_p; then
2056
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2058
# Remove last slash and all that follows it. Not all systems have dirname.
2059
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2060
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2061
# The file is in a subdirectory.
2062
test ! -d "$ac_dir" && mkdir "$ac_dir"
2063
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
2064
# A "../" for each directory in $ac_dir_suffix.
2065
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
6239
while test ! -d "$as_dir"; do
6240
as_dirs="$as_dir $as_dirs"
6241
as_dir=`(dirname "$as_dir") 2>/dev/null ||
6242
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6243
X"$as_dir" : 'X\(//\)[^/]' \| \
6244
X"$as_dir" : 'X\(//\)$' \| \
6245
X"$as_dir" : 'X\(/\)' \| \
6246
. : '\(.\)' 2>/dev/null ||
6248
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6249
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
6250
/^X\(\/\/\)$/{ s//\1/; q; }
6251
/^X\(\/\).*/{ s//\1/; q; }
6254
test ! -n "$as_dirs" || mkdir $as_dirs
6255
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6256
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6257
{ (exit 1); exit 1; }; }; }
6261
if test "$ac_dir" != .; then
6262
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6263
# A "../" for each directory in $ac_dir_suffix.
6264
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6266
ac_dir_suffix= ac_top_builddir=
6270
.) # No --srcdir option. We are building in place.
6272
if test -z "$ac_top_builddir"; then
6275
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6277
[\\/]* | ?:[\\/]* ) # Absolute path.
6278
ac_srcdir=$srcdir$ac_dir_suffix;
6279
ac_top_srcdir=$srcdir ;;
2067
ac_dir_suffix= ac_dots=
2070
case "$ac_given_srcdir" in
2072
if test -z "$ac_dots"; then top_srcdir=.
2073
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2074
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
6280
2075
*) # Relative path.
6281
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6282
ac_top_srcdir=$ac_top_builddir$srcdir ;;
6285
# Do not use `cd foo && pwd` to compute absolute paths, because
6286
# the directories may not exist.
6288
.) ac_abs_builddir="$ac_dir";;
6291
.) ac_abs_builddir=`pwd`;;
6292
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6293
*) ac_abs_builddir=`pwd`/"$ac_dir";;
6296
case $ac_abs_builddir in
6297
.) ac_abs_top_builddir=${ac_top_builddir}.;;
6299
case ${ac_top_builddir}. in
6300
.) ac_abs_top_builddir=$ac_abs_builddir;;
6301
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6302
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6305
case $ac_abs_builddir in
6306
.) ac_abs_srcdir=$ac_srcdir;;
6309
.) ac_abs_srcdir=$ac_abs_builddir;;
6310
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6311
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6314
case $ac_abs_builddir in
6315
.) ac_abs_top_srcdir=$ac_top_srcdir;;
6317
case $ac_top_srcdir in
6318
.) ac_abs_top_srcdir=$ac_abs_builddir;;
6319
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6320
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6326
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6327
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6330
if test x"$ac_file" != x-; then
6331
{ echo "$as_me:$LINENO: creating $ac_file" >&5
6332
echo "$as_me: creating $ac_file" >&6;}
6335
# Let's still pretend it is `configure' which instantiates (i.e., don't
6336
# use $as_me), people would be surprised to read:
6337
# /* config.h. Generated by config.status. */
6338
if test x"$ac_file" = x-; then
6341
configure_input="$ac_file. "
6343
configure_input=$configure_input"Generated from `echo $ac_file_in |
6344
sed 's,.*/,,'` by configure."
6346
# First look for the input files in the build tree, otherwise in the
6348
ac_file_inputs=`IFS=:
6349
for f in $ac_file_in; do
6351
-) echo $tmp/stdin ;;
6353
# Absolute (can't be DOS-style, as IFS=:)
6354
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6355
echo "$as_me: error: cannot find input file: $f" >&2;}
6356
{ (exit 1); exit 1; }; }
6359
if test -f "$f"; then
6362
elif test -f "$srcdir/$f"; then
6367
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6368
echo "$as_me: error: cannot find input file: $f" >&2;}
6369
{ (exit 1); exit 1; }; }
6372
done` || { (exit 1); exit 1; }
6374
cat >>$CONFIG_STATUS <<_ACEOF
6378
cat >>$CONFIG_STATUS <<\_ACEOF
6380
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6381
s,@configure_input@,$configure_input,;t t
6382
s,@srcdir@,$ac_srcdir,;t t
6383
s,@abs_srcdir@,$ac_abs_srcdir,;t t
6384
s,@top_srcdir@,$ac_top_srcdir,;t t
6385
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6386
s,@builddir@,$ac_builddir,;t t
6387
s,@abs_builddir@,$ac_abs_builddir,;t t
6388
s,@top_builddir@,$ac_top_builddir,;t t
6389
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6390
s,@INSTALL@,$ac_INSTALL,;t t
6391
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6393
if test x"$ac_file" != x-; then
6394
mv $tmp/out $ac_file
6403
cat >>$CONFIG_STATUS <<\_ACEOF
6405
{ (exit 0); exit 0; }
2076
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2077
top_srcdir="$ac_dots$ac_given_srcdir" ;;
2080
case "$ac_given_INSTALL" in
2081
[/$]*) INSTALL="$ac_given_INSTALL" ;;
2082
*) INSTALL="$ac_dots$ac_given_INSTALL" ;;
2085
echo creating "$ac_file"
2087
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2089
*Makefile*) ac_comsub="1i\\
2090
# $configure_input" ;;
2094
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2096
s%@configure_input@%$configure_input%g
2097
s%@srcdir@%$srcdir%g
2098
s%@top_srcdir@%$top_srcdir%g
2099
s%@INSTALL@%$INSTALL%g
2100
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
2105
cat >> $CONFIG_STATUS <<EOF
2108
cat >> $CONFIG_STATUS <<\EOF
6407
2112
chmod +x $CONFIG_STATUS
6408
ac_clean_files=$ac_clean_files_save
6411
# configure is writing to config.log, and then calls config.status.
6412
# config.status does its own redirection, appending to config.log.
6413
# Unfortunately, on DOS this fails, as config.log is still kept open
6414
# by configure, so config.status won't be able to write to it; its
6415
# output is simply discarded. So we exec the FD to /dev/null,
6416
# effectively closing config.log, so it can be properly (re)opened and
6417
# appended to by config.status. When coming back to configure, we
6418
# need to make the FD available again.
6419
if test "$no_create" != yes; then
6421
ac_config_status_args=
6422
test "$silent" = yes &&
6423
ac_config_status_args="$ac_config_status_args --quiet"
6425
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6427
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
6428
# would make configure fail if this is the last instruction.
6429
$ac_cs_success || { (exit 1); exit 1; }
2113
rm -fr confdefs* $ac_clean_files
2114
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1