[Mplayer-cvslog] CVS: main configure,1.928,1.929

Sascha Sommer CVS syncmail at mplayerhq.hu
Sun Oct 31 19:19:31 CET 2004


CVS change done by Sascha Sommer CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv8948

Modified Files:
	configure 
Log Message:
some people have GREP_OPTIONS set to --ignore-case what makes it a bit dangerous to rely on the string MPlayer for the big endian check

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.928
retrieving revision 1.929
diff -u -r1.928 -r1.929
--- configure	30 Oct 2004 09:31:33 -0000	1.928
+++ configure	31 Oct 2004 18:19:28 -0000	1.929
@@ -5949,14 +5949,15 @@
 echocheck "byte order"
 if test "$_big_endian" = auto ; then
   cat > $TMPC <<EOF
-short asci_name[] = { (('M'<<8)|'P'),(('l'<<8)|'a'),(('y'<<8)|'e'),(('r'<<8)|0)};
+short ascii_name[] = { (('M'<<8)|'P'),(('l'<<8)|'a'),(('y'<<8)|'e'),(('r'<<8)|'B'),
+                      (('i'<<8)|'g'),(('E'<<8)|'n'),(('d'<<8)|'i'),(('a'<<8)|'n'),0};
 int main(){
-  char* s = (char*)asci_name;
+  char* s = (char*)ascii_name;
   return 0;
 } 
 EOF
   if cc_check ; then 
-    if test `grep -l MPlayer $TMPO` ; then 
+    if test `grep -l MPlayerBigEndian $TMPO` ; then 
       _big_endian=yes
     else
       _big_endian=no




More information about the MPlayer-cvslog mailing list