From 7fe50869fb98d045cca7a21ebb695f17aa2afd1a Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Thu, 12 Aug 2010 21:03:28 +0200 Subject: lzo: fix host-lzo build failure when config cache is filled When the configuration cache has been filled with a value for ac_cv_host, host-lzo fails to detect the target system name. This is due to misbehaving code in the ./configure script. Therefore, we need to autoreconf the package, which in turn requires : * a little fix to the configure.ac file * a little fix to src/Makefile.am * an extraction of important parts of aclocal.m4 into acinclude.m4 Signed-off-by: Thomas Petazzoni --- package/lzo/lzo.mk | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'package/lzo/lzo.mk') diff --git a/package/lzo/lzo.mk b/package/lzo/lzo.mk index ed300562e..bfa66792d 100644 --- a/package/lzo/lzo.mk +++ b/package/lzo/lzo.mk @@ -7,6 +7,12 @@ LZO_VERSION:=2.03 LZO_SOURCE:=lzo-$(LZO_VERSION).tar.gz LZO_SITE:=http://www.oberhumer.com/opensource/lzo/download LZO_AUTORECONF = NO + +# lzo's configure was generated by an old autoconf, and the +# AC_CANONICAL_TARGET check fails in host-lzo when the cache has been +# filled with ac_cv_build and ac_cv_host. +HOST_LZO_AUTORECONF = YES + LZO_INSTALL_STAGING = YES LZO_INSTALL_TARGET = YES LZO_INSTALL_STAGING_OPT = CC="$(TARGET_CC)" DESTDIR=$(STAGING_DIR) install -- cgit v1.2.3