From 0ec8de3c68474b2d31913b0bcf429e2e8b9e0642 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Mon, 29 Oct 1990 11:51:05 +0000 Subject: [PATCH] stdlib_h stuff now in config.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1354 dc483132-0cff-0310-8789-dd5450dbe970 --- src/config/Project.tmpl | 7 ++++++- src/config/ultrix.cf | 1 + src/config/vaxbsd.cf | 5 +++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/config/Project.tmpl b/src/config/Project.tmpl index 5066e4cd1..8024af63b 100644 --- a/src/config/Project.tmpl +++ b/src/config/Project.tmpl @@ -192,6 +192,11 @@ P_INET=-DHasInetTrue #else P_INET=-UHasInetTrue #endif +#if HasStdlibH +P_STDLIBH=-DHasStdlibHTrue +#else +P_STDLIBH=-UHasStdlibHTrue +#endif /* * Default Definitions. @@ -210,7 +215,7 @@ P_INET=-UHasInetTrue TOUCH = TouchCmd PERL = PerlCmd UNIFDEF = UnifdefCmd - PROCESS_DEFINES = $(P_TERMIOS) $(P_FLOCKS) $(P_TYPES) $(P_SIGTYPE) $(P_STRINGH) $(P_BITSIZE) $(P_DBM) $(P_INET) -DUnifdefRan + 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 diff --git a/src/config/ultrix.cf b/src/config/ultrix.cf index 3ec1b2d09..eaee60361 100644 --- a/src/config/ultrix.cf +++ b/src/config/ultrix.cf @@ -16,6 +16,7 @@ #define HasPosixTermios YES #define HasPosixFileLocks YES #define HasStringH YES +#define HasStdlibH NO #define HasInet YES #define HasPutenv YES #define HasBsearch YES diff --git a/src/config/vaxbsd.cf b/src/config/vaxbsd.cf index da5652d20..259593642 100644 --- a/src/config/vaxbsd.cf +++ b/src/config/vaxbsd.cf @@ -16,7 +16,7 @@ /* Saber bug doesn't allow deref through const *'s */ #ifdef VaxArchitecture -#define SaberDefines -I/mit/gnu/vaxlib/gcc-include -Dconst= -DBITS32 -DNO_STDLIB_H +#define SaberDefines -I/mit/gnu/vaxlib/gcc-include -Dconst= -DBITS32 #else #define SaberDefines -Dconst= -DBITS32 #endif @@ -25,13 +25,14 @@ #define HasPosixTermios NO #define HasPosixFileLocks NO #define HasStringH YES +#define HasStdlibH NO #define Bitsize32 #define HasSaberC YES #ifdef VaxArchitecture #define UnalignedReferencesAllowed YES /* if arbitrary deref is okay */ -#define StandardDefines -DBITS32 -DNO_STDLIB_H +#define StandardDefines -DBITS32 #define DesDefines -DBIG -DLSBFIRST #undef HasGcc #define HasGcc YES -- 2.26.2