[libdispatch-dev] [PATCH] define autoconf macros to 1
robert at fledge.watson.org
Mon Nov 2 03:28:41 PST 2009
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.
More information about the libdispatch-dev