automake-patches
[Top][All Lists]
Advanced

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

Re: automake/500: unnecessary -I options in DEFAULT_INCLUDES (make clutt


From: Stepan Kasal
Subject: Re: automake/500: unnecessary -I options in DEFAULT_INCLUDES (make clutter)
Date: Wed, 30 Aug 2006 14:34:53 +0200
User-agent: Mutt/1.4.2.1i

Hello,

On Wed, Aug 30, 2006 at 09:34:59AM +0200, Alexandre Duret-Lutz wrote:
> On the other hand, I agree that `-I. -I.' is unsightly in non-VPATH builds.
> 
> [...] address@hidden@' and expand it to `-I.' or `-I. -I$(srcdir)' as needed?

but many projects do something like:

AM_CPPFLAGS = -Ithis -I$(srcdir)/this \
        -I$(top_builddir)/includes -I$(top_srcdir)/includes

Would you be pleased if they followed your lead and did something
like the following?

AM_CPPFLAGS = address@hidden@ \
        -I$(top_builddir)/address@hidden@

I do not think this is worth it.
After all, there is nothing wrong with `-I. -I.' in non-VPATH builds.

Stepan Kasal




reply via email to

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