Hello Andrew,

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.

Best regards

Heinrich Schuchardt



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

Reply via email to