[Mplayer-cvslog] CVS: main configure,1.510,1.511

Richard Felker CVS rfelker at mplayerhq.hu
Sat Jun 15 11:32:14 CEST 2002


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

Modified Files:
	configure 
Log Message:
== is a bash2 extension; the proper test for numeric equality is -eq


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.510
retrieving revision 1.511
diff -u -r1.510 -r1.511
--- configure	15 Jun 2002 09:21:18 -0000	1.510
+++ configure	15 Jun 2002 09:32:11 -0000	1.511
@@ -578,7 +578,7 @@
     4) proc=i486 iproc=486 ;;
     5) iproc=686       # LGB: models are: K5/SSA5 K5 K5 K5 ? ? K6 K6 K6-2 K6-3
 	# TODO: how to determine if model 13 is a k6-2 or a k6-3? Couldn't find anything on amd.com
-	if test "$pmodel" == 9; then
+	if test "$pmodel" -eq 9; then
 		proc=k6-3
 	elif test "$pmodel" -ge 8; then
 		proc=k6-2
@@ -613,7 +613,7 @@
     3) proc=i386 iproc=386 ;;
     4) proc=i486 iproc=486 ;;
     5) iproc=586
-	if test "$pmodel" == 4 || test "$pmodel" == 8; then
+	if test "$pmodel" -eq 4 || test "$pmodel" -eq 8; then
 		proc=pentium-mmx # 4 is desktop, 8 is mobile
 	else
 		proc=i586




More information about the MPlayer-cvslog mailing list