How about AC_INIT([LilyPond],m4_esyscmd(echo `VERSION.AC'))
The documentation says it is permissible to use m4_esyscmd as part of the package information strings in AC_INIT. Carl On 1/8/20, 11:49 AM, "lilypond-devel on behalf of d...@gnu.org" <lilypond-devel-bounces+c_sorensen=byu....@gnu.org on behalf of d...@gnu.org> wrote: On 2020/01/08 18:03:36, dak wrote: > > > > But re-reading your question, you're maybe proposing to have a file that is > > included by Autoconf when generating configure? I think that's not possible > with > > the documented functionality of Autoconf because you can only do very few > things > > before calling AC_INIT. I've not come across something that can read a file in > > that situation. > Shouldn't > AC_INIT([LilyPond], include(`VERSION.AC'), mailto:[bug-lilyp...@gnu.org], > [lilypond], [http://lilypond.org/]) > work? Hm, doesn't work. Looks like I need to look more closely at what autoconf does. https://codereview.appspot.com/549350043/