Bug #2612
closedUse POSIX shell in Makefile
Description
=begin
For some systems, including Solaris 10, /bin/sh is not a POSIX shell. Certain features like the continue statement are missing from the /bin/sh shell on Solaris. Autoconf contains a macro which will set the appropriate POSIX shell for a system.
http://www.gnu.org/software/hello/manual/autoconf/The-Make-Macro-SHELL.html
The following allows ruby to be built, and more specifically, cleaned without modification on Solaris 10.
Index: Makefile.in¶
--- Makefile.in (revision 26352)
+++ Makefile.in (working copy)
@@ -1,4 +1,4 @@
-SHELL = /bin/sh
+SHELL = @SHELL@
NULLCMD = :
RUNCMD = $(SHELL)
CHDIR = @CHDIR@
=end
Updated by nobu (Nobuyoshi Nakada) almost 16 years ago
=begin
Hi,
At Tue, 19 Jan 2010 11:49:56 +0900,
Brian Egge wrote in [ruby-core:27616]:
For some systems, including Solaris 10, /bin/sh is not a
POSIX shell. Certain features like the continue statement
are missing from the /bin/sh shell on Solaris. Autoconf
contains a macro which will set the appropriate POSIX shell
for a system.
I've heard that /bin/sh in Solaris 10 has continue statement.
What error occurs actually?
--
Nobu Nakada
=end
Updated by nobu (Nobuyoshi Nakada) almost 16 years ago
- Status changed from Open to Feedback
=begin
=end
Updated by mame (Yusuke Endoh) over 15 years ago
- Status changed from Feedback to Rejected
=begin
Hi, Brian Egge
I close this ticket because of absence of your response.
If you have any actual problem, please reopen this ticket with
answer to nobu.
Unless there is actual problem, we are not keen to change such
a build-related part because it may affect another platform.
--
Yusuke Endoh mame@tsg.ne.jp
=end