buildrootschalter/package/lzo/lzo-2.03-fix-configure-ac.patch
Thomas Petazzoni 7fe50869fb 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 <thomas.petazzoni@free-electrons.com>
2010-08-24 09:30:40 +02:00

22 lines
602 B
Diff

_AC_SRCPATHS doesn't exist in autoconf, _AC_SRCDIRS should be used
instead according to many reports found by Google.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: lzo-2.03/configure.ac
===================================================================
--- lzo-2.03.orig/configure.ac
+++ lzo-2.03/configure.ac
@@ -48,7 +48,7 @@
AM_MAINTAINER_MODE
if test -z "$ac_abs_top_srcdir"; then
- _AC_SRCPATHS(.)
+ _AC_SRCDIRS(.)
fi
if test -r .Conf.settings1; then
. ./.Conf.settings1