In wget 1.12 we have a test for ssl which relies on libcrypto. On
staticly compiled systems libcrypto also depends on libz.

The patch below fixes the problem.

Thanks,

Alan.

PS. I tried initially sending this to [email protected] because
the link from http://www.gnu.org/software/wget sent me to this page
http://wget.addictivecode.org/HelpingWithWget and had the bug reporting
email address. I obviously got a bounce which told me to send it here.

--- configure.ac.old    2009-10-23 10:36:00.000000000 +0100
+++ configure.ac        2009-10-23 10:06:41.000000000 +0100
@@ -255,7 +255,7 @@
     ])
 
     dnl Now actually check for -lssl
-    AC_LIB_HAVE_LINKFLAGS([ssl], [crypto] [
+    AC_LIB_HAVE_LINKFLAGS([ssl], [crypto], [z] [
   #include <openssl/ssl.h>
   #include <openssl/x509.h>
   #include <openssl/err.h>





Reply via email to