From 4216897b769629d0983b5eda0e465519e4adfc55 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Wed, 9 May 1990 16:40:16 +0000 Subject: [PATCH] fixes for NDBM/DBM stuff git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@807 dc483132-0cff-0310-8789-dd5450dbe970 --- src/config/Project.tmpl | 2 +- src/config/site.def | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/config/Project.tmpl b/src/config/Project.tmpl index ff70e3f12..9d0f8cbd7 100644 --- a/src/config/Project.tmpl +++ b/src/config/Project.tmpl @@ -120,7 +120,7 @@ libdir/lib/**/libname.a: @@\ $(TOP)/lib/crc-32/libcrc32.a KLIB = $(DEPKLIB) $(ISODE)/@sys/lib/libisode.a -ldes -lcom_err - KDBLIB = $(TOP)/lib/kdb/libkdb.a + KDBLIB = $(TOP)/lib/kdb/libkdb.a DbmLib #ifdef UseInstalled IMAKE = imake /* assume BINDIR in path */ diff --git a/src/config/site.def b/src/config/site.def index f47c742f7..848d58c26 100644 --- a/src/config/site.def +++ b/src/config/site.def @@ -103,6 +103,8 @@ #ifdef MipsArchitecture #define ArCmd ar cru #define LintLibFlag -o +#undef HasNdbm +#define HasNdbm NO #endif /* General */ @@ -248,3 +250,9 @@ #endif #define ExtraLoadFlags -Z #endif + +#if HasNdbm +#define DbmLib +#else +#define DbmLib -ldbm +#endif -- 2.26.2