Patrick Williams | 169d7bc | 2024-01-05 11:33:25 -0600 | [diff] [blame] | 1 | configure.ac: check egrep |
| 2 | |
| 3 | The macro AC_HEADER_STDC which requires AC_PROG_EGREP has been removed |
| 4 | from 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 | |
| 10 | Call AC_PROG_EGREP to fix the error. |
| 11 | |
| 12 | Upstream-Status: Submitted [https://gitlab.com/lvmteam/lvm2/-/merge_requests/4] |
| 13 | |
| 14 | Signed-off-by: Kai Kang <kai.kang@windriver.com> |
| 15 | --- |
| 16 | configure.ac | 1 + |
| 17 | 1 file changed, 1 insertion(+) |
| 18 | |
| 19 | diff --git a/configure.ac b/configure.ac |
| 20 | index 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 | -- |
| 32 | 2.34.1 |
| 33 | |