Yang Tse
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
Yang Tse
de18bf7562
External API function linkage decoration adjustment
2009-10-29 01:02:54 +00:00
Yang Tse
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
Yang Tse
f28b736a56
Fix spelling
2009-10-27 16:56:20 +00:00
Yang Tse
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
Gunter Knauf
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
Yang Tse
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
Yang Tse
0757cbf7f4
add CloseSocket camel case function check
2009-06-18 12:36:10 +00:00
Yang Tse
d960739133
check for socket() and closesocket() as it is done for other functions
2009-06-17 12:52:46 +00:00
Yang Tse
96f34988f4
c-ares' --enable-curldebug adjustments
2009-05-28 14:38:04 +00:00
Yang Tse
84aa2f8a5d
c-ares's --enable-curldebug configure option decoupled from c-ares's --enable-debug
2009-05-26 14:50:45 +00:00
Yang Tse
cb6cec903b
Remove experimental check. Currently there's no need for it.
2009-05-11 00:28:18 +00:00
Yang Tse
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
Yang Tse
78e9ec92b7
Proper naming for the experimental compiler test and moved to *-compilers.m4
2009-05-07 13:58:15 +00:00
Yang Tse
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
Yang Tse
0eeb553827
HP-UX's X/Open network library requirement check follow-up
2009-05-03 17:35:44 +00:00
Yang Tse
3a55bbebf1
Use build-time configured ares_socklen_t instead of socklen_t
2009-05-02 02:36:47 +00:00
Yang Tse
dcdabb9ebe
Check definition of _XOPEN_SOURCE_EXTENDED with the compiler
2009-05-01 02:03:43 +00:00
Yang Tse
c2ae8f0059
Check if X/Open network library is required
2009-04-30 18:35:36 +00:00
Yang Tse
5fc305a0ba
Initial step towards a configure time ares_socklen_t definition
2009-04-28 16:47:33 +00:00
Yang Tse
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
Yang Tse
262ff45c9d
use HAVE_LIMITS_H symbol to protect limits.h inclusion
2009-04-14 13:50:32 +00:00
Yang Tse
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
Yang Tse
d3609a98e5
check for gethostbyaddr and gethostbyname as it is done for other functions
2008-11-18 01:57:29 +00:00
Yang Tse
03c1199864
trim down configure script size
2008-11-16 02:23:18 +00:00
Yang Tse
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
Yang Tse
c0711bdca9
check for freeaddrinfo() at configuration phase
2008-10-30 17:45:47 +00:00
Yang Tse
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
Yang Tse
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
Yang Tse
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
Yang Tse
59f4582352
remove from configure.ac temporary magic for the icc seg-fault issue
2008-10-22 11:10:56 +00:00
Yang Tse
f5a8f8c6ac
some more temporary magic for the icc seg-fault issue
2008-10-21 17:54:18 +00:00
Yang Tse
e1b2f2eff4
some more temporary magic for the icc seg-fault issue
2008-10-20 15:56:08 +00:00
Yang Tse
4037d01c3e
Ensure that shell variable contents which have active meaning
...
to the shell echo command are not interpreted when trying to
remove extra whitespace from shell variable content.
2008-10-15 18:10:02 +00:00
Yang Tse
8c2fe4c67f
Initial attempt to support configure's --(dis|en)able-optimize
...
option to specify dis(activation) of compiler optimizations.
If option is specified, it will be honored independant of the
--(dis|en)able-debug option.
2008-10-07 13:13:34 +00:00
Yang Tse
79f844f672
Initial attempt to support configure's --(dis|en)able-warnings
...
option to specify dis(activation) of picky compiler warnings.
If option is specified, it will be honored independant of the
--(dis|en)able-debug option.
If option is not specified, it will follow --(dis|en)able-debug
setting, whose default is disabled if not specified.
2008-10-02 03:56:56 +00:00
Yang Tse
2823a5380f
now compiler warnings are activated for all gcc builds, not only debug ones.
2008-09-30 12:39:54 +00:00
Yang Tse
2bc4f4c175
Use CFLAGS for icc linker options instead of LDFLAGS,
...
otherwise gethostbyname() is not detected.
2008-09-30 02:59:35 +00:00
Yang Tse
4c1d2df804
use ac_cv_compiler and ac_cv_compiler_num to keep compiler ID and version number
2008-09-29 19:14:52 +00:00
Yang Tse
eb9f7d046a
Temporary icc adjustment:
...
Disable floating point optimizations
2008-09-29 16:09:31 +00:00
Yang Tse
5ca18d6d80
HAVE_INET_PTON will only be defined when an IPv6 capable working
...
inet_pton function is available.
2008-09-24 19:13:01 +00:00
Yang Tse
a08ee8a0be
HAVE_INET_NTOP will only be defined when an IPv6 capable working
...
inet_ntop function is available.
2008-09-24 16:43:12 +00:00
Yang Tse
c97f02af5f
icc adjustments for icc 9.0 and prior versions:
...
Disable remark #279 : controlling expression is constant
Remark triggered mostly on va_arg() and FD_ZERO() macros.
2008-09-22 18:42:48 +00:00
Yang Tse
22747a54b6
icc adjustments:
...
Disable remark #981 : operands are evaluated in unspecified order
Function calls which are triggering this remark, today, do not depend
on the order of evaluation of its arguments.
Disable remark #1469 : "cc" clobber ignored
Remark triggered on htons() and ntohs() due to glibc header files.
2008-09-19 15:59:28 +00:00
Yang Tse
5e9d41fb29
icc adjustments
2008-09-18 13:56:56 +00:00
Yang Tse
898e10bd60
improve detection of getservbyport_r()
2008-09-17 11:31:37 +00:00
Yang Tse
8c3c805269
On Linux Intel's icc uses gcc's header files, so
...
we select ANSI C89 dialect plus GNU extensions.
2008-09-17 09:37:41 +00:00
Yang Tse
fe11cb41ec
improve detection of gethostname()
2008-09-17 08:14:00 +00:00
Yang Tse
1a9795b401
rearrange to allow internal/private use of ares_writev to any system
...
that lacks the writev function.
2008-09-16 16:42:48 +00:00
Yang Tse
b6e5b752fe
improve detection of:
...
strcasecmp()
strcmpi()
stricmp()
strncasecmp()
strncmpi()
strnicmp()
2008-09-15 00:31:42 +00:00