Ignore superfluous --enable/--disable flags for existing engines

svn-id: r32624
This commit is contained in:
Jordi Vilalta Prat 2008-06-09 02:36:34 +00:00
parent 5c44c48dd0
commit d218badb6b

4
configure vendored
View File

@ -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