From 6817050f3196d460ba03a62da23fb46ffd5a0f97 Mon Sep 17 00:00:00 2001 From: Tiago Vignatti Date: Tue, 1 Jun 2010 13:05:47 +0300 Subject: 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 Reviewed-by: Mikhail Gusarov Reviewed-by: Jeremy Huddleston Tested-by: Jeremy Huddleston --- include/xorg-config.h.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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_ */ -- cgit v1.2.3