Mercurial > mplayer.hg
comparison configure @ 6433:5bde304d0196
== is a bash2 extension; the proper test for numeric equality is -eq
author | rfelker |
---|---|
date | Sat, 15 Jun 2002 09:32:11 +0000 |
parents | 20297bb8aab4 |
children | 80fe8f43616b |
comparison
equal
deleted
inserted
replaced
6432:20297bb8aab4 | 6433:5bde304d0196 |
---|---|
576 case "$pfamily" in | 576 case "$pfamily" in |
577 3) proc=i386 iproc=386 ;; | 577 3) proc=i386 iproc=386 ;; |
578 4) proc=i486 iproc=486 ;; | 578 4) proc=i486 iproc=486 ;; |
579 5) iproc=686 # LGB: models are: K5/SSA5 K5 K5 K5 ? ? K6 K6 K6-2 K6-3 | 579 5) iproc=686 # LGB: models are: K5/SSA5 K5 K5 K5 ? ? K6 K6 K6-2 K6-3 |
580 # TODO: how to determine if model 13 is a k6-2 or a k6-3? Couldn't find anything on amd.com | 580 # TODO: how to determine if model 13 is a k6-2 or a k6-3? Couldn't find anything on amd.com |
581 if test "$pmodel" == 9; then | 581 if test "$pmodel" -eq 9; then |
582 proc=k6-3 | 582 proc=k6-3 |
583 elif test "$pmodel" -ge 8; then | 583 elif test "$pmodel" -ge 8; then |
584 proc=k6-2 | 584 proc=k6-2 |
585 elif test "$pmodel" -ge 6; then | 585 elif test "$pmodel" -ge 6; then |
586 proc=k6 | 586 proc=k6 |
611 GenuineIntel) | 611 GenuineIntel) |
612 case "$pfamily" in | 612 case "$pfamily" in |
613 3) proc=i386 iproc=386 ;; | 613 3) proc=i386 iproc=386 ;; |
614 4) proc=i486 iproc=486 ;; | 614 4) proc=i486 iproc=486 ;; |
615 5) iproc=586 | 615 5) iproc=586 |
616 if test "$pmodel" == 4 || test "$pmodel" == 8; then | 616 if test "$pmodel" -eq 4 || test "$pmodel" -eq 8; then |
617 proc=pentium-mmx # 4 is desktop, 8 is mobile | 617 proc=pentium-mmx # 4 is desktop, 8 is mobile |
618 else | 618 else |
619 proc=i586 | 619 proc=i586 |
620 fi | 620 fi |
621 ;; | 621 ;; |