mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-27 03:10:37 +00:00
Ignore superfluous --enable/--disable flags for existing engines
svn-id: r32624
This commit is contained in:
parent
5c44c48dd0
commit
d218badb6b
4
configure
vendored
4
configure
vendored
@ -381,7 +381,7 @@ engine_enable() {
|
||||
fi
|
||||
|
||||
if test "$opt" = "static" -o "$opt" = "dynamic" -o "$opt" = "yes" ; then
|
||||
if test "`get_engine_name ${engine}`" != "" -a "`get_engine_build ${engine}`" != "$opt" ; then
|
||||
if test "`get_engine_name ${engine}`" != "" ; then
|
||||
eval _engine_${engine}_build=$opt
|
||||
else
|
||||
option_error
|
||||
@ -400,7 +400,7 @@ engine_disable() {
|
||||
fi
|
||||
|
||||
engine=`echo $1 | sed 's/-/_/g'`
|
||||
if test "`get_engine_name ${engine}`" != "" -a "`get_engine_build $engine`" != "no" ; then
|
||||
if test "`get_engine_name ${engine}`" != "" ; then
|
||||
eval _engine_${engine}_build=no
|
||||
else
|
||||
option_error
|
||||
|
Loading…
Reference in New Issue
Block a user