
renaud at nessus
May 29, 2006, 10:16 AM
Post #1 of 1
(681 views)
Permalink
|
|
NessusClient configure,1.3.2.2,1.3.2.3
|
|
Update of /usr/local/cvs/NessusClient In directory raccoon.nessus.org:/tmp/cvs-serv74921 Modified Files: Tag: release-1-0 configure Log Message: correct 'configure' script Index: configure =================================================================== RCS file: /usr/local/cvs/NessusClient/configure,v retrieving revision 1.3.2.2 retrieving revision 1.3.2.3 diff -u -d -r1.3.2.2 -r1.3.2.3 --- configure 29 May 2006 17:03:01 -0000 1.3.2.2 +++ configure 29 May 2006 17:16:08 -0000 1.3.2.3 @@ -532,7 +532,7 @@ fi -# From configure.in Revision: 1.4.2.2 +# From configure.in Revision: 1.4.2.3 save_IFS="${IFS}" IFS=. read NESSUS_MAJOR NESSUS_MINOR NESSUS_PATCH NESSUS_RC <VERSION @@ -4011,11 +4011,44 @@ nsl_lib="-lnsl";LIBS="-lnsl $LIBS"; fi + echo $ac_n "checking for -lresolv""... $ac_c" 1>&6 +echo "configure:4016: checking for -lresolv" >&5 +if eval "test \"`echo '$''{'ac_cv_lib_resolv'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS="-lresolv $LIBS" +cat > conftest.$ac_ext <<EOF +#line 4023 "configure" +#include "confdefs.h" + +int main() { +main() +; return 0; } +EOF +if { (eval echo configure:4030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + ac_cv_lib_resolv=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_lib_resolv=no +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +echo "$ac_t""$ac_cv_lib_resolv" 1>&6 +if test "$ac_cv_lib_resolv" = yes; then + resolv_lib="-lresolv";LIBS="-lresolv $LIBS"; +fi + fi echo $ac_n "checking for inet_aton in -lc""... $ac_c" 1>&6 -echo "configure:4019: checking for inet_aton in -lc" >&5 +echo "configure:4052: checking for inet_aton in -lc" >&5 ac_lib_var=`echo c'_'inet_aton | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4023,7 +4056,7 @@ ac_save_LIBS="$LIBS" LIBS="-lc $LIBS" cat > conftest.$ac_ext <<EOF -#line 4027 "configure" +#line 4060 "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 @@ -4034,7 +4067,7 @@ inet_aton() ; return 0; } EOF -if { (eval echo configure:4038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4071: \"$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 @@ -4058,7 +4091,7 @@ fi echo $ac_n "checking for inet_aton in -lresolv""... $ac_c" 1>&6 -echo "configure:4062: checking for inet_aton in -lresolv" >&5 +echo "configure:4095: checking for inet_aton in -lresolv" >&5 ac_lib_var=`echo resolv'_'inet_aton | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4066,7 +4099,7 @@ ac_save_LIBS="$LIBS" LIBS="-lresolv $LIBS" cat > conftest.$ac_ext <<EOF -#line 4070 "configure" +#line 4103 "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 @@ -4077,7 +4110,7 @@ inet_aton() ; return 0; } EOF -if { (eval echo configure:4081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4114: \"$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 @@ -4101,7 +4134,7 @@ fi echo $ac_n "checking for compress in -lz""... $ac_c" 1>&6 -echo "configure:4105: checking for compress in -lz" >&5 +echo "configure:4138: checking for compress in -lz" >&5 ac_lib_var=`echo z'_'compress | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4109,7 +4142,7 @@ ac_save_LIBS="$LIBS" LIBS="-lz $LIBS" cat > conftest.$ac_ext <<EOF -#line 4113 "configure" +#line 4146 "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 @@ -4120,7 +4153,7 @@ compress() ; return 0; } EOF -if { (eval echo configure:4124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4157: \"$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 @@ -4150,7 +4183,7 @@ echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 -echo "configure:4154: checking for dlopen in -ldl" >&5 +echo "configure:4187: 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 echo $ac_n "(cached) $ac_c" 1>&6 @@ -4158,7 +4191,7 @@ ac_save_LIBS="$LIBS" LIBS="-ldl $LIBS" cat > conftest.$ac_ext <<EOF -#line 4162 "configure" +#line 4195 "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 @@ -4169,7 +4202,7 @@ dlopen() ; return 0; } EOF -if { (eval echo configure:4173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4206: \"$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 @@ -4195,12 +4228,12 @@ for ac_func in getopt_long snprintf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4199: checking for $ac_func" >&5 +echo "configure:4232: 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 4204 "configure" +#line 4237 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -4223,7 +4256,7 @@ ; return 0; } EOF -if { (eval echo configure:4227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4260: \"$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 @@ -4257,12 +4290,12 @@ echo $ac_n "checking if sockaddr{} has sa_len member""... $ac_c" 1>&6 -echo "configure:4261: checking if sockaddr{} has sa_len member" >&5 +echo "configure:4294: checking if sockaddr{} has sa_len member" >&5 if eval "test \"`echo '$''{'ac_cv_sockaddr_has_sa_len'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4266 "configure" +#line 4299 "configure" #include "confdefs.h" # include <sys/types.h> @@ -4271,7 +4304,7 @@ unsigned int i = sizeof(((struct sockaddr *)0)->sa_len) ; return 0; } EOF -if { (eval echo configure:4275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4308: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_sockaddr_has_sa_len=yes else @@ -4445,9 +4478,9 @@ echo $ac_n "checking whether struct sigaction has sa_restorer""... $ac_c" 1>&6 -echo "configure:4449: checking whether struct sigaction has sa_restorer" >&5 +echo "configure:4482: checking whether struct sigaction has sa_restorer" >&5 cat > conftest.$ac_ext <<EOF -#line 4451 "configure" +#line 4484 "configure" #include "confdefs.h" #include <signal.h> @@ -4460,7 +4493,7 @@ ; return 0; } EOF -if { (eval echo configure:4464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* signal_sa_restorer=yes else @@ -4498,7 +4531,7 @@ # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4502: checking for $ac_word" >&5 +echo "configure:4535: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4542,19 +4575,19 @@ PKG_CONFIG_MIN_VERSION=0.9.0 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then echo $ac_n "checking for $pkg_modules""... $ac_c" 1>&6 -echo "configure:4546: checking for $pkg_modules" >&5 +echo "configure:4579: checking for $pkg_modules" >&5 if $PKG_CONFIG --exists "$pkg_modules" ; then echo "$ac_t""yes" 1>&6 succeeded=yes echo $ac_n "checking GTKCONFIG_CFLAGS""... $ac_c" 1>&6 -echo "configure:4553: checking GTKCONFIG_CFLAGS" >&5 +echo "configure:4586: checking GTKCONFIG_CFLAGS" >&5 GTKCONFIG_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules"` echo "$ac_t""$GTKCONFIG_CFLAGS" 1>&6 echo $ac_n "checking GTKCONFIG_LIBS""... $ac_c" 1>&6 -echo "configure:4558: checking GTKCONFIG_LIBS" >&5 +echo "configure:4591: checking GTKCONFIG_LIBS" >&5 GTKCONFIG_LIBS=`$PKG_CONFIG --libs "$pkg_modules"` echo "$ac_t""$GTKCONFIG_LIBS" 1>&6 else @@ -4613,7 +4646,7 @@ # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4617: checking for $ac_word" >&5 +echo "configure:4650: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_AR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4868,9 +4901,9 @@ s%@INSTALL_DIR@%$INSTALL_DIR%g s%@INSTALL@%$INSTALL%g s%@RUN_LIBS@%$RUN_LIBS%g -s%@resolv_lib@%$resolv_lib%g s%@socket_lib@%$socket_lib%g s%@nsl_lib@%$nsl_lib%g +s%@resolv_lib@%$resolv_lib%g s%@ssl_lib@%$ssl_lib%g s%@gtk_flags@%$gtk_flags%g s%@debug_flags@%$debug_flags%g _______________________________________________ Nessus-cvs mailing list Nessus-cvs [at] list http://mail.nessus.org/mailman/listinfo/nessus-cvs
|