xorg-server.h revision cdb46081
1/* include/xorg-server.h. Generated from xorg-server.h.in by configure. */ 2/* xorg-server.h.in -*- c -*- 3 * 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 9 * 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. 13 * 14 * However, it should be kept in sync with this file. 15 */ 16 17#ifndef _XORG_SERVER_H_ 18#define _XORG_SERVER_H_ 19 20#ifdef HAVE_XORG_CONFIG_H 21#error Include xorg-config.h when building the X server 22#endif 23 24/* Support BigRequests extension */ 25#define BIGREQS 1 26 27/* Default font path */ 28/* #define COMPILEDDEFAULTFONTPATH "/usr/pkg/share/fonts/X11/misc,/usr/pkg/share/fonts/X11/TTF,/usr/pkg/share/fonts/X11/OTF,/usr/pkg/share/fonts/X11/Type1,/usr/pkg/share/fonts/X11/100dpi,/usr/pkg/share/fonts/X11/75dpi,/usr/pkg/share/fonts/X11/cyrillic,/usr/pkg/lib/X11/fonts/misc,/usr/pkg/lib/X11/fonts/TTF,/usr/pkg/lib/X11/fonts/OTF,/usr/pkg/lib/X11/fonts/Type1,/usr/pkg/lib/X11/fonts/100dpi,/usr/pkg/lib/X11/fonts/75dpi,/usr/pkg/lib/X11/fonts/cyrillic" */ 29 30/* Support Composite Extension */ 31#define COMPOSITE 1 32 33/* Build DPMS extension */ 34#define DPMSExtension 1 35 36/* Build DRI3 extension */ 37#define DRI3 1 38 39/* Build GLX extension */ 40#define GLXEXT 1 41 42/* Support XDM-AUTH*-1 */ 43#define HASXDMAUTH 1 44 45/* Support SHM */ 46#define HAS_SHM 1 47 48/* Define to 1 if you have the `ffs' function. */ 49#define HAVE_FFS 1 50 51/* Define to 1 if you have the `reallocarray' function. */ 52/* #undef HAVE_REALLOCARRAY */ 53 54/* Define to 1 if you have the `strcasecmp' function. */ 55#define HAVE_STRCASECMP 1 56 57/* Define to 1 if you have the `strcasestr' function. */ 58#define HAVE_STRCASESTR 1 59 60/* Define to 1 if you have the `strlcat' function. */ 61#define HAVE_STRLCAT 1 62 63/* Define to 1 if you have the `strlcpy' function. */ 64#define HAVE_STRLCPY 1 65 66/* Define to 1 if you have the `strncasecmp' function. */ 67#define HAVE_STRNCASECMP 1 68 69/* Define to 1 if you have the `strndup' function. */ 70#define HAVE_STRNDUP 1 71 72/* Support IPv6 for TCP connections */ 73#define IPv6 1 74 75/* Support MIT-SHM Extension */ 76#define MITSHM 1 77 78/* Internal define for Xinerama */ 79#define PANORAMIX 1 80 81#if 0 82/* Support Present extension */ 83#define PRESENT 1 84#endif 85 86/* Support RANDR extension */ 87#define RANDR 1 88 89/* Support RENDER extension */ 90#define RENDER 1 91 92/* Support X resource extension */ 93#define RES 1 94 95/* Support MIT-SCREEN-SAVER extension */ 96#define SCREENSAVER 1 97 98/* Support SHAPE extension */ 99#define SHAPE 1 100 101/* Define to 1 on systems derived from System V Release 4 */ 102/* #undef SVR4 */ 103 104/* Support TCP socket connections */ 105#define TCPCONN 1 106 107/* Support tslib touchscreen abstraction library */ 108/* #undef TSLIB */ 109 110/* Support UNIX socket connections */ 111#define UNIXCONN 1 112 113/* unaligned word accesses behave as expected */ 114/* #undef WORKING_UNALIGNED_INT */ 115 116/* Support XCMisc extension */ 117#define XCMISC 1 118 119/* Support Xdmcp */ 120#define XDMCP 1 121 122/* Build XFree86 BigFont extension */ 123/* #undef XF86BIGFONT */ 124 125#if 0 126/* Support XFree86 Video Mode extension */ 127#define XF86VIDMODE 1 128 129/* Build XDGA support */ 130#define XFreeXDGA 1 131 132/* Support Xinerama extension */ 133#define XINERAMA 1 134 135/* Support X Input extension */ 136#define XINPUT 1 137#endif 138 139/* XKB default rules */ 140#define XKB_DFLT_RULES "base" 141 142/* Support loadable input and output drivers */ 143/* #undef XLOADABLE */ 144 145/* Build DRI extension */ 146#define XF86DRI 1 147 148/* Build DRI2 extension */ 149#define DRI2 1 150 151/* Build Xorg server */ 152#define XORGSERVER 1 153 154/* Vendor release */ 155/* #undef XORG_RELEASE */ 156 157/* Current Xorg version */ 158#define XORG_VERSION_CURRENT (((1) * 10000000) + ((18) * 100000) + ((4) * 1000) + 0) 159 160/* Build Xv Extension */ 161#define XvExtension 1 162 163/* Build XvMC Extension */ 164#define XvMCExtension 1 165 166/* Support XSync extension */ 167#define XSYNC 1 168 169/* Support XTest extension */ 170#define XTEST 1 171 172/* Support Xv Extension */ 173#define XV 1 174 175/* Vendor name */ 176#define XVENDORNAME "The X.Org Foundation" 177 178/* BSD-compliant source */ 179/* #undef _BSD_SOURCE */ 180 181/* POSIX-compliant source */ 182/* #undef _POSIX_SOURCE */ 183 184/* X/Open-compliant source */ 185/* #undef _XOPEN_SOURCE */ 186 187/* Vendor web address for support */ 188#define __VENDORDWEBSUPPORT__ "http://wiki.x.org" 189 190/* Location of configuration file */ 191#define __XCONFIGFILE__ "xorg.conf" 192 193/* Name of X server */ 194#define __XSERVERNAME__ "Xorg" 195 196/* Building vgahw module */ 197#define WITH_VGAHW 1 198 199/* System is BSD-like */ 200#define CSRG_BASED 1 201 202/* System has PC console */ 203#define PCCONS_SUPPORT 1 204 205/* System has PCVT console */ 206#define PCVT_SUPPORT 1 207 208/* System has syscons console */ 209/* #undef SYSCONS_SUPPORT */ 210 211/* System has wscons console */ 212#define WSCONS_SUPPORT 1 213 214#if 0 215/* Loadable XFree86 server awesomeness */ 216#define XFree86LOADER 217 218/* Use libpciaccess */ 219#define XSERVER_LIBPCIACCESS 1 220#endif 221 222/* X Access Control Extension */ 223#define XACE 1 224 225/* Have X server platform bus support */ 226/* #undef XSERVER_PLATFORM_BUS */ 227 228#ifdef _LP64 229#define _XSERVER64 1 230#endif 231 232/* Have support for X shared memory fence library (xshmfence) */ 233#define HAVE_XSHMFENCE 1 234 235/* Use XTrans FD passing support */ 236#define XTRANS_SEND_FDS 1 237 238/* Ask fontsproto to make font path element names const */ 239#define FONT_PATH_ELEMENT_NAME_CONST 1 240 241#if 0 242/* byte order */ 243#define X_BYTE_ORDER X_LITTLE_ENDIAN 244#endif 245 246#endif /* _XORG_SERVER_H_ */ 247