Commit d7e11f5c authored by dawes's avatar dawes
Browse files

Import of XFree86 4.0.99.3

parent 98a17368
......@@ -2,7 +2,7 @@ XCOMM platform: $Xorg: FreeBSD.cf,v 1.3 2000/08/17 19:41:45 cpqbld Exp $
XCOMM
XCOMM
XCOMM
XCOMM platform: $XFree86: xc/config/cf/FreeBSD.cf,v 3.106 2001/03/02 23:01:27 dawes Exp $
XCOMM platform: $XFree86: xc/config/cf/FreeBSD.cf,v 3.108 2001/04/19 19:54:41 dawes Exp $
#ifndef UseElfFormat
#define UseElfFormat DefaultToElfFormat
......@@ -129,6 +129,15 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
#endif
#endif
/*
* 2.2.x has perl 4 by default, not perl 5.
*/
#if (OSMajorVersion <= 2)
#ifndef HasPerl5
#define HasPerl5 NO
#endif
#endif
/*
* Add an LD_LIBRARY_PATH environment variable, defined by $(CLIENTENVSETUP),
* when building X to avoid that for each client ld give the message
......@@ -452,7 +461,7 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
# define PreIncDir /usr/include
#endif
#define TroffCmd groff -Tps
#define HasGroff YES
#define NroffCmd groff -Tascii
#define SetTtyGroup YES
......
......@@ -17,13 +17,21 @@ XCOMM $Xorg: Imake.cf,v 1.4 2000/08/17 19:41:45 cpqbld Exp $
*
* 4. Create a .cf file with the name given by MacroFile.
*/
XCOMM $XFree86: xc/config/cf/Imake.cf,v 3.64 2001/01/17 16:22:29 dawes Exp $
XCOMM $XFree86: xc/config/cf/Imake.cf,v 3.67 2001/04/18 17:13:58 dawes Exp $
#if defined(__APPLE__)
# undef __APPLE__
# define MacroIncludeFile <darwin.cf>
# define MacroFile darwin.cf
# define DarwinArchitecture
# ifdef __ppc__
# define PpcDarwinArchitecture
# undef __ppc__
# endif
# ifdef __i386__
# define i386DarwinArchitecture
# undef __i386__
# endif
#endif
#if defined(clipper) || defined(__clipper__)
......@@ -41,6 +49,7 @@ XCOMM $XFree86: xc/config/cf/Imake.cf,v 3.64 2001/01/17 16:22:29 dawes Exp $
#undef i386
#undef __i386__
#undef _X86_
#undef __CYGWIN__
#endif /* CYGWIN */
#ifdef ultrix
......@@ -53,6 +62,7 @@ XCOMM $XFree86: xc/config/cf/Imake.cf,v 3.64 2001/01/17 16:22:29 dawes Exp $
# ifdef mips
# undef mips
# define MipsArchitecture
# define MipselArchitecture
# endif
# undef ultrix
# define UltrixArchitecture
......@@ -567,6 +577,7 @@ XCOMM $XFree86: xc/config/cf/Imake.cf,v 3.64 2001/01/17 16:22:29 dawes Exp $
# ifdef __mips__
# undef __mips__
# define MipsArchitecture
# define MipselArchitecture
# endif
# ifdef __alpha
# undef __alpha
......@@ -743,6 +754,11 @@ XCOMM Keep cpp from replacing path elements containing i486/i586/i686
# define MipsArchitecture
# undef mips
# undef __mips__
# if defined(MIPSEL) || defined(_MIPSEL)
# define MipselArchitecture
# endif
# undef MIPSEL
# undef _MIPSEL
# endif
XCOMM for compatibility with 3.3.x
# ifdef PpcArchitecture
......
......@@ -5,7 +5,7 @@ XCOMM
XCOMM
XCOMM
XCOMM
XCOMM rules: $XFree86: xc/config/cf/Imake.rules,v 3.93 2001/03/31 01:57:20 keithp Exp $
XCOMM rules: $XFree86: xc/config/cf/Imake.rules,v 3.94 2001/04/26 21:27:48 dawes Exp $
/*
* MACHINE-INDEPENDENT RULES; DO NOT MODIFY
......@@ -3254,7 +3254,7 @@ MutexDirective: targets
* ObjectModuleTarget - build a module as a single object file
*/
#ifndef ObjectModuleTarget
#if MakeDllModules
#if MakeDllModules && DoLoadableServer
#define ObjectModuleTarget(module,objects) @@\
DynamicModuleTarget(Concat(module,_drv.so), objects)
#else
......@@ -3267,7 +3267,7 @@ NormalRelocatableTarget(Concat(module,_drv), objects)
* LibraryModuleTarget
*/
#ifndef LibraryModuleTarget
#if MakeDllModules
#if MakeDllModules && DoLoadableServer
#define LibraryModuleTarget(module,objects) @@\
NormalLibraryTarget(module, objects) @@\
DynamicModuleTarget(Concat3(lib,module,.so), objects)
......@@ -3281,7 +3281,7 @@ NormalLibraryTarget(module, objects)
* DepLibraryModuleTarget
*/
#ifndef DepLibraryModuleTarget
#if MakeDllModules
#if MakeDllModules && DoLoadableServer
#define DepLibraryModuleTarget(module,deplist,objects) @@\
NormalDepLibraryTarget(module, deplist, objects) @@\
DepDynamicModuleTarget(Concat3(lib,module,.so), deplist, objects)
......
......@@ -5,7 +5,7 @@ XCOMM
XCOMM
XCOMM
XCOMM
XCOMM $XFree86: xc/config/cf/Imake.tmpl,v 3.97 2001/03/18 14:50:30 dawes Exp $
XCOMM $XFree86: xc/config/cf/Imake.tmpl,v 3.102 2001/04/26 21:09:38 dawes Exp $
XCOMM ----------------------------------------------------------------------
/*
......@@ -194,6 +194,10 @@ XCOMM the platform-specific parameters - edit site.def to change
#define HasPerl YES
#endif
#ifndef HasPerl5
#define HasPerl5 HasPerl
#endif
#ifndef PerlCmd
#define PerlCmd perl
#endif
......@@ -243,6 +247,10 @@ XCOMM the platform-specific parameters - edit site.def to change
#endif
#endif
#ifndef HasGroff
#define HasGroff NO
#endif
#ifndef HasCookieMaker
#define HasCookieMaker NO
#endif
......@@ -374,7 +382,7 @@ XCOMM the platform-specific parameters - edit site.def to change
#ifndef ByteOrder
#if defined(VaxArchitecture)
#define ByteOrder X_LITTLE_ENDIAN
#elif defined(MipsArchitecture) && (defined(UltrixArchitecture) || defined(OSF1Architecture))
#elif defined(MipsArchitecture) && defined(MipselArchitecture)
#define ByteOrder X_LITTLE_ENDIAN
#elif defined(MipsArchitecture)
#define ByteOrder X_BIG_ENDIAN
......@@ -1229,6 +1237,12 @@ TCLIBDIR = TclLibDir
#else
#define DependCmd $(DEPENDSRC)/gccmakedep
#endif
#elif UseCCMakeDepend
#ifdef UseInstalled /* assume BINDIR in path */
#define DependCmd ccmakedep
#else
#define DependCmd $(DEPENDSRC)/ccmakedep
#endif
#else
#ifdef UseInstalled /* assume BINDIR in path */
#define DependCmd makedepend
......@@ -1278,7 +1292,11 @@ TCLIBDIR = TclLibDir
#endif
#endif
#ifndef TroffCmd
#if HasGroff
#define TroffCmd groff -Tps
#else
#define TroffCmd troff -Tps
#endif
#endif
#ifndef NroffCmd
#define NroffCmd nroff
......@@ -1663,7 +1681,7 @@ MODLDCOMBINEFLAGS = ModuleLdCombineFlags
* LOCAL_LDFLAGS contains client-specific ld flags flags set in Imakefile
*/
ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES)
ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(PROTO_DEFINES) $(THREADS_DEFINES) $(MODULE_DEFINES) $(DEPENDDEFINES) $(DEFINES) $(EXTRA_DEFINES)
ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(PROTO_DEFINES) $(THREADS_DEFINES) $(MODULE_DEFINES) $(DEFINES) $(EXTRA_DEFINES)
CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(MODULE_CFLAGS) $(ALLDEFINES)
LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES)
LDPRELIB = LdPreLib
......@@ -1691,7 +1709,7 @@ MODLDCOMBINEFLAGS = ModuleLdCombineFlags
LDSTRIPFLAGS = LdStripFlags
LDCOMBINEFLAGS = LdCombineFlags
DEPENDFLAGS = DependFlags
DEPENDDEFINES = DependDefines
DEPEND_DEFINES = DependDefines
XCOMM Not sure this belongs here
TKLIBDIR = TkLibDir
......
......@@ -2,7 +2,7 @@ XCOMM platform: $Xorg: NetBSD.cf,v 1.3 2000/08/17 19:41:46 cpqbld Exp $
XCOMM platform: $XFree86: xc/config/cf/NetBSD.cf,v 3.92 2001/02/11 21:39:36 herrb Exp $
XCOMM platform: $XFree86: xc/config/cf/NetBSD.cf,v 3.95 2001/04/22 08:54:03 herrb Exp $
#ifndef OSName
......@@ -226,7 +226,14 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
#endif
#define StandardDefines -DCSRG_BASED
/* Citrus mb locale were added in 1.5P */
#if ((OSMajorVersion > 1) || \
(OSMajorVersion == 1 && OSMinorVersion > 5) || \
(OSMajorVersion == 1 && OSMinorVersion == 5 && OSTeenyVersion >= 15))
#define XawI18nDefines -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H
#else
#define XawI18nDefines -DUSE_XWCHAR_STRING -DUSE_XMBTOWC
#endif
#ifndef ExtraLibraries
#define ExtraLibraries /**/
......@@ -293,7 +300,7 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
#define NeqnCmd neqn -Tlatin1
#define NroffCmd nroff -Tlatin1
#define EqnCmd eqn -Tps
#define TroffCmd groff -Tps
#define HasGroff YES
/*
* To use the NetBSD Aperture driver
......@@ -524,6 +531,13 @@ sed 's/\.[0-9]*$$//'`
#define BuildServer NO
#endif
/*
* General settings for all platforms
*/
#ifndef SharedLibXdmGreet
#define SharedLibXdmGreet NO
#endif
#ifndef BuildHtmlManPages
#define BuildHtmlManPages NO /* We don't want HTML manpages */
#endif
XCOMM platform: $XFree86: xc/config/cf/OpenBSD.cf,v 3.52 2001/03/03 09:52:59 herrb Exp $
XCOMM platform: $XFree86: xc/config/cf/OpenBSD.cf,v 3.54 2001/04/22 16:28:18 herrb Exp $
XCOMM
#ifndef OSName
......@@ -86,26 +86,6 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
# endif
#endif
/*
* Multi-thread safe libs
*/
#if !defined(PpcArchitecture) && (OSMajorVersion == 2 && OSMinorVersion >= 6 || OSMajorVersion >= 3)
# define HasPosixThreads YES
# define ThreadedX YES
# define SystemMTDefines -D_REENTRANT
# if HasLibPthread
# define ThreadsLibraries -lpthread
# else
# define BuildThreadStubLibrary YES
# define NeedUIThrStubs YES
# define ThreadsCompileFlags -pthread
# define ThreadsLibraries -lc_r
# endif
#endif
/* Set this to YES when getpwuid_r is added to libc_r */
# define HasThreadSafeAPI NO
/*
* Compiler Features
*/
......@@ -145,64 +125,6 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
#define GccGasOption -DGCCUSESGAS
#define AsmDefines -DUSE_GAS
#ifdef i386Architecture
# ifndef DefaultGcc2i386Opt
# if (OSMajorVersion == 2 && OSMinorVersion >= 3) || OSMajorVersion > 2
/* The GCC strength-reduce bug is fixed for OpenBSD 2.3 and later */
# define DefaultGcc2i386Opt -O2
# endif
# endif
# define OptimizedCDebugFlags DefaultGcc2i386Opt
# define ServerOSDefines XFree86ServerOSDefines -DDDXTIME
# define ServerExtraSysLibs -li386
# define LdPostLib /**/
# define ServerExtraDefines GccGasOption XFree86ServerDefines
# ifndef XFree86ConsoleDefines
# if OSMajorVersion == 2 && OSMinorVersion <= 8
# define XFree86ConsoleDefines -DPCCONS_SUPPORT -DPCVT_SUPPORT
# else
# define XFree86ConsoleDefines -DWSCONS_SUPPORT
# endif
# endif
#endif
#ifdef SparcArchitecture
# define OptimizedCDebugFlags -O2
# define ServerOSDefines -DDDXOSINIT
# define ServerExtraDefines XFree86ServerDefines
#endif
#ifdef AlphaArchitecture
# define OptimizedCDebugFlags -O2
# define ServerOSDefines -DDDXOSINIT
# define ServerExtraDefines GccGasOption -D_XSERVER64
#endif
#ifdef ArcArchitecture
# define ServerExtraDefines GccGasOption XFree86ServerDefines
# ifndef XFree86ConsoleDefines
# define XFree86ConsoleDefines -DPCCONS_SUPPORT
# endif
#endif
#ifdef PpcArchitecture
# define OptimizedCDebugFlags -O2
# define ServerOSDefines XFree86ServerOSDefines -DDDXTIME -DDDXOSINIT
# define ServerExtraDefines GccGasOption XFree86ServerDefines
# define XkbServerDefines -DXKB_ALWAYS_USES_SOFT_REPEAT
# ifndef XFree86ConsoleDefines
# define XFree86ConsoleDefines -DWSCONS_SUPPORT
# endif
#endif /* Ppc */
#ifndef ServerOSDefines
# define ServerOSDefines /**/
#endif
#ifndef ServerExtraDefines
# define ServerExtraDefines GccGasOption
#endif
#define StandardDefines -DCSRG_BASED
#define XawI18nDefines -DUSE_XWCHAR_STRING -DUSE_XMBTOWC
......@@ -243,16 +165,10 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
#define NeqnCmd neqn -Tlatin1
#define NroffCmd nroff -Tlatin1
#define EqnCmd eqn -Tps
#define TroffCmd groff -Tps
/*
* To use the NetBSD Aperture driver
*/
#if defined(i386Architecture)
#ifndef HasNetBSDApertureDriver
#define HasNetBSDApertureDriver YES
#endif
#endif
#define HasGroff YES
/* Don't build HTML manual pages */
#define BuildRman NO
#define BuildHtmlManPages NO
#ifndef HasCookieMaker
# define HasCookieMaker YES
......@@ -385,31 +301,24 @@ install:: fonts.alias @@\
*/
#ifdef AlphaArchitecture
/*
* The code for an Alpha XF86_TGA server compiles, but it DOES NOT work
*/
# define BuildAlphaXF86 NO
# define OptimizedCDebugFlags -O2
# define ServerOSDefines -DDDXOSINIT
# define ServerExtraDefines GccGasOption -D_XSERVER64 -DXFree86Server
# if BuildAlphaXF86
# include <xf86.rules>
# endif
# define HasWeakSymbols NO
/*
* For the current ECOFF system
*/
# define HasSharedLibraries NO
# define UseElfFormat NO
/*
* For the upcoming ELF system
*/
# if 0 /* NOT YET */
# define HasSharedLibraries YES
# if (OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion >= 9))
# define UseElfFormat YES
# endif
# if 1
# define HasSharedLibraries NO
# define SharedLibXThrStub NO
# else /* NOT YET */
# define HasSharedLibraries YES
# endif
# define BuildServer YES
# define XnestServer YES
# define XVirtualFramebufferServer YES
# define XF86Server NO
# define BuildDPMSLibrary NO
# define BuildDPMSExt NO
......@@ -417,9 +326,7 @@ install:: fonts.alias @@\
# define BuildXF86DGALibrary NO
# define BuildXF86DGA NO
# if BuildAlphaXF86
# include <xfree86.cf>
# endif
# include <xfree86.cf>
#endif /* AlphaArchitecture */
......@@ -430,10 +337,15 @@ install:: fonts.alias @@\
#ifdef i386Architecture
# ifndef DoLoadableServer
# define DoLoadableServer YES
# define DoLoadableServer YES
# endif
/* To use the NetBSD Aperture driver */
# ifndef HasNetBSDApertureDriver
# define HasNetBSDApertureDriver YES
# endif
/* 2.7 and later will have support for setting MTRRs */
/* 2.7 and later have support for setting MTRRs */
# ifndef HasMTRRSupport
# if OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion > 6)
# define HasMTRRSupport YES
......@@ -442,6 +354,23 @@ install:: fonts.alias @@\
# endif
# endif
# ifndef DefaultGcc2i386Opt
# if (OSMajorVersion == 2 && OSMinorVersion >= 3) || OSMajorVersion > 2
/* The GCC strength-reduce bug is fixed for OpenBSD 2.3 and later */
# define DefaultGcc2i386Opt -O2
# endif
# endif
# define OptimizedCDebugFlags DefaultGcc2i386Opt
# define ServerOSDefines XFree86ServerOSDefines -DDDXTIME
# define ServerExtraSysLibs -li386
# define LdPostLib /**/
# define ServerExtraDefines GccGasOption XFree86ServerDefines
# ifndef XFree86ConsoleDefines
# define XFree86ConsoleDefines -DWSCONS_SUPPORT -DPCVT_SUPPORT
# endif
#define JoystickSupport NO
/* Support for USB Mices */
# ifndef UsbMouseSupport
# if OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion >= 6)
......@@ -449,9 +378,8 @@ install:: fonts.alias @@\
# endif
# endif
/*
* A hack to work around an optimization problem with gcc 2.95.2
*/
/* A hack to work around an optimization problem with gcc 2.95.2 */
# if OSMajorVersion == 2 && OSMinorVersion >= 6
# define GccOptBug295
# endif
......@@ -475,6 +403,9 @@ install:: fonts.alias @@\
*/
# define PositionIndependentCFlags -fpic -fno-function-cse
# define HasWeakSymbols NO
# define BuildGlxExt NO
# define BuildGLXLibrary YES
#endif /* Mc68020Architecture */
......@@ -489,6 +420,8 @@ install:: fonts.alias @@\
# define BuildServer NO
# endif
# define ServerExtraDefines -DXFree86Server
#endif /* AmigaArchitecture */
......@@ -497,7 +430,6 @@ install:: fonts.alias @@\
*/
#ifdef Hp300Architecture
# include <xf86.rules>
# ifndef BuildServer
# define BuildServer NO
# endif
......@@ -506,6 +438,10 @@ install:: fonts.alias @@\
# define InstallFontAliases InstallFontAliasesNoComment
# define UseRgbTxt NO
# define ServerExtraDefines -DXFree86Server
#include <xfree86.cf>
#endif /* Hp300Architecture */
......@@ -514,11 +450,15 @@ install:: fonts.alias @@\
*/
#ifdef Mac68kArchitecture
# include <xf86.rules>
# ifndef BuildServer
# define BuildServer NO
# endif
# define ServerExtraDefines -DXFree86Server
# include <xfree86.cf>
#endif /* mac68kArchitecture */
......@@ -527,11 +467,14 @@ install:: fonts.alias @@\
*/
#ifdef Mvme68kArchitecture
# include <xf86.rules>
# ifndef BuildServer
# define BuildServer NO
# endif
# define ServerExtraDefines -DXFree86Server
# include <xfree86.cf>
#endif /* Mvme68kArchitecture */
......@@ -547,7 +490,7 @@ install:: fonts.alias @@\
# define BootstrapCFlags -Dsun3
# define UnalignedReferencesAllowed YES /* changes _XtCopyArgs() */
/* Note: -ansi turns off -Dmc68000 */
# define ServerExtraDefines GccGasOption -Dmc68000 -Dmc68020
# define ServerExtraDefines GccGasOption -Dmc68000 -Dmc68020 -DXFree86Server
# ifndef Xsun24Server
# define Xsun24Server NO
......@@ -561,16 +504,6 @@ install:: fonts.alias @@\
#define XkbServerDefines -DXKB_ALWAYS_USES_SOFT_REPEAT
#if 0
# ifndef BuildXKB
# define BuildXKB NO
# endif
# ifndef BuildXKBlib
# define BuildXKBlib NO
# endif
#endif
# ifndef BuildPexExt
# define BuildPexExt (XsunServer || Xsun24Server)
# endif
......@@ -599,6 +532,11 @@ install:: fonts.alias @@\
*/
#ifdef ArcArchitecture
# define ServerExtraDefines GccGasOption XFree86ServerDefines
# ifndef XFree86ConsoleDefines
# define XFree86ConsoleDefines -DPCCONS_SUPPORT
# endif
# include <xfree86.cf>
#endif /* ArcArchitecture */
......@@ -625,34 +563,51 @@ install:: fonts.alias @@\
*/
#ifdef PpcArchitecture
# define OptimizedCDebugFlags -O2
# define XkbServerDefines -DXKB_ALWAYS_USES_SOFT_REPEAT
# ifndef XFree86ConsoleDefines
# define XFree86ConsoleDefines -DWSCONS_SUPPORT
# endif
# define UseElfFormat YES
# define HasWeakSymbols NO
# if XFree86Devel
# if XFree86Devel
# define GccWarningOptions -Wall -Wpointer-arith -Wstrict-prototypes \
-Wmissing-prototypes -Wmissing-declarations \
-Wnested-externs
# else
# else
# define GccWarningOptions -Wall -Wpointer-arith
# endif
# endif
# if OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion >= 8)
# ifndef DoLoadableServer
# define DoLoadableServer YES
# endif
# define DevelDrivers cirrus ati
/* Support for USB Mices */
# define UsbMouseSupport YES
# include <xfree86.cf>
# ifndef XF86Server
# define XF86Server NO
# endif
# else /* 2.7 and earlier */
# include <xf86.rules>
# ifndef BuildServer
# define BuildServer YES
# endif
/* Definitions for building the XFree86 server */
# if XF86Server
# define ServerOSDefines XFree86ServerOSDefines -DDDXTIME -DDDXOSINIT
# define ServerExtraDefines GccGasOption XFree86ServerDefines
# if OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion >= 8)
# ifndef DoLoadableServer
# define DoLoadableServer YES
# endif
# define DevelDrivers cirrus ati
/* Support for USB Mices */
# define UsbMouseSupport YES
# include <xfree86.cf>
# else /* 2.7 and earlier */
# include <xf86.rules>
# ifndef BuildServer
# define BuildServer NO
# endif
# define HasSharedLibraries NO
# define BuildDynamicLoading NO
# endif
# endif /* XF86Server */
# define HasSharedLibraries NO
# define BuildDynamicLoading NO
# endif
#endif /* PpcArchitecture */
/*
......@@ -660,20 +615,28 @@ install:: fonts.alias @@\
*/
#ifdef SparcArchitecture
# define OptimizedCDebugFlags -O2
# define ServerOSDefines -DDDXOSINIT
# define ServerExtraDefines -DAVOID_GLYPHBLT -DPIXPRIV -DXFree86Server \
ServerSnprintfDefines DebugDefines \
-DX_BYTE_ORDER=ByteOrder
# define BuildXF86MiscExt NO
# define BuildMITMiscExt NO
# ifndef Xsun24Server
# define Xsun24Server NO
# define Xsun24Server YES
# endif
# ifndef XsunServer
# define XsunServer YES
# define XsunServer YES
# endif
# ifndef XsunMonoServer