configure: disallow ccache during compile tests
commit5e4dfd3d4e87e0464d599ecef06aa8fe78420a9b
authorJohn Snow <jsnow@redhat.com>
Wed, 28 Oct 2015 17:56:40 +0000 (28 13:56 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 4 Nov 2015 14:56:04 +0000 (4 15:56 +0100)
tree8b43fdc51d27b1cb8c45bb225a200a7fcac10ef7
parent0448f5f8b816923b198ab6c32286fd1f3b2f3e45
configure: disallow ccache during compile tests

If the user is using ccache during the configuration step,
it may interfere with some of the configuration tests,
particularly the "Is ccache interfering with macro analysis" step,
which is a bit of a poetic problem.

1) Disallow ccache from reading from the cache during configure,
   but don't disable it entirely to allow us to see if it causes other
   problems.

2) Force off CCACHE_CPP2 during the ccache test to get a deterministic
   answer over whether or not we need to enable that feature later.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <1446055000-29150-1-git-send-email-jsnow@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure