aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorGravatar jkeil <jkeil@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-27 16:50:34 +0000
committerGravatar jkeil <jkeil@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-27 16:50:34 +0000
commit30feb5577059a3addcf8465be59c5e048bb58dff (patch)
tree395136a0ef941865d776af79a1a625865a3584b7 /configure
parentf13f4c716c1e64f5c40fc408e7ab0d4a0c8a7a1f (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-xconfigure2
1 files changed, 1 insertions, 1 deletions
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
'')