aboutsummaryrefslogtreecommitdiff
path: root/ares/configure.ac
AgeCommit message (Collapse)Author
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
2005-12-21Make sure we're using 'c-ares' sources and not 'ares' ones.Yang Tse
2005-12-20Fix, header checks must be done before using its results.Yang Tse
2005-12-20use AC_PROG_LIBTOOL after AC_DISABLE_SHAREDDaniel Stenberg
2005-12-19Adjust more windows header includesYang Tse
2005-12-18Fix Msys/Mingw not detecting getnameinfo() with AC_CHECK_FUNCSYang Tse
2005-12-16TYPE_SOCKLEN_T completely replaced by CURL_CHECK_TYPE_SOCKLEN_T.Yang Tse
CURL_FUNC_GETNAMEINFO_ARGTYPES now also checks first argument. All related changes taken to cares configuration scripts.
2005-11-16check for and use winsock2.h instead of winsock.h and I fixed a typo in theDaniel Stenberg
ifdefs where . was used instead of _!
2005-11-15include ws2tcpip.h in an attempt to detect some of the ipv6 structs betterDaniel Stenberg
in mingw builds
2005-11-14Detect big/little endian in the configure script and adjust the ares_dns.hDaniel Stenberg
macros accordingly.
2005-09-21simplified the sin6_scope_id test and removed some left-overs from the previousDaniel Stenberg
way of detecting it
2005-09-21fixed the check for the addrinfo structDaniel Stenberg
2005-09-18Added constants that will be used by ares_getaddrinfo. Made ares_getnameinfo ↵Dominick Meglio
use the reentrant getservbyport (getservbyport_r) if it isavailable to ensure it works properly in a threaded environment
2005-09-10Use the AC_CHECK_MEMBER() function for check struct members instead ofDaniel Stenberg
inventing and providing our own. Hopefully this solves a HP-UX 11.00 problem.
2005-06-19Added some checks for the addrinfo structure.Dominick Meglio
2005-06-03FIONBIO is in sys/ioctl.h on AIXDaniel Stenberg
2005-06-02William Ahern:Daniel Stenberg
Make UDP sockets non-blocking. I've confirmed that at least on Linux 2.4 a read event can come back from poll() on a valid SOCK_DGRAM socket but recv(2) will still block. This patch doesn't ignore EAGAIN in read_udp_packets(), though maybe it should. (This patch was edited by Daniel Stenberg and a new configure test was added (imported from curl's configure) to properly detect what non-blocking socket approach to use.)
2005-05-16Added ares_getnameinfo which mimics the getnameinfo APIDominick Meglio
2005-05-14replaced the CRLF newlines with plain LF onesDaniel Stenberg
2005-05-14Added an inet_ntop function from BIND for systems that do not have itDominick Meglio
2005-04-08Added preliminary IPv6 support to ares_gethostbynameDominick Meglio
2005-04-08include sys/types.h too when checking for headers as otherwise this breaksDaniel Stenberg
on Solaris and FreeBSD. At least.
2005-04-07Try harder to see if arpa/nameser_compat.h REALLY is a good header file toDaniel Stenberg
include, as it seems at least some AIX versions don't really allow it to be include at the same time as the original nameser.h.
2005-04-06check for struct sizes and use those sizes if the NS_* defines are lackingDaniel Stenberg
(IRIX 6.5.22 it seems)
2005-04-05check for another arpa headerDaniel Stenberg
2005-04-05check for the arpa/* headersDaniel Stenberg
2005-04-05Provided implementations of inet_net_pton and inet_pton from BIND for ↵Dominick Meglio
systems that do not include these functions. These will be necessary for CIDR support and IPv6 support.
2005-03-20attempt to fix the ares link breakage with --enable-debug in libcurl and hereDaniel Stenberg