diff options
author | Adam Jackson <ajax@redhat.com> | 2008-11-23 20:04:30 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-11-23 20:04:30 -0500 |
commit | 092f0f10cb243ef011a38a92e4eb48d424de80fa (patch) | |
tree | 5206b0c72d47a7ed8eeb6547d080f8fa4788b832 /configure.ac | |
parent | 73ff2d0cd72a165ecfb30b1620bda3b445d04409 (diff) | |
download | xorg-driver-xf86-video-fbdev-092f0f10cb243ef011a38a92e4eb48d424de80fa.tar.gz |
Make ISA optional
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index ec3d7aa..7e82996 100644 --- a/configure.ac +++ b/configure.ac @@ -59,6 +59,14 @@ XORG_DRIVER_CHECK_EXT(XV, videoproto) PKG_CHECK_MODULES(XORG, [xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES]) sdkdir=$(pkg-config --variable=sdkdir xorg-server) +save_CFLAGS="$CFLAGS" +CFLAGS="$XORG_CFLAGS" +AC_CHECK_DECL(xf86ConfigIsaEntity, + [AC_DEFINE(HAVE_ISA, 1, [Have ISA support])], + [], + [#include "xf86.h"]) +CFLAGS="$save_CFLAGS" + AM_CONDITIONAL(PCIACCESS, [test "x$PCIACCESS" = xyes]) if test "x$PCIACCESS" = xyes; then AC_DEFINE(PCIACCESS, 1, [Use libpciaccess]) |