diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2024-02-24 04:43:08 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2024-05-29 17:35:35 -0300 |
commit | fb11081becb80d681c2c8ab61125b42b12961314 (patch) | |
tree | 65ec3be0da6000b92dd65ef98b388e5636b8759d /configure.ac | |
parent | build: define CC/GAWK if undefined (diff) | |
download | firejail-fb11081becb80d681c2c8ab61125b42b12961314.tar.gz firejail-fb11081becb80d681c2c8ab61125b42b12961314.tar.zst firejail-fb11081becb80d681c2c8ab61125b42b12961314.zip |
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.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
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 | |||
22 | AC_CHECK_PROGS([CODESPELL], [codespell]) | 22 | AC_CHECK_PROGS([CODESPELL], [codespell]) |
23 | AC_CHECK_PROGS([CPPCHECK], [cppcheck]) | 23 | AC_CHECK_PROGS([CPPCHECK], [cppcheck]) |
24 | AC_CHECK_PROGS([GAWK], [gawk]) | 24 | AC_CHECK_PROGS([GAWK], [gawk]) |
25 | AC_CHECK_PROGS([GZIP], [gzip]) | ||
25 | AC_CHECK_PROGS([SCAN_BUILD], [scan-build]) | 26 | AC_CHECK_PROGS([SCAN_BUILD], [scan-build]) |
27 | AC_CHECK_PROGS([STRIP], [strip]) | ||
28 | AC_CHECK_PROGS([TAR], [tar]) | ||
26 | 29 | ||
27 | DEPS_CFLAGS="" | 30 | DEPS_CFLAGS="" |
28 | AC_SUBST([DEPS_CFLAGS]) | 31 | AC_SUBST([DEPS_CFLAGS]) |