Removed definition of CURL_CHECK_WORKING_RESOLVER from acinclude.m4 it has
authorYang Tse <yangsita@gmail.com>
Fri, 1 Aug 2008 05:24:19 +0000 (05:24 +0000)
committerYang Tse <yangsita@gmail.com>
Fri, 1 Aug 2008 05:24:19 +0000 (05:24 +0000)
not been in use since revision 1.81 of configure.in 6 years, 9 months ago.

CHANGES
acinclude.m4

diff --git a/CHANGES b/CHANGES
index f2dba5c..96aa267 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -14,6 +14,9 @@ Yang Tse (1 Aug 2008)
   of making adjustments necessary to ensure that it is defined equally for the
   configure process tests and generated config file.
 
+- Removed definition of CURL_CHECK_WORKING_RESOLVER from acinclude.m4 it has
+  not been in use since revision 1.81 of configure.in 6 years, 9 months ago.
+
 Daniel Fandrich (31 Jul 2008)
 - Fixed parsing of an IPv6 proxy address to support a scope identifier,
   as well as IPv4 addresses in IPv6 format. Also, better handle the case
index 2bf8f10..2ec96ca 100644 (file)
@@ -2525,34 +2525,6 @@ AC_DEFUN([CURL_CHECK_FUNC_SELECT], [
 
 
 dnl ************************************************************
-dnl check for "localhost", if it doesn't exist, we can't do the
-dnl gethostbyname_r tests!
-dnl 
-
-AC_DEFUN([CURL_CHECK_WORKING_RESOLVER],[
-AC_MSG_CHECKING([if "localhost" resolves])
-AC_TRY_RUN([
-#include <string.h>
-#include <sys/types.h>
-#include <netdb.h>
-#ifndef NULL
-#define NULL (void *)0
-#endif
-
-int
-main () {
-struct hostent *h;
-h = gethostbyname("localhost");
-exit (h == NULL ? 1 : 0); }],[
-      AC_MSG_RESULT(yes)],[
-      AC_MSG_RESULT(no)
-      AC_MSG_ERROR([can't figure out gethostbyname_r() since localhost doesn't resolve])
-
-      ]
-)
-])
-
-dnl ************************************************************
 dnl check for working getaddrinfo() that works with AI_NUMERICHOST
 dnl
 AC_DEFUN([CURL_CHECK_WORKING_GETADDRINFO],[