Commit 4cd217c0 authored by Mans Rullgard's avatar Mans Rullgard

configure: detect sparc64 automatically

Signed-off-by: 's avatarMans Rullgard <mans@mansr.com>
parent 4471a242
...@@ -2474,9 +2474,8 @@ case "$arch" in ...@@ -2474,9 +2474,8 @@ case "$arch" in
sh4|sh) sh4|sh)
arch="sh4" arch="sh4"
;; ;;
sun4u|sparc64) sun4u|sparc*)
arch="sparc" arch="sparc"
subarch="sparc64"
;; ;;
tilegx|tile-gx) tilegx|tile-gx)
arch="tilegx" arch="tilegx"
...@@ -2671,7 +2670,7 @@ check_64bit(){ ...@@ -2671,7 +2670,7 @@ check_64bit(){
} }
case "$arch" in case "$arch" in
alpha|ia64|sparc) alpha|ia64)
spic=$shared spic=$shared
;; ;;
mips) mips)
...@@ -2685,6 +2684,10 @@ case "$arch" in ...@@ -2685,6 +2684,10 @@ case "$arch" in
ppc) ppc)
check_64bit ppc ppc64 'sizeof(void *) > 4' check_64bit ppc ppc64 'sizeof(void *) > 4'
;; ;;
sparc)
check_64bit sparc sparc64 'sizeof(void *) > 4'
spic=$shared
;;
x86) x86)
check_64bit x86_32 x86_64 'sizeof(void *) > 4' check_64bit x86_32 x86_64 'sizeof(void *) > 4'
if test "$subarch" = "x86_64"; then if test "$subarch" = "x86_64"; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment