projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e0e2436
)
Use cygpath -m, rather than fudging it ourselves with sed
author
Ian Lynagh
<igloo@earth.li>
Thu, 3 Jul 2008 13:17:25 +0000
(13:17 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Thu, 3 Jul 2008 13:17:25 +0000
(13:17 +0000)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
f963e8f
..
31e827b
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-688,7
+688,7
@@
AC_ARG_WITH(gcc,
if test "${OSTYPE}" != "msys"
then
# Canonicalise to <drive>:/path/to/gcc
if test "${OSTYPE}" != "msys"
then
# Canonicalise to <drive>:/path/to/gcc
- withval=`cygpath -w ${withval} | sed -e 's@\\\\@/@g' `
+ withval=`cygpath -m ${withval}`
fi
fi;
CC="$withval"
fi
fi;
CC="$withval"
@@
-708,7
+708,7
@@
AC_ARG_WITH(ld,
if test "${OSTYPE}" != "msys"
then
# Canonicalise to <drive>:/path/to/ld
if test "${OSTYPE}" != "msys"
then
# Canonicalise to <drive>:/path/to/ld
- withval=`cygpath -w ${withval} | sed -e 's@\\\\@/@g' `
+ withval=`cygpath -m ${withval}`
fi
fi;
LD=$withval
fi
fi;
LD=$withval
@@
-961,7
+961,7
@@
if test "x$HostPlatform" = "xi386-unknown-mingw32"
if test "${OSTYPE}" != "msys"
then
# Canonicalise to <drive>:/path/to/gcc
if test "${OSTYPE}" != "msys"
then
# Canonicalise to <drive>:/path/to/gcc
- HSCOLOUR=`cygpath -w ${HSCOLOUR} | sed -e 's@\\\\@/@g' `
+ HSCOLOUR=`cygpath -m ${HSCOLOUR}`
fi
fi
fi
fi