summaryrefslogtreecommitdiff
path: root/m4/ctng_set_kconfig_option.m4
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2019-03-17 18:37:43 (GMT)
committerGitHub <noreply@github.com>2019-03-17 18:37:43 (GMT)
commit89ba62fb1daad737cdb33c3b1ef69092beeaab0b (patch)
tree34ea6400ccf438cd9de5d42afe636fde0a011f50 /m4/ctng_set_kconfig_option.m4
parentc4126d9397353a74ca5aff602dd2c0c527e1dd07 (diff)
parente4475c33df8702ec780f24ac482d5d9c2fc72d6d (diff)
Merge pull request #1163 from stilor/docker-fixescrosstool-ng-1.24.0-rc3
Fix build on CentOS6/7
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"])])
])