From eef9e8960a33bc024eca073daf2ccbf7fa8e3d91 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Thu, 7 Jul 1994 03:07:30 +0000 Subject: [PATCH] fixes to suck in -lndbm or -ldbm as needed git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3958 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kdc/ChangeLog | 5 +++++ src/kdc/Makefile.in | 2 +- src/kdc/configure.in | 3 +++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog index 18fb1e92e..65f520e5e 100644 --- a/src/kdc/ChangeLog +++ b/src/kdc/ChangeLog @@ -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 diff --git a/src/kdc/Makefile.in b/src/kdc/Makefile.in index eeebf2b4a..6ef0865f2 100644 --- a/src/kdc/Makefile.in +++ b/src/kdc/Makefile.in @@ -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) diff --git a/src/kdc/configure.in b/src/kdc/configure.in index 7ccf4edc3..7e27c0452 100644 --- a/src/kdc/configure.in +++ b/src/kdc/configure.in @@ -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) -- 2.26.2