From: Brian Egge Date: 2010-01-19T11:49:56+09:00 Subject: [ruby-core:27616] [Bug #2612] Use POSIX shell in Makefile Bug #2612: Use POSIX shell in Makefile http://redmine.ruby-lang.org/issues/show/2612 Author: Brian Egge Status: Open, Priority: Normal ruby -v: ruby 1.9.2dev (2010-01-19 trunk 26352) [i386-solaris2.10] 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@ ---------------------------------------- http://redmine.ruby-lang.org