bug-automake
[Top][All Lists]
Advanced

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

Re: (wishlist) Automated lib-config script generation


From: Tom Tromey
Subject: Re: (wishlist) Automated lib-config script generation
Date: 03 Aug 2001 22:19:21 -0600

>>>>> "Roger" == Roger Leigh <address@hidden> writes:

Roger> AC_CONFIG_FILES(translit([$1], [A-Z], [a-z])-config, chmod +x 
translit([$1], [A-Z], [a-z])-config)
Roger> ])

Roger> However, it does not work with automake:

Yes, this is a known problem.

Roger> It seems as though automake parses configure.ac, but does not
Roger> properly expand the macros

Exactly.  Automake is currently rather dumb about how it does this
parsing.

In the future Automake will use autoconf's tracing facility, so
hopefully this problem will go away.

Roger> I suppose AC_CONFIG_COMMANDS could be used instead, but it's not as
Roger> clean.  If automake had something like AM_IGNORE_FILE(), which could
Roger> be given m4 code as well as literals, that would solve the problem.

The problem isn't that complex.  It is just that automake doesn't know
that the argument to AC_CONFIG_FILES is computed.
I've made a note of this; hopefully I'll have something (perhaps just
a hack) for 1.5.

Tom



reply via email to

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