svn commit: samba r10856 - in branches/SAMBA_4_0/source/lib/ldb: . tests

tridge at samba.org tridge at samba.org
Sun Oct 9 23:29:26 GMT 2005


Author: tridge
Date: 2005-10-09 23:29:26 +0000 (Sun, 09 Oct 2005)
New Revision: 10856

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10856

Log:
we need aclocal.m4 in ldb for standalone configure
Added:
   branches/SAMBA_4_0/source/lib/ldb/aclocal.m4
Modified:
   branches/SAMBA_4_0/source/lib/ldb/tests/slapd.conf


Changeset:
Added: branches/SAMBA_4_0/source/lib/ldb/aclocal.m4
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/aclocal.m4	2005-10-09 22:19:20 UTC (rev 10855)
+++ branches/SAMBA_4_0/source/lib/ldb/aclocal.m4	2005-10-09 23:29:26 UTC (rev 10856)
@@ -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
+])

Modified: branches/SAMBA_4_0/source/lib/ldb/tests/slapd.conf
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/tests/slapd.conf	2005-10-09 22:19:20 UTC (rev 10855)
+++ branches/SAMBA_4_0/source/lib/ldb/tests/slapd.conf	2005-10-09 23:29:26 UTC (rev 10856)
@@ -14,8 +14,8 @@
 
 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"
 



More information about the samba-cvs mailing list