summaryrefslogtreecommitdiff
path: root/m4/ctng_set_kconfig_option.m4
blob: f4837017f509a82ed6fb9039e22c92d66e45e952 (plain)
1
2
3
4
5
6
7
# Set the kconfig option.
AC_DEFUN([CTNG_SET_KCONFIG_OPTION],
    [AS_IF(
         [test -n "$$1" -o "$2" = "y" -o "$2" = "1" ],
         [AC_SUBST([KCONFIG_$1], ["def_bool y"])],
         [AC_SUBST([KCONFIG_$1], ["bool"])])
    ])