if [ "$CPUS" = "" ]; then
threads=2
else
- threads=`expr $CPUS + 1`
+ threads=$(($CPUS + 1)) # `expr $CPUS + 1`
fi
if [ $testsuite_only -eq 0 ]; then
then
config_args="$config_args --with-gcc=c:/mingw/bin/gcc"
fi
+ if [ -f c:/mingw/bin/ld.exe ]
+ then
+ config_args="$config_args --with-ld=c:/mingw/bin/ld"
+ fi
;;
esac