aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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\