gmake 3.79.1 requires that SHELL be evaluated immediately. NSPRPUB_CLIENT_BRANCH
authorcls%seawood.org
Sun, 21 Jan 2001 23:47:44 +0000
branchNSPRPUB_CLIENT_BRANCH
changeset 1684 a659bf3fe10652a09992e29541e2b897403fbf91
parent 1683 ea361de2ead91009de72c0fe2d4844140aa2b4f7
child 1686 0d05d765c15e8704fdbac94a52ded7bdc7a577d7
push idunknown
push userunknown
push dateunknown
gmake 3.79.1 requires that SHELL be evaluated immediately. Thanks to Brian Ryner <bryner@uiuc.edu> for the patch.
config/OS2.mk
config/OSF1.mk
config/WIN32.mk
--- a/config/OS2.mk
+++ b/config/OS2.mk
@@ -40,17 +40,17 @@ endif
 
 ifeq ($(XP_OS2_EMX),1)
 MOZ_EMXTAG = $(subst .,,$(MOZ_OS2_EMX_OBJECTFORMAT))
 endif
 
 #
 # On OS/2 we proudly support gbash...
 #
-SHELL = GBASH.EXE
+SHELL := GBASH.EXE
 
 CC			= icc -q -DXP_OS2 -N10
 CCC			= icc -q -DXP_OS2 -DOS2=4 -N10
 LINK			= -ilink
 AR			= -ilib /noignorecase /nologo /Out:$(subst /,\\,$@)
 RANLIB 			= @echo RANLIB
 BSDECHO 		= @echo BSDECHO
 STRIP			= @echo STRIP
--- a/config/OSF1.mk
+++ b/config/OSF1.mk
@@ -19,17 +19,17 @@
 # Config stuff for DEC OSF/1
 #
 
 #
 # The Bourne shell (sh) on OSF1 doesn't handle "set -e" correctly,
 # which we use to stop LOOP_OVER_DIRS submakes as soon as any
 # submake fails.  So we use the Korn shell instead.
 #
-SHELL			= /usr/bin/ksh
+SHELL			:= /usr/bin/ksh
 
 include $(MOD_DEPTH)/config/UNIX.mk
 
 #
 # XXX
 # Temporary define for the Client; to be removed when binary release is used
 #
 ifdef MOZILLA_CLIENT
--- a/config/WIN32.mk
+++ b/config/WIN32.mk
@@ -21,17 +21,17 @@
 #
 
 #
 # Client build: make sure we use the shmsdos.exe under $(MOZ_TOOLS).
 # $(MOZ_TOOLS_FLIPPED) is $(MOZ_TOOLS) with all the backslashes
 # flipped, so that gmake won't interpret them as escape characters.
 #
 ifdef PR_CLIENT_BUILD_WINDOWS
-SHELL = $(MOZ_TOOLS_FLIPPED)/bin/shmsdos.exe
+SHELL := $(MOZ_TOOLS_FLIPPED)/bin/shmsdos.exe
 endif
 
 CC = cl
 CCC = cl
 LINK = link
 AR = lib -NOLOGO -OUT:"$@"
 RANLIB = echo
 BSDECHO = echo