blob: 399aabc3a7b2fff3da73720adecba08dd9cab7db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/configure b/configure
index 6ab04ae..1c8ab46 100755
--- a/configure
+++ b/configure
@@ -3171,7 +3171,7 @@ EOF
check_cc <<EOF || die "endian test failed"
unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E';
EOF
-od -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian
+/usr/bin/tr -cd "BIGE" < $TMPO | grep -q 'B *I *G *E' && enable bigendian
if enabled alpha; then
|