On Mar 10, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote:
>>>>>> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes:
Alexandre> How about simply not defining it at all? People can always
Alexandre> AC_DEFINE or AC_SUBST them on their own.
> Hm, right, but it is so common, that providing a means to shorten the
> configure.in would be welcome.
As long as there's a way to avoid having them defined, I'm all for
it.
> AC_SUBST is cost less indeed
Not if you use automake. It will cause every single Makefile to
contain a definition of the AC_SUBSTed variable.
> AC_DEFINE is painful: you have to set the value, and give the doc
> string.
I don't recall having ever needed the PACKAGE name #defined. The
VERSION usually comes in handy, but I don't see a reason to define
them both by default.
> About AC_SUBST, I always wondered why we don't have
> AC_SUBST(Var, Val)
Because you haven't posted a patch that implements this yet? :-)
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/ Enjoy Guaranį
Cygnus Solutions, a Red Hat company aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org} Write to mailing lists, not to me