Skip to content

Commit

Permalink
autogen.sh: learn about gmake
Browse files Browse the repository at this point in the history
Fixes: 69cce25
("69cce257eb6183dda114d8f5b8ca0325cfabe2e1")
  • Loading branch information
azat committed Oct 31, 2016
1 parent 69cce25 commit 9376ac4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion autogen.sh
@@ -1,6 +1,10 @@
#!/bin/sh

make maintainer-clean >/dev/null 2>/dev/null
MAKE=make
if command -v gmake >/dev/null 2>/dev/null; then
MAKE=gmake
fi
$MAKE maintainer-clean >/dev/null 2>/dev/null

if [ -x "`which autoreconf 2>/dev/null`" ] ; then
exec autoreconf -ivf
Expand Down

0 comments on commit 9376ac4

Please sign in to comment.