summaryrefslogtreecommitdiffstats
path: root/src/admin
diff options
context:
space:
mode:
authorPaul Park <pjpark@mit.edu>1995-06-30 20:21:49 +0000
committerPaul Park <pjpark@mit.edu>1995-06-30 20:21:49 +0000
commit6b65a02422fc205409fc5c900e685e88114e0e98 (patch)
tree2c70304ce24ce8233284c9f7fbecc13605ea55d1 /src/admin
parentabea533961e2554bb1fd5edd7cb6906ef764ca21 (diff)
downloadkrb5-6b65a02422fc205409fc5c900e685e88114e0e98.tar.gz
krb5-6b65a02422fc205409fc5c900e685e88114e0e98.tar.xz
krb5-6b65a02422fc205409fc5c900e685e88114e0e98.zip
Add ability to switch between Berkeley and DBM for KDC database
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6214 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/admin')
-rw-r--r--src/admin/create/ChangeLog5
-rw-r--r--src/admin/create/configure.in14
-rw-r--r--src/admin/destroy/ChangeLog5
-rw-r--r--src/admin/destroy/configure.in14
-rw-r--r--src/admin/stash/ChangeLog5
-rw-r--r--src/admin/stash/configure.in14
6 files changed, 57 insertions, 0 deletions
diff --git a/src/admin/create/ChangeLog b/src/admin/create/ChangeLog
index 45d5773ca..e31200cd4 100644
--- a/src/admin/create/ChangeLog
+++ b/src/admin/create/ChangeLog
@@ -1,4 +1,9 @@
+Fri Jun 30 14:30:07 EDT 1995 Paul Park (pjpark@mit.edu)
+ * configure.in - Add --with-dbm to select between Berkeley and DBM
+ KDC database format.
+
+
Thu Jun 15 15:29:39 EDT 1995 Paul Park (pjpark@mit.edu)
* Makefile.in - Change explicit library names to -l<lib> form, and
change target link line to use $(LD) and associated flags.
diff --git a/src/admin/create/configure.in b/src/admin/create/configure.in
index f5524a268..4ac47284b 100644
--- a/src/admin/create/configure.in
+++ b/src/admin/create/configure.in
@@ -1,5 +1,19 @@
AC_INIT(kdb5_create.c)
CONFIG_RULES
AC_PROG_INSTALL
+AC_ARG_WITH([dbm],
+[ --with-dbm use native dbm for kdc database
+ --without-dbm use included version of Berkeley db (default)],
+,
+withval=no)dnl
+if test "$withval" = yes; then
+ AC_MSG_RESULT(Using native dbm)
+ AC_CHECK_LIB(ndbm,main)
+ AC_CHECK_LIB(dbm,main)
+else
+ AC_MSG_RESULT(Using Berkeley db)
+fi
+AC_SUBST(DBFLAGS)dnl
+dnl
V5_USE_SHARED_LIB
V5_AC_OUTPUT_MAKEFILE
diff --git a/src/admin/destroy/ChangeLog b/src/admin/destroy/ChangeLog
index 64357597d..e7dc6e242 100644
--- a/src/admin/destroy/ChangeLog
+++ b/src/admin/destroy/ChangeLog
@@ -1,4 +1,9 @@
+Fri Jun 30 14:30:49 EDT 1995 Paul Park (pjpark@mit.edu)
+ * configure.in - Add --with-dbm to select between Berkeley and DBM
+ KDC database format.
+
+
Thu Jun 15 15:31:59 EDT 1995 Paul Park (pjpark@mit.edu)
* Makefile.in - Change explicit library names to -l<lib> form, and
change target link line to use $(LD) and associated flags.
diff --git a/src/admin/destroy/configure.in b/src/admin/destroy/configure.in
index 898b67832..09c818303 100644
--- a/src/admin/destroy/configure.in
+++ b/src/admin/destroy/configure.in
@@ -1,5 +1,19 @@
AC_INIT(kdb5_destroy.c)
CONFIG_RULES
AC_PROG_INSTALL
+AC_ARG_WITH([dbm],
+[ --with-dbm use native dbm for kdc database
+ --without-dbm use included version of Berkeley db (default)],
+,
+withval=no)dnl
+if test "$withval" = yes; then
+ AC_MSG_RESULT(Using native dbm)
+ AC_CHECK_LIB(ndbm,main)
+ AC_CHECK_LIB(dbm,main)
+else
+ AC_MSG_RESULT(Using Berkeley db)
+fi
+AC_SUBST(DBFLAGS)dnl
+dnl
V5_USE_SHARED_LIB
V5_AC_OUTPUT_MAKEFILE
diff --git a/src/admin/stash/ChangeLog b/src/admin/stash/ChangeLog
index 26ef17e29..5393e7a2b 100644
--- a/src/admin/stash/ChangeLog
+++ b/src/admin/stash/ChangeLog
@@ -1,4 +1,9 @@
+Fri Jun 30 14:31:23 EDT 1995 Paul Park (pjpark@mit.edu)
+ * configure.in - Add --with-dbm to select between Berkeley and DBM
+ KDC database format.
+
+
Thu Jun 15 15:35:39 EDT 1995 Paul Park (pjpark@mit.edu)
* Makefile.in - Change explicit library names to -l<lib> form, and
change target link line to use $(LD) and associated flags.
diff --git a/src/admin/stash/configure.in b/src/admin/stash/configure.in
index e709120f9..32aefe487 100644
--- a/src/admin/stash/configure.in
+++ b/src/admin/stash/configure.in
@@ -1,5 +1,19 @@
AC_INIT(kdb5_stash.c)
CONFIG_RULES
AC_PROG_INSTALL
+AC_ARG_WITH([dbm],
+[ --with-dbm use native dbm for kdc database
+ --without-dbm use included version of Berkeley db (default)],
+,
+withval=no)dnl
+if test "$withval" = yes; then
+ AC_MSG_RESULT(Using native dbm)
+ AC_CHECK_LIB(ndbm,main)
+ AC_CHECK_LIB(dbm,main)
+else
+ AC_MSG_RESULT(Using Berkeley db)
+fi
+AC_SUBST(DBFLAGS)dnl
+dnl
V5_USE_SHARED_LIB
V5_AC_OUTPUT_MAKEFILE