]> git.ipfire.org Git - thirdparty/coreutils.git/commit
build: don't build chcon or runcon unless selinux is available
authorPádraig Brady <P@draigBrady.com>
Sun, 26 Oct 2025 12:33:42 +0000 (12:33 +0000)
committerPádraig Brady <P@draigBrady.com>
Mon, 27 Oct 2025 16:57:39 +0000 (16:57 +0000)
commit8ba47d09a33f0740e071a8394f3504e0fb57948e
tree43e0184d74ebfacc3bfaac91fc7f053a289c2df4
parent2b3eb795c85633a4b808df44d19a4a9be5976c10
build: don't build chcon or runcon unless selinux is available

The build can be force enabled with --with-selinux and vice versa.

* build-aux/gen-lists-of-programs.sh: Move chcon and runcon
to the list of optional programs.
* configure.ac: Only enable chcon and runcon if selinux.h is available.
* NEWS: Mention the Build-related change.
Fixes https://github.com/coreutils/coreutils/issues/121
NEWS
build-aux/gen-lists-of-programs.sh
configure.ac