diff options
Diffstat (limited to 'configure.d/config_os_misc3')
-rw-r--r-- | configure.d/config_os_misc3 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/configure.d/config_os_misc3 b/configure.d/config_os_misc3 new file mode 100644 index 0000000..17aff48 --- /dev/null +++ b/configure.d/config_os_misc3 @@ -0,0 +1,20 @@ +# -*- autoconf -*- +######################################### +## +# Miscellaneous checks +## +######################################### + +## +# Compilation characteristics +## + +# Byte order +# +if test "$with_endianness" = "big"; then + ac_cv_c_bigendian=yes +elif test "$with_endianness" = "little" ; then + ac_cv_c_bigendian=no +fi +AC_C_BIGENDIAN(,, + [AC_MSG_ERROR([Failed to figure out host endianness, please use --with-endianness to specify it.])]) |