22c01e96f7
Do not use sized constants in public headers
2011-06-14 16:41:29 +02:00
e49ce8f973
configure: fix libtool warning
...
Recent versions of libtool are now tracing usage of AC_CONFIG_MACRO_DIR
macro and warn heavily when not used in configure script along with
ACLOCAL_AMFLAGS in Makefile.am. So in order to make libtool happy
while keeping backwards compatibility this is added.
2011-03-25 13:13:55 +01:00
822fd0f877
build: use getenv() replacement function for systems which lack it
2011-03-23 13:44:42 +01:00
cd753ffe14
configure: r-enable temporarily disabled detection of system's inet_ntop()
...
Detection was temporarily disabled in commit 674e044ccb
2011-03-22 12:56:30 +01:00
1bd524dd4a
configure: stop using the deprecated AM_INIT_AUTOMAKE syntax
2011-03-15 11:29:12 +01:00
766a5aaf86
configure: fix a bashism
2010-12-19 23:20:58 +01:00
674e044ccb
configure: temporarily disable detection of system's inet_ntop()
...
This is done to allow compilation of ares_inet_ntop() by some daily
builds picky compilers that otherwise do not need this function.
2010-12-16 21:47:19 +01:00
623f3cb531
configure: inet_net_pton function check adjustments
...
Define HAVE_INET_NET_PTON only when system's inet_net_pton function is IPv6
capable and is not affected by the WLB-2008080064 advisory.
HAVE_INET_NET_PTON_IPV6 is no longer defined nor used.
2010-12-15 02:22:04 +01:00
e3813e6d24
configure: fix autoconf warning
2010-11-25 03:07:29 +01:00
0b504d7065
configure: fix autoconf 2.68 warning: no AC_LANG_SOURCE call detected in body
2010-11-13 04:15:16 +01:00
747981be8e
Revert following commits:
...
07bc7ea795
3392a50ea3
9912637d32
The purpose of the whole patch was to silence a compiler warning triggered
with GCC 4 on file ares_process.c The specific compiler warning was
'dereferencing type-punned pointer might break strict-aliasing rules'.
A simpler patch will follow to equally silence the warning.
2010-11-12 18:53:58 +01:00
9912637d32
sock-addr-storage: Detect and deal with lack of .ss_family member.
...
AIX, at least, does not have sockaddr_storage.ss_family member.
Detect this in the configure logic and use proper #ifdefs in the
ares_process logic.
Signed-off-by: Ben Greear <greearb@candelatech.com >
Tested-by: Tor Arntsen <tor@spacetec.no >
2010-08-04 07:42:01 -07:00
45557a138e
build: Enable compiling with -Werror.
...
This helps find compile warnings because they simply break
the build.
To use:
./configure --enable-warnings --enable-werror
Signed-off-by: Ben Greear <greearb@candelatech.com >
2010-07-29 23:43:02 -07:00
4bc98ca85c
When using icc, compile with -fpic and link with intel dynamic libraries.
2009-11-24 16:12:23 +00:00
17e6785e05
Make configure remove the ares_build.h file included in distribution tarballs.
2009-11-22 05:31:31 +00:00
61e686b65f
Add check for assert.h header file
2009-11-16 01:55:48 +00:00
3bf689197b
Remove enable-thread / disable-thread configure option. These were only placebo
...
options. The library is always built as thread safe as possible on every system.
2009-11-15 02:45:24 +00:00
e43ac04a1f
Refactor how preprocessor symbol _THREAD_SAFE definition is done.
2009-11-14 18:51:37 +00:00
f77839ed17
Symbol hiding configure options renamed to the hopefully less ambiguous
...
--enable-symbol-hiding and --disable-symbol-hiding as well as related
macro names and some internal variables used for them.
Related configuration file preprocessor symbols named to
CARES_SYMBOL_HIDING and CARES_SYMBOL_SCOPE_EXTERN.
2009-10-31 04:16:40 +00:00
de18bf7562
External API function linkage decoration adjustment
2009-10-29 01:02:54 +00:00
9cac6a4625
Initial step towards the ability to reduce c-ares exported symbols
...
based on the 'visibility' attribute for GNUC and __global for Sun
compilers, taking also in account __declspec function decoration
for Win32 and Symbian DLL's.
Introducing configure options --enable-hidden-symbols and
--disable-hidden-symbols following libcurl's naming.
2009-10-28 19:45:26 +00:00
f28b736a56
Fix spelling
2009-10-27 16:56:20 +00:00
6c48e1ff36
Use *_CHECK_PATH_SEPARATOR_REQUIRED to ensure that *_CHECK_PATH_SEPARATOR
...
is only expanded and included once in the configure script.
2009-10-19 04:13:12 +00:00
e391db0ef9
renamed generated config.h to ares_config.h in order to avoid clashes when libcurl is used with other projects which also have a config.h.
2009-07-14 13:38:50 +00:00
cdcc3aca8c
Refactor how libraries are checked for connect() function,
...
and check for connect() as it is done for other functions.
2009-06-20 17:24:43 +00:00
0757cbf7f4
add CloseSocket camel case function check
2009-06-18 12:36:10 +00:00
d960739133
check for socket() and closesocket() as it is done for other functions
2009-06-17 12:52:46 +00:00
96f34988f4
c-ares' --enable-curldebug adjustments
2009-05-28 14:38:04 +00:00
84aa2f8a5d
c-ares's --enable-curldebug configure option decoupled from c-ares's --enable-debug
2009-05-26 14:50:45 +00:00
cb6cec903b
Remove experimental check. Currently there's no need for it.
2009-05-11 00:28:18 +00:00
69fea1321f
Fix an m4 overquoting triggering a spurious 'AS_TR_CPP' symbol definition
...
attempt in generated config.h
2009-05-07 14:03:04 +00:00
78e9ec92b7
Proper naming for the experimental compiler test and moved to *-compilers.m4
2009-05-07 13:58:15 +00:00
411a7e17a1
Moved *_CHECK_COMPILER_HALT_ON_ERROR and *_CHECK_COMPILER_ARRAY_SIZE_NEGATIVE to *-compilers.m4 along with other *_CHECK_COMPILER_*
2009-05-07 11:06:48 +00:00
0eeb553827
HP-UX's X/Open network library requirement check follow-up
2009-05-03 17:35:44 +00:00
3a55bbebf1
Use build-time configured ares_socklen_t instead of socklen_t
2009-05-02 02:36:47 +00:00
dcdabb9ebe
Check definition of _XOPEN_SOURCE_EXTENDED with the compiler
2009-05-01 02:03:43 +00:00
c2ae8f0059
Check if X/Open network library is required
2009-04-30 18:35:36 +00:00
5fc305a0ba
Initial step towards a configure time ares_socklen_t definition
2009-04-28 16:47:33 +00:00
1509409fe1
Moved potential inclusion of system's malloc.h and memory.h header files to
...
setup_once.h. Inclusion of each header file is based on the definition of
NEED_MALLOC_H and NEED_MEMORY_H respectively.
2009-04-21 10:26:58 +00:00
262ff45c9d
use HAVE_LIMITS_H symbol to protect limits.h inclusion
2009-04-14 13:50:32 +00:00
26637be8e9
provide a common PATH_SEPARATOR check method which is required by
...
upcomming work to support the broadest range of Autoconf versions
2008-11-18 19:29:31 +00:00
d3609a98e5
check for gethostbyaddr and gethostbyname as it is done for other functions
2008-11-18 01:57:29 +00:00
03c1199864
trim down configure script size
2008-11-16 02:23:18 +00:00
65cafbe109
Refactor configure script detection of functions used to set sockets into
...
non-blocking mode, and decouple function detection from function capability.
2008-11-13 18:56:56 +00:00
c0711bdca9
check for freeaddrinfo() at configuration phase
2008-10-30 17:45:47 +00:00
40d3121cd4
make CHECK_FUNC_GETADDRINFO_UNFREEABLE_AI_ADDR
...
and CHECK_FUNC_GETADDRINFO_UNFREEABLE_AI_CANONNAME
internal to CHECK_FUNC_GETADDRINFO
2008-10-29 01:45:07 +00:00
dfd9ac3c26
Initial attempt to detect at configuration time if the getaddrinfo()
...
function returns an addrinfo with an unfreeable ai_canonname member ptr.
2008-10-28 20:03:22 +00:00
ad60c2d0c3
Initial attempt to detect at configuration time if the getaddrinfo()
...
function returns an addrinfo with an unfreeable ai_addr member ptr.
2008-10-28 19:13:25 +00:00
59f4582352
remove from configure.ac temporary magic for the icc seg-fault issue
2008-10-22 11:10:56 +00:00
f5a8f8c6ac
some more temporary magic for the icc seg-fault issue
2008-10-21 17:54:18 +00:00