2 #******************************************************************************
3 # Copyright (C) 2008-2011, International Business Machines
4 # Corporation and others. All Rights Reserved.
5 #******************************************************************************
6 # Make sure we have the right version of Make.
9 ifeq ($(MACHTYPE),i370-ibm-mvs)
12 ifeq ($(PLATFORM),OS390)
15 ifeq ($(MACHTYPE),powerpc-ibm-os400)
19 latest_a=$(firstword $(sort $(MAKE_VERSION) $(at_least)))
21 ifneq ($(at_least),$(latest_a))
23 @echo "ERROR: $(MAKE_VERSION) - too old, please upgrade to at least $(at_least)"
27 @echo "$(MAKE_VERSION) (we wanted at least $(at_least))"