From edb6a3bd0a802eb3c9cb71e4d29588d69980c2b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Tue, 3 Sep 2013 22:59:17 -0700 Subject: [PATCH] configure.ac: Only enable enable_simple_egl_clients if enable_egl is yes This simplifies a few checks and makes sure we only build the subsurfaces client if EGL is enabled. https://bugs.freedesktop.org/show_bug.cgi?id=68727 --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index cd09b56f..8403c118 100644 --- a/configure.ac +++ b/configure.ac @@ -276,9 +276,9 @@ fi AC_ARG_ENABLE(simple-egl-clients, AS_HELP_STRING([--disable-simple-egl-clients], [do not build the simple EGL clients]),, - enable_simple_egl_clients=yes) -AM_CONDITIONAL(BUILD_SIMPLE_EGL_CLIENTS, test "x$enable_simple_egl_clients" = "xyes" -a "x$enable_egl" = "xyes") -if test x$enable_simple_egl_clients = xyes -a x$enable_egl = xyes; then + enable_simple_egl_clients="$enable_egl") +AM_CONDITIONAL(BUILD_SIMPLE_EGL_CLIENTS, test "x$enable_simple_egl_clients" = "xyes") +if test x$enable_simple_egl_clients = xyes; then PKG_CHECK_MODULES(SIMPLE_EGL_CLIENT, [egl >= 7.10 glesv2 wayland-client wayland-egl wayland-cursor]) fi