summaryrefslogtreecommitdiff
path: root/m4/ctng_set_kconfig_option.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/ctng_set_kconfig_option.m4')
-rw-r--r--m4/ctng_set_kconfig_option.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/ctng_set_kconfig_option.m4 b/m4/ctng_set_kconfig_option.m4
index 2c2968c..f483701 100644
--- a/m4/ctng_set_kconfig_option.m4
+++ b/m4/ctng_set_kconfig_option.m4
@@ -1,7 +1,7 @@
# Set the kconfig option.
AC_DEFUN([CTNG_SET_KCONFIG_OPTION],
[AS_IF(
- [test -n "$$1" -o "$2" = "y"],
+ [test -n "$$1" -o "$2" = "y" -o "$2" = "1" ],
[AC_SUBST([KCONFIG_$1], ["def_bool y"])],
[AC_SUBST([KCONFIG_$1], ["bool"])])
])