[Top][All Lists]

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

Re: Passing flags to's in subdirs

From: Eric Blake
Subject: Re: Passing flags to's in subdirs
Date: Thu, 03 Feb 2011 07:51:15 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7

On 02/03/2011 06:12 AM, dzinoviev wrote:
> Hello,
> I have a project that uses autoconf/automake. There is the root directory
> and several subdirectories, each having a, and a in
> the root directory. I want each to have the same macro
> definition (say, FOO = bar). Can I do this in a centralized manner through
> If yes, how? If not, what would you recommend to keep
>'s consistent? Thank you!

There's no such thing as is processed by
autoconf, and is processed by automake.  If you want to
share values across multiple Makefiles, it sounds more like an automake
question for what to put in your  So I'm not quite sure how
best to answer your question, other than to say that yes, automake
supports nesting sub-projects with their own while still
allowing the child projects to inherit values substituted in the parent
project configure.

Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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