Commit 47cfc883 authored by Ting-Wei Lan's avatar Ting-Wei Lan
Browse files

build: break the long line of llvm-config names

https://bugzilla.gnome.org/show_bug.cgi?id=774455
parent e1fa5edd
......@@ -9,7 +9,12 @@ AC_ARG_ENABLE([clang-plugin],
AS_IF([test "$enable_clang_plugin" != "no"],[
real_enable_clang_plugin=$enable_clang_plugin
enable_clang_plugin=no
AC_CHECK_PROGS([LLVM_CONFIG], [llvm-config-3.8 llvm-config38 llvm-config-3.7 llvm-config37 llvm-config-3.6 llvm-config36 llvm-config-3.5 llvm-config35 llvm-config], [])
AC_CHECK_PROGS([LLVM_CONFIG], [ \
llvm-config-3.8 llvm-config38 \
llvm-config-3.7 llvm-config37 \
llvm-config-3.6 llvm-config36 \
llvm-config-3.5 llvm-config35 \
llvm-config], [])
AS_IF([test "x$LLVM_CONFIG" = "x"],[],[
CLANG_INCLUDEDIR=`$LLVM_CONFIG --includedir`
CLANG_CFLAGS="-I$CLANG_INCLUDEDIR"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment