Yang Tse
c4ee4a5d21
Fix three var names
15 years ago
Yang Tse
afa62136a5
getaddrinfo is fully thread safe on solaris versions which
...
15 years ago
Yang Tse
e43ac04a1f
Refactor how preprocessor symbol _THREAD_SAFE definition is done.
15 years ago
Yang Tse
ccabe949dd
Assume that getaddrinfo is thread safe, unless hard coded
...
knowledge says the contrary or h_errno is not defined.
15 years ago
Yang Tse
3d2e078f2b
Related with the threadsafe capability of getaddrinfo:
...
- Constantine Sapuntzakis reported that Darwin 6.0 a.k.a. MAC OS X 10.2
and newer have a threadsafe getaddrinfo.
- Fix Dragonfly BSD triplet detection.
- In case the hard-coded knowledge says that getaddrinfo is threadsafe,
an additional check is done to verify that h_errno is also defined.
If h_errno isn't defined, we finally assume that it isn't threadsafe.
Jamie Lokier provided the inspiration for this extra check.
15 years ago
Yang Tse
f5b37120f3
AIX 5.2 and newer have threadsafe getaddrinfo.
...
Add some comments to better understand what the regex's pretend to achieve.
15 years ago
Yang Tse
f084328b48
HP-UX 11.11 and later have threadsafe getaddrinfo
15 years ago
Yang Tse
109c17b680
Check if getaddrinfo is threadsafe when function check allows it to be used
15 years ago
Yang Tse
d101880c6a
Undo old temporary change once used for testing purposes
15 years ago
Yang Tse
f77839ed17
Symbol hiding configure options renamed to the hopefully less ambiguous
...
15 years ago
Yang Tse
4cb3aa4080
External API function linkage decoration adjustment
15 years ago
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.
15 years ago
Yang Tse
6c48e1ff36
Use *_CHECK_PATH_SEPARATOR_REQUIRED to ensure that *_CHECK_PATH_SEPARATOR
...
is only expanded and included once in the configure script.
15 years ago
Yang Tse
7472bed472
Our _AS_PATH_SEPARATOR_PREPARE override is now m4_defun'd instead of m4_define'd
...
due to autoconf 2.64 m4_require'ing it in _AS_SHELL_SANITIZE indirectly through
_AS_PATH_WALK.
15 years ago
Yang Tse
bd4a8c159e
Check if _REENTRANT definition is required to
...
make errno available as a preprocessor macro.
15 years ago
Gunter Knauf
8ddea4e287
test if adding ../lib to includes can fix the current break ...
16 years ago
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.
16 years ago
Yang Tse
cdcc3aca8c
Refactor how libraries are checked for connect() function,
...
16 years ago
Yang Tse
0757cbf7f4
add CloseSocket camel case function check
16 years ago
Yang Tse
d960739133
check for socket() and closesocket() as it is done for other functions
16 years ago
Yang Tse
7fcd022b2a
c-ares' --enable-debug --enable-curldebug decoupling follow-up
16 years ago
Yang Tse
80d4f1170c
c-ares' -no-undefined and --enable-curldebug adjustments
16 years ago
Yang Tse
96f34988f4
c-ares' --enable-curldebug adjustments
16 years ago
Yang Tse
388e389638
Allow curl debug memory tracking when building a shared library on
...
systems which support external, undefined, symbols in shared libraries.
16 years ago
Yang Tse
84aa2f8a5d
c-ares's --enable-curldebug configure option decoupled from c-ares's --enable-debug
16 years ago
Yang Tse
4b5589ab99
remove outdated comment
16 years ago
Yang Tse
78e9ec92b7
Proper naming for the experimental compiler test and moved to *-compilers.m4
16 years ago
Yang Tse
411a7e17a1
Moved *_CHECK_COMPILER_HALT_ON_ERROR and *_CHECK_COMPILER_ARRAY_SIZE_NEGATIVE to *-compilers.m4 along with other *_CHECK_COMPILER_*
16 years ago
Yang Tse
486802e3a9
Added CARES_INCLUDES_SYS_TYPES
16 years ago
Yang Tse
61ac74c684
Initial step towards a configure time curl_socklen_t definition
16 years ago
Yang Tse
51ecfc023a
remove compiler options used while debugging the icc 9.1 optimizer issue
16 years ago
Yang Tse
ed9f1219a5
Set HP-UX compiler warning level back to the one that exposes
...
the socklen_t issue on this platform.
16 years ago
Yang Tse
fb7803fbd0
ignore
16 years ago
Dan Fandrich
e3d86772c4
Make checking for struct ifreq a prerequisite for setting
...
HAVE_IOCTL_SIOCGIFADDR since it's needed to use SIOCGIFADDR and Watcom C
doesn't currently define it.
16 years ago
Yang Tse
8a34a3a045
user provided PATH_SEPARATOR always overrides auto-detected one
16 years ago
Yang Tse
ca44947b99
attempting to keep lines below 80 chars
16 years ago
Yang Tse
26637be8e9
provide a common PATH_SEPARATOR check method which is required by
...
upcomming work to support the broadest range of Autoconf versions
16 years ago
Yang Tse
d3609a98e5
check for gethostbyaddr and gethostbyname as it is done for other functions
16 years ago
Yang Tse
b0b6a7c8aa
Make configure script check if ioctl with the SIOCGIFADDR command can be
...
used, and define HAVE_IOCTL_SIOCGIFADDR if appropriate.
16 years ago
Yang Tse
bad9ff8817
fix leftover from previous commit
16 years ago
Yang Tse
68bb7a43e4
fix inet_pton() runtime configure check
16 years ago
Yang Tse
03c1199864
trim down configure script size
16 years ago
Yang Tse
f75e379dae
fix typo affecting inclusion of <arpa/inet.h> in configure
...
checks for inet_ntoa_r() inet_ntop() and inet_pton()
16 years ago
Yang Tse
564c958725
#include <string.h> in the getaddrinfo() runtime check for the memset() prototype
16 years ago
Yang Tse
72cd52972b
fix symbol definition check for fcntl.h inclusion
16 years ago
Yang Tse
65cafbe109
Refactor configure script detection of functions used to set sockets into
...
non-blocking mode, and decouple function detection from function capability.
16 years ago
Yang Tse
c0711bdca9
check for freeaddrinfo() at configuration phase
16 years ago
Yang Tse
0e4d0eda3d
update aclocal file serial number
16 years ago
Yang Tse
d013d47281
remove verification of the freeability of the addrinfo struct pointer members
16 years ago
Yang Tse
d389bcaf1c
fix comment
16 years ago