> Le 24 janv. 2019 à 02:08, Bruno Haible <[email protected]> a écrit :
>
> Hi Akim,
Hi Bruno,
>> This is what I get currently:
>>
>> cd bison && /bin/sh build-aux/missing automake-1.16 --gnu Makefile
>> lib/gnulib.mk:1677: warning: .PHONY was already defined in condition TRUE,
>> which includes condition RELOCATABLE_VIA_WRAPPER ...
>
> I've seen this warning also with respect to normal dependencies like
>
> foo.o : foo.c
> $(CC) $(CPPFLAGS) $(CFLAGS) -c foo.c
> if USE_XYZ
> foo.o : xyz.h
> endif
>
> It would be better if this case was fixed in Automake.
Well, you mean adding the feature :)
> But in the absence of Automake maintenance, your proposed patch is good.
> Maybe add a comment:
> # Automake warns about conditionally added dependencies to unconditionally
> defined targets.
I've added that. Thanks!