aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorherbelin2001-09-26 17:10:49 +0000
committerherbelin2001-09-26 17:10:49 +0000
commit5e729651cac3cab2694ca5a010c8fa40722b85ad (patch)
tree7707be3fc9547fa8e55462e77d19d996b4601d97
parent27e7cbab1e36d62a5a8ef98e35587abc17ded86f (diff)
Hack pour ajuster les chemins a la mode cygwin
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@2074 85f007b7-540e-0410-9357-904b9bb8a0f7
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 0fb167c8ff..eb9460e384 100755
--- a/configure
+++ b/configure
@@ -112,6 +112,10 @@ case $arch_spec in
ARCH=`/usr/ucb/arch`
elif /bin/uname -s | grep -q -i CYGWIN ; then
ARCH=win32
+ # cygwin returns a name of the form \\cygdrive\\c\\...
+ # that coqc does not understand; need to transform it
+ COQTOP=`echo $COQTOP | sed -e "s#.*cygdrive.\(.\)#\1:#"`
+ echo $COQTOP
else
echo "I can not automatically find the name of your architecture"
echo -n\