|
|
@@ -1,6 +1,8 @@
|
|
|
#! /bin/sh
|
|
|
# Guess values for system-dependent variables and create Makefiles.
|
|
|
-# Generated by GNU Autoconf 2.59.
|
|
|
+# Generated by GNU Autoconf 2.59 for nrpe 2.13.
|
|
|
+#
|
|
|
+# Report bugs to <nagios-users@lists.sourceforge.net>.
|
|
|
#
|
|
|
# Copyright (C) 2003 Free Software Foundation, Inc.
|
|
|
# This configure script is free software; the Free Software Foundation
|
|
|
@@ -265,11 +267,11 @@ SHELL=${CONFIG_SHELL-/bin/sh}
|
|
|
: ${ac_max_here_lines=38}
|
|
|
|
|
|
# Identity of this package.
|
|
|
-PACKAGE_NAME=
|
|
|
-PACKAGE_TARNAME=
|
|
|
-PACKAGE_VERSION=
|
|
|
-PACKAGE_STRING=
|
|
|
-PACKAGE_BUGREPORT=
|
|
|
+PACKAGE_NAME='nrpe'
|
|
|
+PACKAGE_TARNAME='nrpe'
|
|
|
+PACKAGE_VERSION='2.13'
|
|
|
+PACKAGE_STRING='nrpe 2.13'
|
|
|
+PACKAGE_BUGREPORT='nagios-users@lists.sourceforge.net'
|
|
|
|
|
|
ac_unique_file="src/nrpe.c"
|
|
|
ac_default_prefix=/usr/local/nagios
|
|
|
@@ -310,7 +312,7 @@ ac_includes_default="\
|
|
|
# include <unistd.h>
|
|
|
#endif"
|
|
|
|
|
|
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PKG_NAME PKG_VERSION PKG_HOME_URL PKG_REL_DATE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA INSTALL build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT SET_MAKE CPP EGREP SNPRINTF_O OTHERLIBS SOCKETLIBS LIBWRAPLIBS HAVE_SSL log_facility nrpe_user nrpe_group NRPE_INSTALL_OPTS nrpe_port nagios_user nagios_group NAGIOS_INSTALL_OPTS TARGET_VER TARGET_OS TARGET_ARCH PERL LIBOBJS LTLIBOBJS'
|
|
|
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PKG_NAME PKG_VERSION PKG_HOME_URL PKG_REL_DATE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA INSTALL build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT SET_MAKE CPP EGREP SNPRINTF_O OTHERLIBS SOCKETLIBS LIBWRAPLIBS HAVE_SSL log_facility nrpe_user nrpe_group NRPE_INSTALL_OPTS nrpe_port nagios_user nagios_group NAGIOS_INSTALL_OPTS TARGET_VER TARGET_OS TARGET_ARCH TARGET_PLATFORM PERL LIBOBJS LTLIBOBJS'
|
|
|
ac_subst_files=''
|
|
|
|
|
|
# Initialize some variables set by options.
|
|
|
@@ -779,7 +781,7 @@ if test "$ac_init_help" = "long"; then
|
|
|
# Omit some internal or obsolete options to make the list less imposing.
|
|
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
|
|
cat <<_ACEOF
|
|
|
-\`configure' configures this package to adapt to many kinds of systems.
|
|
|
+\`configure' configures nrpe 2.13 to adapt to many kinds of systems.
|
|
|
|
|
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
|
|
|
|
|
@@ -839,7 +841,9 @@ _ACEOF
|
|
|
fi
|
|
|
|
|
|
if test -n "$ac_init_help"; then
|
|
|
-
|
|
|
+ case $ac_init_help in
|
|
|
+ short | recursive ) echo "Configuration of nrpe 2.13:";;
|
|
|
+ esac
|
|
|
cat <<\_ACEOF
|
|
|
|
|
|
Optional Features:
|
|
|
@@ -874,6 +878,7 @@ Some influential environment variables:
|
|
|
Use these variables to override the choices made by `configure' or to help
|
|
|
it to find libraries and programs with nonstandard names/locations.
|
|
|
|
|
|
+Report bugs to <nagios-users@lists.sourceforge.net>.
|
|
|
_ACEOF
|
|
|
fi
|
|
|
|
|
|
@@ -969,6 +974,8 @@ fi
|
|
|
test -n "$ac_init_help" && exit 0
|
|
|
if $ac_init_version; then
|
|
|
cat <<\_ACEOF
|
|
|
+nrpe configure 2.13
|
|
|
+generated by GNU Autoconf 2.59
|
|
|
|
|
|
Copyright (C) 2003 Free Software Foundation, Inc.
|
|
|
This configure script is free software; the Free Software Foundation
|
|
|
@@ -981,7 +988,7 @@ cat >&5 <<_ACEOF
|
|
|
This file contains any messages produced by compilers while
|
|
|
running configure, to aid debugging if configure makes a mistake.
|
|
|
|
|
|
-It was created by $as_me, which was
|
|
|
+It was created by nrpe $as_me 2.13, which was
|
|
|
generated by GNU Autoconf 2.59. Invocation command line was
|
|
|
|
|
|
$ $0 $@
|
|
|
@@ -1285,6 +1292,15 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
@@ -1295,6 +1311,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
|
|
ac_config_headers="$ac_config_headers include/config.h"
|
|
|
|
|
|
+ ac_config_files="$ac_config_files Makefile subst src/Makefile package/solaris/Makefile init-script init-script.debian init-script.suse sample-config/nrpe.cfg sample-config/nrpe.xinetd"
|
|
|
+
|
|
|
|
|
|
|
|
|
PKG_NAME=nrpe
|
|
|
@@ -3198,9 +3216,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
|
|
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
|
|
(
|
|
|
cat <<\_ASBOX
|
|
|
-## ------------------------------------------ ##
|
|
|
-## Report this to the AC_PACKAGE_NAME lists. ##
|
|
|
-## ------------------------------------------ ##
|
|
|
+## ------------------------------------------------- ##
|
|
|
+## Report this to nagios-users@lists.sourceforge.net ##
|
|
|
+## ------------------------------------------------- ##
|
|
|
_ASBOX
|
|
|
) |
|
|
|
sed "s/^/$as_me: WARNING: /" >&2
|
|
|
@@ -5167,25 +5185,29 @@ fi
|
|
|
|
|
|
if test "$ac_cv_type_u_int32_t" = no ; then
|
|
|
if test "$ac_cv_type_u_int32_t" = yes ; then
|
|
|
- cat >>confdefs.h <<\_ACEOF
|
|
|
+
|
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
|
#define U_INT32_T_IS_UINT32_T 1
|
|
|
_ACEOF
|
|
|
|
|
|
else
|
|
|
if test "$ac_cv_sizeof_int" = 4 ; then
|
|
|
- cat >>confdefs.h <<\_ACEOF
|
|
|
+
|
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
|
#define U_INT32_T_IS_UINT 1
|
|
|
_ACEOF
|
|
|
|
|
|
else
|
|
|
if test "$ac_cv_sizeof_long" = 4 ; then
|
|
|
- cat >>confdefs.h <<\_ACEOF
|
|
|
+
|
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
|
#define U_INT32_T_IS_ULONG 1
|
|
|
_ACEOF
|
|
|
|
|
|
else
|
|
|
if test "$ac_cv_sizeof_short" = 4 ; then
|
|
|
- cat >>confdefs.h <<\_ACEOF
|
|
|
+
|
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
|
#define U_INT32_T_IS_USHORT 1
|
|
|
_ACEOF
|
|
|
|
|
|
@@ -5263,19 +5285,22 @@ fi
|
|
|
|
|
|
if test "$ac_cv_type_int32_t" = no ; then
|
|
|
if test "$ac_cv_sizeof_int" = 4 ; then
|
|
|
- cat >>confdefs.h <<\_ACEOF
|
|
|
+
|
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
|
#define INT32_T_IS_UINT 1
|
|
|
_ACEOF
|
|
|
|
|
|
else
|
|
|
if test "$ac_cv_sizeof_long" = 4 ; then
|
|
|
- cat >>confdefs.h <<\_ACEOF
|
|
|
+
|
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
|
#define INT32_T_IS_ULONG 1
|
|
|
_ACEOF
|
|
|
|
|
|
else
|
|
|
if test "$ac_cv_sizeof_short" = 4 ; then
|
|
|
- cat >>confdefs.h <<\_ACEOF
|
|
|
+
|
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
|
#define INT32_T_IS_USHORT 1
|
|
|
_ACEOF
|
|
|
|
|
|
@@ -6238,7 +6263,8 @@ echo "${ECHO_T}$ac_cv_lib_wrap_main" >&6
|
|
|
if test $ac_cv_lib_wrap_main = yes; then
|
|
|
|
|
|
LIBWRAPLIBS="$LIBWRAPLIBS -lwrap"
|
|
|
- cat >>confdefs.h <<\_ACEOF
|
|
|
+
|
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
|
#define HAVE_LIBWRAP 1
|
|
|
_ACEOF
|
|
|
|
|
|
@@ -6549,7 +6575,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
ac_status=$?
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
(exit $ac_status); }; }; then
|
|
|
- cat >>confdefs.h <<\_ACEOF
|
|
|
+
|
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
|
#define SOCKET_SIZE_TYPE size_t
|
|
|
_ACEOF
|
|
|
echo "$as_me:$LINENO: result: size_t" >&5
|
|
|
@@ -6558,6 +6585,7 @@ else
|
|
|
echo "$as_me: failed program was:" >&5
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
+
|
|
|
cat >>confdefs.h <<\_ACEOF
|
|
|
#define SOCKET_SIZE_TYPE int
|
|
|
_ACEOF
|
|
|
@@ -6631,7 +6659,7 @@ if test x$check_for_ssl = xyes; then
|
|
|
echo "$as_me:$LINENO: checking for SSL headers" >&5
|
|
|
echo $ECHO_N "checking for SSL headers... $ECHO_C" >&6
|
|
|
found_ssl=no
|
|
|
- for dir in $ssl_inc_dir $ssl_dir /usr/local/openssl /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr /usr/freeware/lib/openssl; do
|
|
|
+ for dir in $ssl_inc_dir $ssl_dir /usr/local/openssl /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr /usr/freeware/lib/openssl /usr/sfw/include; do
|
|
|
ssldir="$dir"
|
|
|
if test -f "$dir/include/openssl/ssl.h"; then
|
|
|
found_ssl=yes
|
|
|
@@ -6672,7 +6700,7 @@ echo "$as_me: error: Cannot find ssl headers" >&2;}
|
|
|
echo "$as_me:$LINENO: checking for SSL libraries" >&5
|
|
|
echo $ECHO_N "checking for SSL libraries... $ECHO_C" >&6
|
|
|
found_ssl=no
|
|
|
- for dir in $ssl_lib_dir $ssl_dir /usr/lib64 /usr/lib /usr/local/lib /usr/lib/ssl /usr/ssl/lib /usr/openssl/lib /usr/pkg/lib /usr/freeware/lib/openssl; do
|
|
|
+ for dir in $ssl_lib_dir $ssl_dir /usr/lib64 /usr/lib /usr/local/lib /usr/lib/ssl /usr/ssl/lib /usr/openssl/lib /usr/pkg/lib /usr/freeware/lib/openssl /usr/sfw/lib; do
|
|
|
ssllibdir="$dir"
|
|
|
if test -f "$dir/libssl.so"; then
|
|
|
found_ssl=yes
|
|
|
@@ -6690,7 +6718,8 @@ echo "$as_me: error: Cannot find ssl libraries" >&2;}
|
|
|
LDFLAGS="$LDFLAGS -L$ssllibdir";
|
|
|
LIBS="$LIBS -lssl -lcrypto";
|
|
|
|
|
|
- cat >>confdefs.h <<_ACEOF
|
|
|
+
|
|
|
+cat >>confdefs.h <<_ACEOF
|
|
|
#define HAVE_SSL 1
|
|
|
_ACEOF
|
|
|
|
|
|
@@ -6716,7 +6745,8 @@ echo $ECHO_N "checking for Kerberos include files... $ECHO_C" >&6
|
|
|
if test -f "$dir/krb5.h"; then
|
|
|
found_kerberos=yes
|
|
|
CFLAGS="$CFLAGS -I$kerbdir"
|
|
|
- cat >>confdefs.h <<_ACEOF
|
|
|
+
|
|
|
+cat >>confdefs.h <<_ACEOF
|
|
|
#define HAVE_KRB5_H 1
|
|
|
_ACEOF
|
|
|
|
|
|
@@ -6742,6 +6772,7 @@ else
|
|
|
log_facility=daemon
|
|
|
fi;
|
|
|
|
|
|
+
|
|
|
cat >>confdefs.h <<_ACEOF
|
|
|
#define NRPE_LOG_FACILITY "$log_facility"
|
|
|
_ACEOF
|
|
|
@@ -6776,6 +6807,7 @@ fi;
|
|
|
NRPE_INSTALL_OPTS="-o $nrpe_user -g $nrpe_group"
|
|
|
|
|
|
|
|
|
+
|
|
|
cat >>confdefs.h <<_ACEOF
|
|
|
#define DEFAULT_SERVER_PORT $nrpe_port
|
|
|
_ACEOF
|
|
|
@@ -6821,11 +6853,19 @@ else
|
|
|
TARGET_ARCH=$target_cpu
|
|
|
fi
|
|
|
|
|
|
+TARGET_PLATFORM=""
|
|
|
+if test "x$TARGET_OS" = "xSunOS" ; then
|
|
|
+ if test "x$TARGET_VER" = "x5.10" ; then
|
|
|
+ TARGET_PLATFORM="sol10"
|
|
|
+ fi
|
|
|
+fi
|
|
|
+
|
|
|
|
|
|
# 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 <<_ACEOF
|
|
|
+
|
|
|
+cat >>confdefs.h <<_ACEOF
|
|
|
#define ENABLE_COMMAND_ARGUMENTS 1
|
|
|
_ACEOF
|
|
|
|
|
|
@@ -6871,7 +6911,6 @@ else
|
|
|
echo "${ECHO_T}no" >&6
|
|
|
fi
|
|
|
|
|
|
- ac_config_files="$ac_config_files Makefile src/Makefile subst"
|
|
|
|
|
|
|
|
|
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
|
|
@@ -7181,7 +7220,7 @@ _ASBOX
|
|
|
} >&5
|
|
|
cat >&5 <<_CSEOF
|
|
|
|
|
|
-This file was extended by $as_me, which was
|
|
|
+This file was extended by nrpe $as_me 2.13, which was
|
|
|
generated by GNU Autoconf 2.59. Invocation command line was
|
|
|
|
|
|
CONFIG_FILES = $CONFIG_FILES
|
|
|
@@ -7241,7 +7280,7 @@ _ACEOF
|
|
|
|
|
|
cat >>$CONFIG_STATUS <<_ACEOF
|
|
|
ac_cs_version="\\
|
|
|
-config.status
|
|
|
+nrpe config.status 2.13
|
|
|
configured by $0, generated by GNU Autoconf 2.59,
|
|
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
|
|
|
|
|
@@ -7345,8 +7384,14 @@ do
|
|
|
case "$ac_config_target" in
|
|
|
# Handling of arguments.
|
|
|
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
|
|
- "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
|
|
|
"subst" ) CONFIG_FILES="$CONFIG_FILES subst" ;;
|
|
|
+ "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
|
|
|
+ "package/solaris/Makefile" ) CONFIG_FILES="$CONFIG_FILES package/solaris/Makefile" ;;
|
|
|
+ "init-script" ) CONFIG_FILES="$CONFIG_FILES init-script" ;;
|
|
|
+ "init-script.debian" ) CONFIG_FILES="$CONFIG_FILES init-script.debian" ;;
|
|
|
+ "init-script.suse" ) CONFIG_FILES="$CONFIG_FILES init-script.suse" ;;
|
|
|
+ "sample-config/nrpe.cfg" ) CONFIG_FILES="$CONFIG_FILES sample-config/nrpe.cfg" ;;
|
|
|
+ "sample-config/nrpe.xinetd" ) CONFIG_FILES="$CONFIG_FILES sample-config/nrpe.xinetd" ;;
|
|
|
"include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
|
|
|
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
|
|
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
|
|
@@ -7474,6 +7519,7 @@ s,@NAGIOS_INSTALL_OPTS@,$NAGIOS_INSTALL_OPTS,;t t
|
|
|
s,@TARGET_VER@,$TARGET_VER,;t t
|
|
|
s,@TARGET_OS@,$TARGET_OS,;t t
|
|
|
s,@TARGET_ARCH@,$TARGET_ARCH,;t t
|
|
|
+s,@TARGET_PLATFORM@,$TARGET_PLATFORM,;t t
|
|
|
s,@PERL@,$PERL,;t t
|
|
|
s,@LIBOBJS@,$LIBOBJS,;t t
|
|
|
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
|