summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1991-03-21 10:20:46 +0000
committerJohn Kohl <jtkohl@mit.edu>1991-03-21 10:20:46 +0000
commit3ae1f73bfb71cfe01695bf329893cc82516da655 (patch)
treea797dddac732efb4d58c09c468618eaaa3f9be85 /src
parent6c654fbada6ced85dc69b91028402f0d03a9d18a (diff)
downloadkrb5-3ae1f73bfb71cfe01695bf329893cc82516da655.tar.gz
krb5-3ae1f73bfb71cfe01695bf329893cc82516da655.tar.xz
krb5-3ae1f73bfb71cfe01695bf329893cc82516da655.zip
add HESIOD stuff
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1934 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/config/Project.tmpl10
-rw-r--r--src/config/site.def6
2 files changed, 15 insertions, 1 deletions
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. */