[prev in list] [next in list] [prev in thread] [next in thread]
List: mplayer-cvs
Subject: [Mplayer-cvslog] CVS: main configure,1.928,1.929
From: syncmail () mplayerhq ! hu (Sascha Sommer CVS)
Date: 2004-10-31 18:19:31
Message-ID: 20041031181931.3AC5F3BF0B () mail ! mplayerhq ! hu
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic