Hi Heinrich,

> in configure.ac I find
> AC_INIT([GLPK], [4.52.1], [[email protected]])
> 
> 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



_______________________________________________
Bug-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-glpk

Reply via email to