]> sjero.net Git - wget/commitdiff
[svn] Check for all SSL headers that Wget uses.
authorhniksic <devnull@localhost>
Fri, 8 Apr 2005 09:47:31 +0000 (02:47 -0700)
committerhniksic <devnull@localhost>
Fri, 8 Apr 2005 09:47:31 +0000 (02:47 -0700)
ChangeLog
configure.in

index 7a0e146d61125fe969b678a8d496f40fd8e38020..74183177300fa203ad7064c2319d6c342f8da9df 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-04-08  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * configure.in: When checking for OpenSSL headers, check for all
+       the ones that Wget is using.
+
 2005-04-08  Hrvoje Niksic  <hniksic@xemacs.org>
 
        * windows/Makefile.src: Compile ptimer.c and http-ntlm.c.
index d0ec4b4b639dae4c5178edd8200851ef248365a5..becfba3cf14bafffebdf85efa04f707ae415a6f7 100644 (file)
@@ -327,10 +327,20 @@ if test x"$with_ssl" != x"no"; then
     ssl_found_includes=no
     CPPFLAGS="$SSL_INCLUDES $wget_save_CPPFLAGS"
 
+    dnl Check for all the OpenSSL includes that Wget actually uses.
+    dnl This will prune both invalid installations and ancient
+    dnl versions of OpenSSL that we can't use.
     AC_MSG_CHECKING([for includes])
     AC_COMPILE_IFELSE([
 #include <openssl/ssl.h>
-#include <openssl/rsa.h>
+#include <openssl/bio.h>
+#include <openssl/crypto.h>
+#include <openssl/des.h>
+#include <openssl/err.h>
+#include <openssl/md4.h>
+#include <openssl/pem.h>
+#include <openssl/rand.h>
+#include <openssl/x509.h>
     ], [
       AC_MSG_RESULT(found)
       ssl_found_includes=yes