summaryrefslogtreecommitdiffstats
path: root/src/admin/destroy
diff options
context:
space:
mode:
Diffstat (limited to 'src/admin/destroy')
-rw-r--r--src/admin/destroy/Makefile.in2
-rw-r--r--src/admin/destroy/configure.in3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/admin/destroy/Makefile.in b/src/admin/destroy/Makefile.in
index a6a59f9e6..ddfd70e82 100644
--- a/src/admin/destroy/Makefile.in
+++ b/src/admin/destroy/Makefile.in
@@ -3,7 +3,7 @@ LDFLAGS = -g
ISODELIB=@ISODELIB@
COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a
-DBMLIB=
+DBMLIB=@DBMLIB@
KDBLIB=$(TOPLIBD)/libkdb5.a
all::
diff --git a/src/admin/destroy/configure.in b/src/admin/destroy/configure.in
index 340d34d3c..3b82e589d 100644
--- a/src/admin/destroy/configure.in
+++ b/src/admin/destroy/configure.in
@@ -4,6 +4,9 @@ CONFIG_RULES
AC_SET_BUILDTOP
AC_HAVE_LIBRARY(socket)
AC_HAVE_LIBRARY(nsl)
+AC_HAVE_LIBRARY(ndbm, DBMLIB="-lndbm")
+AC_HAVE_LIBRARY(dbm, DBMLIB="-ldbm")
+AC_SUBST(DBMLIB)
KRB_INCLUDE
ISODE_INCLUDE
WITH_KRB5ROOT