summaryrefslogtreecommitdiff
path: root/include/xorg-server.h.meson.in
blob: 093801cad687a06f7bd5d9c12262593a5a3ee0cb (plain)
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
/* xorg-server.h.in						-*- c -*-
 *
 * This file is the template file for the xorg-server.h file which gets
 * installed as part of the SDK.  The #defines in this file overlap
 * with those from config.h, but only for those options that we want
 * to export to external modules.  Boilerplate autotool #defines such
 * as HAVE_STUFF and PACKAGE_NAME is kept in config.h
 *
 * It is still possible to update config.h.in using autoheader, since
 * autoheader only creates a .h.in file for the first
 * AM_CONFIG_HEADER() line, and thus does not overwrite this file.
 *
 * However, it should be kept in sync with this file.
 */

#ifndef _XORG_SERVER_H_
#define _XORG_SERVER_H_

#ifdef HAVE_XORG_CONFIG_H
#error Include xorg-config.h when building the X server
#endif

/* Support BigRequests extension */
#mesondefine BIGREQS

/* Default font path */
#mesondefine COMPILEDDEFAULTFONTPATH

/* Support Composite Extension */
#mesondefine COMPOSITE

/* Build DPMS extension */
#mesondefine DPMSExtension

/* Build DRI3 extension */
#mesondefine DRI3

/* Build GLX extension */
#mesondefine GLXEXT

/* Support XDM-AUTH*-1 */
#mesondefine HASXDMAUTH

/* Support SHM */
#mesondefine HAS_SHM

/* Define to 1 if you have the `reallocarray' function. */
#mesondefine HAVE_REALLOCARRAY

/* Define to 1 if you have the `strcasecmp' function. */
#mesondefine HAVE_STRCASECMP

/* Define to 1 if you have the `strcasestr' function. */
#mesondefine HAVE_STRCASESTR

/* Define to 1 if you have the `strlcat' function. */
#mesondefine HAVE_STRLCAT

/* Define to 1 if you have the `strlcpy' function. */
#mesondefine HAVE_STRLCPY

/* Define to 1 if you have the `strncasecmp' function. */
#mesondefine HAVE_STRNCASECMP

/* Define to 1 if you have the `strndup' function. */
#mesondefine HAVE_STRNDUP

/* Support IPv6 for TCP connections */
#mesondefine IPv6

/* Support MIT-SHM Extension */
#mesondefine MITSHM

/* Internal define for Xinerama */
#mesondefine PANORAMIX

/* Support Present extension */
#mesondefine PRESENT

/* Support RANDR extension */
#mesondefine RANDR

/* Support RENDER extension */
#mesondefine RENDER

/* Support X resource extension */
#mesondefine RES

/* Support MIT-SCREEN-SAVER extension */
#mesondefine SCREENSAVER

/* Support SHAPE extension */
#mesondefine SHAPE

/* Define to 1 on systems derived from System V Release 4 */
#mesondefine SVR4

/* Support TCP socket connections */
#mesondefine TCPCONN

/* Support UNIX socket connections */
#mesondefine UNIXCONN

/* Support XCMisc extension */
#mesondefine XCMISC

/* Support Xdmcp */
#mesondefine XDMCP

/* Build XFree86 BigFont extension */
#mesondefine XF86BIGFONT

/* Support XFree86 Video Mode extension */
#mesondefine XF86VIDMODE

/* Build XDGA support */
#mesondefine XFreeXDGA

/* Support Xinerama extension */
#mesondefine XINERAMA

/* Support X Input extension */
#mesondefine XINPUT

/* XKB default rules */
#mesondefine XKB_DFLT_RULES

/* Build DRI extension */
#mesondefine XF86DRI

/* Build DRI2 extension */
#mesondefine DRI2

/* Build Xorg server */
#mesondefine XORGSERVER

/* Current Xorg version */
#mesondefine XORG_VERSION_CURRENT

/* Build Xv Extension */
#mesondefine XvExtension

/* Build XvMC Extension */
#mesondefine XvMCExtension

/* Support XSync extension */
#mesondefine XSYNC

/* Support XTest extension */
#mesondefine XTEST

/* Support Xv Extension */
#mesondefine XV

/* Vendor name */
#mesondefine XVENDORNAME

/* BSD-compliant source */
#mesondefine _BSD_SOURCE

/* POSIX-compliant source */
#mesondefine _POSIX_SOURCE

/* X/Open-compliant source */
#mesondefine _XOPEN_SOURCE

/* Vendor web address for support */
#mesondefine __VENDORDWEBSUPPORT__

/* Location of configuration file */
#mesondefine XCONFIGFILE

/* Name of X server */
#mesondefine __XSERVERNAME__

/* Building vgahw module */
#mesondefine WITH_VGAHW

/* System is BSD-like */
#mesondefine CSRG_BASED

/* System has PC console */
#mesondefine PCCONS_SUPPORT

/* System has PCVT console */
#mesondefine PCVT_SUPPORT

/* System has syscons console */
#mesondefine SYSCONS_SUPPORT

/* System has wscons console */
#mesondefine WSCONS_SUPPORT

/* Loadable XFree86 server awesomeness */
#define XFree86LOADER

/* Use libpciaccess */
#mesondefine XSERVER_LIBPCIACCESS

/* X Access Control Extension */
#mesondefine XACE

/* Have X server platform bus support */
#mesondefine XSERVER_PLATFORM_BUS

#ifdef _LP64
#define _XSERVER64 1
#endif

/* Have support for X shared memory fence library (xshmfence) */
#mesondefine HAVE_XSHMFENCE

/* Use XTrans FD passing support */
#mesondefine XTRANS_SEND_FDS

/* Ask fontsproto to make font path element names const */
#define FONT_PATH_ELEMENT_NAME_CONST    1

/* byte order */
#mesondefine X_BYTE_ORDER

#endif /* _XORG_SERVER_H_ */