blob: 474c2f8ac7eb5eda1a492d899fea4000361e5c6d [file] [log] [blame]
Patrick Williams169d7bc2024-01-05 11:33:25 -06001configure.ac: check egrep
2
3The macro AC_HEADER_STDC which requires AC_PROG_EGREP has been removed
4from configure.ac, then it fails to substitute '@EGREP@':
5
6| [GEN] command-lines-input.h
7| /bin/bash: line 2: @EGREP@: command not found
8| [GEN] command-count.h
9
10Call AC_PROG_EGREP to fix the error.
11
12Upstream-Status: Submitted [https://gitlab.com/lvmteam/lvm2/-/merge_requests/4]
13
14Signed-off-by: Kai Kang <kai.kang@windriver.com>
15---
16 configure.ac | 1 +
17 1 file changed, 1 insertion(+)
18
19diff --git a/configure.ac b/configure.ac
20index 2e52498f9..d9462e22c 100644
21--- a/configure.ac
22+++ b/configure.ac
23@@ -78,6 +78,7 @@ AC_PROG_LN_S
24 AC_PROG_MAKE_SET
25 AC_PROG_MKDIR_P
26 AC_PROG_RANLIB
27+AC_PROG_EGREP
28 AC_CHECK_TOOL([READELF], [readelf])
29 AC_CHECK_TOOL(AR, ar)
30 AC_PATH_TOOL(CFLOW_CMD, cflow)
31--
322.34.1
33