aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorEugene Sandulenko2009-01-11 00:20:27 +0000
committerEugene Sandulenko2009-01-11 00:20:27 +0000
commit83972e2001e0654e057b5a4930cd2cbc05165786 (patch)
tree1137fef4016651c2ad56aa44024649c80d0a939f /configure
parent326df55debb696f73c33450569af4a6d0c60b0fd (diff)
parentfe39d4f5075cc723945ca813142d02983069d0d5 (diff)
downloadscummvm-rg350-83972e2001e0654e057b5a4930cd2cbc05165786.tar.gz
scummvm-rg350-83972e2001e0654e057b5a4930cd2cbc05165786.tar.bz2
scummvm-rg350-83972e2001e0654e057b5a4930cd2cbc05165786.zip
Merge in Virtual Keybpard & KeyMapper branch,
- Merge is perfromed in order to not let rotting the code - Makefile modifications were avoided Stuff to resolve: - Circular dependency of common/vkeybd from graphics/ - Make it compilable (?) - Add some keyboards - Decide on the key bindings svn-id: r35813
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure24
1 files changed, 23 insertions, 1 deletions
diff --git a/configure b/configure
index 658363f69e..3c280dd906 100755
--- a/configure
+++ b/configure
@@ -68,6 +68,9 @@ _mt32emu=yes
# default option behaviour yes/no
_build_hq_scalers=yes
_build_scalers=yes
+# default vkeybd/keymapper options
+_vkeybd=no
+_keymapper=no
# Add an engine: id name build subengines
add_engine() {
@@ -695,6 +698,10 @@ for ac_option in $@; do
--default-dynamic) _plugins_default=dynamic ;;
--enable-mt32emu) _mt32emu=yes ;;
--disable-mt32emu) _mt32emu=no ;;
+ --enable-vkeybd) _vkeybd=yes ;;
+ --disable-vkeybd) _vkeybd=no ;;
+ --enable-keymapper) _keymapper=yes ;;
+ --disable-keymapper) _keymapper=no ;;
--with-fluidsynth-prefix=*)
arg=`echo $ac_option | cut -d '=' -f 2`
FLUIDSYNTH_CFLAGS="-I$arg/include"
@@ -1612,6 +1619,12 @@ add_to_config_h_if_yes $_nasm '#define USE_NASM'
add_to_config_mk_if_yes $_nasm 'HAVE_NASM = 1'
#
+# Enable vkeybd / keymapper
+#
+add_to_config_h_if_yes $_vkeybd '#define ENABLE_VKEYBD'
+add_to_config_h_if_yes $_keymapper '#define ENABLE_KEYMAPPER'
+
+#
# figure out installation directories
#
test -z "$_bindir" && _bindir="$_prefix/bin"
@@ -1714,10 +1727,19 @@ if test "$_build_hq_scalers" = yes ; then
fi
if test "$_mt32emu" = yes ; then
- echo ", MT-32 emu"
+ echo_n ", MT-32 emu"
+fi
+
+if test "$_vkeybd" = yes ; then
+ echo_n ", virtual keyboard"
+fi
+
+if test "$_keymapper" = yes ; then
+ echo ", keymapper"
else
echo
fi
+
#
# Backend related stuff
#