curl-library
Re: Configuring in msys/mingw
Date: Wed, 11 Feb 2004 00:39:54 +0100
Hi,
> Uh, if you have HAVE_SIGNAL set, it means that configure detected that you
> actually have a signal() function. Then we should be able to use it!
>
> If you don't have a signal() function, then we should make sure that the
> configure script doesn't find it!
There is signal function but the only defined signals are:
SIGINT, SIGILL, SIGFPE, SIGSEGV, SIGTERM, SIGBREAK and SIGABRT.
So we may have to change:
#ifdef HAVE_SIGACTION
to
#if defined(HAVE_SIGACTION) && defined(SIGALRM)
The configure script also needs some help with openssl for Windows, I
have attached a patch for that.
With it, and some extra handholding, I managed to make it compile, it even
works:
$ ./curl -V
curl 7.11.1-20040210 (i686-pc-mingw32) libcurl/7.11.1-20040210
OpenSSL/0.9.7b zlib/1.2.1
Protocols: ftp gopher telnet dict ldap http file https ftps
Features: SSL libz NTLM
Haven't tested it much but things like curl -k https://www.paypal.com work
Unfortunately, that 'curl' is the wrapper script made by libtool and it
doesn't seem to able to change it into the real 'curl.exe'
Andres
- text/plain attachment: patch.txt