From fb11081becb80d681c2c8ab61125b42b12961314 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Sat, 24 Feb 2024 04:43:08 -0300 Subject: build: allow overriding common tools Tools: * gzip * install * rm * strip * tar For the programs not checked in configure.ac: From the manual of GNU Autoconf (version 2.71): > If you use `AC_PROG_INSTALL`, you must include `install-sh` in your > distribution So set `install` just in the Makefile. Use `$(RM)` to ensure that `-f` is always used and to make it easier to spot when `-r` is used. See commit 93d623fdf ("build: allow overriding certain tools", 2024-02-23) / PR #6222. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 73bd334f8..3701b7b4c 100644 --- a/configure.ac +++ b/configure.ac @@ -22,7 +22,10 @@ AC_PROG_CC AC_CHECK_PROGS([CODESPELL], [codespell]) AC_CHECK_PROGS([CPPCHECK], [cppcheck]) AC_CHECK_PROGS([GAWK], [gawk]) +AC_CHECK_PROGS([GZIP], [gzip]) AC_CHECK_PROGS([SCAN_BUILD], [scan-build]) +AC_CHECK_PROGS([STRIP], [strip]) +AC_CHECK_PROGS([TAR], [tar]) DEPS_CFLAGS="" AC_SUBST([DEPS_CFLAGS]) -- cgit v1.2.3-70-g09d2