1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-06 01:25:33 -05:00
Commit Graph

90 Commits

Author SHA1 Message Date
Yang Tse
cd440215a5 fix inet_pton() runtime configure check 2008-11-17 03:54:05 +00:00
Yang Tse
3517eba632 fix typo affecting inclusion of <arpa/inet.h> in configure
checks for inet_ntoa_r() inet_ntop() and inet_pton()
2008-11-14 15:26:27 +00:00
Yang Tse
2cd44abafc #include <string.h> in the getaddrinfo() runtime check for the memset() prototype 2008-11-14 14:47:53 +00:00
Yang Tse
4b486ebbc1 fix symbol definition check for fcntl.h inclusion 2008-11-14 05:18:08 +00:00
Yang Tse
f9f211d2c6 #include <stdlib.h> in the getifaddrs() runtime check for the exit() prototype 2008-11-14 02:51:41 +00:00
Yang Tse
17d2a464ad 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:55 +00:00
Yang Tse
9717ccb786 check for getifaddrs and freeifaddrs as it is done for other functions 2008-11-08 03:27:15 +00:00
Yang Tse
33319f5d2d check for freeaddrinfo() at configuration phase 2008-10-30 17:45:47 +00:00
Yang Tse
91c77808c4 update aclocal file serial number 2008-10-30 13:50:15 +00:00
Yang Tse
197ad60d21 remove verification of the freeability of the addrinfo struct pointer members 2008-10-30 12:41:07 +00:00
Yang Tse
23eb74e085 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
d4514f9c10 fix leftover 2008-10-28 20:07:40 +00:00
Yang Tse
74a16db975 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
0989cd358a 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
507cd13793 Raise message severity up to warning, when strerror_r() exists but
configure is unable of finding out if it has glibc-style or POSIX-style,
trying to ensure that this condition does not go unnoticed.
2008-10-23 09:05:22 +00:00
Yang Tse
0abaf22467 #include <stdlib.h> for exit() prototype 2008-10-23 00:38:23 +00:00
Yang Tse
83c199bb00 siginterrupt, signal and sigsetjmp checks 2008-09-26 18:28:32 +00:00
Yang Tse
4d437416da 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
267b942383 configure script now checks availability of the inet_ntop() function,
and when not crosscompiling verifies if it is IPv6 capable.

HAVE_INET_NTOP will only be defined when an IPv6 capable working
inet_ntop function is available.
2008-09-24 16:43:40 +00:00
Yang Tse
006cab3e9e temporarily enable CURL_CHECK_FUNC_INET_NTOA_R 2008-09-24 12:38:11 +00:00
Yang Tse
54e49d10d2 attempt to make work the gethostname function
check for winsock build target configurations
2008-09-22 00:44:10 +00:00
Yang Tse
4e4f6c1ec8 configure script now checks availability of the alarm() function 2008-09-19 18:39:24 +00:00
Yang Tse
a059e9241e fix false negative strerror_r detection 2008-09-18 11:21:55 +00:00
Yang Tse
acd637160f fix wrong number used in comparison 2008-09-18 10:12:16 +00:00
Yang Tse
ddb2783f9a fix wrong variable used in comparison 2008-09-18 10:07:52 +00:00
Yang Tse
8fa895d65e fix netdb.h prerequisite inclusion 2008-09-18 02:23:33 +00:00
Yang Tse
d84440d53b improve detection of gethostbyaddr_r() and gethostbyname_r() 2008-09-17 16:03:49 +00:00
Yang Tse
0c1ae21c11 improve detection of getservbyport_r() 2008-09-17 11:31:37 +00:00
Yang Tse
d7e406e020 improve detection of gethostname(), localtime_r() and strstr() 2008-09-17 08:14:28 +00:00
Yang Tse
aa41743ebd 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
3081207a4c remove debug tracing 2008-09-15 15:32:53 +00:00
Yang Tse
4c621bc697 improve detection of:
strcasecmp()
  strcasestr()
  strcmpi()
  stricmp()
  strlcat()
  strncasecmp()
  strncmpi()
  strnicmp()
2008-09-15 00:32:08 +00:00
Yang Tse
77bafd823b also check for an 'unsigned int' for third argument of strerror_r() 2008-09-12 10:47:02 +00:00
Yang Tse
624b5f228b improve detection of strerror_r() 2008-09-12 07:38:44 +00:00
Yang Tse
20723cb792 add some debug tracing 2008-09-12 01:42:07 +00:00
Yang Tse
b93ad10fa5 improve detection of fdopen() and strerror_r() 2008-09-12 01:16:26 +00:00
Yang Tse
28e2007767 do not check if gmtime_r usage is allowed when a previous check has failed 2008-09-11 04:15:43 +00:00
Yang Tse
fce9c3a9f1 improve detection of strdup() and ftruncate() 2008-09-10 19:26:30 +00:00
Yang Tse
969903ebf2 improve detection of sigaction() and strtok_r() 2008-09-10 19:03:00 +00:00
Yang Tse
ea1362a936 improve detection of gmtime_r() and strtoll() 2008-09-10 17:33:15 +00:00