summaryrefslogtreecommitdiff
path: root/tool/m4/ruby_try_cxxflags.m4
blob: 265f79a4509db5eadcf66ca25215a251e311df29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# -*- Autoconf -*-
AC_DEFUN([RUBY_TRY_CXXFLAGS], [
    save_CXXFLAGS="$CXXFLAGS"
    CXXFLAGS="[$]CXXFLAGS $1"
    AC_MSG_CHECKING([whether ]$1[ is accepted as CXXFLAGS])
    RUBY_WERROR_FLAG([
    AC_LANG_PUSH([C++])
    AC_LINK_IFELSE([AC_LANG_PROGRAM([[$4]], [[$5]])],
	[$2
	AC_MSG_RESULT(yes)],
	[$3
	AC_MSG_RESULT(no)])
    ])
    AC_LANG_POP([C++])
    CXXFLAGS="$save_CXXFLAGS"
    save_CXXFLAGS=
])dnl
21:52:03 +0900'>2020-02-15[ruby/irb] fix reserved words and completion for themNobuhiro IMAI 2020-02-12[ruby/irb] Check doc namespace correctlyaycabta 2020-02-02[ruby/irb] Add a new easter egg: dancing rubyYusuke Endoh 2020-01-20[ruby/irb] Fix compatibility with rails before 5.2Lars Kanis 2019-11-28Fix regexp to complete complex literalaycabta 2019-11-28Remove two removed constantsaycabta 2019-07-20Some keywords, "true", "false", and "nil" should be treated as a variableaycabta 2019-07-19Fix showing doc of "nil.to_s", nil doesn't have #nameaycabta 2019-07-06Fix showing document of ClassName.method_name in IRBaycabta 2019-06-10irb: defer requiring rdoc to improve the start up timeNobuyoshi Nakada 2019-05-29Use IO.copy_streamaycabta 2019-05-29Check RUBY_YES_I_AM_NOT_A_NORMAL_USER env to access RubyVM docaycabta 2019-05-29IRB never show RubyVM's docaycabta 2019-05-29Encode completed strings corecctlyaycabta 2019-05-28Remove unused variable from IRB::InputCompletoraycabta 2019-05-27Fix number literal regexp of IRB completionaycabta 2019-05-27Use correctly RI output in IRB completionaycabta 2019-05-25Show documents when completionaycabta 2019-05-25Use Reline as Reidline multiline editor in IRBaycabta 2019-04-23Revert "IRB is improved with Reline and RDoc, take 2"Nobuyoshi Nakada 2019-04-23IRB is improved with Reline and RDoc, take 2aycabta 2019-04-21Revert "IRB is improved with Reline and RDoc"aycabta 2019-04-20IRB is improved with Reline and RDocaycabta 2018-07-28Fix filename in comment [ci skip]kazu 2018-03-13Hash instead of Setnobu 2018-03-13Speed up func1.func2 completion by using Set for ignored modulesnobu