Dnia Mon, Sep 04, 2023 at 02:10:05PM +0300, Dima Pasechnik napisał(a):
> 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?

There is Makefile variable VERSION which takes value from configure
PACKAGE_STRING, this is used by main FriCAS executable.  You
probably want version alone, without package name, that is
PACKAGE_VERSION both in configure and in Makefile-s.

-- 
                              Waldek Hebisch

-- 
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/ZPXAYa%2BDWobfErvv%40mail.math.uni.wroc.pl.

Reply via email to