Added strerror to the release; fixed usage of Has* in the config Imakefile
authorTheodore Tso <tytso@mit.edu>
Mon, 17 Jan 1994 17:39:43 +0000 (17:39 +0000)
committerTheodore Tso <tytso@mit.edu>
Mon, 17 Jan 1994 17:39:43 +0000 (17:39 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3350 dc483132-0cff-0310-8789-dd5450dbe970

src/config/Project.tmpl
src/lib/krb5/posix/Imakefile

index 92cd39752b518b316b1793ed20bf8e08a118a83c..9ef9cfb4f0bfbac9d87381e2135d70cea4c500fe 100644 (file)
 #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 = \
index ef8c871155b980ae7cdefad08da33898e2411267..2cd451e2399915e712bb8a6b30180da1e4bbe190 100644 (file)
 #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)