diff options
author | Johannes Schickel | 2016-01-04 10:30:13 +0100 |
---|---|---|
committer | Johannes Schickel | 2016-03-16 20:29:26 +0100 |
commit | 472dbc4a84997e5efe83331f6e2e1e5c079f26ca (patch) | |
tree | f9b5330010b8e46b9448c8670166a9a34b7391b5 | |
parent | c4e65732befdfb675111387c3c7edb616bf2f976 (diff) | |
download | scummvm-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-x | configure | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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" |