From bfa0a51966a4b7af6c23cc0f0cbbc0d2f0a47816 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 2 Jun 2007 00:54:30 +0000 Subject: [PATCH] Update after Eric Blake found that frexpl doesn't work right on mingw. --- ChangeLog | 4 ++++ doc/functions/frexpl.texi | 2 +- m4/frexpl.m4 | 8 +++++--- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index cd4baa120b..a68b1e9965 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-06-01 Bruno Haible + + * doc/functions/frexpl.texi: Update for mingw. + 2007-06-01 Bruno Haible * tests/test-lseek.c (main): Disable test of errno for invalid third diff --git a/doc/functions/frexpl.texi b/doc/functions/frexpl.texi index e2f287f4f2..6890a78350 100644 --- a/doc/functions/frexpl.texi +++ b/doc/functions/frexpl.texi @@ -16,7 +16,7 @@ This function does not work on finite numbers on some platforms: 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: diff --git a/m4/frexpl.m4 b/m4/frexpl.m4 index 72e6a82acb..e3bb1d0d35 100644 --- a/m4/frexpl.m4 +++ b/m4/frexpl.m4 @@ -96,7 +96,8 @@ AC_DEFUN([gl_FUNC_FREXPL_NO_LIBM], ]) 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 @@ int main() 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 ]) ]) -- 2.30.2