From 55ea2bfc3720e5f3c8e412a31cde547e88726bf5 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Tue, 6 Apr 2010 10:56:05 -0400 Subject: pciaccess: remove test for the XSERVER_PCIACCESS #define MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This symbol is always defined in xorg-xserver.h. ISA bus is no longer supported, pciaccess is required. Acked-by: Matt Turner Reviewed-by: RĂ©mi Cardona Signed-off-by: Gaetan Nadon --- configure.ac | 12 +----------- 1 file changed, 1 insertion(+), 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]) -- cgit v1.2.3