|
From: | Peter Johansson |
Subject: | Re: m4 macro expansion problem |
Date: | Thu, 26 Aug 2021 10:26:08 +1000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |