configure: detect mips64 automatically

Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
Mans Rullgard 2012-10-23 23:34:35 +01:00
parent d4c99513f4
commit 2acda282eb

12
configure vendored
View File

@ -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)