[Top][All Lists]

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

Re: relocatable-prog: avoid warnings from Automake

From: Akim Demaille
Subject: Re: relocatable-prog: avoid warnings from Automake
Date: Thu, 24 Jan 2019 07:38:31 +0100

> Le 24 janv. 2019 à 02:08, Bruno Haible <address@hidden> 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!

reply via email to

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