Issue #10265 has been reported by Jeremy Evans.

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

* Author: Jeremy Evans
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
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/