summaryrefslogtreecommitdiffstats
path: root/src/admin/convert
diff options
context:
space:
mode:
authorRichard Basch <probe@mit.edu>1996-01-22 04:42:57 +0000
committerRichard Basch <probe@mit.edu>1996-01-22 04:42:57 +0000
commit99deb652aed6395120f957f211dbd604e4aa8774 (patch)
treec66bc10bd69472ed21e1379a1f204922f0831902 /src/admin/convert
parent412fffc7d49c8452d42c42ba7f2e74aff1c5d1ae (diff)
downloadkrb5-99deb652aed6395120f957f211dbd604e4aa8774.tar.gz
krb5-99deb652aed6395120f957f211dbd604e4aa8774.tar.xz
krb5-99deb652aed6395120f957f211dbd604e4aa8774.zip
Simplified to simply require the use of WITH_ANAME or USE_KDB5_LIBRARY
to specify the need for dbm inclusion/testing/compilation flags. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7350 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/admin/convert')
-rw-r--r--src/admin/convert/configure.in32
1 files changed, 1 insertions, 31 deletions
diff --git a/src/admin/convert/configure.in b/src/admin/convert/configure.in
index 248acf5b0d..c72ceb4187 100644
--- a/src/admin/convert/configure.in
+++ b/src/admin/convert/configure.in
@@ -1,37 +1,7 @@
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.],
-,
-withval=no)dnl
-if test "$withval" = yes; then
- AC_MSG_RESULT(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
+WITH_KDB4(USE_KDB4_LIBRARY,AC_DEFINE(KDB4_DISABLE))
USE_KADM_LIBRARY
USE_KDB5_LIBRARY
USE_KRB4_LIBRARY