[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (wishlist) Automated lib-config script generation
From: |
Roger Leigh |
Subject: |
Re: (wishlist) Automated lib-config script generation |
Date: |
Sun, 5 Aug 2001 19:11:05 +0100 |
User-agent: |
Mutt/1.2.5i |
On Fri, Aug 03, 2001 at 10:19:21PM -0600, Tom Tromey wrote:
> >>>>> "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.
Great.
> 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.
OK. My use of it is not essential. It's easy to make a note to users
of the macro to put the line in manually. I look forward to seeing
automake deal with this using autoconf's tracing facility in the future.
Thanks,
Roger
--
Roger Leigh ** Registration Number: 151826, http://counter.li.org **
Need Epson Stylus Utilities? http://gimp-print.sourceforge.net/
For GPG Public Key: finger address@hidden or see public keyservers.