aboutsummaryrefslogtreecommitdiff
path: root/ares/acinclude.m4
AgeCommit message (Collapse)Author
2006-07-25Simplify check for NEED_MALLOC_H, and make more explicit that NEED_MALLOC_H ↵Yang Tse
shall be defined if <malloc.h> header file must be included even when including <stdlib.h>.
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-07Finally get rid of CURL_CHECK_HEADERS_ONCE since it adds very little value ↵Yang Tse
and has portability issues. Change some shell if...then...fi tests into case...esac tests which demand less resources.
2006-07-07Substitution of the literal '-' is only done if it's the first or last ↵Yang Tse
character.
2006-07-07Using backslashes and slashes in the strings of the sed 'y' command shall be ↵Yang Tse
avoided since its interpretation is not the same across platforms. Now we use the sed 's' command with a bracket expression.
2006-07-07Fix excessive escaping.Yang Tse
2006-07-07Fix CURL_CHECK_HEADERS_ONCEYang Tse
2006-07-06Fix MinGW/MSYS support in CURL_CHECK_FUNC_RECV and CURL_CHECK_FUNC_SEND.Yang Tse
2006-07-05Prevent definition of HAVE_WINxxx_H symbols and avoid inclusion of Windows ↵Yang Tse
headers when compiled with Cygwin in POSIX emulation mode.
2006-07-04Use a more descriptive var name.Yang Tse
2006-07-04Get qualifier of arg 2 for send() apart into SEND_QUAL_ARG2.Yang Tse
2006-07-04Find out return types and argument types for functions recv() and send() at ↵Yang Tse
configuration stage.
2006-07-03Use CURL_CHECK_FUNC_GETNAMEINFO results in CURL_CHECK_NI_WITHSCOPEIDYang Tse
2006-07-02Make CURL_CHECK_NI_WITHSCOPEID actually try to compile NI_WITHSCOPEID when ↵Yang Tse
cross-compiling.
2006-07-02Fix shell globbing in CURL_CHECK_FUNC_GETNAMEINFOYang Tse
2006-07-02Fix shell globbing in CURL_CHECK_FUNC_GETNAMEINFOYang Tse
2006-07-01Get qualifier of arg 1 for getnameinfo apart. Take 2.Yang Tse
2006-06-30Get qualifier of arg 1 for getnameinfo apart.Yang Tse
2006-06-30Remove experimental notice from CURL_CHECK_FUNC_GETNAMEINFOYang Tse
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-01-09Alexander Lazic improved the getservbyport_r() configure check.Daniel Stenberg
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-21Undefine HAVE_GETNAMEINFO if unable to findYang Tse
proper types to use for getnameinfo args
2005-12-21Undefine HAVE_GETNAMEINFO if unable to findYang Tse
proper types to use for getnameinfo args
2005-12-20In CURL_FUNC_GETNAMEINFO_ARGTYPES, when cross-compiling a windowsYang Tse
target use calling convention WSAAPI for getnameinfo() prototype. Checking type DWORD as argument 4 and 6 of getnameinfo not needed.
2005-12-20fix ioctlsocket detectionYang Tse
2005-12-20fix closing parenthesesDaniel Stenberg
2005-12-20Fix quotingYang Tse
2005-12-20Use native type SOCKET instead of int when testing functionality of ↵Yang Tse
ioctlsocket on Windows
2005-12-19OoopsYang Tse
2005-12-19Add checking for type DWORD as argument 4 and 6 of getnameinfoYang Tse
2005-12-19Adjust more windows header includesYang Tse
2005-12-19Fix guard detection of _WIN32_WINNT for MingW in CURL_FUNC_GETNAMEINFO_ARGTYPESYang Tse
2005-12-19Add check for 'unsigned int' as type of arguments 4 and 6 of getnameinfoYang Tse
2005-12-18When checking the type of the first argument of getnameinfo do it in theYang Tse
following order: 'struct sockaddr *' 'const struct sockaddr *' 'void *'.
2005-12-18MingW guards getnameinfo, getaddrinfo and freeaddrinfo with _WIN32_WINNT >= ↵Yang Tse
0x0501
2005-12-17Check first arg of getnameinfo with and without const qualifier.Yang Tse
2005-12-17Avoid breaking configure due to CURL_FUNC_GETNAMEINFO_ARGTYPES failure, ↵Yang Tse
since at this point nothing depends on it.
2005-12-17const qualifier in getnameinfo checkYang Tse
2005-12-16Since there is no proof of the existence of a platform which wouldYang Tse
justify checking for socklen_t in more than one function, the code used to find a valid socklen_t replacement is simplified back. The only function that will be used to find a socklen_t replacement is getpeername, as it has been since revision 1.4 of curl/acinclude.m4
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-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-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-03-11Replace AC_TRY_RUN() with AC_EGREP_CPP() when checking for constants toDaniel Stenberg
work fine with cross-compiled builds.
2005-03-10Dominick Meglio added ares_parse_aaaa_reply.c and did various adjustments. TheDaniel Stenberg
first little steps towards IPv6 support!
2004-02-27updated the debug option function from curl's acinclude.m4Daniel Stenberg
2004-02-25added the better debug option logic from curl by adding acinclude.m4 to theDaniel Stenberg
configure stuff