Commit 55657e2e authored by sof's avatar sof
Browse files

[project @ 2003-05-20 03:46:48 by sof]

--with-gcc=<path>: for mingw32 plat, canonicalise path using cygpath
parent 7f480764
...@@ -432,6 +432,10 @@ AC_ARG_WITH(gcc, ...@@ -432,6 +432,10 @@ AC_ARG_WITH(gcc,
Use a different command instead of 'gcc' for the GNU C compiler. Use a different command instead of 'gcc' for the GNU C compiler.
], ],
[WhatGccIsCalled="$withval" [WhatGccIsCalled="$withval"
if test "x$HostPlatform" = "xi386-unknown-mingw32"; then
# Canonicalise to <drive>:/path/to/gcc
withval=`cygpath -w ${withval} | sed -e 's@\\\\@/@g' `
fi;
CC="$withval"], CC="$withval"],
[WhatGccIsCalled="gcc"] [WhatGccIsCalled="gcc"]
) )
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment