aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2010-10-08 16:53:20 +0300
committerLasse Collin <lasse.collin@tukaani.org>2010-10-08 16:53:20 +0300
commitd3cd7abe85ec7c2f46cf198b15c00d5d119df3dd (patch)
tree9bd5c0223232b4dce2946dba221e366a0d1dc405
parentconfigure.ac: Remove two unused defines. (diff)
downloadxz-d3cd7abe85ec7c2f46cf198b15c00d5d119df3dd.tar.xz
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.
-rw-r--r--src/lzmainfo/lzmainfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lzmainfo/lzmainfo.c b/src/lzmainfo/lzmainfo.c
index af8e66cc..b5f36320 100644
--- a/src/lzmainfo/lzmainfo.c
+++ b/src/lzmainfo/lzmainfo.c
@@ -43,7 +43,7 @@ _("Usage: %s [--help] [--version] [FILE]...\n"
static void lzma_attribute((noreturn))
version(void)
{
- puts("lzmainfo (" PACKAGE_NAME ") " PACKAGE_VERSION);
+ puts("lzmainfo (" PACKAGE_NAME ") " LZMA_VERSION_STRING);
tuklib_exit(EXIT_SUCCESS, EXIT_FAILURE, true);
}