]> git.ipfire.org Git - thirdparty/libvirt.git/commit
maint: detect clang 2.9
authorEric Blake <eblake@redhat.com>
Wed, 4 May 2011 23:18:42 +0000 (17:18 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 4 May 2011 23:22:22 +0000 (17:22 -0600)
commit2ffa8b341cc54abfa417f809ab7a858bb07a929a
tree2a29b46ed807055b69ac5c5037dd27ea6cd64b08
parent4644f0b253e7b661e80f6c946a5f130998edc321
maint: detect clang 2.9

In Fedora 15, with clang 2.8, 'scan-build env' shows:
CCC_ANALYZER_ANALYSIS=-analyzer-check-objc-mem -analyzer-check-security-syntactic -analyzer-check-dead-stores -analyzer-check-objc-unused-ivars -analyzer-check-objc-methodsigs

But in rawhide, with clang 2.9, the same variable is set but
empty, implying the default set of analysis.  We still want
sa_assert defined in that case, to stop clang from hitting
false positives.

* configure.ac (STATIC_ANALYSIS): Detect clang even when the set
of analyses is the default.
configure.ac