Bug 520224 - correct CPU_ARCH/TARGET_XPCOM_ABI for ppc64 and s390(x). r=ted
authorWolfgang Rosenauer <wr@rosenauer.org>
Mon, 05 Oct 2009 22:49:47 +0200
changeset 33472 3d5fd10b807c4d5486ffe68e316db5dc6270315c
parent 33471 cd267033f8fa0b47a2c2c618bbc192e447839d4c
child 33473 054909dfdcf84f7518c4592a3c572d8d5f5c4d71
push idunknown
push userunknown
push dateunknown
reviewersted
bugs520224
milestone1.9.3a1pre
Bug 520224 - correct CPU_ARCH/TARGET_XPCOM_ABI for ppc64 and s390(x). r=ted
configure.in
--- a/configure.in
+++ b/configure.in
@@ -1322,24 +1322,36 @@ fi
 
 # Only set CPU_ARCH if we recognize the value of OS_TEST
 
 case "$OS_TEST" in
 *86 | i86pc)
     CPU_ARCH=x86
     ;;
 
-powerpc* | ppc | rs6000)
+powerpc64 | ppc64)
+    CPU_ARCH=ppc64
+    ;;
+
+powerpc | ppc | rs6000)
     CPU_ARCH=ppc
     ;;
 
 Alpha | alpha | ALPHA)
     CPU_ARCH=Alpha
     ;;
 
+s390)
+    CPU_ARCH=s390
+    ;;
+
+s390x)
+    CPU_ARCH=s390x
+    ;;
+
 hppa* | parisc)
     CPU_ARCH=hppa
     ;;
 
 sun4u | sparc*)
     CPU_ARCH=sparc
     ;;