aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-extended/which/which-2.18/automake-foreign.patch
blob: 495cdc6cf44e1881f2aad0758c428ca79de3558e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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