Hi Sebastien,

On 26/8/21 12:49 am, Sébastien Hinderer wrote:
Perhaps macros
are available that let one write some content to a file directly from
aclocal.m4?

There is a macro in the autoconf-archive (not part of autoconf) that let you write to a file at autoconf time. The code is very similar to what you've come up with, I believe.

https://www.gnu.org/software/autoconf-archive/ax_ac_print_to_file.html


Cheers,

Peter

Reply via email to