+Mon Jan 22 15:23:05 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * configure.in: Merge in berk_db library if needed.
+
+ * Makefile.in (LIB_SUBDIRS): Get location of berk_db from
+ configure if needed.
Wed Dec 13 07:09:30 1995 Chris Provenzano (proven@mit.edu)
##DOSBUILDTOP = ..\..
+HASH=@HASH@
+HASHDONE=@HASHDONE@
+
TST=if test -n "`cat DONE`" ; then
LIB_SUBDIRS= error_tables asn.1 ccache ccache/stdio ccache/file ccache/memory \
keytab keytab/file krb rcache free os posix \
- $(BUILDTOP)/util/profile $(BUILDTOP)/util/berk_db/hash
+ $(BUILDTOP)/util/profile $(HASH)
LIBUPDATE= $(BUILDTOP)/util/libupdate
LIBDONE= error_tables/DONE asn.1/DONE ccache/DONE ccache/stdio/DONE \
ccache/file/DONE ccache/memory/DONE keytab/DONE \
keytab/file/DONE krb/DONE rcache/DONE free/DONE os/DONE \
- posix/DONE $(BUILDTOP)/util/profile/DONE \
- $(BUILDTOP)/util/berk_db/hash/DONE
+ posix/DONE $(BUILDTOP)/util/profile/DONE $(HASHDONE)
+
#
CRYPTO_VER=@CRYPTO_SH_VERS@
COMERR_VER=@COMERR_SH_VERS@
AC_PROG_RANLIB
AC_PROG_INSTALL
DO_SUBDIRS
+dnl
+dnl Determine if db library is being used
+dnl
+HASH=
+hashloc="$(BUILDTOP)/util/berk_db/hash"
+HASHDONE=
+hashdone="$(BUILDTOP)/util/berk_db/hash/DONE"
+WITH_ANAME_DB
+if test "$dbval" = db; then
+ HASH=$hashloc
+ HASHDONE=$hashdone
+else
+ WITH_KDB_DB
+ if test "$dbval" = db; then
+ HASH=$hashloc
+ HASHDONE=$hashdone
+ fi
+fi
+AC_SUBST(HASH)
+AC_SUBST(HASHDONE)
+dnl
V5_MAKE_SHARED_LIB(libkrb5,0.1,.., ./krb5)
CRYPTO_SH_VERS=$krb5_cv_shlib_version_libcrypto
AC_SUBST(CRYPTO_SH_VERS)