aboutsummaryrefslogtreecommitdiff
path: root/src/xzdec/xzdec.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2009-02-13 18:00:03 +0200
committerLasse Collin <lasse.collin@tukaani.org>2009-02-13 18:00:03 +0200
commitfdbc0cfa71f7d660855098a609175ba384259529 (patch)
treeee4416f50124fbbb8142e14eeee345fa4236c726 /src/xzdec/xzdec.c
parentFix handling of integrity check type in the xz command line tool. (diff)
downloadxz-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/xzdec.c')
-rw-r--r--src/xzdec/xzdec.c2
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();