diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-04-27 13:07:49 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-04-28 15:25:03 +0200 |
commit | c33aee1667bd037068674bd354ffd0feb1d13de1 (patch) | |
tree | 970be07d5f41872a5eff0c1b37e45ac902d042ab /configure.ac | |
parent | 3b1b26578f7b21e2bfca1d1738aa77a44e11e111 (diff) |
treaded-resolver: better error messages
Now use gai_strerror() to get proper error messages when getaddrinfo()
has failed. Detect the function in configure.
Code based on work and suggestions by Jeff Pohlmeyer and Guenter Knauf
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index ba09f07b4..0a155eb37 100644 --- a/configure.ac +++ b/configure.ac @@ -2517,6 +2517,7 @@ CURL_CHECK_FUNC_FREEIFADDRS CURL_CHECK_FUNC_FSETXATTR CURL_CHECK_FUNC_FTRUNCATE CURL_CHECK_FUNC_GETADDRINFO +CURL_CHECK_FUNC_GAI_STRERROR CURL_CHECK_FUNC_GETHOSTBYADDR CURL_CHECK_FUNC_GETHOSTBYADDR_R CURL_CHECK_FUNC_GETHOSTBYNAME |