Hi Jürgen,
On Mon, Mar 31, 2008 at 06:34:47PM +0200, Jürgen Kilb wrote:
make was the problem :-(
It works with a fresh build make-3.81
[EMAIL PROTECTED]:~/make-3.81 cd ..
[EMAIL PROTECTED]:~ make-3.81/make FOO= BAR=
[EMAIL PROTECTED]:~ make-3.81/make FOO=y BAR=
[EMAIL PROTECTED]:~
On Tue, Apr 01, 2008 at 12:25:55PM +0200, Jürgen Kilb wrote:
Could you please try again, with latest trunk (= 7901)? I've applied
the patch below, which should also work with make 3.80.
It's now OK.
Great! I suppose it's better to fix it in that way, than relying on make
newer than 3.81
Hi,
[EMAIL PROTECTED] wrote on 31.03.2008 17:05:35:
So the arguments are expanded as you described, the $(and) function
expands to
the expansion of the last argument (y), which is != nothing.
Should be right. Stand alone example:
[EMAIL PROTECTED]:~$ cat Makefile
BAZ=$(and
On Mon, Mar 31, 2008 at 05:54:09PM +0200, Jürgen Kilb wrote:
If i do the same, the result is different... but why ?
[EMAIL PROTECTED]:~ cat Makefile
BAZ=$(and $(FOO),$(BAR))
all:
@echo $(BAZ)
[EMAIL PROTECTED]:~ make FOO= BAR=
[EMAIL PROTECTED]:~ make FOO=y BAR=
[EMAIL
Hi,
[EMAIL PROTECTED] wrote on 31.03.2008 18:22:23:
On Mon, Mar 31, 2008 at 05:54:09PM +0200, Jürgen Kilb wrote:
If i do the same, the result is different... but why ?
[EMAIL PROTECTED]:~ cat Makefile
BAZ=$(and $(FOO),$(BAR))
all:
@echo $(BAZ)
[EMAIL PROTECTED]:~ make