summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ltp/ltp/automake-foreign.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/ltp/ltp/automake-foreign.patch')
-rw-r--r--meta/recipes-extended/ltp/ltp/automake-foreign.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-extended/ltp/ltp/automake-foreign.patch b/meta/recipes-extended/ltp/ltp/automake-foreign.patch
new file mode 100644
index 0000000000..c3dd891395
--- /dev/null
+++ b/meta/recipes-extended/ltp/ltp/automake-foreign.patch
@@ -0,0 +1,20 @@
1Use foreign strictness to avoid automake errors.
2
3Upstream-Status: Submitted (https://github.com/linux-test-project/ltp/issues/16)
4Signed-off-by: Ross Burton <ross.burton@intel.com>
5
6diff --git a/configure.ac b/configure.ac
7index 9f397e7..fc57957 100644
8--- a/configure.ac
9+++ b/configure.ac
10@@ -4 +4 @@
11-AM_INIT_AUTOMAKE
12+AM_INIT_AUTOMAKE([foreign])
13--- a/utils/ffsb-6.0-rc2/configure.in
14+++ b/utils/ffsb-6.0-rc2/configure.in
15@@ -2,2 +2,3 @@ dnl Process this file with autoconf to produce a configure script.
16-AC_INIT(main.c)
17-AM_INIT_AUTOMAKE(ffsb, 6.0-RC2)
18+AC_INIT([ffsb], [6.0-RC2])
19+AC_CONFIG_SRCDIR([main.c])
20+AM_INIT_AUTOMAKE([foreign])