summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorrfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-06-15 09:32:11 +0000
committerrfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-06-15 09:32:11 +0000
commit30c46d129af8b9a95263adb263cf548a090aa7c9 (patch)
treee7d32d443c780862361576b9e37f0efd28fc8e28 /configure
parenta242c68b9de944e9dbdc96cec54998fd11cf6d63 (diff)
downloadmpv-30c46d129af8b9a95263adb263cf548a090aa7c9.tar.bz2
mpv-30c46d129af8b9a95263adb263cf548a090aa7c9.tar.xz
== is a bash2 extension; the proper test for numeric equality is -eq
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6434 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 05685236eb..4d10b622e9 100755
--- a/configure
+++ b/configure
@@ -578,7 +578,7 @@ case "$host_arch" in
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 @@ case "$host_arch" in
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