diff --git a/bin/dunecontrol b/bin/dunecontrol index f71ef1448e34499416452a92f31c2c951e0b85c6..173ad4a447578809949d3042c0efa4349bb04bac 100755 --- a/bin/dunecontrol +++ b/bin/dunecontrol @@ -643,7 +643,7 @@ run_default_configure () { if test -d "$path/$BUILDDIR"; then PARAMS="$PARAMS \"--with-$name=$path/$BUILDDIR\"" else - if test x$module_inst != xyes; then + if test x$(eval echo \$INST_$mod) != xyes; then PARAMS="$PARAMS \"--with-$name=$path\"" fi fi