From aef3eee60a05c3c8b9d48047b93170cf24ed6ef3 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Fri, 2 Jul 1993 20:00:44 +0000 Subject: [PATCH] Added new configuration variable to take into account ISODE 7.0 versus older versions of ISODE. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2616 dc483132-0cff-0310-8789-dd5450dbe970 --- src/config/Project.tmpl | 4 ++++ src/config/site.def | 9 ++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/config/Project.tmpl b/src/config/Project.tmpl index 7e49fc277..50ae9b33a 100644 --- a/src/config/Project.tmpl +++ b/src/config/Project.tmpl @@ -31,8 +31,12 @@ #define ComErrLib -L$(TOPLIBD) -lcom_err #endif #ifndef PepsyFlags +#ifdef ISODE7 #define PepsyFlags -f -h0 -a -s -C /* -h2 breaks pepsy, ARRGH! */ +#else +#define PepsyFlags -f -h0 -a -s +#endif /* ISODE7 */ #endif #ifndef PepsyCmd #define PepsyCmd pepsy diff --git a/src/config/site.def b/src/config/site.def index e09c54785..93a6d382d 100644 --- a/src/config/site.def +++ b/src/config/site.def @@ -138,7 +138,7 @@ #if defined(AIXArchitecture) && OSMajorVersion == 1 #define ExtraLoadFlags -T0x400000 #else -#if !defined(UltrixArchitecture) && !defined(AIXArchitecture) && !defined(SunArchitecture) +#if !defined(UltrixArchitecture) && !defined(AIXArchitecture) && !defined(SunArchitecture) && !defined(LinuxArchitecture) #define ExtraLoadFlags -Z #endif #endif @@ -175,6 +175,13 @@ #define IsodeLib -L/mit/isode/isode-7.0/@sys/lib -lisode #define IsodeIncls /mit/isode/isode-7.0/@sys/include +/* + * #define ISODE 7 only if you are using ISODE 7.0 or later. + */ +#ifndef LinuxArchitecture +#define ISODE7 +#endif + /* Re-define PepsyCmd if pepsy isn't in your search path. */ #define PepsyCmd IsodeDir/@sys/bin/pepsy -- 2.26.2