summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJulien Isorce <julien.isorce@collabora.co.uk>2014-03-17 12:32:26 +0000
committerJulien Isorce <julien.isorce@collabora.co.uk>2014-03-17 12:32:26 +0000
commita26b8fdceb8c82ec0e56cac25395abf71f6a8f07 (patch)
tree4422518506bcc536e40fd8636e7f23049fd7cde4 /configure.ac
parent0ae0bfcbc7374962e802c86e97b8e90199c1fe73 (diff)
gl: set HAVE_EGL_RPI to yes if HAVE_GL and RPI
Which fixes build on Raspberry Pi since -gl has been moved to -bad
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c81e6e8b8..3d3c5876e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -705,7 +705,11 @@ HAVE_GLES2=no
HAVE_GLU=no
HAVE_GNUSTEP_COCOA=no
HAVE_WAYLAND_EGL=no
-HAVE_EGL_RPI=no
+
+HAVE_EGL_RPI="no"
+if test x"$HAVE_EGL" = x"yes" -a x"$EGL_WINDOW_SYSTEM" = x"rpi"; then
+HAVE_EGL_RPI="yes"
+fi
case $host in
*-mingw32* )