isc.cf revision 11d341ca
1XCOMM $Xorg: isc.cf,v 1.3 2000/08/17 19:41:47 cpqbld Exp $ 2 3 4 5XCOMM platform: $XFree86: xc/config/cf/isc.cf,v 3.15 1999/07/10 12:17:09 dawes Exp $ 6 7#ifndef HasGcc2 8#define HasGcc2 YES 9#endif 10 11/* INTERACTIVE UNIX SYSTEM (IUS) Version 3.x 4.x */ 12 13#if IscVersion > 300 14# define ISCVerDef -DISC40 -DISC30 15# define OSVendor (IUS Version 4.x) 16#else 17# if IscVersion == 300 18# define ISCVerDef -DISC30 19# define OSVendor (ISC Version 3.0) 20# else 21# if IscVersion == 202 22# define OSVendor (ISC Version 2.0.2) 23# define ISCVerDef -DISC202 24# else 25# define OSVendor (ISC Version 2.2.1) 26# define ISCVerDef -DISC22 27# endif 28# endif 29#endif 30 31/* Disable the use of /var/X11 */ 32#ifndef HasVarDirectory 33#define HasVarDirectory NO 34#endif 35 36/* Use mmap Driver */ 37#ifndef HasSVR3mmapDrv 38# define HasSVR3mmapDrv YES 39#endif 40 41#ifndef BuildXF86DRI 42# define BuildXF86DRI NO 43#endif 44 45#ifndef UseDeprecatedKeyboardDriver 46#define UseDeprecatedKeyboardDriver YES 47#endif 48 49/* 50 * disable building DRI support into video drivers, which can be done 51 * even on platforms that don't have functional DRI support. 52 * maybe not on ISC ? (mr 28.06.1999) 53 */ 54#ifndef BuildXF86DRIDriverSupport 55#define BuildXF86DRIDriverSupport NO 56#endif 57 58/* to use inline Math from linux ;-) package inline-math-2.6.tar.gz */ 59/* you should first install the package, available on your favorite linux ftp */ 60/* and define UseInlineMath YES inside host.def */ 61#ifndef UseInlineMath 62# define UseInlineMath NO 63#endif 64 65/* You could use cbrt from liboptm.a (Interactive icc Compiler) */ 66/* define to YES inside host.def */ 67#ifndef HasCbrt 68# define HasCbrt NO 69#endif 70 71/* Use GNUs MallocLibrary */ 72#ifndef UseGnuMalloc 73# define UseGnuMalloc NO 74#endif 75 76/* Install Zlib Headers - used in lib/zlib/Imakefile */ 77#ifndef OsNeedZlibHeaders 78# define OsNeedZlibHeaders YES 79#endif 80 81/* Expand Manual Pages (needs S5L) */ 82#ifndef ExpandManNames 83# define ExpandManNames NO 84#endif 85 86/* if you haven't groff or the TextProcessingWorkbench - do preformat*/ 87#ifndef FormattedManPages 88# define FormattedManPages YES 89#endif 90 91#ifndef HasPosixRegex /* Need extra/regex since 3.9Ns */ 92#define HasPosixRegex NO 93#endif 94 95#ifndef DoLoadableServer 96#define DoLoadableServer YES 97#endif 98 99#ifndef CpuOption 100#define CpuOption -m486 101#endif 102 103/* gcc 2.7.2/2.8.1 tested Optimization Flags */ 104#ifndef DefaultGcc2i386Opt 105#define DefaultGcc2i386Opt -O2 CpuOption -fno-strength-reduce GccWarningOptions 106#endif 107 108/* For a POSIXized build on Interactive maybe needed to use gcc2.7.2 */ 109#ifndef UsePosix 110# define UsePosix YES 111#endif 112 113/* ISC 4.1Mu 114#define IscCompileVersion 410 115*/ 116 117#if !defined(IscCompileVersion) && IscVersion < 410 118/* ISC 4.0 compatible */ 119#define IscCompileVersion 400 120#endif 121 122#if IscCompileVersion == 400 123 124/* binaries which should run on ISC 4.0 or for the build on a real 4.0 System */ 125# define UseChmod YES 126 127/* for compatibility with ISC 4.0 - reported by Ami Fischmann */ 128/* troubles when linking with libX11.a build on ISC4.1 and used with 4.0 */ 129# define HasSnprintf NO 130# define UseXwctomb YES 131 132#endif 133 134#if defined(UseXwctomb) 135# define XwctombDefine -DUSE_XMBTOWC 136#else 137# define XwctombDefine 138#endif 139 140#if defined(UseChmod) 141# define IscCompatDefines XwctombDefine -DUSE_CHMOD 142#else 143# define IscCompatDefines XwctombDefine 144#endif 145 146#ifdef UsePosix 147# define PosixDefines -posix -D_SYSV3 -D_POSIX_SOURCE 148#else 149# define PosixDefines 150#endif 151 152#define OSDefines -DISC ISCVerDef IscCompatDefines 153 154/* 155#define OSName Unix System V/386 Release 3.2 156#define OSMajorVersion 3 157#define OSMinorVersion 2 158*/ 159#ifndef OSMajorVersion 160#define OSMajorVersion DefaultOSMajorVersion 161#endif 162#ifndef OSMinorVersion 163#define OSMinorVersion DefaultOSMinorVersion 164#endif 165#ifndef OSTeenyVersion 166#define OSTeenyVersion DefaultOSTeenyVersion 167#endif 168 169#ifndef OSName 170#define OSName INTERACTIVE UNIX System V/386 Release 3.2 171#endif 172 173XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVersion) 174 175/* Note, cpp already does -Di386 */ 176#define BootstrapCFlags OSDefines -DSYSV 177 178#if IscVersion > 202 179# define LocalLibraries -lpt 180# define PosixLibraries -lcposix 181#else 182# define LocalLibraries MallocLibrary -lpt 183# define PosixLibraries 184#endif 185 186#define SocketLibraries -linet 187 188#ifndef GnuMallocLibrary 189#ifndef UseIscLd 190# define GnuMallocLibrary -L/usr/local/lib -lgnumalloc 191#else 192# define GnuMallocLibrary /usr/local/lib/libgmalloc.a 193#endif 194#endif 195 196#ifndef MallocLibrary 197# if UseGnuMalloc 198# define MallocLibrary GnuMallocLibrary 199# else 200# define MallocLibrary -lmalloc 201# endif 202#endif 203 204#ifndef ExtraLibraries 205# if UseGnuMalloc 206# define ExtraLibraries SocketLibraries LocalLibraries MallocLibrary PosixLibraries 207# else 208# define ExtraLibraries SocketLibraries LocalLibraries PosixLibraries 209# endif 210#endif 211 212#if UseXwctomb 213#define XawI18nDefines -DUSE_XWCHAR_STRING 214#else 215#define XawI18nDefines -DUSE_XWCHAR_STRING -DUSE_XMBTOWC 216#endif 217 218#if HasCbrt 219#define MathLibrary -loptm 220#endif 221 222#ifdef UseInlineMath 223#define InlineMathDefines -DUseInlineMath 224#if !HasCbrt 225#define ServerExtraSysLibs $(CBRT) MathLibrary 226#endif 227#else 228#define InlineMathDefines 229#endif 230 231#ifndef ServerExtraSysLibs 232#define ServerExtraSysLibs $(CBRT) 233#endif 234 235#define ServerExtraDefines SVR3mmapFlags XFree86ServerDefines 236 237#if IscVersion > 300 238# ifndef HasSymLinks 239# define HasSymLinks YES 240# endif 241#endif 242 243#define HasShm YES 244 245#ifndef HasSnprintf 246#define HasSnprintf YES 247#endif 248 249#ifndef HasLibCrypt 250#define HasLibCrypt YES 251#define SpecialLibCrypt -lcrypt 252#endif 253 254#ifndef DefaultCDebugFlags 255# if HasGcc2 256# define DefaultCDebugFlags DefaultGcc2i386Opt PosixDefines InlineMathDefines 257# else 258# define DefaultCDebugFlags -O PosixDefines InlineMathDefines 259# endif 260#endif 261 262#if HasGcc2 263# define CcCmd gcc 264#endif 265 266#ifndef DefaultCplusplusOptions 267#define DefaultCplusplusOptions -fno-implicit-templates 268#endif 269 270#ifndef ConnectionFlags 271#define ConnectionFlags -DLOCALCONN -DTCPCONN 272/* -DSTREAMSCONN -DUNIXCONN -- does not work on ISC SVR3 */ 273#endif 274 275#define CompressManCmd $(COMPRESS) -v 276 277#define XmanSearchPath /usr/catman 278 279#ifndef RemoveDSDENroffMacros 280#define RemoveDSDENroffMacros YES 281#endif 282 283#include <svr3.cf> 284 285