configure.ac: fix XF86VidMode test

This commit is contained in:
Daniel Stone 2006-08-24 15:46:44 +03:00 committed by Daniel Stone
parent 2b06c69c8f
commit 866ca1f929

View File

@ -1082,8 +1082,8 @@ if test "x$XORG" = xyes -o "x$XGL" = xyes; then
AC_DEFINE(XF86MISC, 1, [Support XFree86 miscellaneous extensions])
fi
if test "x$XF86VIDMOE" = xauto; then
PKG_CHECK_MODULES(XF86VIDMODE, xf86vidmode, [DGA=yes], [DGA=no])
if test "x$XF86VIDMODE" = xauto; then
PKG_CHECK_MODULES(XF86VIDMODE, xf86vidmode, [XF86VIDMODE=yes], [XF86VIDMODE=no])
fi
if test "x$XF86VIDMODE" = xyes; then
XORG_MODULES="$XORG_MODULES xf86vidmodeproto"