diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 54d435044..fe9d80d73 100644 --- a/configure.ac +++ b/configure.ac @@ -644,9 +644,7 @@ then fi -if test "$HAVE_GETHOSTBYNAME" = "1"; then - AC_DEFINE(HAVE_GETHOSTBYNAME, 1, [If you have gethostbyname]) -else +if test "$HAVE_GETHOSTBYNAME" != "1"; then AC_MSG_ERROR([couldn't find libraries for gethostbyname()]) fi @@ -1987,7 +1985,9 @@ CURL_CHECK_FUNC_FREEADDRINFO CURL_CHECK_FUNC_FREEIFADDRS CURL_CHECK_FUNC_FTRUNCATE CURL_CHECK_FUNC_GETADDRINFO +CURL_CHECK_FUNC_GETHOSTBYADDR CURL_CHECK_FUNC_GETHOSTBYADDR_R +CURL_CHECK_FUNC_GETHOSTBYNAME CURL_CHECK_FUNC_GETHOSTBYNAME_R CURL_CHECK_FUNC_GETHOSTNAME CURL_CHECK_FUNC_GETIFADDRS @@ -2036,7 +2036,6 @@ AC_CHECK_FUNCS([basename \ closesocket \ fork \ geteuid \ - gethostbyaddr \ getpass_r \ getppid \ getprotobyname \ |