For PR784:

Support Win32 platforms for llvm-gcc path. Patch by Anton Korobeynikov

llvm-svn: 28426
This commit is contained in:
Reid Spencer 2006-05-21 10:40:20 +00:00
parent 85b6232b53
commit cb10fdc74d
2 changed files with 2 additions and 2 deletions

View File

@ -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

2
llvm/configure vendored
View File

@ -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; }; } ;;