All pastes #744987 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-10-21 22:57 UTC
rendered paste body
# 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