summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorRichard Basch <probe@mit.edu>1996-01-22 04:34:05 +0000
committerRichard Basch <probe@mit.edu>1996-01-22 04:34:05 +0000
commitd853c15e875f933b173ba50d46c901bd98fc9717 (patch)
treedc91c5227fb251f64134c8008d41299739a58eac /src/util
parentedcc7506874dd6152c40caa07d90dbae22a7de24 (diff)
downloadkrb5-d853c15e875f933b173ba50d46c901bd98fc9717.tar.gz
krb5-d853c15e875f933b173ba50d46c901bd98fc9717.tar.xz
krb5-d853c15e875f933b173ba50d46c901bd98fc9717.zip
* 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
Diffstat (limited to 'src/util')
-rw-r--r--src/util/configure.in12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/util/configure.in b/src/util/configure.in
index d5968ce6a9..77abe3b78b 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