Commit a6e9d649 authored by Mans Rullgard's avatar Mans Rullgard

configure: detect parisc64 automatically

Signed-off-by: 's avatarMans Rullgard <mans@mansr.com>
parent 56203596
......@@ -2456,13 +2456,9 @@ case "$arch" in
mips*|IP*)
arch="mips"
;;
parisc|hppa)
parisc*|hppa*)
arch="parisc"
;;
parisc64|hppa64)
arch="parisc"
subarch="parisc64"
;;
"Power Macintosh"|ppc*|powerpc*)
arch="ppc"
;;
......@@ -2669,13 +2665,17 @@ check_64bit(){
}
case "$arch" in
alpha|ia64|parisc|sparc)
alpha|ia64|sparc)
spic=$shared
;;
mips)
check_64bit mips mips64 '_MIPS_SIM > 1'
spic=$shared
;;
parisc)
check_64bit parisc parisc64 'sizeof(void *) > 4'
spic=$shared
;;
ppc)
check_64bit ppc ppc64 'sizeof(void *) > 4'
;;
......
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