Akim Demaille wrote:

> What is the general policy wrt `optimizations' in automake vs leaving
> some job to make?  For instance there are many places with code like:
>
>                 if ($relative_dir eq '.')
>                 {
>                     push (@files, 'acconfig.h');
>                 }
>                 else
>                 {
>                     push (@files, '$(top_srcdir)/acconfig.h');
>                 }
>
> While it certainly more elegant from the Makefile point of view, it
> results in many little places in automake where the core code is
> ``polluted''.  Don't we want to continue like this?

Aside from optimization, there's another diffrence in the above.  The
first will be looked for in VPATH and the second won't be when
$(top_srcdir) is absolute.  Not sure this matters.

Derek

--
Derek Price                      CVS Solutions Architect ( http://CVSHome.org )
mailto:[EMAIL PROTECTED]     OpenAvenue ( http://OpenAvenue.com )
--
Always glad to share my ignorance - I've got plenty.




Reply via email to