1XCOMM $XFree86: xc/config/cf/xf86site.def,v 3.186 2003/06/25 18:06:22 eich Exp $ 2/******************************************************************************/ 3/* 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. 7 * 8 * In the vast majority of cases, it should not be necessary to use this 9 * file at all or change it in any way. 10 * 11 * This file is divided into two sections. The first contains settings 12 * that end-users might reasonably change. The second contains settings 13 * that developers might want to change. 14 * 15 * IMPORTANT NOTE: In all cases changing the defaults may cause problems 16 * and/or unexpected side-effects. If you don't understand what a setting 17 * does, then it's best to not change it. If you make changes and have 18 * problems, verify that those problems are also present when using an 19 * empty host.def file and unchanged version of this file before reporting 20 * them. 21 * 22 * A good way to use this file is to copy it to host.def, and make the 23 * changes there. That way, future patches to this file won't fail. 24 * The host.def file will never be patched. 25 * 26 * The distributed version of this file MUST contain no uncommented 27 * definitions. Default definitions belong in xfree86.cf, or <vendor>.cf 28 * files. 29 */ 30/******************************************************************************/ 31 32/* 33 * If you have build-specific modifications in your host.def file, but 34 * want an empty host.def file installed when doing 'make install', 35 * uncomment the following 36 * 37#define InstallEmptyHostDef 38 */ 39 40/* 41 * Which servers to build. There is now only one XFree86 server. 42 * It can be disabled by the following. 43 * 44#define XF86Server NO 45 */ 46 47/* 48 * To disable building the Xnest server, uncomment this. 49 * 50#define XnestServer NO 51 */ 52 53/* 54 * To disable building Xvfb, uncomment this. 55 * 56#define XVirtualFramebufferServer NO 57 */ 58 59/* 60 * To enable building Xdmx, uncomment this. 61 * 62#define XdmxServer YES 63 */ 64 65/* 66 * To disable building Xprt, uncomment this. 67 * 68#define XprtServer NO 69 */ 70 71/* 72 * Set the default server (ie the one that gets the sym-link to "X") 73 * 74#define ServerToInstall XFree86 75 */ 76 77/* 78 * If you only run the X server under xdm the X servers don't need to be 79 * installed SetUID, and you may comment out the lines below. If you run 80 * the servers by hand (with xinit or startx), then they do need to be 81 * installed SetUID on most platforms. 82 * 83 * Consult your system administrator before making the X server setuid. 84 * 85#define InstallXserverSetUID NO 86 */ 87 88 89/* 90 * Server configuration parameters. The defaults are shown here: 91 */ 92 93/* 94 * Which drivers to build. When building a static server, each of these 95 * will be included in it. When building the loadable server each of these 96 * modules will be built. 97 * 98#define XF86CardDrivers mga glint nv tga s3virge sis rendition \ 99 neomagic i740 tdfx savage \ 100 cirrus vmware tseng trident chips apm \ 101 GlideDriver fbdev i128 \ 102 ati AgpGartDrivers DevelDrivers ark cyrix \ 103 siliconmotion \ 104 vesa vga XF86OSCardDrivers XF86ExtraCardDrivers 105 */ 106 107/* 108 * To add third party drivers to the standard driver list, set the 109 * following. 110 * 111#define XF86ExtraCardDrivers extradriver1 extradriver2 ... 112 */ 113 114/* 115 * Select the XInput devices you want by uncommenting this. 116 * 117#define XInputDrivers mouse keyboard acecad calcomp citron \ 118 digitaledge dmc dynapro elographics \ 119 microtouch mutouch penmount spaceorb summa \ 120 wacom void magictouch aiptek 121 */ 122 123/* 124 * There are three parameters that determine where and how the Matrox HAL 125 * library is used: 126 * 127 * HaveMatroxHal -- You have the HALlib.a binary library installed 128 * in xfree86/drivers/mga/HALlib, and you want it to 129 * be used. 130 * Default: NO 131 * 132 * BuildMatroxHal -- You have the source for the HALlib library (installed 133 * in xfree86/drivers/mga/hallib), and want to build and 134 * use it. 135 * Default: NO 136 * 137 * UseMatroxHal -- You want to build support for loading/using the HAL 138 * library into the mga driver. For module server builds 139 * you don't need to have the HALlib library to do this. 140 * but you want to build support for loading it and using 141 * it into the mga driver module. 142 * Default: YES for loadable server build 143 * (HaveMatroxHal || BuildMatroxHal) for static 144 */ 145 146/* 147 * To disable use of the Matrox HAL library, uncomment this: 148 * 149#define UseMatroxHal NO 150 */ 151 152/* 153 * If you have the HALlib.a binary installed in xfree86/drivers/mga/HALlib, 154 * uncomment this: 155 * 156#define HaveMatroxHal YES 157 */ 158 159/* 160 * If you have the HALlib source code installed in xfree86/drivers/mga/hallib, 161 * uncomment this: 162#define BuildMatroxHal YES 163 */ 164 165/* 166 * To disable building the font server, uncomment this. 167 * 168#define BuildFontServer NO 169 */ 170 171/* 172 * To disable support for Speedo fonts, uncomment this. 173 * 174#define BuildSpeedo NO 175 */ 176 177/* 178 * To disable support for Type1 fonts, uncomment this. 179 * 180#define BuildType1 NO 181 */ 182 183/* 184 * To disable support for CID fonts, uncomment this. 185 * 186#define BuildCID NO 187 */ 188 189/* 190 * To disable support for TrueType fonts, uncomment these. 191 * 192#define BuildFreeType NO 193 */ 194 195/* 196 * To set non-default build options for the underlying FreeType libraries, 197 * add them here and uncomment. 198 * 199#define Freetype2BuildDefines -DFREETYPE_BUILD_DEFINES 200 */ 201 202/* 203 * To build the FreeType libraries with the TrueType byte code interpreter 204 * enabled, uncomment this. Note that there are patent issues related to the 205 * TrueType byte code interpreter, and we only recommend you enabling this 206 * if you are sure that there are no legal impediments to you doing so. See 207 * <http://www.freetype.org/patents.html> for further information. 208 * 209#define Freetype2BuildDefines -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER 210 */ 211 212/* 213 * Do you want to Build Fonts (Usually you only want to build and install 214 * fonts once, if this is a first time install you will want to build the 215 * fonts) 216 * 217#define BuildFonts NO 218 */ 219 220/* 221 * To not build/install the 75dpi fonts, uncomment the following 222 * 223#define Build75DpiFonts NO 224 */ 225 226/* 227 * To not build/install the 100dpi fonts, uncomment the following 228 * 229#define Build100DpiFonts NO 230 */ 231 232/* 233 * To not build/install the Speedo fonts, uncomment the following 234 * 235#define BuildSpeedoFonts NO 236 */ 237 238/* 239 * To not build/install the Type1 fonts, uncomment the following 240 * 241#define BuildType1Fonts NO 242 */ 243 244/* 245 * To not build/install the CID fonts, uncomment the following 246 * 247#define BuildCIDFonts NO 248 */ 249 250/* 251 * To not build/install the True Type fonts, uncomment the following 252 * 253#define BuildTrueTypeFonts NO 254 */ 255 256/* 257 * To not build/install the Cyrillic fonts, uncomment the following 258 * 259#define BuildCyrillicFonts NO 260 */ 261 262/* 263 * To not install the local font directory, uncomment the following 264 * 265#define MakeLocalFontDir NO 266 */ 267 268/* 269 * To build only the servers with a cut-down source tree, uncomment 270 * this. 271 * 272#define BuildServersOnly YES 273 */ 274 275/* 276 * By default, the sample config files for xinit, xdm and xfs are installed 277 * only when there is no pre-existing version installed. Uncommenting the 278 * following lines will force the sample versions to be installed even if 279 * it means over-writing existing versions. 280 * 281#define InstallXinitConfig YES 282#define InstallXdmConfig YES 283#define InstallFSConfig YES 284 */ 285 286/* 287 * By default the application defaults files are always installed. 288 * Uncommenting the following will prevent existing application 289 * defaults files from being over-written. 290 * 291#define InstallAppDefFiles NO 292 */ 293 294/* 295 * Undefine the following if you don't want to have config files and 296 * app-defaults installed in a separate directory (i.e. /etc/X11). 297 * 298#define UseSeparateConfDir NO 299 */ 300 301/* 302 * To enable building the glide driver, you need to define 303 * HasGlide2 to YES and set the Glide2IncDir variable. 304 * HasGlide2 is per default NO. 305 * 306#define HasGlide2 YES 307 */ 308 309/* 310 * Set the path to your Glide include files. 311 * 312#define Glide2IncDir /usr/include/glide 313 */ 314 315/* 316 * Have glide 3? 317 * 318#define HasGlide3 YES 319 */ 320 321/* 322 * Set the path to your Glide 3 include files. 323 * 324#define Glide3IncDir /usr/include/glide3 325 */ 326 327 328 329/* 330 * Unless you're a developer you shouldn't need to change anything 331 * beyond this point. 332 */ 333 334/* 335 * If you want to enable some developer settings, like more verbose 336 * compiler warnings, uncomment this. 337 * 338#define XFree86Devel YES 339*/ 340 341/* 342 * The default optimisation flags for GCC 2.x. -fno-strength-reduce is 343 * here to work around a bug in -O2 for GCC 2.x on i386 platforms. 344 * If you are using a version that doesn't have this bug, you can 345 * uncomment the following line, and remove '-fno-strength-reduce' 346 * If you are building binaries for a 486, it may be beneficial to add 347 * -m486 348 * 349#define DefaultGcc2i386Opt -O2 -fno-strength-reduce 350 */ 351 352/* 353 * This allows the GCC warning flags to be set. The default is shown here. 354 * 355#define GccWarningOptions -Wall -Wpointer-arith -Wstrict-prototypes \ 356 -Wmissing-prototypes -Wmissing-declarations \ 357 -Wredundant-decls -Wnested-externs 358 */ 359 360/* 361 * Sun Compiler stuff.. 362 * 363#define HasSunC YES 364#define HasSunCplusplus YES 365#define CplusplusCompilerMajorVersion 5 366#define CplusplusCompilerMinorVersion 0 367#define CCompilerMajorVersion 5 368#define CCompilerMinorVersion 0 369 */ 370 371/* 372 * Optimized Sun Compiler Build. 373 * 374#define DefaultCDebugFlags -xO4 -xtarget=pentium_pro 375#define OptimizedCDebugFlags -xO4 -xtarget=pentium_pro 376 */ 377 378/* 379 * Debuggable Sun Compiler Build. 380 * Note: This builds _EVERYTHING_ as debuggable 381 * 382#define DefaultCDebugFlags -g -xs 383#define OptimizedCDebugFlags -g -xs 384 */ 385 386/* 387 * For Linux, this should match the Binutils version you have. This example 388 * is for 2.6.0.7. See linux.cf for the default setting. 389 * 390 * This should automatically get set correctly by imake. 391 * 392#define LinuxBinUtilsMajorVersion 26 393 */ 394 395/* 396 * For Linux, these should match the libc version you have. This example 397 * is for libc.5.4.x. See linux.cf for the default setting. 398 * 399 * This should automatically get set correctly by imake. 400 * 401#define LinuxCLibMajorVersion 5 402#define LinuxClibMinorVersion 4 403 */ 404 405/* 406 * If you want to use the GNU malloc library, uncomment this 407 * 408#define UseGnuMalloc YES 409 */ 410 411/* 412 * Set this to whatever is required to access the GNU malloc library. 413 * The default is '-lgmalloc' unless is specified in the OS's .cf file. 414 * 415#define GnuMallocLibrary -L/usr/local/lib -lgmalloc 416 */ 417 418/* 419 * To enable the internal Xserver malloc, uncomment this 420 * 421#define UseInternalMalloc YES 422 */ 423 424/* 425 * Some Linux releases don't have a libtermcap. In this case you may need 426 * to uncomment the following 427 * 428#define TermcapLibrary -lncurses 429 */ 430 431/* 432 * Build a server that dynamically loads the modules by setting 433 * this to YES. This defaults to YES on most platforms. A static server 434 * can be built by setting this to NO. 435 * 436#define DoLoadableServer NO 437 */ 438 439/* 440 * Build dlopen() style modules instead of the standard loader modules. 441 * Don't enable this unless you have specific development reasons for 442 * doing so and understand how to deal with the problems you'll run in to. 443 * 444 * Enabling this for regular use is NOT supported, and will almost 445 * certainly cause you problems. 446 * 447#define MakeDllModules YES 448 */ 449 450/* 451 * Build XAA. This can be disabled with: 452 * 453#define XF86XAA NO 454 */ 455 456/* 457 * Build vgahw. This can be disabled with: 458 * 459#define XF86VgaHw NO 460 */ 461 462/* 463 * Build xf1bpp. This can be disabled with: 464 * 465#define XF1Bpp NO 466 */ 467 468/* 469 * Build xf4bpp. This can be disabled with: 470 * 471#define XF4Bpp NO 472 */ 473 474 475/* 476 * BSD Console driver support (for FreeBSD and NetBSD). 477 * 478 * By default, support is included for pccons and pcvt for NetBSD, and 479 * pccons, syscons and pcvt for FreeBSD. 480 * 481 * To change the list of supported drivers, set the following parameter. 482 * Possible values are -DPCCONS_SUPPORT, -DSYSCONS_SUPPORT, -DPCVT_SUPPORT. 483 * The following example includes support for syscons and pcvt only. 484 * 485#define XFree86ConsoleDefines -DSYSCONS_SUPPORT -DPCVT_SUPPORT 486 */ 487 488/* 489 * To link the X server with a dynamic version of the Xfont library, 490 * uncomment this. 491 * 492#define XserverStaticFontLib NO 493 */ 494 495/* 496 * To enable binary compatibility with previous versions of the font 497 * encoding support, uncomment this. 498 * 499#define FontencCompatibility YES 500 */ 501 502/* 503 * To disable building XInput support, uncomment this 504 * 505#define BuildXInputExt NO 506 */ 507 508/* 509 * Uncomment this for joystick support. 510 * 511 * Note: Joystick support is broken, so don't enable this. 512 * 513#define JoystickSupport YES 514 */ 515 516/* 517 * To disable the ScreenSaver Extension, uncomment this line. 518 * 519#define BuildScreenSaverExt NO 520 */ 521 522/* 523 * If you don't want to build Xinerama support, uncomment this. 524 * 525#define BuildXinerama NO 526 */ 527 528/* 529 * If you don't want to build support for the GLX extension, uncomment this. 530 * 531#define BuildGlxExt NO 532 */ 533 534/* 535 * If you want to build the xf86rush extension, uncomment this line. 536 * This isn't recommended. 537 * 538#define BuildXF86RushExt YES 539 */ 540 541/* 542 * If you want to build the client library for the xf86rush extension, 543 * uncomment this line. This isn't recommended. 544 * 545#define BuildXF86RushLibrary NO 546 */ 547 548/* 549 * If you are running NetBSD 0.9C or later, and have the aperture driver 550 * installed, uncomment this. 551 * 552#define HasNetBSDApertureDriver YES 553 */ 554 555/* 556 * If you are running SVR3 and have the mmap driver installed (for linear 557 * framebuffer access) uncomment this. 558 * 559#define HasSVR3mmapDrv YES 560 */ 561 562/* 563 * If you are using an SVR3 (like ISC 4.x) which supports long file names, 564 * you can * uncomment this to have manual pages installed under their 565 * full names 566 * 567#define ExpandManNames YES 568 */ 569 570/* 571 * For a POSIXized build on Interactive uncomment this 572 * Could be used with gcc 'till Version 2.6.3 573 * Should be used with gcc 2.7.2. 574 * 575#define UsePosix YES 576 */ 577 578/* 579 * If you want XDMAUTH support (if you have Wraphelp.c), uncomment this. 580 * 581#define HasXdmAuth YES 582 */ 583 584/* 585 * If you have Linux DECnet support, and want to build XFree86 with support 586 * for connections over DECnet, uncomment this. 587 * 588#define HasDECnet YES 589 */ 590 591/* 592 * To build static and shared libraries with debugging information, uncomment 593 * this. Assumes you have Gcc2. 594 * (If you don't have Gcc2, you can use the DebugLib{X11,Xt,Xaw,...} variables 595 * to build debugging versions of the libraries separately.) 596 * 597#define DebuggableLibraries YES 598*/ 599 600/* 601 * To forceably build static libraries in addition to shared libraries, 602 * uncomment this. 603 * 604#define ForceNormalLib YES 605 */ 606 607/* 608 * Uncomment this if your default tools (eg, gcc, ld, as, etc) are 609 * not the Linux ELF versions. 610 * 611#define LinuxElfDefault NO 612 */ 613 614/* 615 * To use ELF format shared libraries for supported OSs, uncomment this. 616 * 617 * For Linux the default setting of this is the same as the setting of 618 * LinuxElfDefault. 619 * 620 * For FreeBSD this should automatically be set correctly by imake. Only 621 * change it here if you need to override the automatic setting. 622 * 623#define UseElfFormat YES 624 */ 625 626/* 627 * For FreeBSD/ELF (FreeBSD 3.0) it is possible to also build and install 628 * a.out compatibility libraries. To enable that, uncomment this. 629 * 630#define BuildAoutLibraries YES 631 */ 632 633/* 634 * If you have trouble with make bombing out in Xlib, try uncommenting this. 635 * You will not get dependencies as a result, but better than nothing. 636 * 637#define MakeHashTableBug YES 638 */ 639 640/* 641 * If you do not want your man pages compress under SVR3 systems that 642 * support it, uncomment this. 643 * 644#define CompressManPages NO 645 */ 646 647/* 648 * If you have sgmlfmt (the XFree86 doctools package) and want to build 649 * formatted docs from the SGML source, uncomment this. 650 * 651#define HasSgmlFmt YES 652 */ 653 654/* 655 * To disable building some document formats, uncomment some of these. 656 * 657#define BuildLinuxDocText NO 658#define BuildLinuxDocHtml NO 659#define BuildLinuxDocPS NO 660 */ 661 662/* 663 * To install Japanese versions of the documentation uncomment this. 664 * Note: The Japanese documentation consists of a subset of the 665 * XFree86 3.1 docs. 666 * 667#define InstallJapaneseDocs YES 668 */ 669 670/* 671 * To build/install X specs docs, uncomment the following. 672 * The SpecsDocDirs setting here is recommended because it covers 673 * the docs that XFree86 has changed or added. 674 * 675#define BuildSpecsDocs YES 676#define SpecsDocDirs CTEXT GL ICCCM X11 Xext Xmu Xv XvMC i18n 677 */ 678 679/* 680 * To build all specs docs, not just those listed in SpecsDocDirs, uncomment 681 * the following. 682 * 683#define BuildAllSpecsDocs YES 684 */ 685 686/* 687 * If your system doesn't support vm86() mode and you have 688 * libx86emu set library path here 689 * 690#define X86EMU_LIBPATH /usr/local/lib 691 */ 692 693 694