summaryrefslogtreecommitdiffstats
path: root/src/admin/edit
diff options
context:
space:
mode:
Diffstat (limited to 'src/admin/edit')
-rw-r--r--src/admin/edit/Makefile.in2
-rw-r--r--src/admin/edit/configure.in3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/admin/edit/Makefile.in b/src/admin/edit/Makefile.in
index ac6138d69a..86b2ea628e 100644
--- a/src/admin/edit/Makefile.in
+++ b/src/admin/edit/Makefile.in
@@ -4,7 +4,7 @@ LDFLAGS = -g
ISODELIB=@ISODELIB@
COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a
SSLIB=$(BUILDTOP)/util/ss/libss.a
-DBMLIB=
+DBMLIB=@DBMLIB@
KDBLIB=$(TOPLIBD)/libkdb5.a
all::
diff --git a/src/admin/edit/configure.in b/src/admin/edit/configure.in
index c365f62a24..553627834e 100644
--- a/src/admin/edit/configure.in
+++ b/src/admin/edit/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)
AC_HAVE_FUNCS(getcwd)
SS_RULES
KRB_INCLUDE