which: use "foreign" automake strictness

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>
This commit is contained in:
Ross Burton 2014-07-15 17:18:33 +01:00 committed by Richard Purdie
parent d779dce64c
commit 9da7e68a66
2 changed files with 11 additions and 0 deletions

View File

@ -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])

View 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"