diff options
author | Karel Zak | 2017-02-21 11:00:19 +0100 |
---|---|---|
committer | Karel Zak | 2017-02-21 11:00:19 +0100 |
commit | fc72f51e1f8ea824dc4565c844cc9119919950e9 (patch) | |
tree | a72573aeecf7b509aa07a9a04ffde70570a7fe1c /m4 | |
parent | build-sys: fix --disable-all-programs --enable-schedutils (diff) | |
download | kernel-qcow2-util-linux-fc72f51e1f8ea824dc4565c844cc9119919950e9.tar.gz kernel-qcow2-util-linux-fc72f51e1f8ea824dc4565c844cc9119919950e9.tar.xz kernel-qcow2-util-linux-fc72f51e1f8ea824dc4565c844cc9119919950e9.zip |
build-sys: simplify UL_ENABLE_ALIAS() semantic
Let's follow only $enable_ variables. In this case the MASTERNAME
(e.g. [schedutils] for --enable-schedutils) has to be without
UL_BUILD_INIT.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'm4')
-rw-r--r-- | m4/ul.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -432,7 +432,7 @@ AC_DEFUN([UL_DEFAULT_ENABLE], [ dnl UL_ENABLE_ALIAS(NAME, MASTERNAME) dnl -dnl Initializes $enable_<name> variable according to $build_<mastername>. This +dnl Initializes $enable_<name> variable according to $enable_<mastername>. This dnl is usefull for example if you want to use one --enable-mastername option dnl for group of programs. dnl @@ -440,7 +440,7 @@ AC_DEFUN([UL_ENABLE_ALIAS], [ m4_define([suffix], $1) m4_define([mastersuffix], $2) - enable_[]suffix=$build_[]mastersuffix + enable_[]suffix=$enable_[]mastersuffix ]) |