mirror of
https://github.com/mpv-player/mpv
synced 2024-12-15 11:25:10 +00:00
bugfix for cygwin (reports 2.95.3-5)
spotted by "Sycotic Smith" <sycotic@linuxmail.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6280 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f57f36f1f1
commit
8d36b5de78
7
configure
vendored
7
configure
vendored
@ -379,15 +379,14 @@ fi
|
||||
if test "$_skip_cc_check" != yes ; then
|
||||
for _cc in $_cc gcc-3.1 gcc3 gcc-3.0 cc ; do
|
||||
echocheck "$_cc version"
|
||||
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'`
|
||||
cc_version=`$_cc -dumpversion`
|
||||
cc_name=`( $_cc -v ) 2>&1 | tail -1 | cut -d ' ' -f 1`
|
||||
cc_version=`( $_cc -dumpversion ) 2>&1`
|
||||
case $cc_version in
|
||||
'')
|
||||
cc_version="v. ?.??, bad"
|
||||
cc_verc_fail=yes
|
||||
;;
|
||||
2.95.[2-9]|2.95.[2-9].[0-9]|3.[0-9]|3.[0-9].[0-9])
|
||||
2.95.[2-9]|2.95.[2-9][-.][0-9]|3.[0-9]|3.[0-9].[0-9])
|
||||
cc_version="$cc_version, ok"
|
||||
cc_verc_fail=no
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user