xorg-config.h revision 2f76b07d
11d1be4caSmrg/* include/xorg-config.h.  Generated from xorg-config.h.in by configure.  */
21d1be4caSmrg/* xorg-config.h.in: not at all generated.                      -*- c -*-
31d1be4caSmrg *
41d1be4caSmrg * This file differs from xorg-server.h.in in that -server is installed
51d1be4caSmrg * with the rest of the SDK for external drivers/modules to use, whereas
61d1be4caSmrg * -config is for internal use only (i.e. building the DDX).
71d1be4caSmrg *
81d1be4caSmrg */
91d1be4caSmrg
101d1be4caSmrg#ifndef _XORG_CONFIG_H_
111d1be4caSmrg#define _XORG_CONFIG_H_
121d1be4caSmrg
131d1be4caSmrg#include <dix-config.h>
141d1be4caSmrg#include <xkb-config.h>
151d1be4caSmrg
161d1be4caSmrg/* Building Xorg server. */
171d1be4caSmrg#define XORGSERVER 1
181d1be4caSmrg
191d1be4caSmrg/* Current X.Org version. */
202f76b07dSmrg#define XORG_VERSION_CURRENT ((10000000) + ((21) * 100000) + ((1) * 1000) + 18)
211d1be4caSmrg
221d1be4caSmrg/* Name of X server. */
231d1be4caSmrg#define __XSERVERNAME__ "Xorg"
241d1be4caSmrg
251d1be4caSmrg/* URL to go to for support. */
267e31ba66Smrg#define __VENDORDWEBSUPPORT__ "http://wiki.x.org"
271d1be4caSmrg
281d1be4caSmrg/* Built-in output drivers. */
299e818a7dSmrg/* #undef DRIVERS */
301d1be4caSmrg
311d1be4caSmrg/* Built-in input drivers. */
329e818a7dSmrg/* #undef IDRIVERS */
331d1be4caSmrg
341d1be4caSmrg/* Path to configuration file. */
351d1be4caSmrg#define XF86CONFIGFILE "xorg.conf"
361d1be4caSmrg
371d1be4caSmrg/* Path to configuration file. */
387e31ba66Smrg#define XCONFIGFILE "xorg.conf"
391d1be4caSmrg
403f91a2d4Smrg/* Name of configuration directory. */
417e31ba66Smrg#define XCONFIGDIR "xorg.conf.d"
423f91a2d4Smrg
431d1be4caSmrg/* Path to loadable modules. */
4454d2d4faSmrg/* #define DEFAULT_MODULE_PATH "/usr/X11R7/lib/xorg/modules" */
451d1be4caSmrg
461d1be4caSmrg/* Path to installed libraries. */
47af30ca4bSmrg/* #define DEFAULT_LIBRARY_PATH "/usr/X11R7/lib" */
481d1be4caSmrg
4954d2d4faSmrg/* Default log location */
5054d2d4faSmrg#define DEFAULT_LOGDIR "/var/log"
5154d2d4faSmrg
5254d2d4faSmrg/* Default logfile prefix */
5354d2d4faSmrg#define DEFAULT_LOGPREFIX "Xorg."
5454d2d4faSmrg
5554d2d4faSmrg/* Default XDG_DATA dir under HOME */
5654d2d4faSmrg#define DEFAULT_XDG_DATA_HOME ".local/share"
5754d2d4faSmrg
5854d2d4faSmrg/* Default log dir under XDG_DATA_HOME */
5954d2d4faSmrg#define DEFAULT_XDG_DATA_HOME_LOGDIR "xorg"
601d1be4caSmrg
611d1be4caSmrg/* Building DRI-capable DDX. */
621d1be4caSmrg#define XF86DRI 1
631d1be4caSmrg
649e818a7dSmrg/* Build DRI2 extension */
659e818a7dSmrg#define DRI2 1
669e818a7dSmrg
673f91a2d4Smrg/* Define to 1 if you have the <stropts.h> header file. */
683f91a2d4Smrg/* #undef HAVE_STROPTS_H */
691d1be4caSmrg
709e818a7dSmrg/* Define to 1 if you have the <sys/kd.h> header file. */
719e818a7dSmrg/* #undef HAVE_SYS_KD_H */
721d1be4caSmrg
733f91a2d4Smrg/* Define to 1 if you have the <sys/vt.h> header file. */
743f91a2d4Smrg/* #undef HAVE_SYS_VT_H */
753f91a2d4Smrg
761d1be4caSmrg/* Define to 1 if you have the `walkcontext' function (used on Solaris for
771d1be4caSmrg   xorg_backtrace in hw/xfree86/common/xf86Events.c */
781d1be4caSmrg/* #undef HAVE_WALKCONTEXT */
791d1be4caSmrg
801d1be4caSmrg/* Define to 1 if unsigned long is 64 bits. */
817e31ba66Smrg#ifdef _LP64
827e31ba66Smrg#define _XSERVER64 1
837e31ba66Smrg#endif
841d1be4caSmrg
851d1be4caSmrg/* Building vgahw module */
861d1be4caSmrg#define WITH_VGAHW 1
871d1be4caSmrg
881d1be4caSmrg/* NetBSD PIO alpha IO */
891d1be4caSmrg/* #undef USE_ALPHA_PIO */
901d1be4caSmrg
911d1be4caSmrg/* BSD AMD64 iopl */
921d1be4caSmrg/* #undef USE_AMD64_IOPL */
931d1be4caSmrg
941d1be4caSmrg/* BSD /dev/io */
951d1be4caSmrg/* #undef USE_DEV_IO */
961d1be4caSmrg
97381baef6Smrg/* BSD i386 iopl */
98efec4573Smrg/* #undef USE_I386_IOPL */
991d1be4caSmrg
1001d1be4caSmrg/* System is BSD-like */
1011d1be4caSmrg#define CSRG_BASED 1
1021d1be4caSmrg
1031d1be4caSmrg/* System has PC console */
1041d1be4caSmrg#define PCCONS_SUPPORT 1
1051d1be4caSmrg
1061d1be4caSmrg/* System has PCVT console */
1071d1be4caSmrg#define PCVT_SUPPORT 1
1081d1be4caSmrg
1091d1be4caSmrg/* System has syscons console */
1101d1be4caSmrg/* #undef SYSCONS_SUPPORT */
1111d1be4caSmrg
1121d1be4caSmrg/* System has wscons console */
1131d1be4caSmrg#define WSCONS_SUPPORT 1
1141d1be4caSmrg
1151d1be4caSmrg/* System has /dev/xf86 aperture driver */
1161d1be4caSmrg/* #undef HAS_APERTURE_DRV */
1171d1be4caSmrg
1181d1be4caSmrg/* Has backtrace support */
11942daf9eeSmrg#define HAVE_BACKTRACE 1
1201d1be4caSmrg
1211d1be4caSmrg/* Name of the period field in struct kbd_repeat */
1221d1be4caSmrg/* #undef LNX_KBD_PERIOD_NAME */
1231d1be4caSmrg
1241d1be4caSmrg/* Have execinfo.h */
1251d1be4caSmrg/* #undef HAVE_EXECINFO_H */
1261d1be4caSmrg
12754d2d4faSmrg/* Define to 1 if you have the <sys/mkdev.h> header file. */
12854d2d4faSmrg/* #undef HAVE_SYS_MKDEV_H */
1299e818a7dSmrg
1307e31ba66Smrg/* Define to 1 if you have the <sys/sysmacros.h> header file. */
1317e31ba66Smrg/* #undef HAVE_SYS_SYSMACROS_H */
1327e31ba66Smrg
1339e818a7dSmrg/* Path to text files containing PCI IDs */
1343f91a2d4Smrg#define PCI_TXT_IDS_PATH ""
1353f91a2d4Smrg
1363f91a2d4Smrg/* Build with libdrm support */
1373f91a2d4Smrg#define WITH_LIBDRM 1
1389e818a7dSmrg
13954d2d4faSmrg/* Use libpciaccess */
14054d2d4faSmrg#define XSERVER_LIBPCIACCESS 1
14154d2d4faSmrg
14254d2d4faSmrg/* Have setugid */
14354d2d4faSmrg#define HAVE_ISSETUGID 1
14454d2d4faSmrg
14554d2d4faSmrg/* Have getresuid */
14654d2d4faSmrg/* #undef HAVE_GETRESUID */
14754d2d4faSmrg
14854d2d4faSmrg/* Have X server platform bus support */
14954d2d4faSmrg/* #undef XSERVER_PLATFORM_BUS */
15054d2d4faSmrg
15154d2d4faSmrg/* Define to 1 if you have the `seteuid' function. */
15254d2d4faSmrg#define HAVE_SETEUID 1
15354d2d4faSmrg
1547e31ba66Smrg/* Fallback input driver if the assigned driver fails */
1557e31ba66Smrg#define FALLBACK_INPUT_DRIVER ""
1567e31ba66Smrg
1571d1be4caSmrg#endif /* _XORG_CONFIG_H_ */
158