>> Note that ifdef only tests whether a variable has a value. It does not
>> expand the variable to see if that value is nonempty. Consequently, tests
>> using ifdef return true for all definitions except those like foo =. To
>> test for an empty value, use ifeq ($(foo),).

>The paragraph that begins 'Note that ifdef only tests...' seems to be
>wrong in a suble way.  Although it is correct for recusively expanded
>variables, simply expanded variables that are assigned values that
>expand empty can still be undefined.

        Actually, the assignment  in a simply expanded variable is
 atomic, so the RHS is expanded, and the variable is assigned an empty
 value, so this is, in my opinion, correct. In other words, We are not
 assigning something that will subsequently ge expanded to empty, we are
 assigning the empty value directly

        manoj
-- 
If all the world's a stage, I want to operate the trap door. Paul Beatty
Manoj Srivastava <sriva...@acm.org> <http://www.golden-gryphon.com/>  
4096R/C5779A1C E37E 5EC5 2A01 DA25 AD20  05B6 CF48 9438 C577 9A1C

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to