aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid-John Willis2012-08-08 13:49:48 +0100
committerDavid-John Willis2012-08-08 13:49:48 +0100
commitfbf193f7562924e450961d92156fa915e8d69a68 (patch)
tree73a84c3065017ceb70cf577d72e6ceb4b689bac9
parent4cd34733a39fd64964c6d50a108d2c9e12634385 (diff)
downloadscummvm-rg350-fbf193f7562924e450961d92156fa915e8d69a68.tar.gz
scummvm-rg350-fbf193f7562924e450961d92156fa915e8d69a68.tar.bz2
scummvm-rg350-fbf193f7562924e450961d92156fa915e8d69a68.zip
CONFIGURE: Add case for selecting OpenGL ES support on the OpenPandora.
-rwxr-xr-xconfigure15
1 files changed, 15 insertions, 0 deletions
diff --git a/configure b/configure
index ffcd0c1d6c..06492ff305 100755
--- a/configure
+++ b/configure
@@ -3501,6 +3501,21 @@ define_in_config_if_yes "$_freetype2" "USE_FREETYPE2"
# Check for OpenGL (ES)
#
echocheck "OpenGL"
+
+case $_backend in
+ openpandora)
+ # Only enable OpenGL ES on the OpanPandora if --enable-opengl is passed in explicitly.
+ if test "$_opengl" = yes ; then
+ _opengl=yes
+ _opengles=yes
+ OPENGL_LIBS="-lGLES_CM -lEGL -lX11"
+ OPENGL_CFLAGS="$OPENGL_LIBS"
+ LIBS="$LIBS $OPENGL_LIBS"
+ INCLUDES="$INCLUDES $OPENGL_CFLAGS"
+ fi
+ ;;
+esac
+
if test "$_opengl" = auto ; then
_opengl=no
if test "$_backend" = "sdl" ; then