summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlex Deucher <alex@botch2.com>2008-05-27 16:48:41 -0400
committerAlex Deucher <alex@botch2.com>2008-05-27 17:03:10 -0400
commit965a5dbcd9dc4bf1cdd7f2bbdec15e9733b2e090 (patch)
tree02217c8f9245fe5ea4555b552f513a61f6475342 /configure.ac
parent5f951a5573f0c7572230c9aa4d3f75d67f91ed71 (diff)
RADEON: improve support for secondary cards
this should fix bugs 16115, 16035
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ab8bd97..a63f5e8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -183,6 +183,10 @@ AC_CHECK_DECL(xf86RotateFreeShadow,
#include <windowstr.h>
#include <xf86Crtc.h>])
+AC_CHECK_DECL(pci_device_enable,
+ [AC_DEFINE(HAVE_PCI_DEVICE_ENABLE, 1, [Have pci_device_enable prototype])],
+ [],
+ [#include <pciaccess.h>])
AC_CHECK_DECL(XSERVER_LIBPCIACCESS,
[XSERVER_LIBPCIACCESS=yes],[XSERVER_LIBPCIACCESS=no],