From 90c1f3c1580d8e699c2788262a614a930a33e13e Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 20 Sep 2019 19:14:40 +0000 Subject: Better endianness test, because BSD --- configure | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index a8ee590..7a5e371 100755 --- a/configure +++ b/configure @@ -184,11 +184,24 @@ tryendianness () { if iscached endianness ; then return ; fi for i in endian.h sys/endian.h machine/endian.h ; do cat > "$tmpc" < int a = 1 ; EOF if trybasic "$tmpc" ; then cat > "$tmpc" < "$tmpc" <