bug-automake
[Top][All Lists]
Advanced

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

Re: setting src_foo_CPPFLAGS in non-recursive build


From: Peter Johansson
Subject: Re: setting src_foo_CPPFLAGS in non-recursive build
Date: Mon, 14 Sep 2009 16:26:01 -0400
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

Hi Ralf,

Ralf Wildenhues wrote:
I've never seen --install put in ACLOCAL_AMFLAGS.  Does this cause any
issues?  It could maybe have unwanted effects if triggered on a user
system.

You mean that aclocal possibly will upgrade M4 files (out of my control), which might cause problems downstream?

I'm gonna remove that from my Makefile.ams.
AM_DEFAULT_SOURCE_EXT = .cc
AM_CPPFLAGS =
src_foo_CPPFLAGS = -I`pwd`/include

This affects the sources of src/foo.  If you want src/foo2 sources to
also use these flags, then also set src_foo2_CPPFLAGS.
Yes, of course. It was a typo, and was supposed to be

src_foo2_CPPFLAGS = -I`pwd`/include

and with that modification everything works fine. Going back to my original 
project, I found a similar typo :( So now everything works perfectly fine. 
Sorry about the noise.

Thanks,
Peter



--
Peter Johansson

svndigest maintainer, http://dev.thep.lu.se/svndigest
yat maintainer,       http://dev.thep.lu.se/yat





reply via email to

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