|
|
@@ -19,6 +19,8 @@ ac_help="$ac_help
|
|
|
ac_help="$ac_help
|
|
|
--with-ssl-inc=DIR sets location of the SSL include files"
|
|
|
ac_help="$ac_help
|
|
|
+--with-kerberos-inc=DIR sets location of the Kerberos include files"
|
|
|
+ac_help="$ac_help
|
|
|
--with-nrpe-user=<user> sets user name to run NRPE"
|
|
|
ac_help="$ac_help
|
|
|
--with-nrpe-group=<group> sets group name to run NRPE"
|
|
|
@@ -569,7 +571,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:573: checking for a BSD compatible install" >&5
|
|
|
+echo "configure:575: 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
|
|
|
@@ -626,7 +628,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:630: checking for $ac_word" >&5
|
|
|
+echo "configure:632: 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
|
|
|
@@ -656,7 +658,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:660: checking for $ac_word" >&5
|
|
|
+echo "configure:662: 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
|
|
|
@@ -707,7 +709,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:711: checking for $ac_word" >&5
|
|
|
+echo "configure:713: 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
|
|
|
@@ -739,7 +741,7 @@ fi
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
|
|
|
-echo "configure:743: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
|
|
+echo "configure:745: 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.
|
|
|
@@ -750,12 +752,12 @@ cross_compiling=$ac_cv_prog_cc_cross
|
|
|
|
|
|
cat > conftest.$ac_ext << EOF
|
|
|
|
|
|
-#line 754 "configure"
|
|
|
+#line 756 "configure"
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
main(){return(0);}
|
|
|
EOF
|
|
|
-if { (eval echo configure:759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:761: \"$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
|
|
|
@@ -781,12 +783,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:785: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
|
|
+echo "configure:787: 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:790: checking whether we are using GNU C" >&5
|
|
|
+echo "configure:792: 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
|
|
|
@@ -795,7 +797,7 @@ else
|
|
|
yes;
|
|
|
#endif
|
|
|
EOF
|
|
|
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:799: \"$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:801: \"$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
|
|
|
@@ -814,7 +816,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:818: checking whether ${CC-cc} accepts -g" >&5
|
|
|
+echo "configure:820: 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
|
|
|
@@ -846,7 +848,7 @@ else
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
|
|
|
-echo "configure:850: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
|
|
+echo "configure:852: 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
|
|
|
@@ -874,7 +876,7 @@ fi
|
|
|
|
|
|
|
|
|
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
|
|
|
-echo "configure:878: checking how to run the C preprocessor" >&5
|
|
|
+echo "configure:880: checking how to run the C preprocessor" >&5
|
|
|
# On Suns, sometimes $CPP names a directory.
|
|
|
if test -n "$CPP" && test -d "$CPP"; then
|
|
|
CPP=
|
|
|
@@ -889,13 +891,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 893 "configure"
|
|
|
+#line 895 "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:899: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:901: \"$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
|
|
|
:
|
|
|
@@ -906,13 +908,13 @@ else
|
|
|
rm -rf conftest*
|
|
|
CPP="${CC-cc} -E -traditional-cpp"
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 910 "configure"
|
|
|
+#line 912 "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:916: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:918: \"$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
|
|
|
:
|
|
|
@@ -923,13 +925,13 @@ else
|
|
|
rm -rf conftest*
|
|
|
CPP="${CC-cc} -nologo -E"
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 927 "configure"
|
|
|
+#line 929 "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:933: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:935: \"$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
|
|
|
:
|
|
|
@@ -954,12 +956,12 @@ fi
|
|
|
echo "$ac_t""$CPP" 1>&6
|
|
|
|
|
|
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
|
|
|
-echo "configure:958: checking for ANSI C header files" >&5
|
|
|
+echo "configure:960: 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 963 "configure"
|
|
|
+#line 965 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <stdlib.h>
|
|
|
#include <stdarg.h>
|
|
|
@@ -967,7 +969,7 @@ else
|
|
|
#include <float.h>
|
|
|
EOF
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
-{ (eval echo configure:971: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:973: \"$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*
|
|
|
@@ -984,7 +986,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 988 "configure"
|
|
|
+#line 990 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <string.h>
|
|
|
EOF
|
|
|
@@ -1002,7 +1004,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 1006 "configure"
|
|
|
+#line 1008 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <stdlib.h>
|
|
|
EOF
|
|
|
@@ -1023,7 +1025,7 @@ if test "$cross_compiling" = yes; then
|
|
|
:
|
|
|
else
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 1027 "configure"
|
|
|
+#line 1029 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <ctype.h>
|
|
|
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
|
@@ -1034,7 +1036,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
|
|
|
exit (0); }
|
|
|
|
|
|
EOF
|
|
|
-if { (eval echo configure:1038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
+if { (eval echo configure:1040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
then
|
|
|
:
|
|
|
else
|
|
|
@@ -1058,12 +1060,12 @@ EOF
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
|
|
|
-echo "configure:1062: checking whether time.h and sys/time.h may both be included" >&5
|
|
|
+echo "configure:1064: 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 1067 "configure"
|
|
|
+#line 1069 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
#include <sys/time.h>
|
|
|
@@ -1072,7 +1074,7 @@ int main() {
|
|
|
struct tm *tp;
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:1076: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:1078: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_header_time=yes
|
|
|
else
|
|
|
@@ -1093,12 +1095,12 @@ EOF
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
|
|
|
-echo "configure:1097: checking for sys/wait.h that is POSIX.1 compatible" >&5
|
|
|
+echo "configure:1099: 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 1102 "configure"
|
|
|
+#line 1104 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
#include <sys/wait.h>
|
|
|
@@ -1114,7 +1116,7 @@ wait (&s);
|
|
|
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:1118: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:1120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_header_sys_wait_h=yes
|
|
|
else
|
|
|
@@ -1138,17 +1140,17 @@ for ac_hdr in ctype.h dirent.h errno.h fcntl.h getopt.h grp.h netdb.h pwd.h sign
|
|
|
do
|
|
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
|
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
|
|
-echo "configure:1142: checking for $ac_hdr" >&5
|
|
|
+echo "configure:1144: 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 1147 "configure"
|
|
|
+#line 1149 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <$ac_hdr>
|
|
|
EOF
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
-{ (eval echo configure:1152: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:1154: \"$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*
|
|
|
@@ -1176,12 +1178,12 @@ done
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for working const""... $ac_c" 1>&6
|
|
|
-echo "configure:1180: checking for working const" >&5
|
|
|
+echo "configure:1182: 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 1185 "configure"
|
|
|
+#line 1187 "configure"
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
int main() {
|
|
|
@@ -1230,7 +1232,7 @@ ccp = (char const *const *) p;
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:1234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:1236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_c_const=yes
|
|
|
else
|
|
|
@@ -1251,12 +1253,12 @@ EOF
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
|
|
|
-echo "configure:1255: checking whether struct tm is in sys/time.h or time.h" >&5
|
|
|
+echo "configure:1257: 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 1260 "configure"
|
|
|
+#line 1262 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
#include <time.h>
|
|
|
@@ -1264,7 +1266,7 @@ int main() {
|
|
|
struct tm *tp; tp->tm_sec;
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:1268: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:1270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_struct_tm=time.h
|
|
|
else
|
|
|
@@ -1285,12 +1287,12 @@ EOF
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking for mode_t""... $ac_c" 1>&6
|
|
|
-echo "configure:1289: checking for mode_t" >&5
|
|
|
+echo "configure:1291: 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 1294 "configure"
|
|
|
+#line 1296 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
#if STDC_HEADERS
|
|
|
@@ -1318,12 +1320,12 @@ EOF
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking for pid_t""... $ac_c" 1>&6
|
|
|
-echo "configure:1322: checking for pid_t" >&5
|
|
|
+echo "configure:1324: 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 1327 "configure"
|
|
|
+#line 1329 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
#if STDC_HEADERS
|
|
|
@@ -1351,12 +1353,12 @@ EOF
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking for size_t""... $ac_c" 1>&6
|
|
|
-echo "configure:1355: checking for size_t" >&5
|
|
|
+echo "configure:1357: 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 1360 "configure"
|
|
|
+#line 1362 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
#if STDC_HEADERS
|
|
|
@@ -1384,12 +1386,12 @@ EOF
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
|
|
|
-echo "configure:1388: checking return type of signal handlers" >&5
|
|
|
+echo "configure:1390: 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 1393 "configure"
|
|
|
+#line 1395 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
#include <signal.h>
|
|
|
@@ -1406,7 +1408,7 @@ int main() {
|
|
|
int i;
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:1410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:1412: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_type_signal=void
|
|
|
else
|
|
|
@@ -1425,12 +1427,12 @@ EOF
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
|
|
|
-echo "configure:1429: checking for uid_t in sys/types.h" >&5
|
|
|
+echo "configure:1431: 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 1434 "configure"
|
|
|
+#line 1436 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
EOF
|
|
|
@@ -1459,7 +1461,7 @@ EOF
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6
|
|
|
-echo "configure:1463: checking type of array argument to getgroups" >&5
|
|
|
+echo "configure:1465: 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
|
|
|
@@ -1467,7 +1469,7 @@ else
|
|
|
ac_cv_type_getgroups=cross
|
|
|
else
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 1471 "configure"
|
|
|
+#line 1473 "configure"
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
/* Thanks to Mike Rendell for this test. */
|
|
|
@@ -1492,7 +1494,7 @@ main()
|
|
|
}
|
|
|
|
|
|
EOF
|
|
|
-if { (eval echo configure:1496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
+if { (eval echo configure:1498: \"$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
|
|
|
@@ -1506,7 +1508,7 @@ fi
|
|
|
|
|
|
if test $ac_cv_type_getgroups = cross; then
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 1510 "configure"
|
|
|
+#line 1512 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <unistd.h>
|
|
|
EOF
|
|
|
@@ -1531,7 +1533,7 @@ EOF
|
|
|
|
|
|
|
|
|
echo $ac_n "checking size of int""... $ac_c" 1>&6
|
|
|
-echo "configure:1535: checking size of int" >&5
|
|
|
+echo "configure:1537: 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
|
|
|
@@ -1539,7 +1541,7 @@ else
|
|
|
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
|
|
|
else
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 1543 "configure"
|
|
|
+#line 1545 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <stdio.h>
|
|
|
int main()
|
|
|
@@ -1550,7 +1552,7 @@ int main()
|
|
|
return(0);
|
|
|
}
|
|
|
EOF
|
|
|
-if { (eval echo configure:1554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
+if { (eval echo configure:1556: \"$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
|
|
|
@@ -1570,7 +1572,7 @@ EOF
|
|
|
|
|
|
|
|
|
echo $ac_n "checking size of short""... $ac_c" 1>&6
|
|
|
-echo "configure:1574: checking size of short" >&5
|
|
|
+echo "configure:1576: 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
|
|
|
@@ -1578,7 +1580,7 @@ else
|
|
|
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
|
|
|
else
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 1582 "configure"
|
|
|
+#line 1584 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <stdio.h>
|
|
|
int main()
|
|
|
@@ -1589,7 +1591,7 @@ int main()
|
|
|
return(0);
|
|
|
}
|
|
|
EOF
|
|
|
-if { (eval echo configure:1593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
+if { (eval echo configure:1595: \"$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
|
|
|
@@ -1609,7 +1611,7 @@ EOF
|
|
|
|
|
|
|
|
|
echo $ac_n "checking size of long""... $ac_c" 1>&6
|
|
|
-echo "configure:1613: checking size of long" >&5
|
|
|
+echo "configure:1615: 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
|
|
|
@@ -1617,7 +1619,7 @@ else
|
|
|
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
|
|
|
else
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 1621 "configure"
|
|
|
+#line 1623 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <stdio.h>
|
|
|
int main()
|
|
|
@@ -1628,7 +1630,7 @@ int main()
|
|
|
return(0);
|
|
|
}
|
|
|
EOF
|
|
|
-if { (eval echo configure:1632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
+if { (eval echo configure:1634: \"$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
|
|
|
@@ -1648,12 +1650,12 @@ EOF
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for u_int32_t""... $ac_c" 1>&6
|
|
|
-echo "configure:1652: checking for u_int32_t" >&5
|
|
|
+echo "configure:1654: 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 1657 "configure"
|
|
|
+#line 1659 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
#if STDC_HEADERS
|
|
|
@@ -1705,7 +1707,7 @@ fi
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
|
|
|
-echo "configure:1709: checking for main in -lnsl" >&5
|
|
|
+echo "configure:1711: 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
|
|
|
@@ -1713,14 +1715,14 @@ else
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
LIBS="-lnsl $LIBS"
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 1717 "configure"
|
|
|
+#line 1719 "configure"
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
int main() {
|
|
|
main()
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:1724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:1726: \"$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
|
|
|
@@ -1741,7 +1743,7 @@ else
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
|
|
|
-echo "configure:1745: checking for socket in -lsocket" >&5
|
|
|
+echo "configure:1747: 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
|
|
|
@@ -1749,7 +1751,7 @@ else
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
LIBS="-lsocket $LIBS"
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 1753 "configure"
|
|
|
+#line 1755 "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
|
|
|
@@ -1760,7 +1762,7 @@ int main() {
|
|
|
socket()
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:1764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:1766: \"$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
|
|
|
@@ -1784,12 +1786,12 @@ fi
|
|
|
for ac_func in strdup strstr strtoul initgroups
|
|
|
do
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
-echo "configure:1788: checking for $ac_func" >&5
|
|
|
+echo "configure:1790: 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 1793 "configure"
|
|
|
+#line 1795 "configure"
|
|
|
#include "confdefs.h"
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
@@ -1812,7 +1814,7 @@ $ac_func();
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:1816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:1818: \"$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
|
|
|
@@ -1838,9 +1840,9 @@ done
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for type of socket size""... $ac_c" 1>&6
|
|
|
-echo "configure:1842: checking for type of socket size" >&5
|
|
|
+echo "configure:1844: checking for type of socket size" >&5
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 1844 "configure"
|
|
|
+#line 1846 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <stdlib.h>
|
|
|
#include <sys/types.h>
|
|
|
@@ -1850,7 +1852,7 @@ int main() {
|
|
|
int a = send(1, (const void *)0, (size_t *) 0, (int *) 0);
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:1854: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:1856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
cat >> confdefs.h <<\EOF
|
|
|
#define SOCKET_SIZE_TYPE size_t
|
|
|
@@ -1900,10 +1902,18 @@ if test "${with_ssl_inc+set}" = set; then
|
|
|
|
|
|
fi
|
|
|
|
|
|
+# Check whether --with-kerberos-inc or --without-kerberos-inc was given.
|
|
|
+if test "${with_kerberos_inc+set}" = set; then
|
|
|
+ withval="$with_kerberos_inc"
|
|
|
+
|
|
|
+ kerberos_inc_dir=$withval
|
|
|
+
|
|
|
+fi
|
|
|
+
|
|
|
|
|
|
if test x$check_for_ssl = xyes; then
|
|
|
echo $ac_n "checking for SSL""... $ac_c" 1>&6
|
|
|
-echo "configure:1907: checking for SSL" >&5
|
|
|
+echo "configure:1917: checking for SSL" >&5
|
|
|
found_ssl=no
|
|
|
for dir in $ssl_inc_dir /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr; do
|
|
|
ssldir="$dir"
|
|
|
@@ -1939,6 +1949,30 @@ EOF
|
|
|
echo "*** Generating DH Parameters for SSL/TLS ***"
|
|
|
openssl dhparam -out /dev/null -C 512 > src/dh.h
|
|
|
fi
|
|
|
+
|
|
|
+ echo $ac_n "checking for Kerberos include files""... $ac_c" 1>&6
|
|
|
+echo "configure:1955: checking for Kerberos include files" >&5
|
|
|
+ found_kerberos=no
|
|
|
+ for dir in $kerberos_inc_dir /usr/kerberos/include; do
|
|
|
+ kerbdir="$dir"
|
|
|
+ if test -f "$dir/krb5.h"; then
|
|
|
+ found_kerberos=yes
|
|
|
+ CFLAGS="$CFLAGS -I$kerbdir"
|
|
|
+ cat >> confdefs.h <<EOF
|
|
|
+#define HAVE_KRB5_H 1
|
|
|
+EOF
|
|
|
+
|
|
|
+ break
|
|
|
+ fi
|
|
|
+ done
|
|
|
+
|
|
|
+ if test x_$found_kerberos != x_yes; then
|
|
|
+ printf "could not find include files\n";
|
|
|
+ else
|
|
|
+ printf "found Kerberos include files in $kerbdir\n";
|
|
|
+ fi
|
|
|
+
|
|
|
+
|
|
|
fi
|
|
|
|
|
|
# Check whether --with-nrpe_user or --without-nrpe_user was given.
|
|
|
@@ -1987,7 +2021,7 @@ 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:1991: checking for $ac_word" >&5
|
|
|
+echo "configure:2025: 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
|