Browse Source

Strip LLVM svn rev from `llvm-config --version` output.

Reviewed-by: Vinson Lee <vlee@freedesktop.org>
tags/mesa-8.0-rc1
ojab 13 years ago
parent
commit
2fe6c254f7
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      configure.ac

+ 1
- 1
configure.ac View File

AC_PATH_PROG([LLVM_CONFIG], [llvm-config], [no]) AC_PATH_PROG([LLVM_CONFIG], [llvm-config], [no])


if test "x$LLVM_CONFIG" != xno; then 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_CFLAGS=`$LLVM_CONFIG --cppflags|sed -e 's/-DNDEBUG\>//g' -e 's/-pedantic//g'`
LLVM_LIBS="`$LLVM_CONFIG --libs`" LLVM_LIBS="`$LLVM_CONFIG --libs`"



Loading…
Cancel
Save