diff options
Diffstat (limited to 'acinclude.m4')
| -rw-r--r-- | acinclude.m4 | 28 |
1 files changed, 0 insertions, 28 deletions
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],[ |
