Attempt to detect big endian machines, add -DBIGENDIAN to CFLAGS if so.

git-svn-id: http://voip.null.ro/svn/yate@4609 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2011-09-15 11:14:32 +00:00
parent 14d162b102
commit 088d5bb6e4
1 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,8 @@ if [[ -n "`echo a | sed 's/a\|b//'`" ]]; then
fi
AC_MSG_RESULT([$csed])
AC_C_BIGENDIAN([CFLAGS="$CFLAGS -DBIGENDIAN"])
# Check if gcc style printf argument check is supported
HAVE_GCC_FORMAT_CHECK=""
AC_MSG_CHECKING([for gcc printf format typechecks])