* configure.in
authorRichard Basch <probe@mit.edu>
Mon, 22 Jan 1996 04:34:05 +0000 (04:34 +0000)
committerRichard Basch <probe@mit.edu>
Mon, 22 Jan 1996 04:34:05 +0000 (04:34 +0000)
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

index d5968ce6a9699cbb2e5bc7371828678e83bde09e..77abe3b78b8be61522032865248a5ca03792d5e4 100644 (file)
@@ -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