xorg-server.h revision 293e56a8
1706f2543Smrg/* include/xorg-server.h. Generated from xorg-server.h.in by configure. */ 2706f2543Smrg/* xorg-server.h.in -*- c -*- 3706f2543Smrg * 4706f2543Smrg * This file is the template file for the xorg-server.h file which gets 5706f2543Smrg * installed as part of the SDK. The #defines in this file overlap 6706f2543Smrg * with those from config.h, but only for those options that we want 7706f2543Smrg * to export to external modules. Boilerplate autotool #defines such 8706f2543Smrg * as HAVE_STUFF and PACKAGE_NAME is kept in config.h 9706f2543Smrg * 10706f2543Smrg * It is still possible to update config.h.in using autoheader, since 11706f2543Smrg * autoheader only creates a .h.in file for the first 12706f2543Smrg * AM_CONFIG_HEADER() line, and thus does not overwrite this file. 13706f2543Smrg * 14706f2543Smrg * However, it should be kept in sync with this file. 15706f2543Smrg */ 16706f2543Smrg 17706f2543Smrg#ifndef _XORG_SERVER_H_ 18706f2543Smrg#define _XORG_SERVER_H_ 19706f2543Smrg 20706f2543Smrg/* Support BigRequests extension */ 21706f2543Smrg#define BIGREQS 1 22706f2543Smrg 23706f2543Smrg/* Default font path */ 24706f2543Smrg#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/" 25706f2543Smrg 26706f2543Smrg/* Support Composite Extension */ 27706f2543Smrg#define COMPOSITE 1 28706f2543Smrg 29706f2543Smrg/* Build DPMS extension */ 30706f2543Smrg#define DPMSExtension 1 31706f2543Smrg 32706f2543Smrg/* Build GLX extension */ 33706f2543Smrg#define GLXEXT 1 34706f2543Smrg 35706f2543Smrg/* Support XDM-AUTH*-1 */ 36706f2543Smrg#define HASXDMAUTH 1 37706f2543Smrg 38706f2543Smrg/* Support SHM */ 39706f2543Smrg#define HAS_SHM 1 40706f2543Smrg 41706f2543Smrg/* Support IPv6 for TCP connections */ 42293e56a8Schristos#ifndef __NetBSD__ /* Defined by the build */ 43293e56a8Schristos# define IPv6 1 44293e56a8Schristos#endif 45706f2543Smrg 46706f2543Smrg/* Support MIT-SHM Extension */ 47706f2543Smrg#define MITSHM 1 48706f2543Smrg 49706f2543Smrg/* Internal define for Xinerama */ 50706f2543Smrg#define PANORAMIX 1 51706f2543Smrg 52706f2543Smrg/* Support RANDR extension */ 53706f2543Smrg#define RANDR 1 54706f2543Smrg 55706f2543Smrg/* Support RENDER extension */ 56706f2543Smrg#define RENDER 1 57706f2543Smrg 58706f2543Smrg/* Support X resource extension */ 59706f2543Smrg#define RES 1 60706f2543Smrg 61706f2543Smrg/* Support MIT-SCREEN-SAVER extension */ 62706f2543Smrg#define SCREENSAVER 1 63706f2543Smrg 64706f2543Smrg/* Support SHAPE extension */ 65706f2543Smrg#define SHAPE 1 66706f2543Smrg 67706f2543Smrg/* Define to 1 on systems derived from System V Release 4 */ 68706f2543Smrg/* #undef SVR4 */ 69706f2543Smrg 70706f2543Smrg/* Support TCP socket connections */ 71706f2543Smrg#define TCPCONN 1 72706f2543Smrg 73706f2543Smrg/* Enable touchscreen support */ 74706f2543Smrg/* #undef TOUCHSCREEN */ 75706f2543Smrg 76706f2543Smrg/* Support tslib touchscreen abstraction library */ 77706f2543Smrg/* #undef TSLIB */ 78706f2543Smrg 79706f2543Smrg/* Support UNIX socket connections */ 80706f2543Smrg#define UNIXCONN 1 81706f2543Smrg 82706f2543Smrg/* unaligned word accesses behave as expected */ 83706f2543Smrg/* #undef WORKING_UNALIGNED_INT */ 84706f2543Smrg 85706f2543Smrg/* Support XCMisc extension */ 86706f2543Smrg#define XCMISC 1 87706f2543Smrg 88706f2543Smrg/* Support Xdmcp */ 89706f2543Smrg#define XDMCP 1 90706f2543Smrg 91706f2543Smrg/* Build XFree86 BigFont extension */ 92706f2543Smrg/* #undef XF86BIGFONT */ 93706f2543Smrg 94706f2543Smrg/* Support XFree86 Video Mode extension */ 95706f2543Smrg#define XF86VIDMODE 1 96706f2543Smrg 97706f2543Smrg/* Build XDGA support */ 98706f2543Smrg#define XFreeXDGA 1 99706f2543Smrg 100706f2543Smrg/* Support Xinerama extension */ 101706f2543Smrg#define XINERAMA 1 102706f2543Smrg 103706f2543Smrg/* Support X Input extension */ 104706f2543Smrg#define XINPUT 1 105706f2543Smrg 106706f2543Smrg/* XKB default rules */ 107706f2543Smrg#define XKB_DFLT_RULES "base" 108706f2543Smrg 109706f2543Smrg/* Support loadable input and output drivers */ 110706f2543Smrg/* #undef XLOADABLE */ 111706f2543Smrg 112706f2543Smrg/* Build DRI extension */ 113706f2543Smrg#define XF86DRI 1 114706f2543Smrg 115706f2543Smrg/* Build DRI2 extension */ 116706f2543Smrg#define DRI2 1 117706f2543Smrg 118706f2543Smrg/* Build Xorg server */ 119706f2543Smrg#define XORGSERVER 1 120706f2543Smrg 121706f2543Smrg/* Vendor release */ 122706f2543Smrg/* #undef XORG_RELEASE */ 123706f2543Smrg 124706f2543Smrg/* Current Xorg version */ 125706f2543Smrg#define XORG_VERSION_CURRENT (((1) * 10000000) + ((10) * 100000) + ((6) * 1000) + 0) 126706f2543Smrg 127706f2543Smrg/* Build Xv Extension */ 128706f2543Smrg#define XvExtension 1 129706f2543Smrg 130706f2543Smrg/* Build XvMC Extension */ 131706f2543Smrg#define XvMCExtension 1 132706f2543Smrg 133706f2543Smrg/* Support XSync extension */ 134706f2543Smrg#define XSYNC 1 135706f2543Smrg 136706f2543Smrg/* Support XTest extension */ 137706f2543Smrg#define XTEST 1 138706f2543Smrg 139706f2543Smrg/* Support Xv Extension */ 140706f2543Smrg#define XV 1 141706f2543Smrg 142706f2543Smrg/* Vendor name */ 143706f2543Smrg#define XVENDORNAME "The X.Org Foundation" 144706f2543Smrg 145706f2543Smrg/* BSD-compliant source */ 146706f2543Smrg/* #undef _BSD_SOURCE */ 147706f2543Smrg 148706f2543Smrg/* POSIX-compliant source */ 149706f2543Smrg/* #undef _POSIX_SOURCE */ 150706f2543Smrg 151706f2543Smrg/* X/Open-compliant source */ 152706f2543Smrg/* #undef _XOPEN_SOURCE */ 153706f2543Smrg 154706f2543Smrg/* Vendor web address for support */ 155706f2543Smrg#define __VENDORDWEBSUPPORT__ "http://wiki.x.org" 156706f2543Smrg 157706f2543Smrg/* Location of configuration file */ 158706f2543Smrg#define __XCONFIGFILE__ "xorg.conf" 159706f2543Smrg 160706f2543Smrg/* Name of X server */ 161706f2543Smrg#define __XSERVERNAME__ "Xorg" 162706f2543Smrg 163706f2543Smrg/* Building vgahw module */ 164706f2543Smrg#define WITH_VGAHW 1 165706f2543Smrg 166706f2543Smrg/* System is BSD-like */ 167706f2543Smrg#define CSRG_BASED 1 168706f2543Smrg 169706f2543Smrg/* System has PC console */ 170706f2543Smrg#define PCCONS_SUPPORT 1 171706f2543Smrg 172706f2543Smrg/* System has PCVT console */ 173706f2543Smrg#define PCVT_SUPPORT 1 174706f2543Smrg 175706f2543Smrg/* System has syscons console */ 176706f2543Smrg/* #undef SYSCONS_SUPPORT */ 177706f2543Smrg 178706f2543Smrg/* System has wscons console */ 179706f2543Smrg#define WSCONS_SUPPORT 1 180706f2543Smrg 181706f2543Smrg/* Loadable XFree86 server awesomeness */ 182706f2543Smrg#define XFree86LOADER 1 183706f2543Smrg 184706f2543Smrg/* Use libpciaccess */ 185706f2543Smrg#define XSERVER_LIBPCIACCESS 1 186706f2543Smrg 187706f2543Smrg/* X Access Control Extension */ 188706f2543Smrg#define XACE 1 189706f2543Smrg 190706f2543Smrg#ifdef _LP64 191706f2543Smrg#define _XSERVER64 1 192706f2543Smrg#endif 193706f2543Smrg 194706f2543Smrg#endif /* _XORG_SERVER_H_ */ 195