summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2010-04-06 10:56:05 -0400
committerGaetan Nadon <memsize@videotron.ca>2010-04-07 10:42:39 -0400
commit55ea2bfc3720e5f3c8e412a31cde547e88726bf5 (patch)
tree0985ae8714cfcb6166ff224bddc6009fd1ac7833
parent6bf81aad67c2e535b674db535840432c38ab33a5 (diff)
pciaccess: remove test for the XSERVER_PCIACCESS #define
This symbol is always defined in xorg-xserver.h. ISA bus is no longer supported, pciaccess is required. Acked-by: Matt Turner <mattst88@gmail.com> Reviewed-by: RĂ©mi Cardona <remi@gentoo.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r--configure.ac12
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])