summaryrefslogtreecommitdiffstats
path: root/package/liquid-dsp/0001-configure.ac-use-AC_CONFIG_MACRO_DIR.patch
diff options
context:
space:
mode:
authorguillaume william brs <guillaume.bressaix@gmail.com>2015-10-09 11:20:16 -0600
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-10-11 15:45:49 +0200
commitf9e4ccac112e87c924ef9ff78049e35e65f3b465 (patch)
tree5aa91e57a13357257f83c6f3d2a4a1e59f9a8fed /package/liquid-dsp/0001-configure.ac-use-AC_CONFIG_MACRO_DIR.patch
parenteec69cdcaff10c6221ff0be603eacb3fdb9d6448 (diff)
downloadbuildroot-f9e4ccac112e87c924ef9ff78049e35e65f3b465.tar.gz
buildroot-f9e4ccac112e87c924ef9ff78049e35e65f3b465.zip
liquid-dsp: new package
[Thomas: - add patch to fix autoreconf issue, and use LIQUID_DSP_AUTORECONF = YES instead of an horrible hack calling aclocal/autoconf manually. - use the github macro instead of hand-coding <pkg>_SITE and <pkg>_SITE_METHOD. This allows to remove <pkg>_SITE_METHOD entirely. - use a full hash as the <pkg>_VERSION - remove trailing whitespace everywhere. - use one single assignment of LIQUID_DSP_CONF_OPTS - fix the comment about the eglibc/musl dependency (it was only mentioning eglibc, and the condition was inverted) - add the musl/glibc dependency on the package option itself - make the package depend on dynamic library support, since the makefile unconditionally builds a shared library. - add hash file.] Signed-off-by: Guillaume William Bres <guillaume.bressaix@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/liquid-dsp/0001-configure.ac-use-AC_CONFIG_MACRO_DIR.patch')
-rw-r--r--package/liquid-dsp/0001-configure.ac-use-AC_CONFIG_MACRO_DIR.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/package/liquid-dsp/0001-configure.ac-use-AC_CONFIG_MACRO_DIR.patch b/package/liquid-dsp/0001-configure.ac-use-AC_CONFIG_MACRO_DIR.patch
new file mode 100644
index 0000000000..c51f587813
--- /dev/null
+++ b/package/liquid-dsp/0001-configure.ac-use-AC_CONFIG_MACRO_DIR.patch
@@ -0,0 +1,45 @@
+From c9d239490d47d5dd3d7d7b8b7d9007171c5f60ce Mon Sep 17 00:00:00 2001
+From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+Date: Sun, 11 Oct 2015 15:27:09 +0200
+Subject: [PATCH] configure.ac: use AC_CONFIG_MACRO_DIR
+
+Instead of having to explicitly pass -I./scripts when running aclocal,
+use the AC_CONFIG_MACRO_DIR() macro in configure.ac. This allows to
+use "autoreconf" normally, without any hacks.
+
+Submitted upstream at https://github.com/jgaeddert/liquid-dsp/pull/15.
+
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+---
+ bootstrap.sh | 2 +-
+ configure.ac | 1 +
+ 2 files changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/bootstrap.sh b/bootstrap.sh
+index 640e01d..eb4894e 100755
+--- a/bootstrap.sh
++++ b/bootstrap.sh
+@@ -27,7 +27,7 @@
+ #
+
+ rm -f config.cache aclocal.m4
+-aclocal -I./scripts
++aclocal
+ autoconf
+ autoheader
+ #automake --foreign --add-missing
+diff --git a/configure.ac b/configure.ac
+index a9ad1d7..3b1ba68 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -25,6 +25,7 @@
+
+ AC_INIT([liquid-dsp],[1.2.0],[support@liquidsdr.org])
+ AC_CONFIG_SRCDIR([src/libliquid.c])
++AC_CONFIG_MACRO_DIR([scripts])
+
+ # permit auxiliary scripts directory (e.g. config.sub, config.guess, install-sh)
+ AC_CONFIG_AUX_DIR(scripts/)
+--
+2.6.1
+
OpenPOWER on IntegriCloud