From 55657e2ed0d232ccd8aadbecdb160e56309de134 Mon Sep 17 00:00:00 2001 From: sof Date: Tue, 20 May 2003 03:46:48 +0000 Subject: [PATCH] [project @ 2003-05-20 03:46:48 by sof] --with-gcc=: for mingw32 plat, canonicalise path using cygpath --- configure.in | 4 ++++ 1 file changed, 4 insertions(+) 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"] ) -- 1.7.10.4