build: Remove check for res_ninit (Revert "s3: Check for res_ninit")
authorAndrew Bartlett <abartlet@samba.org>
Sat, 2 Jun 2012 04:09:09 +0000 (14:09 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 2 Jun 2012 12:03:44 +0000 (14:03 +0200)
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

index af0f7c85be3b7eea3b19378ec440885fe7029aea..37f37f603026f3f12fad8c6c12593be9a2176720 100644 (file)
@@ -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 <resolv.h>],
-              [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