From 7c2e3224d43b0f4a390e2727b637bab39f78fd2f Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 20 May 2007 08:19:54 +0000 Subject: [PATCH] Avoid possible collision between gnulib frexpl and libm frexpl. --- ChangeLog | 6 ++++++ m4/frexpl.m4 | 2 ++ m4/printf-frexpl.m4 | 2 ++ 3 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 7ba25f92a..7bcfbb495 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2007-05-20 Bruno Haible + * 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 + * 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. diff --git a/m4/frexpl.m4 b/m4/frexpl.m4 index 4db1c0289..db4db2a5e 100644 --- a/m4/frexpl.m4 +++ b/m4/frexpl.m4 @@ -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, diff --git a/m4/printf-frexpl.m4 b/m4/printf-frexpl.m4 index 1de9b8df5..669cc2601 100644 --- a/m4/printf-frexpl.m4 +++ b/m4/printf-frexpl.m4 @@ -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, -- 2.11.0