Avoid possible collision between gnulib frexpl and libm frexpl.
authorBruno Haible <bruno@clisp.org>
Sun, 20 May 2007 08:19:54 +0000 (08:19 +0000)
committerBruno Haible <bruno@clisp.org>
Sun, 20 May 2007 08:19:54 +0000 (08:19 +0000)
ChangeLog
m4/frexpl.m4
m4/printf-frexpl.m4

index 7ba25f9..7bcfbb4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2007-05-20  Bruno Haible  <bruno@clisp.org>
 
+       * m4/frexpl.m4 (gl_FUNC_FREXPL_NO_LIBM): Set REPLACE_FREXPL if frexpl
+       was not found in libc.
+       * m4/printf-frexpl.m4 (gl_FUNC_PRINTF_FREXPL): Likewise.
+
+2007-05-20  Bruno Haible  <bruno@clisp.org>
+
        * tests/test-vasnprintf-posix.c (test_function): Allow NaN to be
        printed as "-nan" instead of "nan".
        * tests/test-vasprintf-posix.c (test_function): Likewise.
index 4db1c02..db4db2a 100644 (file)
@@ -80,6 +80,8 @@ AC_DEFUN([gl_FUNC_FREXPL_NO_LIBM],
     esac
   else
     gl_func_frexpl_no_libm=no
+    dnl Set REPLACE_FREXPL here because the system may have frexpl in libm.
+    REPLACE_FREXPL=1
   fi
   if test $gl_func_frexpl_no_libm = yes; then
     AC_DEFINE([HAVE_FREXPL_IN_LIBC], 1,
index 1de9b8d..669cc26 100644 (file)
@@ -28,6 +28,8 @@ AC_DEFUN([gl_FUNC_PRINTF_FREXPL],
     esac
   else
     gl_func_frexpl_no_libm=no
+    dnl Set REPLACE_FREXPL here because the system may have frexpl in libm.
+    REPLACE_FREXPL=1
   fi
   if test $gl_func_frexpl_no_libm = yes; then
     AC_DEFINE([HAVE_FREXPL_IN_LIBC], 1,