[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: autoconf 2.61: AC_DEFINE variable with parenthesis
From: |
Andrey Simonenko |
Subject: |
Re: autoconf 2.61: AC_DEFINE variable with parenthesis |
Date: |
Tue, 19 Dec 2006 13:15:17 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Hello again,
On Mon, Dec 18, 2006 at 07:37:28PM +0100, Stepan Kasal wrote:
> Hello Andrey,
>
> On Mon, Dec 18, 2006 at 03:40:08PM +0200, Andrey Simonenko wrote:
> > > AC_DEFINE([DEF(x)], [somevalue], [A macro to do a woo.])
> > ^^^^^^^^
> > As I understand this trick will not be supported in next versions
> > of autoconf, so I reorganize logic of my .h files and now only simple
> > identifiers (letters, digits and underline) are used [...]
>
> indeed, it seems that the defines without parameters are sufficient
> to transfer the findigs of configure. If you have a use case which
> shows that the (now deprecated) feature might be actually useful, we
> would be glad to hear about it.
For example macro with arguments, depending on configure tests
its value can be different. In config.h.in there can be "#undef DEF"
(written by hands or generated by autoheader) and configure can
change this line to "#define DEF(x) somevalue", where "somevalue"
can or can't use x.
AC_CONFIG_HEADERS regression (was: Re: autoconf 2.61: AC_DEFINE variable with parenthesis), Stepan Kasal, 2006/12/15
Re: autoconf 2.61: AC_DEFINE variable with parenthesis, Paul Eggert, 2006/12/15
Message not available