aboutsummaryrefslogtreecommitdiff
path: root/ares/configure.ac
AgeCommit message (Collapse)Author
2008-08-04Autoconf 2.62 has changed the behaviour of the AC_AIX macro which we use.Yang Tse
Prior versions of autoconf defined _ALL_SOURCE if _AIX was defined. But, autoconf 2.62 version of AC_AIX defines _ALL_SOURCE along with other four preprocessor symbols no matter if the system is AIX or not. To keep the traditional behaviour, as well as an uniform one, across autoconf versions AC_AIX is replaced with our own internal macro.
2008-08-03Adjust DEC/Compaq C compiler settings.Yang Tse
2008-08-01Another AC_TRY_LINK conversion to AC_LINK_IFELSE.Yang Tse
Proper definition of HAVE_function if function is found deeper.
2008-07-27These lines were unintentionally removed in previous commitYang Tse
2008-07-27Partially undo change that prevented SED, GREP, EGREP and AR from being ↵Yang Tse
changed by libtool or autoconf.
2008-07-27Remove explicit inclusion of our m4 files first. It was interesting as a test,Yang Tse
but it breaks aclocal execution on some systems, with the following error: Can't locate object method "rel2abs" via package "File::Spec" at /usr/local/bin/aclocal line 256.
2008-07-27Another step towards detecting if _REENTRANT is already defined or actuallyYang Tse
needed, and being able to define it if appropriate for further configure tests as well as for the generated config file.
2008-07-26Explicitly include our m4 files first. This might minimize the impactYang Tse
that other package's underquoted m4 function definitions have on ours.
2008-07-24Another step towards detecting if _REENTRANT is already defined or actuallyYang Tse
needed, and being able to define it if appropriate for further configure tests as well as for the generated config file. Introduced reentrant.m4 intended for our reentrant related autotools/m4 macros.
2008-07-22Make sure that configure process tests are done with the same _REENTRANTYang Tse
setting as the one actually used when finally building the library.
2008-07-20Adjust DEC/Compaq C compiler settingsYang Tse
2008-07-19Adjust DEC/Compaq C compiler settingsYang Tse
2008-07-16Configure process now checks availability of recvfrom() socket function andYang Tse
finds out its return type and the types of its arguments. Added definitions for non-configure systems config files, and introduced macro sreadfrom which will be used on udp sockets as a recvfrom() wrapper.
2008-07-16Initial DEC/Compaq C compiler detection and flagsYang Tse
2008-07-15Allow --enable-largefile and --disable-largefile configurations.Yang Tse
Configure process no longer needs nor checks size of curl_off_t. Library will now be built with _REENTRANT symbol defined.
2008-07-07fix c-ares version reported in generated libcares.pc file when buildingYang Tse
from CVS tree.
2008-07-04egrep and ar are also mandatoryYang Tse
2008-07-02The configure process will now halt when sed or grep are unavailableYang Tse
2008-07-01IBM C/C++ compiler predefined macro checkYang Tse
2008-07-01set earlier in configure process IBM compilers optimization flagsYang Tse
2008-06-20Modified configuration script to actually verify if the compiler is goodYang Tse
enough at detecting compilation errors or at least it has been properly configured to do so. Configuration heavily depends on this capability, so if this compiler sanity check fails the configuration process will now fail.
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.