bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

autoconf warnings from module hypotl


From: Bruno Haible
Subject: autoconf warnings from module hypotl
Date: Sat, 17 Dec 2016 18:01:14 +0100
User-agent: KMail/4.8.5 (Linux/3.8.0-44-generic; KDE/4.8.5; x86_64; ; )

$ ./gnulib-tool --create-testdir --with-tests --single-configure hypotl
...
configure.ac:278: warning: AC_REQUIRE: `gl_FUNC_FREXPL' was expanded before it 
was required
configure.ac:278: 
http://www.gnu.org/software/autoconf/manual/autoconf.html#Expanded-Before-Required
glm4/sqrtl.m4:7: gl_FUNC_SQRTL is expanded from...
glm4/hypotl.m4:7: gl_FUNC_HYPOTL is expanded from...
configure.ac:30: gl_INIT is expanded from...
configure.ac:278: the top level
...

This fixes it.


2016-12-17  Bruno Haible  <address@hidden>

        Avoid autoconf warning.
        * modules/frexpl (configure.ac): Require, not invoke, gl_FUNC_FREXPL.
        * modules/frexp (configure.ac): Require, not invoke, gl_FUNC_FREXP.

diff --git a/modules/frexp b/modules/frexp
index 5793d48..f1a4e4b 100644
--- a/modules/frexp
+++ b/modules/frexp
@@ -10,7 +10,7 @@ math
 isnand-nolibm   [test $gl_func_frexp != yes]
 
 configure.ac:
-gl_FUNC_FREXP
+AC_REQUIRE([gl_FUNC_FREXP])
 if test $gl_func_frexp != yes; then
   AC_LIBOBJ([frexp])
 fi
diff --git a/modules/frexpl b/modules/frexpl
index a2e534b..5e9feba 100644
--- a/modules/frexpl
+++ b/modules/frexpl
@@ -14,7 +14,7 @@ isnanl-nolibm   [{ test $HAVE_DECL_FREXPL = 0 || test 
$gl_func_frexpl = no; } &&
 fpucw           [{ test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl = no; } 
&& test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
 
 configure.ac:
-gl_FUNC_FREXPL
+AC_REQUIRE([gl_FUNC_FREXPL])
 if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl = no; then
   AC_LIBOBJ([frexpl])
 fi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]