configure: wrap PCI code with macro and set it at build time
authorTiago Vignatti <tiago.vignatti@nokia.com>
Tue, 1 Jun 2010 10:05:47 +0000 (13:05 +0300)
committerJeremy Huddleston <jeremyhu@apple.com>
Sun, 16 Oct 2011 04:18:47 +0000 (21:18 -0700)
commit6817050f3196d460ba03a62da23fb46ffd5a0f97
tree9c710b525c99bc5efd3c5f0c7c128ee26918a858
parent5c12399b6c3a8def2df1bdde1d5d4d8d9e31fd84
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>
15 files changed:
configure.ac
hw/xfree86/common/Makefile.am
hw/xfree86/common/xf86.h
hw/xfree86/common/xf86AutoConfig.c
hw/xfree86/common/xf86Bus.c
hw/xfree86/common/xf86Config.c
hw/xfree86/common/xf86Configure.c
hw/xfree86/common/xf86DPMS.c
hw/xfree86/common/xf86Init.c
hw/xfree86/common/xf86fbBus.c
hw/xfree86/common/xf86str.h
hw/xfree86/modes/xf86Cursors.c
hw/xfree86/os-support/bus/Makefile.am
hw/xfree86/sdksyms.sh
include/xorg-config.h.in