* Move endian check after system extensions
GNU/Linux does not seem to define BYTE_ORDER in vanilla c99 mode.
Issue #883
* Make sure WORDS_BIGENDIAN is defined if big-endian
Issue #883
* Fix typo: s/Endianess/Endianness/
Issue #883
}
}
- # Endianess
- cc-check-endian
-
# GCC-specifc CFLAGS
if {![catch {exec [get-define CC] --version} res]} {
if {[regexp -nocase gcc $res]} {
}
cc-with [list -cflags [get-define CFLAGS]]
+ # Endianness
+ cc-check-endian
+ if {[have-feature BIG_ENDIAN]} {
+ define WORDS_BIGENDIAN
+ }
+
# Large file support
if {[cc-check-lfs]} {
define OFF_T_FMT {"%" PRId64}
SUN_ATTACHMENT
SYSCONFDIR
USE_*
+ WORDS_BIGENDIAN
}
set bare_rep {
ICONV_CONST