automake-patches
[Top][All Lists]
Advanced

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

Re: magic variables for included fragments


From: Akim Demaille
Subject: Re: magic variables for included fragments
Date: Thu, 4 Dec 2008 09:30:45 +0100


Le 3 déc. 08 à 20:58, Ralf Wildenhues a écrit :

Hi Akim,

Hi Ralf,

Otherwise too many things go wrong
(especially the creation of .deps btw: automake does garbage if you
include a local.mk which defines foo_SOURCES = $(prefix)/foo.cc: it
creates '$(prefix)/.deps', and I really mean single quotes: the very
string '$(prefix)' not interpolated (which it can't, of course)).

Yep.  :-/

A while ago (I'm sure it's been more than a couple of years now),
ventured at changing depout.m4 to lift this limitation.  I did have
something working back then, but it required invoking `make' at
config.status time.  I dropped this idea as being unsuitable in the
presence of bugs (e.g., if `make' reinvokes configure, then there
can be an endless loop).  Maybe I should go back and look again,
for example writing out a separate makefile could help...

I have a silly question, but... is it really known for a fact that some Make out there do not support "include if it exists"? The true problem is that this is handled by config.status instead of Make itself.

While at it, I have another portability question: are there (alive) shells known not to support () for case patterns?

case $host in
  (*win*) abort;;
  (*)     dance;;
esac





reply via email to

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