aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2013-07-05 13:09:43 +0300
committerFilippos Karapetis2013-07-05 13:09:43 +0300
commit701e6401849207c0dd76e20288a5621026329dd1 (patch)
treec31334fb380c48fffade9492dbaa12f2ed6d5f48
parentecc43c9b92b0454b3a159b69d684c2ad331896fe (diff)
downloadscummvm-rg350-701e6401849207c0dd76e20288a5621026329dd1.tar.gz
scummvm-rg350-701e6401849207c0dd76e20288a5621026329dd1.tar.bz2
scummvm-rg350-701e6401849207c0dd76e20288a5621026329dd1.zip
CONFIGURE: Don't allow the keymapper and the event recorder to be enabled simultaneously
-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... "