1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
|
XCOMM $XFree86: xc/config/cf/xf86site.def,v 3.186 2003/06/25 18:06:22 eich Exp $
/******************************************************************************/
/*
* This file is to provide a quick method for most people to change the
* behaviour of their Xorg installation without having to fully
* understand the workings of site.def and all the various '.cf' files.
*
* In the vast majority of cases, it should not be necessary to use this
* file at all or change it in any way.
*
* This file is divided into two sections. The first contains settings
* that end-users might reasonably change. The second contains settings
* that developers might want to change.
*
* IMPORTANT NOTE: In all cases changing the defaults may cause problems
* and/or unexpected side-effects. If you don't understand what a setting
* does, then it's best to not change it. If you make changes and have
* problems, verify that those problems are also present when using an
* empty host.def file and unchanged version of this file before reporting
* them.
*
* A good way to use this file is to copy it to host.def, and make the
* changes there. That way, future patches to this file won't fail.
* The host.def file will never be patched.
*
* The distributed version of this file MUST contain no uncommented
* definitions. Default definitions belong in xorg.cf, or <vendor>.cf
* files.
*/
/******************************************************************************/
/*
* If you have build-specific modifications in your host.def file, but
* want an empty host.def file installed when doing 'make install',
* uncomment the following
*
#define InstallEmptyHostDef
*/
/*
* Which servers to build. There is only Xorg server.
* It can be disabled by the following.
*
#define XorgServer NO
*/
/*
* Set the default server (ie the one that gets the sym-link to "X")
*
#define ServerToInstall Xorg
*/
/*
* Server configuration parameters. The defaults are shown here:
*/
/*
* Select the XInput devices you want by uncommenting this.
*
#define XInputDrivers mouse keyboard acecad calcomp citron \
digitaledge dmc dynapro elographics \
microtouch mutouch penmount spaceorb summa \
wacom void magictouch aiptek
*/
/*
* To use the deprecated, old keyboard driver, uncomment this. But
* even better, make the new keyboard driver (hw/xfree86/input/keyboard)
* work for your architechture. The old driver will be removed in the
* next release.
*
#define UseDeprecatedKeyboardDriver YES
*/
/*
* To build only the servers with a cut-down source tree, uncomment
* this.
*
#define BuildServersOnly YES
*/
/*
* Undefine the following if you don't want to have config files and
* app-defaults installed in a separate directory (i.e. /etc/X11).
*
#define UseSeparateConfDir NO
*/
/*
* Unless you're a developer you shouldn't need to change anything
* beyond this point.
*/
/*
* If you want to enable some developer settings, like more verbose
* compiler warnings, uncomment this.
*
#define XFree86Devel YES
*/
/*
* The default optimisation flags for GCC 2.x. -fno-strength-reduce is
* here to work around a bug in -O2 for GCC 2.x on i386 platforms.
* If you are using a version that doesn't have this bug, you can
* uncomment the following line, and remove '-fno-strength-reduce'
* If you are building binaries for a 486, it may be beneficial to add
* -m486
*
#define DefaultGcc2i386Opt -O2 -fno-strength-reduce
*/
/*
* This allows the GCC warning flags to be set. The default is shown here.
*
#define GccWarningOptions -Wall -Wpointer-arith -Wstrict-prototypes \
-Wmissing-prototypes -Wmissing-declarations \
-Wredundant-decls -Wnested-externs
*/
/*
* Sun Compiler stuff..
*
#define HasSunC YES
#define HasSunCplusplus YES
#define CplusplusCompilerMajorVersion 5
#define CplusplusCompilerMinorVersion 0
#define CCompilerMajorVersion 5
#define CCompilerMinorVersion 0
*/
/*
* Optimized Sun Compiler Build.
*
#define DefaultCDebugFlags -xO4 -xtarget=pentium_pro
#define OptimizedCDebugFlags -xO4 -xtarget=pentium_pro
*/
/*
* Debuggable Sun Compiler Build.
* Note: This builds _EVERYTHING_ as debuggable
*
#define DefaultCDebugFlags -g -xs
#define OptimizedCDebugFlags -g -xs
*/
/*
* For Linux, this should match the Binutils version you have. This example
* is for 2.6.0.7. See linux.cf for the default setting.
*
* This should automatically get set correctly by imake.
*
#define LinuxBinUtilsMajorVersion 26
*/
/*
* For Linux, these should match the libc version you have. This example
* is for libc.5.4.x. See linux.cf for the default setting.
*
* This should automatically get set correctly by imake.
*
#define LinuxCLibMajorVersion 5
#define LinuxClibMinorVersion 4
*/
/*
* Some Linux releases don't have a libtermcap. In this case you may need
* to uncomment the following
*
#define TermcapLibrary -lncurses
*/
/*
* Build a server that dynamically loads the modules by setting
* this to YES. This defaults to YES on most platforms. A static server
* can be built by setting this to NO.
*
#define DoLoadableServer NO
*/
/*
* This release defaults to building dlopen() style modules instead of the
* previously standard loader modules.
*
* Uncomment the following to return to the XFree86 custom loader modules.
*
#define MakeDllModules NO
*/
/*
* Build XAA. This can be disabled with:
*
#define XF86XAA NO
*/
/*
* Build vgahw. This can be disabled with:
*
#define XF86VgaHw NO
*/
/*
* Build xf1bpp. This can be disabled with:
*
#define XF1Bpp NO
*/
/*
* Build xf4bpp. This can be disabled with:
*
#define XF4Bpp NO
*/
/*
* BSD Console driver support (for FreeBSD and NetBSD).
*
* By default, support is included for pccons and pcvt for NetBSD, and
* pccons, syscons and pcvt for FreeBSD.
*
* To change the list of supported drivers, set the following parameter.
* Possible values are -DPCCONS_SUPPORT, -DSYSCONS_SUPPORT, -DPCVT_SUPPORT.
* The following example includes support for syscons and pcvt only.
*
#define XFree86ConsoleDefines -DSYSCONS_SUPPORT -DPCVT_SUPPORT
*/
/*
* To disable building XInput support, uncomment this
*
#define BuildXInputExt NO
*/
/*
* Uncomment this for joystick support.
*
* Note: Joystick support is broken, so don't enable this.
*
#define JoystickSupport YES
*/
/*
* To disable the ScreenSaver Extension, uncomment this line.
*
#define BuildScreenSaverExt NO
*/
/*
* If you don't want to build Xinerama support, uncomment this.
*
#define BuildXinerama NO
*/
/*
* If you don't want to build support for the GLX extension, uncomment this.
*
#define BuildGlxExt NO
*/
/*
* If you are running NetBSD 0.9C or later, and have the aperture driver
* installed, uncomment this.
*
#define HasNetBSDApertureDriver YES
*/
/*
* If you are running SVR3 and have the mmap driver installed (for linear
* framebuffer access) uncomment this.
*
#define HasSVR3mmapDrv YES
*/
/*
* If you are using an SVR3 (like ISC 4.x) which supports long file names,
* you can uncomment this to have manual pages installed under their
* full names
*
#define ExpandManNames YES
*/
/*
* For a POSIXized build on Interactive uncomment this
* Could be used with gcc 'till Version 2.6.3
* Should be used with gcc 2.7.2.
*
#define UsePosix YES
*/
/*
* If you don't want XDMAUTH support (if you don't have Wraphelp.c),
* comment this out.
*
*/
#define HasXdmAuth YES
/*
* If you have Linux DECnet support, and want to build XFree86 with support
* for connections over DECnet, uncomment this.
*
#define HasDECnet YES
*/
/*
* To build static and shared libraries with debugging information, uncomment
* this. Assumes you have Gcc2.
* (If you don't have Gcc2, you can use the DebugLib{X11,...} variables
* to build debugging versions of the libraries separately.)
*
#define DebuggableLibraries YES
*/
/*
* To forceably build static libraries in addition to shared libraries,
* uncomment this.
*
#define ForceNormalLib YES
*/
/*
* Uncomment this if your default tools (eg, gcc, ld, as, etc) are
* not the Linux ELF versions.
*
#define LinuxElfDefault NO
*/
/*
* To use ELF format shared libraries for supported OSs, uncomment this.
*
* For Linux the default setting of this is the same as the setting of
* LinuxElfDefault.
*
* For FreeBSD this should automatically be set correctly by imake. Only
* change it here if you need to override the automatic setting.
*
#define UseElfFormat YES
*/
/*
* For FreeBSD/ELF (FreeBSD 3.0) it is possible to also build and install
* a.out compatibility libraries. To enable that, uncomment this.
*
#define BuildAoutLibraries YES
*/
/*
* If you have trouble with make bombing out in Xlib, try uncommenting this.
* You will not get dependencies as a result, but better than nothing.
*
#define MakeHashTableBug YES
*/
/*
* If you do not want your man pages compress under SVR3 systems that
* support it, uncomment this.
*
#define CompressManPages NO
*/
/*
* If you have sgmlfmt (the XFree86 doctools package) and want to build
* formatted docs from the SGML source, uncomment this.
*
#define HasSgmlFmt YES
*/
/*
* To disable building some document formats, uncomment some of these.
*
#define BuildLinuxDocText NO
#define BuildLinuxDocHtml NO
#define BuildLinuxDocPS NO
*/
/*
* To install Japanese versions of the documentation uncomment this.
* Note: The Japanese documentation consists of a subset of the
* XFree86 3.1 docs.
*
#define InstallJapaneseDocs YES
*/
/*
* To build/install X specs docs, uncomment the following.
* The SpecsDocDirs setting here is recommended because it covers
* the docs that XFree86 has changed or added.
*
#define BuildSpecsDocs YES
#define SpecsDocDirs CTEXT GL ICCCM X11 Xext Xmu Xv XvMC i18n
*/
/*
* To build all specs docs, not just those listed in SpecsDocDirs, uncomment
* the following.
*
#define BuildAllSpecsDocs YES
*/
/*
* If your system doesn't support vm86() mode and you have
* libx86emu set library path here
*
#define X86EMU_LIBPATH /usr/local/lib
*/
|