From: Bruno Haible Date: Sun, 9 Oct 2011 22:45:56 +0000 (+0200) Subject: rint: Fix ordering constraints. X-Git-Tag: v0.1~1603 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=3c7d5d0cf885baa9add1cd34364fa1adfc459630;p=gnulib.git rint: Fix ordering constraints. * m4/rint.m4 (gl_FUNC_RINT): Require gl_MATH_H_DEFAULTS. * m4/rintf.m4 (gl_FUNC_RINTF): Likewise. * m4/rintl.m4 (gl_FUNC_RINTL): Likewise. --- diff --git a/ChangeLog b/ChangeLog index a8ea7df27..bf00c0512 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2011-10-09 Bruno Haible + rint: Fix ordering constraints. + * m4/rint.m4 (gl_FUNC_RINT): Require gl_MATH_H_DEFAULTS. + * m4/rintf.m4 (gl_FUNC_RINTF): Likewise. + * m4/rintl.m4 (gl_FUNC_RINTL): Likewise. + +2011-10-09 Bruno Haible + copysignl: Simplify for platforms where 'long double' == 'double'. * lib/copysignl.c (copysignl) [HAVE_SAME_LONG_DOUBLE_AS_DOUBLE]: New alternative. diff --git a/m4/rint.m4 b/m4/rint.m4 index 9d7335d28..5d9e832e1 100644 --- a/m4/rint.m4 +++ b/m4/rint.m4 @@ -1,4 +1,4 @@ -# rint.m4 serial 1 +# rint.m4 serial 2 dnl Copyright (C) 2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -6,6 +6,8 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_RINT], [ + AC_REQUIRE([gl_MATH_H_DEFAULTS]) + dnl Determine RINT_LIBM. gl_MATHFUNC([rint], [double], [(double)]) if test $gl_cv_func_rint_no_libm = no \ diff --git a/m4/rintf.m4 b/m4/rintf.m4 index 2b5b81b12..bb5f04614 100644 --- a/m4/rintf.m4 +++ b/m4/rintf.m4 @@ -1,4 +1,4 @@ -# rintf.m4 serial 1 +# rintf.m4 serial 2 dnl Copyright (C) 2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -6,6 +6,8 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_RINTF], [ + AC_REQUIRE([gl_MATH_H_DEFAULTS]) + dnl Determine RINTF_LIBM. gl_MATHFUNC([rintf], [float], [(float)]) if test $gl_cv_func_rintf_no_libm = no \ diff --git a/m4/rintl.m4 b/m4/rintl.m4 index d04e5a0f9..df8334103 100644 --- a/m4/rintl.m4 +++ b/m4/rintl.m4 @@ -1,4 +1,4 @@ -# rintl.m4 serial 1 +# rintl.m4 serial 2 dnl Copyright (C) 2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -6,6 +6,8 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_RINTL], [ + AC_REQUIRE([gl_MATH_H_DEFAULTS]) + dnl Determine RINTL_LIBM. gl_MATHFUNC([rintl], [long double], [(long double)]) if test $gl_cv_func_rintl_no_libm = no \