From 538834a81c4d9e9e5c41a0e7c0b67933728ee1e0 Mon Sep 17 00:00:00 2001 From: Mark Eichin Date: Mon, 15 Jan 1996 07:38:46 +0000 Subject: [PATCH] * 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 --- src/ChangeLog | 7 +++++++ src/aclocal.m4 | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index fb1dc73b1..bf1ed2174 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +Mon Jan 15 02:35:02 1996 Mark Eichin + + * 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 * acconfig.h: Add blank line to work around a misfeature of diff --git a/src/aclocal.m4 b/src/aclocal.m4 index c52a02afc..0cdb257e1 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 -- 2.26.2