aboutsummaryrefslogtreecommitdiff
path: root/ares/configure.ac
AgeCommit message (Collapse)Author
2008-06-09fix pkg-config reporting of private libraries needed for static linkingYang Tse
2008-05-20update several macros using AC_TRY_LINK with AC_LINK_IFELSEYang Tse
2008-05-19if WINSOCK2 API is used link with 'ws2_32', elseYang Tse
if WINSOCK API is used under WinCE link with 'winsock', else if WINSOCK API is used link with 'wsock32'.
2008-05-18on winsock systems linking is done using library 'ws2_32' whenYang Tse
winsock2.h is available, and library 'winsock' is used when only winsock.h is available.
2008-05-17minor change for wince-cegcc and wince-mingw32ce supportYang Tse
2008-05-14skip checks for Windows specific header filesYang Tse
when build target is not a native Windows one
2008-05-12skip libtool C++ preprocessor compiler and linker checksYang Tse
2008-05-12configure script will now define HAVE_CLOCK_GETTIME_MONOTONIC symbol onlyYang Tse
when function clock_gettime() is available and the monotonic timer is also available. Otherwise, in some cases, librt or libposix4 could be used for linking even when finally not using the clock_gettime() function due to lack of the monotonic clock.
2008-05-10Add library checking for clock_gettime() supportYang Tse
2008-05-09Use monotonic time source if available.Yang Tse
2008-05-09Removed AC_PROG_CC_STDC again. It enforces C99/gnu99 stdandard which is tooDaniel Stenberg
liberal for me. Also, autoconf 2.61 and earlier doesn't work with icc 10.1 for this macro. (2.62 confirmed to work though). See discusson on the mailing list starting here: http://daniel.haxx.se/projects/c-ares/mail/c-ares-archive-2008-05/0001.shtml
2008-05-08check for strings.h in configure and use it for the strcasecmp() protoDaniel Stenberg
2008-05-07- Doug Goldstein provided a configure patch: updates autoconf 2.13 usage toDaniel Stenberg
autoconf 2.57 usage (which is the version you have specified as the minimum version). It's a minor change but it does clean up some warnings with newer autoconf (specifically 2.62).
2008-02-29Force AIX xlc to fail and not generate object code if the source code hasYang Tse
compiled with errors. This behaviour is needed for autoconf macros which rely on the ability to compile with or without errors, and is safer than xlc's default of failing only upon severe errors.
2007-12-10when buildingDaniel Stenberg
2007-12-03Brad Spencer fixed the configure script to assume that there's noDaniel Stenberg
/dev/urandom when built cross-compiled as then the script cannot check for it.
2007-11-27Remove the check for libdl since that isn't actually used and it causesDaniel Stenberg
warnings. Pointed out by Robin Cornelius.
2007-10-19Fix message shown when detecting icc versionYang Tse
2007-10-18Fix compiler warning: feupdateenv is not implemented and will always fail.Yang Tse
Specifically for linux x86-64 with Intel's icc.
2007-09-30check availability of <netinet/tcp.h>Yang Tse
2007-07-26added initial pkg-config file (attempt)Daniel Stenberg
2007-07-04add test for gettimeofday() so that HAVE_GETTIMEOFDAY gets defined.Gunter Knauf
2007-07-04added check for sys/param.h.Gunter Knauf
2007-05-30first take at detecting a random device and seeding the random key using dataDaniel Stenberg
from it in randomize_key()
2007-03-15show better description for AMD64-linux static libraries PIC checkYang Tse
2007-03-07fix test leftover in previous commitYang Tse
2007-03-07force libtool to build static libraries with PIC on AMD64Yang Tse
2007-03-07Autoconf redefines the M4 builtin macro 'm4_undefine' in such a way thatYang Tse
it fails if the macro that is being undefined is not already defined. To make this work under all cases and be sure that at a certain point some specific macro isn't defined we must use the following style in configure: m4_ifdef([macro], [m4_undefine([macro])])
2007-03-06Autoconf 2.57 didn't like these m4_undefine for some reason (probably a bug).Dan Fandrich
Luckily, they weren't needed.
2007-03-06skip libtool C++ and Fortran linker checksYang Tse
2007-03-06skip libtool C++ and Fortran checksYang Tse
2007-02-22include <sys/types.h> when checking availability of the bool typeYang Tse
2007-02-22Check for stdbool.h at configuration stage, and include it if available.Yang Tse
Check for lowercase 'bool' type at configuration stage. If not available provide a suitable replacement with a type definition of 'unsigned char' in setup_once.h Move definitions of TRUE and FALSE to setup_once.h
2007-02-14avoid using funtion isblank() and just use our ISBLANKYang Tse
macro to provide this functionality on all platforms
2007-02-13check for isblank() at configuration stage. If not availableYang Tse
provide a suitable replacement for use in our ISBLANK macro
2007-02-08use macro AC_AIX to define `_ALL_SOURCE', if on AIX.Yang Tse
2007-02-07use same AIX XLC compiler options as curl'sYang Tse
2006-11-25Make sure RETSIGTYPE is properly definedYang Tse
2006-11-22Added a check in configure that verifies if <signal.h> is available,Yang Tse
defining HAVE_SIGNAL_H if the header is available. Added a check in configure that tests if the sig_atomic_t type is available, defining HAVE_SIG_ATOMIC_T if it is available. Providing a suitable default in setup_once.h if not available. Added a check in configure that tests if the sig_atomic_t type is already defined as volatile, defining HAVE_SIG_ATOMIC_T_VOLATILE if it is available and already defined as volatile.
2006-10-13Check for struct timeval at configuration timeYang Tse
2006-08-06Check for network libraries the _same_ way it is done in cURL.Yang Tse
2006-08-05Check for network libraries the same way it is done in cURL.Yang Tse
2006-08-03MinGW/MSYS needs lib ws2_32 for proper operation of configure script.Yang Tse
2006-07-28First step trying to avoid the multiple header inclusion and recursion ↵Yang Tse
nightmare. Reintroduce checking for HAVE_MSG_NOSIGNAL in configure script, so that we don't depend on header inclusion order for a valid check.
2006-07-11Define NEED_MALLOC_H if including <stdlib.h> is not enough for proper ↵Yang Tse
compilation and <malloc.h> must also be included.
2006-07-04Find out return types and argument types for functions recv() and send() at ↵Yang Tse
configuration stage.
2006-05-24Copied the NO_UNDEFINED magic from libcurl to make this build fine again withDaniel Stenberg
libtool cross-compiled on linux with mingw32
2006-05-10Bram Matthys brought my attention to a libtool peculiarity where detectingDaniel Stenberg
things such as C++ compiler actually is a bad thing and since we don't need that detection I added a work-around, much inspired by a previous patch by Paolo Bonzini. This also shortens the configure script quite a lot.
2006-05-03moved the curl_off_t check to within the --enable-debug block where it ↵Daniel Stenberg
belongs since it is a somewhat ugly hack
2005-12-21Checking for function getnameinfo and its arguments is finallyYang Tse
done in one single function CURL_CHECK_FUNC_GETNAMEINFO which will only define HAVE_GETNAMEINFO if the function has been found AND the type of its arguments has been properly been detected