From 30feb5577059a3addcf8465be59c5e048bb58dff Mon Sep 17 00:00:00 2001 From: jkeil Date: Tue, 27 Nov 2001 16:50:34 +0000 Subject: [PATCH] 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". git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3160 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index f5ee82065f..535997d0ce 100755 --- a/configure +++ b/configure @@ -311,7 +311,7 @@ if test "$_skip_cc_check" != yes ; then 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 '')