1 # Written by and Copyright (C) 2001 the
2 # Privoxy team. https://www.privoxy.org/
4 # Based on the Internet Junkbuster originally written
5 # by and Copyright (C) 1997 Anonymous Coders and
6 # Junkbusters Corporation. http://www.junkbusters.com
8 # This program is free software; you can redistribute it
9 # and/or modify it under the terms of the GNU General
10 # Public License as published by the Free Software
11 # Foundation; either version 2 of the License, or (at
12 # your option) any later version.
14 # This program is distributed in the hope that it will
15 # be useful, but WITHOUT ANY WARRANTY; without even the
16 # implied warranty of MERCHANTABILITY or FITNESS FOR A
17 # PARTICULAR PURPOSE. See the GNU General Public
18 # License for more details.
20 # The GNU General Public License should be included with
21 # this file. If not, you can view it at
22 # http://www.gnu.org/copyleft/gpl.html
23 # or write to the Free Software Foundation, Inc., 59
24 # Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26 #############################################################################
32 @if [ -f GNUmakefile ]; then \
34 echo "*** You are not using the GNU version of Make - maybe it's called gmake"; \
35 echo "*** or it's in a different PATH? Please read INSTALL." ; \
38 elif test -n "$(HOST_ARCH)" && test -z "$(MAKE_VERSION)" ; then \
40 echo "*** You are not using GNU Make on Solaris, please make sure you do" ; \
41 echo "*** and re-run 'make' "; \
44 elif test -n "$(MACHINE_ARCH)" && test -z "$(MAKE_VERSION)" ; then \
46 echo "*** You are not using GNU Make on FreeBSD, please make sure you do" ; \
47 echo "*** and re-run 'make' "; \
52 echo "*** To build this program, you must run"; \
53 echo "*** autoheader && autoconf && ./configure and then run GNU make."; \
55 echo -n "*** Shall I do this for you now? (y/n) "; \
57 if [ "$$answer" = "y" ]; then \
58 autoheader && autoconf && ./configure || exit 1; \
59 if $(GNU_MAKE_CMD) -v |grep GNU >/dev/null 2>/dev/null; then \
61 elif $(MAKE_CMD) -v |grep GNU >/dev/null 2>/dev/null; then \
64 echo "Neither 'make' nor 'gmake' are GNU compatible!" ; \
65 echo "Please read INSTALL." ; \
75 #############################################################################