help-gnu-utils
[Top][All Lists]
Advanced

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

Re: gmake: testing if a var is [un]defined


From: Ernest
Subject: Re: gmake: testing if a var is [un]defined
Date: Fri, 14 Jan 2005 10:08:52 -0600
User-agent: Xnews/5.04.25

John Graham-Cumming <antispam@jgc.org> wrote in
34ppttF49854lU1@individual.net:">news:34ppttF49854lU1@individual.net: 

> You might find it's better to have 'defined' return an empty string
> for 'no', and a non-empty string for 'yes' if you plan to use the
> result of 'defined' in a $(if):

Yep, agreed.  Thanks for the confirmation and cleaner implementations, 
John!

Cheers,
Ernest

reply via email to

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