1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2026-03-21 02:38:03 +00:00
Commit Graph

72 Commits

Author SHA1 Message Date
68aa62d76b check availability of <netinet/tcp.h> 2007-09-30 02:12:11 +00:00
bebef9e940 added initial pkg-config file (attempt) 2007-07-26 21:56:47 +00:00
ccf47928b8 add test for gettimeofday() so that HAVE_GETTIMEOFDAY gets defined. 2007-07-04 17:20:19 +00:00
c58612ba12 added check for sys/param.h. 2007-07-04 09:01:40 +00:00
49fdeb1de4 first take at detecting a random device and seeding the random key using data
from it in randomize_key()
2007-05-30 21:37:17 +00:00
207cde73e2 show better description for AMD64-linux static libraries PIC check 2007-03-15 15:35:51 +00:00
1aadb5e290 fix test leftover in previous commit 2007-03-07 18:02:35 +00:00
d8bc20eb43 force libtool to build static libraries with PIC on AMD64 2007-03-07 17:59:03 +00:00
2077aa0859 Autoconf redefines the M4 builtin macro 'm4_undefine' in such a way that
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-07 01:13:03 +00:00
fd68050fae Autoconf 2.57 didn't like these m4_undefine for some reason (probably a bug).
Luckily, they weren't needed.
2007-03-06 18:08:25 +00:00
3081021d88 skip libtool C++ and Fortran linker checks 2007-03-06 16:53:53 +00:00
8449df4bd8 skip libtool C++ and Fortran checks 2007-03-06 05:05:50 +00:00
7c76875958 include <sys/types.h> when checking availability of the bool type 2007-02-22 16:44:43 +00:00
915e774a42 Check for stdbool.h at configuration stage, and include it if available.
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-22 02:51:54 +00:00
0d8bf01d91 avoid using funtion isblank() and just use our ISBLANK
macro to provide this functionality on all platforms
2007-02-14 13:31:37 +00:00
902d0283b7 check for isblank() at configuration stage. If not available
provide a suitable replacement for use in our ISBLANK macro
2007-02-13 19:01:03 +00:00
5d5bf03803 use macro AC_AIX to define `_ALL_SOURCE', if on AIX. 2007-02-08 00:28:21 +00:00
6fa6ac89b4 use same AIX XLC compiler options as curl's 2007-02-07 18:13:40 +00:00
65fc05826e Make sure RETSIGTYPE is properly defined 2006-11-25 01:02:52 +00:00
7f7d2ad5c6 Added a check in configure that verifies if <signal.h> is available,
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-11-22 18:41:35 +00:00
02d31bef50 Check for struct timeval at configuration time 2006-10-13 01:35:14 +00:00
ec9f8c45e8 Check for network libraries the _same_ way it is done in cURL. 2006-08-06 10:58:47 +00:00
cfae7aa9e5 Check for network libraries the same way it is done in cURL. 2006-08-05 22:02:47 +00:00
43995b7d1b MinGW/MSYS needs lib ws2_32 for proper operation of configure script. 2006-08-03 21:19:40 +00:00
b05a63758c First step trying to avoid the multiple header inclusion and recursion 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-28 14:19:03 +00:00
31dfa4924d Define NEED_MALLOC_H if including <stdlib.h> is not enough for proper compilation and <malloc.h> must also be included. 2006-07-11 20:40:38 +00:00
016db852f8 Find out return types and argument types for functions recv() and send() at configuration stage. 2006-07-04 13:03:33 +00:00
2fc66d7b01 Copied the NO_UNDEFINED magic from libcurl to make this build fine again with
libtool cross-compiled on linux with mingw32
2006-05-24 23:02:51 +00:00
e75c876ac5 Bram Matthys brought my attention to a libtool peculiarity where detecting
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-10 08:03:54 +00:00
f4f25e3282 moved the curl_off_t check to within the --enable-debug block where it belongs since it is a somewhat ugly hack 2006-05-03 22:39:49 +00:00
cb2a75dece Checking for function getnameinfo and its arguments is finally
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-21 20:44:54 +00:00
1499c81ab3 Make sure we're using 'c-ares' sources and not 'ares' ones. 2005-12-21 16:08:35 +00:00
e80c02452e Fix, header checks must be done before using its results. 2005-12-20 18:50:37 +00:00
a08aed3147 use AC_PROG_LIBTOOL after AC_DISABLE_SHARED 2005-12-20 08:51:34 +00:00
6419328de9 Adjust more windows header includes 2005-12-19 21:38:10 +00:00
1d9efefdfa Fix Msys/Mingw not detecting getnameinfo() with AC_CHECK_FUNCS 2005-12-18 04:47:29 +00:00
e4c8fa8111 TYPE_SOCKLEN_T completely replaced by CURL_CHECK_TYPE_SOCKLEN_T.
CURL_FUNC_GETNAMEINFO_ARGTYPES now also checks first argument.
All related changes taken to cares configuration scripts.
2005-12-16 18:18:00 +00:00
f06e65fa65 check for and use winsock2.h instead of winsock.h and I fixed a typo in the
ifdefs where . was used instead of _!
2005-11-16 07:12:37 +00:00
264f2a4cf1 include ws2tcpip.h in an attempt to detect some of the ipv6 structs better
in mingw builds
2005-11-15 14:39:52 +00:00
374bc69deb Detect big/little endian in the configure script and adjust the ares_dns.h
macros accordingly.
2005-11-14 23:14:54 +00:00
af27d8743d simplified the sin6_scope_id test and removed some left-overs from the previous
way of detecting it
2005-09-21 09:10:17 +00:00
cbe5ec4597 fixed the check for the addrinfo struct 2005-09-21 09:01:44 +00:00
6afd5c16d3 Added constants that will be used by ares_getaddrinfo. Made ares_getnameinfo use the reentrant getservbyport (getservbyport_r) if it isavailable to ensure it works properly in a threaded environment 2005-09-18 16:44:49 +00:00
f22a6589bf Use the AC_CHECK_MEMBER() function for check struct members instead of
inventing and providing our own. Hopefully this solves a HP-UX 11.00 problem.
2005-09-10 21:09:44 +00:00
ebcf14a69b Added some checks for the addrinfo structure. 2005-06-19 16:58:40 +00:00
01118be8ae FIONBIO is in sys/ioctl.h on AIX 2005-06-03 07:39:18 +00:00
4e9c5b2dbb William Ahern:
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-06-02 11:58:04 +00:00
aba0b775ea Added ares_getnameinfo which mimics the getnameinfo API 2005-05-16 18:06:54 +00:00
cac87c7fc7 replaced the CRLF newlines with plain LF ones 2005-05-14 20:45:49 +00:00
eeb6aa6b01 Added an inet_ntop function from BIND for systems that do not have it 2005-05-14 18:35:20 +00:00