Open barracuda156 opened 3 months ago
maybe because :thinking:
The default for action-if-true is to define ‘WORDS_BIGENDIAN’. The default for action-if-false is to do nothing. The default for action-if-unknown is to abort configure and tell the installer how to bypass this test. And finally, the default for action-if-universal is to ensure that ‘WORDS_BIGENDIAN’ is defined if and only if a universal build is detected and the current code is big-endian; this default works only if autoheader is used.
If you use this macro without specifying action-if-universal, you should also use AC_CONFIG_HEADERS; otherwise ‘WORDS_BIGENDIAN’ may be set incorrectly for Mac OS X universal binary files.
anyhow this check will go away with bitstring unbundling
Just in case, that was a single-arch build (gcc does not support universal builds at all presently).
Maybe I misunderstand something, but why on a Big-endian system I get
NATIVEENDIAN='LittleEndian'
in configure status? Autoconf correctly determines the endianness and sets it here:Yet, further down I see: