[gnome-builder] build: move llvm-config to the top
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] build: move llvm-config to the top
- Date: Mon, 8 May 2017 22:15:31 +0000 (UTC)
commit 891a57531e2ccdb6217af9fbcebc217f79b287f2
Author: Ting-Wei Lan <lantw src gnome org>
Date: Sun May 7 23:06:53 2017 +0800
build: move llvm-config to the top
If llvm-config exists, it should be the default LLVM version on the
system and we should use it by default. This change also syncs the
list with meson.
https://bugzilla.gnome.org/show_bug.cgi?id=782296
plugins/clang/configure.ac | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plugins/clang/configure.ac b/plugins/clang/configure.ac
index ffb66c6..1a9add9 100644
--- a/plugins/clang/configure.ac
+++ b/plugins/clang/configure.ac
@@ -10,13 +10,14 @@ 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 \
llvm-config-4.0 llvm-config40 \
llvm-config-3.9 llvm-config39 \
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 llvm-config-devel], [])
+ llvm-config-devel], [])
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]