Re: Automake and directories

Jukka Zitting <[email protected]> Fri, 17 Feb 2006 17:29:03 +0200
Newsgroups gmane.comp.web.midgard.devel
Message-ID <[email protected]>
Hi,

On 2/17/06, Piotras <[email protected]> wrote:
> I am not sure I follow you. This should returns constant defined in header.
> Why function ten?

It's a difference between compile- and runtime configuration. For
example if I first install midgard from standard binary packages, but
would then want to compile a new version of the midgard-core library
using custom directory paths. Now midgard-core would use the custom
paths, but the higher level components would continue using the
standard paths. Using a function guarantees that all components will
always use the same locations.

BR,

Jukka Zitting

--
Yukatan - http://yukatan.fi/ - [email protected]
Software craftmanship, JCR consulting, and Java development