PS/2 support
authorJohn Carr <jfc@mit.edu>
Tue, 28 May 1991 16:12:57 +0000 (16:12 +0000)
committerJohn Carr <jfc@mit.edu>
Tue, 28 May 1991 16:12:57 +0000 (16:12 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2119 dc483132-0cff-0310-8789-dd5450dbe970

src/config/ibm.cf

index 7c1d1a5b1e71a82c446fd13679a02d795873a2cf..9efa83ff34f5112b41314b2c87d1994736189ff5 100644 (file)
@@ -20,7 +20,7 @@
 /* If you have a STDC compiler cobbled together from High C, use these
    two lines: */
 #undef CcCmd
-#define CcCmd c89 -Dunix
+#define CcCmd c89 -Dunix -H+w
 
 #define        Bitsize32
 
 
 #define DesDefines -DBIG -DMSBFIRST -DMUSTALIGN
 
-#else  /* AIX on Risc 6000 */
+#else  /* AIX on Risc 6000 or PS/2 */
 
+#ifdef PS2Architecture
+#define        OSName                  AIX 1.2.1
+#define        OSMajorVersion          1
+#define        OSMinorVersion          2
+#else
 #define        OSName                  AIX 3.1
 #define        OSMajorVersion          3
 #define        OSMinorVersion          1
+#endif
 
-#define        BitSize32
+#define        Bitsize32
 
 #define        HasNdbm                 YES
 #define        HasVoidSignalReturn     YES
 #define        HasSaberC               NO
-#define        HasStdlibH              YES
+#define        HasStdlibH              2               /* Always use <stdlib.h> */
 #define        HasStringH              YES
 #define        HasPosixTermios         YES
 #define        HasPosixFileLocks       YES
 #define        HasPosixTypes           YES
 
 #define        HasInet                 YES
+#ifdef PS2Architecture
+#define        WantPrototypes          YES
+#else
 #define        NeedNarrowPrototypes    YES
+#endif
+#ifdef PS2Architecture
+#define DesDefines -DBIG -DLSBFIRST
+#else
 #define DesDefines -DBIG -DMSBFIRST -DMUSTALIGN
+#endif
 
 #endif /* RT */
 
 #define DefaultCDebugFlags OptimizedCDebugFlags
+