summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/sysstat/sysstat/0001-configure.in-remove-check-for-chkconfig.patch
blob: 84383f955f932875db722d643c45a45cd395744a (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
29
30
31
From 1590cc614aaf0fb81cd804414d6c9d5a9227352c Mon Sep 17 00:00:00 2001
From: Wenlin Kang <wenlin.kang@windriver.com>
Date: Tue, 5 Nov 2019 16:16:44 +0800
Subject: [PATCH] configure.ac: remove check for chkconfig

chkconfig can't work on cross-platform, so should remove check for it.

Upstream-Status: Inappropriate [ embedded specific ]

Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
---
 configure.ac | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 48b9a31..cedeb43 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,7 +42,8 @@ AC_SUBST(VER_JSON)
 AC_SUBST(VER_XML)
 
 AC_PATH_PROG(PATH_CP, cp)
-AC_PATH_PROG(PATH_CHKCONFIG, chkconfig)
+#AC_PATH_PROG(PATH_CHKCONFIG, chkconfig)
+AC_SUBST(PATH_CHKCONFIG)
 
 # Check for systemd
 AC_CHECK_PROG(PKG_CONFIG, pkg-config, pkg-config)
-- 
1.9.1