diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-10-09 23:29:26 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:39:37 -0500 |
commit | 4785cf6fd1c5a702062e9b1db0f2d3e55727bc65 (patch) | |
tree | f348a8b2bc717fe62c1f8f3e11117fbcbc631f60 /source4 | |
parent | 51d2ae6e8d59e2f3160d725e3a225f89d2dff8b2 (diff) | |
download | samba-4785cf6fd1c5a702062e9b1db0f2d3e55727bc65.tar.gz samba-4785cf6fd1c5a702062e9b1db0f2d3e55727bc65.tar.bz2 samba-4785cf6fd1c5a702062e9b1db0f2d3e55727bc65.zip |
r10856: we need aclocal.m4 in ldb for standalone configure
(This used to be commit b2551e76e8b0edf99483343d687df3a6cecff1f5)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/lib/ldb/aclocal.m4 | 12 | ||||
-rw-r--r-- | source4/lib/ldb/tests/slapd.conf | 4 |
2 files changed, 14 insertions, 2 deletions
diff --git a/source4/lib/ldb/aclocal.m4 b/source4/lib/ldb/aclocal.m4 new file mode 100644 index 0000000000..cdc2a2fa52 --- /dev/null +++ b/source4/lib/ldb/aclocal.m4 @@ -0,0 +1,12 @@ +dnl see if a declaration exists for a function or variable +dnl defines HAVE_function_DECL if it exists +dnl AC_HAVE_DECL(var, includes) +AC_DEFUN(AC_HAVE_DECL, +[ + AC_CACHE_CHECK([for $1 declaration],ac_cv_have_$1_decl,[ + AC_TRY_COMPILE([$2],[int i = (int)$1], + ac_cv_have_$1_decl=yes,ac_cv_have_$1_decl=no)]) + if test x"$ac_cv_have_$1_decl" = x"yes"; then + AC_DEFINE([HAVE_]translit([$1], [a-z], [A-Z])[_DECL],1,[Whether $1() is available]) + fi +]) diff --git a/source4/lib/ldb/tests/slapd.conf b/source4/lib/ldb/tests/slapd.conf index 332b3f9063..fc9d659b0b 100644 --- a/source4/lib/ldb/tests/slapd.conf +++ b/source4/lib/ldb/tests/slapd.conf @@ -14,8 +14,8 @@ access to * by * write allow update_anon bind_anon_dn -#modulepath /usr/lib/ldap -#moduleload back_bdb +modulepath /usr/lib/ldap +moduleload back_bdb defaultsearchbase "o=University of Michigan,c=TEST" |