Updating libbson's or libmongoc's version in all the places it's declared is onerous and extremely error-prone. I often release tarballs with the wrong version number declared in one of several spots.
Update the build systems (Autoconf and CMake scripts) to read current version (usually a prerelease like x.y.z-dev) and latest release version from one place and substitute them everywhere they're used.
- related to
-
CDRIVER-1027 When running src/libmongoc/build/autotools/Versions.m4 out of scope, VERSION_* is cat'ed from the wrong directory
- Closed
-
CDRIVER-1035 libmongoc CMake build broken in 1.2.2
- Closed
-
CDRIVER-1059 string(CONCAT) not supported by all CMake versions
- Closed
-
CDRIVER-1119 m4_esyscmd_s not defined in old autoconf
- Closed