diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -374,7 +374,7 @@ engine_enable() { fi engine=`echo $eng | sed 's/-/_/g'` if test "$opt" = "static" -o "$opt" = "dynamic" -o "$opt" = "yes" ; then - if test "`get_engine_build ${engine}`" != "$opt" ; then + if test "`get_engine_name ${engine}`" != "" -a "`get_engine_build ${engine}`" != "$opt" ; then eval _engine_${engine}_build=$opt else option_error @@ -387,7 +387,7 @@ engine_enable() { # Disable the given engine engine_disable() { engine=`echo $1 | sed 's/-/_/g'` - if test "`get_engine_build $engine`" != "no" ; then + if test "`get_engine_name ${engine}`" != "" -a "`get_engine_build $engine`" != "no" ; then eval _engine_${engine}_build=no else option_error |