|
|
@@ -498,13 +498,6 @@ for ac_site_file in $CONFIG_SITE; do
|
|
|
fi
|
|
|
done
|
|
|
|
|
|
-if test -r "$cache_file"; then
|
|
|
- echo "loading cache $cache_file"
|
|
|
- . $cache_file
|
|
|
-else
|
|
|
- echo "creating cache $cache_file"
|
|
|
- > $cache_file
|
|
|
-fi
|
|
|
|
|
|
ac_ext=c
|
|
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
|
|
@@ -532,9 +525,9 @@ fi
|
|
|
|
|
|
|
|
|
PKG_NAME=nrpe
|
|
|
-PKG_VERSION="1.6"
|
|
|
+PKG_VERSION="1.7"
|
|
|
PKG_HOME_URL="http://www.nagios.org/"
|
|
|
-PKG_REL_DATE="12-30-2002"
|
|
|
+PKG_REL_DATE="01-06-2003"
|
|
|
|
|
|
|
|
|
ac_aux_dir=
|
|
|
@@ -568,7 +561,7 @@ ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
|
|
|
# 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:572: checking for a BSD compatible install" >&5
|
|
|
+echo "configure:565: 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
|
|
|
@@ -625,7 +618,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
|
|
# 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:629: checking for $ac_word" >&5
|
|
|
+echo "configure:622: 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
|
|
|
@@ -655,7 +648,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:659: checking for $ac_word" >&5
|
|
|
+echo "configure:652: 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
|
|
|
@@ -706,7 +699,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:710: checking for $ac_word" >&5
|
|
|
+echo "configure:703: 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
|
|
|
@@ -738,7 +731,7 @@ fi
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
|
|
|
-echo "configure:742: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
|
|
+echo "configure:735: 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.
|
|
|
@@ -749,12 +742,12 @@ cross_compiling=$ac_cv_prog_cc_cross
|
|
|
|
|
|
cat > conftest.$ac_ext << EOF
|
|
|
|
|
|
-#line 753 "configure"
|
|
|
+#line 746 "configure"
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
main(){return(0);}
|
|
|
EOF
|
|
|
-if { (eval echo configure:758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:751: \"$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
|
|
|
@@ -780,12 +773,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:784: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
|
|
+echo "configure:777: 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:789: checking whether we are using GNU C" >&5
|
|
|
+echo "configure:782: 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
|
|
|
@@ -794,7 +787,7 @@ else
|
|
|
yes;
|
|
|
#endif
|
|
|
EOF
|
|
|
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:798: \"$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:791: \"$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
|
|
|
@@ -813,7 +806,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:817: checking whether ${CC-cc} accepts -g" >&5
|
|
|
+echo "configure:810: 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
|
|
|
@@ -845,7 +838,7 @@ else
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
|
|
|
-echo "configure:849: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
|
|
+echo "configure:842: 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
|
|
|
@@ -873,7 +866,7 @@ fi
|
|
|
|
|
|
|
|
|
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
|
|
|
-echo "configure:877: checking how to run the C preprocessor" >&5
|
|
|
+echo "configure:870: checking how to run the C preprocessor" >&5
|
|
|
# On Suns, sometimes $CPP names a directory.
|
|
|
if test -n "$CPP" && test -d "$CPP"; then
|
|
|
CPP=
|
|
|
@@ -888,13 +881,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 892 "configure"
|
|
|
+#line 885 "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:898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:891: \"$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
|
|
|
:
|
|
|
@@ -905,13 +898,13 @@ else
|
|
|
rm -rf conftest*
|
|
|
CPP="${CC-cc} -E -traditional-cpp"
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 909 "configure"
|
|
|
+#line 902 "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:915: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:908: \"$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
|
|
|
:
|
|
|
@@ -922,13 +915,13 @@ else
|
|
|
rm -rf conftest*
|
|
|
CPP="${CC-cc} -nologo -E"
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 926 "configure"
|
|
|
+#line 919 "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:932: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:925: \"$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
|
|
|
:
|
|
|
@@ -953,12 +946,12 @@ fi
|
|
|
echo "$ac_t""$CPP" 1>&6
|
|
|
|
|
|
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
|
|
|
-echo "configure:957: checking for ANSI C header files" >&5
|
|
|
+echo "configure:950: 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 962 "configure"
|
|
|
+#line 955 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <stdlib.h>
|
|
|
#include <stdarg.h>
|
|
|
@@ -966,7 +959,7 @@ else
|
|
|
#include <float.h>
|
|
|
EOF
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
-{ (eval echo configure:970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:963: \"$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*
|
|
|
@@ -983,7 +976,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 987 "configure"
|
|
|
+#line 980 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <string.h>
|
|
|
EOF
|
|
|
@@ -1001,7 +994,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 1005 "configure"
|
|
|
+#line 998 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <stdlib.h>
|
|
|
EOF
|
|
|
@@ -1022,7 +1015,7 @@ if test "$cross_compiling" = yes; then
|
|
|
:
|
|
|
else
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 1026 "configure"
|
|
|
+#line 1019 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <ctype.h>
|
|
|
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
|
@@ -1033,7 +1026,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
|
|
|
exit (0); }
|
|
|
|
|
|
EOF
|
|
|
-if { (eval echo configure:1037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
+if { (eval echo configure:1030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
then
|
|
|
:
|
|
|
else
|
|
|
@@ -1057,12 +1050,12 @@ EOF
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
|
|
|
-echo "configure:1061: checking whether time.h and sys/time.h may both be included" >&5
|
|
|
+echo "configure:1054: 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 1066 "configure"
|
|
|
+#line 1059 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
#include <sys/time.h>
|
|
|
@@ -1071,7 +1064,7 @@ int main() {
|
|
|
struct tm *tp;
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:1075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:1068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_header_time=yes
|
|
|
else
|
|
|
@@ -1092,12 +1085,12 @@ EOF
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
|
|
|
-echo "configure:1096: checking for sys/wait.h that is POSIX.1 compatible" >&5
|
|
|
+echo "configure:1089: checking for sys/wait.h that is POSIX.1 compatible" >&5
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
else
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 1101 "configure"
|
|
|
+#line 1094 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
#include <sys/wait.h>
|
|
|
@@ -1113,7 +1106,7 @@ wait (&s);
|
|
|
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:1117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:1110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_header_sys_wait_h=yes
|
|
|
else
|
|
|
@@ -1137,17 +1130,17 @@ for ac_hdr in ctype.h errno.h fcntl.h grp.h netdb.h pwd.h signal.h strings.h str
|
|
|
do
|
|
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
|
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
|
|
-echo "configure:1141: checking for $ac_hdr" >&5
|
|
|
+echo "configure:1134: 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 1146 "configure"
|
|
|
+#line 1139 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <$ac_hdr>
|
|
|
EOF
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
-{ (eval echo configure:1151: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:1144: \"$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*
|
|
|
@@ -1175,12 +1168,12 @@ done
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for working const""... $ac_c" 1>&6
|
|
|
-echo "configure:1179: checking for working const" >&5
|
|
|
+echo "configure:1172: 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 1184 "configure"
|
|
|
+#line 1177 "configure"
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
int main() {
|
|
|
@@ -1229,7 +1222,7 @@ ccp = (char const *const *) p;
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:1233: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:1226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_c_const=yes
|
|
|
else
|
|
|
@@ -1250,12 +1243,12 @@ EOF
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
|
|
|
-echo "configure:1254: checking whether struct tm is in sys/time.h or time.h" >&5
|
|
|
+echo "configure:1247: checking whether struct tm is in sys/time.h or time.h" >&5
|
|
|
if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
else
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 1259 "configure"
|
|
|
+#line 1252 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
#include <time.h>
|
|
|
@@ -1263,7 +1256,7 @@ int main() {
|
|
|
struct tm *tp; tp->tm_sec;
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:1267: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:1260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_struct_tm=time.h
|
|
|
else
|
|
|
@@ -1284,12 +1277,12 @@ EOF
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking for mode_t""... $ac_c" 1>&6
|
|
|
-echo "configure:1288: checking for mode_t" >&5
|
|
|
+echo "configure:1281: checking for mode_t" >&5
|
|
|
if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
else
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 1293 "configure"
|
|
|
+#line 1286 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
#if STDC_HEADERS
|
|
|
@@ -1317,12 +1310,12 @@ EOF
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking for pid_t""... $ac_c" 1>&6
|
|
|
-echo "configure:1321: checking for pid_t" >&5
|
|
|
+echo "configure:1314: checking for pid_t" >&5
|
|
|
if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
else
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 1326 "configure"
|
|
|
+#line 1319 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
#if STDC_HEADERS
|
|
|
@@ -1350,12 +1343,12 @@ EOF
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking for size_t""... $ac_c" 1>&6
|
|
|
-echo "configure:1354: checking for size_t" >&5
|
|
|
+echo "configure:1347: checking for size_t" >&5
|
|
|
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
else
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 1359 "configure"
|
|
|
+#line 1352 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
#if STDC_HEADERS
|
|
|
@@ -1383,12 +1376,12 @@ EOF
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
|
|
|
-echo "configure:1387: checking return type of signal handlers" >&5
|
|
|
+echo "configure:1380: 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 1392 "configure"
|
|
|
+#line 1385 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
#include <signal.h>
|
|
|
@@ -1405,7 +1398,7 @@ int main() {
|
|
|
int i;
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:1409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:1402: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_type_signal=void
|
|
|
else
|
|
|
@@ -1424,12 +1417,12 @@ EOF
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
|
|
|
-echo "configure:1428: checking for uid_t in sys/types.h" >&5
|
|
|
+echo "configure:1421: checking for uid_t in sys/types.h" >&5
|
|
|
if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
else
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 1433 "configure"
|
|
|
+#line 1426 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
EOF
|
|
|
@@ -1458,7 +1451,7 @@ EOF
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6
|
|
|
-echo "configure:1462: checking type of array argument to getgroups" >&5
|
|
|
+echo "configure:1455: checking type of array argument to getgroups" >&5
|
|
|
if eval "test \"`echo '$''{'ac_cv_type_getgroups'+set}'`\" = set"; then
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
else
|
|
|
@@ -1466,7 +1459,7 @@ else
|
|
|
ac_cv_type_getgroups=cross
|
|
|
else
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 1470 "configure"
|
|
|
+#line 1463 "configure"
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
/* Thanks to Mike Rendell for this test. */
|
|
|
@@ -1491,7 +1484,7 @@ main()
|
|
|
}
|
|
|
|
|
|
EOF
|
|
|
-if { (eval echo configure:1495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
+if { (eval echo configure:1488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
then
|
|
|
ac_cv_type_getgroups=gid_t
|
|
|
else
|
|
|
@@ -1505,7 +1498,7 @@ fi
|
|
|
|
|
|
if test $ac_cv_type_getgroups = cross; then
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 1509 "configure"
|
|
|
+#line 1502 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <unistd.h>
|
|
|
EOF
|
|
|
@@ -1530,7 +1523,7 @@ EOF
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
|
|
|
-echo "configure:1534: checking for main in -lnsl" >&5
|
|
|
+echo "configure:1527: checking for main in -lnsl" >&5
|
|
|
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
@@ -1538,14 +1531,14 @@ else
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
LIBS="-lnsl $LIBS"
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 1542 "configure"
|
|
|
+#line 1535 "configure"
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
int main() {
|
|
|
main()
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:1549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:1542: \"$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
|
|
|
@@ -1566,7 +1559,7 @@ else
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
|
|
|
-echo "configure:1570: checking for socket in -lsocket" >&5
|
|
|
+echo "configure:1563: 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
|
|
|
@@ -1574,7 +1567,7 @@ else
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
LIBS="-lsocket $LIBS"
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 1578 "configure"
|
|
|
+#line 1571 "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
|
|
|
@@ -1585,7 +1578,7 @@ int main() {
|
|
|
socket()
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:1589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:1582: \"$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
|
|
|
@@ -1609,12 +1602,12 @@ fi
|
|
|
for ac_func in strdup strstr strtoul initgroups
|
|
|
do
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
-echo "configure:1613: checking for $ac_func" >&5
|
|
|
+echo "configure:1606: 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 1618 "configure"
|
|
|
+#line 1611 "configure"
|
|
|
#include "confdefs.h"
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
@@ -1637,7 +1630,7 @@ $ac_func();
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:1641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:1634: \"$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
|
|
|
@@ -1663,9 +1656,9 @@ done
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for type of socket size""... $ac_c" 1>&6
|
|
|
-echo "configure:1667: checking for type of socket size" >&5
|
|
|
+echo "configure:1660: checking for type of socket size" >&5
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 1669 "configure"
|
|
|
+#line 1662 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <stdlib.h>
|
|
|
#include <sys/types.h>
|
|
|
@@ -1675,7 +1668,7 @@ int main() {
|
|
|
int a = send(1, (const void *)0, (size_t *) 0, (int *) 0);
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:1679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:1672: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
cat >> confdefs.h <<\EOF
|
|
|
#define SOCKET_SIZE_TYPE size_t
|
|
|
@@ -1729,7 +1722,7 @@ EOF
|
|
|
# Extract the first word of "perl", so it can be a program name with args.
|
|
|
set dummy perl; ac_word=$2
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
-echo "configure:1733: checking for $ac_word" >&5
|
|
|
+echo "configure:1726: checking for $ac_word" >&5
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
else
|
|
|
@@ -1762,52 +1755,6 @@ else
|
|
|
fi
|
|
|
|
|
|
trap '' 1 2 15
|
|
|
-cat > confcache <<\EOF
|
|
|
-# This file is a shell script that caches the results of configure
|
|
|
-# tests run on this system so they can be shared between configure
|
|
|
-# scripts and configure runs. It is not useful on other systems.
|
|
|
-# If it contains results you don't want to keep, you may remove or edit it.
|
|
|
-#
|
|
|
-# By default, configure uses ./config.cache as the cache file,
|
|
|
-# creating it if it does not exist already. You can give configure
|
|
|
-# the --cache-file=FILE option to use a different cache file; that is
|
|
|
-# what configure does when it calls configure scripts in
|
|
|
-# subdirectories, so they share the cache.
|
|
|
-# Giving --cache-file=/dev/null disables caching, for debugging configure.
|
|
|
-# config.status only pays attention to the cache file if you give it the
|
|
|
-# --recheck option to rerun configure.
|
|
|
-#
|
|
|
-EOF
|
|
|
-# The following way of writing the cache mishandles newlines in values,
|
|
|
-# but we know of no workaround that is simple, portable, and efficient.
|
|
|
-# So, don't put newlines in cache variables' values.
|
|
|
-# Ultrix sh set writes to stderr and can't be redirected directly,
|
|
|
-# and sets the high bit in the cache file unless we assign to the vars.
|
|
|
-(set) 2>&1 |
|
|
|
- case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
|
|
- *ac_space=\ *)
|
|
|
- # `set' does not quote correctly, so add quotes (double-quote substitution
|
|
|
- # turns \\\\ into \\, and sed turns \\ into \).
|
|
|
- sed -n \
|
|
|
- -e "s/'/'\\\\''/g" \
|
|
|
- -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
|
|
|
- ;;
|
|
|
- *)
|
|
|
- # `set' quotes correctly as required by POSIX, so do not add quotes.
|
|
|
- sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
|
|
|
- ;;
|
|
|
- esac >> confcache
|
|
|
-if cmp -s $cache_file confcache; then
|
|
|
- :
|
|
|
-else
|
|
|
- if test -w $cache_file; then
|
|
|
- echo "updating cache $cache_file"
|
|
|
- cat confcache > $cache_file
|
|
|
- else
|
|
|
- echo "not updating unwritable cache $cache_file"
|
|
|
- fi
|
|
|
-fi
|
|
|
-rm -f confcache
|
|
|
|
|
|
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
|
|
|
|