|
|
@@ -535,9 +535,9 @@ fi
|
|
|
|
|
|
|
|
|
PKG_NAME=nrpe
|
|
|
-PKG_VERSION="2.0b4"
|
|
|
+PKG_VERSION="2.0b5"
|
|
|
PKG_HOME_URL="http://www.nagios.org/"
|
|
|
-PKG_REL_DATE="06-04-2003"
|
|
|
+PKG_REL_DATE="06-13-2003"
|
|
|
|
|
|
|
|
|
ac_aux_dir=
|
|
|
@@ -1649,13 +1649,47 @@ cat >> confdefs.h <<EOF
|
|
|
EOF
|
|
|
|
|
|
|
|
|
+
|
|
|
+echo $ac_n "checking for uint32_t""... $ac_c" 1>&6
|
|
|
+echo "configure:1655: checking for uint32_t" >&5
|
|
|
+if eval "test \"`echo '$''{'ac_cv_type_uint32_t'+set}'`\" = set"; then
|
|
|
+ echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
+else
|
|
|
+ cat > conftest.$ac_ext <<EOF
|
|
|
+#line 1660 "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])uint32_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
|
|
|
+ rm -rf conftest*
|
|
|
+ ac_cv_type_uint32_t=yes
|
|
|
+else
|
|
|
+ rm -rf conftest*
|
|
|
+ ac_cv_type_uint32_t=no
|
|
|
+fi
|
|
|
+rm -f conftest*
|
|
|
+
|
|
|
+fi
|
|
|
+echo "$ac_t""$ac_cv_type_uint32_t" 1>&6
|
|
|
+if test $ac_cv_type_uint32_t = no; then
|
|
|
+ cat >> confdefs.h <<\EOF
|
|
|
+#define uint32_t unsigned int
|
|
|
+EOF
|
|
|
+
|
|
|
+fi
|
|
|
+
|
|
|
echo $ac_n "checking for u_int32_t""... $ac_c" 1>&6
|
|
|
-echo "configure:1654: checking for u_int32_t" >&5
|
|
|
+echo "configure:1688: 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 1659 "configure"
|
|
|
+#line 1693 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
#if STDC_HEADERS
|
|
|
@@ -1683,9 +1717,9 @@ EOF
|
|
|
fi
|
|
|
|
|
|
if test "$ac_cv_type_u_int32_t" = no ; then
|
|
|
- if test "$ac_cv_sizeof_long" = 4 ; then
|
|
|
+ if test "$ac_cv_type_int32_t" = yes ; then
|
|
|
cat >> confdefs.h <<\EOF
|
|
|
-#define U_INT32_T_IS_ULONG 1
|
|
|
+#define U_INT32_T_IS_UINT32_T 1
|
|
|
EOF
|
|
|
|
|
|
else
|
|
|
@@ -1695,9 +1729,72 @@ EOF
|
|
|
EOF
|
|
|
|
|
|
else
|
|
|
- if test "$ac_cv_sizeof_short" = 4 ; then
|
|
|
+ if test "$ac_cv_sizeof_long" = 4 ; then
|
|
|
cat >> confdefs.h <<\EOF
|
|
|
+#define U_INT32_T_IS_ULONG 1
|
|
|
+EOF
|
|
|
+
|
|
|
+ else
|
|
|
+ if test "$ac_cv_sizeof_short" = 4 ; then
|
|
|
+ cat >> confdefs.h <<\EOF
|
|
|
#define U_INT32_T_IS_USHORT 1
|
|
|
+EOF
|
|
|
+
|
|
|
+ fi
|
|
|
+ fi
|
|
|
+ fi
|
|
|
+ fi
|
|
|
+fi
|
|
|
+
|
|
|
+echo $ac_n "checking for int32_t""... $ac_c" 1>&6
|
|
|
+echo "configure:1751: 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 1756 "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
|
|
|
+
|
|
|
+if test "$ac_cv_type_int32_t" = no ; then
|
|
|
+ if test "$ac_cv_sizeof_int" = 4 ; then
|
|
|
+ cat >> confdefs.h <<\EOF
|
|
|
+#define INT32_T_IS_UINT 1
|
|
|
+EOF
|
|
|
+
|
|
|
+ else
|
|
|
+ if test "$ac_cv_sizeof_long" = 4 ; then
|
|
|
+ cat >> confdefs.h <<\EOF
|
|
|
+#define INT32_T_IS_ULONG 1
|
|
|
+EOF
|
|
|
+
|
|
|
+ else
|
|
|
+ if test "$ac_cv_sizeof_short" = 4 ; then
|
|
|
+ cat >> confdefs.h <<\EOF
|
|
|
+#define INT32_T_IS_USHORT 1
|
|
|
EOF
|
|
|
|
|
|
fi
|
|
|
@@ -1707,7 +1804,7 @@ fi
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
|
|
|
-echo "configure:1711: checking for main in -lnsl" >&5
|
|
|
+echo "configure:1808: 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
|
|
|
@@ -1715,14 +1812,14 @@ else
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
LIBS="-lnsl $LIBS"
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 1719 "configure"
|
|
|
+#line 1816 "configure"
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
int main() {
|
|
|
main()
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:1726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:1823: \"$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
|
|
|
@@ -1743,7 +1840,7 @@ else
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
|
|
|
-echo "configure:1747: checking for socket in -lsocket" >&5
|
|
|
+echo "configure:1844: 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
|
|
|
@@ -1751,7 +1848,7 @@ else
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
LIBS="-lsocket $LIBS"
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 1755 "configure"
|
|
|
+#line 1852 "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
|
|
|
@@ -1762,7 +1859,7 @@ int main() {
|
|
|
socket()
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:1766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:1863: \"$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
|
|
|
@@ -1786,12 +1883,12 @@ fi
|
|
|
for ac_func in strdup strstr strtoul initgroups
|
|
|
do
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
-echo "configure:1790: checking for $ac_func" >&5
|
|
|
+echo "configure:1887: 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 1795 "configure"
|
|
|
+#line 1892 "configure"
|
|
|
#include "confdefs.h"
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
@@ -1814,7 +1911,7 @@ $ac_func();
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:1818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:1915: \"$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
|
|
|
@@ -1840,9 +1937,9 @@ done
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for type of socket size""... $ac_c" 1>&6
|
|
|
-echo "configure:1844: checking for type of socket size" >&5
|
|
|
+echo "configure:1941: checking for type of socket size" >&5
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 1846 "configure"
|
|
|
+#line 1943 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <stdlib.h>
|
|
|
#include <sys/types.h>
|
|
|
@@ -1852,7 +1949,7 @@ int main() {
|
|
|
int a = send(1, (const void *)0, (size_t *) 0, (int *) 0);
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:1856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:1953: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
cat >> confdefs.h <<\EOF
|
|
|
#define SOCKET_SIZE_TYPE size_t
|
|
|
@@ -1913,7 +2010,7 @@ fi
|
|
|
|
|
|
if test x$check_for_ssl = xyes; then
|
|
|
echo $ac_n "checking for SSL""... $ac_c" 1>&6
|
|
|
-echo "configure:1917: checking for SSL" >&5
|
|
|
+echo "configure:2014: 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"
|
|
|
@@ -1956,7 +2053,7 @@ EOF
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking for Kerberos include files""... $ac_c" 1>&6
|
|
|
-echo "configure:1960: checking for Kerberos include files" >&5
|
|
|
+echo "configure:2057: checking for Kerberos include files" >&5
|
|
|
found_kerberos=no
|
|
|
for dir in $kerberos_inc_dir /usr/kerberos/include; do
|
|
|
kerbdir="$dir"
|
|
|
@@ -2026,7 +2123,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:2030: checking for $ac_word" >&5
|
|
|
+echo "configure:2127: 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
|