From 3ba91183fabeb04827b22ae6b234f8d0a4c1035d Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Mon, 7 Aug 2006 13:42:37 +0000 Subject: [PATCH] Fix bigendian check git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1941 4912f4e0-d625-0410-9fb7-b9a5a253dbdc --- configure.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/configure.in b/configure.in index 3c14638cdd..6b7e3e035e 100644 --- a/configure.in +++ b/configure.in @@ -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