summaryrefslogtreecommitdiff
path: root/m4/ctng_set_kconfig_option.m4
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2019-03-05 08:48:31 (GMT)
committerAlexey Neyman <stilor@att.net>2019-03-05 08:48:31 (GMT)
commit4ddad7b34f37f87e33e833f75a071c3775adc8cd (patch)
treeef3ad3d263a527f68feff64cc515acdbe6275776 /m4/ctng_set_kconfig_option.m4
parentb3cce054ef381502af4f58105604081bf431ac9e (diff)
CentOS6 cannot use newer GDB releases
... unless one retrofits it with a decent compiler instead of stock GCC 4.4. While here, sync up the ax_*.m4 with autoconf-archive. Signed-off-by: Alexey Neyman <stilor@att.net>
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"])])
])