Explicitly run configure for win32 instead of config.status as sh/cmd.exe do not properly handle calling configure from within config.status NSPRPUB_CLIENT_BRANCH
authorcls%seawood.org
Tue, 06 Feb 2001 04:51:12 +0000
branchNSPRPUB_CLIENT_BRANCH
changeset 1718 84b1e325a6980472f66ef40186e2a1bf5617dde5
parent 1716 9372151e790555d4f80e45c1c8f977bb510bb923
child 1719 27c8cf70995577084e93735f327268fb90e77fd6
push idunknown
push userunknown
push dateunknown
Explicitly run configure for win32 instead of config.status as sh/cmd.exe do not properly handle calling configure from within config.status
Makefile.in
--- a/Makefile.in
+++ b/Makefile.in
@@ -33,17 +33,21 @@ endif
 
 DIST_GARBAGE = config.cache config.log config.status
 
 all:: config.status export
 
 include $(topsrcdir)/config/rules.mk
 
 config.status:: configure
+ifeq ($(OS_ARCH),WINNT)
+	sh $(srcdir)/configure --no-create --no-recursion
+else
 	./config.status --recheck && ./config.status
+endif
 
 #
 # The -ll option of zip converts CR LF to LF.
 #
 ifeq ($(OS_ARCH),WINNT)
 ZIP_ASCII_OPT = -ll
 endif