autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH CVS] OS/2 Gnumakefile


From: Ilya Zakharevich
Subject: [PATCH CVS] OS/2 Gnumakefile
Date: Thu, 30 Jan 2003 15:17:08 -0800
User-agent: Mutt/1.4i

autoconf's GNUmakefile assumes that /bin/sh is present.

Enjoy,
Ilya

--- ./GNUmakefile-pre   Sun Aug 12 06:05:10 2001
+++ ./GNUmakefile       Thu Jan 30 15:04:06 2003
@@ -22,7 +22,13 @@
 
 # Systems where /bin/sh is not the default shell need this.  The $(shell)
 # command below won't work with e.g. stock DOS/Windows shells.
+ifeq ($(wildcard /bin/s[h]),/bin/sh)
 SHELL = /bin/sh
+else
+# will be used only with the next shell-test line, then overwritten
+# by a configured-in value
+SHELL = sh
+endif
 
 have-Makefile := $(shell test -f Makefile && echo yes)
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]