|
|
|
@ -20,6 +20,8 @@ ac_help="$ac_help
|
|
|
|
|
ac_help="$ac_help
|
|
|
|
|
--with-ssl[=DIR] SSL crypt support (needs OpenSSL)"
|
|
|
|
|
ac_help="$ac_help
|
|
|
|
|
--with-gnutls[=DIR] SSL/TLS crypt support (needs GNU TLS), the argument DIR should not be necessary"
|
|
|
|
|
ac_help="$ac_help
|
|
|
|
|
--enable-ttcp T/TCP (Transaction TCP) support"
|
|
|
|
|
ac_help="$ac_help
|
|
|
|
|
--enable-tos TOS (Type Of Service) support"
|
|
|
|
@ -561,7 +563,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking host system type""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:565: checking host system type" >&5
|
|
|
|
|
echo "configure:567: checking host system type" >&5
|
|
|
|
|
|
|
|
|
|
host_alias=$host
|
|
|
|
|
case "$host_alias" in
|
|
|
|
@ -593,7 +595,7 @@ echo "$ac_t""$host" 1>&6
|
|
|
|
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
|
|
|
|
# ./install, which can be erroneously created by make from ./install.sh.
|
|
|
|
|
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:597: checking for a BSD compatible install" >&5
|
|
|
|
|
echo "configure:599: checking for a BSD compatible install" >&5
|
|
|
|
|
if test -z "$INSTALL"; then
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
@ -646,7 +648,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
|
|
|
|
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:650: checking whether build environment is sane" >&5
|
|
|
|
|
echo "configure:652: checking whether build environment is sane" >&5
|
|
|
|
|
# Just in case
|
|
|
|
|
sleep 1
|
|
|
|
|
echo timestamp > conftestfile
|
|
|
|
@ -703,7 +705,7 @@ test "$program_suffix" != NONE &&
|
|
|
|
|
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:707: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
|
|
|
|
echo "configure:709: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
|
|
|
|
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
@ -732,7 +734,7 @@ fi
|
|
|
|
|
|
|
|
|
|
PACKAGE=echoping
|
|
|
|
|
|
|
|
|
|
VERSION=5.0.1
|
|
|
|
|
VERSION=5.1-BETA
|
|
|
|
|
|
|
|
|
|
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
|
|
|
|
|
{ echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
|
|
|
|
@ -749,7 +751,7 @@ EOF
|
|
|
|
|
|
|
|
|
|
missing_dir=`cd $ac_aux_dir && pwd`
|
|
|
|
|
echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:753: checking for working aclocal" >&5
|
|
|
|
|
echo "configure:755: checking for working aclocal" >&5
|
|
|
|
|
# Run test in a subshell; some versions of sh will print an error if
|
|
|
|
|
# an executable is not found, even if stderr is redirected.
|
|
|
|
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
|
|
|
@ -762,7 +764,7 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:766: checking for working autoconf" >&5
|
|
|
|
|
echo "configure:768: checking for working autoconf" >&5
|
|
|
|
|
# Run test in a subshell; some versions of sh will print an error if
|
|
|
|
|
# an executable is not found, even if stderr is redirected.
|
|
|
|
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
|
|
|
@ -775,7 +777,7 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for working automake""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:779: checking for working automake" >&5
|
|
|
|
|
echo "configure:781: checking for working automake" >&5
|
|
|
|
|
# Run test in a subshell; some versions of sh will print an error if
|
|
|
|
|
# an executable is not found, even if stderr is redirected.
|
|
|
|
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
|
|
|
@ -788,7 +790,7 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:792: checking for working autoheader" >&5
|
|
|
|
|
echo "configure:794: checking for working autoheader" >&5
|
|
|
|
|
# Run test in a subshell; some versions of sh will print an error if
|
|
|
|
|
# an executable is not found, even if stderr is redirected.
|
|
|
|
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
|
|
|
@ -801,7 +803,7 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:805: checking for working makeinfo" >&5
|
|
|
|
|
echo "configure:807: checking for working makeinfo" >&5
|
|
|
|
|
# Run test in a subshell; some versions of sh will print an error if
|
|
|
|
|
# an executable is not found, even if stderr is redirected.
|
|
|
|
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
|
|
|
@ -883,12 +885,31 @@ EOF
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
# Check whether --with-gnutls or --without-gnutls was given.
|
|
|
|
|
if test "${with_gnutls+set}" = set; then
|
|
|
|
|
withval="$with_gnutls"
|
|
|
|
|
if test "$withval" != "no"; then
|
|
|
|
|
cat >> confdefs.h <<\EOF
|
|
|
|
|
#define GNUTLS 1
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
GNUTLS=1
|
|
|
|
|
CPPFLAGS="${CPPFLAGS} `libgnutls-config --cflags`"
|
|
|
|
|
LDFLAGS="${LDFLAGS} `libgnutls-config --libs`"
|
|
|
|
|
if test "$withval" != "yes"; then
|
|
|
|
|
GNUTLSROOT=$withval
|
|
|
|
|
LDFLAGS="${LDFLAGS} -L$GNUTLSROOT/lib"
|
|
|
|
|
CPPFLAGS="${CPPFLAGS} -I$GNUTLSROOT/include"
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Extract the first word of "gcc", so it can be a program name with args.
|
|
|
|
|
set dummy gcc; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:892: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:913: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -918,7 +939,7 @@ if test -z "$CC"; then
|
|
|
|
|
# Extract the first word of "cc", so it can be a program name with args.
|
|
|
|
|
set dummy cc; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:922: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:943: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -969,7 +990,7 @@ fi
|
|
|
|
|
# Extract the first word of "cl", so it can be a program name with args.
|
|
|
|
|
set dummy cl; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:973: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:994: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -1001,7 +1022,7 @@ fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1005: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
|
|
|
|
echo "configure:1026: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
|
|
|
|
|
|
|
|
|
ac_ext=c
|
|
|
|
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
|
|
|
@ -1012,12 +1033,12 @@ cross_compiling=$ac_cv_prog_cc_cross
|
|
|
|
|
|
|
|
|
|
cat > conftest.$ac_ext << EOF
|
|
|
|
|
|
|
|
|
|
#line 1016 "configure"
|
|
|
|
|
#line 1037 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
main(){return(0);}
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:1042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
ac_cv_prog_cc_works=yes
|
|
|
|
|
# If we can't run a trivial program, we are probably using a cross compiler.
|
|
|
|
|
if (./conftest; exit) 2>/dev/null; then
|
|
|
|
@ -1043,12 +1064,12 @@ if test $ac_cv_prog_cc_works = no; then
|
|
|
|
|
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
|
|
|
|
|
fi
|
|
|
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1047: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
|
|
|
|
echo "configure:1068: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
|
|
|
|
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
|
|
|
|
|
cross_compiling=$ac_cv_prog_cc_cross
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1052: checking whether we are using GNU C" >&5
|
|
|
|
|
echo "configure:1073: checking whether we are using GNU C" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -1057,7 +1078,7 @@ else
|
|
|
|
|
yes;
|
|
|
|
|
#endif
|
|
|
|
|
EOF
|
|
|
|
|
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1061: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
|
|
|
|
|
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1082: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
|
|
|
|
|
ac_cv_prog_gcc=yes
|
|
|
|
|
else
|
|
|
|
|
ac_cv_prog_gcc=no
|
|
|
|
@ -1076,7 +1097,7 @@ ac_test_CFLAGS="${CFLAGS+set}"
|
|
|
|
|
ac_save_CFLAGS="$CFLAGS"
|
|
|
|
|
CFLAGS=
|
|
|
|
|
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1080: checking whether ${CC-cc} accepts -g" >&5
|
|
|
|
|
echo "configure:1101: checking whether ${CC-cc} accepts -g" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -1119,7 +1140,7 @@ fi
|
|
|
|
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
|
|
|
|
# ./install, which can be erroneously created by make from ./install.sh.
|
|
|
|
|
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1123: checking for a BSD compatible install" >&5
|
|
|
|
|
echo "configure:1144: checking for a BSD compatible install" >&5
|
|
|
|
|
if test -z "$INSTALL"; then
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
@ -1174,7 +1195,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1178: checking how to run the C preprocessor" >&5
|
|
|
|
|
echo "configure:1199: checking how to run the C preprocessor" >&5
|
|
|
|
|
# On Suns, sometimes $CPP names a directory.
|
|
|
|
|
if test -n "$CPP" && test -d "$CPP"; then
|
|
|
|
|
CPP=
|
|
|
|
@ -1189,13 +1210,13 @@ else
|
|
|
|
|
# On the NeXT, cc -E runs the code through the compiler's parser,
|
|
|
|
|
# not just through cpp.
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1193 "configure"
|
|
|
|
|
#line 1214 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <assert.h>
|
|
|
|
|
Syntax Error
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:1199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:1220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
:
|
|
|
|
@ -1206,13 +1227,13 @@ else
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
CPP="${CC-cc} -E -traditional-cpp"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1210 "configure"
|
|
|
|
|
#line 1231 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <assert.h>
|
|
|
|
|
Syntax Error
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:1216: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:1237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
:
|
|
|
|
@ -1223,13 +1244,13 @@ else
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
CPP="${CC-cc} -nologo -E"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1227 "configure"
|
|
|
|
|
#line 1248 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <assert.h>
|
|
|
|
|
Syntax Error
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:1233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:1254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
:
|
|
|
|
@ -1254,12 +1275,12 @@ fi
|
|
|
|
|
echo "$ac_t""$CPP" 1>&6
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1258: checking for ANSI C header files" >&5
|
|
|
|
|
echo "configure:1279: checking for ANSI C header files" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1263 "configure"
|
|
|
|
|
#line 1284 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
#include <stdarg.h>
|
|
|
|
@ -1267,7 +1288,7 @@ else
|
|
|
|
|
#include <float.h>
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:1271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:1292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
@ -1284,7 +1305,7 @@ rm -f conftest*
|
|
|
|
|
if test $ac_cv_header_stdc = yes; then
|
|
|
|
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1288 "configure"
|
|
|
|
|
#line 1309 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <string.h>
|
|
|
|
|
EOF
|
|
|
|
@ -1302,7 +1323,7 @@ fi
|
|
|
|
|
if test $ac_cv_header_stdc = yes; then
|
|
|
|
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1306 "configure"
|
|
|
|
|
#line 1327 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
EOF
|
|
|
|
@ -1323,7 +1344,7 @@ if test "$cross_compiling" = yes; then
|
|
|
|
|
:
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1327 "configure"
|
|
|
|
|
#line 1348 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <ctype.h>
|
|
|
|
|
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
|
|
@ -1334,7 +1355,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
|
|
|
|
|
exit (0); }
|
|
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
|
|
if { (eval echo configure:1359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
|
|
then
|
|
|
|
|
:
|
|
|
|
|
else
|
|
|
|
@ -1361,17 +1382,17 @@ for ac_hdr in sys/time.h unistd.h
|
|
|
|
|
do
|
|
|
|
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
|
|
|
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1365: checking for $ac_hdr" >&5
|
|
|
|
|
echo "configure:1386: checking for $ac_hdr" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1370 "configure"
|
|
|
|
|
#line 1391 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <$ac_hdr>
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:1375: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:1396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
@ -1402,13 +1423,13 @@ for cf_name in sys_nerr sys_errlist
|
|
|
|
|
do
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking if external $cf_name is declared""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1406: checking if external $cf_name is declared" >&5
|
|
|
|
|
echo "configure:1427: checking if external $cf_name is declared" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'cf_cv_dcl_$cf_name'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1412 "configure"
|
|
|
|
|
#line 1433 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
#ifdef HAVE_STDLIB_H
|
|
|
|
@ -1421,7 +1442,7 @@ int main() {
|
|
|
|
|
long x = (long) $cf_name
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1425: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:1446: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval 'cf_cv_dcl_'$cf_name'=yes'
|
|
|
|
|
else
|
|
|
|
@ -1451,13 +1472,13 @@ fi
|
|
|
|
|
# It's possible (for near-UNIX clones) that the data doesn't exist
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking if external $cf_name exists""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1455: checking if external $cf_name exists" >&5
|
|
|
|
|
echo "configure:1476: checking if external $cf_name exists" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'cf_cv_have_$cf_name'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1461 "configure"
|
|
|
|
|
#line 1482 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
#undef $cf_name
|
|
|
|
@ -1467,7 +1488,7 @@ int main() {
|
|
|
|
|
$cf_name = 2
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:1492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval 'cf_cv_have_'$cf_name'=yes'
|
|
|
|
|
else
|
|
|
|
@ -1508,12 +1529,12 @@ osf*)
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for working const""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1512: checking for working const" >&5
|
|
|
|
|
echo "configure:1533: checking for working const" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1517 "configure"
|
|
|
|
|
#line 1538 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
@ -1562,7 +1583,7 @@ ccp = (char const *const *) p;
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1566: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:1587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_cv_c_const=yes
|
|
|
|
|
else
|
|
|
|
@ -1583,12 +1604,12 @@ EOF
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1587: checking whether time.h and sys/time.h may both be included" >&5
|
|
|
|
|
echo "configure:1608: checking whether time.h and sys/time.h may both be included" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1592 "configure"
|
|
|
|
|
#line 1613 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
#include <sys/time.h>
|
|
|
|
@ -1597,7 +1618,7 @@ int main() {
|
|
|
|
|
struct tm *tp;
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:1622: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_cv_header_time=yes
|
|
|
|
|
else
|
|
|
|
@ -1620,7 +1641,7 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1624: checking for socket in -lsocket" >&5
|
|
|
|
|
echo "configure:1645: checking for socket in -lsocket" >&5
|
|
|
|
|
ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
@ -1628,7 +1649,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lsocket $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1632 "configure"
|
|
|
|
|
#line 1653 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
|
|
/* We use char because int might match the return type of a gcc2
|
|
|
|
@ -1639,7 +1660,7 @@ int main() {
|
|
|
|
|
socket()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:1664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
|
|
|
|
else
|
|
|
|
@ -1656,9 +1677,9 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
|
|
|
|
echo "$ac_t""yes" 1>&6
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking if libsocket is mandatory""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1660: checking if libsocket is mandatory" >&5
|
|
|
|
|
echo "configure:1681: checking if libsocket is mandatory" >&5
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1662 "configure"
|
|
|
|
|
#line 1683 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
#include <netinet/in.h>
|
|
|
|
@ -1674,7 +1695,7 @@ int main() {
|
|
|
|
|
socket (AF_INET, SOCK_STREAM, 0)
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:1699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -1692,7 +1713,7 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1696: checking for gethostbyname in -lnsl" >&5
|
|
|
|
|
echo "configure:1717: checking for gethostbyname in -lnsl" >&5
|
|
|
|
|
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
@ -1700,7 +1721,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lnsl $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1704 "configure"
|
|
|
|
|
#line 1725 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
|
|
/* We use char because int might match the return type of a gcc2
|
|
|
|
@ -1711,7 +1732,7 @@ int main() {
|
|
|
|
|
gethostbyname()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:1736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
|
|
|
|
else
|
|
|
|
@ -1728,9 +1749,9 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
|
|
|
|
echo "$ac_t""yes" 1>&6
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking if libnsl is mandatory""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1732: checking if libnsl is mandatory" >&5
|
|
|
|
|
echo "configure:1753: checking if libnsl is mandatory" >&5
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1734 "configure"
|
|
|
|
|
#line 1755 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
#include <netinet/in.h>
|
|
|
|
@ -1739,7 +1760,7 @@ int main() {
|
|
|
|
|
gethostbyname(domain)
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:1764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -1757,7 +1778,7 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for pow in -lm""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1761: checking for pow in -lm" >&5
|
|
|
|
|
echo "configure:1782: checking for pow in -lm" >&5
|
|
|
|
|
ac_lib_var=`echo m'_'pow | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
@ -1765,7 +1786,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lm $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1769 "configure"
|
|
|
|
|
#line 1790 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
|
|
/* We use char because int might match the return type of a gcc2
|
|
|
|
@ -1776,7 +1797,7 @@ int main() {
|
|
|
|
|
pow()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:1801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
|
|
|
|
else
|
|
|
|
@ -1793,9 +1814,9 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
|
|
|
|
echo "$ac_t""yes" 1>&6
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking if libmath is mandatory""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1797: checking if libmath is mandatory" >&5
|
|
|
|
|
echo "configure:1818: checking if libmath is mandatory" >&5
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1799 "configure"
|
|
|
|
|
#line 1820 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <math.h>
|
|
|
|
|
double a,b;
|
|
|
|
@ -1803,7 +1824,7 @@ int main() {
|
|
|
|
|
pow(a,b)
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:1828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -1820,12 +1841,12 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1824: checking return type of signal handlers" >&5
|
|
|
|
|
echo "configure:1845: checking return type of signal handlers" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1829 "configure"
|
|
|
|
|
#line 1850 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
#include <signal.h>
|
|
|
|
@ -1842,7 +1863,7 @@ int main() {
|
|
|
|
|
int i;
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1846: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:1867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_cv_type_signal=void
|
|
|
|
|
else
|
|
|
|
@ -1861,12 +1882,12 @@ EOF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for vprintf""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1865: checking for vprintf" >&5
|
|
|
|
|
echo "configure:1886: checking for vprintf" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1870 "configure"
|
|
|
|
|
#line 1891 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char vprintf(); below. */
|
|
|
|
@ -1889,7 +1910,7 @@ vprintf();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:1914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_vprintf=yes"
|
|
|
|
|
else
|
|
|
|
@ -1913,12 +1934,12 @@ fi
|
|
|
|
|
|
|
|
|
|
if test "$ac_cv_func_vprintf" != yes; then
|
|
|
|
|
echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1917: checking for _doprnt" >&5
|
|
|
|
|
echo "configure:1938: checking for _doprnt" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1922 "configure"
|
|
|
|
|
#line 1943 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char _doprnt(); below. */
|
|
|
|
@ -1941,7 +1962,7 @@ _doprnt();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:1966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func__doprnt=yes"
|
|
|
|
|
else
|
|
|
|
@ -1968,12 +1989,12 @@ fi
|
|
|
|
|
for ac_func in getaddrinfo getnameinfo inet_ntop
|
|
|
|
|
do
|
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1972: checking for $ac_func" >&5
|
|
|
|
|
echo "configure:1993: checking for $ac_func" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1977 "configure"
|
|
|
|
|
#line 1998 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
|
@ -1996,7 +2017,7 @@ $ac_func();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:2021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_$ac_func=yes"
|
|
|
|
|
else
|
|
|
|
@ -2018,9 +2039,9 @@ EOF
|
|
|
|
|
else
|
|
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
echo $ac_n "checking $ac_func again by including <netdb.h>""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2022: checking $ac_func again by including <netdb.h>" >&5
|
|
|
|
|
echo "configure:2043: checking $ac_func again by including <netdb.h>" >&5
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2024 "configure"
|
|
|
|
|
#line 2045 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
#include <sys/socket.h>
|
|
|
|
@ -2029,7 +2050,7 @@ int main() {
|
|
|
|
|
$ac_func(NULL, NULL, NULL, NULL);
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:2054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
echo "$ac_t""yes" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -2047,12 +2068,12 @@ done
|
|
|
|
|
for ac_func in gettimeofday socket sigaction
|
|
|
|
|
do
|
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2051: checking for $ac_func" >&5
|
|
|
|
|
echo "configure:2072: checking for $ac_func" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2056 "configure"
|
|
|
|
|
#line 2077 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
|
@ -2075,7 +2096,7 @@ $ac_func();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:2100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_$ac_func=yes"
|
|
|
|
|
else
|
|
|
|
@ -2103,12 +2124,12 @@ done
|
|
|
|
|
for ac_func in usleep
|
|
|
|
|
do
|
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2107: checking for $ac_func" >&5
|
|
|
|
|
echo "configure:2128: checking for $ac_func" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2112 "configure"
|
|
|
|
|
#line 2133 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
|
@ -2131,7 +2152,7 @@ $ac_func();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:2156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_$ac_func=yes"
|
|
|
|
|
else
|
|
|
|
@ -2156,10 +2177,13 @@ fi
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test "$OPENSSL" = "1" && test "$GNUTLS" = "1"; then
|
|
|
|
|
{ echo "configure: error: Choose OpenSSL or GNU TLS but not both" 1>&2; exit 1; }
|
|
|
|
|
fi
|
|
|
|
|
if test "$OPENSSL" = "1"; then
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for SSL_CTX_new in -lssl""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2163: checking for SSL_CTX_new in -lssl" >&5
|
|
|
|
|
echo "configure:2187: checking for SSL_CTX_new in -lssl" >&5
|
|
|
|
|
ac_lib_var=`echo ssl'_'SSL_CTX_new | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
@ -2168,7 +2192,7 @@ else
|
|
|
|
|
LIBS="-lssl -lcrypto
|
|
|
|
|
$LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2172 "configure"
|
|
|
|
|
#line 2196 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
|
|
/* We use char because int might match the return type of a gcc2
|
|
|
|
@ -2179,7 +2203,7 @@ int main() {
|
|
|
|
|
SSL_CTX_new()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:2207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
|
|
|
|
else
|
|
|
|
@ -2200,12 +2224,56 @@ else
|
|
|
|
|
{ echo "configure: error: Get the OpenSSL library (http://www.openssl.org/)" 1>&2; exit 1; }
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
if test "$GNUTLS" = "1"; then
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for gnutls_global_init in -lgnutls""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2232: checking for gnutls_global_init in -lgnutls" >&5
|
|
|
|
|
ac_lib_var=`echo gnutls'_'gnutls_global_init | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lgnutls $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2240 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
|
|
/* We use char because int might match the return type of a gcc2
|
|
|
|
|
builtin and then its argument prototype would still apply. */
|
|
|
|
|
char gnutls_global_init();
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
gnutls_global_init()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
|
|
|
|
else
|
|
|
|
|
echo "configure: failed program was:" >&5
|
|
|
|
|
cat conftest.$ac_ext >&5
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=no"
|
|
|
|
|
fi
|
|
|
|
|
rm -f conftest*
|
|
|
|
|
LIBS="$ac_save_LIBS"
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
|
|
|
|
echo "$ac_t""yes" 1>&6
|
|
|
|
|
LIBS="${LIBS} `libgnutls-config --libs`"
|
|
|
|
|
else
|
|
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
{ echo "configure: error: Get the GNU TLS library (http://www.gnutls.org/)" 1>&2; exit 1; }
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking T/TCP""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2207: checking T/TCP" >&5
|
|
|
|
|
echo "configure:2275: checking T/TCP" >&5
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2209 "configure"
|
|
|
|
|
#line 2277 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
#include <sys/socket.h>
|
|
|
|
@ -2214,7 +2282,7 @@ int main() {
|
|
|
|
|
int foobar = MSG_EOF;
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2218: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:2286: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
cat >> confdefs.h <<\EOF
|
|
|
|
|
#define TTCP 1
|
|
|
|
@ -2255,9 +2323,9 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking Type Of Service""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2259: checking Type Of Service" >&5
|
|
|
|
|
echo "configure:2327: checking Type Of Service" >&5
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2261 "configure"
|
|
|
|
|
#line 2329 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
#include <netinet/in.h>
|
|
|
|
@ -2266,7 +2334,7 @@ int main() {
|
|
|
|
|
int foobar = IP_TOS;
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:2338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
cat >> confdefs.h <<\EOF
|
|
|
|
|
#define HAVE_TOS 1
|
|
|
|
@ -2307,9 +2375,9 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking Socket priority""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2311: checking Socket priority" >&5
|
|
|
|
|
echo "configure:2379: checking Socket priority" >&5
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2313 "configure"
|
|
|
|
|
#line 2381 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
#include <sys/socket.h>
|
|
|
|
@ -2318,7 +2386,7 @@ int main() {
|
|
|
|
|
int foobar = SO_PRIORITY;
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:2390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
cat >> confdefs.h <<\EOF
|
|
|
|
|
#define HAVE_SOCKET_PRIORITY 1
|
|
|
|
@ -2740,7 +2808,7 @@ echo "Configuration of echoping:"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking HTTP""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2744: checking HTTP" >&5
|
|
|
|
|
echo "configure:2812: checking HTTP" >&5
|
|
|
|
|
if eval 'test "$HTTP" = "1"' > /dev/null; then
|
|
|
|
|
echo "$ac_t""enabled" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -2749,7 +2817,7 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking ICP""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2753: checking ICP" >&5
|
|
|
|
|
echo "configure:2821: checking ICP" >&5
|
|
|
|
|
if eval 'test "$ICP" = "1"' > /dev/null; then
|
|
|
|
|
echo "$ac_t""enabled" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -2758,7 +2826,7 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking OPENSSL""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2762: checking OPENSSL" >&5
|
|
|
|
|
echo "configure:2830: checking OPENSSL" >&5
|
|
|
|
|
if eval 'test "$OPENSSL" = "1"' > /dev/null; then
|
|
|
|
|
echo "$ac_t""enabled" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -2766,8 +2834,17 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking GNUTLS""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2839: checking GNUTLS" >&5
|
|
|
|
|
if eval 'test "$GNUTLS" = "1"' > /dev/null; then
|
|
|
|
|
echo "$ac_t""enabled" 1>&6
|
|
|
|
|
else
|
|
|
|
|
echo "$ac_t""disabled" 1>&6
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking SMTP""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2771: checking SMTP" >&5
|
|
|
|
|
echo "configure:2848: checking SMTP" >&5
|
|
|
|
|
if eval 'test "$SMTP" = "1"' > /dev/null; then
|
|
|
|
|
echo "$ac_t""enabled" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -2776,7 +2853,7 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking TTCP""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2780: checking TTCP" >&5
|
|
|
|
|
echo "configure:2857: checking TTCP" >&5
|
|
|
|
|
if eval 'test "$TTCP" = "1"' > /dev/null; then
|
|
|
|
|
echo "$ac_t""enabled" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -2785,7 +2862,7 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking TOS""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2789: checking TOS" >&5
|
|
|
|
|
echo "configure:2866: checking TOS" >&5
|
|
|
|
|
if eval 'test "$TOS" = "1"' > /dev/null; then
|
|
|
|
|
echo "$ac_t""enabled" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -2794,7 +2871,7 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking PRIORITY""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2798: checking PRIORITY" >&5
|
|
|
|
|
echo "configure:2875: checking PRIORITY" >&5
|
|
|
|
|
if eval 'test "$PRIORITY" = "1"' > /dev/null; then
|
|
|
|
|
echo "$ac_t""enabled" 1>&6
|
|
|
|
|
else
|
|
|
|
|