[Mplayer-cvslog] CVS: main configure,1.345,1.346

Alex Beregszaszi alex at mplayer.dev.hu
Sat Dec 29 12:35:30 CET 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv4907

Modified Files:
	configure 
Log Message:
applied patch by Malcolm <malc at cyberserf.co.uk>: check if the-less-buggier gcc3 is present if gcc2.96 found

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.345
retrieving revision 1.346
diff -u -r1.345 -r1.346
--- configure	29 Dec 2001 00:40:04 -0000	1.345
+++ configure	29 Dec 2001 11:35:21 -0000	1.346
@@ -339,6 +339,26 @@
       ;;
   esac
   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
+    echocheck "gcc3 version"
+    _cc=gcc3
+    cc_version=`$_cc -v 2>&1 | sed -n 's/^.*version \([aegcygnustp-]*[0-9.]*\).*$/\1/p'`
+    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])
+        cc_version="$cc_version, ok"
+        ;;
+      *)
+        cc_version="$cc_version, bad"
+        cc_verc_fail=yes
+        ;;
+    esac
+  fi
   if test "$cc_verc_fail" ; then
     cat <<EOF
 




More information about the MPlayer-cvslog mailing list