From 8fa895d65e9cf000fd491957f0d21c15b9f9178e Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 18 Sep 2008 02:23:33 +0000 Subject: [PATCH] fix netdb.h prerequisite inclusion --- ares/m4/cares-functions.m4 | 2 +- m4/curl-functions.m4 | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ares/m4/cares-functions.m4 b/ares/m4/cares-functions.m4 index 0ba032477..8f3fa72ef 100644 --- a/ares/m4/cares-functions.m4 +++ b/ares/m4/cares-functions.m4 @@ -200,7 +200,7 @@ dnl shell variable cares_disallow_getservbyport_r, then dnl HAVE_GETSERVBYPORT_R will be defined. AC_DEFUN([CARES_CHECK_FUNC_GETSERVBYPORT_R], [ - AC_REQUIRE([CARES_INCLUDES_SYS_UIO])dnl + AC_REQUIRE([CARES_INCLUDES_NETDB])dnl # tst_links_getservbyport_r="unknown" tst_proto_getservbyport_r="unknown" diff --git a/m4/curl-functions.m4 b/m4/curl-functions.m4 index f349bf6f4..077700bf8 100644 --- a/m4/curl-functions.m4 +++ b/m4/curl-functions.m4 @@ -383,7 +383,7 @@ dnl shell variable curl_disallow_gethostbyaddr_r, then dnl HAVE_GETHOSTBYADDR_R will be defined. AC_DEFUN([CURL_CHECK_FUNC_GETHOSTBYADDR_R], [ - AC_REQUIRE([CURL_INCLUDES_SYS_UIO])dnl + AC_REQUIRE([CURL_INCLUDES_NETDB])dnl # tst_links_gethostbyaddr_r="unknown" tst_proto_gethostbyaddr_r="unknown" @@ -525,7 +525,7 @@ dnl shell variable curl_disallow_gethostbyname_r, then dnl HAVE_GETHOSTBYNAME_R will be defined. AC_DEFUN([CURL_CHECK_FUNC_GETHOSTBYNAME_R], [ - AC_REQUIRE([CURL_INCLUDES_SYS_UIO])dnl + AC_REQUIRE([CURL_INCLUDES_NETDB])dnl # tst_links_gethostbyname_r="unknown" tst_proto_gethostbyname_r="unknown" @@ -752,7 +752,7 @@ dnl shell variable curl_disallow_getservbyport_r, then dnl HAVE_GETSERVBYPORT_R will be defined. AC_DEFUN([CURL_CHECK_FUNC_GETSERVBYPORT_R], [ - AC_REQUIRE([CURL_INCLUDES_SYS_UIO])dnl + AC_REQUIRE([CURL_INCLUDES_NETDB])dnl # tst_links_getservbyport_r="unknown" tst_proto_getservbyport_r="unknown"