summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-11-24 23:07:21 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-11-30 00:08:16 +0100
commit184e8e52182ce28d8a68c1a6904fdd7dad89ef4d (patch)
tree23eb9ce8fb3860286614d228c19ebc69f8c3a991 /source3
parent6bf97ea3bc70745f64f82251cbce443f2637c703 (diff)
downloadsamba-184e8e52182ce28d8a68c1a6904fdd7dad89ef4d.tar.gz
samba-184e8e52182ce28d8a68c1a6904fdd7dad89ef4d.tar.bz2
samba-184e8e52182ce28d8a68c1a6904fdd7dad89ef4d.zip
build: TDB_ERR_NESTING is used unconditionally
Therefore, do not bother doing an autoconf test looking for it. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Nov 30 00:08:18 CET 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in10
-rw-r--r--source3/wscript5
2 files changed, 0 insertions, 15 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 6091a4ad1c..529b29b044 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -2178,16 +2178,6 @@ then
AC_SUBST(TDBTOOL)
TDBTORTURE="bin/tdbtorture\$(EXEEXT)"
AC_SUBST(TDBTORTURE)
- ac_cv_have_tdb_err_nesting=yes
-else
- AC_TRY_COMPILE([#include <tdb.h>],
- [enum TDB_ERROR err = TDB_ERR_NESTING],
- ac_cv_have_tdb_err_nesting=yes,
- ac_cv_have_tdb_err_nesting=no)
-fi
-
-if test x"$ac_cv_have_tdb_err_nesting" = xyes; then
- AC_DEFINE(HAVE_TDB_ERR_NESTING, 1, [Whether we have TDB_ERR_NESTING])
fi
SMB_LIBRARY(netapi, 0)
diff --git a/source3/wscript b/source3/wscript
index c329cbf00b..25140486f9 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -1358,11 +1358,6 @@ main() {
msg="getcwd takes a NULL argument")
- conf.CHECK_CODE('''enum TDB_ERROR err = TDB_ERR_NESTING''',
- 'HAVE_TDB_ERR_NESTING',
- headers='tdb.h',
- msg='Checking whether we have TDB_ERR_NESTING')
-
# UnixWare 7.x has its getspnam in -lgen
conf.CHECK_FUNCS_IN('getspnam', 'gen')
conf.CHECK_FUNCS_IN('getspnam', 'security')