delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/19/14:37:45

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <2407239113CD914CBA855A47698F01B0622103@SUGAH2.triscend.com>
From: Craig Hackney <craig AT triscend DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: FW: make 3.79.1-4 'make: /bin/sh.exe: Command not found' when run
ning without sh.exe
Date: Mon, 19 Nov 2001 11:36:23 -0800
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)

	The patch below from Christopher Faylor fixes this error.

	I also had to create a dummy install-sh, config.sub and
	config.guess before I could successfully run configure.

	Thanks for your help Chris.


Index: main.c
===================================================================
RCS file: /cvs/cvsfiles/devo/make/main.c,v
retrieving revision 1.47
diff -u -p -r1.47 main.c
--- main.c      2001/06/26 19:12:04     1.47
+++ main.c      2001/11/16 03:20:03
@@ -870,11 +870,10 @@ int main (int argc, char ** argv)
     char *make_mode_env;

     /* Read the environment variable MAKE_MODE */
-    /* If it's "UNIX", set unixy_shell to 1.  If it's "WIN32" or
-       anything else, stay with the default of 0. */
+    /* If it's not "UNIX", set unixy_shell to 0. */
     make_mode_env = getenv ("MAKE_MODE");
-    if (make_mode_env && strcaseequ (make_mode_env, "UNIX"))
-      unixy_shell = 1;
+    if (make_mode_env && !strcaseequ (make_mode_env, "UNIX"))
+      unixy_shell = 0;
   }
 #endif /* __CYGWIN__ */


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019