aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurynas Biveinis <lauras@softhome.net>2000-11-29 19:07:29 +0000
committerDJ Delorie <dj@gcc.gnu.org>2000-11-29 14:07:29 -0500
commitb86ecfa96e51f9428c115e26a15c10616770349a (patch)
treeee4ab28b5d6c71f0360050d7e3ace5b2ef4436b7
parent57814e5ea3528a521e997fcc6b5d658174b63e10 (diff)
downloadgcc-b86ecfa96e51f9428c115e26a15c10616770349a.zip
gcc-b86ecfa96e51f9428c115e26a15c10616770349a.tar.gz
gcc-b86ecfa96e51f9428c115e26a15c10616770349a.tar.bz2
* configure.in: recognize DOS-style absolute paths.
From-SVN: r37852
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/configure.in2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index be3164c..9daeb72 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2000-11-29 Laurynas Biveinis <lauras@softhome.net>
+
+ * configure.in: recognize DOS-style absolute paths.
+
2000-11-29 Jakub Jelinek <jakub@redhat.com>
* expr.h (store_by_pieces): Add prototype.
diff --git a/gcc/configure.in b/gcc/configure.in
index 44732ac1..329c42a 100644
--- a/gcc/configure.in
+++ b/gcc/configure.in
@@ -735,7 +735,7 @@ else
mkdir $tempdir
cd $tempdir
case ${srcdir} in
- /*) realsrcdir=${srcdir};;
+ /* | [A-Za-z]:[\\/]* ) realsrcdir=${srcdir};;
*) realsrcdir=../${srcdir};;
esac
CC=${CC_FOR_BUILD} ${realsrcdir}/configure \