diff options
author | Jonathan Gray | 2003-08-23 23:33:05 +0000 |
---|---|---|
committer | Jonathan Gray | 2003-08-23 23:33:05 +0000 |
commit | ac3ee2684e2f0c3b424d0212dc09024be6402ee9 (patch) | |
tree | 7c5bc68bc1bc9d073f772537b67cbe3f4b4efa6b | |
parent | f74aa84b2d499d37b490ad6a9f71a8659d3b5b89 (diff) | |
download | scummvm-rg350-ac3ee2684e2f0c3b424d0212dc09024be6402ee9.tar.gz scummvm-rg350-ac3ee2684e2f0c3b424d0212dc09024be6402ee9.tar.bz2 scummvm-rg350-ac3ee2684e2f0c3b424d0212dc09024be6402ee9.zip |
fix --disable-engine so it doesn't try to compile disabled engine, what was I thinking...
svn-id: r9835
-rwxr-xr-x | configure | 25 |
1 files changed, 12 insertions, 13 deletions
@@ -303,27 +303,27 @@ fi; # Engine selection # if test "$_build_scumm" = no ; then - _def_scumm='#define DISABLE_SCUMM' + _mak_scumm='DISABLE_SCUMM = 1' else - _def_scumm='#undef DISABLE_SCUMM' + _mak_scumm='# DISABLE_SCUMM = 1' fi if test "$_build_simon" = no ; then - _def_simon='#define DISABLE_SIMON' + _mak_simon='DISABLE_SIMON = 1' else - _def_simon='#undef DISABLE_SIMON' + _mak_simon='# DISABLE_SIMON = 1' fi if test "$_build_sky" = no ; then - _def_sky='#define DISABLE_SKY' + _mak_sky='DISABLE_SKY = 1' else - _def_sky='#undef DISABLE_SKY' + _mak_sky='# DISABLE_SKY = 1' fi if test "$_build_bs2" = no ; then - _def_bs2='#define DISABLE_SWORD2' + _mak_bs2='DISABLE_SWORD2 = 1' else - _def_bs2='#undef DISABLE_SWORD2' + _mak_bs2='# DISABLE_SWORD2 = 1' fi # @@ -547,11 +547,6 @@ cat > config.h << EOF #ifndef CONFIG_H #define CONFIG_H -$_def_scumm -$_def_simon -$_def_sky -$_def_bs2 - $_def_endianess $_def_align @@ -585,6 +580,10 @@ BACKEND := $_backend MODULES += $MODULES $_make_def_HAVE_GCC3 +$_mak_scumm +$_mak_simon +$_mak_sky +$_mak_bs2 INCLUDES += $INCLUDES OBJS += $OBJS |