mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-10-22 07:21:21 +00:00
fmtlib: require at least 6.1.0
This commit is contained in:
parent
a7366346ae
commit
34b4ef1fbd
7
NEWS.md
7
NEWS.md
@ -44,9 +44,10 @@
|
||||
For the GNU Compiler Collection (gcc) this means v7 or newer; for clang it
|
||||
means v4 or newer — the same versions required by earlier MKVToolNix
|
||||
versions.
|
||||
* MKVToolNix now requires version 4 of fmtlib or later for the
|
||||
`fmt::to_string` function. If a system-wide version is installed that's
|
||||
older, the bundled copy will be used.
|
||||
* MKVToolNix now requires version 6.1.0 of fmtlib or later for the
|
||||
`fmt::to_string` function and bugfixes to the formatting of floating point
|
||||
numbers. If a system-wide version is installed that's older, the bundled
|
||||
copy will be used.
|
||||
* The bundled version of fmtlib has been updated to release 6.2.1.
|
||||
|
||||
|
||||
|
@ -14,6 +14,10 @@ AC_CACHE_CHECK([fmt],[ac_cv_fmt],[
|
||||
AC_TRY_COMPILE([
|
||||
#include <fmt/format.h>
|
||||
#include <fmt/ostream.h>
|
||||
|
||||
#if !defined(FMT_VERSION) || (FMT_VERSION < 60100)
|
||||
#error fmtlib is too old, need 6.1.0 or later
|
||||
#endif
|
||||
],[
|
||||
fmt::format("{0:02}", fmt::to_string(4254));
|
||||
],[ac_cv_fmt=yes],[ac_cv_fmt=no])
|
||||
|
Loading…
Reference in New Issue
Block a user