autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Possible bug in Makefile 3.81


From: Olly Betts
Subject: Re: Possible bug in Makefile 3.81
Date: Mon, 26 Nov 2007 12:09:12 +0000 (UTC)
User-agent: slrn/0.9.8.1pl1 (Debian)

On 2007-11-21, Karl Berry <address@hidden> wrote:
> Since there is no reason to prefer [, it is good to keep using test,
> because of the quoting, and for consistency with all the existing code
> that does so.

Using `[' is better in a particular case in makefiles - there the
Solaris VPATH rewriting feature can mangle commands containing `test'
in rules where `test' is one of the dependencies it rewrites.

I've actually been bitten by this issue, and it took a while to twig
what was going on as I'd not encountered this feature before.

Cheers,
    Olly





reply via email to

[Prev in Thread] Current Thread [Next in Thread]