On Mon, 4 Sept 2023, 09:29 Ralf Hemmecke, <[email protected]> wrote: > > So, what is the variable in configure.ac to use > > to get the version? > > For FriCAS itself, it is set through AC_INIT. > > https://github.com/fricas/fricas/blob/master/configure.ac#L2 > > AC_INIT([FriCAS], [2023-06-17], > [[email protected]], > [fricas], > [https://fricas.github.io]) > > https://github.com/fricas/fricas/blob/r1.3.9/configure.ac#L2 > > AC_INIT([FriCAS], [1.3.9], > [[email protected]], > [fricas], > [https://fricas.github.io]) > > The Lisp, version is another thing. That is computed at configure time > and naturally depends on the options an what is available on the system. > > It is put at configure time into > > $fricas_lisp_flavor > $fricas_lisp_version >
I am asking as, unlike any other autoconfed project, FriCAS does not seem to have a dedicated version variable. Should one use PACKAGE_VERSION (this is what the documentation of AC_INIT says - it writes there the value of the 2nd parameter) ? Something else? > In the Makefile it is available in variables with all capital letters. > > https://github.com/fricas/fricas/blob/master/config/var-def.mk > > Ralf > > -- > You received this message because you are subscribed to the Google Groups > "FriCAS - computer algebra system" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/fricas-devel/ac0f2bd0-181b-60c2-566b-5f43914a0132%40hemmecke.org > . > -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/fricas-devel/CAAWYfq2OCwm9X3qnBTxnxpfA%2Bvy38hNA-0vfvjfsFp7FoNAg4g%40mail.gmail.com.
