[Mplayer-cvslog] CVS: main configure,1.480,1.481

pl pl at mplayerhq.hu
Sun May 26 15:41:11 CEST 2002


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

Modified Files:
	configure 
Log Message:
gcc -dumpversion seems less error prone (tested with 2.95.4 3.0.4 and 3.1)
Suggested by Okki <okki666 at nerim.net>

Added gcc-3.1 and gcc-3.0 in the find-a-sane-compiler loop


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.480
retrieving revision 1.481
diff -u -r1.480 -r1.481
--- configure	25 May 2002 21:43:02 -0000	1.480
+++ configure	26 May 2002 13:41:08 -0000	1.481
@@ -376,12 +376,12 @@
 
 
 # Checking CC version...
-# gcc-3.0 merges optimizations coming from egcs, pgcc, agcc, ...
 if test "$_skip_cc_check" != yes ; then
- for _cc in $_cc gcc3 cc; do
+ 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 -v 2>&1 | sed -n 's/^.*version \([aegcygnustp-]*[0-9.]*\).*$/\1/p'`
+  cc_version=`$_cc -dumpversion`
   case $cc_version in
     '')
       cc_version="v. ?.??, bad"




More information about the MPlayer-cvslog mailing list