summaryrefslogtreecommitdiff
path: root/include/xorg-config.h.in
diff options
context:
space:
mode:
authorTiago Vignatti <tiago.vignatti@nokia.com>2010-06-01 13:05:47 +0300
committerJeremy Huddleston <jeremyhu@apple.com>2011-10-15 21:18:47 -0700
commit6817050f3196d460ba03a62da23fb46ffd5a0f97 (patch)
tree9c710b525c99bc5efd3c5f0c7c128ee26918a858 /include/xorg-config.h.in
parent5c12399b6c3a8def2df1bdde1d5d4d8d9e31fd84 (diff)
configure: wrap PCI code with macro and set it at build time
--disable-pciaccess, used together with --disable-module-int10, can be used to disable all pci code inside the server. Note that XSERVER_LIBPCIACCESS was previously used only in the driver side and now it defines also whether the library is used inside the server. Also, XORG_BUS_PCI automake variable is introduced to track PCI code needs. Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com> Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Tested-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'include/xorg-config.h.in')
-rw-r--r--include/xorg-config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/xorg-config.h.in b/include/xorg-config.h.in
index 33bf908d0..6b9230f3c 100644
--- a/include/xorg-config.h.in
+++ b/include/xorg-config.h.in
@@ -127,4 +127,7 @@
/* Build with libdrm support */
#undef WITH_LIBDRM
+/* Use libpciaccess */
+#undef XSERVER_LIBPCIACCESS
+
#endif /* _XORG_CONFIG_H_ */