Debian Codegraph @

m4/gnu-make.m4

raw
1 # gnu-make.m4
2 # serial 1
3 dnl Copyright (C) 2007, 2009-2025 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.
7 dnl This file is offered as-is, without any warranty.
8
9 # Determine whether recent-enough GNU Make is being used.
10
11 # Written by Paul Eggert.
12
13 # Set GNU_MAKE if we are using a recent-enough version of GNU make.
14
15 AC_DEFUN([gl_GNU_MAKE],
16 [
17 AM_CONDITIONAL([GNU_MAKE],
18 [LC_ALL=C ${MAKE-make} --version 2>/dev/null | sed -e '2,$d' | grep GNU >/dev/null])
19 ])