[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] wget 1.12 patch for libcrypto usage

From: Micah Cowan
Subject: Re: [Bug-wget] wget 1.12 patch for libcrypto usage
Date: Sat, 09 Jan 2010 16:35:43 -0800
User-agent: Thunderbird (X11/20090817)

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.


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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]