[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-glpk] glp_version returns wrong information
From: |
Andrew Makhorin |
Subject: |
Re: [Bug-glpk] glp_version returns wrong information |
Date: |
Wed, 31 Jul 2013 00:00:12 +0400 |
Hi Heinrich,
> in configure.ac I find
> AC_INIT([GLPK], [4.52.1], address@hidden)
>
> Yet glp_version returns "4.52". Same is true for glpsol --version.
>
> The reason is using redundant places to store version information.
> Configure.ac should be sole place to define the version.
>
> To avoid future errors I suggest you add to config.h.in the following line:
>
> #undef PACKAGE_VERSION
>
> The configure script will then write the version information into
> config.h. This string should be returned be glp_version, instead of
> using constants GLP_MAJOR_VERSION, and GLP_MINOR_VERSION defined in
> glpk.h. These constants can then be eliminated.
>
4.52.1 is an exception. I made this release only to fix a bug concerning
version information used in Debian GNU/Linux. Actually, 4.52.1 is
identical to 4.52, so there is no need to use 4.52.1 by anyone other
than a Debian maintainer.
Best regards,
Andrew Makhorin