Hi Sébastien, On 2021-08-31, Sébastien Hinderer <Sebastien.Hinderer@xxxxxxxx> 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 generated header is deleted, then I did run autoconf > and configure again, but the produced header is exactly as if I didn't > add a third argument to my macro. > > The macro call looks like this: > > AC_DEFINE([PKG_VERSION_MAJOR], [PKG__VERSION_MAJOR], > [The major number of the current PKG version]) The third argument to AC_DEFINE only has any effect when autoheader is used to generate config.h.in. So if you just "run autoconf and configure again" that won't be sufficient to do anything, you also need to run autoheader to regenerate config.h.in with the new descriptions. Cheers, Nick