Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] squid: fix automake breakage
@ 2015-01-08  1:09 Gustavo Zacarias
  2015-01-08  8:28 ` Thomas Petazzoni
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Gustavo Zacarias @ 2015-01-08  1:09 UTC (permalink / raw)
  To: buildroot

Squid bundles a copy of libltdl (from libtool) which autoreconfigures on
its own.
For some odd reason when automake was bumped to version 1.15 and if the host
system has another automake version, for example 1.14, the ACLOCAL and
AUTOMAKE variables don't expand properly when the internal autoreconf is
triggered hence calling the missing handler which in turn tries to use
an incorrect automake version.
The solution is to pass unexpanded ACLOCAL and AUTOMAKE variables that
defer the evaluation to a later moment and avoid the issue.

Fixes:
http://autobuild.buildroot.net/results/73f/73fcffafbea320f8c64378bbe8a96922b5e7c6b5/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/squid/squid.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/squid/squid.mk b/package/squid/squid.mk
index e9e821d..403818a 100644
--- a/package/squid/squid.mk
+++ b/package/squid/squid.mk
@@ -20,7 +20,9 @@ SQUID_CONF_ENV = \
 	ac_cv_func_va_copy=yes \
 	ac_cv_func___va_copy=yes \
 	ac_cv_func_strnstr=no \
-	ac_cv_have_squid=yes
+	ac_cv_have_squid=yes \
+	ACLOCAL="$(ACLOCAL)" \
+	AUTOMAKE="$(AUTOMAKE)"
 SQUID_CONF_OPTS = \
 	--enable-async-io=8 \
 	--enable-linux-netfilter \
-- 
2.0.5

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-01-12 20:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-08  1:09 [Buildroot] [PATCH] squid: fix automake breakage Gustavo Zacarias
2015-01-08  8:28 ` Thomas Petazzoni
2015-01-08 17:34   ` Gustavo Zacarias
2015-01-10 21:30 ` Bernd Kuhls
2015-01-12 19:58 ` Thomas Petazzoni
2015-01-12 20:05   ` Gustavo Zacarias

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox