[Nagiosplug-checkins] SF.net SVN: nagiosplug: [1998] nagiosplug/trunk
dermoth at users.sourceforge.net
dermoth at users.sourceforge.net
Thu May 22 10:25:41 CEST 2008
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.
More information about the Commits
mailing list