summaryrefslogtreecommitdiffstats
path: root/package/lzo/lzo-2.03-fix-configure-ac.patch
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-08-12 21:03:28 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-08-24 09:30:40 +0200
commit7fe50869fb98d045cca7a21ebb695f17aa2afd1a (patch)
tree1cd87d7afe7de390a6535ab8121b14cd3425e251 /package/lzo/lzo-2.03-fix-configure-ac.patch
parent0ec4298153bd93f8d7efbd1890896fbac5046a7b (diff)
downloadbuildroot-novena-7fe50869fb98d045cca7a21ebb695f17aa2afd1a.tar.gz
buildroot-novena-7fe50869fb98d045cca7a21ebb695f17aa2afd1a.zip
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>
Diffstat (limited to 'package/lzo/lzo-2.03-fix-configure-ac.patch')
-rw-r--r--package/lzo/lzo-2.03-fix-configure-ac.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/lzo/lzo-2.03-fix-configure-ac.patch b/package/lzo/lzo-2.03-fix-configure-ac.patch
new file mode 100644
index 000000000..26aece7b4
--- /dev/null
+++ b/package/lzo/lzo-2.03-fix-configure-ac.patch
@@ -0,0 +1,21 @@
+_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