summaryrefslogtreecommitdiffstats
path: root/mpi-patches/config-types
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2011-12-09 23:15:44 -0800
committerKaz Kylheku <kaz@kylheku.com>2011-12-09 23:15:44 -0800
commit31231effb488243954814b2e34c2b7c846fb3cac (patch)
tree72add1bc501919f295ccb5b31b215f6fadae281c /mpi-patches/config-types
parente7dd59eeef4bf553d0592393284985fc7ee57299 (diff)
downloadtxr-31231effb488243954814b2e34c2b7c846fb3cac.tar.gz
txr-31231effb488243954814b2e34c2b7c846fb3cac.tar.bz2
txr-31231effb488243954814b2e34c2b7c846fb3cac.zip
Build and pass test suite on Cygwin.
* configure (longlong, ulonglong, superlong, usuperlong): Initialize these variables so that if the detection tests fail, the script does not access unbound variables. Avoid adding junk like .bss.* into config.h. * mpi-patches/config-types: Fixed wrong use of nonexistent SIZEOF_LONG_T.
Diffstat (limited to 'mpi-patches/config-types')
-rw-r--r--mpi-patches/config-types22
1 files changed, 11 insertions, 11 deletions
diff --git a/mpi-patches/config-types b/mpi-patches/config-types
index 2c8e4a6d..a99e94c4 100644
--- a/mpi-patches/config-types
+++ b/mpi-patches/config-types
@@ -1,7 +1,7 @@
Index: mpi-1.8.6/mpi-types.h
===================================================================
---- mpi-1.8.6.orig/mpi-types.h 2011-12-09 14:10:39.000000000 -0800
-+++ mpi-1.8.6/mpi-types.h 2011-12-09 22:38:15.000000000 -0800
+--- mpi-1.8.6.orig/mpi-types.h
++++ mpi-1.8.6/mpi-types.h
@@ -1,17 +1,56 @@
-/* Type definitions generated by 'types.pl' */
+/*
@@ -36,7 +36,7 @@ Index: mpi-1.8.6/mpi-types.h
+ SIZEOF_PTR >= SIZEOF_LONG
+ typedef unsigned long mp_digit;
+ typedef ulonglong_t mp_word;
-+ #define MP_DIGIT_SIZE SIZEOF_LONG_T
++ #define MP_DIGIT_SIZE SIZEOF_LONG
+ #define DIGIT_FMT "%" #SIZEOF_LONGLONG_T "lx"
+#elif HAVE_ULONGLONG_T && SIZEOF_LONGLONG_T / 2 == SIZEOF_INT && \
+ SIZEOF_PTR >= SIZEOF_INT
@@ -74,8 +74,8 @@ Index: mpi-1.8.6/mpi-types.h
+#define RADIX (((mp_word) MP_DIGIT_MAX) + 1)
Index: mpi-1.8.6/mpi.c
===================================================================
---- mpi-1.8.6.orig/mpi.c 2011-12-09 14:10:39.000000000 -0800
-+++ mpi-1.8.6/mpi.c 2011-12-09 22:37:31.000000000 -0800
+--- mpi-1.8.6.orig/mpi.c
++++ mpi-1.8.6/mpi.c
@@ -9,6 +9,7 @@
$Id: mpi.c,v 1.1 2004/02/08 04:29:29 sting Exp $
*/
@@ -86,8 +86,8 @@ Index: mpi-1.8.6/mpi.c
#include <string.h>
Index: mpi-1.8.6/mplogic.c
===================================================================
---- mpi-1.8.6.orig/mplogic.c 2011-12-09 14:10:39.000000000 -0800
-+++ mpi-1.8.6/mplogic.c 2011-12-09 22:37:31.000000000 -0800
+--- mpi-1.8.6.orig/mplogic.c
++++ mpi-1.8.6/mplogic.c
@@ -9,6 +9,7 @@
$Id: mplogic.c,v 1.1 2004/02/08 04:29:29 sting Exp $
*/
@@ -98,8 +98,8 @@ Index: mpi-1.8.6/mplogic.c
Index: mpi-1.8.6/mpprime.c
===================================================================
---- mpi-1.8.6.orig/mpprime.c 2011-12-09 14:10:39.000000000 -0800
-+++ mpi-1.8.6/mpprime.c 2011-12-09 14:10:41.000000000 -0800
+--- mpi-1.8.6.orig/mpprime.c
++++ mpi-1.8.6/mpprime.c
@@ -10,6 +10,7 @@
$Id: mpprime.c,v 1.1 2004/02/08 04:29:29 sting Exp $
*/
@@ -110,8 +110,8 @@ Index: mpi-1.8.6/mpprime.c
Index: mpi-1.8.6/mprsa.c
===================================================================
---- mpi-1.8.6.orig/mprsa.c 2011-12-09 14:10:39.000000000 -0800
-+++ mpi-1.8.6/mprsa.c 2011-12-09 14:10:41.000000000 -0800
+--- mpi-1.8.6.orig/mprsa.c
++++ mpi-1.8.6/mprsa.c
@@ -11,6 +11,7 @@
$Id: mprsa.c,v 1.1 2004/02/08 04:29:29 sting Exp $
*/