Anonymous
public text v1 · immutable# endian testing
echocheck "byte order"
Checking for byte order ... if test "$_big_endian" = auto ; then
cat > $TMPC <<EOF
if cc_check ; then
if strings $TMPEXE | grep -l MPlayerBigEndian >/dev/null ; then
_big_endian=yes
else
_big_endian=no
fi
else
echo ${_echo_n} "failed to autodetect byte order, defaulting to ${_echo_c}"
fi
fi