Subject: Re: Syntax of :? in Makefiles
To: None <>
From: Klaus Heinz <>
List: tech-userlevel
Date: 05/19/2007 19:00:07
Klaus Heinz wrote:

> If this extension can only be used as a test for a variable definition,
> the words "actually an expression" in the man page are misleading, IMO.

Ok, call me stupid. I don't know what went wrong with my previous tests,
but now I get "false" for


  	echo ${empty(TESTVAR):?true:false}

On the other hand, I still get an error for

  	echo ${empty(TESTVAR:Mbla):?true:false}

make: Bad conditional expression `empty(TESTVAR' in empty(TESTVAR?true:false

The missing closing parenthesis probably hints at some bug.