summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-01-19 15:33:13 -0500
committerAdam Jackson <ajax@redhat.com>2008-01-19 15:33:13 -0500
commit6cd7677c41cf59194561225ed521a295e535862f (patch)
treedb31cd8215dba54b83b99d1c91f85463ac99a3eb /configure.ac
parent15ba6d7b79308ff2da8abc9edf67ddc96d7d6b9f (diff)
Filter high-bandwidth modes on G200SE.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 35b82b9..815782b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -109,6 +109,10 @@ CFLAGS="$XORG_CFLAGS"
AC_CHECK_DECL(XSERVER_LIBPCIACCESS,
[XSERVER_LIBPCIACCESS=yes], [XSERVER_LIBPCIACCESS=no],
[#include "xorg-server.h"])
+AC_CHECK_DECL(xf86ModeBandwidth,
+ [AC_DEFINE(HAVE_XF86MODEBANDWIDTH, 1, [Have xf86ModeBandwidth])],
+ [],
+ [#include "xf86Modes.h"])
CFLAGS="$save_CFLAGS"
if test "x$XSERVER_LIBPCIACCESS" = xyes; then