automake
[Top][All Lists]
Advanced

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

Re: How to get AC_DEFINE to generate a macro, e.g., #define incr(x) ((x)


From: Thien-Thi Nguyen
Subject: Re: How to get AC_DEFINE to generate a macro, e.g., #define incr(x) ((x)+1) ?
Date: 09 Jun 2005 18:07:49 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Fred Proctor <address@hidden> writes:

> How can one get AC_DEFINE to define a variable with an argument
> list?  I want to do something like this:
> 
> AC_DEFINE(incr(x),((x)+1),"increment")

i think either you misunderstand AC_DEFINE or i misunderstand you.
where in the documentation is the possibility of such a construct
suggested?

thi




reply via email to

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