diff options
-rw-r--r-- | CHANGES | 3 | ||||
-rw-r--r-- | acinclude.m4 | 28 |
2 files changed, 3 insertions, 28 deletions
@@ -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 diff --git a/acinclude.m4 b/acinclude.m4 index 2bf8f1041..2ec96cab9 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -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],[ |