If the compiler handle (int) casts in enum computations, define HAVE_ENUM_COMPUTATIONS_WITH_CAST.
Download the latest version of ax_cxx_enum_computations_with_cast.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.