105b261ecSmrg/* xorg-server.h.in						-*- c -*-
205b261ecSmrg *
305b261ecSmrg * This file is the template file for the xorg-server.h file which gets
405b261ecSmrg * installed as part of the SDK.  The #defines in this file overlap
505b261ecSmrg * with those from config.h, but only for those options that we want
605b261ecSmrg * to export to external modules.  Boilerplate autotool #defines such
705b261ecSmrg * as HAVE_STUFF and PACKAGE_NAME is kept in config.h
805b261ecSmrg *
905b261ecSmrg * It is still possible to update config.h.in using autoheader, since
1005b261ecSmrg * autoheader only creates a .h.in file for the first
1105b261ecSmrg * AM_CONFIG_HEADER() line, and thus does not overwrite this file.
1205b261ecSmrg *
1305b261ecSmrg * However, it should be kept in sync with this file.
1405b261ecSmrg */
1505b261ecSmrg
1605b261ecSmrg#ifndef _XORG_SERVER_H_
1705b261ecSmrg#define _XORG_SERVER_H_
1805b261ecSmrg
1935c4bbdfSmrg#ifdef HAVE_XORG_CONFIG_H
2035c4bbdfSmrg#error Include xorg-config.h when building the X server
2135c4bbdfSmrg#endif
2235c4bbdfSmrg
2305b261ecSmrg/* Support BigRequests extension */
2405b261ecSmrg#undef BIGREQS
2505b261ecSmrg
2605b261ecSmrg/* Default font path */
2705b261ecSmrg#undef COMPILEDDEFAULTFONTPATH
2805b261ecSmrg
2905b261ecSmrg/* Support Composite Extension */
3005b261ecSmrg#undef COMPOSITE
3105b261ecSmrg
3205b261ecSmrg/* Build DPMS extension */
3305b261ecSmrg#undef DPMSExtension
3405b261ecSmrg
3535c4bbdfSmrg/* Build DRI3 extension */
3635c4bbdfSmrg#undef DRI3
3735c4bbdfSmrg
3805b261ecSmrg/* Build GLX extension */
3905b261ecSmrg#undef GLXEXT
4005b261ecSmrg
4105b261ecSmrg/* Support XDM-AUTH*-1 */
4205b261ecSmrg#undef HASXDMAUTH
4305b261ecSmrg
4405b261ecSmrg/* Support SHM */
4505b261ecSmrg#undef HAS_SHM
4605b261ecSmrg
4735c4bbdfSmrg/* Define to 1 if you have the `reallocarray' function. */
4835c4bbdfSmrg#undef HAVE_REALLOCARRAY
4935c4bbdfSmrg
5035c4bbdfSmrg/* Define to 1 if you have the `strcasecmp' function. */
5135c4bbdfSmrg#undef HAVE_STRCASECMP
5235c4bbdfSmrg
5335c4bbdfSmrg/* Define to 1 if you have the `strcasestr' function. */
5435c4bbdfSmrg#undef HAVE_STRCASESTR
5535c4bbdfSmrg
5635c4bbdfSmrg/* Define to 1 if you have the `strlcat' function. */
5735c4bbdfSmrg#undef HAVE_STRLCAT
5835c4bbdfSmrg
5935c4bbdfSmrg/* Define to 1 if you have the `strlcpy' function. */
6035c4bbdfSmrg#undef HAVE_STRLCPY
6135c4bbdfSmrg
6235c4bbdfSmrg/* Define to 1 if you have the `strncasecmp' function. */
6335c4bbdfSmrg#undef HAVE_STRNCASECMP
6435c4bbdfSmrg
6535c4bbdfSmrg/* Define to 1 if you have the `strndup' function. */
6635c4bbdfSmrg#undef HAVE_STRNDUP
6735c4bbdfSmrg
6805b261ecSmrg/* Support IPv6 for TCP connections */
6905b261ecSmrg#undef IPv6
7005b261ecSmrg
7105b261ecSmrg/* Support MIT-SHM Extension */
7205b261ecSmrg#undef MITSHM
7305b261ecSmrg
7405b261ecSmrg/* Internal define for Xinerama */
7505b261ecSmrg#undef PANORAMIX
7605b261ecSmrg
7735c4bbdfSmrg/* Support Present extension */
7835c4bbdfSmrg#undef PRESENT
7935c4bbdfSmrg
8005b261ecSmrg/* Support RANDR extension */
8105b261ecSmrg#undef RANDR
8205b261ecSmrg
8305b261ecSmrg/* Support RENDER extension */
8405b261ecSmrg#undef RENDER
8505b261ecSmrg
8605b261ecSmrg/* Support X resource extension */
8705b261ecSmrg#undef RES
8805b261ecSmrg
8905b261ecSmrg/* Support MIT-SCREEN-SAVER extension */
9005b261ecSmrg#undef SCREENSAVER
9105b261ecSmrg
9205b261ecSmrg/* Support SHAPE extension */
9305b261ecSmrg#undef SHAPE
9405b261ecSmrg
9505b261ecSmrg/* Define to 1 on systems derived from System V Release 4 */
9605b261ecSmrg#undef SVR4
9705b261ecSmrg
9805b261ecSmrg/* Support TCP socket connections */
9905b261ecSmrg#undef TCPCONN
10005b261ecSmrg
10105b261ecSmrg/* Support UNIX socket connections */
10205b261ecSmrg#undef UNIXCONN
10305b261ecSmrg
10405b261ecSmrg/* Support XCMisc extension */
10505b261ecSmrg#undef XCMISC
10605b261ecSmrg
10705b261ecSmrg/* Support Xdmcp */
10805b261ecSmrg#undef XDMCP
10905b261ecSmrg
11005b261ecSmrg/* Build XFree86 BigFont extension */
11105b261ecSmrg#undef XF86BIGFONT
11205b261ecSmrg
11305b261ecSmrg/* Support XFree86 Video Mode extension */
11405b261ecSmrg#undef XF86VIDMODE
11505b261ecSmrg
11605b261ecSmrg/* Build XDGA support */
11705b261ecSmrg#undef XFreeXDGA
11805b261ecSmrg
11905b261ecSmrg/* Support Xinerama extension */
12005b261ecSmrg#undef XINERAMA
12105b261ecSmrg
12205b261ecSmrg/* Support X Input extension */
12305b261ecSmrg#undef XINPUT
12405b261ecSmrg
1256747b715Smrg/* XKB default rules */
1266747b715Smrg#undef XKB_DFLT_RULES
12705b261ecSmrg
12805b261ecSmrg/* Build DRI extension */
12905b261ecSmrg#undef XF86DRI
13005b261ecSmrg
1314642e01fSmrg/* Build DRI2 extension */
1324642e01fSmrg#undef DRI2
1334642e01fSmrg
13405b261ecSmrg/* Build Xorg server */
13505b261ecSmrg#undef XORGSERVER
13605b261ecSmrg
13705b261ecSmrg/* Current Xorg version */
13805b261ecSmrg#undef XORG_VERSION_CURRENT
13905b261ecSmrg
14005b261ecSmrg/* Build Xv Extension */
14105b261ecSmrg#undef XvExtension
14205b261ecSmrg
14305b261ecSmrg/* Build XvMC Extension */
14405b261ecSmrg#undef XvMCExtension
14505b261ecSmrg
14605b261ecSmrg/* Support XSync extension */
14705b261ecSmrg#undef XSYNC
14805b261ecSmrg
14905b261ecSmrg/* Support XTest extension */
15005b261ecSmrg#undef XTEST
15105b261ecSmrg
15205b261ecSmrg/* Support Xv Extension */
15305b261ecSmrg#undef XV
15405b261ecSmrg
15505b261ecSmrg/* Vendor name */
15605b261ecSmrg#undef XVENDORNAME
15705b261ecSmrg
15805b261ecSmrg/* BSD-compliant source */
15905b261ecSmrg#undef _BSD_SOURCE
16005b261ecSmrg
16105b261ecSmrg/* POSIX-compliant source */
16205b261ecSmrg#undef _POSIX_SOURCE
16305b261ecSmrg
16405b261ecSmrg/* X/Open-compliant source */
16505b261ecSmrg#undef _XOPEN_SOURCE
16605b261ecSmrg
16705b261ecSmrg/* Vendor web address for support */
16805b261ecSmrg#undef __VENDORDWEBSUPPORT__
16905b261ecSmrg
17005b261ecSmrg/* Location of configuration file */
1711b5d61b8Smrg#undef XCONFIGFILE
17205b261ecSmrg
17305b261ecSmrg/* Name of X server */
17405b261ecSmrg#undef __XSERVERNAME__
17505b261ecSmrg
17605b261ecSmrg/* Building vgahw module */
17705b261ecSmrg#undef WITH_VGAHW
17805b261ecSmrg
17905b261ecSmrg/* System is BSD-like */
18005b261ecSmrg#undef CSRG_BASED
18105b261ecSmrg
18205b261ecSmrg/* System has PC console */
18305b261ecSmrg#undef PCCONS_SUPPORT
18405b261ecSmrg
18505b261ecSmrg/* System has PCVT console */
18605b261ecSmrg#undef PCVT_SUPPORT
18705b261ecSmrg
18805b261ecSmrg/* System has syscons console */
18905b261ecSmrg#undef SYSCONS_SUPPORT
19005b261ecSmrg
19105b261ecSmrg/* System has wscons console */
19205b261ecSmrg#undef WSCONS_SUPPORT
19305b261ecSmrg
19405b261ecSmrg/* Loadable XFree86 server awesomeness */
19535c4bbdfSmrg#define XFree86LOADER
19605b261ecSmrg
1974642e01fSmrg/* Use libpciaccess */
1984642e01fSmrg#undef XSERVER_LIBPCIACCESS
1994642e01fSmrg
2006747b715Smrg/* X Access Control Extension */
2016747b715Smrg#undef XACE
2026747b715Smrg
20335c4bbdfSmrg/* Have X server platform bus support */
20435c4bbdfSmrg#undef XSERVER_PLATFORM_BUS
20535c4bbdfSmrg
2069ace9065Smrg#ifdef _LP64
2079ace9065Smrg#define _XSERVER64 1
2089ace9065Smrg#endif
2099ace9065Smrg
21035c4bbdfSmrg/* Have support for X shared memory fence library (xshmfence) */
21135c4bbdfSmrg#undef HAVE_XSHMFENCE
21235c4bbdfSmrg
21335c4bbdfSmrg/* Use XTrans FD passing support */
21435c4bbdfSmrg#undef XTRANS_SEND_FDS
21535c4bbdfSmrg
21635c4bbdfSmrg/* Ask fontsproto to make font path element names const */
21735c4bbdfSmrg#define FONT_PATH_ELEMENT_NAME_CONST    1
21835c4bbdfSmrg
21935c4bbdfSmrg/* byte order */
22035c4bbdfSmrg#undef X_BYTE_ORDER
22135c4bbdfSmrg
22205b261ecSmrg#endif /* _XORG_SERVER_H_ */
223