From fdbc0cfa71f7d660855098a609175ba384259529 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Fri, 13 Feb 2009 18:00:03 +0200 Subject: 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. --- src/xz/message.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xz') diff --git a/src/xz/message.c b/src/xz/message.c index 33eb0b3b..fd519c8f 100644 --- a/src/xz/message.c +++ b/src/xz/message.c @@ -892,7 +892,7 @@ message_version(void) { // It is possible that liblzma version is different than the command // line tool version, so print both. - printf("xz " PACKAGE_VERSION "\n"); + printf("xz " LZMA_VERSION_STRING "\n"); printf("liblzma %s\n", lzma_version_string()); my_exit(E_SUCCESS); } -- cgit v1.2.3