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