mirror of
https://github.com/mpv-player/mpv
synced 2025-01-05 03:06:28 +01:00
Rename cc_verc_fail variable to cc_fail.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26638 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
1758d95819
commit
c712ce6632
18
configure
vendored
18
configure
vendored
@ -1422,15 +1422,15 @@ if test "$_gcc_check" = yes ; then
|
|||||||
case $cc_version in
|
case $cc_version in
|
||||||
'')
|
'')
|
||||||
cc_version="v. ?.??, bad"
|
cc_version="v. ?.??, bad"
|
||||||
cc_verc_fail=yes
|
cc_fail=yes
|
||||||
;;
|
;;
|
||||||
10.1)
|
10.1)
|
||||||
cc_version="$cc_version, ok"
|
cc_version="$cc_version, ok"
|
||||||
cc_verc_fail=no
|
cc_fail=no
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
cc_version="$cc_version, bad"
|
cc_version="$cc_version, bad"
|
||||||
cc_verc_fail=yes
|
cc_fail=yes
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
echores "$cc_version"
|
echores "$cc_version"
|
||||||
@ -1446,28 +1446,28 @@ if test "$_gcc_check" = yes ; then
|
|||||||
case $cc_version in
|
case $cc_version in
|
||||||
'')
|
'')
|
||||||
cc_version="v. ?.??, bad"
|
cc_version="v. ?.??, bad"
|
||||||
cc_verc_fail=yes
|
cc_fail=yes
|
||||||
;;
|
;;
|
||||||
2.95.[2-9]|2.95.[2-9][-.]*|[3-4].*)
|
2.95.[2-9]|2.95.[2-9][-.]*|[3-4].*)
|
||||||
_cc_major=`echo $cc_version | cut -d '.' -f 1`
|
_cc_major=`echo $cc_version | cut -d '.' -f 1`
|
||||||
_cc_minor=`echo $cc_version | cut -d '.' -f 2`
|
_cc_minor=`echo $cc_version | cut -d '.' -f 2`
|
||||||
_cc_mini=`echo $cc_version | cut -d '.' -f 3`
|
_cc_mini=`echo $cc_version | cut -d '.' -f 3`
|
||||||
cc_version="$cc_version, ok"
|
cc_version="$cc_version, ok"
|
||||||
cc_verc_fail=no
|
cc_fail=no
|
||||||
;;
|
;;
|
||||||
'not found')
|
'not found')
|
||||||
cc_verc_fail=yes
|
cc_fail=yes
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
cc_version="$cc_version, bad"
|
cc_version="$cc_version, bad"
|
||||||
cc_verc_fail=yes
|
cc_fail=yes
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
echores "$cc_version"
|
echores "$cc_version"
|
||||||
test "$cc_verc_fail" = "no" && break
|
test "$cc_fail" = "no" && break
|
||||||
done
|
done
|
||||||
fi # icc
|
fi # icc
|
||||||
if test "$cc_verc_fail" = yes ; then
|
if test "$cc_fail" = yes ; then
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
|
|
||||||
*** Please downgrade/upgrade C compiler to version gcc-2.95, 3.x or 4.x! ***
|
*** Please downgrade/upgrade C compiler to version gcc-2.95, 3.x or 4.x! ***
|
||||||
|
Loading…
Reference in New Issue
Block a user