diff options
author | Max Horn | 2009-01-20 22:46:34 +0000 |
---|---|---|
committer | Max Horn | 2009-01-20 22:46:34 +0000 |
commit | 79e4b6b2b2db45559fe6e5d7994b287219e80b25 (patch) | |
tree | be3846aa9525452079b2d9439e16fe9af35b086c /configure | |
parent | 94db14feccee8e17ce700c19459f08dc5e0113f6 (diff) | |
download | scummvm-rg350-79e4b6b2b2db45559fe6e5d7994b287219e80b25.tar.gz scummvm-rg350-79e4b6b2b2db45559fe6e5d7994b287219e80b25.tar.bz2 scummvm-rg350-79e4b6b2b2db45559fe6e5d7994b287219e80b25.zip |
Changed configure to add ENABLE_VKEYBD and ENABLE_KEYMAPPER to DEFINES, instead of config.h
svn-id: r35962
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1621,8 +1621,12 @@ 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' +if test "$_vkeybd" = yes ; then + DEFINES="$DEFINES -DENABLE_VKEYBD" +fi +if test "$_keymapper" = yes ; then + DEFINES="$DEFINES -DENABLE_KEYMAPPER" +fi # # figure out installation directories |