autoconf-patches
[Top][All Lists]
Advanced

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

Re: [PATCH] AC_INIT: properly quote package name containing m4 macro


From: Ralf Wildenhues
Subject: Re: [PATCH] AC_INIT: properly quote package name containing m4 macro
Date: Thu, 17 Mar 2011 22:09:21 +0100
User-agent: Mutt/1.5.20 (2010-08-04)

Hi Eric,

* Eric Blake wrote on Thu, Mar 17, 2011 at 05:57:48PM CET:
> We have an existing use case that argues for unexpanded (automake's
> desire to write tests for dummy packages that use arbitrary names that
> happen to match m4 builtins that aren't in the m4_ reserved namespace).

Automake would be happy if only this worked
  AC_INIT([m4@&address@hidden@&address@hidden)

but it puts a number of extra dashes in PACKAGE_NAME and elsewhere.

I'm a bit cautious about your patch as well; AC_INIT is very widely
used, by almost every package using Autoconf.  There might be some
that rely on the current behavior, at least if it has been that way
for a long time.  (And at some point in the past, the behavior might
have been consistent ...)  Expanding user macros here can be useful.

Cheers,
Ralf



reply via email to

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