[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new module frexpl-nolibm
From: |
Bruno Haible |
Subject: |
Re: new module frexpl-nolibm |
Date: |
Sun, 20 May 2007 10:19:13 +0200 |
User-agent: |
KMail/1.5.4 |
> 2007-05-18 Bruno Haible <address@hidden>
>
> * modules/frexpl-nolibm: New file.
> * m4/frexpl.m4 (gl_FUNC_FREXPL_NO_LIBM): New macro.
There was a small thinko: If frexpl exists in libm but not in libc, gnulib's
function must be called rpl_frexpl, otherwise (in the case the gnulib code
is built into a shared library) libm's function may in some cases take
precedence.
2007-05-20 Bruno Haible <address@hidden>
* 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.
*** m4/frexpl.m4 19 May 2007 20:29:34 -0000 1.8
--- m4/frexpl.m4 20 May 2007 08:14:19 -0000
***************
*** 80,85 ****
--- 80,87 ----
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,
*** m4/printf-frexpl.m4 18 May 2007 17:27:31 -0000 1.6
--- m4/printf-frexpl.m4 20 May 2007 08:14:19 -0000
***************
*** 28,33 ****
--- 28,35 ----
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,