which-2.18: Use foreign strictness to avoid automake errors

Fixed:
Makefile.am: error: required file './ChangeLog' not found

(From OE-Core rev: c84bfa0f519e0bb74aed833a6318c21d91fce377)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jackie Huang
2014-10-27 22:12:00 -04:00
committed by Richard Purdie
parent e962f99ef0
commit 70ad0500e7
2 changed files with 31 additions and 1 deletions

View File

@@ -0,0 +1,28 @@
Subject: [PATCH] automake foreign strictness
Use foreign strictness to avoid automake errors.
Upstream-Status: Inappropriate [upstream no longer active]
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
configure.ac | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index b30b6f5..bd3222c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,7 @@
dnl Process this file with autoconf to produce a configure script.
-AC_INIT(which.c)
-AM_INIT_AUTOMAKE(which, 2.18)
+AC_INIT([which],[2.18])
+AC_CONFIG_SRCDIR(which.c)
+AM_INIT_AUTOMAKE([foreign])
AM_CONFIG_HEADER(config.h)
AM_MAINTAINER_MODE
--
1.7.1

View File

@@ -12,7 +12,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
PR = "r2"
SRC_URI = "http://www.xs4all.nl/~carlo17/which/which-${PV}.tar.gz \
file://fix_name_conflict_group_member.patch"
file://fix_name_conflict_group_member.patch \
file://automake-foreign.patch \
"
SRC_URI[md5sum] = "42d51938e48b91f6e19fabf216f5c3e9"
SRC_URI[sha256sum] = "9445cd7e02ec0c26a44fd56098464ded064ba5d93dd2e15ec12410ba56b2e544"