mirror of
https://github.com/mpv-player/mpv
synced 2024-12-14 19:05:33 +00:00
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
This commit is contained in:
parent
f13f4c716c
commit
30feb55770
2
configure
vendored
2
configure
vendored
@ -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
|
||||
'')
|
||||
|
Loading…
Reference in New Issue
Block a user