2 Nov
2009
2 Nov
'09
11:28 a.m.
On Sat, 31 Oct 2009, Paolo Bonzini wrote:
As I understand it, some of this is simply a feature of the way autoconf works: AC_CHECK_DECLS(), used for testing macros, checks conditionally define HAVE_DECL_foo, whereas functional checks, such as AC_CHECK_FUNCS(), used for testing for functions, defines HAVE_foo unconditionally but with a value of 0 or 1. I'd be quite happy to learn about ways to avoid this happening. :-)
I think Kevin was thinking more of these.
I've merged (pretty much) this patch as r83, although I also used defines of '1' in the previous revision, r82, that attempts to move policy for selecting the semaphore implementation into configure.ac from the C source. Robert