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>
# ionice, taskset and chrt
AC_ARG_ENABLE([schedutils],
AS_HELP_STRING([--disable-schedutils], [do not build chrt, ionice, taskset]),
- [], [UL_DEFAULT_ENABLE([schedutils], [yes])]
+ [], [UL_DEFAULT_ENABLE([schedutils], [check])]
)
-UL_BUILD_INIT([schedutils])
UL_ENABLE_ALIAS([ionice], [schedutils])
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
m4_define([suffix], $1)
m4_define([mastersuffix], $2)
- enable_[]suffix=$build_[]mastersuffix
+ enable_[]suffix=$enable_[]mastersuffix
])