mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 00:28:48 -05:00
Andreas Ntaflos reported a bug in libcurl.m4: When configuring my GNU
autotools project, which optionally (default=yes) uses libcurl on a system without a (usable) libcurl installation, but not specifying `--without-libcurl', configure determines correctly that no libcurl is available, however, the LIBCURL variable gets expanded to `LIBCURL = -lcurl' in the resulting Makefiles. David Shaw fixed the flaw.
This commit is contained in:
parent
3680a2f6f5
commit
77475f2ad0
9
CHANGES
9
CHANGES
@ -7,6 +7,15 @@
|
|||||||
Changelog
|
Changelog
|
||||||
|
|
||||||
Daniel (9 May 2006)
|
Daniel (9 May 2006)
|
||||||
|
- Andreas Ntaflos reported a bug in libcurl.m4: When configuring my GNU
|
||||||
|
autotools project, which optionally (default=yes) uses libcurl on a system
|
||||||
|
without a (usable) libcurl installation, but not specifying
|
||||||
|
`--without-libcurl', configure determines correctly that no libcurl is
|
||||||
|
available, however, the LIBCURL variable gets expanded to `LIBCURL = -lcurl'
|
||||||
|
in the resulting Makefiles.
|
||||||
|
|
||||||
|
David Shaw fixed the flaw.
|
||||||
|
|
||||||
- Robson Braga Araujo fixed two problems in the recently added non-blocking SSL
|
- Robson Braga Araujo fixed two problems in the recently added non-blocking SSL
|
||||||
connects. The state machine was not reset properly so that subsequent
|
connects. The state machine was not reset properly so that subsequent
|
||||||
connects using the same handle would fail, and there were two memory leaks.
|
connects using the same handle would fail, and there were two memory leaks.
|
||||||
|
@ -20,6 +20,7 @@ This release includes the following changes:
|
|||||||
|
|
||||||
This release includes the following bugfixes:
|
This release includes the following bugfixes:
|
||||||
|
|
||||||
|
o libcurl.m4 when default=yes but no libcurl was found
|
||||||
o numerous bugs fixed in the TFTP code
|
o numerous bugs fixed in the TFTP code
|
||||||
o possible memory leak when adding easy handles to multi stack
|
o possible memory leak when adding easy handles to multi stack
|
||||||
o TFTP works in a more portable fashion (== on more platforms)
|
o TFTP works in a more portable fashion (== on more platforms)
|
||||||
@ -51,6 +52,7 @@ advice from friends like these:
|
|||||||
|
|
||||||
Dan Fandrich, Ilja van Sprundel, David McCreedy, Tor Arntsen, Xavier Bouchoux,
|
Dan Fandrich, Ilja van Sprundel, David McCreedy, Tor Arntsen, Xavier Bouchoux,
|
||||||
David Byron, Michele Bini, Ates Goral, Katie Wang, Robson Braga Araujo,
|
David Byron, Michele Bini, Ates Goral, Katie Wang, Robson Braga Araujo,
|
||||||
Ale Vesely, Paul Querna, Gisle Vanem, Mark Eichin, Roland Blom
|
Ale Vesely, Paul Querna, Gisle Vanem, Mark Eichin, Roland Blom, Andreas
|
||||||
|
Ntaflos, David Shaw
|
||||||
|
|
||||||
Thanks! (and sorry if I forgot to mention someone)
|
Thanks! (and sorry if I forgot to mention someone)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# LIBCURL_CHECK_CONFIG ([DEFAULT-ACTION], [MINIMUM-VERSION],
|
# LIBCURL_CHECK_CONFIG ([DEFAULT-ACTION], [MINIMUM-VERSION],
|
||||||
# [ACTION-IF-YES], [ACTION-IF-NO])
|
# [ACTION-IF-YES], [ACTION-IF-NO])
|
||||||
# ----------------------------------------------------------
|
# ----------------------------------------------------------
|
||||||
# David Shaw <dshaw@jabberwocky.com> Jan-17-2006
|
# David Shaw <dshaw@jabberwocky.com> May-09-2006
|
||||||
#
|
#
|
||||||
# Checks for libcurl. DEFAULT-ACTION is the string yes or no to
|
# Checks for libcurl. DEFAULT-ACTION is the string yes or no to
|
||||||
# specify whether to default to --with-libcurl or --without-libcurl.
|
# specify whether to default to --with-libcurl or --without-libcurl.
|
||||||
@ -210,6 +210,9 @@ x=CURLOPT_VERBOSE;
|
|||||||
AC_DEFINE_UNQUOTED(AS_TR_CPP(libcurl_protocol_$_libcurl_protocol),[1])
|
AC_DEFINE_UNQUOTED(AS_TR_CPP(libcurl_protocol_$_libcurl_protocol),[1])
|
||||||
eval AS_TR_SH(libcurl_protocol_$_libcurl_protocol)=yes
|
eval AS_TR_SH(libcurl_protocol_$_libcurl_protocol)=yes
|
||||||
done
|
done
|
||||||
|
else
|
||||||
|
unset LIBCURL
|
||||||
|
unset LIBCURL_CPPFLAGS
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user