xorg-server.h revision bf8e669c
1/* include/xorg-server.h.  Generated from xorg-server.h.in by configure.  */
2/* xorg-server.h.in						-*- c -*-
3 *
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
9 *
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.
13 *
14 * However, it should be kept in sync with this file.
15 */
16
17#ifndef _XORG_SERVER_H_
18#define _XORG_SERVER_H_
19
20#ifdef HAVE_XORG_CONFIG_H
21#error Include xorg-config.h when building the X server
22#endif
23
24/* Support BigRequests extension */
25#define BIGREQS 1
26
27/* Default font path */
28/* #define COMPILEDDEFAULTFONTPATH "/usr/X11R7/share/fonts/X11/misc,/usr/X11R7/share/fonts/X11/TTF,/usr/X11R7/share/fonts/X11/OTF,/usr/X11R7/share/fonts/X11/Type1,/usr/X11R7/share/fonts/X11/100dpi,/usr/X11R7/share/fonts/X11/75dpi,/usr/X11R7/share/fonts/X11/cyrillic,/usr/X11R7/lib/X11/fonts/misc,/usr/X11R7/lib/X11/fonts/TTF,/usr/X11R7/lib/X11/fonts/OTF,/usr/X11R7/lib/X11/fonts/Type1,/usr/X11R7/lib/X11/fonts/100dpi,/usr/X11R7/lib/X11/fonts/75dpi,/usr/X11R7/lib/X11/fonts/cyrillic" */
29
30/* Support Composite Extension */
31#define COMPOSITE 1
32
33/* Build DPMS extension */
34#define DPMSExtension 1
35
36/* Build DRI3 extension */
37#define DRI3 1
38
39/* Build GLX extension */
40#define GLXEXT 1
41
42/* Support XDM-AUTH*-1 */
43#define HASXDMAUTH 1
44
45/* Support SHM */
46#define HAS_SHM 1
47
48/* Define to 1 if you have the `reallocarray' function. */
49/* #define HAVE_REALLOCARRAY 1 */
50
51/* Define to 1 if you have the `strcasecmp' function. */
52#define HAVE_STRCASECMP 1
53
54/* Define to 1 if you have the `strcasestr' function. */
55#define HAVE_STRCASESTR 1
56
57/* Define to 1 if you have the `strlcat' function. */
58#define HAVE_STRLCAT 1
59
60/* Define to 1 if you have the `strlcpy' function. */
61#define HAVE_STRLCPY 1
62
63/* Define to 1 if you have the `strncasecmp' function. */
64#define HAVE_STRNCASECMP 1
65
66/* Define to 1 if you have the `strndup' function. */
67#define HAVE_STRNDUP 1
68
69/* Support IPv6 for TCP connections */
70#define IPv6 1
71
72/* Support MIT-SHM Extension */
73#define MITSHM 1
74
75/* Internal define for Xinerama */
76#define PANORAMIX 1
77
78#if 0
79/* Support Present extension */
80#define PRESENT 1
81#endif
82
83/* Support RANDR extension */
84#define RANDR 1
85
86/* Support RENDER extension */
87#define RENDER 1
88
89/* Support X resource extension */
90#define RES 1
91
92/* Support MIT-SCREEN-SAVER extension */
93#define SCREENSAVER 1
94
95/* Support SHAPE extension */
96#define SHAPE 1
97
98/* Define to 1 on systems derived from System V Release 4 */
99/* #undef SVR4 */
100
101/* Support TCP socket connections */
102#define TCPCONN 1
103
104/* Support UNIX socket connections */
105#define UNIXCONN 1
106
107/* Support XCMisc extension */
108#define XCMISC 1
109
110/* Support Xdmcp */
111#define XDMCP 1
112
113/* Build XFree86 BigFont extension */
114/* #undef XF86BIGFONT */
115
116#if 0
117/* Support XFree86 Video Mode extension */
118#define XF86VIDMODE 1
119
120/* Build XDGA support */
121#define XFreeXDGA 1
122
123/* Support Xinerama extension */
124#define XINERAMA 1
125
126/* Support X Input extension */
127#define XINPUT 1
128#endif
129
130/* XKB default rules */
131#define XKB_DFLT_RULES "base"
132
133/* Build DRI extension */
134#define XF86DRI 1
135
136/* Build DRI2 extension */
137#define DRI2 1
138
139/* Build Xorg server */
140#define XORGSERVER 1
141
142/* Current Xorg version */
143#define XORG_VERSION_CURRENT (((1) * 10000000) + ((20) * 100000) + ((4) * 1000) + 0)
144
145/* Build Xv Extension */
146#define XvExtension 1
147
148/* Build XvMC Extension */
149#define XvMCExtension 1
150
151/* Support XSync extension */
152#define XSYNC 1
153
154/* Support XTest extension */
155#define XTEST 1
156
157/* Support Xv Extension */
158#define XV 1
159
160/* Vendor name */
161#define XVENDORNAME "The X.Org Foundation"
162
163/* BSD-compliant source */
164/* #undef _BSD_SOURCE */
165
166/* POSIX-compliant source */
167/* #undef _POSIX_SOURCE */
168
169/* X/Open-compliant source */
170/* #undef _XOPEN_SOURCE */
171
172/* Vendor web address for support */
173#define __VENDORDWEBSUPPORT__ "http://wiki.x.org"
174
175/* Location of configuration file */
176#define XCONFIGFILE "xorg.conf"
177
178/* Name of X server */
179#define __XSERVERNAME__ "Xorg"
180
181/* Building vgahw module */
182#define WITH_VGAHW 1
183
184/* System is BSD-like */
185#define CSRG_BASED 1
186
187/* System has PC console */
188#define PCCONS_SUPPORT 1
189
190/* System has PCVT console */
191#define PCVT_SUPPORT 1
192
193/* System has syscons console */
194/* #undef SYSCONS_SUPPORT */
195
196/* System has wscons console */
197#define WSCONS_SUPPORT 1
198
199#if 0
200/* Loadable XFree86 server awesomeness */
201#define XFree86LOADER
202
203/* Use libpciaccess */
204#define XSERVER_LIBPCIACCESS 1
205#endif
206
207/* X Access Control Extension */
208#define XACE 1
209
210/* Have X server platform bus support */
211/* #undef XSERVER_PLATFORM_BUS */
212
213#ifdef _LP64
214#define _XSERVER64 1
215#endif
216
217/* Have support for X shared memory fence library (xshmfence) */
218#define HAVE_XSHMFENCE 1
219
220/* Use XTrans FD passing support */
221#define XTRANS_SEND_FDS 1
222
223/* Ask fontsproto to make font path element names const */
224#define FONT_PATH_ELEMENT_NAME_CONST    1
225
226#if 0
227/* byte order */
228#define X_BYTE_ORDER X_LITTLE_ENDIAN
229#endif
230
231#endif /* _XORG_SERVER_H_ */
232