Update of /cvsroot/nagios/nagios
In directory sc8-pr-cvs1:/tmp/cvs-serv27537
Modified Files:
configure configure.in
Log Message:
Configure script patch for Solaris, misc bug fixes
Index: configure
===================================================================
RCS file: /cvsroot/nagios/nagios/configure,v
retrieving revision 1.55
retrieving revision 1.56
diff -C2 -r1.55 -r1.56
*** configure 23 Nov 2003 01:36:03 -0000 1.55
--- configure 3 Dec 2003 02:55:39 -0000 1.56
***************
*** 2095,2098 ****
--- 2095,2162 ----
+ echo $ac_n "checking for library containing nanosleep""... $ac_c" 1>&6
+ echo "configure:2099: checking for library containing nanosleep" >&5
+ if eval "test \"`echo '$''{'ac_cv_search_nanosleep'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_func_search_save_LIBS="$LIBS"
+ ac_cv_search_nanosleep="no"
+ cat > conftest.$ac_ext <<EOF
+ #line 2106 "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
+ builtin and then its argument prototype would still apply. */
+ char nanosleep();
+
+ int main() {
+ nanosleep()
+ ; return 0; }
+ EOF
+ if { (eval echo configure:2117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+ ac_cv_search_nanosleep="none required"
+ else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest*
+ test "$ac_cv_search_nanosleep" = "no" && for i in rt posix4; do
+ LIBS="-l$i $ac_func_search_save_LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 2128 "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
+ builtin and then its argument prototype would still apply. */
+ char nanosleep();
+
+ int main() {
+ nanosleep()
+ ; return 0; }
+ EOF
+ if { (eval echo configure:2139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+ ac_cv_search_nanosleep="-l$i"
+ break
+ else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest*
+ done
+ LIBS="$ac_func_search_save_LIBS"
+ fi
+
+ echo "$ac_t""$ac_cv_search_nanosleep" 1>&6
+ if test "$ac_cv_search_nanosleep" != "no"; then
+ test "$ac_cv_search_nanosleep" = "none required" ||
LIBS="$ac_cv_search_nanosleep $LIBS"
+
+ else :
+
+ echo "Error: nanosleep() needed for timing operations."
+ exit 1
+
+ fi
***************
*** 2160,2164 ****
set dummy mail; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2163: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_MAIL_PROG'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
--- 2224,2228 ----
set dummy mail; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2227: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_MAIL_PROG'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 2397,2401 ****
echo $ac_n "checking for main in -liconv""... $ac_c" 1>&6
! echo "configure:2400: checking for main in -liconv" >&5
ac_lib_var=`echo iconv'_'main | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
--- 2461,2465 ----
echo $ac_n "checking for main in -liconv""... $ac_c" 1>&6
! echo "configure:2464: checking for main in -liconv" >&5
ac_lib_var=`echo iconv'_'main | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
***************
*** 2405,2409 ****
LIBS="-liconv $LIBS"
cat > conftest.$ac_ext <<EOF
! #line 2408 "configure"
#include "confdefs.h"
--- 2469,2473 ----
LIBS="-liconv $LIBS"
cat > conftest.$ac_ext <<EOF
! #line 2472 "configure"
#include "confdefs.h"
***************
*** 2412,2416 ****
; return 0; }
EOF
! if { (eval echo configure:2415: \"$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"
--- 2476,2480 ----
; return 0; }
EOF
! if { (eval echo configure:2479: \"$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"
***************
*** 2435,2439 ****
echo $ac_n "checking for gdImagePng in -lgd (order 1)""...
$ac_c" 1>&6
! echo "configure:2438: checking for gdImagePng in -lgd (order 1)" >&5
ac_lib_var=`echo gd'_'gdImagePng'_'1 |
sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
--- 2499,2503 ----
echo $ac_n "checking for gdImagePng in -lgd (order 1)""...
$ac_c" 1>&6
! echo "configure:2502: checking for gdImagePng in -lgd (order 1)" >&5
ac_lib_var=`echo gd'_'gdImagePng'_'1 |
sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
***************
*** 2443,2447 ****
LIBS="-lgd -lz -lttf -lm -lpng -ljpeg $LIBS"
cat > conftest.$ac_ext <<EOF
! #line 2446 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
--- 2507,2511 ----
LIBS="-lgd -lz -lttf -lm -lpng -ljpeg $LIBS"
cat > conftest.$ac_ext <<EOF
! #line 2510 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
***************
*** 2454,2458 ****
; return 0; }
EOF
! if { (eval echo configure:2457: \"$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"
--- 2518,2522 ----
; return 0; }
EOF
! if { (eval echo configure:2521: \"$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"
***************
*** 2481,2485 ****
if test x$GDLIBFOUND = x; then
echo $ac_n "checking for gdImagePng in -lgd (order 2)""...
$ac_c" 1>&6
! echo "configure:2484: checking for gdImagePng in -lgd (order 2)" >&5
ac_lib_var=`echo gd'_'gdImagePng'_'2 |
sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
--- 2545,2549 ----
if test x$GDLIBFOUND = x; then
echo $ac_n "checking for gdImagePng in -lgd (order 2)""...
$ac_c" 1>&6
! echo "configure:2548: checking for gdImagePng in -lgd (order 2)" >&5
ac_lib_var=`echo gd'_'gdImagePng'_'2 |
sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
***************
*** 2489,2493 ****
LIBS="-lgd $ICONV -lz -lm -lpng -ljpeg $LIBS"
cat > conftest.$ac_ext <<EOF
! #line 2492 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
--- 2553,2557 ----
LIBS="-lgd $ICONV -lz -lm -lpng -ljpeg $LIBS"
cat > conftest.$ac_ext <<EOF
! #line 2556 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
***************
*** 2500,2504 ****
; return 0; }
EOF
! if { (eval echo configure:2503: \"$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"
--- 2564,2568 ----
; return 0; }
EOF
! if { (eval echo configure:2567: \"$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"
***************
*** 2528,2532 ****
if test x$GDLIBFOUND = x; then
echo $ac_n "checking for gdImagePng in -lgd (order 3)""...
$ac_c" 1>&6
! echo "configure:2531: checking for gdImagePng in -lgd (order 3)" >&5
ac_lib_var=`echo gd'_'gdImagePng'_'3 |
sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
--- 2592,2596 ----
if test x$GDLIBFOUND = x; then
echo $ac_n "checking for gdImagePng in -lgd (order 3)""...
$ac_c" 1>&6
! echo "configure:2595: checking for gdImagePng in -lgd (order 3)" >&5
ac_lib_var=`echo gd'_'gdImagePng'_'3 |
sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
***************
*** 2536,2540 ****
LIBS="-lgd $ICONV -lz -lm -lpng $LIBS"
cat > conftest.$ac_ext <<EOF
! #line 2539 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
--- 2600,2604 ----
LIBS="-lgd $ICONV -lz -lm -lpng $LIBS"
cat > conftest.$ac_ext <<EOF
! #line 2603 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
***************
*** 2547,2551 ****
; return 0; }
EOF
! if { (eval echo configure:2550: \"$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"
--- 2611,2615 ----
; return 0; }
EOF
! if { (eval echo configure:2614: \"$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"
***************
*** 2575,2579 ****
if test x$GDLIBFOUND = x; then
echo $ac_n "checking for gdImagePng in -lgd (order 4)""...
$ac_c" 1>&6
! echo "configure:2578: checking for gdImagePng in -lgd (order 4)" >&5
ac_lib_var=`echo gd'_'gdImagePng'_'4 |
sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
--- 2639,2643 ----
if test x$GDLIBFOUND = x; then
echo $ac_n "checking for gdImagePng in -lgd (order 4)""...
$ac_c" 1>&6
! echo "configure:2642: checking for gdImagePng in -lgd (order 4)" >&5
ac_lib_var=`echo gd'_'gdImagePng'_'4 |
sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
***************
*** 2583,2587 ****
LIBS="-lgd $ICONV -lpng -lz -lm $LIBS"
cat > conftest.$ac_ext <<EOF
! #line 2586 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
--- 2647,2651 ----
LIBS="-lgd $ICONV -lpng -lz -lm $LIBS"
cat > conftest.$ac_ext <<EOF
! #line 2650 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
***************
*** 2594,2598 ****
; return 0; }
EOF
! if { (eval echo configure:2597: \"$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"
--- 2658,2662 ----
; return 0; }
EOF
! if { (eval echo configure:2661: \"$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"
***************
*** 2802,2816 ****
ac_safe=`echo "ltdl.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for ltdl.h""... $ac_c" 1>&6
! echo "configure:2805: checking for ltdl.h" >&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 2810 "configure"
#include "confdefs.h"
#include <ltdl.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:2815: \"$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
--- 2866,2880 ----
ac_safe=`echo "ltdl.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for ltdl.h""... $ac_c" 1>&6
! echo "configure:2869: checking for ltdl.h" >&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 2874 "configure"
#include "confdefs.h"
#include <ltdl.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:2879: \"$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
***************
*** 2830,2834 ****
echo $ac_n "checking for lt_dlinit in -lltdl""... $ac_c" 1>&6
! echo "configure:2833: checking for lt_dlinit in -lltdl" >&5
ac_lib_var=`echo ltdl'_'lt_dlinit | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
--- 2894,2898 ----
echo $ac_n "checking for lt_dlinit in -lltdl""... $ac_c" 1>&6
! echo "configure:2897: checking for lt_dlinit in -lltdl" >&5
ac_lib_var=`echo ltdl'_'lt_dlinit | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
***************
*** 2838,2842 ****
LIBS="-lltdl $LIBS"
cat > conftest.$ac_ext <<EOF
! #line 2841 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
--- 2902,2906 ----
LIBS="-lltdl $LIBS"
cat > conftest.$ac_ext <<EOF
! #line 2905 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
***************
*** 2849,2853 ****
; return 0; }
EOF
! if { (eval echo configure:2852: \"$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"
--- 2913,2917 ----
; return 0; }
EOF
! if { (eval echo configure:2916: \"$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"
***************
*** 2884,2898 ****
ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
! echo "configure:2887: checking for dlfcn.h" >&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 2892 "configure"
#include "confdefs.h"
#include <dlfcn.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:2897: \"$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
--- 2948,2962 ----
ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
! echo "configure:2951: checking for dlfcn.h" >&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 2956 "configure"
#include "confdefs.h"
#include <dlfcn.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:2961: \"$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
***************
*** 2912,2916 ****
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
! echo "configure:2915: checking for dlopen in -ldl" >&5
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
--- 2976,2980 ----
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
! echo "configure:2979: checking for dlopen in -ldl" >&5
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
***************
*** 2920,2924 ****
LIBS="-ldl $LIBS"
cat > conftest.$ac_ext <<EOF
! #line 2923 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
--- 2984,2988 ----
LIBS="-ldl $LIBS"
cat > conftest.$ac_ext <<EOF
! #line 2987 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
***************
*** 2931,2935 ****
; return 0; }
EOF
! if { (eval echo configure:2934: \"$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"
--- 2995,2999 ----
; return 0; }
EOF
! if { (eval echo configure:2998: \"$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"
***************
*** 2976,2980 ****
# Otherwise we assume that if the linker accepts the flag, it is needed.
echo $ac_n "checking for extra flags needed to export symbols""...
$ac_c" 1>&6
! echo "configure:2979: checking for extra flags needed to export symbols" >&5
case $host_os in
aix4*)
--- 3040,3044 ----
# Otherwise we assume that if the linker accepts the flag, it is needed.
echo $ac_n "checking for extra flags needed to export symbols""...
$ac_c" 1>&6
! echo "configure:3043: checking for extra flags needed to export symbols" >&5
case $host_os in
aix4*)
***************
*** 2988,2992 ****
LDFLAGS=-Wl,-export-dynamic
cat > conftest.$ac_ext <<EOF
! #line 2991 "configure"
#include "confdefs.h"
--- 3052,3056 ----
LDFLAGS=-Wl,-export-dynamic
cat > conftest.$ac_ext <<EOF
! #line 3055 "configure"
#include "confdefs.h"
***************
*** 2995,2999 ****
; return 0; }
EOF
! if { (eval echo configure:2998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
rm -rf conftest*
BROKER_LDFLAGS="$BROKER_LDFLAGS -Wl,-export-dynamic"
--- 3059,3063 ----
; return 0; }
EOF
! if { (eval echo configure:3062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
rm -rf conftest*
BROKER_LDFLAGS="$BROKER_LDFLAGS -Wl,-export-dynamic"
***************
*** 3005,3009 ****
LDFLAGS=-Wl,-Bexport
cat > conftest.$ac_ext <<EOF
! #line 3008 "configure"
#include "confdefs.h"
--- 3069,3073 ----
LDFLAGS=-Wl,-Bexport
cat > conftest.$ac_ext <<EOF
! #line 3072 "configure"
#include "confdefs.h"
***************
*** 3012,3016 ****
; return 0; }
EOF
! if { (eval echo configure:3015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
rm -rf conftest*
BROKER_LDFLAGS="$BROKER_LDFLAGS -Wl,-Bexport"
--- 3076,3080 ----
; return 0; }
EOF
! if { (eval echo configure:3079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
rm -rf conftest*
BROKER_LDFLAGS="$BROKER_LDFLAGS -Wl,-Bexport"
***************
*** 3033,3037 ****
echo $ac_n "checking for linker flags for loadable modules""...
$ac_c" 1>&6
! echo "configure:3036: checking for linker flags for loadable modules" >&5
case $host_os in
solaris2*|sysv4*)
--- 3097,3101 ----
echo $ac_n "checking for linker flags for loadable modules""...
$ac_c" 1>&6
! echo "configure:3100: checking for linker flags for loadable modules" >&5
case $host_os in
solaris2*|sysv4*)
***************
*** 3154,3158 ****
set dummy traceroute; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:3157: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_PATH_TO_TRACEROUTE'+set}'`\" = set";
then
echo $ac_n "(cached) $ac_c" 1>&6
--- 3218,3222 ----
set dummy traceroute; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:3221: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_PATH_TO_TRACEROUTE'+set}'`\" = set";
then
echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 3199,3208 ****
echo $ac_n "checking for snprintf""... $ac_c" 1>&6
! echo "configure:3202: checking for snprintf" >&5
if eval "test \"`echo '$''{'ac_cv_func_snprintf'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 3207 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
--- 3263,3272 ----
echo $ac_n "checking for snprintf""... $ac_c" 1>&6
! echo "configure:3266: checking for snprintf" >&5
if eval "test \"`echo '$''{'ac_cv_func_snprintf'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 3271 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
***************
*** 3227,3231 ****
; return 0; }
EOF
! if { (eval echo configure:3230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_snprintf=yes"
--- 3291,3295 ----
; return 0; }
EOF
! if { (eval echo configure:3294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_snprintf=yes"
***************
*** 3253,3259 ****
echo $ac_n "checking for type va_list""... $ac_c" 1>&6
! echo "configure:3256: checking for type va_list" >&5
cat > conftest.$ac_ext <<EOF
! #line 3258 "configure"
#include "confdefs.h"
#ifdef __STDC__
--- 3317,3323 ----
echo $ac_n "checking for type va_list""... $ac_c" 1>&6
! echo "configure:3320: checking for type va_list" >&5
cat > conftest.$ac_ext <<EOF
! #line 3322 "configure"
#include "confdefs.h"
#ifdef __STDC__
***************
*** 3270,3274 ****
; return 0; }
EOF
! if { (eval echo configure:3273: \"$ac_compile\") 1>&5; (eval $ac_compile)
2>&5; }; then
rm -rf conftest*
echo "$ac_t""yes" 1>&6
--- 3334,3338 ----
; return 0; }
EOF
! if { (eval echo configure:3337: \"$ac_compile\") 1>&5; (eval $ac_compile)
2>&5; }; then
rm -rf conftest*
echo "$ac_t""yes" 1>&6
***************
*** 3295,3299 ****
set dummy perl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:3298: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
--- 3359,3363 ----
set dummy perl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:3362: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
Index: configure.in
===================================================================
RCS file: /cvsroot/nagios/nagios/configure.in,v
retrieving revision 1.55
retrieving revision 1.56
diff -C2 -r1.55 -r1.56
*** configure.in 23 Nov 2003 01:36:03 -0000 1.55
--- configure.in 3 Dec 2003 02:55:39 -0000 1.56
***************
*** 119,123 ****
AC_SUBST(THREADLIBS)
!
--- 119,127 ----
AC_SUBST(THREADLIBS)
! dnl Solaris needs rt or posix4 libraries for nanosleep()
! AC_SEARCH_LIBS(nanosleep,[rt posix4],,[
! echo "Error: nanosleep() needed for timing operations."
! exit 1
! ])
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
|