From 3ae1f73bfb71cfe01695bf329893cc82516da655 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Thu, 21 Mar 1991 10:20:46 +0000 Subject: [PATCH] add HESIOD stuff git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1934 dc483132-0cff-0310-8789-dd5450dbe970 --- src/config/Project.tmpl | 10 +++++++++- src/config/site.def | 6 ++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/src/config/Project.tmpl b/src/config/Project.tmpl index b135e8340..b5c09d967 100644 --- a/src/config/Project.tmpl +++ b/src/config/Project.tmpl @@ -52,7 +52,12 @@ #ifndef ExtraIncludes #define ExtraIncludes /**/ #endif - +#ifndef HesiodDefines +#define HesiodDefines /**/ +#endif +#ifndef HesiodLibs +#define HesiodLibs /**/ +#endif #ifndef DesDefines #define DesDefines YouMustFigureOutYourDesDefines #endif @@ -261,6 +266,9 @@ P_PROTOS=-UUseNarrowPrototypes IMAKE = ImakeCmd DEPEND = DependCmd UNIFDEF = UnifdefCmd + HESDEFS = HesiodDefines + HESLIBS = HesiodLibs + PROCESS_DEFINES = $(P_TERMIOS) $(P_FLOCKS) $(P_TYPES) $(P_SIGTYPE) $(P_STRINGH) $(P_BITSIZE) $(P_DBM) $(P_INET) $(P_STDLIBH) $(P_TIME_DEFS) $(P_PROTOS) -DUnifdefRan DESDEFINES = DesDefines TOPLIBD = $(TOP)/lib diff --git a/src/config/site.def b/src/config/site.def index 14de28837..c92636e09 100644 --- a/src/config/site.def +++ b/src/config/site.def @@ -74,6 +74,12 @@ #define DbmLib -ldbm #endif +/* If you have the Hesiod software and libraries installed, and want to + use it in some application programs, then turn these on. If they're + not turned on, they are left empty in Project.tmpl */ +#define HesiodDefines -DHESIOD +#define HesiodLibs -lhesiod + /* define IsodeLib to be what you pass to the loader to find the ISODE library. This might want to be -lisode if you have it installed. IsodeDir is put into the 'make' variable ISODE. */ -- 2.26.2