|
|
@@ -15,9 +15,11 @@ ac_default_prefix=/usr/local/nagios
|
|
|
ac_help="$ac_help
|
|
|
--with-nrpe-user=<user> sets user name to run NRPE"
|
|
|
ac_help="$ac_help
|
|
|
---with-nrpe-grp=<grp> sets group name to run NRPE"
|
|
|
+--with-nrpe-group=<group> sets group name to run NRPE"
|
|
|
ac_help="$ac_help
|
|
|
--with-nrpe-port=<port> sets port number for NRPE to listen on"
|
|
|
+ac_help="$ac_help
|
|
|
+--enable-command-args allows clients to specify command arguments. *** THIS IS A SECURITY RISK! *** Read the SECURITY file before using this option!"
|
|
|
|
|
|
# Initialize some variables set by options.
|
|
|
# The variables have the same names as the options, with
|
|
|
@@ -525,9 +527,9 @@ fi
|
|
|
|
|
|
|
|
|
PKG_NAME=nrpe
|
|
|
-PKG_VERSION="1.8"
|
|
|
+PKG_VERSION="2.0a1"
|
|
|
PKG_HOME_URL="http://www.nagios.org/"
|
|
|
-PKG_REL_DATE="01-16-2003"
|
|
|
+PKG_REL_DATE="01-28-2003"
|
|
|
|
|
|
|
|
|
ac_aux_dir=
|
|
|
@@ -561,7 +563,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:565: checking for a BSD compatible install" >&5
|
|
|
+echo "configure:567: 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
|
|
|
@@ -618,7 +620,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:622: checking for $ac_word" >&5
|
|
|
+echo "configure:624: 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
|
|
|
@@ -648,7 +650,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:652: checking for $ac_word" >&5
|
|
|
+echo "configure:654: 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
|
|
|
@@ -699,7 +701,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:703: checking for $ac_word" >&5
|
|
|
+echo "configure:705: 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
|
|
|
@@ -731,7 +733,7 @@ fi
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
|
|
|
-echo "configure:735: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
|
|
+echo "configure:737: 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.
|
|
|
@@ -742,12 +744,12 @@ cross_compiling=$ac_cv_prog_cc_cross
|
|
|
|
|
|
cat > conftest.$ac_ext << EOF
|
|
|
|
|
|
-#line 746 "configure"
|
|
|
+#line 748 "configure"
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
main(){return(0);}
|
|
|
EOF
|
|
|
-if { (eval echo configure:751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:753: \"$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
|
|
|
@@ -773,12 +775,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:777: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
|
|
+echo "configure:779: 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:782: checking whether we are using GNU C" >&5
|
|
|
+echo "configure:784: 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
|
|
|
@@ -787,7 +789,7 @@ else
|
|
|
yes;
|
|
|
#endif
|
|
|
EOF
|
|
|
-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
|
|
|
+if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:793: \"$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
|
|
|
@@ -806,7 +808,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:810: checking whether ${CC-cc} accepts -g" >&5
|
|
|
+echo "configure:812: 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
|
|
|
@@ -838,7 +840,7 @@ else
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
|
|
|
-echo "configure:842: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
|
|
+echo "configure:844: 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
|
|
|
@@ -866,7 +868,7 @@ fi
|
|
|
|
|
|
|
|
|
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
|
|
|
-echo "configure:870: checking how to run the C preprocessor" >&5
|
|
|
+echo "configure:872: checking how to run the C preprocessor" >&5
|
|
|
# On Suns, sometimes $CPP names a directory.
|
|
|
if test -n "$CPP" && test -d "$CPP"; then
|
|
|
CPP=
|
|
|
@@ -881,13 +883,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 885 "configure"
|
|
|
+#line 887 "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:891: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:893: \"$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
|
|
|
:
|
|
|
@@ -898,13 +900,13 @@ else
|
|
|
rm -rf conftest*
|
|
|
CPP="${CC-cc} -E -traditional-cpp"
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 902 "configure"
|
|
|
+#line 904 "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:908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:910: \"$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
|
|
|
:
|
|
|
@@ -915,13 +917,13 @@ else
|
|
|
rm -rf conftest*
|
|
|
CPP="${CC-cc} -nologo -E"
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 919 "configure"
|
|
|
+#line 921 "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:925: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:927: \"$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
|
|
|
:
|
|
|
@@ -946,12 +948,12 @@ fi
|
|
|
echo "$ac_t""$CPP" 1>&6
|
|
|
|
|
|
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
|
|
|
-echo "configure:950: checking for ANSI C header files" >&5
|
|
|
+echo "configure:952: 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 955 "configure"
|
|
|
+#line 957 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <stdlib.h>
|
|
|
#include <stdarg.h>
|
|
|
@@ -959,7 +961,7 @@ else
|
|
|
#include <float.h>
|
|
|
EOF
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
-{ (eval echo configure:963: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:965: \"$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*
|
|
|
@@ -976,7 +978,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 980 "configure"
|
|
|
+#line 982 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <string.h>
|
|
|
EOF
|
|
|
@@ -994,7 +996,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 998 "configure"
|
|
|
+#line 1000 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <stdlib.h>
|
|
|
EOF
|
|
|
@@ -1015,7 +1017,7 @@ if test "$cross_compiling" = yes; then
|
|
|
:
|
|
|
else
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 1019 "configure"
|
|
|
+#line 1021 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <ctype.h>
|
|
|
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
|
@@ -1026,7 +1028,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
|
|
|
exit (0); }
|
|
|
|
|
|
EOF
|
|
|
-if { (eval echo configure:1030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
+if { (eval echo configure:1032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
then
|
|
|
:
|
|
|
else
|
|
|
@@ -1050,12 +1052,12 @@ EOF
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
|
|
|
-echo "configure:1054: checking whether time.h and sys/time.h may both be included" >&5
|
|
|
+echo "configure:1056: 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 1059 "configure"
|
|
|
+#line 1061 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
#include <sys/time.h>
|
|
|
@@ -1064,7 +1066,7 @@ int main() {
|
|
|
struct tm *tp;
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:1068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:1070: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_header_time=yes
|
|
|
else
|
|
|
@@ -1085,12 +1087,12 @@ EOF
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
|
|
|
-echo "configure:1089: checking for sys/wait.h that is POSIX.1 compatible" >&5
|
|
|
+echo "configure:1091: 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 1094 "configure"
|
|
|
+#line 1096 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
#include <sys/wait.h>
|
|
|
@@ -1106,7 +1108,7 @@ wait (&s);
|
|
|
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:1110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:1112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_header_sys_wait_h=yes
|
|
|
else
|
|
|
@@ -1130,17 +1132,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:1134: checking for $ac_hdr" >&5
|
|
|
+echo "configure:1136: 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 1139 "configure"
|
|
|
+#line 1141 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <$ac_hdr>
|
|
|
EOF
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
-{ (eval echo configure:1144: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:1146: \"$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*
|
|
|
@@ -1168,12 +1170,12 @@ done
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for working const""... $ac_c" 1>&6
|
|
|
-echo "configure:1172: checking for working const" >&5
|
|
|
+echo "configure:1174: 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 1177 "configure"
|
|
|
+#line 1179 "configure"
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
int main() {
|
|
|
@@ -1222,7 +1224,7 @@ ccp = (char const *const *) p;
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:1226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:1228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_c_const=yes
|
|
|
else
|
|
|
@@ -1243,12 +1245,12 @@ EOF
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
|
|
|
-echo "configure:1247: checking whether struct tm is in sys/time.h or time.h" >&5
|
|
|
+echo "configure:1249: 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 1252 "configure"
|
|
|
+#line 1254 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
#include <time.h>
|
|
|
@@ -1256,7 +1258,7 @@ int main() {
|
|
|
struct tm *tp; tp->tm_sec;
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:1260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:1262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_struct_tm=time.h
|
|
|
else
|
|
|
@@ -1277,12 +1279,12 @@ EOF
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking for mode_t""... $ac_c" 1>&6
|
|
|
-echo "configure:1281: checking for mode_t" >&5
|
|
|
+echo "configure:1283: 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 1286 "configure"
|
|
|
+#line 1288 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
#if STDC_HEADERS
|
|
|
@@ -1310,12 +1312,12 @@ EOF
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking for pid_t""... $ac_c" 1>&6
|
|
|
-echo "configure:1314: checking for pid_t" >&5
|
|
|
+echo "configure:1316: 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 1319 "configure"
|
|
|
+#line 1321 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
#if STDC_HEADERS
|
|
|
@@ -1343,12 +1345,12 @@ EOF
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking for size_t""... $ac_c" 1>&6
|
|
|
-echo "configure:1347: checking for size_t" >&5
|
|
|
+echo "configure:1349: 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 1352 "configure"
|
|
|
+#line 1354 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
#if STDC_HEADERS
|
|
|
@@ -1376,12 +1378,12 @@ EOF
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
|
|
|
-echo "configure:1380: checking return type of signal handlers" >&5
|
|
|
+echo "configure:1382: 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 1385 "configure"
|
|
|
+#line 1387 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
#include <signal.h>
|
|
|
@@ -1398,7 +1400,7 @@ int main() {
|
|
|
int i;
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:1402: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:1404: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_type_signal=void
|
|
|
else
|
|
|
@@ -1417,12 +1419,12 @@ EOF
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
|
|
|
-echo "configure:1421: checking for uid_t in sys/types.h" >&5
|
|
|
+echo "configure:1423: 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 1426 "configure"
|
|
|
+#line 1428 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
EOF
|
|
|
@@ -1451,7 +1453,7 @@ EOF
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6
|
|
|
-echo "configure:1455: checking type of array argument to getgroups" >&5
|
|
|
+echo "configure:1457: 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
|
|
|
@@ -1459,7 +1461,7 @@ else
|
|
|
ac_cv_type_getgroups=cross
|
|
|
else
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 1463 "configure"
|
|
|
+#line 1465 "configure"
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
/* Thanks to Mike Rendell for this test. */
|
|
|
@@ -1484,7 +1486,7 @@ main()
|
|
|
}
|
|
|
|
|
|
EOF
|
|
|
-if { (eval echo configure:1488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
+if { (eval echo configure:1490: \"$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
|
|
|
@@ -1498,7 +1500,7 @@ fi
|
|
|
|
|
|
if test $ac_cv_type_getgroups = cross; then
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 1502 "configure"
|
|
|
+#line 1504 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <unistd.h>
|
|
|
EOF
|
|
|
@@ -1522,8 +1524,330 @@ EOF
|
|
|
|
|
|
|
|
|
|
|
|
+echo $ac_n "checking size of int""... $ac_c" 1>&6
|
|
|
+echo "configure:1529: checking size of int" >&5
|
|
|
+if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
|
|
|
+ echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
+else
|
|
|
+ if test "$cross_compiling" = yes; then
|
|
|
+ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
|
|
|
+else
|
|
|
+ cat > conftest.$ac_ext <<EOF
|
|
|
+#line 1537 "configure"
|
|
|
+#include "confdefs.h"
|
|
|
+#include <stdio.h>
|
|
|
+int main()
|
|
|
+{
|
|
|
+ FILE *f=fopen("conftestval", "w");
|
|
|
+ if (!f) return(1);
|
|
|
+ fprintf(f, "%d\n", sizeof(int));
|
|
|
+ return(0);
|
|
|
+}
|
|
|
+EOF
|
|
|
+if { (eval echo configure:1548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
+then
|
|
|
+ ac_cv_sizeof_int=`cat conftestval`
|
|
|
+else
|
|
|
+ echo "configure: failed program was:" >&5
|
|
|
+ cat conftest.$ac_ext >&5
|
|
|
+ rm -fr conftest*
|
|
|
+ ac_cv_sizeof_int=0
|
|
|
+fi
|
|
|
+rm -fr conftest*
|
|
|
+fi
|
|
|
+
|
|
|
+fi
|
|
|
+echo "$ac_t""$ac_cv_sizeof_int" 1>&6
|
|
|
+cat >> confdefs.h <<EOF
|
|
|
+#define SIZEOF_INT $ac_cv_sizeof_int
|
|
|
+EOF
|
|
|
+
|
|
|
+
|
|
|
+echo $ac_n "checking size of short""... $ac_c" 1>&6
|
|
|
+echo "configure:1568: checking size of short" >&5
|
|
|
+if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
|
|
|
+ echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
+else
|
|
|
+ if test "$cross_compiling" = yes; then
|
|
|
+ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
|
|
|
+else
|
|
|
+ cat > conftest.$ac_ext <<EOF
|
|
|
+#line 1576 "configure"
|
|
|
+#include "confdefs.h"
|
|
|
+#include <stdio.h>
|
|
|
+int main()
|
|
|
+{
|
|
|
+ FILE *f=fopen("conftestval", "w");
|
|
|
+ if (!f) return(1);
|
|
|
+ fprintf(f, "%d\n", sizeof(short));
|
|
|
+ return(0);
|
|
|
+}
|
|
|
+EOF
|
|
|
+if { (eval echo configure:1587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
+then
|
|
|
+ ac_cv_sizeof_short=`cat conftestval`
|
|
|
+else
|
|
|
+ echo "configure: failed program was:" >&5
|
|
|
+ cat conftest.$ac_ext >&5
|
|
|
+ rm -fr conftest*
|
|
|
+ ac_cv_sizeof_short=0
|
|
|
+fi
|
|
|
+rm -fr conftest*
|
|
|
+fi
|
|
|
+
|
|
|
+fi
|
|
|
+echo "$ac_t""$ac_cv_sizeof_short" 1>&6
|
|
|
+cat >> confdefs.h <<EOF
|
|
|
+#define SIZEOF_SHORT $ac_cv_sizeof_short
|
|
|
+EOF
|
|
|
+
|
|
|
+
|
|
|
+echo $ac_n "checking size of long""... $ac_c" 1>&6
|
|
|
+echo "configure:1607: checking size of long" >&5
|
|
|
+if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
|
|
|
+ echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
+else
|
|
|
+ if test "$cross_compiling" = yes; then
|
|
|
+ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
|
|
|
+else
|
|
|
+ cat > conftest.$ac_ext <<EOF
|
|
|
+#line 1615 "configure"
|
|
|
+#include "confdefs.h"
|
|
|
+#include <stdio.h>
|
|
|
+int main()
|
|
|
+{
|
|
|
+ FILE *f=fopen("conftestval", "w");
|
|
|
+ if (!f) return(1);
|
|
|
+ fprintf(f, "%d\n", sizeof(long));
|
|
|
+ return(0);
|
|
|
+}
|
|
|
+EOF
|
|
|
+if { (eval echo configure:1626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
+then
|
|
|
+ ac_cv_sizeof_long=`cat conftestval`
|
|
|
+else
|
|
|
+ echo "configure: failed program was:" >&5
|
|
|
+ cat conftest.$ac_ext >&5
|
|
|
+ rm -fr conftest*
|
|
|
+ ac_cv_sizeof_long=0
|
|
|
+fi
|
|
|
+rm -fr conftest*
|
|
|
+fi
|
|
|
+
|
|
|
+fi
|
|
|
+echo "$ac_t""$ac_cv_sizeof_long" 1>&6
|
|
|
+cat >> confdefs.h <<EOF
|
|
|
+#define SIZEOF_LONG $ac_cv_sizeof_long
|
|
|
+EOF
|
|
|
+
|
|
|
+
|
|
|
+if test "$ac_cv_sizeof_int" = 4 ; then
|
|
|
+ echo $ac_n "checking for int32_t""... $ac_c" 1>&6
|
|
|
+echo "configure:1647: checking for int32_t" >&5
|
|
|
+if eval "test \"`echo '$''{'ac_cv_type_int32_t'+set}'`\" = set"; then
|
|
|
+ echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
+else
|
|
|
+ cat > conftest.$ac_ext <<EOF
|
|
|
+#line 1652 "configure"
|
|
|
+#include "confdefs.h"
|
|
|
+#include <sys/types.h>
|
|
|
+#if STDC_HEADERS
|
|
|
+#include <stdlib.h>
|
|
|
+#include <stddef.h>
|
|
|
+#endif
|
|
|
+EOF
|
|
|
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
|
+ egrep "(^|[^a-zA-Z_0-9])int32_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
|
|
|
+ rm -rf conftest*
|
|
|
+ ac_cv_type_int32_t=yes
|
|
|
+else
|
|
|
+ rm -rf conftest*
|
|
|
+ ac_cv_type_int32_t=no
|
|
|
+fi
|
|
|
+rm -f conftest*
|
|
|
+
|
|
|
+fi
|
|
|
+echo "$ac_t""$ac_cv_type_int32_t" 1>&6
|
|
|
+if test $ac_cv_type_int32_t = no; then
|
|
|
+ cat >> confdefs.h <<\EOF
|
|
|
+#define int32_t int
|
|
|
+EOF
|
|
|
+
|
|
|
+fi
|
|
|
+
|
|
|
+ echo $ac_n "checking for u_int32_t""... $ac_c" 1>&6
|
|
|
+echo "configure:1680: checking for u_int32_t" >&5
|
|
|
+if eval "test \"`echo '$''{'ac_cv_type_u_int32_t'+set}'`\" = set"; then
|
|
|
+ echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
+else
|
|
|
+ cat > conftest.$ac_ext <<EOF
|
|
|
+#line 1685 "configure"
|
|
|
+#include "confdefs.h"
|
|
|
+#include <sys/types.h>
|
|
|
+#if STDC_HEADERS
|
|
|
+#include <stdlib.h>
|
|
|
+#include <stddef.h>
|
|
|
+#endif
|
|
|
+EOF
|
|
|
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
|
+ egrep "(^|[^a-zA-Z_0-9])u_int32_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
|
|
|
+ rm -rf conftest*
|
|
|
+ ac_cv_type_u_int32_t=yes
|
|
|
+else
|
|
|
+ rm -rf conftest*
|
|
|
+ ac_cv_type_u_int32_t=no
|
|
|
+fi
|
|
|
+rm -f conftest*
|
|
|
+
|
|
|
+fi
|
|
|
+echo "$ac_t""$ac_cv_type_u_int32_t" 1>&6
|
|
|
+if test $ac_cv_type_u_int32_t = no; then
|
|
|
+ cat >> confdefs.h <<\EOF
|
|
|
+#define u_int32_t unsigned int
|
|
|
+EOF
|
|
|
+
|
|
|
+fi
|
|
|
+
|
|
|
+elif test "$ac_cv_sizeof_short" = 4 ; then
|
|
|
+ echo $ac_n "checking for int32_t""... $ac_c" 1>&6
|
|
|
+echo "configure:1714: checking for int32_t" >&5
|
|
|
+if eval "test \"`echo '$''{'ac_cv_type_int32_t'+set}'`\" = set"; then
|
|
|
+ echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
+else
|
|
|
+ cat > conftest.$ac_ext <<EOF
|
|
|
+#line 1719 "configure"
|
|
|
+#include "confdefs.h"
|
|
|
+#include <sys/types.h>
|
|
|
+#if STDC_HEADERS
|
|
|
+#include <stdlib.h>
|
|
|
+#include <stddef.h>
|
|
|
+#endif
|
|
|
+EOF
|
|
|
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
|
+ egrep "(^|[^a-zA-Z_0-9])int32_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
|
|
|
+ rm -rf conftest*
|
|
|
+ ac_cv_type_int32_t=yes
|
|
|
+else
|
|
|
+ rm -rf conftest*
|
|
|
+ ac_cv_type_int32_t=no
|
|
|
+fi
|
|
|
+rm -f conftest*
|
|
|
+
|
|
|
+fi
|
|
|
+echo "$ac_t""$ac_cv_type_int32_t" 1>&6
|
|
|
+if test $ac_cv_type_int32_t = no; then
|
|
|
+ cat >> confdefs.h <<\EOF
|
|
|
+#define int32_t short
|
|
|
+EOF
|
|
|
+
|
|
|
+fi
|
|
|
+
|
|
|
+ echo $ac_n "checking for u_int32_t""... $ac_c" 1>&6
|
|
|
+echo "configure:1747: checking for u_int32_t" >&5
|
|
|
+if eval "test \"`echo '$''{'ac_cv_type_u_int32_t'+set}'`\" = set"; then
|
|
|
+ echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
+else
|
|
|
+ cat > conftest.$ac_ext <<EOF
|
|
|
+#line 1752 "configure"
|
|
|
+#include "confdefs.h"
|
|
|
+#include <sys/types.h>
|
|
|
+#if STDC_HEADERS
|
|
|
+#include <stdlib.h>
|
|
|
+#include <stddef.h>
|
|
|
+#endif
|
|
|
+EOF
|
|
|
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
|
+ egrep "(^|[^a-zA-Z_0-9])u_int32_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
|
|
|
+ rm -rf conftest*
|
|
|
+ ac_cv_type_u_int32_t=yes
|
|
|
+else
|
|
|
+ rm -rf conftest*
|
|
|
+ ac_cv_type_u_int32_t=no
|
|
|
+fi
|
|
|
+rm -f conftest*
|
|
|
+
|
|
|
+fi
|
|
|
+echo "$ac_t""$ac_cv_type_u_int32_t" 1>&6
|
|
|
+if test $ac_cv_type_u_int32_t = no; then
|
|
|
+ cat >> confdefs.h <<\EOF
|
|
|
+#define u_int32_t unsigned short
|
|
|
+EOF
|
|
|
+
|
|
|
+fi
|
|
|
+
|
|
|
+elif test "$ac_cv_sizeof_long" = 4 ; then
|
|
|
+ echo $ac_n "checking for int32_t""... $ac_c" 1>&6
|
|
|
+echo "configure:1781: checking for int32_t" >&5
|
|
|
+if eval "test \"`echo '$''{'ac_cv_type_int32_t'+set}'`\" = set"; then
|
|
|
+ echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
+else
|
|
|
+ cat > conftest.$ac_ext <<EOF
|
|
|
+#line 1786 "configure"
|
|
|
+#include "confdefs.h"
|
|
|
+#include <sys/types.h>
|
|
|
+#if STDC_HEADERS
|
|
|
+#include <stdlib.h>
|
|
|
+#include <stddef.h>
|
|
|
+#endif
|
|
|
+EOF
|
|
|
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
|
+ egrep "(^|[^a-zA-Z_0-9])int32_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
|
|
|
+ rm -rf conftest*
|
|
|
+ ac_cv_type_int32_t=yes
|
|
|
+else
|
|
|
+ rm -rf conftest*
|
|
|
+ ac_cv_type_int32_t=no
|
|
|
+fi
|
|
|
+rm -f conftest*
|
|
|
+
|
|
|
+fi
|
|
|
+echo "$ac_t""$ac_cv_type_int32_t" 1>&6
|
|
|
+if test $ac_cv_type_int32_t = no; then
|
|
|
+ cat >> confdefs.h <<\EOF
|
|
|
+#define int32_t long
|
|
|
+EOF
|
|
|
+
|
|
|
+fi
|
|
|
+
|
|
|
+ echo $ac_n "checking for u_int32_t""... $ac_c" 1>&6
|
|
|
+echo "configure:1814: checking for u_int32_t" >&5
|
|
|
+if eval "test \"`echo '$''{'ac_cv_type_u_int32_t'+set}'`\" = set"; then
|
|
|
+ echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
+else
|
|
|
+ cat > conftest.$ac_ext <<EOF
|
|
|
+#line 1819 "configure"
|
|
|
+#include "confdefs.h"
|
|
|
+#include <sys/types.h>
|
|
|
+#if STDC_HEADERS
|
|
|
+#include <stdlib.h>
|
|
|
+#include <stddef.h>
|
|
|
+#endif
|
|
|
+EOF
|
|
|
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
|
+ egrep "(^|[^a-zA-Z_0-9])u_int32_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
|
|
|
+ rm -rf conftest*
|
|
|
+ ac_cv_type_u_int32_t=yes
|
|
|
+else
|
|
|
+ rm -rf conftest*
|
|
|
+ ac_cv_type_u_int32_t=no
|
|
|
+fi
|
|
|
+rm -f conftest*
|
|
|
+
|
|
|
+fi
|
|
|
+echo "$ac_t""$ac_cv_type_u_int32_t" 1>&6
|
|
|
+if test $ac_cv_type_u_int32_t = no; then
|
|
|
+ cat >> confdefs.h <<\EOF
|
|
|
+#define u_int32_t unsigned long
|
|
|
+EOF
|
|
|
+
|
|
|
+fi
|
|
|
+
|
|
|
+else
|
|
|
+ { echo "configure: error: Cannot find a type with size of 32 bits" 1>&2; exit 1; }
|
|
|
+fi
|
|
|
+
|
|
|
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
|
|
|
-echo "configure:1527: checking for main in -lnsl" >&5
|
|
|
+echo "configure:1851: 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
|
|
|
@@ -1531,14 +1855,14 @@ else
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
LIBS="-lnsl $LIBS"
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 1535 "configure"
|
|
|
+#line 1859 "configure"
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
int main() {
|
|
|
main()
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:1542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:1866: \"$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
|
|
|
@@ -1559,7 +1883,7 @@ else
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
|
|
|
-echo "configure:1563: checking for socket in -lsocket" >&5
|
|
|
+echo "configure:1887: 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
|
|
|
@@ -1567,7 +1891,7 @@ else
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
LIBS="-lsocket $LIBS"
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 1571 "configure"
|
|
|
+#line 1895 "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
|
|
|
@@ -1578,7 +1902,7 @@ int main() {
|
|
|
socket()
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:1582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:1906: \"$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
|
|
|
@@ -1602,12 +1926,12 @@ fi
|
|
|
for ac_func in strdup strstr strtoul initgroups
|
|
|
do
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
-echo "configure:1606: checking for $ac_func" >&5
|
|
|
+echo "configure:1930: 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 1611 "configure"
|
|
|
+#line 1935 "configure"
|
|
|
#include "confdefs.h"
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
@@ -1630,7 +1954,7 @@ $ac_func();
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:1634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:1958: \"$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
|
|
|
@@ -1656,9 +1980,9 @@ done
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for type of socket size""... $ac_c" 1>&6
|
|
|
-echo "configure:1660: checking for type of socket size" >&5
|
|
|
+echo "configure:1984: checking for type of socket size" >&5
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 1662 "configure"
|
|
|
+#line 1986 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <stdlib.h>
|
|
|
#include <sys/types.h>
|
|
|
@@ -1668,7 +1992,7 @@ int main() {
|
|
|
int a = send(1, (const void *)0, (size_t *) 0, (int *) 0);
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:1672: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:1996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
cat >> confdefs.h <<\EOF
|
|
|
#define SOCKET_SIZE_TYPE size_t
|
|
|
@@ -1694,9 +2018,9 @@ else
|
|
|
nrpe_user=nagios
|
|
|
fi
|
|
|
|
|
|
-# Check whether --with-nrpe_grp or --without-nrpe_grp was given.
|
|
|
-if test "${with_nrpe_grp+set}" = set; then
|
|
|
- withval="$with_nrpe_grp"
|
|
|
+# Check whether --with-nrpe_group or --without-nrpe_group was given.
|
|
|
+if test "${with_nrpe_group+set}" = set; then
|
|
|
+ withval="$with_nrpe_group"
|
|
|
nrpe_grp=$withval
|
|
|
else
|
|
|
nrpe_grp=nagios
|
|
|
@@ -1718,11 +2042,21 @@ cat >> confdefs.h <<EOF
|
|
|
EOF
|
|
|
|
|
|
|
|
|
+# Check whether --enable-command-args or --disable-command-args was given.
|
|
|
+if test "${enable_command_args+set}" = set; then
|
|
|
+ enableval="$enable_command_args"
|
|
|
+ cat >> confdefs.h <<EOF
|
|
|
+#define ENABLE_COMMAND_ARGUMENTS 1
|
|
|
+EOF
|
|
|
+
|
|
|
+fi
|
|
|
+
|
|
|
+
|
|
|
|
|
|
# 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:1726: checking for $ac_word" >&5
|
|
|
+echo "configure:2060: 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
|