[FFmpeg-cvslog] r12304 - trunk/configure

mru subversion
Mon Mar 3 23:01:16 CET 2008


Author: mru
Date: Mon Mar  3 23:01:15 2008
New Revision: 12304

Log:
Fix endian test with grep not handling non-text files

POSIX grep is not required to support non-text files.

Idea by Rich Felker.


Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Mon Mar  3 23:01:15 2008
@@ -1580,7 +1580,7 @@ enabled vis && add_cflags "-mcpu=ultrasp
 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




More information about the ffmpeg-cvslog mailing list