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.


Reply via email to