aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorEugene Sandulenko2013-07-05 11:08:36 -0700
committerEugene Sandulenko2013-07-05 11:08:36 -0700
commit2521449e79e6650a8663e0143d60d69239e58da8 (patch)
tree3ee7ed5ea05d6a5f9d191271c1c836ccba1a9016 /configure
parentf56d8bfc2ebf51090986897eef94308b0f04c652 (diff)
parent4a12c691620de09011fda6f06b3a389566a4823c (diff)
downloadscummvm-rg350-2521449e79e6650a8663e0143d60d69239e58da8.tar.gz
scummvm-rg350-2521449e79e6650a8663e0143d60d69239e58da8.tar.bz2
scummvm-rg350-2521449e79e6650a8663e0143d60d69239e58da8.zip
Merge pull request #351 from bluegr/eventrec_keymapper_build_warning
RECORDER: Don't allow the event recorder and the keymapper to be enabled simultaneously
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure b/configure
index b8bab15ab9..e59a38b8a5 100755
--- a/configure
+++ b/configure
@@ -3798,6 +3798,16 @@ define_in_config_if_yes $_vkeybd 'ENABLE_VKEYBD'
define_in_config_if_yes $_keymapper 'ENABLE_KEYMAPPER'
define_in_config_if_yes $_eventrec 'ENABLE_EVENTRECORDER'
+#
+# Check if the keymapper and the event recorder are enabled simultaneously
+#
+if test "$_keymapper" = yes ; then
+ if test "$_eventrec" = yes ; then
+ echo "ERROR: The keymapper and the event recorder cannot be enabled simultaneously currently, please disable one of the two"
+ exit 1
+ fi
+fi
+
# Check whether to build translation support
#
echo_n "Building translation support... "