diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-02-26 12:50:16 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-02-26 14:34:29 +0100 |
commit | 01f3b95884ab652a61a621a0c9dc3e2e0b7c3e4b (patch) | |
tree | 29d0d6743a03ec87fbae7dc82fd0b13c7de79800 /configure.ac | |
parent | cd2725de90517cd63a17ccbf2c59c1e07eca5744 (diff) |
These version checks are about the Clang the plugins are built /against/
...not the (Clang) compiler they are being built /with/. (Also simplifies the
checking #if code.)
Change-Id: I416321be4ef4478785be40571f81500fd3b6feb8
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index de6eaae7f1e8..18c89ab368bc 100644 --- a/configure.ac +++ b/configure.ac @@ -3784,6 +3784,7 @@ if test "$COM_IS_CLANG" = TRUE; then CLANG_FULL_VERSION=`echo __clang_version__ | ${CC%-cl.exe*} -E -P -` CLANGVER=`echo $clang_version | $AWK -F. '{ print \$1*10000+\$2*100+\$3 }'` AC_MSG_RESULT([Clang $CLANG_FULL_VERSION, $CLANGVER]) + AC_DEFINE_UNQUOTED(CLANG_VERSION,$CLANGVER) AC_DEFINE_UNQUOTED(CLANG_FULL_VERSION,$CLANG_FULL_VERSION) fi AC_SUBST(COM_IS_CLANG) |