From 181581280bd430d122d416e308c1de82db82da04 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 9 Sep 2014 07:04:20 -0400 Subject: [PATCH] configure.ac: Fix build with git-svn llvm version string Reviewed-and-tested-by: Jan Vesely --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index be85fd51bc8..176c220285a 100644 --- a/configure.ac +++ b/configure.ac @@ -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"` -- 2.30.2