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
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
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
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
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
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
Yang Tse
40d3121cd4
make CHECK_FUNC_GETADDRINFO_UNFREEABLE_AI_ADDR
...
and CHECK_FUNC_GETADDRINFO_UNFREEABLE_AI_CANONNAME
internal to CHECK_FUNC_GETADDRINFO
16 years ago
Yang Tse
a9f68690a5
fix leftover
16 years ago
Yang Tse
dfd9ac3c26
Initial attempt to detect at configuration time if the getaddrinfo()
...
function returns an addrinfo with an unfreeable ai_canonname member ptr.
16 years ago
Yang Tse
ad60c2d0c3
Initial attempt to detect at configuration time if the getaddrinfo()
...
function returns an addrinfo with an unfreeable ai_addr member ptr.
16 years ago
Yang Tse
49268447c8
#include <stdlib.h> for exit() prototype
16 years ago
Yang Tse
5ca18d6d80
HAVE_INET_PTON will only be defined when an IPv6 capable working
...
inet_pton function is available.
16 years ago
Yang Tse
a08ee8a0be
HAVE_INET_NTOP will only be defined when an IPv6 capable working
...
inet_ntop function is available.
16 years ago
Yang Tse
a36da12985
attempt to make work the gethostname function
...
check for winsock build target configurations
16 years ago
Yang Tse
feb2043b43
fix netdb.h prerequisite inclusion
16 years ago
Yang Tse
898e10bd60
improve detection of getservbyport_r()
16 years ago
Yang Tse
fe11cb41ec
improve detection of gethostname()
16 years ago
Yang Tse
1a9795b401
rearrange to allow internal/private use of ares_writev to any system
...
that lacks the writev function.
16 years ago
Yang Tse
b6e5b752fe
improve detection of:
...
strcasecmp()
strcmpi()
stricmp()
strncasecmp()
strncmpi()
strnicmp()
16 years ago
Yang Tse
797372b0f4
strdup() clone for systems/configurations which lack it
16 years ago