[MPlayer-cvslog] CVS: main configure,1.950,1.951

Nicolas Plourde nicolas.plourde at sympatico.ca
Fri Jan 14 01:56:23 CET 2005


Attila Kinali CVS wrote:

>CVS change done by Attila Kinali CVS
>
>Update of /cvsroot/mplayer/main
>In directory mail:/var2/tmp/cvs-serv2654
>
>Modified Files:
>	configure 
>Log Message:
>sun grep doesn't like binary files, thus the compiled file
>has to be passed trough strings first.
>
>
>Index: configure
>===================================================================
>RCS file: /cvsroot/mplayer/main/configure,v
>retrieving revision 1.950
>retrieving revision 1.951
>diff -u -r1.950 -r1.951
>--- configure	6 Jan 2005 12:06:57 -0000	1.950
>+++ configure	12 Jan 2005 10:01:04 -0000	1.951
>@@ -6197,7 +6197,7 @@
> } 
> EOF
>   if cc_check ; then 
>-    if test `grep -l MPlayerBigEndian $TMPO` ; then 
>+    if test `strings $TMPO | grep -l MPlayerBigEndian` ; then 
>       _big_endian=yes
>     else
>       _big_endian=no
>
>_______________________________________________
>MPlayer-cvslog mailing list
>MPlayer-cvslog at mplayerhq.hu
>http://mplayerhq.hu/mailman/listinfo/mplayer-cvslog
>
>
>  
>
Replacing:

if test `grep -l MPlayerBigEndian $TMPO` ; then 

By

if test `grep MPlayerBigEndian $TMPO` ; then 

fix the problem.

with -l test return standard unary operator expected...?

-- 
====
Nicolas Plourde <nicolas.plourde at sympatico.ca>





More information about the MPlayer-cvslog mailing list