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
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)
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')