[PATCH video-apm 4/4] pciaccess: remove test for the XSERVER_PCIACCESS #define

Gaetan Nadon memsize at videotron.ca
Tue Apr 6 08:18:34 PDT 2010


This symbol is always defined in xorg-xserver.h.
ISA bus is no longer supported, pciaccess is required.

Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
 configure.ac |   12 +-----------
 1 files changed, 1 insertions(+), 11 deletions(-)

diff --git a/configure.ac b/configure.ac
index da42039..cab6ca0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -66,20 +66,10 @@ PKG_CHECK_MODULES(XEXT, [xextproto >= 7.0.99.1],
                   HAVE_XEXTPROTO_71="no")
 AM_CONDITIONAL(HAVE_XEXTPROTO_71, [ test "$HAVE_XEXTPROTO_71" = "yes" ])
 
-# Checks for libraries.
-SAVE_CPPFLAGS="$CPPFLAGS"
-CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
-AC_CHECK_DECL(XSERVER_LIBPCIACCESS,
-              [XSERVER_LIBPCIACCESS=yes],[XSERVER_LIBPCIACCESS=no],
-              [#include "xorg-server.h"])
-CPPFLAGS="$SAVE_CPPFLAGS"
-
 # Checks for header files.
 AC_HEADER_STDC
 
-if test "x$XSERVER_LIBPCIACCESS" = xyes; then
-    PKG_CHECK_MODULES([PCIACCESS], [pciaccess >= 0.8.0])
-fi
+PKG_CHECK_MODULES([PCIACCESS], [pciaccess >= 0.8.0])
 
 DRIVER_NAME=apm
 AC_SUBST([DRIVER_NAME])
-- 
1.6.0.4



More information about the xorg-devel mailing list