aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common
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/liblzma/common
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/liblzma/common')
-rw-r--r--src/liblzma/common/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/common/common.c b/src/liblzma/common/common.c
index b1733973..b058a87e 100644
--- a/src/liblzma/common/common.c
+++ b/src/liblzma/common/common.c
@@ -34,7 +34,7 @@ lzma_version_number(void)
extern LZMA_API(const char *)
lzma_version_string(void)
{
- return PACKAGE_VERSION;
+ return LZMA_VERSION_STRING;
}