From e5133a94dc78411eaef324131ea8056aeb81779e Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 21 Apr 2009 15:49:01 -0700 Subject: unifdef LIBPCIACCESS and XSERVER_LIBPCIACCESS. Depending on new server means these are always present. --- configure.ac | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 14a1c6b3..768f39dd 100644 --- a/configure.ac +++ b/configure.ac @@ -117,21 +117,7 @@ if test x$DRI = xauto; then fi AC_MSG_RESULT([$DRI]) -AC_CHECK_DECL(XSERVER_LIBPCIACCESS, - [XSERVER_LIBPCIACCESS=yes],[XSERVER_LIBPCIACCESS=no], - [#include "xorg-server.h"]) -CFLAGS="$save_CFLAGS" - -if test x$XSERVER_LIBPCIACCESS = xyes; then - PKG_CHECK_MODULES([PCIACCESS], [pciaccess >= 0.10]) -else - PKG_CHECK_MODULES([PCIACCESS], [pciaccess >= 0.10], - have_libpciaccess=yes, - have_libpciaccess=no) -fi -AM_CONDITIONAL(XSERVER_LIBPCIACCESS, test "x$XSERVER_LIBPCIACCESS" = xyes) -AM_CONDITIONAL(LIBPCIACCESS, - test "x$XSERVER_LIBPCIACCESS" = xyes -o "x$have_libpciaccess" = xyes) +PKG_CHECK_MODULES([PCIACCESS], [pciaccess >= 0.10]) SAVE_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $XORG_CFLAGS" -- cgit v1.2.3