diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2009-02-13 18:00:03 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2009-02-13 18:00:03 +0200 |
commit | fdbc0cfa71f7d660855098a609175ba384259529 (patch) | |
tree | ee4416f50124fbbb8142e14eeee345fa4236c726 /src/xzdec | |
parent | Fix handling of integrity check type in the xz command line tool. (diff) | |
download | xz-fdbc0cfa71f7d660855098a609175ba384259529.tar.xz |
Changed how the version number is specified in various places.
Now configure.ac will get the version number directly from
src/liblzma/api/lzma/version.h. The intent is to reduce the
number of places where the version number is duplicated. In
future, support for displaying Git commit ID may be added too.
Diffstat (limited to 'src/xzdec')
-rw-r--r-- | src/xzdec/xzdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xzdec/xzdec.c b/src/xzdec/xzdec.c index 44543f4d..57e98776 100644 --- a/src/xzdec/xzdec.c +++ b/src/xzdec/xzdec.c @@ -101,7 +101,7 @@ help(void) static void lzma_attribute((noreturn)) version(void) { - printf(TOOL_FORMAT "dec " PACKAGE_VERSION "\n" + printf(TOOL_FORMAT "dec " LZMA_VERSION_STRING "\n" "liblzma %s\n", lzma_version_string()); my_exit(); |