[libdispatch-dev] autoconf HAVE macro conventions
Paolo Bonzini
bonzini at gnu.org
Fri Oct 30 15:27:18 PDT 2009
>> Are there any other cases?
>
> What about the SIZEOF_LONG test? Does autoconf do the right thing for
> '-arch i386 -arch x86_64'?
No, those don't work (they just cannot). You can always replace them
with things such as
AH_VERBATIM([#if defined __SIZEOF_LONG__
#define SIZEOF_LONG __SIZEOF_LONG__
#elif defined __LP64__
#define SIZEOF_LONG 8
#else
#define SIZEOF_LONG 4
#endif
])
Hum, should make an Autoconf patch to use __SIZEOF_xyz__ defines. :-)
> Also, what version of autoconf is required to
> get the support for AC_C_BIGENDIAN and universal binaries?
2.62, but it was buggy until 2.63 (2008-09-09).
Paolo
More information about the libdispatch-dev
mailing list