I did this:
> 2017-09-30  Bruno Haible  <[email protected]>
> 
>       havelib: Make it work for CC="gcc -m32" (regression from 2017-02-19).
>       * m4/lib-prefix.m4 (AC_LIB_PREPARE_MULTILIB): Require gl_HOST_CPU_C_ABI.

Now I get this autoconf warning:

configure.in:61: warning: AC_REQUIRE: `gl_HOST_CPU_C_ABI' was expanded before 
it was required
configure.in:61: 
http://www.gnu.org/software/autoconf/manual/autoconf.html#Expanded-Before-Required
aclocal.m4:7822: AC_LIB_PREPARE_MULTILIB is expanded from...
aclocal.m4:7063: AC_LIB_LINKFLAGS_BODY is expanded from...
aclocal.m4:6939: AC_LIB_HAVE_LINKFLAGS is expanded from...
aclocal.m4:7920: gl_LIBSIGSEGV is expanded from...
aclocal.m4:4478: gl_INIT is expanded from...
configure.in:61: the top level

This patch fixes it.


2017-10-03  Bruno Haible  <[email protected]>

        Fix warning "`gl_HOST_CPU_C_ABI' was expanded before it was required".
        * modules/host-cpu-c-abi (configure.ac): Require, don't invoke
        gl_HOST_CPU_C_ABI.

diff --git a/modules/host-cpu-c-abi b/modules/host-cpu-c-abi
index 6c92cc4..a9cf48b 100644
--- a/modules/host-cpu-c-abi
+++ b/modules/host-cpu-c-abi
@@ -8,7 +8,7 @@ m4/asm-underscore.m4
 Depends-on:
 
 configure.ac:
-gl_HOST_CPU_C_ABI
+AC_REQUIRE([gl_HOST_CPU_C_ABI])
 
 Makefile.am:
 


Reply via email to