diff options
Diffstat (limited to 'm4/ctng_set_kconfig_option.m4')
-rw-r--r-- | m4/ctng_set_kconfig_option.m4 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/m4/ctng_set_kconfig_option.m4 b/m4/ctng_set_kconfig_option.m4 new file mode 100644 index 00000000..9fae3209 --- /dev/null +++ b/m4/ctng_set_kconfig_option.m4 @@ -0,0 +1,7 @@ +# Set the kconfig option. +AC_DEFUN([CTNG_SET_KCONFIG_OPTION], + [AS_IF( + [test -n "$$1"], + [AC_SUBST([KCONFIG_$1], ["def_bool y"])], + [AC_SUBST([KCONFIG_$1], ["bool"])]) + ]) |