xorg-config.h revision e5d21662
1706f2543Smrg/* include/xorg-config.h.  Generated from xorg-config.h.in by configure.  */
2706f2543Smrg/* xorg-config.h.in: not at all generated.                      -*- c -*-
3706f2543Smrg *
4706f2543Smrg * This file differs from xorg-server.h.in in that -server is installed
5706f2543Smrg * with the rest of the SDK for external drivers/modules to use, whereas
6706f2543Smrg * -config is for internal use only (i.e. building the DDX).
7706f2543Smrg *
8706f2543Smrg */
9706f2543Smrg
10706f2543Smrg#ifndef _XORG_CONFIG_H_
11706f2543Smrg#define _XORG_CONFIG_H_
12706f2543Smrg
13706f2543Smrg#include <dix-config.h>
14706f2543Smrg#include <xkb-config.h>
15706f2543Smrg
16706f2543Smrg/* Building Xorg server. */
17706f2543Smrg#define XORGSERVER 1
18706f2543Smrg
19706f2543Smrg/* Current X.Org version. */
20706f2543Smrg#define XORG_VERSION_CURRENT (((1) * 10000000) + ((10) * 100000) + ((6) * 1000) + 0)
21706f2543Smrg
22706f2543Smrg/* Name of X server. */
23706f2543Smrg#define __XSERVERNAME__ "Xorg"
24706f2543Smrg
25706f2543Smrg/* URL to go to for support. */
26706f2543Smrg/* #define __VENDORDWEBSUPPORT__ "http://wiki.x.org" */
27706f2543Smrg
28706f2543Smrg/* Built-in output drivers. */
29706f2543Smrg/* #undef DRIVERS */
30706f2543Smrg
31706f2543Smrg/* Built-in input drivers. */
32706f2543Smrg/* #undef IDRIVERS */
33706f2543Smrg
34706f2543Smrg/* Path to configuration file. */
35706f2543Smrg#define XF86CONFIGFILE "xorg.conf"
36706f2543Smrg
37706f2543Smrg/* Path to configuration file. */
38706f2543Smrg#define __XCONFIGFILE__ "xorg.conf"
39706f2543Smrg
40706f2543Smrg/* Name of configuration directory. */
41706f2543Smrg#define __XCONFIGDIR__ "xorg.conf.d"
42706f2543Smrg
43706f2543Smrg/* Path to loadable modules. */
44706f2543Smrg#define DEFAULT_MODULE_PATH "/usr/X11R7/lib/modules"
45706f2543Smrg
46706f2543Smrg/* Path to installed libraries. */
47706f2543Smrg#define DEFAULT_LIBRARY_PATH "/usr/X11R7/lib"
48706f2543Smrg
49706f2543Smrg/* Path to server log file. */
50706f2543Smrg#define DEFAULT_LOGPREFIX "/var/log/Xorg."
51706f2543Smrg
52706f2543Smrg/* Building DRI-capable DDX. */
53706f2543Smrg#define XF86DRI 1
54706f2543Smrg
55706f2543Smrg/* Build DRI2 extension */
56706f2543Smrg#define DRI2 1
57706f2543Smrg
58706f2543Smrg/* Define to 1 if you have the <stropts.h> header file. */
59706f2543Smrg/* #undef HAVE_STROPTS_H */
60706f2543Smrg
61706f2543Smrg/* Define to 1 if you have the <sys/kd.h> header file. */
62706f2543Smrg/* #undef HAVE_SYS_KD_H */
63706f2543Smrg
64706f2543Smrg/* Define to 1 if you have the <sys/vt.h> header file. */
65706f2543Smrg/* #undef HAVE_SYS_VT_H */
66706f2543Smrg
67706f2543Smrg/* Define to 1 if you have the `walkcontext' function (used on Solaris for
68706f2543Smrg   xorg_backtrace in hw/xfree86/common/xf86Events.c */
69706f2543Smrg/* #undef HAVE_WALKCONTEXT */
70706f2543Smrg
71706f2543Smrg#if defined(_LP64)
72706f2543Smrg/* Define to 1 if unsigned long is 64 bits. */
73706f2543Smrg#define _XSERVER64 1
74706f2543Smrg#endif
75706f2543Smrg
76706f2543Smrg/* Building vgahw module */
77706f2543Smrg#define WITH_VGAHW 1
78706f2543Smrg
79706f2543Smrg/* Define to 1 if NetBSD built-in MTRR support is available */
80706f2543Smrg#define HAS_MTRR_BUILTIN 1
81706f2543Smrg
82706f2543Smrg/* Define to 1 if BSD MTRR support is available */
83706f2543Smrg/* #undef HAS_MTRR_SUPPORT */
84706f2543Smrg
85706f2543Smrg/* NetBSD PIO alpha IO */
86706f2543Smrg/* #undef USE_ALPHA_PIO */
87706f2543Smrg
88706f2543Smrg/* BSD AMD64 iopl */
89706f2543Smrg/* #undef USE_AMD64_IOPL */
90706f2543Smrg
91706f2543Smrg/* BSD /dev/io */
92706f2543Smrg/* #undef USE_DEV_IO */
93706f2543Smrg
94706f2543Smrg#if defined(__i386__) || defined(__x86_64__)
95706f2543Smrg/* BSD i386 iopl */
96706f2543Smrg#define USE_I386_IOPL 1
97706f2543Smrg#endif
98706f2543Smrg
99706f2543Smrg/* System is BSD-like */
100706f2543Smrg#define CSRG_BASED 1
101706f2543Smrg
102706f2543Smrg/* System has PC console */
103706f2543Smrg#define PCCONS_SUPPORT 1
104706f2543Smrg
105706f2543Smrg/* System has PCVT console */
106706f2543Smrg#define PCVT_SUPPORT 1
107706f2543Smrg
108706f2543Smrg/* System has syscons console */
109706f2543Smrg/* #undef SYSCONS_SUPPORT */
110706f2543Smrg
111706f2543Smrg/* System has wscons console */
112706f2543Smrg#define WSCONS_SUPPORT 1
113706f2543Smrg
114706f2543Smrg/* System has /dev/xf86 aperture driver */
115706f2543Smrg/* #undef HAS_APERTURE_DRV */
116706f2543Smrg
117706f2543Smrg/* Has backtrace support */
118e5d21662Smrg#define HAVE_BACKTRACE 1
119706f2543Smrg
120706f2543Smrg/* Name of the period field in struct kbd_repeat */
121706f2543Smrg/* #undef LNX_KBD_PERIOD_NAME */
122706f2543Smrg
123706f2543Smrg/* Have execinfo.h */
124706f2543Smrg/* #undef HAVE_EXECINFO_H */
125706f2543Smrg
126706f2543Smrg/* Have pci_system_init_dev_mem() */
127706f2543Smrg#define HAVE_PCI_SYSTEM_INIT_DEV_MEM 1
128706f2543Smrg
129706f2543Smrg/* Define to 1 if you have the `pci_device_is_boot_vga' function. */
130706f2543Smrg#define HAVE_PCI_DEVICE_IS_BOOT_VGA 1
131706f2543Smrg
132706f2543Smrg/* Have pci_enable_device */
133706f2543Smrg#define HAVE_PCI_DEVICE_ENABLE 1
134706f2543Smrg
135706f2543Smrg/* Define to 1 if you have the `pci_device_vgaarb_init' function. */
136706f2543Smrg#define HAVE_PCI_DEVICE_VGAARB_INIT 1
137706f2543Smrg
138706f2543Smrg/* Path to text files containing PCI IDs */
139706f2543Smrg#define PCI_TXT_IDS_PATH ""
140706f2543Smrg
141706f2543Smrg/* Use SIGIO handlers for input device events by default */
142706f2543Smrg#define USE_SIGIO_BY_DEFAULT TRUE
143706f2543Smrg
144706f2543Smrg/* Support PC98 */
145706f2543Smrg/* #undef SUPPORT_PC98 */
146706f2543Smrg
147706f2543Smrg/* Build with libdrm support */
148706f2543Smrg#define WITH_LIBDRM 1
149706f2543Smrg
150706f2543Smrg#endif /* _XORG_CONFIG_H_ */
151