summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorKarel Zak2017-02-21 11:00:19 +0100
committerKarel Zak2017-02-21 11:00:19 +0100
commitfc72f51e1f8ea824dc4565c844cc9119919950e9 (patch)
treea72573aeecf7b509aa07a9a04ffde70570a7fe1c /m4
parentbuild-sys: fix --disable-all-programs --enable-schedutils (diff)
downloadkernel-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.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/ul.m4 b/m4/ul.m4
index ed7227c51..db04c1269 100644
--- a/m4/ul.m4
+++ b/m4/ul.m4
@@ -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
])