summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-01-25 13:14:40 +0000
committerpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-01-25 13:14:40 +0000
commit6ad516f53f30b3bc300adb23cac3fde215a19023 (patch)
tree799aff94a749a352e9da93897ce5fa7d8e7f21b2
parent49cc6c4b3ae79b39b11b882d67aa596853d79c8f (diff)
downloadmpv-6ad516f53f30b3bc300adb23cac3fde215a19023.tar.bz2
mpv-6ad516f53f30b3bc300adb23cac3fde215a19023.tar.xz
original patch by malc <malc@tmbg.co.uk>
slightly edited by me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4346 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-xconfigure7
1 files changed, 5 insertions, 2 deletions
diff --git a/configure b/configure
index 7fdccacab0..8db1df4820 100755
--- a/configure
+++ b/configure
@@ -331,6 +331,7 @@ if test "$_skip_cc_check" != yes ; then
;;
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
;;
*)
cc_version="$cc_version, bad"
@@ -340,7 +341,7 @@ if test "$_skip_cc_check" != yes ; then
echores "$cc_version"
# If gcc version is crappy RH one, then check if the user has installed the optional
# (at least in Rh7.2) gcc3 packages to save them some pain - malc@tmbg.co.uk
- if test "$cc_verc_fail" ; then
+ if test "$cc_verc_fail" = yes ; then
echocheck "gcc3 version"
_cc=gcc3
cc_version=`$_cc -v 2>&1 | sed -n 's/^.*version \([aegcygnustp-]*[0-9.]*\).*$/\1/p'`
@@ -351,14 +352,16 @@ if test "$_skip_cc_check" != yes ; then
;;
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
;;
*)
cc_version="$cc_version, bad"
cc_verc_fail=yes
;;
esac
+ echores "$cc_version"
fi
- if test "$cc_verc_fail" ; then
+ if test "$cc_verc_fail" = yes ; then
cat <<EOF
*** Please downgrade/upgrade C compiler to gcc-2.95.x or gcc-3.x version! ***