Reviewed-by: Vinson Lee <vlee@freedesktop.org>tags/mesa-8.0-rc1
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`" | ||||