From 0c3b2b6d49d6761e1d4a0c45b830155c28736f47 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Tue, 30 Oct 1990 15:57:28 +0000 Subject: [PATCH] changes for local unifdef support git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1377 dc483132-0cff-0310-8789-dd5450dbe970 --- src/config/Project.tmpl | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/config/Project.tmpl b/src/config/Project.tmpl index 8024af63b..2e447cac0 100644 --- a/src/config/Project.tmpl +++ b/src/config/Project.tmpl @@ -13,7 +13,7 @@ #define PerlCmd perl #endif #ifndef UnifdefCmd -#define UnifdefCmd unifdef +#define UnifdefCmd $(UNIFDEFSRC)/unifdef #endif #ifndef CompileEtCmd #define CompileEtCmd $(ETSRC)/compile_et @@ -214,11 +214,11 @@ P_STDLIBH=-UHasStdlibHTrue POSY = PosyCmd TOUCH = TouchCmd PERL = PerlCmd - UNIFDEF = UnifdefCmd PROCESS_DEFINES = $(P_TERMIOS) $(P_FLOCKS) $(P_TYPES) $(P_SIGTYPE) $(P_STRINGH) $(P_BITSIZE) $(P_DBM) $(P_INET) $(P_STDLIBH) -DUnifdefRan DESDEFINES = DesDefines ETSRC = $(TOP)/comerr SSSRC = $(TOP)/ss + UNIFDEFSRC = $(TOP)/util/unifdef OSLIB = $(TOP)/lib/os/libos.a DESLIB = $(TOP)/lib/des/libdes.a KRB5LIB = $(TOP)/lib/libkrb5.a @@ -255,3 +255,8 @@ P_STDLIBH=-UHasStdlibHTrue COMERRLIB = ComErrLib COMPILE_ET = CompileEtCmd #endif +#ifdef UseUnifdefInstalled + UNIFDEF = unifdef +#else + UNIFDEF = UnifdefCmd +#endif -- 2.26.2