which: use "foreign" automake strictness
authorRoss Burton <ross.burton@intel.com>
Tue, 15 Jul 2014 16:18:33 +0000 (17:18 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 16 Jul 2014 09:31:16 +0000 (10:31 +0100)
which doesn't want GNU-levels of automake strictness so tell it to be "foreign".

(From OE-Core rev: 5007bfcd6d21beb1e4da2ad1a1fe0dbd1f48a2db)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/which/which-2.20/automake.patch [new file with mode: 0644]
meta/recipes-extended/which/which_2.20.bb

diff --git a/meta/recipes-extended/which/which-2.20/automake.patch b/meta/recipes-extended/which/which-2.20/automake.patch
new file mode 100644 (file)
index 0000000..92365dd
--- /dev/null
@@ -0,0 +1,10 @@
+diff --git a/configure.ac b/configure.ac
+index d974461..a20dfa8 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -2,2 +2,3 @@ dnl Process this file with autoconf to produce a configure script.
+-AC_INIT(which.c)
+-AM_INIT_AUTOMAKE(which, 2.20)
++AC_INIT([which],[2.20])
++AC_CONFIG_SRCDIR(which.c)
++AM_INIT_AUTOMAKE([foreign])
index f3c6037..7483554 100644 (file)
@@ -18,6 +18,7 @@ PR = "r3"
 EXTRA_OECONF = "--disable-iberty"
 
 SRC_URI = "${GNU_MIRROR}/which/which-${PV}.tar.gz \
+           file://automake.patch \
            file://remove-declaration.patch"
 
 SRC_URI[md5sum] = "95be0501a466e515422cde4af46b2744"