Skip to content

Commit

Permalink
More streamlining of version number. Fixes problems with osx version …
Browse files Browse the repository at this point in the history
…displayed.
  • Loading branch information
ckolivas committed Mar 21, 2011
1 parent 131d4c9 commit 68cca4d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
6 changes: 3 additions & 3 deletions configure.ac
Expand Up @@ -29,9 +29,9 @@ AC_PROG_LIBTOOL
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
m4_ifdef([v_rev], , [m4_define([v_rev], [0])])
m4_ifdef([v_rel], , [m4_define([v_rel], [])])
AC_DEFINE_UNQUOTED(VMAJ, [v_maj], [Major version])
AC_DEFINE_UNQUOTED(VMIN, [v_min], [Minor version])
AC_DEFINE_UNQUOTED(VMIC, [v_mic], [Micro version])
AC_DEFINE_UNQUOTED(LRZIP_MAJOR_VERSION, [v_maj], [Major version])
AC_DEFINE_UNQUOTED(LRZIP_MINOR_VERSION, [v_min], [Minor version])
AC_DEFINE_UNQUOTED(LRZIP_MINOR_SUBVERSION, [v_mic], [Micro version])
version_info="lt_rev:lt_cur:lt_age"
release_info="v_rel"
AC_SUBST(version_info)
Expand Down
4 changes: 0 additions & 4 deletions lrzip_private.h
Expand Up @@ -20,10 +20,6 @@
#ifndef LRZIP_PRIV_H
#define LRZIP_PRIV_H

#define LRZIP_MAJOR_VERSION VMAJ
#define LRZIP_MINOR_VERSION VMIN
#define LRZIP_MINOR_SUBVERSION VMIC

#define NUM_STREAMS 2
#define STREAM_BUFSIZE (1024 * 1024 * 10)

Expand Down
2 changes: 1 addition & 1 deletion main.c
Expand Up @@ -168,7 +168,7 @@ static rzip_control control;

static void usage(void)
{
print_output("lrzip version %d.%d%d\n", LRZIP_MAJOR_VERSION, LRZIP_MINOR_VERSION, LRZIP_MINOR_SUBVERSION);
print_output("lrzip version %s\n", PACKAGE_VERSION);
print_output("Copyright (C) Con Kolivas 2006-2011\n");
print_output("Based on rzip ");
print_output("Copyright (C) Andrew Tridgell 1998-2003\n\n");
Expand Down

0 comments on commit 68cca4d

Please sign in to comment.