From: Tom Stellard Date: Tue, 9 Sep 2014 11:04:20 +0000 (-0400) Subject: configure.ac: Fix build with git-svn llvm version string X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=181581280bd430d122d416e308c1de82db82da04;p=mesa.git configure.ac: Fix build with git-svn llvm version string Reviewed-and-tested-by: Jan Vesely --- 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"`