crosstool-ng/m4/ctng_set_kconfig_option.m4
Alexey Neyman 1ce2eab963 Simplify the macro for checking stat flavor a bit
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:02:33 -07:00

8 lines
217 B
Plaintext

# Set the kconfig option.
AC_DEFUN([CTNG_SET_KCONFIG_OPTION],
[AS_IF(
[test -n "$$1" -o "$2" = "y"],
[AC_SUBST([KCONFIG_$1], ["def_bool y"])],
[AC_SUBST([KCONFIG_$1], ["bool"])])
])