configure: fix --without-cairo-glesv2
Make it do what you would think it does, instead of enabling GLESv2. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
This commit is contained in:
committed by
Kristian Høgsberg
parent
e46289795f
commit
de7fe62a54
+7
-6
@@ -119,13 +119,14 @@ if test x$enable_android_compositor = xyes; then
|
|||||||
PKG_CHECK_MODULES(ANDROID_COMPOSITOR, [mtdev >= 1.1.0])
|
PKG_CHECK_MODULES(ANDROID_COMPOSITOR, [mtdev >= 1.1.0])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
AC_ARG_WITH(cairo-glesv2,
|
||||||
AC_ARG_WITH(cairo-glesv2, AS_HELP_STRING([--with-cairo-glesv2],
|
AS_HELP_STRING([--with-cairo-glesv2],
|
||||||
[Use GLESv2 cairo instead of full GL]),
|
[Use GLESv2 cairo instead of full GL]))
|
||||||
[cairo_modules="cairo-glesv2"],
|
if test "x$with_cairo_glesv2" = "xyes"; then
|
||||||
[cairo_modules="cairo-gl"])
|
cairo_modules="cairo-glesv2"
|
||||||
if test x$cairo_modules = xcairo-glesv2; then
|
|
||||||
AC_DEFINE([USE_CAIRO_GLESV2], [1], [Use the GLESv2 GL cairo backend])
|
AC_DEFINE([USE_CAIRO_GLESV2], [1], [Use the GLESv2 GL cairo backend])
|
||||||
|
else
|
||||||
|
cairo_modules="cairo-gl"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
PKG_CHECK_MODULES(PIXMAN, [pixman-1])
|
PKG_CHECK_MODULES(PIXMAN, [pixman-1])
|
||||||
|
|||||||
Reference in New Issue
Block a user