From: ojab Date: Thu, 5 Jan 2012 10:18:34 +0000 (+0400) Subject: Strip LLVM svn rev from `llvm-config --version` output. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2fe6c254f72628c22473800c5ce002d09391d102;p=mesa.git Strip LLVM svn rev from `llvm-config --version` output. Reviewed-by: Vinson Lee --- diff --git a/configure.ac b/configure.ac index 9cf3fdcc948..cc139ada577 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`"