From: Theodore Tso Date: Fri, 19 Jan 1996 19:50:54 +0000 (+0000) Subject: Add check for DBM/db libraries X-Git-Tag: krb5-1.0-beta6~608 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=358ec4a75edfa70ae585dc53b18db3767f732f8e;p=krb5.git Add check for DBM/db libraries git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7340 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/tests/create/ChangeLog b/src/tests/create/ChangeLog index a4f894ed9..847f83a41 100644 --- a/src/tests/create/ChangeLog +++ b/src/tests/create/ChangeLog @@ -1,3 +1,7 @@ +Sat Dec 23 01:04:40 1995 + + * configure.in: Add check for DBM/db libraries + Wed Dec 13 03:51:53 1995 Chris Provenzano (proven@mit.edu) * kdb5_mkdums.c : Remove mkvno from krb5_db_entry diff --git a/src/tests/create/configure.in b/src/tests/create/configure.in index d28962283..3cc77e6c8 100644 --- a/src/tests/create/configure.in +++ b/src/tests/create/configure.in @@ -3,4 +3,19 @@ CONFIG_RULES AC_PROG_INSTALL USE_KDB5_LIBRARY KRB5_LIBRARIES +dnl +dnl --with-dbm uses native DBM for the KDC database. +dnl +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) + AC_CHECK_LIB(ndbm,main) + AC_CHECK_LIB(dbm,main) +else + AC_MSG_RESULT(Using Berkeley db) +fi V5_AC_OUTPUT_MAKEFILE diff --git a/src/tests/verify/ChangeLog b/src/tests/verify/ChangeLog index ead9273fa..eeafcf245 100644 --- a/src/tests/verify/ChangeLog +++ b/src/tests/verify/ChangeLog @@ -1,3 +1,7 @@ +Sat Dec 23 01:05:33 1995 + + * configure.in (withval): Add check for DBM/db libraries. + Wed Dec 13 03:51:53 1995 Chris Provenzano (proven@mit.edu) * kdb5_verify.c : Remove mkvno for krb5_db_entry diff --git a/src/tests/verify/configure.in b/src/tests/verify/configure.in index a9dd5dfc7..c5a25bc6f 100644 --- a/src/tests/verify/configure.in +++ b/src/tests/verify/configure.in @@ -3,4 +3,19 @@ CONFIG_RULES AC_PROG_INSTALL USE_KDB5_LIBRARY KRB5_LIBRARIES +dnl +dnl --with-dbm uses native DBM for the KDC database. +dnl +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) + AC_CHECK_LIB(ndbm,main) + AC_CHECK_LIB(dbm,main) +else + AC_MSG_RESULT(Using Berkeley db) +fi V5_AC_OUTPUT_MAKEFILE