From d853c15e875f933b173ba50d46c901bd98fc9717 Mon Sep 17 00:00:00 2001 From: Richard Basch Date: Mon, 22 Jan 1996 04:34:05 +0000 Subject: [PATCH] * configure.in Only build Berkeley db, if it is being used. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7347 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/configure.in | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/util/configure.in b/src/util/configure.in index d5968ce6a..77abe3b78 100644 --- a/src/util/configure.in +++ b/src/util/configure.in @@ -17,6 +17,16 @@ case $HOST_TYPE in esac SHLIB_TAIL_COMP=$krb5_cv_shlibs_tail_comp AC_SUBST(SHLIB_TAIL_COMP) -CONFIG_DIRS(et ss profile berk_db pty) + +dbdir= +WITH_ANAME_DB +if test "$dbval" = db; then + db=berk_db +else + WITH_KDB_DB + if test "$dbval" = db; then db=berk_db; fi +fi + +CONFIG_DIRS(et ss profile $db pty) DO_SUBDIRS V5_AC_OUTPUT_MAKEFILE -- 2.26.2