489
690
if test ! -r $srcdir/$ac_unique_file; then
490
691
if test "$ac_srcdir_defaulted" = yes; then
491
{ echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
692
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
693
{ (exit 1); exit 1; }; }
493
{ echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
695
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
696
{ (exit 1); exit 1; }; }
496
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
699
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
700
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
701
{ (exit 1); exit 1; }; }
702
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
703
ac_env_build_alias_set=${build_alias+set}
704
ac_env_build_alias_value=$build_alias
705
ac_cv_env_build_alias_set=${build_alias+set}
706
ac_cv_env_build_alias_value=$build_alias
707
ac_env_host_alias_set=${host_alias+set}
708
ac_env_host_alias_value=$host_alias
709
ac_cv_env_host_alias_set=${host_alias+set}
710
ac_cv_env_host_alias_value=$host_alias
711
ac_env_target_alias_set=${target_alias+set}
712
ac_env_target_alias_value=$target_alias
713
ac_cv_env_target_alias_set=${target_alias+set}
714
ac_cv_env_target_alias_value=$target_alias
715
ac_env_CC_set=${CC+set}
717
ac_cv_env_CC_set=${CC+set}
718
ac_cv_env_CC_value=$CC
719
ac_env_CFLAGS_set=${CFLAGS+set}
720
ac_env_CFLAGS_value=$CFLAGS
721
ac_cv_env_CFLAGS_set=${CFLAGS+set}
722
ac_cv_env_CFLAGS_value=$CFLAGS
723
ac_env_LDFLAGS_set=${LDFLAGS+set}
724
ac_env_LDFLAGS_value=$LDFLAGS
725
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
726
ac_cv_env_LDFLAGS_value=$LDFLAGS
727
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
728
ac_env_CPPFLAGS_value=$CPPFLAGS
729
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
730
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
733
# Report the --help message.
735
if test "$ac_init_help" = "long"; then
736
# Omit some internal or obsolete options to make the list less imposing.
737
# This message is too long to be a string in the A/UX 3.1 sh.
739
\`configure' configures this package to adapt to many kinds of systems.
741
Usage: $0 [OPTION]... [VAR=VALUE]...
743
To assign environment variables (e.g., CC, CFLAGS...), specify them as
744
VAR=VALUE. See below for descriptions of some of the useful variables.
746
Defaults for the options are specified in brackets.
749
-h, --help display this help and exit
750
--help=short display options specific to this package
751
--help=recursive display the short help of all the included packages
752
-V, --version display version information and exit
753
-q, --quiet, --silent do not print \`checking...' messages
754
--cache-file=FILE cache test results in FILE [disabled]
755
-C, --config-cache alias for \`--cache-file=config.cache'
756
-n, --no-create do not create output files
757
--srcdir=DIR find the sources in DIR [configure dir or \`..']
762
Installation directories:
763
--prefix=PREFIX install architecture-independent files in PREFIX
765
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
768
By default, \`make install' will install all the files in
769
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
770
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
771
for instance \`--prefix=\$HOME'.
773
For better control, use the options below.
775
Fine tuning of the installation directories:
776
--bindir=DIR user executables [EPREFIX/bin]
777
--sbindir=DIR system admin executables [EPREFIX/sbin]
778
--libexecdir=DIR program executables [EPREFIX/libexec]
779
--datadir=DIR read-only architecture-independent data [PREFIX/share]
780
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
781
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
782
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
783
--libdir=DIR object code libraries [EPREFIX/lib]
784
--includedir=DIR C header files [PREFIX/include]
785
--oldincludedir=DIR C header files for non-gcc [/usr/include]
786
--infodir=DIR info documentation [PREFIX/info]
787
--mandir=DIR man documentation [PREFIX/man]
794
if test -n "$ac_init_help"; then
799
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
800
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
801
--enable-debugging Add debugging messages to syslog
804
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
805
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
806
--with-sendmail=PATH specify location of Sendmail binary
807
--with-runtime-dir=DIR directory for runtime files /var/amavis
808
--with-sockname=PATH path to socket for daemon/client communication
809
/var/amavis/amavisd.sock
810
--with-user=LOGIN use LOGIN as the AMAVISD user
811
--with-x-header-tag=X_HEADER_TAG use X_HEADER_TAG as the AMAVISD header tag
812
--with-x-header-val=X_HEADER_VAL use X_HEADER_VAL as the AMAVISD header value
813
--with-milterinc=PATH specify alternative location of milter includes
814
--with-milterlib=PATH specify alternative location of milter libraries
816
Some influential environment variables:
817
CC C compiler command
818
CFLAGS C compiler flags
819
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
820
nonstandard directory <lib dir>
821
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
822
headers in a nonstandard directory <include dir>
824
Use these variables to override the choices made by `configure' or to help
825
it to find libraries and programs with nonstandard names/locations.
830
if test "$ac_init_help" = "recursive"; then
831
# If there are subdirs, report their specific --help.
833
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
834
test -d $ac_dir || continue
837
if test "$ac_dir" != .; then
838
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
839
# A "../" for each directory in $ac_dir_suffix.
840
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
842
ac_dir_suffix= ac_top_builddir=
846
.) # No --srcdir option. We are building in place.
848
if test -z "$ac_top_builddir"; then
851
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
853
[\\/]* | ?:[\\/]* ) # Absolute path.
854
ac_srcdir=$srcdir$ac_dir_suffix;
855
ac_top_srcdir=$srcdir ;;
857
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
858
ac_top_srcdir=$ac_top_builddir$srcdir ;;
861
# Do not use `cd foo && pwd` to compute absolute paths, because
862
# the directories may not exist.
864
.) ac_abs_builddir="$ac_dir";;
867
.) ac_abs_builddir=`pwd`;;
868
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
869
*) ac_abs_builddir=`pwd`/"$ac_dir";;
872
case $ac_abs_builddir in
873
.) ac_abs_top_builddir=${ac_top_builddir}.;;
875
case ${ac_top_builddir}. in
876
.) ac_abs_top_builddir=$ac_abs_builddir;;
877
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
878
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
881
case $ac_abs_builddir in
882
.) ac_abs_srcdir=$ac_srcdir;;
885
.) ac_abs_srcdir=$ac_abs_builddir;;
886
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
887
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
890
case $ac_abs_builddir in
891
.) ac_abs_top_srcdir=$ac_top_srcdir;;
893
case $ac_top_srcdir in
894
.) ac_abs_top_srcdir=$ac_abs_builddir;;
895
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
896
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
901
# Check for guested configure; otherwise get Cygnus style configure.
902
if test -f $ac_srcdir/configure.gnu; then
904
$SHELL $ac_srcdir/configure.gnu --help=recursive
905
elif test -f $ac_srcdir/configure; then
907
$SHELL $ac_srcdir/configure --help=recursive
908
elif test -f $ac_srcdir/configure.ac ||
909
test -f $ac_srcdir/configure.in; then
913
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
919
test -n "$ac_init_help" && exit 0
920
if $ac_init_version; then
923
Copyright (C) 2003 Free Software Foundation, Inc.
924
This configure script is free software; the Free Software Foundation
925
gives unlimited permission to copy, distribute and modify it.
931
This file contains any messages produced by compilers while
932
running configure, to aid debugging if configure makes a mistake.
934
It was created by $as_me, which was
935
generated by GNU Autoconf 2.59. Invocation command line was
946
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
947
uname -m = `(uname -m) 2>/dev/null || echo unknown`
948
uname -r = `(uname -r) 2>/dev/null || echo unknown`
949
uname -s = `(uname -s) 2>/dev/null || echo unknown`
950
uname -v = `(uname -v) 2>/dev/null || echo unknown`
952
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
953
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
955
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
956
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
957
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
958
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
959
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
960
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
961
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
965
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
969
test -z "$as_dir" && as_dir=.
985
# Keep a trace of the command line.
986
# Strip out --no-create and --no-recursion so they do not pile up.
987
# Strip out --silent because we don't want to record it for future runs.
988
# Also quote any args containing shell meta-characters.
989
# Make two passes to allow for proper duplicate-argument suppression.
994
ac_must_keep_next=false
1000
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1001
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1002
| -silent | --silent | --silen | --sile | --sil)
1004
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1005
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1008
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1010
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1011
if test $ac_must_keep_next = true; then
1012
ac_must_keep_next=false # Got value, back to normal.
1015
*=* | --config-cache | -C | -disable-* | --disable-* \
1016
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1017
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1018
| -with-* | --with-* | -without-* | --without-* | --x)
1019
case "$ac_configure_args0 " in
1020
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1023
-* ) ac_must_keep_next=true ;;
1026
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1027
# Get rid of the leading space.
1033
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1034
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1036
# When interrupted or exit'd, cleanup temporary files, and complete
1037
# config.log. We remove comments because anyway the quotes in there
1038
# would cause problems or look ugly.
1039
# WARNING: Be sure not to use single quotes in there, as some shells,
1040
# such as our DU 5.0 friend, will then `close' the trap.
1041
trap 'exit_status=$?
1042
# Save into config.log some information that might help in debugging.
1047
## ---------------- ##
1048
## Cache variables. ##
1049
## ---------------- ##
1052
# The following way of writing the cache mishandles newlines in values,
1055
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1058
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1059
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1063
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1070
## ----------------- ##
1071
## Output variables. ##
1072
## ----------------- ##
1075
for ac_var in $ac_subst_vars
1077
eval ac_val=$`echo $ac_var`
1078
echo "$ac_var='"'"'$ac_val'"'"'"
1082
if test -n "$ac_subst_files"; then
1089
for ac_var in $ac_subst_files
1091
eval ac_val=$`echo $ac_var`
1092
echo "$ac_var='"'"'$ac_val'"'"'"
1097
if test -s confdefs.h; then
1104
sed "/^$/d" confdefs.h | sort
1107
test "$ac_signal" != 0 &&
1108
echo "$as_me: caught signal $ac_signal"
1109
echo "$as_me: exit $exit_status"
1111
rm -f core *.core &&
1112
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1115
for ac_signal in 1 2 13 15; do
1116
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1120
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1121
rm -rf conftest* confdefs.h
1122
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1125
# Predefined preprocessor variables.
1127
cat >>confdefs.h <<_ACEOF
1128
#define PACKAGE_NAME "$PACKAGE_NAME"
1132
cat >>confdefs.h <<_ACEOF
1133
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1137
cat >>confdefs.h <<_ACEOF
1138
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1142
cat >>confdefs.h <<_ACEOF
1143
#define PACKAGE_STRING "$PACKAGE_STRING"
1147
cat >>confdefs.h <<_ACEOF
1148
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1152
# Let the site file select an alternate cache file if it wants to.
498
1153
# Prefer explicitly selected file to automatically selected ones.
499
1154
if test -z "$CONFIG_SITE"; then
500
1155
if test "x$prefix" != xNONE; then
506
1161
for ac_site_file in $CONFIG_SITE; do
507
1162
if test -r "$ac_site_file"; then
508
echo "loading site script $ac_site_file"
1163
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1164
echo "$as_me: loading site script $ac_site_file" >&6;}
1165
sed 's/^/| /' "$ac_site_file" >&5
509
1166
. "$ac_site_file"
513
1170
if test -r "$cache_file"; then
514
echo "loading cache $cache_file"
517
echo "creating cache $cache_file"
522
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
523
ac_cpp='$CPP $CPPFLAGS'
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=
545
# Extract the first word of "gcc", so it can be a program name with args.
1171
# Some versions of bash will fail to source /dev/null (special
1172
# files actually), so we avoid doing that.
1173
if test -f "$cache_file"; then
1174
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1175
echo "$as_me: loading cache $cache_file" >&6;}
1177
[\\/]* | ?:[\\/]* ) . $cache_file;;
1178
*) . ./$cache_file;;
1182
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1183
echo "$as_me: creating cache $cache_file" >&6;}
1187
# Check that the precious variables saved in the cache have kept the same
1189
ac_cache_corrupted=false
1190
for ac_var in `(set) 2>&1 |
1191
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1192
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1193
eval ac_new_set=\$ac_env_${ac_var}_set
1194
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1195
eval ac_new_val="\$ac_env_${ac_var}_value"
1196
case $ac_old_set,$ac_new_set in
1198
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1199
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1200
ac_cache_corrupted=: ;;
1202
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1203
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1204
ac_cache_corrupted=: ;;
1207
if test "x$ac_old_val" != "x$ac_new_val"; then
1208
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1209
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1210
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1211
echo "$as_me: former value: $ac_old_val" >&2;}
1212
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1213
echo "$as_me: current value: $ac_new_val" >&2;}
1214
ac_cache_corrupted=:
1217
# Pass precious variables to config.status.
1218
if test "$ac_new_set" = set; then
1220
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1221
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1222
*) ac_arg=$ac_var=$ac_new_val ;;
1224
case " $ac_configure_args " in
1225
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1226
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1230
if $ac_cache_corrupted; then
1231
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1232
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1233
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1234
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1235
{ (exit 1); exit 1; }; }
1239
ac_cpp='$CPP $CPPFLAGS'
1240
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1241
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1242
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1265
ac_cpp='$CPP $CPPFLAGS'
1266
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1267
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1268
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1269
if test -n "$ac_tool_prefix"; then
1270
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1271
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1272
echo "$as_me:$LINENO: checking for $ac_word" >&5
1273
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1274
if test "${ac_cv_prog_CC+set}" = set; then
1275
echo $ECHO_N "(cached) $ECHO_C" >&6
1277
if test -n "$CC"; then
1278
ac_cv_prog_CC="$CC" # Let the user override the test.
1280
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1284
test -z "$as_dir" && as_dir=.
1285
for ac_exec_ext in '' $ac_executable_extensions; do
1286
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1287
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1288
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1297
if test -n "$CC"; then
1298
echo "$as_me:$LINENO: result: $CC" >&5
1299
echo "${ECHO_T}$CC" >&6
1301
echo "$as_me:$LINENO: result: no" >&5
1302
echo "${ECHO_T}no" >&6
1306
if test -z "$ac_cv_prog_CC"; then
1308
# Extract the first word of "gcc", so it can be a program name with args.
546
1309
set dummy gcc; ac_word=$2
547
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
548
echo "configure:549: checking for $ac_word" >&5
549
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
550
echo $ac_n "(cached) $ac_c" 1>&6
1310
echo "$as_me:$LINENO: checking for $ac_word" >&5
1311
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1312
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1313
echo $ECHO_N "(cached) $ECHO_C" >&6
1315
if test -n "$ac_ct_CC"; then
1316
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1318
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1322
test -z "$as_dir" && as_dir=.
1323
for ac_exec_ext in '' $ac_executable_extensions; do
1324
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1325
ac_cv_prog_ac_ct_CC="gcc"
1326
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1334
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1335
if test -n "$ac_ct_CC"; then
1336
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1337
echo "${ECHO_T}$ac_ct_CC" >&6
1339
echo "$as_me:$LINENO: result: no" >&5
1340
echo "${ECHO_T}no" >&6
1348
if test -z "$CC"; then
1349
if test -n "$ac_tool_prefix"; then
1350
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1351
set dummy ${ac_tool_prefix}cc; ac_word=$2
1352
echo "$as_me:$LINENO: checking for $ac_word" >&5
1353
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1354
if test "${ac_cv_prog_CC+set}" = set; then
1355
echo $ECHO_N "(cached) $ECHO_C" >&6
552
1357
if test -n "$CC"; then
553
1358
ac_cv_prog_CC="$CC" # Let the user override the test.
555
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
557
for ac_dir in $ac_dummy; do
558
test -z "$ac_dir" && ac_dir=.
559
if test -f $ac_dir/$ac_word; then
1360
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1364
test -z "$as_dir" && as_dir=.
1365
for ac_exec_ext in '' $ac_executable_extensions; do
1366
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1367
ac_cv_prog_CC="${ac_tool_prefix}cc"
1368
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
568
1377
if test -n "$CC"; then
569
echo "$ac_t""$CC" 1>&6
571
echo "$ac_t""no" 1>&6
1378
echo "$as_me:$LINENO: result: $CC" >&5
1379
echo "${ECHO_T}$CC" >&6
1381
echo "$as_me:$LINENO: result: no" >&5
1382
echo "${ECHO_T}no" >&6
1386
if test -z "$ac_cv_prog_CC"; then
1388
# Extract the first word of "cc", so it can be a program name with args.
1389
set dummy cc; ac_word=$2
1390
echo "$as_me:$LINENO: checking for $ac_word" >&5
1391
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1392
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1393
echo $ECHO_N "(cached) $ECHO_C" >&6
1395
if test -n "$ac_ct_CC"; then
1396
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1398
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1402
test -z "$as_dir" && as_dir=.
1403
for ac_exec_ext in '' $ac_executable_extensions; do
1404
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1405
ac_cv_prog_ac_ct_CC="cc"
1406
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1414
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1415
if test -n "$ac_ct_CC"; then
1416
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1417
echo "${ECHO_T}$ac_ct_CC" >&6
1419
echo "$as_me:$LINENO: result: no" >&5
1420
echo "${ECHO_T}no" >&6
574
1429
if test -z "$CC"; then
575
1430
# Extract the first word of "cc", so it can be a program name with args.
576
1431
set dummy cc; ac_word=$2
577
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
578
echo "configure:579: checking for $ac_word" >&5
579
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
580
echo $ac_n "(cached) $ac_c" 1>&6
1432
echo "$as_me:$LINENO: checking for $ac_word" >&5
1433
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1434
if test "${ac_cv_prog_CC+set}" = set; then
1435
echo $ECHO_N "(cached) $ECHO_C" >&6
582
1437
if test -n "$CC"; then
583
1438
ac_cv_prog_CC="$CC" # Let the user override the test.
585
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
586
1440
ac_prog_rejected=no
588
for ac_dir in $ac_dummy; do
589
test -z "$ac_dir" && ac_dir=.
590
if test -f $ac_dir/$ac_word; then
591
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1441
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1445
test -z "$as_dir" && as_dir=.
1446
for ac_exec_ext in '' $ac_executable_extensions; do
1447
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1448
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1449
ac_prog_rejected=yes
1453
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
600
1459
if test $ac_prog_rejected = yes; then
601
1460
# We found a bogon in the path, so make sure we never use it.
602
1461
set dummy $ac_cv_prog_CC
604
if test $# -gt 0; then
1463
if test $# != 0; then
605
1464
# We chose a different compiler from the bogus one.
606
1465
# However, it has the same basename, so the bogon will be chosen
607
1466
# first if we set CC to just the basename; use the full file name.
609
set dummy "$ac_dir/$ac_word" "$@"
1468
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
617
1474
if test -n "$CC"; then
618
echo "$ac_t""$CC" 1>&6
1475
echo "$as_me:$LINENO: result: $CC" >&5
1476
echo "${ECHO_T}$CC" >&6
620
echo "$ac_t""no" 1>&6
1478
echo "$as_me:$LINENO: result: no" >&5
1479
echo "${ECHO_T}no" >&6
623
if test -z "$CC"; then
626
# Extract the first word of "cl", so it can be a program name with args.
627
set dummy cl; ac_word=$2
628
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
629
echo "configure:630: checking for $ac_word" >&5
630
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
631
echo $ac_n "(cached) $ac_c" 1>&6
1483
if test -z "$CC"; then
1484
if test -n "$ac_tool_prefix"; then
1487
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1488
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1489
echo "$as_me:$LINENO: checking for $ac_word" >&5
1490
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1491
if test "${ac_cv_prog_CC+set}" = set; then
1492
echo $ECHO_N "(cached) $ECHO_C" >&6
633
1494
if test -n "$CC"; then
634
1495
ac_cv_prog_CC="$CC" # Let the user override the test.
636
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
638
for ac_dir in $ac_dummy; do
639
test -z "$ac_dir" && ac_dir=.
640
if test -f $ac_dir/$ac_word; then
1497
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1501
test -z "$as_dir" && as_dir=.
1502
for ac_exec_ext in '' $ac_executable_extensions; do
1503
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1504
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1505
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1514
if test -n "$CC"; then
1515
echo "$as_me:$LINENO: result: $CC" >&5
1516
echo "${ECHO_T}$CC" >&6
1518
echo "$as_me:$LINENO: result: no" >&5
1519
echo "${ECHO_T}no" >&6
1522
test -n "$CC" && break
649
if test -n "$CC"; then
650
echo "$ac_t""$CC" 1>&6
652
echo "$ac_t""no" 1>&6
1525
if test -z "$CC"; then
1529
# Extract the first word of "$ac_prog", so it can be a program name with args.
1530
set dummy $ac_prog; ac_word=$2
1531
echo "$as_me:$LINENO: checking for $ac_word" >&5
1532
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1533
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1534
echo $ECHO_N "(cached) $ECHO_C" >&6
1536
if test -n "$ac_ct_CC"; then
1537
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1539
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1543
test -z "$as_dir" && as_dir=.
1544
for ac_exec_ext in '' $ac_executable_extensions; do
1545
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1546
ac_cv_prog_ac_ct_CC="$ac_prog"
1547
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
657
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
660
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
661
echo "configure:662: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
664
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
665
ac_cpp='$CPP $CPPFLAGS'
666
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
667
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
668
cross_compiling=$ac_cv_prog_cc_cross
670
cat > conftest.$ac_ext << EOF
672
#line 673 "configure"
673
#include "confdefs.h"
677
if { (eval echo configure:678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
678
ac_cv_prog_cc_works=yes
679
# If we can't run a trivial program, we are probably using a cross compiler.
680
if (./conftest; exit) 2>/dev/null; then
681
ac_cv_prog_cc_cross=no
1555
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1556
if test -n "$ac_ct_CC"; then
1557
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1558
echo "${ECHO_T}$ac_ct_CC" >&6
1560
echo "$as_me:$LINENO: result: no" >&5
1561
echo "${ECHO_T}no" >&6
1564
test -n "$ac_ct_CC" && break
1573
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1574
See \`config.log' for more details." >&5
1575
echo "$as_me: error: no acceptable C compiler found in \$PATH
1576
See \`config.log' for more details." >&2;}
1577
{ (exit 1); exit 1; }; }
1579
# Provide some information about the compiler.
1580
echo "$as_me:$LINENO:" \
1581
"checking for C compiler version" >&5
1582
ac_compiler=`set X $ac_compile; echo $2`
1583
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1584
(eval $ac_compiler --version </dev/null >&5) 2>&5
1586
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1587
(exit $ac_status); }
1588
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1589
(eval $ac_compiler -v </dev/null >&5) 2>&5
1591
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1592
(exit $ac_status); }
1593
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1594
(eval $ac_compiler -V </dev/null >&5) 2>&5
1596
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1597
(exit $ac_status); }
1599
cat >conftest.$ac_ext <<_ACEOF
1602
cat confdefs.h >>conftest.$ac_ext
1603
cat >>conftest.$ac_ext <<_ACEOF
1604
/* end confdefs.h. */
1614
ac_clean_files_save=$ac_clean_files
1615
ac_clean_files="$ac_clean_files a.out a.exe b.out"
1616
# Try to create an executable without -o first, disregard a.out.
1617
# It will help us diagnose broken compilers, and finding out an intuition
1619
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1620
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1621
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1622
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1623
(eval $ac_link_default) 2>&5
1625
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1626
(exit $ac_status); }; then
1627
# Find the output, starting from the most likely. This scheme is
1628
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1631
# Be careful to initialize this variable, since it used to be cached.
1632
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1634
# b.out is created by i960 compilers.
1635
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1637
test -f "$ac_file" || continue
1639
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1642
# This is the source file.
1645
# We found the default executable, but exeext='' is most
1649
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1650
# FIXME: I believe we export ac_cv_exeext for Libtool,
1651
# but it would be cool to find out if it's true. Does anybody
1652
# maintain Libtool? --akim.
1660
echo "$as_me: failed program was:" >&5
1661
sed 's/^/| /' conftest.$ac_ext >&5
1663
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1664
See \`config.log' for more details." >&5
1665
echo "$as_me: error: C compiler cannot create executables
1666
See \`config.log' for more details." >&2;}
1667
{ (exit 77); exit 77; }; }
1670
ac_exeext=$ac_cv_exeext
1671
echo "$as_me:$LINENO: result: $ac_file" >&5
1672
echo "${ECHO_T}$ac_file" >&6
1674
# Check the compiler produces executables we can run. If not, either
1675
# the compiler is broken, or we cross compile.
1676
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1677
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1678
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1679
# If not cross compiling, check that we can run a simple program.
1680
if test "$cross_compiling" != yes; then
1681
if { ac_try='./$ac_file'
1682
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1685
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1686
(exit $ac_status); }; }; then
683
ac_cv_prog_cc_cross=yes
1689
if test "$cross_compiling" = maybe; then
1692
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1693
If you meant to cross compile, use \`--host'.
1694
See \`config.log' for more details." >&5
1695
echo "$as_me: error: cannot run C compiled programs.
1696
If you meant to cross compile, use \`--host'.
1697
See \`config.log' for more details." >&2;}
1698
{ (exit 1); exit 1; }; }
686
echo "configure: failed program was:" >&5
687
cat conftest.$ac_ext >&5
688
ac_cv_prog_cc_works=no
692
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
693
ac_cpp='$CPP $CPPFLAGS'
694
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
695
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
696
cross_compiling=$ac_cv_prog_cc_cross
698
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
699
if test $ac_cv_prog_cc_works = no; then
700
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
702
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
703
echo "configure:704: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
704
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
705
cross_compiling=$ac_cv_prog_cc_cross
707
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
708
echo "configure:709: checking whether we are using GNU C" >&5
709
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
710
echo $ac_n "(cached) $ac_c" 1>&6
712
cat > conftest.c <<EOF
1702
echo "$as_me:$LINENO: result: yes" >&5
1703
echo "${ECHO_T}yes" >&6
1705
rm -f a.out a.exe conftest$ac_cv_exeext b.out
1706
ac_clean_files=$ac_clean_files_save
1707
# Check the compiler produces executables we can run. If not, either
1708
# the compiler is broken, or we cross compile.
1709
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1710
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1711
echo "$as_me:$LINENO: result: $cross_compiling" >&5
1712
echo "${ECHO_T}$cross_compiling" >&6
1714
echo "$as_me:$LINENO: checking for suffix of executables" >&5
1715
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1716
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1717
(eval $ac_link) 2>&5
1719
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1720
(exit $ac_status); }; then
1721
# If both `conftest.exe' and `conftest' are `present' (well, observable)
1722
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1723
# work properly (i.e., refer to `conftest.exe'), while it won't with
1725
for ac_file in conftest.exe conftest conftest.*; do
1726
test -f "$ac_file" || continue
1728
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1729
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1736
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1737
See \`config.log' for more details." >&5
1738
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1739
See \`config.log' for more details." >&2;}
1740
{ (exit 1); exit 1; }; }
1743
rm -f conftest$ac_cv_exeext
1744
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1745
echo "${ECHO_T}$ac_cv_exeext" >&6
1747
rm -f conftest.$ac_ext
1748
EXEEXT=$ac_cv_exeext
1750
echo "$as_me:$LINENO: checking for suffix of object files" >&5
1751
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1752
if test "${ac_cv_objext+set}" = set; then
1753
echo $ECHO_N "(cached) $ECHO_C" >&6
1755
cat >conftest.$ac_ext <<_ACEOF
1758
cat confdefs.h >>conftest.$ac_ext
1759
cat >>conftest.$ac_ext <<_ACEOF
1760
/* end confdefs.h. */
1770
rm -f conftest.o conftest.obj
1771
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1772
(eval $ac_compile) 2>&5
1774
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1775
(exit $ac_status); }; then
1776
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1778
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1779
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1784
echo "$as_me: failed program was:" >&5
1785
sed 's/^/| /' conftest.$ac_ext >&5
1787
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1788
See \`config.log' for more details." >&5
1789
echo "$as_me: error: cannot compute suffix of object files: cannot compile
1790
See \`config.log' for more details." >&2;}
1791
{ (exit 1); exit 1; }; }
1794
rm -f conftest.$ac_cv_objext conftest.$ac_ext
1796
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1797
echo "${ECHO_T}$ac_cv_objext" >&6
1798
OBJEXT=$ac_cv_objext
1800
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1801
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1802
if test "${ac_cv_c_compiler_gnu+set}" = set; then
1803
echo $ECHO_N "(cached) $ECHO_C" >&6
1805
cat >conftest.$ac_ext <<_ACEOF
1808
cat confdefs.h >>conftest.$ac_ext
1809
cat >>conftest.$ac_ext <<_ACEOF
1810
/* end confdefs.h. */
717
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
724
echo "$ac_t""$ac_cv_prog_gcc" 1>&6
726
if test $ac_cv_prog_gcc = yes; then
732
ac_test_CFLAGS="${CFLAGS+set}"
733
ac_save_CFLAGS="$CFLAGS"
735
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
736
echo "configure:737: checking whether ${CC-cc} accepts -g" >&5
737
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
738
echo $ac_n "(cached) $ac_c" 1>&6
740
echo 'void f(){}' > conftest.c
741
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1823
rm -f conftest.$ac_objext
1824
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1825
(eval $ac_compile) 2>conftest.er1
1827
grep -v '^ *+' conftest.er1 >conftest.err
1829
cat conftest.err >&5
1830
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1831
(exit $ac_status); } &&
1832
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1833
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1836
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1837
(exit $ac_status); }; } &&
1838
{ ac_try='test -s conftest.$ac_objext'
1839
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1842
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1843
(exit $ac_status); }; }; then
1846
echo "$as_me: failed program was:" >&5
1847
sed 's/^/| /' conftest.$ac_ext >&5
1851
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1852
ac_cv_c_compiler_gnu=$ac_compiler_gnu
1855
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1856
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1857
GCC=`test $ac_compiler_gnu = yes && echo yes`
1858
ac_test_CFLAGS=${CFLAGS+set}
1859
ac_save_CFLAGS=$CFLAGS
1861
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1862
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1863
if test "${ac_cv_prog_cc_g+set}" = set; then
1864
echo $ECHO_N "(cached) $ECHO_C" >&6
1866
cat >conftest.$ac_ext <<_ACEOF
1869
cat confdefs.h >>conftest.$ac_ext
1870
cat >>conftest.$ac_ext <<_ACEOF
1871
/* end confdefs.h. */
1881
rm -f conftest.$ac_objext
1882
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1883
(eval $ac_compile) 2>conftest.er1
1885
grep -v '^ *+' conftest.er1 >conftest.err
1887
cat conftest.err >&5
1888
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1889
(exit $ac_status); } &&
1890
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1891
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1894
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1895
(exit $ac_status); }; } &&
1896
{ ac_try='test -s conftest.$ac_objext'
1897
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1900
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1901
(exit $ac_status); }; }; then
742
1902
ac_cv_prog_cc_g=yes
750
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1904
echo "$as_me: failed program was:" >&5
1905
sed 's/^/| /' conftest.$ac_ext >&5
1909
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1911
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1912
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
751
1913
if test "$ac_test_CFLAGS" = set; then
752
CFLAGS="$ac_save_CFLAGS"
1914
CFLAGS=$ac_save_CFLAGS
753
1915
elif test $ac_cv_prog_cc_g = yes; then
754
1916
if test "$GCC" = yes; then
1928
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1929
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1930
if test "${ac_cv_prog_cc_stdc+set}" = set; then
1931
echo $ECHO_N "(cached) $ECHO_C" >&6
1933
ac_cv_prog_cc_stdc=no
1935
cat >conftest.$ac_ext <<_ACEOF
1938
cat confdefs.h >>conftest.$ac_ext
1939
cat >>conftest.$ac_ext <<_ACEOF
1940
/* end confdefs.h. */
1943
#include <sys/types.h>
1944
#include <sys/stat.h>
1945
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1946
struct buf { int x; };
1947
FILE * (*rcsopen) (struct buf *, struct stat *, int);
1948
static char *e (p, i)
1954
static char *f (char * (*g) (char **, int), char **p, ...)
1959
s = g (p, va_arg (v,int));
1964
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1965
function prototypes and stuff, but not '\xHH' hex character constants.
1966
These don't provoke an error unfortunately, instead are silently treated
1967
as 'x'. The following induces an error, until -std1 is added to get
1968
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1969
array size at least. It's necessary to write '\x00'==0 to get something
1970
that's true only with -std1. */
1971
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1973
int test (int i, double x);
1974
struct s1 {int (*f) (int a);};
1975
struct s2 {int (*f) (double a);};
1976
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1982
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1987
# Don't try gcc -ansi; that turns off useful extensions and
1988
# breaks some systems' header files.
1989
# AIX -qlanglvl=ansi
1990
# Ultrix and OSF/1 -std1
1991
# HP-UX 10.20 and later -Ae
1992
# HP-UX older versions -Aa -D_HPUX_SOURCE
1993
# SVR4 -Xc -D__EXTENSIONS__
1994
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1996
CC="$ac_save_CC $ac_arg"
1997
rm -f conftest.$ac_objext
1998
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1999
(eval $ac_compile) 2>conftest.er1
2001
grep -v '^ *+' conftest.er1 >conftest.err
2003
cat conftest.err >&5
2004
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2005
(exit $ac_status); } &&
2006
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2007
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2010
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2011
(exit $ac_status); }; } &&
2012
{ ac_try='test -s conftest.$ac_objext'
2013
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2016
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2017
(exit $ac_status); }; }; then
2018
ac_cv_prog_cc_stdc=$ac_arg
2021
echo "$as_me: failed program was:" >&5
2022
sed 's/^/| /' conftest.$ac_ext >&5
2025
rm -f conftest.err conftest.$ac_objext
2027
rm -f conftest.$ac_ext conftest.$ac_objext
2032
case "x$ac_cv_prog_cc_stdc" in
2034
echo "$as_me:$LINENO: result: none needed" >&5
2035
echo "${ECHO_T}none needed" >&6 ;;
2037
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2038
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2039
CC="$CC $ac_cv_prog_cc_stdc" ;;
2042
# Some people use a C++ compiler to compile C. Since we use `exit',
2043
# in C++ we need to declare it. In case someone uses the same compiler
2044
# for both compiling C and C++ we need to have the C++ compiler decide
2045
# the declaration of exit, since it's the most demanding environment.
2046
cat >conftest.$ac_ext <<_ACEOF
2051
rm -f conftest.$ac_objext
2052
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2053
(eval $ac_compile) 2>conftest.er1
2055
grep -v '^ *+' conftest.er1 >conftest.err
2057
cat conftest.err >&5
2058
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2059
(exit $ac_status); } &&
2060
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2061
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2064
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2065
(exit $ac_status); }; } &&
2066
{ ac_try='test -s conftest.$ac_objext'
2067
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2070
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2071
(exit $ac_status); }; }; then
2072
for ac_declaration in \
2074
'extern "C" void std::exit (int) throw (); using std::exit;' \
2075
'extern "C" void std::exit (int); using std::exit;' \
2076
'extern "C" void exit (int) throw ();' \
2077
'extern "C" void exit (int);' \
2080
cat >conftest.$ac_ext <<_ACEOF
2083
cat confdefs.h >>conftest.$ac_ext
2084
cat >>conftest.$ac_ext <<_ACEOF
2085
/* end confdefs.h. */
2096
rm -f conftest.$ac_objext
2097
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2098
(eval $ac_compile) 2>conftest.er1
2100
grep -v '^ *+' conftest.er1 >conftest.err
2102
cat conftest.err >&5
2103
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2104
(exit $ac_status); } &&
2105
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2106
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2109
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2110
(exit $ac_status); }; } &&
2111
{ ac_try='test -s conftest.$ac_objext'
2112
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2115
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2116
(exit $ac_status); }; }; then
2119
echo "$as_me: failed program was:" >&5
2120
sed 's/^/| /' conftest.$ac_ext >&5
2124
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2125
cat >conftest.$ac_ext <<_ACEOF
2128
cat confdefs.h >>conftest.$ac_ext
2129
cat >>conftest.$ac_ext <<_ACEOF
2130
/* end confdefs.h. */
2140
rm -f conftest.$ac_objext
2141
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2142
(eval $ac_compile) 2>conftest.er1
2144
grep -v '^ *+' conftest.er1 >conftest.err
2146
cat conftest.err >&5
2147
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2148
(exit $ac_status); } &&
2149
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2150
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2153
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2154
(exit $ac_status); }; } &&
2155
{ ac_try='test -s conftest.$ac_objext'
2156
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2159
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160
(exit $ac_status); }; }; then
2163
echo "$as_me: failed program was:" >&5
2164
sed 's/^/| /' conftest.$ac_ext >&5
2167
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2170
if test -n "$ac_declaration"; then
2171
echo '#ifdef __cplusplus' >>confdefs.h
2172
echo $ac_declaration >>confdefs.h
2173
echo '#endif' >>confdefs.h
2177
echo "$as_me: failed program was:" >&5
2178
sed 's/^/| /' conftest.$ac_ext >&5
2181
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2183
ac_cpp='$CPP $CPPFLAGS'
2184
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2185
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2186
ac_compiler_gnu=$ac_cv_c_compiler_gnu
766
2187
for ac_prog in ar
768
# Extract the first word of "$ac_prog", so it can be a program name with args.
2189
# Extract the first word of "$ac_prog", so it can be a program name with args.
769
2190
set dummy $ac_prog; ac_word=$2
770
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
771
echo "configure:772: checking for $ac_word" >&5
772
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
773
echo $ac_n "(cached) $ac_c" 1>&6
2191
echo "$as_me:$LINENO: checking for $ac_word" >&5
2192
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2193
if test "${ac_cv_prog_AR+set}" = set; then
2194
echo $ECHO_N "(cached) $ECHO_C" >&6
775
2196
if test -n "$AR"; then
776
2197
ac_cv_prog_AR="$AR" # Let the user override the test.
778
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
780
for ac_dir in $ac_dummy; do
781
test -z "$ac_dir" && ac_dir=.
782
if test -f $ac_dir/$ac_word; then
783
ac_cv_prog_AR="$ac_prog"
2199
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2203
test -z "$as_dir" && as_dir=.
2204
for ac_exec_ext in '' $ac_executable_extensions; do
2205
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2206
ac_cv_prog_AR="$ac_prog"
2207
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
791
2216
if test -n "$AR"; then
792
echo "$ac_t""$AR" 1>&6
2217
echo "$as_me:$LINENO: result: $AR" >&5
2218
echo "${ECHO_T}$AR" >&6
794
echo "$ac_t""no" 1>&6
2220
echo "$as_me:$LINENO: result: no" >&5
2221
echo "${ECHO_T}no" >&6
797
test -n "$AR" && break
2224
test -n "$AR" && break
799
2226
test -n "$AR" || AR="no"
800
2227
for ac_prog in awk
802
# Extract the first word of "$ac_prog", so it can be a program name with args.
2229
# Extract the first word of "$ac_prog", so it can be a program name with args.
803
2230
set dummy $ac_prog; ac_word=$2
804
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
805
echo "configure:806: checking for $ac_word" >&5
806
if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
807
echo $ac_n "(cached) $ac_c" 1>&6
2231
echo "$as_me:$LINENO: checking for $ac_word" >&5
2232
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2233
if test "${ac_cv_prog_AWK+set}" = set; then
2234
echo $ECHO_N "(cached) $ECHO_C" >&6
809
2236
if test -n "$AWK"; then
810
2237
ac_cv_prog_AWK="$AWK" # Let the user override the test.
812
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
814
for ac_dir in $ac_dummy; do
815
test -z "$ac_dir" && ac_dir=.
816
if test -f $ac_dir/$ac_word; then
817
ac_cv_prog_AWK="$ac_prog"
824
AWK="$ac_cv_prog_AWK"
2239
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2243
test -z "$as_dir" && as_dir=.
2244
for ac_exec_ext in '' $ac_executable_extensions; do
2245
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2246
ac_cv_prog_AWK="$ac_prog"
2247
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
825
2256
if test -n "$AWK"; then
826
echo "$ac_t""$AWK" 1>&6
2257
echo "$as_me:$LINENO: result: $AWK" >&5
2258
echo "${ECHO_T}$AWK" >&6
828
echo "$ac_t""no" 1>&6
2260
echo "$as_me:$LINENO: result: no" >&5
2261
echo "${ECHO_T}no" >&6
831
test -n "$AWK" && break
2264
test -n "$AWK" && break
833
2266
test -n "$AWK" || AWK="no"
2267
ac_config_headers="$ac_config_headers config.h"
835
2269
PATH=$PATH:/usr/local/bin
837
2271
# Extract the first word of "id", so it can be a program name with args.
838
2272
set dummy id; ac_word=$2
839
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
840
echo "configure:841: checking for $ac_word" >&5
841
if eval "test \"`echo '$''{'ac_cv_path_id'+set}'`\" = set"; then
842
echo $ac_n "(cached) $ac_c" 1>&6
2273
echo "$as_me:$LINENO: checking for $ac_word" >&5
2274
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2275
if test "${ac_cv_path_id+set}" = set; then
2276
echo $ECHO_N "(cached) $ECHO_C" >&6
846
2280
ac_cv_path_id="$id" # Let the user override the test with a path.
849
ac_cv_path_id="$id" # Let the user override the test with a dos path.
852
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
853
ac_dummy="/usr/local/bin:/bin:/usr/bin:/usr/xpg4/bin:$PATH"
854
for ac_dir in $ac_dummy; do
855
test -z "$ac_dir" && ac_dir=.
856
if test -f $ac_dir/$ac_word; then
857
ac_cv_path_id="$ac_dir/$ac_word"
2283
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2284
as_dummy="/usr/local/bin:/bin:/usr/bin:/usr/xpg4/bin:$PATH"
2285
for as_dir in $as_dummy
2288
test -z "$as_dir" && as_dir=.
2289
for ac_exec_ext in '' $ac_executable_extensions; do
2290
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2291
ac_cv_path_id="$as_dir/$ac_word$ac_exec_ext"
2292
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
862
2298
test -z "$ac_cv_path_id" && ac_cv_path_id="/usr/bin/id"
867
2304
if test -n "$id"; then
868
echo "$ac_t""$id" 1>&6
2305
echo "$as_me:$LINENO: result: $id" >&5
2306
echo "${ECHO_T}$id" >&6
870
echo "$ac_t""no" 1>&6
2308
echo "$as_me:$LINENO: result: no" >&5
2309
echo "${ECHO_T}no" >&6
1118
2590
PTHREAD_FLAG=""
1119
2591
ac_cv_prog_cc_pthread=no
1121
echo "$ac_t""$ac_cv_prog_cc_pthread" 1>&6
2593
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_pthread" >&5
2594
echo "${ECHO_T}$ac_cv_prog_cc_pthread" >&6
1122
2595
rm -f conftest*
1124
2597
PTHREAD_FLAG=""
1127
echo $ac_n "checking for res_init in -lresolv""... $ac_c" 1>&6
1128
echo "configure:1129: checking for res_init in -lresolv" >&5
1129
ac_lib_var=`echo resolv'_'res_init | sed 'y%./+-%__p_%'`
1130
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1131
echo $ac_n "(cached) $ac_c" 1>&6
2602
echo "$as_me:$LINENO: checking for res_init in -lresolv" >&5
2603
echo $ECHO_N "checking for res_init in -lresolv... $ECHO_C" >&6
2604
if test "${ac_cv_lib_resolv_res_init+set}" = set; then
2605
echo $ECHO_N "(cached) $ECHO_C" >&6
1133
ac_save_LIBS="$LIBS"
2607
ac_check_lib_save_LIBS=$LIBS
1134
2608
LIBS="-lresolv $LIBS"
1135
cat > conftest.$ac_ext <<EOF
1136
#line 1137 "configure"
1137
#include "confdefs.h"
2609
cat >conftest.$ac_ext <<_ACEOF
2612
cat confdefs.h >>conftest.$ac_ext
2613
cat >>conftest.$ac_ext <<_ACEOF
2614
/* end confdefs.h. */
1138
2616
/* Override any gcc2 internal prototype to avoid an error. */
1139
2620
/* We use char because int might match the return type of a gcc2
1140
builtin and then its argument prototype would still apply. */
1147
if { (eval echo configure:1148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1149
eval "ac_cv_lib_$ac_lib_var=yes"
2621
builtin and then its argument prototype would still apply. */
2631
rm -f conftest.$ac_objext conftest$ac_exeext
2632
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2633
(eval $ac_link) 2>conftest.er1
2635
grep -v '^ *+' conftest.er1 >conftest.err
2637
cat conftest.err >&5
2638
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639
(exit $ac_status); } &&
2640
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2641
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2644
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2645
(exit $ac_status); }; } &&
2646
{ ac_try='test -s conftest$ac_exeext'
2647
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2650
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2651
(exit $ac_status); }; }; then
2652
ac_cv_lib_resolv_res_init=yes
1151
echo "configure: failed program was:" >&5
1152
cat conftest.$ac_ext >&5
1154
eval "ac_cv_lib_$ac_lib_var=no"
1157
LIBS="$ac_save_LIBS"
2654
echo "$as_me: failed program was:" >&5
2655
sed 's/^/| /' conftest.$ac_ext >&5
1160
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1161
echo "$ac_t""yes" 1>&6
1162
ac_tr_lib=HAVE_LIB`echo resolv | sed -e 's/[^a-zA-Z0-9_]/_/g' \
1163
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
1164
cat >> confdefs.h <<EOF
1165
#define $ac_tr_lib 1
2657
ac_cv_lib_resolv_res_init=no
2659
rm -f conftest.err conftest.$ac_objext \
2660
conftest$ac_exeext conftest.$ac_ext
2661
LIBS=$ac_check_lib_save_LIBS
2663
echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_init" >&5
2664
echo "${ECHO_T}$ac_cv_lib_resolv_res_init" >&6
2665
if test $ac_cv_lib_resolv_res_init = yes; then
2666
cat >>confdefs.h <<_ACEOF
2667
#define HAVE_LIBRESOLV 1
1168
2670
LIBS="-lresolv $LIBS"
1171
echo "$ac_t""no" 1>&6
1174
echo $ac_n "checking for htons in -lsocket""... $ac_c" 1>&6
1175
echo "configure:1176: checking for htons in -lsocket" >&5
1176
ac_lib_var=`echo socket'_'htons | sed 'y%./+-%__p_%'`
1177
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1178
echo $ac_n "(cached) $ac_c" 1>&6
2675
echo "$as_me:$LINENO: checking for htons in -lsocket" >&5
2676
echo $ECHO_N "checking for htons in -lsocket... $ECHO_C" >&6
2677
if test "${ac_cv_lib_socket_htons+set}" = set; then
2678
echo $ECHO_N "(cached) $ECHO_C" >&6
1180
ac_save_LIBS="$LIBS"
2680
ac_check_lib_save_LIBS=$LIBS
1181
2681
LIBS="-lsocket $LIBS"
1182
cat > conftest.$ac_ext <<EOF
1183
#line 1184 "configure"
1184
#include "confdefs.h"
2682
cat >conftest.$ac_ext <<_ACEOF
2685
cat confdefs.h >>conftest.$ac_ext
2686
cat >>conftest.$ac_ext <<_ACEOF
2687
/* end confdefs.h. */
1185
2689
/* Override any gcc2 internal prototype to avoid an error. */
1186
2693
/* We use char because int might match the return type of a gcc2
1187
builtin and then its argument prototype would still apply. */
1194
if { (eval echo configure:1195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1196
eval "ac_cv_lib_$ac_lib_var=yes"
2694
builtin and then its argument prototype would still apply. */
2704
rm -f conftest.$ac_objext conftest$ac_exeext
2705
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2706
(eval $ac_link) 2>conftest.er1
2708
grep -v '^ *+' conftest.er1 >conftest.err
2710
cat conftest.err >&5
2711
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2712
(exit $ac_status); } &&
2713
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2714
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2717
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2718
(exit $ac_status); }; } &&
2719
{ ac_try='test -s conftest$ac_exeext'
2720
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2723
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724
(exit $ac_status); }; }; then
2725
ac_cv_lib_socket_htons=yes
1198
echo "configure: failed program was:" >&5
1199
cat conftest.$ac_ext >&5
1201
eval "ac_cv_lib_$ac_lib_var=no"
1204
LIBS="$ac_save_LIBS"
2727
echo "$as_me: failed program was:" >&5
2728
sed 's/^/| /' conftest.$ac_ext >&5
1207
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1208
echo "$ac_t""yes" 1>&6
1209
ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \
1210
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
1211
cat >> confdefs.h <<EOF
1212
#define $ac_tr_lib 1
2730
ac_cv_lib_socket_htons=no
2732
rm -f conftest.err conftest.$ac_objext \
2733
conftest$ac_exeext conftest.$ac_ext
2734
LIBS=$ac_check_lib_save_LIBS
2736
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_htons" >&5
2737
echo "${ECHO_T}$ac_cv_lib_socket_htons" >&6
2738
if test $ac_cv_lib_socket_htons = yes; then
2739
cat >>confdefs.h <<_ACEOF
2740
#define HAVE_LIBSOCKET 1
1215
2743
LIBS="-lsocket $LIBS"
1218
echo "$ac_t""no" 1>&6
1221
echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
1222
echo "configure:1223: checking for gethostbyname in -lnsl" >&5
1223
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
1224
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1225
echo $ac_n "(cached) $ac_c" 1>&6
2748
echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
2749
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
2750
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
2751
echo $ECHO_N "(cached) $ECHO_C" >&6
1227
ac_save_LIBS="$LIBS"
2753
ac_check_lib_save_LIBS=$LIBS
1228
2754
LIBS="-lnsl $LIBS"
1229
cat > conftest.$ac_ext <<EOF
1230
#line 1231 "configure"
1231
#include "confdefs.h"
2755
cat >conftest.$ac_ext <<_ACEOF
2758
cat confdefs.h >>conftest.$ac_ext
2759
cat >>conftest.$ac_ext <<_ACEOF
2760
/* end confdefs.h. */
1232
2762
/* Override any gcc2 internal prototype to avoid an error. */
1233
2766
/* We use char because int might match the return type of a gcc2
1234
builtin and then its argument prototype would still apply. */
1235
char gethostbyname();
1241
if { (eval echo configure:1242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1243
eval "ac_cv_lib_$ac_lib_var=yes"
2767
builtin and then its argument prototype would still apply. */
2768
char gethostbyname ();
2777
rm -f conftest.$ac_objext conftest$ac_exeext
2778
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2779
(eval $ac_link) 2>conftest.er1
2781
grep -v '^ *+' conftest.er1 >conftest.err
2783
cat conftest.err >&5
2784
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2785
(exit $ac_status); } &&
2786
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2787
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2790
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2791
(exit $ac_status); }; } &&
2792
{ ac_try='test -s conftest$ac_exeext'
2793
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2796
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2797
(exit $ac_status); }; }; then
2798
ac_cv_lib_nsl_gethostbyname=yes
1245
echo "configure: failed program was:" >&5
1246
cat conftest.$ac_ext >&5
1248
eval "ac_cv_lib_$ac_lib_var=no"
1251
LIBS="$ac_save_LIBS"
2800
echo "$as_me: failed program was:" >&5
2801
sed 's/^/| /' conftest.$ac_ext >&5
1254
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1255
echo "$ac_t""yes" 1>&6
1256
ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
1257
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
1258
cat >> confdefs.h <<EOF
1259
#define $ac_tr_lib 1
2803
ac_cv_lib_nsl_gethostbyname=no
2805
rm -f conftest.err conftest.$ac_objext \
2806
conftest$ac_exeext conftest.$ac_ext
2807
LIBS=$ac_check_lib_save_LIBS
2809
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
2810
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
2811
if test $ac_cv_lib_nsl_gethostbyname = yes; then
2812
cat >>confdefs.h <<_ACEOF
2813
#define HAVE_LIBNSL 1
1262
2816
LIBS="-lnsl $LIBS"
1265
echo "$ac_t""no" 1>&6
1268
2820
LIBS_WITHOUT_PTHREAD="$LIBS"
1270
echo $ac_n "checking for pthread_once in -lpthread""... $ac_c" 1>&6
1271
echo "configure:1272: checking for pthread_once in -lpthread" >&5
1272
ac_lib_var=`echo pthread'_'pthread_once | sed 'y%./+-%__p_%'`
1273
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1274
echo $ac_n "(cached) $ac_c" 1>&6
2823
echo "$as_me:$LINENO: checking for pthread_once in -lpthread" >&5
2824
echo $ECHO_N "checking for pthread_once in -lpthread... $ECHO_C" >&6
2825
if test "${ac_cv_lib_pthread_pthread_once+set}" = set; then
2826
echo $ECHO_N "(cached) $ECHO_C" >&6
1276
ac_save_LIBS="$LIBS"
2828
ac_check_lib_save_LIBS=$LIBS
1277
2829
LIBS="-lpthread $LIBS"
1278
cat > conftest.$ac_ext <<EOF
1279
#line 1280 "configure"
1280
#include "confdefs.h"
2830
cat >conftest.$ac_ext <<_ACEOF
2833
cat confdefs.h >>conftest.$ac_ext
2834
cat >>conftest.$ac_ext <<_ACEOF
2835
/* end confdefs.h. */
1281
2837
/* Override any gcc2 internal prototype to avoid an error. */
1282
2841
/* We use char because int might match the return type of a gcc2
1283
builtin and then its argument prototype would still apply. */
1284
char pthread_once();
1290
if { (eval echo configure:1291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1292
eval "ac_cv_lib_$ac_lib_var=yes"
2842
builtin and then its argument prototype would still apply. */
2843
char pthread_once ();
2852
rm -f conftest.$ac_objext conftest$ac_exeext
2853
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2854
(eval $ac_link) 2>conftest.er1
2856
grep -v '^ *+' conftest.er1 >conftest.err
2858
cat conftest.err >&5
2859
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2860
(exit $ac_status); } &&
2861
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2862
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2865
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2866
(exit $ac_status); }; } &&
2867
{ ac_try='test -s conftest$ac_exeext'
2868
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2871
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872
(exit $ac_status); }; }; then
2873
ac_cv_lib_pthread_pthread_once=yes
1294
echo "configure: failed program was:" >&5
1295
cat conftest.$ac_ext >&5
1297
eval "ac_cv_lib_$ac_lib_var=no"
1300
LIBS="$ac_save_LIBS"
2875
echo "$as_me: failed program was:" >&5
2876
sed 's/^/| /' conftest.$ac_ext >&5
1303
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1304
echo "$ac_t""yes" 1>&6
1305
ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/[^a-zA-Z0-9_]/_/g' \
1306
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
1307
cat >> confdefs.h <<EOF
1308
#define $ac_tr_lib 1
2878
ac_cv_lib_pthread_pthread_once=no
2880
rm -f conftest.err conftest.$ac_objext \
2881
conftest$ac_exeext conftest.$ac_ext
2882
LIBS=$ac_check_lib_save_LIBS
2884
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_once" >&5
2885
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_once" >&6
2886
if test $ac_cv_lib_pthread_pthread_once = yes; then
2887
cat >>confdefs.h <<_ACEOF
2888
#define HAVE_LIBPTHREAD 1
1311
2891
LIBS="-lpthread $LIBS"
1314
echo "$ac_t""no" 1>&6
1318
2899
for ac_func in snprintf mkdtemp mktemp
1320
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1321
echo "configure:1322: checking for $ac_func" >&5
1322
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1323
echo $ac_n "(cached) $ac_c" 1>&6
2901
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
2902
echo "$as_me:$LINENO: checking for $ac_func" >&5
2903
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
2904
if eval "test \"\${$as_ac_var+set}\" = set"; then
2905
echo $ECHO_N "(cached) $ECHO_C" >&6
1325
cat > conftest.$ac_ext <<EOF
1326
#line 1327 "configure"
1327
#include "confdefs.h"
2907
cat >conftest.$ac_ext <<_ACEOF
2910
cat confdefs.h >>conftest.$ac_ext
2911
cat >>conftest.$ac_ext <<_ACEOF
2912
/* end confdefs.h. */
2913
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
2914
For example, HP-UX 11i <limits.h> declares gettimeofday. */
2915
#define $ac_func innocuous_$ac_func
1328
2917
/* System header to define __stub macros and hopefully few prototypes,
1329
which can conflict with char $ac_func(); below. */
2918
which can conflict with char $ac_func (); below.
2919
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2920
<limits.h> exists even on freestanding compilers. */
2923
# include <limits.h>
2925
# include <assert.h>
1331
2930
/* Override any gcc2 internal prototype to avoid an error. */
1332
2935
/* We use char because int might match the return type of a gcc2
1333
builtin and then its argument prototype would still apply. */
2936
builtin and then its argument prototype would still apply. */
1338
2938
/* The GNU C library defines this for functions which it implements
1339
2939
to always fail with ENOSYS. Some functions are actually named
1340
2940
something starting with __ and the normal name is an alias. */
1341
2941
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1349
if { (eval echo configure:1350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1351
eval "ac_cv_func_$ac_func=yes"
1353
echo "configure: failed program was:" >&5
1354
cat conftest.$ac_ext >&5
1356
eval "ac_cv_func_$ac_func=no"
1361
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1362
echo "$ac_t""yes" 1>&6
1363
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1364
cat >> confdefs.h <<EOF
1365
#define $ac_tr_func 1
1369
echo "$ac_t""no" 1>&6
2944
char (*f) () = $ac_func;
2953
return f != $ac_func;
2958
rm -f conftest.$ac_objext conftest$ac_exeext
2959
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2960
(eval $ac_link) 2>conftest.er1
2962
grep -v '^ *+' conftest.er1 >conftest.err
2964
cat conftest.err >&5
2965
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966
(exit $ac_status); } &&
2967
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2968
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2971
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972
(exit $ac_status); }; } &&
2973
{ ac_try='test -s conftest$ac_exeext'
2974
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2977
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978
(exit $ac_status); }; }; then
2979
eval "$as_ac_var=yes"
2981
echo "$as_me: failed program was:" >&5
2982
sed 's/^/| /' conftest.$ac_ext >&5
2984
eval "$as_ac_var=no"
2986
rm -f conftest.err conftest.$ac_objext \
2987
conftest$ac_exeext conftest.$ac_ext
2989
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
2990
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
2991
if test `eval echo '${'$as_ac_var'}'` = yes; then
2992
cat >>confdefs.h <<_ACEOF
2993
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1674
3334
if test "$ac_cv_func_snprintf" != "yes" ; then
1675
echo "$ac_t""Your OS lacks snprintf or vsnprintf, but we'll use the" 1>&6
1676
echo "$ac_t""equivalents in $LIBSM" 1>&6
3335
echo "$as_me:$LINENO: result: Your OS lacks snprintf or vsnprintf, but we'll use the" >&5
3336
echo "${ECHO_T}Your OS lacks snprintf or vsnprintf, but we'll use the" >&6
3337
echo "$as_me:$LINENO: result: equivalents in $LIBSM" >&5
3338
echo "${ECHO_T}equivalents in $LIBSM" >&6
1680
3342
if test "$AR" != "no" ; then
1681
echo $ac_n "checking whether libmilter must be linked with libsm""... $ac_c" 1>&6
1682
echo "configure:1683: checking whether libmilter must be linked with libsm" >&5
3343
echo "$as_me:$LINENO: checking whether libmilter must be linked with libsm" >&5
3344
echo $ECHO_N "checking whether libmilter must be linked with libsm... $ECHO_C" >&6
1683
3345
$AR -t $LIBMILTER | fgrep strl.o > /dev/null 2>&1
1684
3346
if test "$?" = 0 ; then
1685
echo "$ac_t""no" 1>&6
3347
echo "$as_me:$LINENO: result: no" >&5
3348
echo "${ECHO_T}no" >&6
1687
echo "$ac_t""yes" 1>&6
3350
echo "$as_me:$LINENO: result: yes" >&5
3351
echo "${ECHO_T}yes" >&6
1692
3356
if test "$NEED_LIBSM" = 1 ; then
1693
3357
if test "$LIBSM" = "no" ; then
1694
{ echo "configure: error: Problem: we need to link with libsm.a, but I can't find it." 1>&2; exit 1; }
3358
{ { echo "$as_me:$LINENO: error: Problem: we need to link with libsm.a, but I can't find it." >&5
3359
echo "$as_me: error: Problem: we need to link with libsm.a, but I can't find it." >&2;}
3360
{ (exit 1); exit 1; }; }
1697
3363
LIBS="$LIBSM $LIBS"
1702
cat > confcache <<\EOF
3367
ac_config_files="$ac_config_files Makefile"
3368
cat >confcache <<\_ACEOF
1703
3369
# This file is a shell script that caches the results of configure
1704
3370
# tests run on this system so they can be shared between configure
1705
# scripts and configure runs. It is not useful on other systems.
1706
# If it contains results you don't want to keep, you may remove or edit it.
1708
# By default, configure uses ./config.cache as the cache file,
1709
# creating it if it does not exist already. You can give configure
1710
# the --cache-file=FILE option to use a different cache file; that is
1711
# what configure does when it calls configure scripts in
1712
# subdirectories, so they share the cache.
1713
# Giving --cache-file=/dev/null disables caching, for debugging configure.
1714
# config.status only pays attention to the cache file if you give it the
1715
# --recheck option to rerun configure.
3371
# scripts and configure runs, see configure's option --config-cache.
3372
# It is not useful on other systems. If it contains results you don't
3373
# want to keep, you may remove or edit it.
3375
# config.status only pays attention to the cache file if you give it
3376
# the --recheck option to rerun configure.
3378
# `ac_cv_env_foo' variables (set or unset) will be overridden when
3379
# loading this file, other *unset* `ac_cv_foo' will be assigned the
1718
3384
# The following way of writing the cache mishandles newlines in values,
1719
3385
# but we know of no workaround that is simple, portable, and efficient.
1720
3386
# So, don't put newlines in cache variables' values.
1721
3387
# Ultrix sh set writes to stderr and can't be redirected directly,
1722
3388
# and sets the high bit in the cache file unless we assign to the vars.
1724
case `(ac_space=' '; set | grep ac_space) 2>&1` in
1726
# `set' does not quote correctly, so add quotes (double-quote substitution
1727
# turns \\\\ into \\, and sed turns \\ into \).
1729
-e "s/'/'\\\\''/g" \
1730
-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1733
# `set' quotes correctly as required by POSIX, so do not add quotes.
1734
sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1737
if cmp -s $cache_file confcache; then
3391
case `(ac_space=' '; set | grep ac_space) 2>&1` in
3393
# `set' does not quote correctly, so add quotes (double-quote
3394
# substitution turns \\\\ into \\, and sed turns \\ into \).
3397
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3400
# `set' quotes correctly as required by POSIX, so do not add quotes.
3402
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3409
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3411
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3413
if diff $cache_file confcache >/dev/null 2>&1; then :; else
1740
3414
if test -w $cache_file; then
1741
echo "updating cache $cache_file"
1742
cat confcache > $cache_file
3415
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3416
cat confcache >$cache_file
1744
3418
echo "not updating unwritable cache $cache_file"
1747
3421
rm -f confcache
1749
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1751
3423
test "x$prefix" = xNONE && prefix=$ac_default_prefix
1752
3424
# Let make expand exec_prefix.
1753
3425
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1755
# Any assignment to VPATH causes Sun make to only execute
1756
# the first set of double-colon rules, so remove it if not needed.
1757
# If there is a colon in the path, we need to keep it.
3427
# VPATH may cause trouble with some makes, so we remove $(srcdir),
3428
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3429
# trailing colons and then remove the whole line if VPATH becomes empty
3430
# (actually we leave an empty line to preserve line numbers).
1758
3431
if test "x$srcdir" = x.; then
1759
ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
3432
ac_vpsub='/^[ ]*VPATH[ ]*=/{
3433
s/:*\$(srcdir):*/:/;
3434
s/:*\${srcdir}:*/:/;
3436
s/^\([^=]*=[ ]*\):*/\1/;
1762
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1764
3442
DEFS=-DHAVE_CONFIG_H
1766
# Without the "./", some shells look in PATH for config.status.
3446
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3447
# 1. Remove the extension, and $U if already installed.
3448
ac_i=`echo "$ac_i" |
3449
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3451
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3452
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3456
LTLIBOBJS=$ac_ltlibobjs
1767
3460
: ${CONFIG_STATUS=./config.status}
1769
echo creating $CONFIG_STATUS
1770
rm -f $CONFIG_STATUS
1771
cat > $CONFIG_STATUS <<EOF
1773
# Generated automatically by configure.
3461
ac_clean_files_save=$ac_clean_files
3462
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3463
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3464
echo "$as_me: creating $CONFIG_STATUS" >&6;}
3465
cat >$CONFIG_STATUS <<_ACEOF
3467
# Generated by $as_me.
1774
3468
# Run this file to recreate the current configuration.
1775
# This directory was configured as follows,
1776
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1778
# $0 $ac_configure_args
1780
3469
# Compiler output produced by configure, useful for debugging
1781
# configure, is in ./config.log if it exists.
1783
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1786
case "\$ac_option" in
3470
# configure, is in config.log if it exists.
3475
SHELL=\${CONFIG_SHELL-$SHELL}
3478
cat >>$CONFIG_STATUS <<\_ACEOF
3479
## --------------------- ##
3480
## M4sh Initialization. ##
3481
## --------------------- ##
3483
# Be Bourne compatible
3484
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3487
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3488
# is contrary to our usage. Disable this feature.
3489
alias -g '${1+"$@"}'='"$@"'
3490
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3493
DUALCASE=1; export DUALCASE # for MKS sh
3495
# Support unset when possible.
3496
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3503
# Work around bugs in pre-3.0 UWIN ksh.
3504
$as_unset ENV MAIL MAILPATH
3511
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3512
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3513
LC_TELEPHONE LC_TIME
3515
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3516
eval $as_var=C; export $as_var
3522
# Required to use basename.
3523
if expr a : '\(a\)' >/dev/null 2>&1; then
3529
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3530
as_basename=basename
3536
# Name of the executable.
3537
as_me=`$as_basename "$0" ||
3538
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3539
X"$0" : 'X\(//\)$' \| \
3540
X"$0" : 'X\(/\)$' \| \
3541
. : '\(.\)' 2>/dev/null ||
3543
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3544
/^X\/\(\/\/\)$/{ s//\1/; q; }
3545
/^X\/\(\/\).*/{ s//\1/; q; }
3549
# PATH needs CR, and LINENO needs CR and PATH.
3550
# Avoid depending upon Character Ranges.
3551
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3552
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3553
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3554
as_cr_digits='0123456789'
3555
as_cr_alnum=$as_cr_Letters$as_cr_digits
3557
# The user is always right.
3558
if test "${PATH_SEPARATOR+set}" != set; then
3559
echo "#! /bin/sh" >conf$$.sh
3560
echo "exit 0" >>conf$$.sh
3562
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3573
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3574
test "x$as_lineno_1" != "x$as_lineno_2" &&
3575
test "x$as_lineno_3" = "x$as_lineno_2" || {
3576
# Find who we are. Look in the path if we contain no path at all
3579
*[\\/]* ) as_myself=$0 ;;
3580
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3584
test -z "$as_dir" && as_dir=.
3585
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3590
# We did not find ourselves, most probably we were run as `sh COMMAND'
3591
# in which case we are not to be found in the path.
3592
if test "x$as_myself" = x; then
3595
if test ! -f "$as_myself"; then
3596
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3597
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3598
{ (exit 1); exit 1; }; }
3600
case $CONFIG_SHELL in
3602
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3603
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3606
test -z "$as_dir" && as_dir=.
3607
for as_base in sh bash ksh sh5; do
3610
if ("$as_dir/$as_base" -c '
3613
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3614
test "x$as_lineno_1" != "x$as_lineno_2" &&
3615
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3616
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3617
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3618
CONFIG_SHELL=$as_dir/$as_base
3620
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3628
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3629
# uniformly replaced by the line number. The first 'sed' inserts a
3630
# line-number line before each line; the second 'sed' does the real
3631
# work. The second script uses 'N' to pair each line-number line
3632
# with the numbered line, and appends trailing '-' during
3633
# substitution so that $LINENO is not a special case at line end.
3634
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3635
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3636
sed '=' <$as_myself |
3641
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3644
s,^['$as_cr_digits']*\n,,
3646
chmod +x $as_me.lineno ||
3647
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3648
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3649
{ (exit 1); exit 1; }; }
3651
# Don't try to exec as it changes $[0], causing all sort of problems
3652
# (the dirname of $[0] is not the place where we might find the
3653
# original and so on. Autoconf is especially sensible to this).
3655
# Exit status is that of the last command.
3660
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3661
*c*,-n*) ECHO_N= ECHO_C='
3663
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3664
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3667
if expr a : '\(a\)' >/dev/null 2>&1; then
3673
rm -f conf$$ conf$$.exe conf$$.file
3675
if ln -s conf$$.file conf$$ 2>/dev/null; then
3676
# We could just check for DJGPP; but this test a) works b) is more generic
3677
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3678
if test -f conf$$.exe; then
3679
# Don't use ln at all; we don't have any links
3684
elif ln conf$$.file conf$$ 2>/dev/null; then
3689
rm -f conf$$ conf$$.exe conf$$.file
3691
if mkdir -p . 2>/dev/null; then
3694
test -d ./-p && rmdir ./-p
3698
as_executable_p="test -f"
3700
# Sed expression to map a string onto a valid CPP name.
3701
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3703
# Sed expression to map a string onto a valid variable name.
3704
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3708
# We need space, tab and new line, in precisely that order.
3718
# Open the log real soon, to keep \$[0] and so on meaningful, and to
3719
# report actual input values of CONFIG_FILES etc. instead of their
3720
# values after options handling. Logging --version etc. is OK.
3724
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3725
## Running $as_me. ##
3730
This file was extended by $as_me, which was
3731
generated by GNU Autoconf 2.59. Invocation command line was
3733
CONFIG_FILES = $CONFIG_FILES
3734
CONFIG_HEADERS = $CONFIG_HEADERS
3735
CONFIG_LINKS = $CONFIG_LINKS
3736
CONFIG_COMMANDS = $CONFIG_COMMANDS
3740
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3744
# Files that config.status was made for.
3745
if test -n "$ac_config_files"; then
3746
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3749
if test -n "$ac_config_headers"; then
3750
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3753
if test -n "$ac_config_links"; then
3754
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3757
if test -n "$ac_config_commands"; then
3758
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3761
cat >>$CONFIG_STATUS <<\_ACEOF
3764
\`$as_me' instantiates files from templates according to the
3765
current configuration.
3767
Usage: $0 [OPTIONS] [FILE]...
3769
-h, --help print this help, then exit
3770
-V, --version print version number, then exit
3771
-q, --quiet do not print progress messages
3772
-d, --debug don't remove temporary files
3773
--recheck update $as_me by reconfiguring in the same conditions
3774
--file=FILE[:TEMPLATE]
3775
instantiate the configuration file FILE
3776
--header=FILE[:TEMPLATE]
3777
instantiate the configuration header FILE
3779
Configuration files:
3782
Configuration headers:
3785
Report bugs to <bug-autoconf@gnu.org>."
3788
cat >>$CONFIG_STATUS <<_ACEOF
3791
configured by $0, generated by GNU Autoconf 2.59,
3792
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3794
Copyright (C) 2003 Free Software Foundation, Inc.
3795
This config.status script is free software; the Free Software Foundation
3796
gives unlimited permission to copy, distribute and modify it."
3801
cat >>$CONFIG_STATUS <<\_ACEOF
3802
# If no file are specified by the user, then we need to provide default
3803
# value. By we need to know if files were specified by the user.
3809
ac_option=`expr "x$1" : 'x\([^=]*\)='`
3810
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3818
*) # This is not an option, so the user has probably given explicit
3821
ac_need_defaults=false;;
3825
# Handling of the options.
3827
cat >>$CONFIG_STATUS <<\_ACEOF
1787
3828
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1788
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1789
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1790
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1791
echo "$CONFIG_STATUS generated by autoconf version 2.13"
1793
-help | --help | --hel | --he | --h)
1794
echo "\$ac_cs_usage"; exit 0 ;;
1795
*) echo "\$ac_cs_usage"; exit 1 ;;
1799
ac_given_srcdir=$srcdir
1800
ac_given_INSTALL="$INSTALL"
1802
trap 'rm -fr `echo "Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1804
cat >> $CONFIG_STATUS <<EOF
1806
# Protect against being on the right side of a sed subst in config.status.
1807
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1808
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
3830
--version | --vers* | -V )
3831
echo "$ac_cs_version"; exit 0 ;;
3833
# Conflict between --help and --header
3834
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
3835
Try \`$0 --help' for more information." >&5
3836
echo "$as_me: error: ambiguous option: $1
3837
Try \`$0 --help' for more information." >&2;}
3838
{ (exit 1); exit 1; }; };;
3839
--help | --hel | -h )
3840
echo "$ac_cs_usage"; exit 0 ;;
3841
--debug | --d* | -d )
3843
--file | --fil | --fi | --f )
3845
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3846
ac_need_defaults=false;;
3847
--header | --heade | --head | --hea )
3849
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3850
ac_need_defaults=false;;
3851
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
3852
| -silent | --silent | --silen | --sile | --sil | --si | --s)
3856
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3857
Try \`$0 --help' for more information." >&5
3858
echo "$as_me: error: unrecognized option: $1
3859
Try \`$0 --help' for more information." >&2;}
3860
{ (exit 1); exit 1; }; } ;;
3862
*) ac_config_targets="$ac_config_targets $1" ;;
3868
ac_configure_extra_args=
3870
if $ac_cs_silent; then
3872
ac_configure_extra_args="$ac_configure_extra_args --silent"
3876
cat >>$CONFIG_STATUS <<_ACEOF
3877
if \$ac_cs_recheck; then
3878
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3879
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3888
cat >>$CONFIG_STATUS <<\_ACEOF
3889
for ac_config_target in $ac_config_targets
3891
case "$ac_config_target" in
3892
# Handling of arguments.
3893
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3894
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3895
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3896
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3897
{ (exit 1); exit 1; }; };;
3901
# If the user did not use the arguments to specify the items to instantiate,
3902
# then the envvar interface is used. Set only those that are not.
3903
# We use the long form for the default assignment because of an extremely
3904
# bizarre bug on SunOS 4.1.3.
3905
if $ac_need_defaults; then
3906
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3907
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3910
# Have a temporary directory for convenience. Make it in the build tree
3911
# simply because there is no reason to put it here, and in addition,
3912
# creating and moving files from /tmp can sometimes cause problems.
3913
# Create a temporary directory, and hook for its removal unless debugging.
3916
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3917
trap '{ (exit 1); exit 1; }' 1 2 13 15
3920
# Create a (secure) tmp directory for tmp files.
3923
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3924
test -n "$tmp" && test -d "$tmp"
3927
tmp=./confstat$$-$RANDOM
3928
(umask 077 && mkdir $tmp)
3931
echo "$me: cannot create a temporary directory in ." >&2
3932
{ (exit 1); exit 1; }
3937
cat >>$CONFIG_STATUS <<_ACEOF
3940
# CONFIG_FILES section.
3943
# No need to generate the scripts if there are no CONFIG_FILES.
3944
# This happens for instance when ./config.status config.h
3945
if test -n "\$CONFIG_FILES"; then
3946
# Protect against being on the right side of a sed subst in config.status.
3947
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3948
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3949
s,@SHELL@,$SHELL,;t t
3950
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3951
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3952
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3953
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3954
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3955
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3956
s,@exec_prefix@,$exec_prefix,;t t
3957
s,@prefix@,$prefix,;t t
3958
s,@program_transform_name@,$program_transform_name,;t t
3959
s,@bindir@,$bindir,;t t
3960
s,@sbindir@,$sbindir,;t t
3961
s,@libexecdir@,$libexecdir,;t t
3962
s,@datadir@,$datadir,;t t
3963
s,@sysconfdir@,$sysconfdir,;t t
3964
s,@sharedstatedir@,$sharedstatedir,;t t
3965
s,@localstatedir@,$localstatedir,;t t
3966
s,@libdir@,$libdir,;t t
3967
s,@includedir@,$includedir,;t t
3968
s,@oldincludedir@,$oldincludedir,;t t
3969
s,@infodir@,$infodir,;t t
3970
s,@mandir@,$mandir,;t t
3971
s,@build_alias@,$build_alias,;t t
3972
s,@host_alias@,$host_alias,;t t
3973
s,@target_alias@,$target_alias,;t t
3975
s,@ECHO_C@,$ECHO_C,;t t
3976
s,@ECHO_N@,$ECHO_N,;t t
3977
s,@ECHO_T@,$ECHO_T,;t t
3980
s,@CFLAGS@,$CFLAGS,;t t
3981
s,@LDFLAGS@,$LDFLAGS,;t t
3982
s,@CPPFLAGS@,$CPPFLAGS,;t t
3983
s,@ac_ct_CC@,$ac_ct_CC,;t t
3984
s,@EXEEXT@,$EXEEXT,;t t
3985
s,@OBJEXT@,$OBJEXT,;t t
3989
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3990
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3991
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3993
s,@runtime_dir@,$runtime_dir,;t t
3994
s,@sockname@,$sockname,;t t
3995
s,@AMAVISUSER@,$AMAVISUSER,;t t
3996
s,@x_header_tag@,$x_header_tag,;t t
3997
s,@x_header_val@,$x_header_val,;t t
3998
s,@LIBS_WITHOUT_PTHREAD@,$LIBS_WITHOUT_PTHREAD,;t t
3999
s,@MINCLUDE@,$MINCLUDE,;t t
4000
s,@LIBMILTER@,$LIBMILTER,;t t
4001
s,@LIBSM@,$LIBSM,;t t
4002
s,@SENDMAILPROG@,$SENDMAILPROG,;t t
4004
s,@ENABLE_DEBUGGING@,$ENABLE_DEBUGGING,;t t
4005
s,@PTHREAD_FLAG@,$PTHREAD_FLAG,;t t
4006
s,@VERSION@,$VERSION,;t t
4007
s,@LIBOBJS@,$LIBOBJS,;t t
4008
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4013
cat >>$CONFIG_STATUS <<\_ACEOF
4014
# Split the substitutions into bite-sized pieces for seds with
4015
# small command number limits, like on Digital OSF/1 and HP-UX.
4017
ac_sed_frag=1 # Number of current file.
4018
ac_beg=1 # First line for current file.
4019
ac_end=$ac_max_sed_lines # Line after last line for current file.
4022
while $ac_more_lines; do
4023
if test $ac_beg -gt 1; then
4024
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4026
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4028
if test ! -s $tmp/subs.frag; then
4031
# The purpose of the label and of the branching condition is to
4032
# speed up the sed processing (if there are no `@' at all, there
4033
# is no need to browse any of the substitutions).
4034
# These are the two extra sed commands mentioned above.
4036
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4037
if test -z "$ac_sed_cmds"; then
4038
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4040
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4042
ac_sed_frag=`expr $ac_sed_frag + 1`
4044
ac_end=`expr $ac_end + $ac_max_sed_lines`
4047
if test -z "$ac_sed_cmds"; then
4050
fi # test -n "$CONFIG_FILES"
4053
cat >>$CONFIG_STATUS <<\_ACEOF
4054
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4055
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4057
- | *:- | *:-:* ) # input from stdin
4059
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4060
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4061
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4062
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4063
* ) ac_file_in=$ac_file.in ;;
4066
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4067
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4068
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4069
X"$ac_file" : 'X\(//\)[^/]' \| \
4070
X"$ac_file" : 'X\(//\)$' \| \
4071
X"$ac_file" : 'X\(/\)' \| \
4072
. : '\(.\)' 2>/dev/null ||
4074
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4075
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4076
/^X\(\/\/\)$/{ s//\1/; q; }
4077
/^X\(\/\).*/{ s//\1/; q; }
4079
{ if $as_mkdir_p; then
4084
while test ! -d "$as_dir"; do
4085
as_dirs="$as_dir $as_dirs"
4086
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4087
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4088
X"$as_dir" : 'X\(//\)[^/]' \| \
4089
X"$as_dir" : 'X\(//\)$' \| \
4090
X"$as_dir" : 'X\(/\)' \| \
4091
. : '\(.\)' 2>/dev/null ||
4093
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4094
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4095
/^X\(\/\/\)$/{ s//\1/; q; }
4096
/^X\(\/\).*/{ s//\1/; q; }
4099
test ! -n "$as_dirs" || mkdir $as_dirs
4100
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4101
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4102
{ (exit 1); exit 1; }; }; }
4106
if test "$ac_dir" != .; then
4107
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4108
# A "../" for each directory in $ac_dir_suffix.
4109
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4111
ac_dir_suffix= ac_top_builddir=
4115
.) # No --srcdir option. We are building in place.
4117
if test -z "$ac_top_builddir"; then
4120
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4122
[\\/]* | ?:[\\/]* ) # Absolute path.
4123
ac_srcdir=$srcdir$ac_dir_suffix;
4124
ac_top_srcdir=$srcdir ;;
4126
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4127
ac_top_srcdir=$ac_top_builddir$srcdir ;;
4130
# Do not use `cd foo && pwd` to compute absolute paths, because
4131
# the directories may not exist.
4133
.) ac_abs_builddir="$ac_dir";;
4136
.) ac_abs_builddir=`pwd`;;
4137
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4138
*) ac_abs_builddir=`pwd`/"$ac_dir";;
4141
case $ac_abs_builddir in
4142
.) ac_abs_top_builddir=${ac_top_builddir}.;;
4144
case ${ac_top_builddir}. in
4145
.) ac_abs_top_builddir=$ac_abs_builddir;;
4146
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4147
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4150
case $ac_abs_builddir in
4151
.) ac_abs_srcdir=$ac_srcdir;;
4154
.) ac_abs_srcdir=$ac_abs_builddir;;
4155
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4156
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4159
case $ac_abs_builddir in
4160
.) ac_abs_top_srcdir=$ac_top_srcdir;;
4162
case $ac_top_srcdir in
4163
.) ac_abs_top_srcdir=$ac_abs_builddir;;
4164
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4165
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4171
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4172
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4175
# Let's still pretend it is `configure' which instantiates (i.e., don't
4176
# use $as_me), people would be surprised to read:
4177
# /* config.h. Generated by config.status. */
4178
if test x"$ac_file" = x-; then
4181
configure_input="$ac_file. "
4183
configure_input=$configure_input"Generated from `echo $ac_file_in |
4184
sed 's,.*/,,'` by configure."
4186
# First look for the input files in the build tree, otherwise in the
4188
ac_file_inputs=`IFS=:
4189
for f in $ac_file_in; do
4191
-) echo $tmp/stdin ;;
4193
# Absolute (can't be DOS-style, as IFS=:)
4194
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4195
echo "$as_me: error: cannot find input file: $f" >&2;}
4196
{ (exit 1); exit 1; }; }
4199
if test -f "$f"; then
4202
elif test -f "$srcdir/$f"; then
4207
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4208
echo "$as_me: error: cannot find input file: $f" >&2;}
4209
{ (exit 1); exit 1; }; }
4212
done` || { (exit 1); exit 1; }
4214
if test x"$ac_file" != x-; then
4215
{ echo "$as_me:$LINENO: creating $ac_file" >&5
4216
echo "$as_me: creating $ac_file" >&6;}
4220
cat >>$CONFIG_STATUS <<_ACEOF
1812
s%@CFLAGS@%$CFLAGS%g
1813
s%@CPPFLAGS@%$CPPFLAGS%g
1814
s%@CXXFLAGS@%$CXXFLAGS%g
1815
s%@FFLAGS@%$FFLAGS%g
1817
s%@LDFLAGS@%$LDFLAGS%g
1819
s%@exec_prefix@%$exec_prefix%g
1820
s%@prefix@%$prefix%g
1821
s%@program_transform_name@%$program_transform_name%g
1822
s%@bindir@%$bindir%g
1823
s%@sbindir@%$sbindir%g
1824
s%@libexecdir@%$libexecdir%g
1825
s%@datadir@%$datadir%g
1826
s%@sysconfdir@%$sysconfdir%g
1827
s%@sharedstatedir@%$sharedstatedir%g
1828
s%@localstatedir@%$localstatedir%g
1829
s%@libdir@%$libdir%g
1830
s%@includedir@%$includedir%g
1831
s%@oldincludedir@%$oldincludedir%g
1832
s%@infodir@%$infodir%g
1833
s%@mandir@%$mandir%g
1838
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1839
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
1840
s%@INSTALL_DATA@%$INSTALL_DATA%g
1842
s%@runtime_dir@%$runtime_dir%g
1843
s%@sockname@%$sockname%g
1844
s%@AMAVISUSER@%$AMAVISUSER%g
1845
s%@x_header_tag@%$x_header_tag%g
1846
s%@x_header_val@%$x_header_val%g
1847
s%@LIBS_WITHOUT_PTHREAD@%$LIBS_WITHOUT_PTHREAD%g
1848
s%@MINCLUDE@%$MINCLUDE%g
1849
s%@LIBMILTER@%$LIBMILTER%g
1851
s%@SENDMAILPROG@%$SENDMAILPROG%g
1853
s%@ENABLE_DEBUGGING@%$ENABLE_DEBUGGING%g
1854
s%@PTHREAD_FLAG@%$PTHREAD_FLAG%g
1855
s%@VERSION@%$VERSION%g
1860
cat >> $CONFIG_STATUS <<\EOF
1862
# Split the substitutions into bite-sized pieces for seds with
1863
# small command number limits, like on Digital OSF/1 and HP-UX.
1864
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1865
ac_file=1 # Number of current file.
1866
ac_beg=1 # First line for current file.
1867
ac_end=$ac_max_sed_cmds # Line after last line for current file.
1870
while $ac_more_lines; do
1871
if test $ac_beg -gt 1; then
1872
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1874
sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1876
if test ! -s conftest.s$ac_file; then
1878
rm -f conftest.s$ac_file
1880
if test -z "$ac_sed_cmds"; then
1881
ac_sed_cmds="sed -f conftest.s$ac_file"
1883
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1885
ac_file=`expr $ac_file + 1`
1887
ac_end=`expr $ac_end + $ac_max_sed_cmds`
4224
cat >>$CONFIG_STATUS <<\_ACEOF
4226
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4227
s,@configure_input@,$configure_input,;t t
4228
s,@srcdir@,$ac_srcdir,;t t
4229
s,@abs_srcdir@,$ac_abs_srcdir,;t t
4230
s,@top_srcdir@,$ac_top_srcdir,;t t
4231
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4232
s,@builddir@,$ac_builddir,;t t
4233
s,@abs_builddir@,$ac_abs_builddir,;t t
4234
s,@top_builddir@,$ac_top_builddir,;t t
4235
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4236
s,@INSTALL@,$ac_INSTALL,;t t
4237
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4239
if test x"$ac_file" != x-; then
4240
mv $tmp/out $ac_file
1890
if test -z "$ac_sed_cmds"; then
1895
cat >> $CONFIG_STATUS <<EOF
1897
CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
1899
cat >> $CONFIG_STATUS <<\EOF
1900
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1901
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1903
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1904
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1905
*) ac_file_in="${ac_file}.in" ;;
1908
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1910
# Remove last slash and all that follows it. Not all systems have dirname.
1911
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1912
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1913
# The file is in a subdirectory.
1914
test ! -d "$ac_dir" && mkdir "$ac_dir"
1915
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1916
# A "../" for each directory in $ac_dir_suffix.
1917
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1919
ac_dir_suffix= ac_dots=
1922
case "$ac_given_srcdir" in
1924
if test -z "$ac_dots"; then top_srcdir=.
1925
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1926
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1928
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1929
top_srcdir="$ac_dots$ac_given_srcdir" ;;
1932
case "$ac_given_INSTALL" in
1933
[/$]*) INSTALL="$ac_given_INSTALL" ;;
1934
*) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1937
echo creating "$ac_file"
1939
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1941
*Makefile*) ac_comsub="1i\\
1942
# $configure_input" ;;
1946
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1948
s%@configure_input@%$configure_input%g
1949
s%@srcdir@%$srcdir%g
1950
s%@top_srcdir@%$top_srcdir%g
1951
s%@INSTALL@%$INSTALL%g
1952
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
4248
cat >>$CONFIG_STATUS <<\_ACEOF
4251
# CONFIG_HEADER section.
1956
4254
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
1957
4255
# NAME is the cpp macro being defined and VALUE is the value it is being given.
1959
4257
# ac_d sets the value in "#define NAME VALUE" lines.
1960
ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
1961
ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
1964
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
1965
ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
1966
ac_uB='\([ ]\)%\1#\2define\3'
4258
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4259
ac_dB='[ ].*$,\1#\2'
4262
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4263
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4264
ac_uB='$,\1#\2define\3'
1969
# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
1970
ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
1971
ac_eB='$%\1#\2define\3'
1975
if test "${CONFIG_HEADERS+set}" != set; then
1977
cat >> $CONFIG_STATUS <<EOF
1978
CONFIG_HEADERS="config.h"
1980
cat >> $CONFIG_STATUS <<\EOF
1982
for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
4268
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
1983
4269
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1985
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1986
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1987
*) ac_file_in="${ac_file}.in" ;;
4271
- | *:- | *:-:* ) # input from stdin
4273
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4274
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4275
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4276
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4277
* ) ac_file_in=$ac_file.in ;;
1990
echo creating $ac_file
1992
rm -f conftest.frag conftest.in conftest.out
1993
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1994
cat $ac_file_inputs > conftest.in
1998
# Transform confdefs.h into a sed script conftest.vals that substitutes
1999
# the proper values into config.h.in to produce config.h. And first:
2000
# Protect against being on the right side of a sed subst in config.status.
2001
# Protect against being in an unquoted here document in config.status.
2003
cat > conftest.hdr <<\EOF
2006
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
2010
sed -n -f conftest.hdr confdefs.h > conftest.vals
4280
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
4281
echo "$as_me: creating $ac_file" >&6;}
4283
# First look for the input files in the build tree, otherwise in the
4285
ac_file_inputs=`IFS=:
4286
for f in $ac_file_in; do
4288
-) echo $tmp/stdin ;;
4290
# Absolute (can't be DOS-style, as IFS=:)
4291
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4292
echo "$as_me: error: cannot find input file: $f" >&2;}
4293
{ (exit 1); exit 1; }; }
4294
# Do quote $f, to prevent DOS paths from being IFS'd.
4297
if test -f "$f"; then
4300
elif test -f "$srcdir/$f"; then
4305
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4306
echo "$as_me: error: cannot find input file: $f" >&2;}
4307
{ (exit 1); exit 1; }; }
4310
done` || { (exit 1); exit 1; }
4311
# Remove the trailing spaces.
4312
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4316
# Transform confdefs.h into two sed scripts, `conftest.defines' and
4317
# `conftest.undefs', that substitutes the proper values into
4318
# config.h.in to produce config.h. The first handles `#define'
4319
# templates, and the second `#undef' templates.
4320
# And first: Protect against being on the right side of a sed subst in
4321
# config.status. Protect against being in an unquoted here document
4323
rm -f conftest.defines conftest.undefs
4324
# Using a here document instead of a string reduces the quoting nightmare.
4325
# Putting comments in sed scripts is not portable.
4327
# `end' is used to avoid that the second main sed command (meant for
4328
# 0-ary CPP macros) applies to n-ary macro definitions.
4329
# See the Autoconf documentation for `clear'.
4330
cat >confdef2sed.sed <<\_ACEOF
4335
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4337
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4340
# If some macros were called several times there might be several times
4341
# the same #defines, which is useless. Nevertheless, we may not want to
4342
# sort them, since we want the *last* AC-DEFINE to be honored.
4343
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4344
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4345
rm -f confdef2sed.sed
2013
4347
# This sed command replaces #undef with comments. This is necessary, for
2014
4348
# example, in the case of _POSIX_SOURCE, which is predefined and required
2015
4349
# on some systems where configure will not decide to define it.
2016
cat >> conftest.vals <<\EOF
2017
s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
2020
# Break up conftest.vals because some shells have a limit on
2021
# the size of here documents, and old seds have small limits too.
2026
ac_lines=`grep -c . conftest.vals`
2027
# grep -c gives empty output for an empty file on some AIX systems.
2028
if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
2029
# Write a limited-size here document to conftest.frag.
2030
echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
2031
sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
2033
sed -f conftest.frag conftest.in > conftest.out
2035
mv conftest.out conftest.in
2037
sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
2039
mv conftest.tail conftest.vals
2043
cat >> $CONFIG_STATUS <<\EOF
2044
rm -f conftest.frag conftest.h
2045
echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
2046
cat conftest.in >> conftest.h
2048
if cmp -s $ac_file conftest.h 2>/dev/null; then
2049
echo "$ac_file is unchanged"
2052
# Remove last slash and all that follows it. Not all systems have dirname.
2053
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2054
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2055
# The file is in a subdirectory.
2056
test ! -d "$ac_dir" && mkdir "$ac_dir"
4350
cat >>conftest.undefs <<\_ACEOF
4351
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4354
# Break up conftest.defines because some shells have a limit on the size
4355
# of here documents, and old seds have small limits too (100 cmds).
4356
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4357
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4358
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4359
echo ' :' >>$CONFIG_STATUS
4361
while grep . conftest.defines >/dev/null
4363
# Write a limited-size here document to $tmp/defines.sed.
4364
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4365
# Speed up: don't consider the non `#define' lines.
4366
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
4367
# Work around the forget-to-reset-the-flag bug.
4368
echo 't clr' >>$CONFIG_STATUS
4369
echo ': clr' >>$CONFIG_STATUS
4370
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
4372
sed -f $tmp/defines.sed $tmp/in >$tmp/out
4376
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
4377
rm -f conftest.defines
4378
mv conftest.tail conftest.defines
4380
rm -f conftest.defines
4381
echo ' fi # grep' >>$CONFIG_STATUS
4382
echo >>$CONFIG_STATUS
4384
# Break up conftest.undefs because some shells have a limit on the size
4385
# of here documents, and old seds have small limits too (100 cmds).
4386
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
4388
while grep . conftest.undefs >/dev/null
4390
# Write a limited-size here document to $tmp/undefs.sed.
4391
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4392
# Speed up: don't consider the non `#undef'
4393
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4394
# Work around the forget-to-reset-the-flag bug.
4395
echo 't clr' >>$CONFIG_STATUS
4396
echo ': clr' >>$CONFIG_STATUS
4397
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4399
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4403
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4404
rm -f conftest.undefs
4405
mv conftest.tail conftest.undefs
4407
rm -f conftest.undefs
4409
cat >>$CONFIG_STATUS <<\_ACEOF
4410
# Let's still pretend it is `configure' which instantiates (i.e., don't
4411
# use $as_me), people would be surprised to read:
4412
# /* config.h. Generated by config.status. */
4413
if test x"$ac_file" = x-; then
4414
echo "/* Generated by configure. */" >$tmp/config.h
4416
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
4418
cat $tmp/in >>$tmp/config.h
4420
if test x"$ac_file" != x-; then
4421
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
4422
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4423
echo "$as_me: $ac_file is unchanged" >&6;}
4425
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4426
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4427
X"$ac_file" : 'X\(//\)[^/]' \| \
4428
X"$ac_file" : 'X\(//\)$' \| \
4429
X"$ac_file" : 'X\(/\)' \| \
4430
. : '\(.\)' 2>/dev/null ||
4432
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4433
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4434
/^X\(\/\/\)$/{ s//\1/; q; }
4435
/^X\(\/\).*/{ s//\1/; q; }
4437
{ if $as_mkdir_p; then
4442
while test ! -d "$as_dir"; do
4443
as_dirs="$as_dir $as_dirs"
4444
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4445
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4446
X"$as_dir" : 'X\(//\)[^/]' \| \
4447
X"$as_dir" : 'X\(//\)$' \| \
4448
X"$as_dir" : 'X\(/\)' \| \
4449
. : '\(.\)' 2>/dev/null ||
4451
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4452
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4453
/^X\(\/\/\)$/{ s//\1/; q; }
4454
/^X\(\/\).*/{ s//\1/; q; }
4457
test ! -n "$as_dirs" || mkdir $as_dirs
4458
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4459
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4460
{ (exit 1); exit 1; }; }; }
4463
mv $tmp/config.h $ac_file
2059
mv conftest.h $ac_file
2064
cat >> $CONFIG_STATUS <<EOF
2067
cat >> $CONFIG_STATUS <<\EOF
4472
cat >>$CONFIG_STATUS <<\_ACEOF
4474
{ (exit 0); exit 0; }
2071
4476
chmod +x $CONFIG_STATUS
2072
rm -fr confdefs* $ac_clean_files
2073
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
4477
ac_clean_files=$ac_clean_files_save
4480
# configure is writing to config.log, and then calls config.status.
4481
# config.status does its own redirection, appending to config.log.
4482
# Unfortunately, on DOS this fails, as config.log is still kept open
4483
# by configure, so config.status won't be able to write to it; its
4484
# output is simply discarded. So we exec the FD to /dev/null,
4485
# effectively closing config.log, so it can be properly (re)opened and
4486
# appended to by config.status. When coming back to configure, we
4487
# need to make the FD available again.
4488
if test "$no_create" != yes; then
4490
ac_config_status_args=
4491
test "$silent" = yes &&
4492
ac_config_status_args="$ac_config_status_args --quiet"
4494
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4496
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
4497
# would make configure fail if this is the last instruction.
4498
$ac_cs_success || { (exit 1); exit 1; }