From 7ac47b074b83bf59cb9362d8ce4bcca16e49a96d Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sat, 2 Jun 2012 14:09:09 +1000 Subject: build: Remove check for res_ninit (Revert "s3: Check for res_ninit") This reverts commit 4f6b1e8c81776cf1fa386574e60e54fe6b4fe82e because I cannot find any use of this configure check, and it is one of the differences between the WAF and autoconf builds. Andrew Bartlett --- source3/configure.in | 8 -------- 1 file changed, 8 deletions(-) (limited to 'source3/configure.in') diff --git a/source3/configure.in b/source3/configure.in index af0f7c85be..37f37f6030 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -1222,14 +1222,6 @@ AC_CHECK_LIB(resolv, dn_expand) AC_CHECK_LIB(resolv, _dn_expand) AC_CHECK_LIB(resolv, __dn_expand) -AC_TRY_COMPILE([#include ], - [struct __res_state s; res_ninit(&s);], - ac_cv_have_res_ninit=yes,ac_cv_have_res_ninit=no) - -if test x"$ac_cv_have_res_ninit" = x"yes"; then - AC_DEFINE(HAVE_RES_NINIT, 1, [Whether we have res_ninit]) -fi - # # Check for the functions putprpwnam, set_auth_parameters, # getspnam, bigcrypt and getprpwnam in -lsec and -lsecurity -- cgit