On Sat, 4 Apr 2009, Ralf Wildenhues wrote:

You could test '$MAKE --help' at configure time, but the problem is, few
users remember to use './configure MAKE=gmake && gmake', most just do
'./configure && gmake'.  You would teach them! :-)

Ah, so there's no test that does this already?

I would imagine an AC_MAKE_GNU (or somesuch) that looks at make's help output, then tries gmake (and gnumake?) if make is not GNU Make.

Oh, and I've just found "check_gnu_make.m4" in autoconf-archive.

That looks like what I want.

--
http://rrt.sc3d.org/ | golf, n.  a good walk spoiled (Twain)


Reply via email to