header vars: can determine whether we are running under GNU make
authorStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 22 Apr 2013 12:53:14 +0000 (14:53 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 22 Apr 2013 12:53:14 +0000 (14:53 +0200)
commit3de27839c88bda6c755f00c7142620080b725be0
tree9198cb2690aa76ed98aa9b7ca4abfae6b577577a
parent40f949c71a05c411989746e74e661323b62ce083
header vars: can determine whether we are running under GNU make

This is mostly a preparatory patch in view of future changes.

* lib/am/header-vars.am (am__is_gnu_make): New, contains shell code that
determines whether we are running under GNU make.
* t/make-is-gnu.sh: New test.
* t/list-of-tests.mk: Add it.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
lib/am/header-vars.am
t/list-of-tests.mk
t/make-is-gnu.sh [new file with mode: 0755]