https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7294

--- Comment #1 from Martin Puppe <[email protected]> ---
Created attachment 5376
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5376&action=edit
Use $Config{make} to finde correct make command

Here is the aforementioned patch. I've replaced make with $Config{make}. The
documentation [^1] for the Config module states the following:

> This variable is used internally by Configure to determine the full
> pathname (if any) of the make program. After Configure runs, the value
> is reset to a plain make and is not useful.

Doesn't sound encouraging, but I think that using it is justifiable
nonetheless.

1. It works. It returns make on Linux and dmake on Windows (with Strawberry
Perl). It passes the tests. sa-compile works.

2. ExtUtils::MakeMaker also uses $Config{make} to decide which style of
Makefile to emit. Its MAKE parameter defaults to $Config{make} [^2].

[^1]: http://perldoc.perl.org/Config.html#m
[^2]: https://metacpan.org/pod/ExtUtils::MakeMaker#MAKE

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to