Only build Berkeley db, if it is being used.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7347
dc483132-0cff-0310-8789-
dd5450dbe970
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