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

Nick Kurshev nickols_k at users.sourceforge.net
Tue Jun 5 10:12:02 CEST 2001


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

Modified Files:
	configure 
Log Message:
Kernel version checking improvements

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.69
retrieving revision 1.70
diff -C2 -r1.69 -r1.70
*** configure	2001/06/05 07:56:40	1.69
--- configure	2001/06/05 08:12:00	1.70
***************
*** 7,10 ****
--- 7,14 ----
  # Changes in reversed order:
  #
+ #
+ # 2001/06/05 by Nick Kurshev
+ # - added checking of kernel version
+ #
  # 2001/06/04 by Nick Kurshev
  # - added hard checking of gcc and soft of assembler
***************
*** 880,889 ****
  # 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
--- 884,893 ----
  # Checking kernel version...
  _k_verc_problem=no
! system_name=`uname -s 2>&1`
  kernel_version=`uname -r 2>&1`
! echo -n "Checking $system_name kernel version ... "
  case $kernel_version in
      '') kernel_version="?.??"; _k_verc_fail=yes;;
!     [0-1].[0-99].[0-99]|2.[0-3].[0-99])
  	_k_verc_problem=yes;;
  esac
***************
*** 892,899 ****
  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
  
--- 896,903 ----
  fi
  if ! test -z "$_k_verc_fail"; then
! echo "$kernel_version, fail"
  echo "WARNING! You want to run mplayer on this system then be prepared for problems"
  else
! echo "$kernel_version, ok"
  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