summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Eichin <eichin@mit.edu>1996-01-15 07:38:46 +0000
committerMark Eichin <eichin@mit.edu>1996-01-15 07:38:46 +0000
commit538834a81c4d9e9e5c41a0e7c0b67933728ee1e0 (patch)
tree3eb511dc66c91f7a42f766488aab8ce436ad58b0
parent3be12fd1f97744d7bbeec94419a03e20b9e0d96c (diff)
downloadkrb5-538834a81c4d9e9e5c41a0e7c0b67933728ee1e0.tar.gz
krb5-538834a81c4d9e9e5c41a0e7c0b67933728ee1e0.tar.xz
krb5-538834a81c4d9e9e5c41a0e7c0b67933728ee1e0.zip
* aclocal.m4 (WITH_DBM_LNAME): add --with-dbm-lname for callers of
an_to_ln routines that have USE_DBM_LNAME set. * aclocal.m4 (WITH_DBM_KDB): avoid duplicating --with-dbm code all over the place. (from CNS. Eventually they need to be referenced a bunch of places, but for now gssftp uses the former so I have an excuse to drop them in...) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7315 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r--src/ChangeLog7
-rw-r--r--src/aclocal.m435
2 files changed, 42 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index fb1dc73b1c..bf1ed21741 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,10 @@
+Mon Jan 15 02:35:02 1996 Mark Eichin <eichin@cygnus.com>
+
+ * aclocal.m4 (WITH_DBM_LNAME): add --with-dbm-lname for callers of
+ an_to_ln routines that have USE_DBM_LNAME set.
+ * aclocal.m4 (WITH_DBM_KDB): avoid duplicating --with-dbm code all
+ over the place.
+
Sun Dec 17 19:53:54 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
* acconfig.h: Add blank line to work around a misfeature of
diff --git a/src/aclocal.m4 b/src/aclocal.m4
index c52a02afcd..0cdb257e14 100644
--- a/src/aclocal.m4
+++ b/src/aclocal.m4
@@ -959,6 +959,41 @@ else
fi
AC_SUBST(LDARGS)
])dnl
+dnl
+dnl --with-dbm uses native DBM for the KDC database.
+dnl
+define(WITH_DBM_KDB,[
+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
+])dnl
+dnl
+dnl --with-dbm-lname uses native DBM for the aname to lname conversion
+dnl
+define(WITH_DBM_LNAME,[
+AC_ARG_WITH([dbm-lname],
+[ --with-dbm-lname use native dbm for aname to lname conversion
+ --without-dbm-lname 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
+])dnl
+dnl