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 #ifdef HAVE_XORG_CONFIG_H
21 #error Include xorg-config.h when building the X server
24 /* Support BigRequests extension */
27 /* Default font path */
28 #define COMPILEDDEFAULTFONTPATH "catalogue:/etc/X11/fontpath.d"
30 /* Support Composite Extension */
33 /* Build DPMS extension */
34 #define DPMSExtension 1
36 /* Build DRI3 extension */
39 /* Build GLX extension */
42 /* Support XDM-AUTH*-1 */
48 /* Define to 1 if you have the `ffs' function. */
51 /* Define to 1 if you have the `strcasecmp' function. */
52 #define HAVE_STRCASECMP 1
54 /* Define to 1 if you have the `strcasestr' function. */
55 #define HAVE_STRCASESTR 1
57 /* Define to 1 if you have the `strlcat' function. */
58 #define HAVE_STRLCAT 1
60 /* Define to 1 if you have the `strlcpy' function. */
61 #define HAVE_STRLCPY 1
63 /* Define to 1 if you have the `strncasecmp' function. */
64 #define HAVE_STRNCASECMP 1
66 /* Define to 1 if you have the `strndup' function. */
67 #define HAVE_STRNDUP 1
69 /* Support IPv6 for TCP connections */
72 /* Support MIT-SHM Extension */
75 /* Internal define for Xinerama */
78 /* Support RANDR extension */
81 /* Support RENDER extension */
84 /* Support X resource extension */
87 /* Support MIT-SCREEN-SAVER extension */
90 /* Support SHAPE extension */
93 /* Define to 1 on systems derived from System V Release 4 */
96 /* Support TCP socket connections */
99 /* Enable touchscreen support */
100 /* #undef TOUCHSCREEN */
102 /* Support tslib touchscreen abstraction library */
105 /* Support UNIX socket connections */
108 /* unaligned word accesses behave as expected */
109 /* #undef WORKING_UNALIGNED_INT */
111 /* Support XCMisc extension */
117 /* Build XFree86 BigFont extension */
118 /* #undef XF86BIGFONT */
120 /* Support XFree86 Video Mode extension */
121 #define XF86VIDMODE 1
123 /* Build XDGA support */
126 /* Support Xinerama extension */
129 /* Support X Input extension */
132 /* XKB default rules */
133 #define XKB_DFLT_RULES "base"
135 /* Support loadable input and output drivers */
136 /* #undef XLOADABLE */
138 /* Build DRI extension */
139 /* #define XF86DRI 1 */
141 /* Build DRI2 extension */
144 /* Build Xorg server */
148 /* #undef XORG_RELEASE */
150 /* Current Xorg version */
151 #define XORG_VERSION_CURRENT (((1) * 10000000) + ((19) * 100000) + ((5) * 1000) + 0)
153 /* Build Xv Extension */
154 #define XvExtension 1
156 /* Build XvMC Extension */
157 #define XvMCExtension 1
159 /* Support XSync extension */
162 /* Support XTest extension */
165 /* Support Xv Extension */
169 #define XVENDORNAME "Project OpenIndiana"
171 /* BSD-compliant source */
172 /* #undef _BSD_SOURCE */
174 /* POSIX-compliant source */
175 /* #undef _POSIX_SOURCE */
177 /* X/Open-compliant source */
178 #define _XOPEN_SOURCE 600
180 /* Vendor web address for support */
181 #define __VENDORDWEBSUPPORT__ "http://openindiana.org"
183 /* Location of configuration file */
184 #define __XCONFIGFILE__ "xorg.conf"
186 /* Name of X server */
187 #define __XSERVERNAME__ "Xorg"
189 /* Building vgahw module */
192 /* System is BSD-like */
193 /* #undef CSRG_BASED */
195 /* System has PC console */
196 /* #undef PCCONS_SUPPORT */
198 /* System has PCVT console */
199 /* #undef PCVT_SUPPORT */
201 /* System has syscons console */
202 /* #undef SYSCONS_SUPPORT */
204 /* System has wscons console */
205 /* #undef WSCONS_SUPPORT */
207 /* Loadable XFree86 server awesomeness */
208 #define XFree86LOADER
210 /* Use libpciaccess */
211 #define XSERVER_LIBPCIACCESS 1
213 /* X Access Control Extension */
216 /* Have X server platform bus support */
217 /* #undef XSERVER_PLATFORM_BUS */
219 #include <sys/isa_defs.h> /* Ensure _LP64 is defined when needed on Solaris */
224 /* Have support for X shared memory fence library (xshmfence) */
225 #define HAVE_XSHMFENCE 1
227 /* Use XTrans FD passing support */
228 #define XTRANS_SEND_FDS 1
230 /* Ask fontsproto to make font path element names const */
231 #define FONT_PATH_ELEMENT_NAME_CONST 1
234 #define X_BYTE_ORDER X_LITTLE_ENDIAN
236 #endif /* _XORG_SERVER_H_ */