From 103546966270e31e0110980bb6675664bc5dee98 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 1 Aug 2008 05:24:19 +0000 Subject: 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. --- CHANGES | 3 +++ acinclude.m4 | 28 ---------------------------- 2 files changed, 3 insertions(+), 28 deletions(-) diff --git a/CHANGES b/CHANGES index f2dba5c1b..96aa26708 100644 --- 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 diff --git a/acinclude.m4 b/acinclude.m4 index 2bf8f1041..2ec96cab9 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -2524,34 +2524,6 @@ AC_DEFUN([CURL_CHECK_FUNC_SELECT], [ ]) # AC_DEFUN -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 -#include -#include -#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 -- cgit v1.2.3