From: John Kohl Date: Wed, 5 Sep 1990 12:15:29 +0000 (+0000) Subject: add support for separate com_err and ss libs X-Git-Tag: krb5-1.0-alpha2~330 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5861c6f0bbbf3e88cd5b19a09cc4861aad126de7;p=krb5.git add support for separate com_err and ss libs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1081 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/config/Project.tmpl b/src/config/Project.tmpl index e63db4038..fef9d19e2 100644 --- a/src/config/Project.tmpl +++ b/src/config/Project.tmpl @@ -144,17 +144,22 @@ libdir/lib/**/libname.a: @@\ IMAKE = imake /* assume BINDIR in path */ DEPEND = makedepend /* assume BINDIR in path */ MKDIRHIER = BourneShell $(BINDIR)/mkdirhier.sh - COMPILE_ET = compile_et - MK_CMDS = mk_cmds - SSLIB = -lss - COMERRLIB = -lcom_err #else IMAKE = $(IMAKESRC)/imake DEPEND = DependCmd MKDIRHIER = BourneShell $(SCRIPTSRC)/mkdirhier.sh - COMPILE_ET = CompileEtCmd - MK_CMDS = MkCmdsCmd +#endif +#ifdef UseSSInstalled + SSLIB = -lss + MK_CMDS = mk_cmds +#else SSLIB = SSLib + MK_CMDS = MkCmdsCmd +#endif +#ifdef UseComErrInstalled + COMERRLIB = -lcom_err + COMPILE_ET = compile_et +#else COMERRLIB = ComErrLib + COMPILE_ET = CompileEtCmd #endif - diff --git a/src/config/site.def b/src/config/site.def index 0204847bc..78c2971ad 100644 --- a/src/config/site.def +++ b/src/config/site.def @@ -262,4 +262,11 @@ #define IsodeLib /mit/isode/isode-6.0/@sys/lib/libisode.a #define IsodeDir /mit/isode/isode-6.0 -/* #define HasVfprintf -- turn on if you have vfprintf/vsprintf in libc */ +/* #define HasVfprintf -- turn on if you have vfprintf/vsprintf in libc + (might want to be in the architecture-specific + configuration file) */ + +#define UseSSInstalled /* -- turn on if you have the SS library &c installed */ + +#define UseComErrInstalled /* -- turn on if you have the com_err library + &c installed */