From: sof Date: Tue, 20 May 2003 03:46:48 +0000 (+0000) Subject: [project @ 2003-05-20 03:46:48 by sof] X-Git-Tag: Approx_11550_changesets_converted~894 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=55657e2ed0d232ccd8aadbecdb160e56309de134;p=ghc-hetmet.git [project @ 2003-05-20 03:46:48 by sof] --with-gcc=: for mingw32 plat, canonicalise path using cygpath --- diff --git a/configure.in b/configure.in index 6e8d6c1..db0fc1f 100644 --- a/configure.in +++ b/configure.in @@ -432,6 +432,10 @@ AC_ARG_WITH(gcc, Use a different command instead of 'gcc' for the GNU C compiler. ], [WhatGccIsCalled="$withval" + if test "x$HostPlatform" = "xi386-unknown-mingw32"; then + # Canonicalise to :/path/to/gcc + withval=`cygpath -w ${withval} | sed -e 's@\\\\@/@g' ` + fi; CC="$withval"], [WhatGccIsCalled="gcc"] )