]> git.ipfire.org Git - thirdparty/util-linux.git/commit
build-sys: fix --disable-all-programs --enable-schedutils
authorKarel Zak <kzak@redhat.com>
Mon, 20 Feb 2017 13:17:37 +0000 (14:17 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 20 Feb 2017 13:17:37 +0000 (14:17 +0100)
commit6f2eb03433bcb2d3c351efed848a1f8554a7ff78
treeb47c2c598a22b32f6b52d5b30c70029ccaa0d338
parent34f3469d18ed071f7857b690656c2f130093bbb1
build-sys: fix --disable-all-programs --enable-schedutils

* add UL_ENABLE_ALIAS(NAME, MASTERNAME) to initialize $enable_<name>
  according to MASTERNAME. Note that we have to use $build_<mastername>,
  the $enable_<mastername> is just AC_ARG_ENABLE() stuff only. The
  $build_ is evaluated and modified by our UL_...() functions.

* add enable-schedutils.conf to have build-system regression test for
  this use-case

Addresses: https://github.com/karelzak/util-linux/issues/415
Signed-off-by: Karel Zak <kzak@redhat.com>
configure.ac
m4/ul.m4
tools/config-gen.d/enable-schedutils.conf [new file with mode: 0644]