3 dnl Copyright (C) 2007, 2009-2024 Free Software Foundation, Inc.
4 dnl This file is free software; the Free Software Foundation
5 dnl gives unlimited permission to copy and/or distribute it,
6 dnl with or without modifications, as long as this notice is preserved.
8 # Determine whether recent-enough GNU Make is being used.
10 # Written by Paul Eggert.
12 # Set GNU_MAKE if we are using a recent-enough version of GNU make.
14 AC_DEFUN([gl_GNU_MAKE],
16 AM_CONDITIONAL([GNU_MAKE],
17 [LC_ALL=C ${MAKE-make} --version 2>/dev/null | sed -e '2,$d' | grep GNU >/dev/null])