From 32df5040cf6000d83f475df67c6aec1298c2b56e Mon Sep 17 00:00:00 2001 From: hal9 Date: Tue, 22 Oct 2002 02:22:18 +0000 Subject: [PATCH] Look for gmake first, and fall back to make. More Solaris trouble. --- Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ca8f82b6..0fd80d51 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.5.2.1 2002/08/05 17:46:13 oes Exp $ +# $Id: Makefile,v 1.6 2002/09/05 14:35:17 oes Exp $ # # Written by and Copyright (C) 2001 the SourceForge # Privoxy team. http://www.privoxy.org/ @@ -26,6 +26,9 @@ # Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # $Log: Makefile,v $ +# Revision 1.6 2002/09/05 14:35:17 oes +# Change make to gmake to fix auto-build on Solaris +# # Revision 1.5 2002/04/11 12:51:34 oes # Bugfix # @@ -60,7 +63,12 @@ error: echo -n "*** Shall I do this for you now? (y/n) "; \ read answer; \ if [ $$answer = "y" ]; then \ - autoheader && autoconf && ./configure && gmake; \ + autoheader && autoconf && ./configure || exit 1; \ + if which gmake >/dev/null 2>/dev/null ; then \ + gmake ;\ + else \ + make ;\ + fi ;\ fi; \ fi -- 2.39.2