[Mplayer-cvslog] CVS: main configure,1.58,1.59

Felix Buenemann atmosfear at users.sourceforge.net
Mon Jun 4 14:01:24 CEST 2001


Update of /cvsroot/mplayer/main
In directory usw-pr-cvs1:/tmp/cvs-serv8624

Modified Files:
	configure 
Log Message:
Fixed gcc version detect.


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.58
retrieving revision 1.59
diff -C2 -r1.58 -r1.59
*** configure	2001/06/04 09:38:18	1.58
--- configure	2001/06/04 12:01:22	1.59
***************
*** 176,179 ****
--- 176,181 ----
  fi
  
+ _skip_cc_check=no
+ 
  for ac_option
  do
***************
*** 182,186 ****
          _cc=`echo $ac_option | cut -d '=' -f 2`
          ;;
!   --disable-gcc-checking=*)
          _skip_cc_check=yes
  	;;
--- 184,188 ----
          _cc=`echo $ac_option | cut -d '=' -f 2`
          ;;
!   --disable-gcc-checking)
          _skip_cc_check=yes
  	;;
***************
*** 197,203 ****
  done
  
! # Checking CC version...
! if ! test -z "$_skip_cc_check"; then
! echo "checking version of $CC""... $_cc"
  cc_version=`$_cc -v 2>&1 | sed -n 's/^.*version \([aegcygnustp-]*[0-9.]*\).*$/\1/p'`
  case $cc_version in
--- 199,205 ----
  done
  
! # Checking CC version... what's with egcs, pgcc? - Atmos
! if test "$_skip_cc_check" != "yes"; then
! echo -n "Checking version of $_cc ... "
  cc_version=`$_cc -v 2>&1 | sed -n 's/^.*version \([aegcygnustp-]*[0-9.]*\).*$/\1/p'`
  case $cc_version in
***************
*** 213,217 ****
  fi
  fi
! if test -z "$_skip_cc_check"; then
  echo "YOU'VE SELECTED '--disable-gcc-checking'. PLEASE DON'T SEND US ANY BUGREPORTS!"
  fi
--- 215,219 ----
  fi
  fi
! if test "$_skip_cc_check" = "yes"; then
  echo "YOU'VE SELECTED '--disable-gcc-checking'. PLEASE DON'T SEND US ANY BUGREPORTS!"
  fi
***************
*** 759,762 ****
--- 761,765 ----
  
  # Checking as compatibility...
+ echo -n "Checking assembler (as) ... "
  cat > astest.S <<EOF
  filds -2(%ebp)
***************
*** 793,803 ****
  as astest.S -o astest.o &> /dev/null || as_verc_fail=yes
  rm -f astest.S astest.o
- fi
- if test -z "$as_verc_fail"; then
- echo "checking assembler...o'k"
  fi
! if ! test -z "$as_verc_fail"; then
! echo "Please upgrade binutils..."
! exit
  fi
  
--- 796,806 ----
  as astest.S -o astest.o &> /dev/null || as_verc_fail=yes
  rm -f astest.S astest.o
  fi
! if test "$as_verc_fail" != "yes"; then
!   echo "ok"
! else
!   echo "failed"
!   echo "Please upgrade binutils..." # to which version? - Atmos
!   exit
  fi
  


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list