File: Endian.m4

package info (click to toggle)
libbson 1.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 19,504 kB
  • ctags: 2,615
  • sloc: ansic: 21,684; makefile: 430; python: 278; sh: 42
file content (7 lines) | stat: -rw-r--r-- 176 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
enable_bigendian=no
AC_C_BIGENDIAN
AC_SUBST(BSON_BYTE_ORDER, 1234)
if test "x$ac_cv_c_bigendian" = "xyes"; then
    AC_SUBST(BSON_BYTE_ORDER, 4321)
    enable_bigendian=yes
fi