fixes to suck in -lndbm or -ldbm as needed
authorTom Yu <tlyu@mit.edu>
Thu, 7 Jul 1994 03:07:30 +0000 (03:07 +0000)
committerTom Yu <tlyu@mit.edu>
Thu, 7 Jul 1994 03:07:30 +0000 (03:07 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3958 dc483132-0cff-0310-8789-dd5450dbe970

src/kdc/ChangeLog
src/kdc/Makefile.in
src/kdc/configure.in

index 18fb1e92e32ced505914f5e0eb2099017ffe71cd..65f520e5e6baad1759b04a9c576df60f970a60d9 100644 (file)
@@ -1,3 +1,8 @@
+Wed Jul  6 22:54:59 1994  Tom Yu  (tlyu at dragons-lair)
+
+       * configure.in:
+       * Makefile.in: fixes to suck in -lndbm or -ldbm if needed
+
 Tue Jun 28 19:43:54 1994  Tom Yu  (tlyu at dragons-lair)
 
        * main.c: fix explicit calls to initialize_foo_error_table
index eeebf2b4a5a542bd43d1341633eecf5c473bd7df..6ef0865f2eba97167d3e106a363f4f5db42542db 100644 (file)
@@ -6,7 +6,7 @@ LDFLAGS = -g
 
 ISODELIB=@ISODELIB@
 COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a
-DBMLIB=
+DBMLIB=@DBMLIB@
 KDBLIB=$(TOPLIBD)/libkdb5.a 
 
 KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) $(DBMLIB)
index 7ccf4edc394cfbb4313a5c760ee54e72f8e9b71b..7e27c04526e14075e12f80c05e8092d4666d9275 100644 (file)
@@ -10,6 +10,9 @@ KRB_INCLUDE
 ISODE_INCLUDE
 WITH_KRB4
 WITH_KRB5ROOT
+AC_HAVE_LIBRARY(ndbm, DBMLIB="-lndbm")
+AC_HAVE_LIBRARY(dbm, DBMLIB="-ldbm")
+AC_SUBST(DBMLIB)
 AC_WITH([krb4],
 ADD_DEF(-DKRB4)
 ADD_DEF(-DBACKWARD_COMPAT)