bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: frexpl and mingw


From: Bruno Haible
Subject: Re: frexpl and mingw
Date: Sat, 2 Jun 2007 02:53:47 +0200
User-agent: KMail/1.5.4

Eric Blake wrote:
> Natively, frexpl.m4 detects that mingw's frexpl chokes on NaN.  But cross-
> compiling, we goof:
> 
> checking whether frexpl works... guessing yes
> 
> Checking this in...
> 
> 2007-05-31  Eric Blake  <address@hidden>
> 
>       * m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS): Guess no on mingw when
>       cross compiling.

Thanks. Also, treat 'pw' (an older attempt to use native MSVC libraries with
gcc) like mingw, and document it:

2007-06-01  Bruno Haible  <address@hidden>

        * doc/functions/frexpl.texi: Update for mingw.

--- m4/frexpl.m4        31 May 2007 16:32:39 -0000      1.11
+++ m4/frexpl.m4        2 Jun 2007 00:51:33 -0000
@@ -96,7 +96,8 @@
 ])
 
 dnl Test whether frexpl() works on finite numbers (this fails on AIX 5.1 and
-dnl on BeOS) and also on infinite numbers (this fails e.g. on IRIX 6.5).
+dnl on BeOS) and also on infinite numbers (this fails e.g. on IRIX 6.5 and
+dnl mingw).
 AC_DEFUN([gl_FUNC_FREXPL_WORKS],
 [
   AC_REQUIRE([AC_PROG_CC])
@@ -142,8 +143,9 @@
   return 0;
 }], [gl_cv_func_frexpl_works=yes], [gl_cv_func_frexpl_works=no],
       [case "$host_os" in
-         aix* | beos* | irix* | mingw*) gl_cv_func_frexpl_works="guessing no";;
-         *)                    gl_cv_func_frexpl_works="guessing yes";;
+         aix* | beos* | irix* | mingw* | pw*)
+            gl_cv_func_frexpl_works="guessing no";;
+         *) gl_cv_func_frexpl_works="guessing yes";;
        esac
       ])
     ])
--- doc/functions/frexpl.texi   20 May 2007 10:26:35 -0000      1.3
+++ doc/functions/frexpl.texi   2 Jun 2007 00:51:33 -0000
@@ -16,7 +16,7 @@
 AIX 5.1, BeOS.
 @item
 This function does not work on infinite numbers on some platforms:
-IRIX 6.5.
+IRIX 6.5, mingw.
 @end itemize
 
 Portability problems not fixed by Gnulib:





reply via email to

[Prev in Thread] Current Thread [Next in Thread]