1 XCOMM $XConsortium: isc.cf /main/1 1996/10/31 14:45:18 kaleb $
5 XCOMM platform: $XFree86: xc/config/cf/isc.cf,v 3.11.2.1 1998/02/15 16:08:33 hohndel Exp $
11 /* INTERACTIVE UNIX SYSTEM (IUS) Version 3.x 4.x */
14 # define ISCVerDef -DISC40 -DISC30
15 # define OSVendor (IUS Version 4.x)
17 # if IscVersion == 300
18 # define ISCVerDef -DISC30
19 # define OSVendor (ISC Version 3.0)
21 # if IscVersion == 202
22 # define OSVendor (ISC Version 2.0.2)
23 # define ISCVerDef -DISC202
25 # define OSVendor (ISC Version 2.2.1)
26 # define ISCVerDef -DISC22
31 /* gcc 2.7.2 tested Optimization Flags */
32 #ifndef DefaultGcc2i386Opt
33 # define DefaultGcc2i386Opt -m486 -O2 -fno-strength-reduce -malign-loops=2 -malign-jumps=2 -malign-functions=2
34 /* -fomit-frame-pointer */
37 /* For a POSIXized build on Interactive maybe needed to use gcc2.7.2 */
43 #define IscCompileVersion 410
46 #if !defined(IscCompileVersion) && IscVersion < 410
47 /* ISC 4.0 compatible */
48 #define IscCompileVersion 400
51 #if IscCompileVersion == 400
53 /* binaries which should run on ISC 4.0 or for the build on a real 4.0 System */
56 /* for compatibility with ISC 4.0 - reported by Ami Fischmann */
57 /* troubles when linking with libX11.a build on ISC4.1 and used with 4.0 */
58 # define HasSnprintf NO
59 # define UseXwctomb YES
63 #if defined(UseXwctomb)
64 # define XwctombDefine -DUSE_XMBTOWC
66 # define XwctombDefine
70 # define IscCompatDefines XwctombDefine -DUSE_CHMOD
72 # define IscCompatDefines XwctombDefine
76 # define PosixDefines -posix -D_SYSV3 -D_POSIX_SOURCE
81 #define OSDefines -DISC ISCVerDef IscCompatDefines
84 #define OSName Unix System V/386 Release 3.2
85 #define OSMajorVersion 3
86 #define OSMinorVersion 2
88 #ifndef OSMajorVersion
89 #define OSMajorVersion DefaultOSMajorVersion
91 #ifndef OSMinorVersion
92 #define OSMinorVersion DefaultOSMinorVersion
94 #ifndef OSTeenyVersion
95 #define OSTeenyVersion DefaultOSTeenyVersion
99 #define OSName INTERACTIVE UNIX System V/386 Release 3.2
102 XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVersion)
104 /* Note, cpp already does -Di386 */
105 #define BootstrapCFlags OSDefines -DSYSV
108 # define LocalLibraries -lpt
109 # define PosixLibraries -lcposix
111 # define LocalLibraries MallocLibrary -lpt
112 # define PosixLibraries
115 #define SocketLibraries -linet
117 #ifndef GnuMallocLibrary
119 # define GnuMallocLibrary -L/usr/local/lib -lgmalloc
121 # define GnuMallocLibrary /usr/local/lib/libgmalloc.a
125 #ifndef MallocLibrary
127 # define MallocLibrary GnuMallocLibrary
129 # define MallocLibrary -lmalloc
133 #ifndef ExtraLibraries
135 # define ExtraLibraries SocketLibraries LocalLibraries MallocLibrary PosixLibraries
137 # define ExtraLibraries SocketLibraries LocalLibraries PosixLibraries
141 /* Don't know if this is necessary, but it avoids breaking the current setup */
142 #define MallocLibraries /**/
145 #define XawI18nDefines -DUSE_XWCHAR_STRING
147 #define XawI18nDefines -DUSE_XWCHAR_STRING -DUSE_XMBTOWC
151 #define MathLibrary -loptm
155 #define InlineMathDefines -DUseInlineMath
157 #define ServerExtraSysLibs $(CBRT) MathLibrary
161 #ifndef ServerExtraSysLibs
162 #define ServerExtraSysLibs $(CBRT)
165 #define ServerExtraDefines SVR3mmapFlags XFree86ServerDefines
169 # define HasSymLinks YES
176 #define HasSnprintf YES
180 #define HasLibCrypt YES
181 #define SpecialLibCrypt -lcrypt
184 #ifndef DefaultCDebugFlags
186 # define DefaultCDebugFlags DefaultGcc2i386Opt PosixDefines InlineMathDefines
188 # define DefaultCDebugFlags -O PosixDefines InlineMathDefines
196 #ifndef DefaultCplusplusOptions
197 #define DefaultCplusplusOptions -fno-implicit-templates
200 #ifndef ConnectionFlags
201 #define ConnectionFlags -DLOCALCONN -DTCPCONN
202 /* -DSTREAMSCONN -DUNIXCONN -- does not work on ISC SVR3 */
205 #define CompressManCmd $(COMPRESS) -v
207 #define XmanSearchPath /usr/catman
209 #ifndef RemoveDSDENroffMacros
210 #define RemoveDSDENroffMacros YES