[Mplayer-cvslog] CVS: main configure,1.377,1.378
pl
pl at mplayer.dev.hu
Fri Jan 25 14:14:43 CET 2002
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv22426
Modified Files:
configure
Log Message:
original patch by malc <malc at tmbg.co.uk>
slightly edited by me
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.377
retrieving revision 1.378
diff -u -r1.377 -r1.378
--- configure 17 Jan 2002 09:32:22 -0000 1.377
+++ configure 25 Jan 2002 13:14:40 -0000 1.378
@@ -331,6 +331,7 @@
;;
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 @@
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 at 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 @@
;;
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! ***
More information about the MPlayer-cvslog
mailing list