Check for cairo-egl instead of just cairo-gl

This commit is contained in:
Kristian Høgsberg 2011-01-14 17:41:33 -05:00
parent d711d0cd66
commit 8def264241
4 changed files with 13 additions and 13 deletions

View file

@ -54,10 +54,10 @@ if test x$enable_wayland_compositor == xyes; then
fi
PKG_CHECK_MODULES(CAIRO_GL, [cairo-gl],
[have_cairo_gl=yes], [have_cairo_gl=no])
AS_IF([test "x$have_cairo_gl" = "xyes"],
[AC_DEFINE([HAVE_CAIRO_GL], [1], [Have cairo-gl])])
PKG_CHECK_MODULES(CAIRO_EGL, [cairo-egl],
[have_cairo_egl=yes], [have_cairo_egl=no])
AS_IF([test "x$have_cairo_egl" = "xyes"],
[AC_DEFINE([HAVE_CAIRO_EGL], [1], [Have cairo-egl])])
if test $CC = gcc; then
GCC_CFLAGS="-Wall -g -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden"