From: Richard Basch Date: Mon, 22 Jan 1996 04:34:05 +0000 (+0000) Subject: * configure.in X-Git-Tag: krb5-1.0-beta6~601 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d853c15e875f933b173ba50d46c901bd98fc9717;p=krb5.git * 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 --- 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