summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1990-10-29 11:51:05 +0000
committerJohn Kohl <jtkohl@mit.edu>1990-10-29 11:51:05 +0000
commit0ec8de3c68474b2d31913b0bcf429e2e8b9e0642 (patch)
treef9bd8c059826d115fe80bc8b48b0916d24a063be /src
parentf44f6ea97aa7ebc4d58cef725a31190039f1fb3f (diff)
stdlib_h stuff now in config.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1354 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/config/Project.tmpl7
-rw-r--r--src/config/ultrix.cf1
-rw-r--r--src/config/vaxbsd.cf5
3 files changed, 10 insertions, 3 deletions
diff --git a/src/config/Project.tmpl b/src/config/Project.tmpl
index 5066e4cd17..8024af63b1 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 3ec1b2d09c..eaee603610 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 da5652d201..259593642f 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