aboutsummaryrefslogtreecommitdiffstats
path: root/tool/m4/ruby_try_cxxflags.m4
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-12 22:55:09 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-01-18 16:22:17 +0900
commitc32375883a696fcf8e9e99875f1339ee5474a255 (patch)
tree9302199c9cbe95f549031b502f5fcda11c937f8d /tool/m4/ruby_try_cxxflags.m4
parent414438688fd4a90d02ab7f8e2592356e1a542161 (diff)
downloadruby-c32375883a696fcf8e9e99875f1339ee5474a255.tar.gz
Update for autoconf 2.70
Diffstat (limited to 'tool/m4/ruby_try_cxxflags.m4')
-rw-r--r--tool/m4/ruby_try_cxxflags.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/m4/ruby_try_cxxflags.m4 b/tool/m4/ruby_try_cxxflags.m4
index 5f84140670..265f79a450 100644
--- a/tool/m4/ruby_try_cxxflags.m4
+++ b/tool/m4/ruby_try_cxxflags.m4
@@ -5,7 +5,7 @@ AC_DEFUN([RUBY_TRY_CXXFLAGS], [
AC_MSG_CHECKING([whether ]$1[ is accepted as CXXFLAGS])
RUBY_WERROR_FLAG([
AC_LANG_PUSH([C++])
- AC_TRY_LINK([$4], [$5],
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[$4]], [[$5]])],
[$2
AC_MSG_RESULT(yes)],
[$3