11b5d61b8Smrg/* xorg-server.h.in						-*- c -*-
21b5d61b8Smrg *
31b5d61b8Smrg * This file is the template file for the xorg-server.h file which gets
41b5d61b8Smrg * installed as part of the SDK.  The #defines in this file overlap
51b5d61b8Smrg * with those from config.h, but only for those options that we want
61b5d61b8Smrg * to export to external modules.  Boilerplate autotool #defines such
71b5d61b8Smrg * as HAVE_STUFF and PACKAGE_NAME is kept in config.h
81b5d61b8Smrg *
91b5d61b8Smrg * It is still possible to update config.h.in using autoheader, since
101b5d61b8Smrg * autoheader only creates a .h.in file for the first
111b5d61b8Smrg * AM_CONFIG_HEADER() line, and thus does not overwrite this file.
121b5d61b8Smrg *
131b5d61b8Smrg * However, it should be kept in sync with this file.
141b5d61b8Smrg */
151b5d61b8Smrg
161b5d61b8Smrg#ifndef _XORG_SERVER_H_
171b5d61b8Smrg#define _XORG_SERVER_H_
181b5d61b8Smrg
191b5d61b8Smrg#ifdef HAVE_XORG_CONFIG_H
201b5d61b8Smrg#error Include xorg-config.h when building the X server
211b5d61b8Smrg#endif
221b5d61b8Smrg
231b5d61b8Smrg/* Support BigRequests extension */
241b5d61b8Smrg#mesondefine BIGREQS
251b5d61b8Smrg
261b5d61b8Smrg/* Default font path */
271b5d61b8Smrg#mesondefine COMPILEDDEFAULTFONTPATH
281b5d61b8Smrg
291b5d61b8Smrg/* Support Composite Extension */
301b5d61b8Smrg#mesondefine COMPOSITE
311b5d61b8Smrg
321b5d61b8Smrg/* Build DPMS extension */
331b5d61b8Smrg#mesondefine DPMSExtension
341b5d61b8Smrg
351b5d61b8Smrg/* Build DRI3 extension */
361b5d61b8Smrg#mesondefine DRI3
371b5d61b8Smrg
381b5d61b8Smrg/* Build GLX extension */
391b5d61b8Smrg#mesondefine GLXEXT
401b5d61b8Smrg
411b5d61b8Smrg/* Support XDM-AUTH*-1 */
421b5d61b8Smrg#mesondefine HASXDMAUTH
431b5d61b8Smrg
441b5d61b8Smrg/* Support SHM */
451b5d61b8Smrg#mesondefine HAS_SHM
461b5d61b8Smrg
471b5d61b8Smrg/* Define to 1 if you have the `reallocarray' function. */
481b5d61b8Smrg#mesondefine HAVE_REALLOCARRAY
491b5d61b8Smrg
501b5d61b8Smrg/* Define to 1 if you have the `strcasecmp' function. */
511b5d61b8Smrg#mesondefine HAVE_STRCASECMP
521b5d61b8Smrg
531b5d61b8Smrg/* Define to 1 if you have the `strcasestr' function. */
541b5d61b8Smrg#mesondefine HAVE_STRCASESTR
551b5d61b8Smrg
561b5d61b8Smrg/* Define to 1 if you have the `strlcat' function. */
571b5d61b8Smrg#mesondefine HAVE_STRLCAT
581b5d61b8Smrg
591b5d61b8Smrg/* Define to 1 if you have the `strlcpy' function. */
601b5d61b8Smrg#mesondefine HAVE_STRLCPY
611b5d61b8Smrg
621b5d61b8Smrg/* Define to 1 if you have the `strncasecmp' function. */
631b5d61b8Smrg#mesondefine HAVE_STRNCASECMP
641b5d61b8Smrg
651b5d61b8Smrg/* Define to 1 if you have the `strndup' function. */
661b5d61b8Smrg#mesondefine HAVE_STRNDUP
671b5d61b8Smrg
681b5d61b8Smrg/* Support IPv6 for TCP connections */
691b5d61b8Smrg#mesondefine IPv6
701b5d61b8Smrg
711b5d61b8Smrg/* Support MIT-SHM Extension */
721b5d61b8Smrg#mesondefine MITSHM
731b5d61b8Smrg
741b5d61b8Smrg/* Internal define for Xinerama */
751b5d61b8Smrg#mesondefine PANORAMIX
761b5d61b8Smrg
771b5d61b8Smrg/* Support Present extension */
781b5d61b8Smrg#mesondefine PRESENT
791b5d61b8Smrg
801b5d61b8Smrg/* Support RANDR extension */
811b5d61b8Smrg#mesondefine RANDR
821b5d61b8Smrg
831b5d61b8Smrg/* Support RENDER extension */
841b5d61b8Smrg#mesondefine RENDER
851b5d61b8Smrg
861b5d61b8Smrg/* Support X resource extension */
871b5d61b8Smrg#mesondefine RES
881b5d61b8Smrg
891b5d61b8Smrg/* Support MIT-SCREEN-SAVER extension */
901b5d61b8Smrg#mesondefine SCREENSAVER
911b5d61b8Smrg
921b5d61b8Smrg/* Support SHAPE extension */
931b5d61b8Smrg#mesondefine SHAPE
941b5d61b8Smrg
951b5d61b8Smrg/* Define to 1 on systems derived from System V Release 4 */
961b5d61b8Smrg#mesondefine SVR4
971b5d61b8Smrg
981b5d61b8Smrg/* Support TCP socket connections */
991b5d61b8Smrg#mesondefine TCPCONN
1001b5d61b8Smrg
1011b5d61b8Smrg/* Support UNIX socket connections */
1021b5d61b8Smrg#mesondefine UNIXCONN
1031b5d61b8Smrg
1041b5d61b8Smrg/* Support XCMisc extension */
1051b5d61b8Smrg#mesondefine XCMISC
1061b5d61b8Smrg
1071b5d61b8Smrg/* Support Xdmcp */
1081b5d61b8Smrg#mesondefine XDMCP
1091b5d61b8Smrg
1101b5d61b8Smrg/* Build XFree86 BigFont extension */
1111b5d61b8Smrg#mesondefine XF86BIGFONT
1121b5d61b8Smrg
1131b5d61b8Smrg/* Support XFree86 Video Mode extension */
1141b5d61b8Smrg#mesondefine XF86VIDMODE
1151b5d61b8Smrg
1161b5d61b8Smrg/* Build XDGA support */
1171b5d61b8Smrg#mesondefine XFreeXDGA
1181b5d61b8Smrg
1191b5d61b8Smrg/* Support Xinerama extension */
1201b5d61b8Smrg#mesondefine XINERAMA
1211b5d61b8Smrg
1221b5d61b8Smrg/* Support X Input extension */
1231b5d61b8Smrg#mesondefine XINPUT
1241b5d61b8Smrg
1251b5d61b8Smrg/* XKB default rules */
1261b5d61b8Smrg#mesondefine XKB_DFLT_RULES
1271b5d61b8Smrg
1281b5d61b8Smrg/* Build DRI extension */
1291b5d61b8Smrg#mesondefine XF86DRI
1301b5d61b8Smrg
1311b5d61b8Smrg/* Build DRI2 extension */
1321b5d61b8Smrg#mesondefine DRI2
1331b5d61b8Smrg
1341b5d61b8Smrg/* Build Xorg server */
1351b5d61b8Smrg#mesondefine XORGSERVER
1361b5d61b8Smrg
1371b5d61b8Smrg/* Current Xorg version */
1381b5d61b8Smrg#mesondefine XORG_VERSION_CURRENT
1391b5d61b8Smrg
1401b5d61b8Smrg/* Build Xv Extension */
1411b5d61b8Smrg#mesondefine XvExtension
1421b5d61b8Smrg
1431b5d61b8Smrg/* Build XvMC Extension */
1441b5d61b8Smrg#mesondefine XvMCExtension
1451b5d61b8Smrg
1461b5d61b8Smrg/* Support XSync extension */
1471b5d61b8Smrg#mesondefine XSYNC
1481b5d61b8Smrg
1491b5d61b8Smrg/* Support XTest extension */
1501b5d61b8Smrg#mesondefine XTEST
1511b5d61b8Smrg
1521b5d61b8Smrg/* Support Xv Extension */
1531b5d61b8Smrg#mesondefine XV
1541b5d61b8Smrg
1551b5d61b8Smrg/* Vendor name */
1561b5d61b8Smrg#mesondefine XVENDORNAME
1571b5d61b8Smrg
1581b5d61b8Smrg/* BSD-compliant source */
1591b5d61b8Smrg#mesondefine _BSD_SOURCE
1601b5d61b8Smrg
1611b5d61b8Smrg/* POSIX-compliant source */
1621b5d61b8Smrg#mesondefine _POSIX_SOURCE
1631b5d61b8Smrg
1641b5d61b8Smrg/* X/Open-compliant source */
1651b5d61b8Smrg#mesondefine _XOPEN_SOURCE
1661b5d61b8Smrg
1671b5d61b8Smrg/* Vendor web address for support */
1681b5d61b8Smrg#mesondefine __VENDORDWEBSUPPORT__
1691b5d61b8Smrg
1701b5d61b8Smrg/* Location of configuration file */
1711b5d61b8Smrg#mesondefine XCONFIGFILE
1721b5d61b8Smrg
1731b5d61b8Smrg/* Name of X server */
1741b5d61b8Smrg#mesondefine __XSERVERNAME__
1751b5d61b8Smrg
1761b5d61b8Smrg/* Building vgahw module */
1771b5d61b8Smrg#mesondefine WITH_VGAHW
1781b5d61b8Smrg
1791b5d61b8Smrg/* System is BSD-like */
1801b5d61b8Smrg#mesondefine CSRG_BASED
1811b5d61b8Smrg
1821b5d61b8Smrg/* System has PC console */
1831b5d61b8Smrg#mesondefine PCCONS_SUPPORT
1841b5d61b8Smrg
1851b5d61b8Smrg/* System has PCVT console */
1861b5d61b8Smrg#mesondefine PCVT_SUPPORT
1871b5d61b8Smrg
1881b5d61b8Smrg/* System has syscons console */
1891b5d61b8Smrg#mesondefine SYSCONS_SUPPORT
1901b5d61b8Smrg
1911b5d61b8Smrg/* System has wscons console */
1921b5d61b8Smrg#mesondefine WSCONS_SUPPORT
1931b5d61b8Smrg
1941b5d61b8Smrg/* Loadable XFree86 server awesomeness */
1951b5d61b8Smrg#define XFree86LOADER
1961b5d61b8Smrg
1971b5d61b8Smrg/* Use libpciaccess */
1981b5d61b8Smrg#mesondefine XSERVER_LIBPCIACCESS
1991b5d61b8Smrg
2001b5d61b8Smrg/* X Access Control Extension */
2011b5d61b8Smrg#mesondefine XACE
2021b5d61b8Smrg
2031b5d61b8Smrg/* Have X server platform bus support */
2041b5d61b8Smrg#mesondefine XSERVER_PLATFORM_BUS
2051b5d61b8Smrg
2061b5d61b8Smrg#ifdef _LP64
2071b5d61b8Smrg#define _XSERVER64 1
2081b5d61b8Smrg#endif
2091b5d61b8Smrg
2101b5d61b8Smrg/* Have support for X shared memory fence library (xshmfence) */
2111b5d61b8Smrg#mesondefine HAVE_XSHMFENCE
2121b5d61b8Smrg
2131b5d61b8Smrg/* Use XTrans FD passing support */
2141b5d61b8Smrg#mesondefine XTRANS_SEND_FDS
2151b5d61b8Smrg
2161b5d61b8Smrg/* Ask fontsproto to make font path element names const */
2171b5d61b8Smrg#define FONT_PATH_ELEMENT_NAME_CONST    1
2181b5d61b8Smrg
2191b5d61b8Smrg/* byte order */
2201b5d61b8Smrg#mesondefine X_BYTE_ORDER
2211b5d61b8Smrg
2221b5d61b8Smrg#endif /* _XORG_SERVER_H_ */
223