From: Theodore Tso Date: Mon, 17 Jan 1994 17:39:43 +0000 (+0000) Subject: Added strerror to the release; fixed usage of Has* in the config Imakefile X-Git-Tag: krb5-1.0-beta3~16 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5d54802ccdb484507af9d55ec0eedd9cd5b18de8;p=krb5.git Added strerror to the release; fixed usage of Has* in the config Imakefile git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3350 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/config/Project.tmpl b/src/config/Project.tmpl index 92cd39752..9ef9cfb4f 100644 --- a/src/config/Project.tmpl +++ b/src/config/Project.tmpl @@ -142,6 +142,19 @@ #endif #endif +#ifndef HasVfprintf +#define HasVfprintf NO +#endif +#ifndef HasVsyslog +#define HasVsyslog NO +#endif +#ifndef HasStrdup +#define HasStrdup NO +#endif +#ifndef HasStrerror +#define HasStrerror NO +#endif + /* Hack around sun cpp bug */ PEPSY_WARNING_STRING = \ diff --git a/src/lib/krb5/posix/Imakefile b/src/lib/krb5/posix/Imakefile index ef8c87115..2cd451e23 100644 --- a/src/lib/krb5/posix/Imakefile +++ b/src/lib/krb5/posix/Imakefile @@ -25,30 +25,33 @@ #define PassCDebugFlags NormalLibraryObjectRule() -#ifdef HasVfprintf +#if HasVfprintf VPOBJS= VPSRCS= #else VPOBJS=vfprintf.o vsprintf.o VPSRCS=$(SRCDIR)vfprintf.c $(SRCDIR)vsprintf.c #endif -#ifdef HasVsyslog +#if HasVsyslog VSOBJS= VSSRCS= #else VSOBJS=syslog.o VSSRCS=$(SRCDIR)syslog.c #endif -#ifdef HasStrdup +#if HasStrdup STOBJS= STSRCS= #else STOBJS=strdup.o STSRCS=$(SRCDIR)strdup.c #endif -#ifndef HasStrerror -PEOBJS=perror.o -PESRCS=$(SRCDIR)perror.c +#if HasStrerror +PEOBJS= +PESRCS= +#else +PEOBJS=strerror.o +PESRCS=$(SRCDIR)strerror.c #endif INCLUDES=$(STDC_TOP_INCLUDES)