From e6ff7a08e4e7808e1175c3c3bc830d93c0454b19 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Tue, 27 Oct 2009 22:25:36 +0100 Subject: Replaces local endianity testing macro with the common one. That makes it easier to integrate BIRD to crosscompiling buildsystems. --- configure.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 8d519fd..429b22f 100644 --- a/configure.in +++ b/configure.in @@ -179,8 +179,10 @@ AC_TRY_COMPILE([#include AC_DEFINE(HAVE_SIN_LEN,,sin_len)], AC_MSG_RESULT(no)) +AC_C_BIGENDIAN([AC_DEFINE(CPU_BIG_ENDIAN)], [AC_DEFINE(CPU_LITTLE_ENDIAN)], + [AC_MSG_ERROR([Cannot determine CPU endianity.])]) + BIRD_CHECK_INTEGERS -BIRD_CHECK_ENDIAN BIRD_CHECK_STRUCT_ALIGN BIRD_CHECK_TIME_T BIRD_CHECK_STRUCT_IP_MREQN -- cgit v1.2.3 From 7965e17d67e8e2e68d96a8471f4828c0dc0d0b21 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Mon, 2 Nov 2009 16:25:05 +0100 Subject: Fixes build in Debian GNU/kFreeBSD. --- configure.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 429b22f..309cb83 100644 --- a/configure.in +++ b/configure.in @@ -125,6 +125,10 @@ else ;; ipv4:freebsd*) sysdesc=bsd ;; + ipv6:kfreebsd*) sysdesc=bsd-v6 + ;; + ipv4:kfreebsd*) sysdesc=bsd + ;; ipv6:openbsd*) sysdesc=bsd-v6 ;; ipv4:openbsd*) sysdesc=bsd -- cgit v1.2.3