aboutsummaryrefslogtreecommitdiff
path: root/acinclude.m4
AgeCommit message (Collapse)Author
2011-06-08configure: fix recvfrom 5th arg type qualifier detection (followup)Yang Tse
2011-06-08configure: fix recvfrom 5th arg type qualifier detectionYang Tse
2011-03-12CURL_CHECK_FUNC_RECVFROM: android/bionic fixManuel Massing
recvfrom in bionic (the android libc) deviates from POSIX and uses a const in the 5th argument ("const struct sockaddr *") so the check now tests for that as well.
2011-01-18Fixed configure define for Win32.Guenter Knauf
Submitted by Vincent Torri.
2010-11-25symbol-scan: use configure script knowledge about how to run the C preprocessorYang Tse
2010-09-11Link curl and the test apps with -lrt explicitly when necessaryDan Fandrich
When curl calls a function from that library then it needs to explicitly link to the library instead of piggybacking on libcurl's own dependency. Without this, GNU ld with the --no-add-needed flag fails when linking (which Fedora now does by default). Reported by: Quanah Gibson-Mount Bug: http://curl.haxx.se/mail/lib-2010-09/0085.html
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2010-02-14removed trailing whitespaceYang Tse
2010-01-14- Suppressed side effect of OpenSSL configure checks, which prevented NSS fromKamil Dudka
being properly detected under certain circumstances. It had been caused by strange behavior of pkg-config when handling PKG_CONFIG_LIBDIR. pkg-config distinguishes among empty and non-existent environment variable in that case.
2009-09-02extended CURL_CHECK_PKGCONFIG to check for a host-specific version of theDaniel Stenberg
pkg-config first before the "normal" one (if cross-compiling)
2009-09-01- configure now tries to use pkg-config for a number of sub-dependencies evenDaniel Stenberg
when cross-compiling. The key to success is then you properly setup PKG_CONFIG_PATH before invoking configure. I also improved how NSS is detected by trying nss-config if pkg-config isn't present, and as a last resort just use the lib name and force the user to setup the LIBS/LDFLAGS/CFLAGS etc properly. The previous last resort would add a range of various libs that would almost never be quite correct.
2009-06-21Refactor how libraries are checked for connect() function, follow-up.Yang Tse
2009-06-20Refactor how libraries are checked for connect() function,Yang Tse
and check for connect() as it is done for other functions.
2009-06-01John E. Malmberg noticed that the configure script was failing to detect theYang Tse
timeval struct on VMS when building with _XOPEN_SOURCE_EXTENDED undefined due to definition taking place in socket.h instead of time.h
2009-05-15Fix preprocessor conditional expressionYang Tse
2009-05-07Proper naming for the experimental compiler test and moved to *-compilers.m4Yang Tse
2009-05-07Moved *_CHECK_COMPILER_HALT_ON_ERROR and ↵Yang Tse
*_CHECK_COMPILER_ARRAY_SIZE_NEGATIVE to *-compilers.m4 along with other *_CHECK_COMPILER_*
2009-05-06Use autobuilds to verify if a couple of experimental compiler tests pass on ↵Yang Tse
all of them. This will be removed in 24 or 48 hours.
2009-05-03HP-UX's X/Open network library requirement check follow-upYang Tse
2009-05-03HP-UX's X/Open network library requirement check follow-upYang Tse
2009-05-02Use build-time configured curl_socklen_t instead of socklen_tYang Tse
2009-05-01Check definition of _XOPEN_SOURCE_EXTENDED with the compilerYang Tse
2009-04-28Rearrange placement inside file of CURL_DEFINE_UNQUOTED, CURL_CONFIGURE_LONGYang Tse
and CURL_CONFIGURE_CURL_SOCKLEN_T to ease future maintainance.
2009-04-28Moved CURL_INCLUDES_INTTYPES to curl-functions.m4 along with other ↵Yang Tse
CURL_INCLUDES_*
2009-04-28Remove temporary debug tracing for curl_socklen_t detection failuresYang Tse
2009-04-27Take 2 at handling getpeername() prototypes with a void pointer for third ↵Yang Tse
argument
2009-04-27Attempt to handle getpeername() prototypes with a void pointer for third ↵Yang Tse
argument
2009-04-27Add temporary debug tracing for curl_socklen_t detection failuresYang Tse
2009-04-27Rearrange curl_socklen_t tests to improve speed of usual resultsYang Tse
2009-04-26Initial step towards a configure time curl_socklen_t definitionYang Tse
2009-04-21Moved potential inclusion of system's malloc.h and memory.h header files toYang Tse
setup_once.h. Inclusion of each header file is based on the definition of NEED_MALLOC_H and NEED_MEMORY_H respectively.
2009-01-11- Based on bug report #2498665 (http://curl.haxx.se/bug/view.cgi?id=2498665)Daniel Stenberg
by Daniel Black, I've now added magic to the configure script that makes it use pkg-config to detect gnutls details as well if the existing method (using libgnutls-config) fails. While doing this, I cleaned up and unified the pkg-config usage when detecting openssl and nss as well.
2008-11-21Automatically detect OpenBSD's CA cert bundle.Dan Fandrich
2008-11-13Refactor configure script detection of functions used to set sockets intoYang Tse
non-blocking mode, and decouple function detection from function capability.
2008-10-28Initial attempt to detect at configuration time if the getaddrinfo()Yang Tse
function returns an addrinfo with an unfreeable ai_addr member ptr.
2008-10-23#include <stdlib.h> for exit() prototypeYang Tse
2008-10-02Initial attempt to support configure's --(dis|en)able-warningsYang Tse
option to specify dis(activation) of picky compiler warnings. If option is specified, it will be honored independant of the --(dis|en)able-debug option. If option is not specified, it will follow --(dis|en)able-debug setting, whose default is disabled if not specified.
2008-09-30now compiler warnings are activated for all gcc builds, not only debug ones.Yang Tse
2008-09-24ntoa() and inet_ntoa_r() no longer usedYang Tse
2008-09-18icc adjustmentsYang Tse
2008-09-17improve detection of gethostbyaddr_r() and gethostbyname_r()Yang Tse
2008-09-17improve detection of gethostname(), localtime_r() and strstr()Yang Tse
2008-09-12improve detection of fdopen() and strerror_r()Yang Tse
2008-09-09icc adjustmentsYang Tse
2008-09-03Search for the FreeBSD CA cert file /usr/local/share/certs/ca-root.crtDan Fandrich
2008-08-27Don't abort configuration if recvfrom() is not available.Yang Tse
2008-08-26Added check and symbol definition for WIN32 file API usage in configure,Yang Tse
supporting configure's --disable-largefile option for WIN32 targets also. Non-configure systems which do not use config-win32.h configuration file, and want to use the WIN32 file API, must define USE_WIN32_LARGE_FILES or USE_WIN32_SMALL_FILES as appropriate in their own configuration files.
2008-08-25For congruency sake with the naming of other CURL_XXXXXX_CURL_OFF_T macros,Yang Tse
the name of the curl_off_t data type used now becomes CURL_TYPEOF_CURL_OFF_T CURL_OFF_T -> CURL_TYPEOF_CURL_OFF_T
2008-08-25Rename some shell vars with more descriptive names:Yang Tse
x_typeof -> curl_typeof_curl_off_t x_sizeof -> curl_sizeof_curl_off_t x_format -> curl_format_curl_off_t u_format -> curl_format_curl_off_tu
2008-08-15For congruency sake with the naming of other CURL_XXXXXX_CURL_OFF_T macros,Yang Tse
the names of the curl_off_t formatting string directives now become CURL_FORMAT_CURL_OFF_T and CURL_FORMAT_CURL_OFF_TU. CURL_FMT_OFF_T -> CURL_FORMAT_CURL_OFF_T CURL_FMT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU Remove the use of an internal name for the curl_off_t formatting string directives and use the common one available from the inside and outside of the library. FORMAT_OFF_T -> CURL_FORMAT_CURL_OFF_T FORMAT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU