From e9b2b53857b17b2e78e9b8a0a45004ed843f9b9b Mon Sep 17 00:00:00 2001 From: ojab Date: Thu, 5 Jan 2012 14:18:34 +0400 Subject: [PATCH] Strip LLVM svn rev from `llvm-config --version` output. --- configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 9cf3fdc..cc139ad 100644 --- a/configure.ac +++ b/configure.ac @@ -1773,7 +1773,7 @@ if test "x$enable_gallium_llvm" = xyes; then AC_PATH_PROG([LLVM_CONFIG], [llvm-config], [no]) if test "x$LLVM_CONFIG" != xno; then - LLVM_VERSION=`$LLVM_CONFIG --version` + LLVM_VERSION=`$LLVM_CONFIG --version | sed 's/svn.*//g'` LLVM_CFLAGS=`$LLVM_CONFIG --cppflags|sed -e 's/-DNDEBUG\>//g' -e 's/-pedantic//g'` LLVM_LIBS="`$LLVM_CONFIG --libs`" -- 1.7.8