If the compiler recognizes bool as a separate built-in type, define HAVE_BOOL. Note that a typedef is not a separate type since you cannot overload a function such that it accepts either the basic type or the typedef.
Download the latest version of ax_cxx_bool.m4 or browse the macro’s revision history.
Copyright © 2008 Todd Veldhuizen
Copyright © 2008 Luc Maisonobe email@example.com
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.