diff options
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-05-22 08:25:41 (GMT) |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-05-22 08:25:41 (GMT) |
commit | 30b87e4bb8226ba0e761f2b0a8b540b461b7d095 (patch) | |
tree | 3f44e4f997c579599b3637d0f40a4702f761ef07 /configure.in | |
parent | b52e63da65ac5db7affbd09e110904855f3b1ed7 (diff) | |
download | monitoring-plugins-30b87e4bb8226ba0e761f2b0a8b540b461b7d095.tar.gz |
Fix linking against OpenSSL where libdl is required
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1998 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 8ba09cb..856f3aa 100644 --- a/configure.in +++ b/configure.in | |||
@@ -337,6 +337,14 @@ if test "$FOUNDINCLUDE" = "no"; then | |||
337 | CPPFLAGS="$_SAVEDCPPFLAGS" | 337 | CPPFLAGS="$_SAVEDCPPFLAGS" |
338 | fi | 338 | fi |
339 | 339 | ||
340 | dnl *** The following block comes from wget configure.ac *** | ||
341 | dnl Unfortunately, as of this writing (OpenSSL 0.9.6), the libcrypto | ||
342 | dnl shared library doesn't record its dependency on libdl, so we | ||
343 | dnl need to check for it ourselves so we won't fail to link due to a | ||
344 | dnl lack of -ldl. Most OSes use dlopen(), but HP-UX uses | ||
345 | dnl shl_load(). | ||
346 | AC_CHECK_LIB(dl,dlopen) | ||
347 | AC_CHECK_LIB(dl,shl_load) | ||
340 | 348 | ||
341 | dnl openssl detection/configuration | 349 | dnl openssl detection/configuration |
342 | if ! test x"$with_openssl" = x"no"; then | 350 | if ! test x"$with_openssl" = x"no"; then |