diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2007-10-04 11:06:08 +0200 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2007-10-04 11:06:08 +0200 |
commit | 7addf41885ec5658f531624a9c24ea5bd7d22d19 (patch) | |
tree | 95ff6115a01cb146f5232680f9a0a48872f78763 /configure.ac | |
parent | 3a958ba136c3fae5a4ddd56373ac7cd47046f10e (diff) | |
parent | 78c6bd305f2ea70629d1dda3c0c48c067451f5fb (diff) |
Merge remote branch 'origin/pci-rework'
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 7204a31..c662168 100644 --- a/configure.ac +++ b/configure.ac @@ -204,10 +204,20 @@ AC_CHECK_DECL(xf86XVFillKeyHelperDrawable, [], [#include <xf86xv.h>]) +AC_CHECK_DECL(XSERVER_LIBPCIACCESS, + [XSERVER_LIBPCIACCESS=yes],[XSERVER_LIBPCIACCESS=no], + [#include "xorg-server.h"]) + CPPFLAGS="$SAVE_CPPFLAGS" AM_CONDITIONAL(USE_EXA, test "x$USE_EXA" = xyes) +if test "x$XSERVER_LIBPCIACCESS" = xyes; then + PKG_CHECK_MODULES([PCIACCESS], [pciaccess >= 0.8.0]) + XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS" +fi +AM_CONDITIONAL(XSERVER_LIBPCIACCESS, test "x$XSERVER_LIBPCIACCESS" = xyes) + AC_SUBST([XORG_CFLAGS]) AC_SUBST([DRI_CFLAGS]) AC_SUBST([moduledir]) |