diff options
| author | John Carr <jfc@mit.edu> | 1992-01-13 14:34:03 +0000 |
|---|---|---|
| committer | John Carr <jfc@mit.edu> | 1992-01-13 14:34:03 +0000 |
| commit | a4c2196055b5b1c164263af3d1e04d2d49bcdba9 (patch) | |
| tree | 71766adc5e9d012ca56cce20a0255c8fef87c6bc /src | |
| parent | 1602258ec8599f5d15e18a5b00346b9947b46560 (diff) | |
| download | krb5-a4c2196055b5b1c164263af3d1e04d2d49bcdba9.tar.gz krb5-a4c2196055b5b1c164263af3d1e04d2d49bcdba9.tar.xz krb5-a4c2196055b5b1c164263af3d1e04d2d49bcdba9.zip | |
New variables to describe level of ANSI C support
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2198 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
| -rw-r--r-- | src/config/ibm.cf | 20 | ||||
| -rw-r--r-- | src/config/ultrix.cf | 3 |
2 files changed, 23 insertions, 0 deletions
diff --git a/src/config/ibm.cf b/src/config/ibm.cf index 818b65047..62a9a3242 100644 --- a/src/config/ibm.cf +++ b/src/config/ibm.cf @@ -41,6 +41,9 @@ #define HasInet YES #define WantPrototypes YES #define NeedNarrowPrototypes YES +#define UseVoid YES +#define UseConst YES +#define UseVolatile YES #define HCRevision 21025 @@ -70,6 +73,7 @@ #define HasPosixTypes YES #define HasStrdup YES #define HasVfprintf YES +#define HasAnsiStdio YES #define HasInet YES /* There is a compiler bug on the PS/2 running AIX 1.2.1: @@ -78,12 +82,28 @@ #define WantPrototypes YES #define NeedNarrowPrototypes YES #define UseStdarg YES +#define UseVoid YES +#define UseVolatile YES #ifdef PS2Architecture #define DesDefines -DBIG -DLSBFIRST +/* The standard PS/2 compiler generates incorrect warnings when + "const" is used and does not make const variables read only, + so there is no reason to use const. */ +/* If you are using hc on a PS/2, you may need to use the following + options: + -Hoff=recognize_library (inlined memcpy has bugs) + -Hon=long_enums (make enums 4 bytes long for vsc compatbility) + */ #else +#define CcCmd xlc +#define UseTimeH +#define UseSysTimeH #define DesDefines -DBIG -DMSBFIRST -DMUSTALIGN +#define UseConst YES #endif +#define RanlibCmd \: + #endif /* RT */ #define DefaultCDebugFlags OptimizedCDebugFlags diff --git a/src/config/ultrix.cf b/src/config/ultrix.cf index 23dfc5123..283d9c82e 100644 --- a/src/config/ultrix.cf +++ b/src/config/ultrix.cf @@ -51,6 +51,9 @@ #define HasGcc YES */ +#define UseVolatile YES +#define UseVoid YES + #define ArCmd ar cru #define LintLibFlag -o |
