configure: detect ppc64 automatically

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

9
configure vendored

@ -2463,13 +2463,9 @@ case "$arch" in
arch="parisc" arch="parisc"
subarch="parisc64" subarch="parisc64"
;; ;;
"Power Macintosh"|ppc|powerpc) "Power Macintosh"|ppc*|powerpc*)
arch="ppc" arch="ppc"
;; ;;
ppc64|powerpc64)
arch="ppc"
subarch="ppc64"
;;
s390|s390x) s390|s390x)
arch="s390" arch="s390"
;; ;;
@ -2680,6 +2676,9 @@ case "$arch" in
check_64bit mips mips64 '_MIPS_SIM > 1' check_64bit mips mips64 '_MIPS_SIM > 1'
spic=$shared spic=$shared
;; ;;
ppc)
check_64bit ppc ppc64 'sizeof(void *) > 4'
;;
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

Loading…
Cancel
Save