diff options
author | Måns Rullgård <mans@mansr.com> | 2008-03-03 22:01:15 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2008-03-03 22:01:15 +0000 |
commit | 22f8654776e34d3effb75beae5e8d33f36adc3c6 (patch) | |
tree | 17136a8b2a5265bc2cb746343cdf4441bf01a870 | |
parent | 0e9fbd35b5544e7799db67302d3d7e2ea761b4c4 (diff) | |
download | ffmpeg-22f8654776e34d3effb75beae5e8d33f36adc3c6.tar.gz |
Fix endian test with grep not handling non-text files
POSIX grep is not required to support non-text files.
Idea by Rich Felker.
Originally committed as revision 12304 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1580,7 +1580,7 @@ enabled vis && add_cflags "-mcpu=ultrasparc -mtune=ultrasparc" check_cc <<EOF || die "endian test failed" unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E'; EOF -grep -q BIGE $TMPO && enable bigendian +tr -c -d BIGE < $TMPO | grep -q BIGE && enable bigendian # --- # check availability of some header files |