Description not expanded in a call to AC_DEFINE

2021-08-31 Thread Sébastien Hinderer
Dear all, I just added a bunch of AC_DEFINE invocations to my configure.ac, with two arguments for each of them: a symbol name and a value. All of them are expanded correctly and the expected header file is generated. As the next step, I wanted to add a description as the third argument, hoping

Re: Description not expanded in a call to AC_DEFINE

2021-08-31 Thread Nick Bowler
Hi Sébastien, On 2021-08-31, Sébastien Hinderer wrote: [...] > As the next step, I wanted to add a description as the third argument, > hoping to find this description in the generated header file as > documented, but that does not work. I did cleanupu the project to make > sure the ancient gener

Re: Description not expanded in a call to AC_DEFINE

2021-08-31 Thread Sébastien Hinderer
Dear Nick, Many thanks for your prompt and helpful response! So in my case, the file in question is called "version.h", so am I thus correct that the description mechanism will not work and that I better put the comments, if any, in version.h.in? Thanks, Sébastien.

Re: Description not expanded in a call to AC_DEFINE

2021-08-31 Thread Nick Bowler
On 2021-08-31, Sébastien Hinderer wrote: > Many thanks for your prompt and helpful response! > > So in my case, the file in question is called "version.h", so am I thus > correct that the description mechanism will not work and that I better > put the comments, if any, in version.h.in? Yes, if yo