Pipe the expression through `dc' so we get a real number.

1998-12-03  Martin Baulig  <martin@home-of-linux.org>

	* LIBGTOP-VERSION (LIBGTOP_VERSION_CODE): Pipe the expression
	through `dc' so we get a real number.
This commit is contained in:
Martin Baulig
1998-12-03 16:14:48 +00:00
committed by Martin Baulig
parent c90462bc26
commit 0b315c266b
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
1998-12-03 Martin Baulig <martin@home-of-linux.org>
* LIBGTOP-VERSION (LIBGTOP_VERSION_CODE): Pipe the expression
through `dc' so we get a real number.
1998-12-03 Martin Baulig <martin@home-of-linux.org> 1998-12-03 Martin Baulig <martin@home-of-linux.org>
LibGTop now requires gettext >= 0.10.35. LibGTop now requires gettext >= 0.10.35.

View File

@@ -18,7 +18,7 @@ LIBGTOP_SERVER_VERSION=3
# Don't change this # Don't change this
LIBGTOP_VERSION=$LIBGTOP_MAJOR_VERSION.$LIBGTOP_MINOR_VERSION.$LIBGTOP_MICRO_VERSION LIBGTOP_VERSION=$LIBGTOP_MAJOR_VERSION.$LIBGTOP_MINOR_VERSION.$LIBGTOP_MICRO_VERSION
LIBGTOP_VERSION_CODE=`expr $LIBGTOP_MAJOR_VERSION*1000000+$LIBGTOP_MINOR_VERSION*1000+$LIBGTOP_MICRO_VERSION` LIBGTOP_VERSION_CODE=`echo "$LIBGTOP_MAJOR_VERSION 1000000 * $LIBGTOP_MINOR_VERSION 1000 * + $LIBGTOP_MICRO_VERSION + p q" | dc`
# For automake. # For automake.
VERSION=$LIBGTOP_VERSION VERSION=$LIBGTOP_VERSION