mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
Use LZMA_VERSION_STRING instead of PACKAGE_VERSION.
Those are the same thing, and the former makes it a bit easier to build the code with other build systems, because one doesn't need to update the version number into custom config.h. This change affects only lzmainfo. Other tools were already using LZMA_VERSION_STRING.
This commit is contained in:
parent
084c60d318
commit
d3cd7abe85
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ _("Usage: %s [--help] [--version] [FILE]...\n"
|
||||||
static void lzma_attribute((noreturn))
|
static void lzma_attribute((noreturn))
|
||||||
version(void)
|
version(void)
|
||||||
{
|
{
|
||||||
puts("lzmainfo (" PACKAGE_NAME ") " PACKAGE_VERSION);
|
puts("lzmainfo (" PACKAGE_NAME ") " LZMA_VERSION_STRING);
|
||||||
tuklib_exit(EXIT_SUCCESS, EXIT_FAILURE, true);
|
tuklib_exit(EXIT_SUCCESS, EXIT_FAILURE, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue