STR-158: strc --version: use a C macro instead of generated .str module
It is annoying that the version is in the bootstrapped sources.
Invoke XT_TERM_DEFINE in confure.ac.
Version can be retrieved with:
———————————————————–
/**
* Returns the package version as defined by Autoconf.
*
* Type : _ -> String
*/
strc-version-number = prim(“VERSION_TERM”)
———————————————————–Note that this is not the PACKAGE_VERSION variable: that variable is not modified by the XT_PRE_RELEASE macro. Only VERSION includes the SVN revision number.
I’ll not implement it immediately, since the strc compiler has been forked.
Submitted on 27 July 2004 at 18:40
Log in to post comments