aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-10-23 23:34:35 +0100
committerMans Rullgard <mans@mansr.com>2012-10-24 16:26:51 +0100
commit2acda282eb8efac556cb351e91c557e580406294 (patch)
treec437bb7b4a783cfe608db0c4f106df14fe4b9ba5
parentd4c99513f41272b9753e59642724717b834710a0 (diff)
downloadffmpeg-2acda282eb8efac556cb351e91c557e580406294.tar.gz
configure: detect mips64 automatically
Signed-off-by: Mans Rullgard <mans@mansr.com>
-rwxr-xr-xconfigure12
1 files changed, 6 insertions, 6 deletions
diff --git a/configure b/configure
index b1c6d4511c..9f6eda51d0 100755
--- a/configure
+++ b/configure
@@ -2453,13 +2453,9 @@ case "$arch" in
arm*)
arch="arm"
;;
- mips|mipsel|IP*)
+ mips*|IP*)
arch="mips"
;;
- mips64*)
- arch="mips"
- subarch="mips64"
- ;;
parisc|hppa)
arch="parisc"
;;
@@ -2677,7 +2673,11 @@ check_64bit(){
}
case "$arch" in
- alpha|ia64|mips|parisc|sparc)
+ alpha|ia64|parisc|sparc)
+ spic=$shared
+ ;;
+ mips)
+ check_64bit mips mips64 '_MIPS_SIM > 1'
spic=$shared
;;
x86)