RFR: 8031669: (xs) Allow override of "simple required tools" in basics.m4

Mike Duigou mike.duigou at oracle.com
Tue Jan 14 20:08:33 UTC 2014


On Jan 14 2014, at 10:35 , Mike Duigou <mike.duigou at oracle.com> wrote:

> 
> On Jan 14 2014, at 05:17 , Magnus Ihse Bursie <magnus.ihse.bursie at oracle.com> wrote:
> 
>> On 2014-01-14 02:57, Mike Duigou wrote:
>>> Hello all;
>>> 
>>> This changeset allows overriding of the "simple required tools" which are gathered in BASIC_SETUP_FUNDAMENTAL_TOOLS macro of basics.m4 I didn't extend the override ability to every tool, instead primarily to the file manipulation and archiving tools which I need to override for a project I am working on.
>>> 
>>> http://cr.openjdk.java.net/~mduigou/JDK-8031669/0/webrev/
>>> 
>>> Mike
>> 
>> I think you are partly reimplementing functionality that already exists.
>> 
>> If you call AC_PATH_PROG(CAT, cat) and $CAT is already definied, then it will not change it. So if you call configure like this
>> configure CAT=/usr/local/bin/meow
>> then AC_PATH_PROG will not look for "cat", but will accept that CAT is set to /usr/local/bin/meow.
>> 
>> I think this is your needed use case..?

I have revised and significantly trimmed the changeset:

http://cr.openjdk.java.net/~mduigou/JDK-8031669/1/webrev/

Mike


More information about the build-dev mailing list