[FFmpeg-cvslog] r12436 - trunk/configure

mru subversion
Thu Mar 13 23:46:35 CET 2008


Author: mru
Date: Thu Mar 13 23:46:34 2008
New Revision: 12436

Log:
hopefully portable endian test


Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Thu Mar 13 23:46:34 2008
@@ -1565,7 +1565,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
-tr -c -d BIGE < $TMPO | grep -q BIGE && enable bigendian
+od -t x1 $TMPO | grep -q '42 49 47 45' && enable bigendian
 
 # ---
 # check availability of some header files




More information about the ffmpeg-cvslog mailing list