1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Update for autoconf 2.70

This commit is contained in:
Nobuyoshi Nakada 2020-12-12 22:55:09 +09:00
parent 414438688f
commit c32375883a
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6
Notes: git 2021-01-18 18:15:52 +09:00
14 changed files with 143 additions and 144 deletions

View file

@ -4,7 +4,7 @@ AC_DEFUN([RUBY_TRY_LDFLAGS], [
LDFLAGS="[$]LDFLAGS $1"
AC_MSG_CHECKING([whether $1 is accepted as LDFLAGS])
RUBY_WERROR_FLAG([
AC_TRY_LINK([$4], [$5],
AC_LINK_IFELSE([AC_LANG_PROGRAM([[$4]], [[$5]])],
[$2
AC_MSG_RESULT(yes)],
[$3