mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-06 10:18:03 +02:00
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:
parent
1dbe9fd061
commit
3ba91183fa
1 changed files with 5 additions and 5 deletions
10
configure.in
10
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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue