[FFmpeg-cvslog] configure: detect parisc64 automatically

Mans Rullgard git at videolan.org
Thu Oct 25 13:26:35 CEST 2012


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Wed Oct 24 00:21:15 2012 +0100| [a6e9d6497739b7b60e3284f03b27883514bbc94a] | committer: Mans Rullgard

configure: detect parisc64 automatically

Signed-off-by: Mans Rullgard <mans at mansr.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a6e9d6497739b7b60e3284f03b27883514bbc94a
---

 configure |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/configure b/configure
index 1f48fbe..079e6db 100755
--- a/configure
+++ b/configure
@@ -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'
     ;;



More information about the ffmpeg-cvslog mailing list