+Thu Jul 27 14:59:53 EDT 1995 Paul Park (pjpark@mit.edu)
+ * configure.in - Add --with-dbm and check for already checking for dbm.
+
+
Mon Jul 17 14:55:58 EDT 1995 Paul Park (pjpark@mit.edu)
* configure.in - Add KADM library.
* kdb5_convert.c - Change calling sequence to krb5_db_fetch_mkey(),
AC_INIT(kdb5_convert.c)
CONFIG_RULES
AC_PROG_INSTALL
+did_dbm_lib=no
AC_ARG_WITH([kdb4],
[ --with-kdb4 use Kerberos version 4 database library.
--without-kdb4 Avoid using Kerberos version 4 database library.],
USE_KDB4_LIBRARY
AC_CHECK_LIB(ndbm,main)
AC_CHECK_LIB(dbm,main)
+ did_dbm_lib=yes
else
AC_DEFINE(KDB4_DISABLE)
fi
+AC_ARG_WITH([dbm],
+[ --with-dbm use native dbm for kdc database
+ --without-dbm use included version of Berkeley db (default)],
+,
+withval=no)dnl
+if test "$withval" = yes; then
+ AC_MSG_RESULT(Using native dbm)
+ if test "$did_dbm_lib" = no; then
+ AC_CHECK_LIB(ndbm,main)
+ AC_CHECK_LIB(dbm,main)
+ fi
+else
+ AC_MSG_RESULT(Using Berkeley db)
+fi
+AC_SUBST(DBFLAGS)dnl
+dnl
USE_KADM_LIBRARY
USE_KDB5_LIBRARY
USE_KRB4_LIBRARY
+Thu Jul 27 15:01:01 EDT 1995 Paul Park (pjpark@mit.edu)
+ * configure.in - Add --with-dbm and check for already checking for dbm.
+
+
Thu Jul 27 02:59:05 1995 Chris Provenzano (proven@mit.edu)
* dump.c kdb5_edit.c kdb5_edit.h util.c : Use new kdb format.
AC_HEADER_STDC
AC_HAVE_FUNCS(getcwd)
SS_RULES
+edit_dbm_done=no
AC_ARG_WITH([kdb4],
[ --with-kdb4 use Kerberos version 4 database library.
--without-kdb4 Avoid using Kerberos version 4 database library.],
USE_KDB4_LIBRARY
AC_CHECK_LIB(ndbm,main)
AC_CHECK_LIB(dbm,main)
+ edit_dbm_done=yes
else
AC_DEFINE(KDB4_DISABLE)
fi
+AC_ARG_WITH([dbm],
+[ --with-dbm use native dbm for kdc database
+ --without-dbm use included version of Berkeley db (default)],
+,
+withval=no)dnl
+if test "$withval" = yes; then
+ AC_MSG_RESULT(Using native dbm)
+ if test "$edit_dbm_done" = no; then
+ AC_CHECK_LIB(ndbm,main)
+ AC_CHECK_LIB(dbm,main)
+ fi
+else
+ AC_MSG_RESULT(Using Berkeley db)
+fi
+AC_SUBST(DBFLAGS)dnl
+dnl
USE_KADM_LIBRARY
USE_KDB5_LIBRARY
USE_KRB4_LIBRARY