summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac1
-rw-r--r--include/xorg-server.h.in3
2 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 2d0097ec5..6d7db2d00 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1595,6 +1595,7 @@ return 0;}
AC_DEFINE_DIR(DEFAULT_LIBRARY_PATH, libdir, [Default library install path])
AC_DEFINE_DIR(DEFAULT_LOGPREFIX, LOGPREFIX, [Default log location])
AC_DEFINE_UNQUOTED(__VENDORDWEBSUPPORT__, ["$VENDOR_WEB"], [Vendor web address for support])
+ AC_DEFINE(XSERVER_LIBPCIACCESS, 1, [Use libpciaccess for all pci manipulation])
driverdir="$moduledir/drivers"
AC_SUBST([moduledir])
diff --git a/include/xorg-server.h.in b/include/xorg-server.h.in
index 3c2ff470c..c117dfa33 100644
--- a/include/xorg-server.h.in
+++ b/include/xorg-server.h.in
@@ -251,4 +251,7 @@
/* Loadable XFree86 server awesomeness */
#undef XFree86LOADER
+/* Use libpciaccess */
+#undef XSERVER_LIBPCIACCESS
+
#endif /* _XORG_SERVER_H_ */