30 Oct
2009
30 Oct
'09
10:27 p.m.
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