summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-06-02 14:09:09 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-06-02 14:03:44 +0200
commit7ac47b074b83bf59cb9362d8ce4bcca16e49a96d (patch)
tree1b30055b65b62335260eddbac20e6b64ae4beb18 /source3
parentede90a55c5ab71ea043de379d46b6803e3b7a432 (diff)
downloadsamba-7ac47b074b83bf59cb9362d8ce4bcca16e49a96d.tar.gz
samba-7ac47b074b83bf59cb9362d8ce4bcca16e49a96d.tar.bz2
samba-7ac47b074b83bf59cb9362d8ce4bcca16e49a96d.zip
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
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in8
1 files changed, 0 insertions, 8 deletions
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 <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