configure: detect mips64 automatically

Signed-off-by: Mans Rullgard <mans@mansr.com>
pull/6/merge
Mans Rullgard 12 years ago
parent d4c99513f4
commit 2acda282eb
  1. 12
      configure

12
configure vendored

@ -2453,13 +2453,9 @@ case "$arch" in
arm*) arm*)
arch="arm" arch="arm"
;; ;;
mips|mipsel|IP*) mips*|IP*)
arch="mips" arch="mips"
;; ;;
mips64*)
arch="mips"
subarch="mips64"
;;
parisc|hppa) parisc|hppa)
arch="parisc" arch="parisc"
;; ;;
@ -2677,7 +2673,11 @@ check_64bit(){
} }
case "$arch" in case "$arch" in
alpha|ia64|mips|parisc|sparc) alpha|ia64|parisc|sparc)
spic=$shared
;;
mips)
check_64bit mips mips64 '_MIPS_SIM > 1'
spic=$shared spic=$shared
;; ;;
x86) x86)

Loading…
Cancel
Save