Fix MPFR build to recognise the Mingw32 case.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Jun 23 22:57:12 2009 +0200 (2009-06-23)
changeset 1422ff866c9faad2
parent 1421 71a85f37efbc
child 1423 7f5563e3ec2d
child 1429 2ea00591717a
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>
scripts/build/companion_libs/mpfr.sh
     1.1 --- a/scripts/build/companion_libs/mpfr.sh	Tue Jun 23 22:56:39 2009 +0200
     1.2 +++ b/scripts/build/companion_libs/mpfr.sh	Tue Jun 23 22:57:12 2009 +0200
     1.3 @@ -64,7 +64,8 @@
     1.4      mpfr_opt=
     1.5      # Under Cygwin, we can't build a thread-safe library
     1.6      case "${CT_HOST}" in
     1.7 -        *-cygwin)   mpfr_opt="--disable-thread-safe";;
     1.8 +        *cygwin*)   mpfr_opt="--disable-thread-safe";;
     1.9 +        *mingw*)    mpfr_opt="--disable-thread-safe";;
    1.10          *)          mpfr_opt="--enable-thread-safe";;
    1.11      esac
    1.12