svn commit: lorikeet r335 - in trunk/heimdal/cf: .
metze at samba.org
metze at samba.org
Sun Jun 5 15:10:06 GMT 2005
Author: metze
Date: 2005-06-05 15:10:05 +0000 (Sun, 05 Jun 2005)
New Revision: 335
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=lorikeet&rev=335
Log:
add a configure --disable-ndbm-db
to be able to build a hdb.a without any backends
I know use this to compile heimdal to work with samba4
>>>CONFIG="CFLAGS=\"-g -O -Wall -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wwrite-strings -Wdeclaration-after-statement\" \
CC=gcc-4.0 \
./configure -C --prefix=$HOME/prefix/heimdal-test \
--sysconfdir=/etc \
--disable-shared \
--disable-berkeley-db \
--disable-ndbm-db \
--without-openldap \
--without-openssl $@"
echo $CONFIG
eval $CONFIG
>>>
metze
Modified:
trunk/heimdal/cf/db.m4
Changeset:
Modified: trunk/heimdal/cf/db.m4
===================================================================
--- trunk/heimdal/cf/db.m4 2005-06-05 15:06:24 UTC (rev 334)
+++ trunk/heimdal/cf/db.m4 2005-06-05 15:10:05 UTC (rev 335)
@@ -95,8 +95,14 @@
fi # berkeley db
-if test "$db_type" = "unknown" -o "$ac_cv_func_dbm_firstkey" = ""; then
+AC_ARG_ENABLE(ndbm-db,
+ AS_HELP_STRING([--disable-ndbm-db],
+ [if you don't want ndbm db]),[
+])
+if test "$enable_ndbm_db" != "no"; then
+ if test "$db_type" = "unknown" -o "$ac_cv_func_dbm_firstkey" = ""; then
+
AC_CHECK_HEADERS([ \
dbm.h \
ndbm.h \
@@ -154,7 +160,8 @@
fi
fi
-fi # unknown
+ fi # unknown
+fi
if test "$have_ndbm" = "yes"; then
AC_MSG_CHECKING([if ndbm is implemented with db])
More information about the samba-cvs
mailing list