Prefer randr over xf86vm if available.

SVN revision: 55272
This commit is contained in:
Kim Woelders 2010-12-05 05:38:35 +00:00
parent a48493d812
commit 816654808b
1 changed files with 4 additions and 5 deletions

View File

@ -285,12 +285,11 @@ AC_ARG_ENABLE(zoom,
[ --enable-zoom compile with zoom support @<:@default=yes@:>@],,
enable_zoom=yes)
if test "x$enable_zoom" = "xyes"; then
# Prefer xf86vm for now
# if test "x$have_randr_13" = "xy"; then
# enable_zoom=xrandr
# else
if test "x$have_randr_13" = "xy"; then
enable_zoom=xrandr
else
enable_zoom=xf86vm
# fi
fi
fi
if test "x$enable_zoom" = "xxf86vm"; then
AC_CHECK_LIB(Xxf86vm, XF86VidModeQueryExtension,