diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | configure.in | 8 |
2 files changed, 9 insertions, 0 deletions
@@ -25,6 +25,7 @@ This file documents the major additions and syntax changes between releases. | |||
25 | Added support for --extra-opts in all C plugins (disabled by default, see configure --help) | 25 | Added support for --extra-opts in all C plugins (disabled by default, see configure --help) |
26 | Fixed passive option in check_by_ssh | 26 | Fixed passive option in check_by_ssh |
27 | On non-skipped stderr, check_by_ssh now returns UNKNOWN or worse (result from command) instead of always UNKNOWN. | 27 | On non-skipped stderr, check_by_ssh now returns UNKNOWN or worse (result from command) instead of always UNKNOWN. |
28 | Fix linking against OpenSSL where libdl is required | ||
28 | 29 | ||
29 | 1.4.11 13th December 2007 | 30 | 1.4.11 13th December 2007 |
30 | Fixed check_http regression in 1.4.10 where following redirects to | 31 | Fixed check_http regression in 1.4.10 where following redirects to |
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 |