diff options
author | jkeil <jkeil@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-11-27 16:50:34 +0000 |
---|---|---|
committer | jkeil <jkeil@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-11-27 16:50:34 +0000 |
commit | 30feb5577059a3addcf8465be59c5e048bb58dff (patch) | |
tree | 395136a0ef941865d776af79a1a625865a3584b7 /configure | |
parent | f13f4c716c1e64f5c40fc408e7ab0d4a0c8a7a1f (diff) |
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
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 '') |