[gnome-builder] build: break the long line of llvm-config names
- From: Ting-Wei Lan <lantw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] build: break the long line of llvm-config names
- Date: Tue, 15 Nov 2016 13:03:37 +0000 (UTC)
commit 47cfc883d717f4641a49f2db3d2ab858f45ffef5
Author: Ting-Wei Lan <lantw src gnome org>
Date: Tue Nov 15 03:27:02 2016 +0800
build: break the long line of llvm-config names
https://bugzilla.gnome.org/show_bug.cgi?id=774455
plugins/clang/configure.ac | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/plugins/clang/configure.ac b/plugins/clang/configure.ac
index 493734d..5f02082 100644
--- a/plugins/clang/configure.ac
+++ b/plugins/clang/configure.ac
@@ -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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]