1 XCOMM $XFree86: xc/config/cf/xf86site.def,v 3.101.2.15 1998/02/24 19:05:42 hohndel Exp $
2 /******************************************************************************/
4 * This file is to provide a quick method for most people to change the
5 * behaviour of their XFree86 installation without having to fully
6 * understand the workings of site.def and all the various '.cf' files.
8 * These are the most common settings you would choose for compiling and
9 * installing XFree86 on the systems supported by it.
11 * A good way to use this file is to copy it to host.def, and make the
12 * changes there. That way, future patches to this file won't fail.
13 * The host.def file will never be patched.
15 * The distributed version of this file should contain no uncommented
16 * definitions. Such default definitions belong in xfree86.cf.
18 /******************************************************************************/
21 * If you have build-specific modifications in your host.def file, but
22 * want an empty host.def file installed when doing 'make install',
23 * uncomment the following
25 #define InstallEmptyHostDef
29 * If using GCC 2.x on a system where it isn't the default, uncomment
37 * If using GCC 2.x with C++ on a system where it isn't the default, uncomment
40 #define HasGcc2ForCplusplus YES
44 * The default optimisation flags for GCC 2.x. -fno-strength-reduce is
45 * here to work around a bug in -O2 for GCC 2.x on i386 platforms.
46 * If you are using a version that doesn't have this bug, you can
47 * uncomment the following line, and remove '-fno-strength-reduce'
48 * If you are building binaries for a 486, it may be beneficial to add
51 #define DefaultGcc2i386Opt -O2 -fno-strength-reduce
55 * For Linux, this should match the Binutils version you have. This example
56 * is for 2.6.0.7. See linux.cf for the default setting.
58 * This should automatically get set correctly by imake.
60 #define LinuxBinUtilsMajorVersion 26
64 * For Linux, these should match the libc version you have. This example
65 * is for libc.5.4.x. See linux.cf for the default setting.
67 * This should automatically get set correctly by imake.
69 #define LinuxCLibMajorVersion 5
70 #define LinuxClibMinorVersion 4
74 * If you want to use the GNU malloc library, uncomment this
76 #define UseGnuMalloc YES
80 * Set this to whatever is required to access the GNU malloc library.
81 * The default is '-lgmalloc' unless is specified in the OS's .cf file.
83 #define GnuMallocLibrary -L/usr/local/lib -lgmalloc
87 * To disable the internal Xserver malloc, set this to NO
89 #define UseInternalMalloc YES
93 * Some Linux releases don't have a libtermcap. In this case you may need
94 * to uncomment the following
96 #define TermcapLibrary -lncurses
100 * If you have Tk (which is required to build XF86Setup), uncomment this
101 * Note: version 4.0 or 4.1 is required, and XF86Setup links it statically by
108 * Set the paths and names for your Tk library if they don't match the
109 * defaults (check your OS .cf file or Imake.tmpl for the defaults).
111 * Common values for TkLibName are tk4.0, tk4.1, etc.
113 * Some Linux releases need TkIncDir set to /usr/include/tcl, and some
114 * need it set to /usr/X11R6/include.
116 * Some Linux releases need TkLibDir set to /usr/X11R6/lib
118 #define TkLibDir /usr/local/lib
119 #define TkIncDir /usr/local/include
124 * By default, XF86Setup is linked with a static Tk library. To change
125 * that, uncomment the following line.
127 #define XF86SetupUsesStaticTk NO
131 * If you have Tcl (which is required to build XF86Setup), uncomment this
132 * Note: version 7.4 or 7.5 is required, and XF86Setup links it statically by
139 * Set the paths and names for your Tcl library if they don't match the
140 * defaults (check your OS .cf file or Imake.tmpl for the defaults).
142 * Common values for TclLibName are tcl7.4, tcl7.5, etc.
144 * Some Linux releases need TclIncDir set to /usr/include/tcl.
146 #define TclLibDir /usr/local/lib
147 #define TclIncDir /usr/local/include
148 #define TclLibName tcl
152 * By default, XF86Setup is linked with a static Tcl library. To change
153 * that, uncomment the following line.
155 #define XF86SetupUsesStaticTcl NO
159 * Which servers do you wish to build, you can save a lot of disk space
160 * by only compiling the server you will be using. It will also save you
161 * considerable compile time.
163 * The following servers are supported in Intel x86 platforms
165 #define XF86SVGAServer NO
166 #define XF86VGA16Server NO
167 #define XF86VGA16DualServer NO
168 #define XF86MonoServer NO
169 #define XF86MonoDualServer NO
170 #define XF86S3Server NO
171 #define XF86S3VServer NO
172 #define XF86I8514Server NO
173 #define XF86Mach8Server NO
174 #define XF86Mach32Server NO
175 #define XF86Mach64Server NO
176 #define XF86P9000Server NO
177 #define XF86AGXServer NO
178 #define XF86W32Server NO
179 #define XF86I128Server NO
183 * Which servers do you wish to build, you can save a lot of disk space
184 * by only compiling the server you will be using. It will also save you
185 * considerable compile time.
187 * The following servers are supported on Digital Alpha platforms:
189 #define XF86SVGAServer NO
190 #define XF86MonoServer NO
191 #define XF86S3Server NO
192 #define XF86S3VServer NO
193 #define XF86P9000Server NO
194 #define XF86TGAServer NO
198 * Which servers do you wish to build, you can save a lot of disk space
199 * by only compiling the server you will be using. It will also save you
200 * considerable compile time.
202 * The following server is supported on Mips/Arc platforms:
204 #define XF86S3Server NO
210 * Uncommenting the following automatically enables all PC98 servers
212 #define BuildPC98Servers YES
216 * To enable/disable individual PC98 servers, use these
218 #define XF98EGCServer YES
219 #define XF98GANBWAPServer YES
220 #define XF98NEC480Server YES
221 #define XF98NKVNECServer YES
222 #define XF98WABSServer YES
223 #define XF98WABEPServer YES
224 #define XF98WSNAServer YES
225 #define XF98TGUIServer YES
226 #define XF98MGAServer YES
227 #define XF98SVGAServer YES
228 #define XF98NECS3Server YES
229 #define XF98PWSKBServer YES
230 #define XF98PWLBServer YES
231 #define XF98GA968Server YES
235 * The following server is supported on Motorola 68k platforms:
237 #define XF68FBDevServer NO
241 * To disable building the Xnest server, uncomment this.
243 #define XnestServer NO
247 * To disable building Xvfb, uncomment this.
249 #define XVirtualFramebufferServer NO
253 * Set the default server (ie the one that gets the sym-link to "X")
255 #define ServerToInstall XF86_S3
260 * Server configuration parameters. The defaults are shown here:
266 #define XF86SvgaDrivers nv et4000 et3000 pvga1 gvga ati sis tvga8900 \
267 cirrus ncr77c22 compaq mga oak al2101 ali \
268 cl64xx video7 ark mx realtek apm \
269 s3v s3_svga chips generic
275 #define XF86Vga16Drivers et4000 et3000 ncr77c22 ati sis tvga8900 oak \
280 * VGA2 driver in Mono server:
282 #define XF86Vga2Drivers et4000 et3000 pvga1 gvga ati sis tvga8900 \
283 cirrus ncr77c22 oak cl64xx generic
287 * Mono driver in Mono or VGA16 server:
289 #define XF86MonoDrivers hgc1280 sigma apollo hercules
295 #define XF86W32Drivers et4000w32
299 * BSD Console driver support (for FreeBSD and NetBSD).
301 * By default, support is included for pccons and pcvt for NetBSD, and
302 * pccons, syscons and pcvt for FreeBSD.
304 * To change the list of supported drivers, set the following parameter.
305 * Possible values are -DPCCONS_SUPPORT, -DSYSCONS_SUPPORT, -DPCVT_SUPPORT,
306 * -DCODRV_SUPPORT. The following example includes support for syscons and
309 #define XFree86ConsoleDefines -DSYSCONS_SUPPORT -DPCVT_SUPPORT
313 * The X servers need to run as root on most OSs. We're now using a
314 * wrapper in that case, but we still need to make it known that the
315 * servers need SetUID. When only using xdm, this (and the wrapper)
316 * are not required. Disabling this automatically disables use of the
319 * If you're only starting the Xservers with xdm set this to NO
321 #define XserverNeedsSetUID NO
325 * To disable building the font server, uncomment this.
327 #define BuildFontServer NO
331 * Do you want to Build Fonts (Usually you only want to build and install
332 * fonts once, if this is a first time install you will want to build the
335 #define BuildFonts NO
339 * To not build/install the 75dpi fonts, uncomment the following
341 #define Build75DpiFonts NO
345 * To not build/install the 100dpi fonts, uncomment the following
347 #define Build100DpiFonts NO
351 * To not build/install the Speedo fonts, uncomment the following
353 #define BuildSpeedoFonts NO
357 * To not build/install the Type1 fonts, uncomment the following
359 #define BuildType1Fonts NO
363 * To not build/install the Cyrillic fonts, uncomment the following
365 #define BuildCyrillicFonts NO
369 * To build only the servers with a cut-down source tree, uncomment
372 #define BuildServersOnly YES
376 * To disable building XInput support, uncomment this
378 #define BuildXInputExt NO
382 * Select the XInput devices you want by setting them to YES.
384 * Note: Joystick support is only included for Linux and FreeBSD at the
385 * moment. For Linux it requires the Joystick module to be installed (it
386 * isn't part of the standard kernel distribution). For FreeBSD, a kernel
387 * will need to be built with the Joystick driver in order to be able to
390 #define JoystickSupport NO
391 #define WacomSupport YES
392 #define ElographicsSupport YES
393 #define SummaSketchSupport YES
397 * if your system supports dynamic loading of modules using
398 * dlopen set this to YES.
400 #define BuildDynamicLoading YES
404 * To disable the ScreenSaver Extension, uncomment this line.
406 #define BuildScreenSaverExt NO
410 * If you don't want to build PEX, uncomment this.
412 #define BuildPexExt NO
416 * If you don't want to build XIE, uncomment this.
422 * If you don't want to build support for an external GLX server module or
423 * library, uncomment this.
425 * NOTE: XFree86 3.3 does not include GLX server source, module, or
426 * functional libraries. Building in support does not require
427 * availability of a GLX package, but will allow it to be used
428 * when released (by dynamic load or relinking).
430 #define BuildGlxExt NO
434 * If you aren't building with support for loadable modules and wish
435 * to statically link external GLX server libs instead of the default
436 * non-functional stub library, uncomment the following define and
437 * specify the space-seperated pathnames of those libraries here.
439 #define GlxStaticServerLib /full/path/name/to/glx/servGL/libServerGlx.a \
440 /full/path/name/to/glx/servGL/libMesaGlx.a
444 * If you want to build only the DIS (Document Imaging Subset of XIE)
445 * uncomment this line. This option is only relevant when XIE is built.
451 * By default, the sample config files for xinit, xdm and xfs are installed
452 * only when there is no pre-existing version installed. Uncommenting the
453 * following lines will force the sample versions to be installed even if
454 * it means over-writing existing versions.
456 #define InstallXinitConfig YES
457 #define InstallXdmConfig YES
458 #define InstallFSConfig YES
462 * By default the application defaults files are always installed.
463 * Uncommenting the the following will prevent exising application
464 * defaults files from being over-written.
466 #define InstallAppDefFiles NO
470 * If you are running Solaris x86, and want to disable building support
471 * for the aperture driver, uncomment this.
473 #define HasSolx86ApertureDriver NO
477 * If you are running NetBSD 0.9C or later, or OpenBSD and want to disable
478 * building support for the NetBSD aperture driver, uncomment this.
480 #define HasNetBSDApertureDriver NO
484 * If you are running SVR3 and have the mmap driver installed (for linear
485 * framebuffer access) uncomment this.
487 #define HasSVR3mmapDrv YES
491 * If you are using an SVR3 (like ISC 4.x) which supports long file names,
492 * you can * uncomment this to have manual pages installed under their
495 #define ExpandManNames YES
499 * For a POSIXized build on Interactive uncomment this
500 * Could be used with gcc 'till Version 2.6.3
501 * Should be used with gcc 2.7.2.
507 * If you want XDMAUTH support (if you have Wraphelp.c), uncomment this.
509 #define HasXdmAuth YES
513 * To forceably build static libraries in addition to shared libraries,
516 #define ForceNormalLib YES
520 * Uncomment this if your default tools (eg, gcc, ld, as, etc) are
521 * not the Linux ELF versions.
523 #define LinuxElfDefault NO
527 * To use ELF format shared libraries for Linux, uncomment this.
528 * Note: gcc-2.6.0-941008 and gas-941008 (or later) is required for this.
529 * Check linux.cf if you have problems regarding the location of elf-aware
530 * gcc and gas binaries.
532 * The default setting of this is the same as the setting of LinuxElfDefault
534 #define UseElfFormat YES
538 * If you have trouble with make bombing out in Xlib, try uncommenting this.
539 * You will not get dependencies as a result, but better than nothing.
541 #define MakeHashTableBug YES
545 * If you do not want your man pages compress under SVR3 systems that
546 * support it, uncomment this.
548 #define CompressManPages NO
552 * LinuxDoc stuff. Uncomment those of these you want. Check in
553 * lnxdoc.tmpl for other things you might need to define/change here.
555 #define HasLinuxDoc YES
558 #define BuildLinuxDocHtml YES
559 #define BuildAllDocs YES
563 * To install Japanese versions of the documentation uncomment this.
564 * Note: The Japanese documentation consists of a subset of the
567 #define InstallJapaneseDocs YES
571 * By default, XF86Contrib is defined so build only those parts of
572 * of the contrib distribution supported by XFree86. To prevent this
573 * from being defined, uncomment the following.
575 #define DontDefineXF86Contrib