Issue #10265 has been updated by Tomoyuki Chikanaga.

Status changed from Assigned to Closed
% Done changed from 0 to 100

Applied in changeset r47952.

----------
merge revision(s) r45715: [Backport #10265]

	* configure.in: NetBSD's ksh, used by configure, needs escapes.

----------------------------------------
Backport #10265: Backport r45715 to fix configure on OpenBSD/NetBSD
https://bugs.ruby-lang.org/issues/10265#change-49467

* Author: Jeremy Evans
* Status: Closed
* Priority: Normal
* Assignee: Tomoyuki Chikanaga
----------------------------------------
In ruby 2.1.3, line 2095 of configure.in is:

AC_MSG_RESULT(${setjmp_prefix}setjmp${setjmp_suffix}${setjmp_cast:+($setjmp_cast)})

This substitution:

${setjmp_cast:+($setjmp_cast)}

is not valid sh syntax for OpenBSD/NetBSD at least, though it is valid bash syntax.

This was fixed in trunk in r45715 to use:

${setjmp_cast:+\($setjmp_cast\)}

which works in OpenBSD/NetBSD.

I request that r45715 be backported to the ruby_2_1 branch before the 2.1.4 release.



-- 
https://bugs.ruby-lang.org/