ruby-changes:46013
From: nobu <ko1@a...>
Date: Sat, 25 Mar 2017 16:46:19 +0900 (JST)
Subject: [ruby-changes:46013] nobu:r58084 (trunk): configure.in: syscall is deprecated on macOS
nobu 2017-03-25 16:46:12 +0900 (Sat, 25 Mar 2017) New Revision: 58084 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58084 Log: configure.in: syscall is deprecated on macOS * configure.in: syscall is no longer supported on macOS since 10.12. [ruby-core:80300] [Bug #13361] Modified files: trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 58083) +++ configure.in (revision 58084) @@ -1100,6 +1100,12 @@ AS_CASE(["$target_os"], https://github.com/ruby/ruby/blob/trunk/configure.in#L1100 ], [macosx_10_5=yes], [macosx_10_5=no]) AC_MSG_RESULT($macosx_10_5) + AS_IF([test "${target_os@%:@darwin}" -ge 16], [ + ac_cv_func___syscall=no + ac_cv_func_syscall=no + ac_cv_header_sys_syscall_h=no + ac_cv_header_syscall_h=no + ]) if test $macosx_10_5 = yes; then ac_cv_func_getcontext=no ac_cv_func_setcontext=no -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/