]> arthur.barton.de Git - bup.git/commit
Fix GNU make detection and usage.
authorThomas Klausner <tk@giga.or.at>
Mon, 24 Sep 2012 12:45:33 +0000 (14:45 +0200)
committerRob Browning <rlb@defaultvalue.org>
Wed, 26 Sep 2012 18:37:46 +0000 (13:37 -0500)
commit69089e27a6e5acc6ec3ef405a7a942c7f39f35ef
treeb62c558ea1ca0470db7dae6636a3b10642f8c3da
parent269c7904793d464dc1b0aef2d7c0ffd426ca0789
Fix GNU make detection and usage.

BSD make errors out since the Makefiles use GNU make specific code.
However, on BSD systems, 'make' is BSD make and not GNU make.

make(1) does set ${MAKE} to argv[0], so use this to pass the correct
make executable name down.

Also, prefer gmake to make, if it exists, since we want GNU make.

Signed-off-by: Thomas Klausner <tk@giga.or.at>
Tested-by: Gabriel Filion <lelutin@gmail.com>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
Makefile
config/Makefile
config/configure