[Mplayer-cvslog] CVS: main configure,1.68,1.69

Nick Kurshev nickols_k at users.sourceforge.net
Tue Jun 5 09:56:42 CEST 2001


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

Modified Files:
	configure 
Log Message:
Kernel version checking

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.68
retrieving revision 1.69
diff -C2 -r1.68 -r1.69
*** configure	2001/06/05 07:10:00	1.68
--- configure	2001/06/05 07:56:40	1.69
***************
*** 219,223 ****
  # A: same as with agcc! These compilers always were introduced as experimental
  # ones. Now gcc-3.0 should introduce all features of these compilers.
! # Since 3.0 is almost released we don't need to support them. - Nick 07 jun 2001
  if test "$_skip_cc_check" != "yes"; then
  echo -n "Checking version of $_cc ... "
--- 219,223 ----
  # A: same as with agcc! These compilers always were introduced as experimental
  # ones. Now gcc-3.0 should introduce all features of these compilers.
! # Since 3.0 is almost released we don't need to support them. - Nick 05 jun 2001
  if test "$_skip_cc_check" != "yes"; then
  echo -n "Checking version of $_cc ... "
***************
*** 818,822 ****
  
  # Checking assembler (as) compatibility...
- #as_version=`as --version 2>&1 | sed -n 's/^.*assembler \([aegcygnustp-]*[0-9.]*\).*$/\1/p'`
  as_version=`as --version 2>&1 | sed -n 's/^.*assembler \([0-9.]*\).*$/\1/p'`
  echo -n "Checking assembler (as) ... $as_version, "
--- 818,821 ----
***************
*** 879,882 ****
--- 878,900 ----
  fi
  
+ # Checking kernel version...
+ _k_verc_problem=no
+ kernel_name=`uname -s 2>&1`
+ kernel_version=`uname -r 2>&1`
+ echo -n "Checking $kernel_name kernel version ... $kernel_version, "
+ case $kernel_version in
+     '') kernel_version="?.??"; _k_verc_fail=yes;;
+     2.0.[0-99]|2.2.[0-99])
+ 	_k_verc_problem=yes;;
+ esac
+ if [ $_k_verc_problem = 'yes' ] && [ $_sse = 'yes' ]; then
+ _k_verc_fail=yes
+ fi
+ if ! test -z "$_k_verc_fail"; then
+ echo "fail"
+ echo "WARNING! You want to run mplayer on this system then be prepared for problems"
+ else
+ echo "ok"
+ fi
  
  if [ $_x11 = 'yes' ]; then
***************
*** 887,892 ****
  
  # to screen.
- echo -n "Kernel: "
- uname -a
  echo "Install prefix: $_prefix"
  echo "Checking for cpu vendor ... $pvendor ( $pfamily:$pmodel:$pstepping )"
--- 905,908 ----


_______________________________________________
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