From 84ae0f2edd1b855404891a22ce010b419973edce Mon Sep 17 00:00:00 2001 From: psychon Date: Mon, 5 Jul 2010 15:54:03 +0000 Subject: [PATCH] Set $SHELL in Makefiles $SHELL controls which shell is used for executing the commands in a Makefile. Since modules/Makefile does not work with ksh, we need to find a "proper" shell. Luckily, configure already did that job and announces its findings via @SHELL@. This should make our Makefile work on Solaris. Thanks to LeftWing aka Joshua M. Clulow. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2064 726aef4b-f618-498e-8847-2d620e286838 --- Makefile.in | 2 ++ man/Makefile.in | 2 ++ modules/Makefile.in | 2 ++ 3 files changed, 6 insertions(+) diff --git a/Makefile.in b/Makefile.in index 8bcc5713..1ee1fdb1 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,3 +1,5 @@ +SHELL := @SHELL@ + # Support out-of-tree builds srcdir := @srcdir@ VPATH := @srcdir@ diff --git a/man/Makefile.in b/man/Makefile.in index a619cd59..13c1a748 100644 --- a/man/Makefile.in +++ b/man/Makefile.in @@ -1,3 +1,5 @@ +SHELL := @SHELL@ + # Support out-of-tree builds VPATH := @srcdir@ diff --git a/modules/Makefile.in b/modules/Makefile.in index 9ea2d87a..e8b12c75 100644 --- a/modules/Makefile.in +++ b/modules/Makefile.in @@ -1,3 +1,5 @@ +SHELL := @SHELL@ + # Support out-of-tree builds srcdir := @srcdir@ VPATH := @srcdir@