summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-05-21 10:40:20 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-05-21 10:40:20 +0000
commitcb10fdc74d7e35635eb1bff5ca9acb43da74316d (patch)
tree842497f1b58ee2b1c8c3174a976762490134e965 /llvm
parent85b6232b53786d696d764bd3c63c4b293c3d3d76 (diff)
downloadbcm5719-llvm-cb10fdc74d7e35635eb1bff5ca9acb43da74316d.tar.gz
bcm5719-llvm-cb10fdc74d7e35635eb1bff5ca9acb43da74316d.zip
For PR784:
Support Win32 platforms for llvm-gcc path. Patch by Anton Korobeynikov llvm-svn: 28426
Diffstat (limited to 'llvm')
-rw-r--r--llvm/autoconf/configure.ac2
-rwxr-xr-xllvm/configure2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/autoconf/configure.ac b/llvm/autoconf/configure.ac
index f6bb7a5445e..954dd38b8fe 100644
--- a/llvm/autoconf/configure.ac
+++ b/llvm/autoconf/configure.ac
@@ -320,7 +320,7 @@ AC_ARG_WITH(llvmgccdir,
withval=default)
case "$withval" in
default) WITH_LLVMGCCDIR=default ;;
- /*) WITH_LLVMGCCDIR=$withval ;;
+ /* | [[A-Za-z]]:[[\\/]]*) WITH_LLVMGCCDIR=$withval ;;
*) AC_MSG_ERROR([Invalid path for --with-llvmgccdir. Provide full path]) ;;
esac
diff --git a/llvm/configure b/llvm/configure
index 9b0e36e973f..ca2049f6fde 100755
--- a/llvm/configure
+++ b/llvm/configure
@@ -3150,7 +3150,7 @@ else
fi;
case "$withval" in
default) WITH_LLVMGCCDIR=default ;;
- /*) WITH_LLVMGCCDIR=$withval ;;
+ /* | [A-Za-z]:[\\/]*) WITH_LLVMGCCDIR=$withval ;;
*) { { echo "$as_me:$LINENO: error: Invalid path for --with-llvmgccdir. Provide full path" >&5
echo "$as_me: error: Invalid path for --with-llvmgccdir. Provide full path" >&2;}
{ (exit 1); exit 1; }; } ;;
OpenPOWER on IntegriCloud