Hi Akim, > Here's my proposal to update the check for libtextstyle. > > Cheers! > > commit 76c00e218869dab03ec4a1f503495e0d729d0b97 > Author: Akim Demaille <akim.demai...@gmail.com> > Date: Sun Jul 26 18:00:10 2020 +0200 > > libtextstyle: check the API of the latest release > > * m4/libtextstyle.m4 (gl_LIBTEXTSTYLE): Require ostream_printf and > styled_ostream_get_hyperlink_ref.
Having thought a while about it... I would prefer that users have the possibility to request any libtextstyle vs. request a libtextstyle which defines ostream_printf. There are two possibilities to implement that: (a) Turn 'libtextstyle' into a module which, additionally, requires an explicit version number e.g. gl_LIBTEXTSTYLE([0.20.5]). (b) Leave module 'libtextstyle' as it is, and define a new module 'libtextstyle-0.20.5' that does what you need. Likewise for 'libtextstyle-optional'. Since (a) is not backward compatible and also not the way the modules libsigsegv, libunistring, libgmp work, I would prefer (b). But it would require that you change bison's bootstrap.conf. Would that be OK with you? Bruno