aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-10-23 23:39:40 +0100
committerMans Rullgard <mans@mansr.com>2012-10-24 16:26:51 +0100
commit56203596aea365387917c40964c03b5156b15e22 (patch)
tree4c49fb11799a77d780683c5faed00d3de1d7c1dc
parent2acda282eb8efac556cb351e91c557e580406294 (diff)
downloadffmpeg-56203596aea365387917c40964c03b5156b15e22.tar.gz
configure: detect ppc64 automatically
Signed-off-by: Mans Rullgard <mans@mansr.com>
-rwxr-xr-xconfigure9
1 files changed, 4 insertions, 5 deletions
diff --git a/configure b/configure
index 9f6eda51d0..1f48fbeb9c 100755
--- a/configure
+++ b/configure
@@ -2463,13 +2463,9 @@ case "$arch" in
arch="parisc"
subarch="parisc64"
;;
- "Power Macintosh"|ppc|powerpc)
+ "Power Macintosh"|ppc*|powerpc*)
arch="ppc"
;;
- ppc64|powerpc64)
- arch="ppc"
- subarch="ppc64"
- ;;
s390|s390x)
arch="s390"
;;
@@ -2680,6 +2676,9 @@ case "$arch" in
check_64bit mips mips64 '_MIPS_SIM > 1'
spic=$shared
;;
+ ppc)
+ check_64bit ppc ppc64 'sizeof(void *) > 4'
+ ;;
x86)
check_64bit x86_32 x86_64 'sizeof(void *) > 4'
if test "$subarch" = "x86_64"; then