diff options
author | Mans Rullgard <mans@mansr.com> | 2012-10-24 00:21:15 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2012-10-24 16:26:51 +0100 |
commit | a6e9d6497739b7b60e3284f03b27883514bbc94a (patch) | |
tree | 6a279eaee52c7e62870661070b4fdd871a6afa84 | |
parent | 56203596aea365387917c40964c03b5156b15e22 (diff) | |
download | ffmpeg-a6e9d6497739b7b60e3284f03b27883514bbc94a.tar.gz |
configure: detect parisc64 automatically
Signed-off-by: Mans Rullgard <mans@mansr.com>
-rwxr-xr-x | configure | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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' ;; |