Add check for DBM/db libraries
authorTheodore Tso <tytso@mit.edu>
Fri, 19 Jan 1996 19:50:54 +0000 (19:50 +0000)
committerTheodore Tso <tytso@mit.edu>
Fri, 19 Jan 1996 19:50:54 +0000 (19:50 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7340 dc483132-0cff-0310-8789-dd5450dbe970

src/tests/create/ChangeLog
src/tests/create/configure.in
src/tests/verify/ChangeLog
src/tests/verify/configure.in

index a4f894ed92ed0b3b04dff446dc4edfcea301c24b..847f83a41b9ae13c67ea1f226afd285cf3daa0f3 100644 (file)
@@ -1,3 +1,7 @@
+Sat Dec 23 01:04:40 1995    <tytso@rsts-11.mit.edu>
+
+       * 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
index d28962283d267d408287f9335d27a2afab70af45..3cc77e6c854b767fe4825ad5c8b478efabcb3f6f 100644 (file)
@@ -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
index ead9273faa33ad7eedbae873db7cdc66dc1092a5..eeafcf245bd5aa12b08dfcbd802b21f8d9f4b673 100644 (file)
@@ -1,3 +1,7 @@
+Sat Dec 23 01:05:33 1995    <tytso@rsts-11.mit.edu>
+
+       * 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
index a9dd5dfc7ccd72c33551a71fc81064fb106b27b7..c5a25bc6fbbce70acc19b1f450731181eee447d6 100644 (file)
@@ -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