Alan Hourihane wrote:
> 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.

Sorry for taking so long to respond, but the change you provide below
would clearly not solve the problem: the "z" you introduced would end up
as the first token of a test .c file generated by configure, which would
of course fail to compile. So probably it "worked" for you by completely
disabling SSL support completely (check the output of "wget --version"
to see).

I don't have a statically-compiled system to test on, so I won't attempt
to make an alternative fix myself. Just letting you know I can't apply
this one.

-mjc

> --- 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>
> 
> 
> 
> 


-- 
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer.
Maintainer of GNU Wget and GNU Teseq
http://micah.cowan.name/


Reply via email to