aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2016-01-04 10:30:13 +0100
committerJohannes Schickel2016-03-16 20:29:26 +0100
commit472dbc4a84997e5efe83331f6e2e1e5c079f26ca (patch)
treef9b5330010b8e46b9448c8670166a9a34b7391b5
parentc4e65732befdfb675111387c3c7edb616bf2f976 (diff)
downloadscummvm-rg350-472dbc4a84997e5efe83331f6e2e1e5c079f26ca.tar.gz
scummvm-rg350-472dbc4a84997e5efe83331f6e2e1e5c079f26ca.tar.bz2
scummvm-rg350-472dbc4a84997e5efe83331f6e2e1e5c079f26ca.zip
CONFIGURE: Abort configure stage when invalid OpenGL mode is specified.
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index f6cac34fbf..d42fb3caf3 100755
--- a/configure
+++ b/configure
@@ -4232,6 +4232,11 @@ case $_opengl_mode in
echo "yes (OpenGL ES 2)"
add_line_to_config_h "#define USE_GLES_MODE 2"
;;
+
+ *)
+ echo "invalid mode specification '$_opengl_mode'. Aborting."
+ exit 1
+ ;;
esac
define_in_config_if_yes "$_opengl" "USE_OPENGL"