Commit 64e45b0e authored by Bryan Henderson's avatar Bryan Henderson

Make sure user is running GNU make.

parent 56e8243d
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
# Copyright (c) 1994, Regents of the University of California # Copyright (c) 1994, Regents of the University of California
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/Makefile,v 1.13 1996/12/10 03:03:36 scrappy Exp $ # $Header: /cvsroot/pgsql/src/Makefile,v 1.14 1996/12/19 08:03:46 bryanh Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -22,6 +22,12 @@ ETAGS = etags ...@@ -22,6 +22,12 @@ ETAGS = etags
XARGS = xargs XARGS = xargs
.DEFAULT all: .DEFAULT all:
@set - `$(MAKE) -v -f /dev/null 2>&1`.; \
if test $$1 != GNU; then \
echo "This Makefile requires GNU make."; \
echo "Please read the file INSTALL in this directory for details."; \
false ; \
fi
@if test $(PORTNAME) = UNDEFINED; then \ @if test $(PORTNAME) = UNDEFINED; then \
echo You must set the PORTNAME value in Makefile.global before \ echo You must set the PORTNAME value in Makefile.global before \
you can build Postgres. ;\ you can build Postgres. ;\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment