[Nagiosplug-checkins] nagiosplug configure.in,1.120,1.121
Ton Voon
tonvoon at users.sourceforge.net
Tue Dec 7 16:23:01 CET 2004
Update of /cvsroot/nagiosplug/nagiosplug
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20404
Modified Files:
configure.in
Log Message:
Fixed output info for openssl and LD_LIBRARY_PATH for subsequent compiles
(otherwise get ld.so.1: ./conftest: fatal: libssl.so.0.9.7: open failed)
Index: configure.in
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/configure.in,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -d -r1.120 -r1.121
--- configure.in 7 Dec 2004 06:51:52 -0000 1.120
+++ configure.in 8 Dec 2004 00:22:01 -0000 1.121
@@ -264,6 +264,7 @@
if test X"$OPT_OPENSSL" = "Xno"; then
AC_MSG_WARN([openssl disabled, you will not be able to use ssl options in some plugins])
+ with_openssl=no
else
dnl backup the pre-ssl variables
CLEANLDFLAGS="$LDFLAGS"
@@ -383,14 +384,18 @@
fi
- if test X"$OPT_OPENSSL" != Xoff &&
+ if test X"$OPT_OPENSSL" != "Xno" &&
test "$OPENSSL_ENABLED" != "1"; then
- AC_MSG_ERROR([OpenSSL libs and/or directories were not found where specified!])
+ AC_MSG_WARN([OpenSSL libs and/or directories were not found where specified!])
+ with_openssl="no"
elif test "$OPENSSL_ENABLED" = "1"; then
check_tcp_ssl="check_simap check_spop check_jabber check_nntps"
AC_SUBST(check_tcp_ssl)
AC_DEFINE(HAVE_SSL,1,[Define if SSL libraries are found])
with_openssl="yes"
+
+ # Needed for subsequent compiled programs
+ export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$OPENSSL/lib"
fi
fi
More information about the Commits
mailing list