While creating a testdir $ ./gnulib-tool --create-testdir --dir=... --single-configure exp2l expl expm1l log10l log1pl log2l logl rintl I see two autoconf warnings:
executing autoconf configure.ac:362: warning: AC_REQUIRE: `gl_FUNC_FLOORL' was expanded before it was required configure.ac:362: http://www.gnu.org/software/autoconf/manual/autoconf.html#Expanded-Before-Required glm4/logl.m4:7: gl_FUNC_LOGL is expanded from... glm4/log10l.m4:7: gl_FUNC_LOG10L is expanded from... configure.ac:30: gl_INIT is expanded from... configure.ac:362: the top level configure.ac:362: warning: AC_REQUIRE: `gl_FUNC_FLOOR' was expanded before it was required configure.ac:362: http://www.gnu.org/software/autoconf/manual/autoconf.html#Expanded-Before-Required glm4/floorl.m4:7: gl_FUNC_FLOORL is expanded from... glm4/logl.m4:7: gl_FUNC_LOGL is expanded from... glm4/log10l.m4:7: gl_FUNC_LOG10L is expanded from... configure.ac:30: gl_INIT is expanded from... configure.ac:362: the top level This patch fixes them. 2019-01-20 Bruno Haible <br...@clisp.org> floor, floorl: Avoid autoconf warnings. * modules/floor (configure.ac): Use AC_REQUIRE. * modules/floorl (configure.ac): Likewise. diff --git a/modules/floor b/modules/floor index 2c1cd6a..bd7d90d 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 5f0cc22..e3450f8 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