[Mplayer-cvslog] CVS: main configure,1.294,1.295

Jürgen Keil jkeil at mplayer.dev.hu
Tue Nov 27 17:50:41 CET 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv22760

Modified Files:
	configure 
Log Message:
Use "tail -1" instead of "tail -n 1" to print the last line,  the "-n" option
seems to be a gnu extension and is not available with the solaris "tail".


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.294
retrieving revision 1.295
diff -u -r1.294 -r1.295
--- configure	26 Nov 2001 00:46:44 -0000	1.294
+++ configure	27 Nov 2001 16:50:34 -0000	1.295
@@ -311,7 +311,7 @@
   echocheck "$_cc version"
   # also check for name (the version checking is only for _gcc_ up for now)
   # FIXME implement this in ver. check.
-  cc_name=`$_cc -v 2>&1 | tail -n 1 | cut -d ' ' -f 1`
+  cc_name=`$_cc -v 2>&1 | tail -1 | cut -d ' ' -f 1`
   cc_version=`$_cc -v 2>&1 | sed -n 's/^.*version \([aegcygnustp-]*[0-9.]*\).*$/\1/p'`
   case $cc_version in
     '')




More information about the MPlayer-cvslog mailing list