Fix MPFR build to recognise the Mingw32 case.

Once we have canadian in place, Mingw32 can be a legitimate host,
so we have to recognise that along with Cygwin.

Also fix recognising Cygwin hosts.

Signed-off-by: Bart van der Meulen <bartvdrmeulen@gmail.com>
This commit is contained in:
Bart van der Meulen 2009-06-23 22:57:12 +02:00 committed by Yann E. MORIN"
parent ecb02cb9dc
commit 936286668b

View File

@ -64,7 +64,8 @@ do_mpfr() {
mpfr_opt=
# Under Cygwin, we can't build a thread-safe library
case "${CT_HOST}" in
*-cygwin) mpfr_opt="--disable-thread-safe";;
*cygwin*) mpfr_opt="--disable-thread-safe";;
*mingw*) mpfr_opt="--disable-thread-safe";;
*) mpfr_opt="--enable-thread-safe";;
esac