1 /* include/xorg-server.h. Generated from xorg-server.h.in by configure. */
2 /* xorg-server.h.in -*- c -*-
4 * This file is the template file for the xorg-server.h file which gets
5 * installed as part of the SDK. The #defines in this file overlap
6 * with those from config.h, but only for those options that we want
7 * to export to external modules. Boilerplate autotool #defines such
8 * as HAVE_STUFF and PACKAGE_NAME is kept in config.h
10 * It is still possible to update config.h.in using autoheader, since
11 * autoheader only creates a .h.in file for the first
12 * AM_CONFIG_HEADER() line, and thus does not overwrite this file.
14 * However, it should be kept in sync with this file.
17 #ifndef _XORG_SERVER_H_
18 #define _XORG_SERVER_H_
20 /* Support BigRequests extension */
23 /* Default font path */
24 #define COMPILEDDEFAULTFONTPATH "/usr/local/lib/X11/fonts/misc/,/usr/local/lib/X11/fonts/TTF/,/usr/local/lib/X11/fonts/OTF,/usr/local/lib/X11/fonts/Type1/,/usr/local/lib/X11/fonts/100dpi/,/usr/local/lib/X11/fonts/75dpi/"
26 /* Support Composite Extension */
29 /* Use OsVendorInit */
32 /* Build DPMS extension */
33 #define DPMSExtension 1
35 /* Built-in output drivers */
38 /* Build GLX extension */
41 /* Include handhelds.org h3600 touchscreen driver */
44 /* Support XDM-AUTH*-1 */
50 /* Built-in input drivers */
53 /* Support IPv6 for TCP connections */
56 /* Support MIT Misc extension */
59 /* Support MIT-SHM Extension */
62 /* Disable some debugging code */
65 /* Need XFree86 helper functions */
66 #define NEED_XF86_PROTOTYPES 1
68 /* Need XFree86 typedefs */
69 #define NEED_XF86_TYPES 1
71 /* Internal define for Xinerama */
74 /* Support pixmap privates */
77 /* Support RANDR extension */
80 /* Support RENDER extension */
83 /* Support X resource extension */
86 /* Support MIT-SCREEN-SAVER extension */
89 /* Use a lock to prevent multiple servers on a display */
92 /* Support SHAPE extension */
95 /* Include time-based scheduler */
96 #define SMART_SCHEDULE 1
98 /* Define to 1 on systems derived from System V Release 4 */
101 /* Support TCP socket connections */
104 /* Enable touchscreen support */
105 /* #undef TOUCHSCREEN */
107 /* Support tslib touchscreen abstraction library */
110 /* Support UNIX socket connections */
113 /* Use builtin rgb color database */
114 /* #undef USE_RGB_BUILTIN */
116 /* Use rgb.txt directly */
117 #define USE_RGB_TXT 1
119 /* unaligned word accesses behave as expected */
120 /* #undef WORKING_UNALIGNED_INT */
122 /* Support XCMisc extension */
128 /* Build XFree86 BigFont extension */
129 #define XF86BIGFONT 1
131 /* Support XFree86 miscellaneous extensions */
134 /* Support XFree86 Video Mode extension */
135 #define XF86VIDMODE 1
137 /* Build XDGA support */
140 /* Support Xinerama extension */
143 /* Support X Input extension */
149 /* Enable XKB per default */
150 #define XKB_DFLT_DISABLED 0
152 /* Build XKB server */
153 #define XKB_IN_SERVER 1
155 /* Support loadable input and output drivers */
156 /* #undef XLOADABLE */
158 /* Build DRI extension */
161 /* Build Xorg server */
165 /* #undef XORG_RELEASE */
167 /* Current Xorg version */
168 #define XORG_VERSION_CURRENT (((1) * 10000000) + ((4) * 100000) + ((0) * 1000) + 0)
170 /* Build Xv Extension */
171 #define XvExtension 1
173 /* Build XvMC Extension */
174 #define XvMCExtension 1
176 /* Build XRes extension */
177 #define XResExtension 1
179 /* Support XSync extension */
182 /* Support XTest extension */
185 /* Support XTrap extension */
188 /* Support Xv Extension */
192 #define XVENDORNAME "The X.Org Foundation"
195 #define _X_BYTE_ORDER X_LITTLE_ENDIAN
196 /* Deal with multiple architecture compiles on Mac OS X */
198 #define X_BYTE_ORDER _X_BYTE_ORDER
200 #ifdef __BIG_ENDIAN__
201 #define X_BYTE_ORDER X_BIG_ENDIAN
203 #define X_BYTE_ORDER X_LITTLE_ENDIAN
207 /* BSD-compliant source */
208 /* #undef _BSD_SOURCE */
210 /* POSIX-compliant source */
211 /* #undef _POSIX_SOURCE */
213 /* X/Open-compliant source */
214 /* #undef _XOPEN_SOURCE */
216 /* Vendor web address for support */
217 #define __VENDORDWEBSUPPORT__ "http://wiki.x.org"
219 /* Location of configuration file */
220 #define __XCONFIGFILE__ "xorg.conf"
222 /* XKB default rules */
223 #define __XKBDEFRULES__ "xorg"
225 /* Name of X server */
226 #define __XSERVERNAME__ "Xorg"
228 /* Define to 1 if unsigned long is 64 bits. */
229 /* #undef _XSERVER64 */
231 /* Building vgahw module */
234 /* System is BSD-like */
237 /* Solaris 8 or later? */
238 /* #undef __SOL8__ */
240 /* System has PC console */
241 #define PCCONS_SUPPORT 1
243 /* System has PCVT console */
244 #define PCVT_SUPPORT 1
246 /* System has syscons console */
247 #define SYSCONS_SUPPORT 1
249 /* System has wscons console */
250 /* #undef WSCONS_SUPPORT */
252 /* Loadable XFree86 server awesomeness */
253 #define XFree86LOADER 1
255 #endif /* _XORG_SERVER_H_ */