From 2193ab9fc7c55d12aad5160755bca3e5de40546a Mon Sep 17 00:00:00 2001 From: David Shaw Date: Thu, 30 Dec 2004 03:31:19 +0000 Subject: * configure.ac: Better implementation for the SRV check. We don't need to actually check all the header files individually since the SRV test compile uses them together. --- ChangeLog | 6 ++++++ configure.ac | 6 ++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 73179c58a..f67f51369 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-12-28 David Shaw + + * configure.ac: Better implementation for the SRV check. We don't + need to actually check all the header files individually since the + SRV test compile uses them together. + 2004-12-24 David Shaw * configure.ac: Use new LIBCURL_CHECK_CONFIG macro for diff --git a/configure.ac b/configure.ac index 6b2f5bd9c..ed1983999 100644 --- a/configure.ac +++ b/configure.ac @@ -572,9 +572,8 @@ if (test x"$try_hkp" = xyes || test x"$try_http" = xyes) && test x"$use_dns_srv" if test x"$use_dns_srv" = xyes ; then AC_DEFINE(USE_DNS_SRV,1,[define to use DNS SRV]) SRVLIBS=$LIBS - else - AC_MSG_NOTICE([Resolver functions not found or not usable. Disabling DNS SRV.]) fi + LIBS=$_srv_save_libs fi @@ -804,13 +803,12 @@ AM_CONDITIONAL(ENABLE_CARD_SUPPORT, test "$card_support" = yes) dnl Checks for header files. AC_HEADER_STDC -AC_CHECK_HEADERS([unistd.h langinfo.h termio.h locale.h getopt.h arpa/nameser.h]) +AC_CHECK_HEADERS([unistd.h langinfo.h termio.h locale.h getopt.h]) # Note that we do not check for iconv here because this is done anyway # by the gettext checks and thus it allows us to disable the use of # iconv by using --disable-nls. - dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_C_INLINE -- cgit v1.2.3