diff mbox

Allow decimal floats for mingw-w64

Message ID 4C745749.6030708@users.sourceforge.net
State New
Headers show

Commit Message

JonY Aug. 24, 2010, 11:35 p.m. UTC
On 8/25/2010 01:25, Ralf Wildenhues wrote:
> * JonY wrote on Tue, Aug 24, 2010 at 04:57:46PM CEST:
>> Thanks for the heads up. New patch with quick fixes attached.
>
> Not sure if you're posting a full or a partial patch, but while it
> contained libgcc/configure, it didn't contain changes to
> libgcc/configure.ac which is the source to the former file.
>

You're right, I missed them. Attached is a new copy.
diff mbox

Patch

Index: gcc/configure.ac
===================================================================
--- gcc/configure.ac	(revision 163517)
+++ gcc/configure.ac	(working copy)
@@ -620,7 +620,7 @@ 
 ],
 [
   case $target in
-    powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux*)
+    powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | i?86*-w64-mingw* | x86_64*-w64-mingw*)
       enable_decimal_float=yes
       ;;
     *)
@@ -638,7 +638,7 @@ 
 case x$enable_decimal_float in
   xyes)
     case $target in
-      i?86*-*-linux* | x86_64*-*-linux*)
+      i?86*-*-linux* | x86_64*-*-linux* | i?86*-w64-mingw* | x86_64*-w64-mingw*)
 	enable_decimal_float=bid
 	;;
       *)
Index: gcc/configure
===================================================================
--- gcc/configure	(revision 163517)
+++ gcc/configure	(working copy)
@@ -6661,7 +6661,7 @@ 
 else
 
   case $target in
-    powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux*)
+    powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | i?86*-w64-mingw* | x86_64*-w64-mingw*)
       enable_decimal_float=yes
       ;;
     *)
@@ -6685,7 +6685,7 @@ 
 case x$enable_decimal_float in
   xyes)
     case $target in
-      i?86*-*-linux* | x86_64*-*-linux*)
+      i?86*-*-linux* | x86_64*-*-linux* | i?86*-w64-mingw* | x86_64*-w64-mingw*)
 	enable_decimal_float=bid
 	;;
       *)
Index: libdecnumber/configure.ac
===================================================================
--- libdecnumber/configure.ac	(revision 163517)
+++ libdecnumber/configure.ac	(working copy)
@@ -89,7 +89,7 @@ 
 ],
 [
   case $target in
-    powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux*)
+    powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | i?86*-w64-mingw* | x86_64*-w64-mingw*)
       enable_decimal_float=yes
       ;;
     *)
@@ -103,7 +103,7 @@ 
 # For the sake of simplicity, just use the default format in this directory
 if test x$enable_decimal_float = xyes -o x$enable_decimal_float = xno; then
   case $target in
-    i?86*-*-linux* | x86_64*-*-linux*)
+    i?86*-*-linux* | x86_64*-*-linux* | i?86*-w64-mingw* | x86_64*-w64-mingw*)
       enable_decimal_float=bid
       ;;
     *)
Index: libdecnumber/configure
===================================================================
--- libdecnumber/configure	(revision 163517)
+++ libdecnumber/configure	(working copy)
@@ -4600,7 +4600,7 @@ 
 else
 
   case $target in
-    powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux*)
+    powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | i?86*-w64-mingw* | x86_64*-w64-mingw*)
       enable_decimal_float=yes
       ;;
     *)
@@ -4616,7 +4616,7 @@ 
 # For the sake of simplicity, just use the default format in this directory
 if test x$enable_decimal_float = xyes -o x$enable_decimal_float = xno; then
   case $target in
-    i?86*-*-linux* | x86_64*-*-linux*)
+    i?86*-*-linux* | x86_64*-*-linux* | i?86*-w64-mingw* | x86_64*-w64-mingw*)
       enable_decimal_float=bid
       ;;
     *)
Index: libgcc/configure.ac
===================================================================
--- libgcc/configure.ac	(revision 163517)
+++ libgcc/configure.ac	(working copy)
@@ -139,7 +139,7 @@ 
 ],
 [
   case $host in
-    powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux*)
+    powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | i?86*-w64-mingw* | x86_64*-w64-mingw*)
       enable_decimal_float=yes
       ;;
     *)
@@ -151,7 +151,7 @@ 
 # x86's use BID format instead of DPD
 if test x$enable_decimal_float = xyes; then
   case $host in
-    i?86*-*-linux* | x86_64*-*-linux*)
+    i?86*-*-linux* | x86_64*-*-linux* | i?86*-w64-mingw* | x86_64*-w64-mingw*)
       enable_decimal_float=bid
       ;;
     *)
Index: libgcc/configure
===================================================================
--- libgcc/configure	(revision 163517)
+++ libgcc/configure	(working copy)
@@ -3646,7 +3646,7 @@ 
 else
 
   case $host in
-    powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux*)
+    powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | i?86*-w64-mingw* | x86_64*-w64-mingw*)
       enable_decimal_float=yes
       ;;
     *)
@@ -3660,7 +3660,7 @@ 
 # x86's use BID format instead of DPD
 if test x$enable_decimal_float = xyes; then
   case $host in
-    i?86*-*-linux* | x86_64*-*-linux*)
+    i?86*-*-linux* | x86_64*-*-linux* | i?86*-w64-mingw* | x86_64*-w64-mingw*)
       enable_decimal_float=bid
       ;;
     *)