Hi Micah,

Sorry for the rather late reply too, but this is the output of wget,
which seems to be correct with the patch.

GNU Wget 1.12 built on mint.

+digest -ipv6 -nls -ntlm +opie +md5/openssl +https -gnutls +openssl
-iri

Wgetrc:
    /etc/wgetrc (system)
Compile: m68k-atari-mint-gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC="/etc/wgetrc"
    -DLOCALEDIR="/usr/share/locale" -I. -I../lib -O2 -pipe
Link: m68k-atari-mint-gcc -O2 -pipe /usr/lib/libssl.a /usr/lib/libcrypto.a
    /usr/lib/libz.a ftp-opie.o openssl.o gen-md5.o ../lib/libgnu.a

Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://www.gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Originally written by Hrvoje Niksic <[email protected]>.
Currently maintained by Micah Cowan <[email protected]>.
Please send bug reports and questions to <[email protected]>.

Alan.

On 01/10/10 00:35, Micah Cowan wrote:
> 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>
>>
>>
>>
>>
>


Reply via email to