LLVM bindings: allow to specify path to llvm-config
..by setting LLVM_CONFIG variable when generating definitions
for LLVM bindings. Example:
make LVM_CONFIG=~/Projects/LLVM/sources1/build/Debug+Asserts/bin/llvm-config
--- a/resources/examples/llvm-c-ext/Makefile Wed Sep 16 06:25:43 2015 +0100
+++ b/resources/examples/llvm-c-ext/Makefile Thu Sep 17 07:36:40 2015 +0100
@@ -1,5 +1,6 @@
CC=gccxml.real
-CFLAGS=$(shell llvm-config-3.8 --cflags)
+LLVM_CONFIG ?= llvm-config-3.8
+CFLAGS=$(shell $(LLVM_CONFIG) --cflags)
XSLTPROC=xsltproc
XML2DEF_XSL=../../styles/gccxml2def.xsl