From 064adf3d12c81e784beb86c8c92ffec93369f2c6 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 20 Jan 2019 21:33:15 +0100 Subject: [PATCH] floor, floorl: Avoid autoconf warnings. * modules/floor (configure.ac): Use AC_REQUIRE. * modules/floorl (configure.ac): Likewise. --- ChangeLog | 6 ++++++ modules/floor | 2 +- modules/floorl | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a03d5dd8b1..6e02f8a6c9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2019-01-20 Bruno Haible + + floor, floorl: Avoid autoconf warnings. + * modules/floor (configure.ac): Use AC_REQUIRE. + * modules/floorl (configure.ac): Likewise. + 2019-01-20 Bruno Haible Defeat current GCC optimizations in math autoconf tests. diff --git a/modules/floor b/modules/floor index 2c1cd6a068..bd7d90dc7d 100644 --- a/modules/floor +++ b/modules/floor @@ -10,7 +10,7 @@ math float [test $REPLACE_FLOOR = 1] configure.ac: -gl_FUNC_FLOOR +AC_REQUIRE([gl_FUNC_FLOOR]) if test $REPLACE_FLOOR = 1; then AC_LIBOBJ([floor]) fi diff --git a/modules/floorl b/modules/floorl index 5f0cc229e2..e3450f8653 100644 --- a/modules/floorl +++ b/modules/floorl @@ -13,7 +13,7 @@ floor [{ test $HAVE_DECL_FLOORL = 0 || test $REPLACE_FLOORL = 1; } && float [{ test $HAVE_DECL_FLOORL = 0 || test $REPLACE_FLOORL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] configure.ac: -gl_FUNC_FLOORL +AC_REQUIRE([gl_FUNC_FLOORL]) if test $HAVE_DECL_FLOORL = 0 || test $REPLACE_FLOORL = 1; then AC_LIBOBJ([floorl]) fi -- 2.39.5