xorg-server.h revision 3039d1a7
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/* Support BigRequests extension */ 21#define BIGREQS 1 22 23/* Default font path */ 24#define COMPILEDDEFAULTFONTPATH "/usr/local/lib/X11/fonts/misc/,/usr/local/lib/X11/fonts/TTF/,/usr/local/lib/X11/fonts/OTF,/usr/local/lib/X11/fonts/Type1/,/usr/local/lib/X11/fonts/100dpi/,/usr/local/lib/X11/fonts/75dpi/" 25 26/* Support Composite Extension */ 27#define COMPOSITE 1 28 29/* Use OsVendorInit */ 30#define DDXOSINIT 1 31 32/* Build DPMS extension */ 33#define DPMSExtension 1 34 35/* Built-in output drivers */ 36#define DRIVERS {} 37 38/* Build GLX extension */ 39/* #undef GLXEXT */ 40 41/* Include handhelds.org h3600 touchscreen driver */ 42/* #undef H3600_TS */ 43 44/* Support XDM-AUTH*-1 */ 45#define HASXDMAUTH 1 46 47/* Support SHM */ 48#define HAS_SHM 1 49 50/* Built-in input drivers */ 51#define IDRIVERS {} 52 53/* Support IPv6 for TCP connections */ 54#define IPv6 1 55 56/* Support MIT Misc extension */ 57#define MITMISC 1 58 59/* Support MIT-SHM Extension */ 60#define MITSHM 1 61 62/* Disable some debugging code */ 63#define NDEBUG 1 64 65/* Need XFree86 helper functions */ 66#define NEED_XF86_PROTOTYPES 1 67 68/* Need XFree86 typedefs */ 69#define NEED_XF86_TYPES 1 70 71/* Internal define for Xinerama */ 72#define PANORAMIX 1 73 74/* Support pixmap privates */ 75#define PIXPRIV 1 76 77/* Support RANDR extension */ 78#define RANDR 1 79 80/* Support RENDER extension */ 81#define RENDER 1 82 83/* Support X resource extension */ 84#define RES 1 85 86/* Support MIT-SCREEN-SAVER extension */ 87#define SCREENSAVER 1 88 89/* Use a lock to prevent multiple servers on a display */ 90#define SERVER_LOCK 1 91 92/* Support SHAPE extension */ 93#define SHAPE 1 94 95/* Include time-based scheduler */ 96#define SMART_SCHEDULE 1 97 98/* Define to 1 on systems derived from System V Release 4 */ 99/* #undef SVR4 */ 100 101/* Support TCP socket connections */ 102#define TCPCONN 1 103 104/* Enable touchscreen support */ 105/* #undef TOUCHSCREEN */ 106 107/* Support tslib touchscreen abstraction library */ 108/* #undef TSLIB */ 109 110/* Support UNIX socket connections */ 111#define UNIXCONN 1 112 113/* Use builtin rgb color database */ 114/* #undef USE_RGB_BUILTIN */ 115 116/* Use rgb.txt directly */ 117#define USE_RGB_TXT 1 118 119/* unaligned word accesses behave as expected */ 120/* #undef WORKING_UNALIGNED_INT */ 121 122/* Support XCMisc extension */ 123#define XCMISC 1 124 125/* Support Xdmcp */ 126#define XDMCP 1 127 128/* Build XFree86 BigFont extension */ 129#define XF86BIGFONT 1 130 131/* Support XFree86 miscellaneous extensions */ 132#define XF86MISC 1 133 134/* Support XFree86 Video Mode extension */ 135#define XF86VIDMODE 1 136 137/* Build XDGA support */ 138#define XFreeXDGA 1 139 140/* Support Xinerama extension */ 141#define XINERAMA 1 142 143/* Support X Input extension */ 144#define XINPUT 1 145 146/* Build XKB */ 147#define XKB 1 148 149/* Enable XKB per default */ 150#define XKB_DFLT_DISABLED 0 151 152/* Build XKB server */ 153#define XKB_IN_SERVER 1 154 155/* Support loadable input and output drivers */ 156/* #undef XLOADABLE */ 157 158/* Build DRI extension */ 159#define XF86DRI 1 160 161/* Build Xorg server */ 162#define XORGSERVER 1 163 164/* Vendor release */ 165/* #undef XORG_RELEASE */ 166 167/* Current Xorg version */ 168#define XORG_VERSION_CURRENT (((1) * 10000000) + ((4) * 100000) + ((2) * 1000) + 0) 169 170/* Build Xv Extension */ 171#define XvExtension 1 172 173/* Build XvMC Extension */ 174#define XvMCExtension 1 175 176/* Build XRes extension */ 177#define XResExtension 1 178 179/* Support XSync extension */ 180#define XSYNC 1 181 182/* Support XTest extension */ 183#define XTEST 1 184 185/* Support XTrap extension */ 186#define XTRAP 1 187 188/* Support Xv Extension */ 189#define XV 1 190 191/* Vendor name */ 192#define XVENDORNAME "The X.Org Foundation" 193 194#ifdef __NetBSD__ 195#include <sys/endian.h> 196#if _BYTE_ORDER == _BIG_ENDIAN 197#define _X_BYTE_ORDER X_BIG_ENDIAN 198#else 199#define _X_BYTE_ORDER X_LITTLE_ENDIAN 200#endif 201#else 202/* Endian order */ 203#define _X_BYTE_ORDER X_LITTLE_ENDIAN 204/* Deal with multiple architecture compiles on Mac OS X */ 205#ifndef __APPLE_CC__ 206#define X_BYTE_ORDER _X_BYTE_ORDER 207#else 208#ifdef __BIG_ENDIAN__ 209#define X_BYTE_ORDER X_BIG_ENDIAN 210#else 211#define X_BYTE_ORDER X_LITTLE_ENDIAN 212#endif 213#endif 214#endif 215 216/* BSD-compliant source */ 217/* #undef _BSD_SOURCE */ 218 219/* POSIX-compliant source */ 220/* #undef _POSIX_SOURCE */ 221 222/* X/Open-compliant source */ 223/* #undef _XOPEN_SOURCE */ 224 225/* Vendor web address for support */ 226#define __VENDORDWEBSUPPORT__ "http://wiki.x.org" 227 228/* Location of configuration file */ 229#define __XCONFIGFILE__ "xorg.conf" 230 231/* XKB default rules */ 232#define __XKBDEFRULES__ "xorg" 233 234/* Name of X server */ 235#define __XSERVERNAME__ "Xorg" 236 237#if defined(_LP64) 238/* Define to 1 if unsigned long is 64 bits. */ 239#define _XSERVER64 1 240#endif 241 242/* Building vgahw module */ 243#define WITH_VGAHW 1 244 245/* System is BSD-like */ 246#define CSRG_BASED 1 247 248/* Solaris 8 or later? */ 249/* #undef __SOL8__ */ 250 251/* System has PC console */ 252#define PCCONS_SUPPORT 1 253 254/* System has PCVT console */ 255#define PCVT_SUPPORT 1 256 257/* System has syscons console */ 258/* #undef SYSCONS_SUPPORT */ 259 260/* System has wscons console */ 261#define WSCONS_SUPPORT 1 262 263/* Loadable XFree86 server awesomeness */ 264#define XFree86LOADER 1 265 266#endif /* _XORG_SERVER_H_ */ 267