[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: havelib: make it work again for CC="gcc -m32"
From: |
Bruno Haible |
Subject: |
Re: havelib: make it work again for CC="gcc -m32" |
Date: |
Wed, 04 Oct 2017 01:26:21 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-96-generic; KDE/5.18.0; x86_64; ; ) |
I did this:
> 2017-09-30 Bruno Haible <address@hidden>
>
> 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 <address@hidden>
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:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: havelib: make it work again for CC="gcc -m32",
Bruno Haible <=