Revision: 1998
http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=1998&view=rev
Author: dermoth
Date: 2008-05-22 01:25:41 -0700 (Thu, 22 May 2008)
Log Message:
-----------
Fix linking against OpenSSL where libdl is required
Modified Paths:
--------------
nagiosplug/trunk/NEWS
nagiosplug/trunk/configure.in
Modified: nagiosplug/trunk/NEWS
===================================================================
--- nagiosplug/trunk/NEWS 2008-05-21 08:57:13 UTC (rev 1997)
+++ nagiosplug/trunk/NEWS 2008-05-22 08:25:41 UTC (rev 1998)
@@ -25,6 +25,7 @@
Added support for --extra-opts in all C plugins (disabled by default, see configure --help)
Fixed passive option in check_by_ssh
On non-skipped stderr, check_by_ssh now returns UNKNOWN or worse (result from command) instead of always UNKNOWN.
+ Fix linking against OpenSSL where libdl is required
1.4.11 13th December 2007
Fixed check_http regression in 1.4.10 where following redirects to
Modified: nagiosplug/trunk/configure.in
===================================================================
--- nagiosplug/trunk/configure.in 2008-05-21 08:57:13 UTC (rev 1997)
+++ nagiosplug/trunk/configure.in 2008-05-22 08:25:41 UTC (rev 1998)
@@ -337,6 +337,14 @@
CPPFLAGS="$_SAVEDCPPFLAGS"
fi
+dnl *** The following block comes from wget configure.ac ***
+dnl Unfortunately, as of this writing (OpenSSL 0.9.6), the libcrypto
+dnl shared library doesn't record its dependency on libdl, so we
+dnl need to check for it ourselves so we won't fail to link due to a
+dnl lack of -ldl. Most OSes use dlopen(), but HP-UX uses
+dnl shl_load().
+AC_CHECK_LIB(dl,dlopen)
+AC_CHECK_LIB(dl,shl_load)
dnl openssl detection/configuration
if ! test x"$with_openssl" = x"no"; then
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.