From f16e70e4ca5d03b4931283b6b812dde2e322619d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 8 Oct 2013 11:10:49 +0200 Subject: [PATCH] configure: Make sure to try window-system-agnostic EGL if nothing was auto-detected --- configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index f1a2567a8a..c959855f6b 100644 --- a/configure.ac +++ b/configure.ac @@ -489,12 +489,12 @@ if test x"$EGL_WINDOW_SYSTEM" = x"auto"; then fi if test x"$EGL_WINDOW_SYSTEM" = x"auto"; then - EGL_WINDOW_SYSTEM="none" + EGL_WINDOW_SYSTEM="auto" fi fi case "$EGL_WINDOW_SYSTEM" in - x11) + x11|auto) PKG_CHECK_MODULES(EGL, egl, HAVE_EGL="yes", [ HAVE_EGL="no" old_LIBS=$LIBS @@ -516,6 +516,7 @@ case "$EGL_WINDOW_SYSTEM" in CFLAGS=$old_CFLAGS ]) + dnl X11 specific part, above is auto and X11 if test x"$HAVE_EGL" = x"yes" -a x"$EGL_WINDOW_SYSTEM" = x"x11"; then if test x"$HAVE_X11" != x"yes"; then AC_MSG_ERROR([libX11 not found and is required for EGL X11 window system])