Skip to content

Commit 64e45b0

Browse files
author
Bryan Henderson
committed
Make sure user is running GNU make.
1 parent 56e8243 commit 64e45b0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Copyright (c) 1994, Regents of the University of California
77
#
88
# IDENTIFICATION
9-
# $Header: /cvsroot/pgsql/src/Makefile,v 1.13 1996/12/10 03:03:36 scrappy Exp $
9+
# $Header: /cvsroot/pgsql/src/Makefile,v 1.14 1996/12/19 08:03:46 bryanh Exp $
1010
#
1111
#-------------------------------------------------------------------------
1212

@@ -22,6 +22,12 @@ ETAGS = etags
2222
XARGS = xargs
2323

2424
.DEFAULT all:
25+
@set - `$(MAKE) -v -f /dev/null 2>&1`.; \
26+
if test $$1 != GNU; then \
27+
echo "This Makefile requires GNU make."; \
28+
echo "Please read the file INSTALL in this directory for details."; \
29+
false ; \
30+
fi
2531
@if test $(PORTNAME) = UNDEFINED; then \
2632
echo You must set the PORTNAME value in Makefile.global before \
2733
you can build Postgres. ;\

0 commit comments

Comments
 (0)