Fix bigendian check

git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1941 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams 2006-08-07 13:42:37 +00:00
parent 1dbe9fd061
commit 3ba91183fa

View file

@ -50,6 +50,11 @@ ALL_LINGUAS="bg bs ca cs da de el en_CA es fi fr gu hr hu it ja ko lt lv mk nb n
AC_PROG_INTLTOOL([0.27.2])
AM_GLIB_GNU_GETTEXT
dnl
dnl Make sha1.c happy on big endian systems
dnl
AC_C_BIGENDIAN
AC_ARG_WITH(distro, AC_HELP_STRING([--with-distro=DISTRO], [Specify the Linux distribution to target: One of redhat, suse, gentoo, debian, arch, slackware or paldo]))
if test "z$with_distro" = "z"; then
AC_CHECK_FILE(/etc/redhat-release,with_distro="redhat")
@ -344,11 +349,6 @@ else
AC_MSG_RESULT(no)
fi
## Enable bigendian stuff for sha1 hash code
if "$target_cpu" = "powerpc"; then
CPU_CFLAGS="-DWORDS_BIGENDIAN $CPU_CFLAGS"
fi
AC_OUTPUT([
Makefile
include/Makefile