summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-09-21 16:27:55 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-09-21 19:31:15 -0700
commitf9eaeadea17cb96ab85ee6cc0b5aa3867a832bcc (patch)
tree8315d4867d808516f6b7b47a3d142080dbb1fc12 /configure.ac
parentbd89c302aa44c5a7a6e5f5d6e6f131e04b8e61c1 (diff)
Use xf86vmproto.h instead of xf86vmstr.h if it is installed
Clears warnings when built with xf86vidmodeproto 2.2.99.1 & later Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index dfd8c83..0ed78b0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -60,7 +60,7 @@ PKG_CHECK_MODULES(DPY_XKB, x11,
PKG_CHECK_MODULES(DPY_XF86VIDMODE, xxf86vm,
[SAVE_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $DPY_XF86VIDMODE_CFLAGS $DPY_X11_CFLAGS"
- AC_CHECK_HEADERS([X11/extensions/xf86vmode.h X11/extensions/xf86vmstr.h],,,[#include <X11/Xlib.h>])
+ AC_CHECK_HEADERS([X11/extensions/xf86vmode.h X11/extensions/xf86vmstr.h X11/extensions/xf86vmproto.h],,,[#include <X11/Xlib.h>])
CPPFLAGS="$SAVE_CPPFLAGS"],[echo "not found"])
AC_ARG_WITH(dga, AC_HELP_STRING([--without-dga],[Disable dga support.]),