111d341caSmrgXCOMM $XFree86: xc/config/cf/xf86site.def,v 3.186 2003/06/25 18:06:22 eich Exp $
211d341caSmrg/******************************************************************************/
311d341caSmrg/*
411d341caSmrg * This file is to provide a quick method for most people to change the
511d341caSmrg * behaviour of their Xorg installation without having to fully
611d341caSmrg * understand the workings of site.def and all the various '.cf' files.
711d341caSmrg *
811d341caSmrg * In the vast majority of cases, it should not be necessary to use this
911d341caSmrg * file at all or change it in any way.
1011d341caSmrg *
1111d341caSmrg * This file is divided into two sections.  The first contains settings
1211d341caSmrg * that end-users might reasonably change.  The second contains settings
1311d341caSmrg * that developers might want to change.
1411d341caSmrg *
1511d341caSmrg * IMPORTANT NOTE:  In all cases changing the defaults may cause problems
1611d341caSmrg * and/or unexpected side-effects.  If you don't understand what a setting
1711d341caSmrg * does, then it's best to not change it.  If you make changes and have
1811d341caSmrg * problems, verify that those problems are also present when using an
1911d341caSmrg * empty host.def file and unchanged version of this file before reporting
2011d341caSmrg * them.
2111d341caSmrg *
2211d341caSmrg * A good way to use this file is to copy it to host.def, and make the
2311d341caSmrg * changes there.  That way, future patches to this file won't fail.
2411d341caSmrg * The host.def file will never be patched.
2511d341caSmrg *
2611d341caSmrg * The distributed version of this file MUST contain no uncommented
2711d341caSmrg * definitions.  Default definitions belong in xorg.cf, or <vendor>.cf
2811d341caSmrg * files.
2911d341caSmrg */
3011d341caSmrg/******************************************************************************/
3111d341caSmrg
3211d341caSmrg/*
3311d341caSmrg * If you have build-specific modifications in your host.def file, but
3411d341caSmrg * want an empty host.def file installed when doing 'make install',
3511d341caSmrg * uncomment the following
3611d341caSmrg *
3711d341caSmrg#define InstallEmptyHostDef
3811d341caSmrg */
3911d341caSmrg
4011d341caSmrg/*
4111d341caSmrg * Which servers to build.  There is only Xorg server.
4211d341caSmrg * It can be disabled by the following.
4311d341caSmrg *
4411d341caSmrg#define XorgServer		NO
4511d341caSmrg */
4611d341caSmrg
4711d341caSmrg/*
4811d341caSmrg * To disable building the Xnest server, uncomment this.
4911d341caSmrg *
5011d341caSmrg#define XnestServer		NO
5111d341caSmrg */
5211d341caSmrg
5311d341caSmrg/*
5411d341caSmrg * To disable building Xvfb, uncomment this.
5511d341caSmrg *
5611d341caSmrg#define XVirtualFramebufferServer	NO
5711d341caSmrg */
5811d341caSmrg
5911d341caSmrg/*
6011d341caSmrg * To enable building Xdmx, uncomment this.
6111d341caSmrg *
6211d341caSmrg#define XdmxServer YES
6311d341caSmrg */
6411d341caSmrg
6511d341caSmrg/*
6611d341caSmrg * To disable building Xprt, uncomment this.
6711d341caSmrg *
6811d341caSmrg#define XprtServer NO
6911d341caSmrg */
7011d341caSmrg
7111d341caSmrg/*
7211d341caSmrg * Set the default server (ie the one that gets the sym-link to "X")
7311d341caSmrg *
7411d341caSmrg#define ServerToInstall		Xorg
7511d341caSmrg */
7611d341caSmrg
7711d341caSmrg/*
7811d341caSmrg * If you only run the X server under xdm the X servers don't need to be
7911d341caSmrg * installed SetUID, and you may comment out the lines below.  If you run
8011d341caSmrg * the servers by hand (with xinit or startx), then they do need to be
8111d341caSmrg * installed SetUID on most platforms.
8211d341caSmrg *
8311d341caSmrg * Consult your system administrator before making the X server setuid.
8411d341caSmrg *
8511d341caSmrg#define InstallXserverSetUID	NO
8611d341caSmrg */
8711d341caSmrg
8811d341caSmrg
8911d341caSmrg/*
9011d341caSmrg * Server configuration parameters.  The defaults are shown here:
9111d341caSmrg */
9211d341caSmrg
9311d341caSmrg/*
9411d341caSmrg * Which drivers to build.  When building a static server, each of these
9511d341caSmrg * will be included in it.  When building the loadable server each of these
9611d341caSmrg * modules will be built.
9711d341caSmrg *
9811d341caSmrg#define XF86CardDrivers		mga glint nv tga s3virge sis rendition \
9911d341caSmrg				neomagic i740 tdfx savage \
10011d341caSmrg				cirrus vmware tseng trident chips apm \
10111d341caSmrg				GlideDriver fbdev i128 \
10211d341caSmrg				ati DevelDrivers ark cyrix \
10311d341caSmrg				siliconmotion \
10411d341caSmrg				vesa vga XF86OSCardDrivers XF86ExtraCardDrivers
10511d341caSmrg */
10611d341caSmrg
10711d341caSmrg/*
10811d341caSmrg * To add third party drivers to the standard driver list, set the
10911d341caSmrg * following.
11011d341caSmrg *
11111d341caSmrg#define XF86ExtraCardDrivers	extradriver1 extradriver2 ...
11211d341caSmrg */
11311d341caSmrg
11411d341caSmrg/*
11511d341caSmrg * Select the XInput devices you want by uncommenting this.
11611d341caSmrg *
11711d341caSmrg#define XInputDrivers		mouse keyboard acecad calcomp citron \
11811d341caSmrg				digitaledge dmc dynapro elographics \
11911d341caSmrg				microtouch mutouch penmount spaceorb summa \
12011d341caSmrg				wacom void magictouch aiptek
12111d341caSmrg */
12211d341caSmrg
12311d341caSmrg/* To enable building of development DRI drivers (insecure, or not
12411d341caSmrg * useful on the chosen architecture, uncomment this define.
12511d341caSmrg#define BuildDevelDRIDrivers YES
12611d341caSmrg */
12711d341caSmrg
12811d341caSmrg/*
12911d341caSmrg * To use the deprecated, old keyboard driver, uncomment this.  But
13011d341caSmrg * even better, make the new keyboard driver (hw/xfree86/input/keyboard)
131944bff83Smrg * work for your architecture.  The old driver will be removed in the
13211d341caSmrg * next release.
13311d341caSmrg *
13411d341caSmrg#define UseDeprecatedKeyboardDriver YES
13511d341caSmrg */
13611d341caSmrg
13711d341caSmrg/*
13811d341caSmrg * There are three parameters that determine where and how the Matrox HAL
13911d341caSmrg * library is used:
14011d341caSmrg *
14111d341caSmrg *   HaveMatroxHal  -- You have the HALlib.a binary library installed
14211d341caSmrg *                     in xfree86/drivers/mga/HALlib, and you want it to
14311d341caSmrg *                     be used.
14411d341caSmrg *                     Default: NO
14511d341caSmrg *
14611d341caSmrg *   BuildMatroxHal -- You have the source for the HALlib library (installed
14711d341caSmrg *                     in xfree86/drivers/mga/hallib), and want to build and
14811d341caSmrg *                     use it.
14911d341caSmrg *                     Default: NO
15011d341caSmrg *
15111d341caSmrg *   UseMatroxHal   -- You want to build support for loading/using the HAL
15211d341caSmrg *                     library into the mga driver.  For module server builds
15311d341caSmrg *                     you don't need to have the HALlib library to do this.
15411d341caSmrg *                     but you want to build support for loading it and using
15511d341caSmrg *                     it into the mga driver module.
15611d341caSmrg *                     Default: YES for loadable server build
15711d341caSmrg *                              (HaveMatroxHal || BuildMatroxHal) for static
15811d341caSmrg */
15911d341caSmrg
16011d341caSmrg/*
16111d341caSmrg * To disable use of the Matrox HAL library, uncomment this:
16211d341caSmrg *
16311d341caSmrg#define UseMatroxHal		NO
16411d341caSmrg */
16511d341caSmrg
16611d341caSmrg/*
16711d341caSmrg * If you have the HALlib.a binary installed in xfree86/drivers/mga/HALlib,
16811d341caSmrg * uncomment this:
16911d341caSmrg *
17011d341caSmrg#define HaveMatroxHal		YES
17111d341caSmrg */
17211d341caSmrg
17311d341caSmrg/*
17411d341caSmrg * If you have the HALlib source code installed in xfree86/drivers/mga/hallib,
17511d341caSmrg * uncomment this:
17611d341caSmrg#define BuildMatroxHal		YES
17711d341caSmrg */
17811d341caSmrg
17911d341caSmrg/*
18011d341caSmrg * To disable building the font server, uncomment this.
18111d341caSmrg *
18211d341caSmrg#define BuildFontServer		NO
18311d341caSmrg */
18411d341caSmrg
18511d341caSmrg/*
18611d341caSmrg * Speedo fonts have been disabled by default in this release.
18711d341caSmrg * To re-enable support for Speedo fonts, uncomment this.
18811d341caSmrg *
18911d341caSmrg#define BuildSpeedo		YES
19011d341caSmrg */
19111d341caSmrg
19211d341caSmrg/*
19311d341caSmrg * To disable support for CID fonts, uncomment this.
19411d341caSmrg *
19511d341caSmrg#define BuildCID		NO
19611d341caSmrg */
19711d341caSmrg
19811d341caSmrg/*
19911d341caSmrg * To disable support for TrueType fonts, uncomment these.
20011d341caSmrg *
20111d341caSmrg#define BuildFreeType		NO
20211d341caSmrg */
20311d341caSmrg
20411d341caSmrg/*
20511d341caSmrg * To set non-default build options for the underlying FreeType libraries,
20611d341caSmrg * add them here and uncomment.
20711d341caSmrg *
20811d341caSmrg#define Freetype2BuildDefines	-DFREETYPE_BUILD_DEFINES
20911d341caSmrg */
21011d341caSmrg
21111d341caSmrg/*
21211d341caSmrg * To build the FreeType libraries with the TrueType byte code interpreter
21311d341caSmrg * enabled, uncomment this.  Note that there are patent issues related to the
21411d341caSmrg * TrueType byte code interpreter, and we only recommend you enabling this
21511d341caSmrg * if you are sure that there are no legal impediments to you doing so.  See
21611d341caSmrg * <http://www.freetype.org/patents.html> for further information.
21711d341caSmrg *
21811d341caSmrg#define Freetype2BuildDefines -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER
21911d341caSmrg */
22011d341caSmrg
22111d341caSmrg/*
22211d341caSmrg * Do you want to Build Fonts (Usually you only want to build and install
22311d341caSmrg * fonts once, if this is a first time install you will want to build the
22411d341caSmrg * fonts)
22511d341caSmrg *
22611d341caSmrg#define BuildFonts		NO
22711d341caSmrg */
22811d341caSmrg
22911d341caSmrg/*
23011d341caSmrg * To not build/install the 75dpi fonts, uncomment the following
23111d341caSmrg *
23211d341caSmrg#define Build75DpiFonts		NO
23311d341caSmrg */
23411d341caSmrg
23511d341caSmrg/*
23611d341caSmrg * To not build/install the 100dpi fonts, uncomment the following
23711d341caSmrg *
23811d341caSmrg#define Build100DpiFonts	NO
23911d341caSmrg */
24011d341caSmrg
24111d341caSmrg/*
24211d341caSmrg * To build/install the Speedo fonts, uncomment the following
24311d341caSmrg * (see setting above about Speedo support as well)
24411d341caSmrg *
24511d341caSmrg#define BuildSpeedoFonts	YES
24611d341caSmrg */
24711d341caSmrg
24811d341caSmrg/*
24911d341caSmrg * To not build/install the Type1 fonts, uncomment the following
25011d341caSmrg *
25111d341caSmrg#define BuildType1Fonts		NO
25211d341caSmrg */
25311d341caSmrg
25411d341caSmrg/*
25511d341caSmrg * To not build/install the CID fonts, uncomment the following
25611d341caSmrg *
25711d341caSmrg#define BuildCIDFonts		NO
25811d341caSmrg */
25911d341caSmrg
26011d341caSmrg/*
26111d341caSmrg * To not build/install the True Type fonts, uncomment the following
26211d341caSmrg *
26311d341caSmrg#define BuildTrueTypeFonts	NO
26411d341caSmrg */
26511d341caSmrg
26611d341caSmrg/*
26711d341caSmrg * To not build/install the Cyrillic fonts, uncomment the following
26811d341caSmrg *
26911d341caSmrg#define BuildCyrillicFonts	NO
27011d341caSmrg */
27111d341caSmrg
27211d341caSmrg/*
27311d341caSmrg * To not install the local font directory, uncomment the following
27411d341caSmrg *
27511d341caSmrg#define MakeLocalFontDir	NO
27611d341caSmrg */
27711d341caSmrg
27811d341caSmrg/*
27911d341caSmrg * To build only the servers with a cut-down source tree, uncomment
28011d341caSmrg * this.
28111d341caSmrg *
28211d341caSmrg#define BuildServersOnly	YES
28311d341caSmrg */
28411d341caSmrg
28511d341caSmrg/*
28611d341caSmrg * By default, the sample config files for xinit, xdm and xfs are installed
28711d341caSmrg * only when there is no pre-existing version installed.  Uncommenting the
28811d341caSmrg * following lines will force the sample versions to be installed even if
28911d341caSmrg * it means over-writing existing versions.
29011d341caSmrg *
29111d341caSmrg#define InstallXinitConfig	YES
29211d341caSmrg#define InstallXdmConfig	YES
29311d341caSmrg#define InstallFSConfig		YES
29411d341caSmrg */
29511d341caSmrg
29611d341caSmrg/*
29711d341caSmrg * By default the application defaults files are always installed.
298944bff83Smrg * Uncommenting the following will prevent existing application
29911d341caSmrg * defaults files from being over-written.
30011d341caSmrg *
30111d341caSmrg#define InstallAppDefFiles	NO
30211d341caSmrg */
30311d341caSmrg
30411d341caSmrg/*
30511d341caSmrg * Undefine the following if you don't want to have config files and
30611d341caSmrg * app-defaults installed in a separate directory (i.e. /etc/X11).
30711d341caSmrg *
30811d341caSmrg#define UseSeparateConfDir NO
30911d341caSmrg */
31011d341caSmrg
3111c80d5b0Smrg/*
3121c80d5b0Smrg * To enable building the glide driver, you need to define
3131c80d5b0Smrg * HasGlide2 to YES and set the Glide2IncDir variable.
31411d341caSmrg * HasGlide2 is per default NO.
31511d341caSmrg *
31611d341caSmrg#define HasGlide2 YES
31711d341caSmrg */
31811d341caSmrg
31911d341caSmrg/*
32011d341caSmrg * Set the path to your Glide include files.
32111d341caSmrg *
32211d341caSmrg#define Glide2IncDir /usr/include/glide
32311d341caSmrg */
32411d341caSmrg
3251c80d5b0Smrg/*
32611d341caSmrg * Have glide 3?
32711d341caSmrg *
32811d341caSmrg#define HasGlide3 YES
32911d341caSmrg */
33011d341caSmrg
33111d341caSmrg/*
33211d341caSmrg * Set the path to your Glide 3 include files.
33311d341caSmrg *
33411d341caSmrg#define Glide3IncDir /usr/include/glide3
33511d341caSmrg */
33611d341caSmrg
33711d341caSmrg
33811d341caSmrg
33911d341caSmrg/*
34011d341caSmrg * Unless you're a developer you shouldn't need to change anything
34111d341caSmrg * beyond this point.
34211d341caSmrg */
34311d341caSmrg
34411d341caSmrg/*
34511d341caSmrg * If you want to enable some developer settings, like more verbose
34611d341caSmrg * compiler warnings, uncomment this.
34711d341caSmrg *
34811d341caSmrg#define XFree86Devel	YES
34911d341caSmrg*/
35011d341caSmrg
35111d341caSmrg/*
35211d341caSmrg * The default optimisation flags for GCC 2.x.  -fno-strength-reduce is
35311d341caSmrg * here to work around a bug in -O2 for GCC 2.x on i386 platforms.
35411d341caSmrg * If you are using a version that doesn't have this bug, you can
35511d341caSmrg * uncomment the following line, and remove '-fno-strength-reduce'
35611d341caSmrg * If you are building binaries for a 486, it may be beneficial to add
35711d341caSmrg * -m486
35811d341caSmrg *
35911d341caSmrg#define DefaultGcc2i386Opt	-O2 -fno-strength-reduce
36011d341caSmrg */
36111d341caSmrg
36211d341caSmrg/*
36311d341caSmrg * This allows the GCC warning flags to be set.  The default is shown here.
36411d341caSmrg *
36511d341caSmrg#define GccWarningOptions -Wall -Wpointer-arith -Wstrict-prototypes \
36611d341caSmrg                          -Wmissing-prototypes -Wmissing-declarations \
36711d341caSmrg                          -Wredundant-decls -Wnested-externs
36811d341caSmrg */
36911d341caSmrg
3701c80d5b0Smrg/*
3711c80d5b0Smrg * Sun Compiler stuff..
37211d341caSmrg *
37311d341caSmrg#define HasSunC                         YES
37411d341caSmrg#define HasSunCplusplus                 YES
37511d341caSmrg#define CplusplusCompilerMajorVersion   5
37611d341caSmrg#define CplusplusCompilerMinorVersion   0
37711d341caSmrg#define CCompilerMajorVersion           5
37811d341caSmrg#define CCompilerMinorVersion           0
37911d341caSmrg */
38011d341caSmrg
38111d341caSmrg/*
38211d341caSmrg * Optimized Sun Compiler Build.
38311d341caSmrg *
38411d341caSmrg#define DefaultCDebugFlags              -xO4 -xtarget=pentium_pro
38511d341caSmrg#define OptimizedCDebugFlags            -xO4 -xtarget=pentium_pro
38611d341caSmrg */
38711d341caSmrg
3881c80d5b0Smrg/*
3891c80d5b0Smrg * Debuggable Sun Compiler Build.
39011d341caSmrg * Note: This builds _EVERYTHING_ as debuggable
39111d341caSmrg *
39211d341caSmrg#define DefaultCDebugFlags              -g -xs
39311d341caSmrg#define OptimizedCDebugFlags            -g -xs
39411d341caSmrg */
39511d341caSmrg
39611d341caSmrg/*
39711d341caSmrg * For Linux, this should match the Binutils version you have.  This example
39811d341caSmrg * is for 2.6.0.7.  See linux.cf for the default setting.
39911d341caSmrg *
40011d341caSmrg * This should automatically get set correctly by imake.
40111d341caSmrg *
40211d341caSmrg#define LinuxBinUtilsMajorVersion	26
40311d341caSmrg */
40411d341caSmrg
40511d341caSmrg/*
40611d341caSmrg * For Linux, these should match the libc version you have.  This example
40711d341caSmrg * is for libc.5.4.x.  See linux.cf for the default setting.
40811d341caSmrg *
40911d341caSmrg * This should automatically get set correctly by imake.
41011d341caSmrg *
41111d341caSmrg#define LinuxCLibMajorVersion	5
41211d341caSmrg#define LinuxClibMinorVersion	4
41311d341caSmrg */
41411d341caSmrg
41511d341caSmrg/*
41611d341caSmrg * If you want to use the GNU malloc library, uncomment this
41711d341caSmrg *
41811d341caSmrg#define UseGnuMalloc		YES
41911d341caSmrg */
42011d341caSmrg
42111d341caSmrg/*
42211d341caSmrg * Set this to whatever is required to access the GNU malloc library.
42311d341caSmrg * The default is '-lgmalloc' unless is specified in the OS's .cf file.
42411d341caSmrg *
42511d341caSmrg#define GnuMallocLibrary	-L/usr/local/lib -lgmalloc
42611d341caSmrg */
42711d341caSmrg
42811d341caSmrg/*
42911d341caSmrg * To enable the internal Xserver malloc, uncomment this
43011d341caSmrg *
43111d341caSmrg#define UseInternalMalloc	YES
43211d341caSmrg */
43311d341caSmrg
43411d341caSmrg/*
43511d341caSmrg * Some Linux releases don't have a libtermcap.  In this case you may need
43611d341caSmrg * to uncomment the following
43711d341caSmrg *
43811d341caSmrg#define TermcapLibrary		-lncurses
43911d341caSmrg */
44011d341caSmrg
44111d341caSmrg/*
44211d341caSmrg * Build a server that dynamically loads the modules by setting
44311d341caSmrg * this to YES.  This defaults to YES on most platforms.  A static server
44411d341caSmrg * can be built by setting this to NO.
44511d341caSmrg *
44611d341caSmrg#define DoLoadableServer	NO
44711d341caSmrg */
44811d341caSmrg
44911d341caSmrg/*
4501c80d5b0Smrg * This release defaults to building dlopen() style modules instead of the
45111d341caSmrg * previously standard loader modules.
4521c80d5b0Smrg *
45311d341caSmrg * Uncomment the following to return to the XFree86 custom loader modules.
45411d341caSmrg *
45511d341caSmrg#define MakeDllModules		NO
45611d341caSmrg */
45711d341caSmrg
45811d341caSmrg/*
45911d341caSmrg * Build XAA.  This can be disabled with:
46011d341caSmrg *
46111d341caSmrg#define XF86XAA			NO
46211d341caSmrg */
46311d341caSmrg
46411d341caSmrg/*
46511d341caSmrg * Build vgahw.  This can be disabled with:
46611d341caSmrg *
46711d341caSmrg#define XF86VgaHw		NO
46811d341caSmrg */
46911d341caSmrg
47011d341caSmrg/*
47111d341caSmrg * Build xf1bpp.  This can be disabled with:
47211d341caSmrg *
47311d341caSmrg#define XF1Bpp			NO
47411d341caSmrg */
47511d341caSmrg
47611d341caSmrg/*
47711d341caSmrg * Build xf4bpp.  This can be disabled with:
47811d341caSmrg *
47911d341caSmrg#define XF4Bpp			NO
48011d341caSmrg */
48111d341caSmrg
48211d341caSmrg
48311d341caSmrg/*
48411d341caSmrg * BSD Console driver support (for FreeBSD and NetBSD).
48511d341caSmrg *
48611d341caSmrg * By default, support is included for pccons and pcvt for NetBSD, and
48711d341caSmrg * pccons, syscons and pcvt for FreeBSD.
48811d341caSmrg *
48911d341caSmrg * To change the list of supported drivers, set the following parameter.
49011d341caSmrg * Possible values are -DPCCONS_SUPPORT, -DSYSCONS_SUPPORT, -DPCVT_SUPPORT.
49111d341caSmrg * The following example includes support for syscons and pcvt only.
49211d341caSmrg *
49311d341caSmrg#define XFree86ConsoleDefines	-DSYSCONS_SUPPORT -DPCVT_SUPPORT
49411d341caSmrg */
49511d341caSmrg
49611d341caSmrg/*
49711d341caSmrg * To link the X server with a dynamic version of the Xfont library,
49811d341caSmrg * uncomment this.
49911d341caSmrg *
50011d341caSmrg#define XserverStaticFontLib	NO
50111d341caSmrg */
50211d341caSmrg
50311d341caSmrg/*
50411d341caSmrg * To enable binary compatibility with previous versions of the font
50511d341caSmrg * encoding support, uncomment this.
50611d341caSmrg *
50711d341caSmrg#define FontencCompatibility    YES
50811d341caSmrg */
50911d341caSmrg
51011d341caSmrg/*
51111d341caSmrg * To disable building XInput support, uncomment this
51211d341caSmrg *
51311d341caSmrg#define BuildXInputExt		NO
51411d341caSmrg */
51511d341caSmrg
51611d341caSmrg/*
51711d341caSmrg * Uncomment this for joystick support.
51811d341caSmrg *
51911d341caSmrg * Note: Joystick support is broken, so don't enable this.
52011d341caSmrg *
52111d341caSmrg#define JoystickSupport YES
52211d341caSmrg */
52311d341caSmrg
52411d341caSmrg/*
52511d341caSmrg * To disable the ScreenSaver Extension, uncomment this line.
52611d341caSmrg *
52711d341caSmrg#define BuildScreenSaverExt	NO
52811d341caSmrg */
52911d341caSmrg
5301c80d5b0Smrg/*
53111d341caSmrg * If you don't want to build Xinerama support, uncomment this.
53211d341caSmrg *
53311d341caSmrg#define BuildXinerama		NO
53411d341caSmrg */
53511d341caSmrg
53611d341caSmrg/*
53711d341caSmrg * If you don't want to build support for the GLX extension, uncomment this.
53811d341caSmrg *
53911d341caSmrg#define BuildGlxExt             NO
54011d341caSmrg */
54111d341caSmrg
54211d341caSmrg/*
54311d341caSmrg * If you want to build the xf86rush extension, uncomment this line.
54411d341caSmrg * This isn't recommended.
54511d341caSmrg *
54611d341caSmrg#define BuildXF86RushExt	YES
54711d341caSmrg */
54811d341caSmrg
54911d341caSmrg/*
55011d341caSmrg * If you want to build the client library for the xf86rush extension,
55111d341caSmrg * uncomment this line.  This isn't recommended.
55211d341caSmrg *
55311d341caSmrg#define BuildXF86RushLibrary	NO
55411d341caSmrg */
55511d341caSmrg
55611d341caSmrg/*
55711d341caSmrg * If you are running NetBSD 0.9C or later, and have the aperture driver
55811d341caSmrg * installed, uncomment this.
55911d341caSmrg *
56011d341caSmrg#define HasNetBSDApertureDriver	YES
56111d341caSmrg */
56211d341caSmrg
56311d341caSmrg/*
56411d341caSmrg * If you are running SVR3 and have the mmap driver installed (for linear
56511d341caSmrg * framebuffer access) uncomment this.
56611d341caSmrg *
56711d341caSmrg#define HasSVR3mmapDrv	YES
56811d341caSmrg */
56911d341caSmrg
57011d341caSmrg/*
57111d341caSmrg * If you are using an SVR3 (like ISC 4.x) which supports long file names,
57211d341caSmrg * you can uncomment this to have manual pages installed under their
57311d341caSmrg * full names
57411d341caSmrg *
57511d341caSmrg#define ExpandManNames		YES
57611d341caSmrg */
57711d341caSmrg
57811d341caSmrg/*
57911d341caSmrg * For a POSIXized build on Interactive uncomment this
58011d341caSmrg * Could be used with gcc 'till Version 2.6.3
5811c80d5b0Smrg * Should be used with gcc 2.7.2.
58211d341caSmrg *
58311d341caSmrg#define UsePosix		YES
58411d341caSmrg */
58511d341caSmrg
58611d341caSmrg/*
5871c80d5b0Smrg * If you don't want XDMAUTH support (if you don't have Wraphelp.c),
58811d341caSmrg *  comment this out.
58911d341caSmrg *
59011d341caSmrg */
59111d341caSmrg#define HasXdmAuth		YES
59211d341caSmrg
59311d341caSmrg/*
59411d341caSmrg * If you have Linux DECnet support, and want to build XFree86 with support
59511d341caSmrg * for connections over DECnet, uncomment this.
59611d341caSmrg *
59711d341caSmrg#define HasDECnet		YES
59811d341caSmrg */
59911d341caSmrg
60011d341caSmrg/*
60111d341caSmrg * To build static and shared libraries with debugging information, uncomment
60211d341caSmrg * this. Assumes you have Gcc2.
60311d341caSmrg * (If you don't have Gcc2, you can use the DebugLib{X11,Xt,Xaw,...} variables
60411d341caSmrg * to build debugging versions of the libraries separately.)
60511d341caSmrg *
60611d341caSmrg#define DebuggableLibraries	YES
60711d341caSmrg*/
60811d341caSmrg
60911d341caSmrg/*
61011d341caSmrg * To forceably build static libraries in addition to shared libraries,
61111d341caSmrg * uncomment this.
61211d341caSmrg *
61311d341caSmrg#define ForceNormalLib		YES
61411d341caSmrg */
61511d341caSmrg
61611d341caSmrg/*
61711d341caSmrg * Uncomment this if your default tools (eg, gcc, ld, as, etc) are
61811d341caSmrg * not the Linux ELF versions.
61911d341caSmrg *
62011d341caSmrg#define LinuxElfDefault		NO
62111d341caSmrg */
62211d341caSmrg
62311d341caSmrg/*
62411d341caSmrg * To use ELF format shared libraries for supported OSs, uncomment this.
62511d341caSmrg *
62611d341caSmrg * For Linux the default setting of this is the same as the setting of
62711d341caSmrg * LinuxElfDefault.
62811d341caSmrg *
62911d341caSmrg * For FreeBSD this should automatically be set correctly by imake.  Only
63011d341caSmrg * change it here if you need to override the automatic setting.
63111d341caSmrg *
63211d341caSmrg#define UseElfFormat		YES
63311d341caSmrg */
63411d341caSmrg
63511d341caSmrg/*
63611d341caSmrg * For FreeBSD/ELF (FreeBSD 3.0) it is possible to also build and install
63711d341caSmrg * a.out compatibility libraries.  To enable that, uncomment this.
63811d341caSmrg *
63911d341caSmrg#define BuildAoutLibraries	YES
64011d341caSmrg */
64111d341caSmrg
64211d341caSmrg/*
64311d341caSmrg * If you have trouble with make bombing out in Xlib, try uncommenting this.
64411d341caSmrg * You will not get dependencies as a result, but better than nothing.
64511d341caSmrg *
64611d341caSmrg#define MakeHashTableBug        YES
64711d341caSmrg */
64811d341caSmrg
64911d341caSmrg/*
65011d341caSmrg * If you do not want your man pages compress under SVR3 systems that
65111d341caSmrg * support it, uncomment this.
65211d341caSmrg *
65311d341caSmrg#define CompressManPages        NO
65411d341caSmrg */
65511d341caSmrg
65611d341caSmrg/*
65711d341caSmrg * If you have sgmlfmt (the XFree86 doctools package) and want to build
65811d341caSmrg * formatted docs from the SGML source, uncomment this.
65911d341caSmrg *
66011d341caSmrg#define HasSgmlFmt		YES
66111d341caSmrg */
66211d341caSmrg
66311d341caSmrg/*
66411d341caSmrg * To disable building some document formats, uncomment some of these.
66511d341caSmrg *
66611d341caSmrg#define BuildLinuxDocText	NO
66711d341caSmrg#define BuildLinuxDocHtml	NO
66811d341caSmrg#define BuildLinuxDocPS		NO
66911d341caSmrg */
67011d341caSmrg
67111d341caSmrg/*
67211d341caSmrg * To install Japanese versions of the documentation uncomment this.
67311d341caSmrg * Note: The Japanese documentation consists of a subset of the
67411d341caSmrg * XFree86 3.1 docs.
67511d341caSmrg *
67611d341caSmrg#define InstallJapaneseDocs	YES
67711d341caSmrg */
67811d341caSmrg
67911d341caSmrg/*
68011d341caSmrg * To build/install X specs docs, uncomment the following.
68111d341caSmrg * The SpecsDocDirs setting here is recommended because it covers
68211d341caSmrg * the docs that XFree86 has changed or added.
68311d341caSmrg *
68411d341caSmrg#define BuildSpecsDocs		YES
68511d341caSmrg#define SpecsDocDirs		CTEXT GL ICCCM X11 Xext Xmu Xv XvMC i18n
68611d341caSmrg */
68711d341caSmrg
68811d341caSmrg/*
68911d341caSmrg * To build all specs docs, not just those listed in SpecsDocDirs, uncomment
69011d341caSmrg * the following.
69111d341caSmrg *
69211d341caSmrg#define BuildAllSpecsDocs	YES
69311d341caSmrg */
69411d341caSmrg
69511d341caSmrg/*
69611d341caSmrg * If your system doesn't support vm86() mode and you have
69711d341caSmrg * libx86emu set library path here
69811d341caSmrg *
69911d341caSmrg#define X86EMU_LIBPATH /usr/local/lib
7001c80d5b0Smrg */
70111d341caSmrg
70211d341caSmrg/*
70311d341caSmrg * Most platforms default to using an already installed FreeType 2 library.
70411d341caSmrg * To use the one included in this release instead, uncomment the following.
70511d341caSmrg *
70611d341caSmrg#define HasFreetype2 NO
70711d341caSmrg */
70811d341caSmrg
7091c80d5b0Smrg/*
71011d341caSmrg * To use a FreeType library already installed outside the default search
71111d341caSmrg * paths, uncomment the following and set the path as needed.
71211d341caSmrg *
71311d341caSmrg#define HasFreetype2 YES
71411d341caSmrg#define Freetype2Dir /usr/local
71511d341caSmrg */
71611d341caSmrg
71711d341caSmrg
71811d341caSmrg/*
71911d341caSmrg * Most platforms default to using an already installed Fontconfig library.
72011d341caSmrg * To use the one included in this release instead, uncomment the following.
72111d341caSmrg *
72211d341caSmrg#define HasFontconfig NO
72311d341caSmrg */
72411d341caSmrg
7251c80d5b0Smrg/*
72611d341caSmrg * To use a Fontconfig library already installed outside the default search
72711d341caSmrg * paths, uncomment the following and set the path as needed.
72811d341caSmrg#define HasFontconfig YES
72911d341caSmrg#define FontconfigDir /usr/local
73011d341caSmrg */
73111d341caSmrg
73211d341caSmrg
73311d341caSmrg/*
73411d341caSmrg * Most platforms default to using an already installed Expat library.
73511d341caSmrg * To use the one included in this release instead, uncomment the following.
73611d341caSmrg *
73711d341caSmrg#define HasExpat NO
73811d341caSmrg */
73911d341caSmrg
7401c80d5b0Smrg/*
74111d341caSmrg * To use a Expat library already installed outside the default search
74211d341caSmrg * paths, uncomment the following and set the path as needed.
74311d341caSmrg#define HasExpat YES
74411d341caSmrg#define ExpatDir /usr/local
74511d341caSmrg */
74611d341caSmrg
74711d341caSmrg
74811d341caSmrg/*
74911d341caSmrg * Most platforms default to using an already installed PNG library.
75011d341caSmrg * To use the one included in this release instead, uncomment the following.
75111d341caSmrg *
75211d341caSmrg#define HasLibpng NO
75311d341caSmrg */
75411d341caSmrg
7551c80d5b0Smrg/*
75611d341caSmrg * To use a PNG library already installed outside the default search
75711d341caSmrg * paths, uncomment the following and set the path as needed.
75811d341caSmrg#define HasLibpng YES
75911d341caSmrg#define LibpngDir /usr/local
76011d341caSmrg */
76111d341caSmrg
76211d341caSmrg
76311d341caSmrg/*
76411d341caSmrg * Most platforms default to using an already installed xterm program.
76511d341caSmrg * To use the one included in this release instead, uncomment the following.
76611d341caSmrg *
76711d341caSmrg#define BuildXterm YES
76811d341caSmrg */
769