configure.ac: Fix build with git-svn llvm version string

Reviewed-and-tested-by: Jan Vesely <jan.vesely@rutgers.edu>
This commit is contained in:
Tom Stellard 2014-09-09 07:04:20 -04:00
parent 78c9201a5b
commit 181581280b
1 changed files with 1 additions and 1 deletions

View File

@ -1687,7 +1687,7 @@ if test "x$enable_gallium_llvm" = xyes; then
fi
if test "x$LLVM_CONFIG" != xno; then
LLVM_VERSION=`$LLVM_CONFIG --version | sed 's/svn.*//g'`
LLVM_VERSION=`$LLVM_CONFIG --version | grep -o '^[[0-9.]]\+'`
LLVM_LDFLAGS=`$LLVM_CONFIG --ldflags`
LLVM_BINDIR=`$LLVM_CONFIG --bindir`
LLVM_CPPFLAGS=`strip_unwanted_llvm_flags "$LLVM_CONFIG --cppflags"`