]> sjero.net Git - wget/blobdiff - configure.ac
configure: check for libz when GNU TLS is used.
[wget] / configure.ac
index 9007a0eecc533a203668773ff3bc047306104500..76c6fa28a61a483871101e4ab64f78bb9ae6f95a 100644 (file)
@@ -271,7 +271,7 @@ AS_IF([test x"$with_ssl" = xopenssl], [
 AS_IF([test x$ssl_found != xyes],
 [
   dnl Now actually check for -lssl if it wasn't already found
-    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>