changeset 8909:dcf6f4e1ef96

Update after Eric Blake found that frexpl doesn't work right on mingw.
author Bruno Haible <bruno@clisp.org>
date Sat, 02 Jun 2007 00:54:30 +0000
parents 027b9a4512eb
children a7e0b65d5c78
files ChangeLog doc/functions/frexpl.texi m4/frexpl.m4
diffstat 3 files changed, 10 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-06-01  Bruno Haible  <bruno@clisp.org>
+
+	* doc/functions/frexpl.texi: Update for mingw.
+
 2007-06-01  Bruno Haible  <bruno@clisp.org>
 
 	* tests/test-lseek.c (main): Disable test of errno for invalid third
--- a/doc/functions/frexpl.texi
+++ b/doc/functions/frexpl.texi
@@ -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:
--- a/m4/frexpl.m4
+++ b/m4/frexpl.m4
@@ -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
       ])
     ])