# HG changeset patch # User Bruno Haible # Date 1318200356 -7200 # Node ID efbcfece44217eb3133e59dc858a8017d16119cd # Parent e8d90530f5fdd9be594fceb322ee097196897453 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 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +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'. diff --git a/m4/rint.m4 b/m4/rint.m4 --- 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 @@ 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 --- 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 @@ 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 --- 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 @@ 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 \