From 06987c2070ba5ddeba521fbfef674fffb45da9d0 Mon Sep 17 00:00:00 2001 From: crs Date: Mon, 27 Sep 2004 20:53:54 +0000 Subject: [PATCH] Changed version to 1.1.9. Changed configure.in to get version number from lib/common/Version.h so it only has to be changed there. --- configure.in | 8 ++++---- lib/common/Version.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/configure.in b/configure.in index 20165442..b180baba 100644 --- a/configure.in +++ b/configure.in @@ -16,10 +16,10 @@ dnl initialize AC_INIT(lib/common/common.h) AC_CONFIG_AUX_DIR(config) -dnl current version -MAJOR_VERSION=1 -MINOR_VERSION=1 -RELEASE_VERSION=8 +dnl current version, extracted from $srcdir/lib/common/Version.h +MAJOR_VERSION=`grep '#.*define VERSION "' $srcdir/lib/common/Version.h | sed -e 's/.*"\([0-9]*\)\.[0-9]*\.[0-9]*".*/\1/'` +MINOR_VERSION=`grep '#.*define VERSION "' $srcdir/lib/common/Version.h | sed -e 's/.*"[0-9]*\.\([0-9]*\)\.[0-9]*".*/\1/'` +RELEASE_VERSION=`grep '#.*define VERSION "' $srcdir/lib/common/Version.h | sed -e 's/.*"[0-9]*\.[0-9]*\.\([0-9]*\)".*/\1/'` dnl initialize automake AM_INIT_AUTOMAKE(synergy, $MAJOR_VERSION.$MINOR_VERSION.$RELEASE_VERSION) diff --git a/lib/common/Version.h b/lib/common/Version.h index 766843ad..bcf037a1 100644 --- a/lib/common/Version.h +++ b/lib/common/Version.h @@ -19,7 +19,7 @@ // set version macro if not set yet #if !defined(VERSION) -# define VERSION "1.1.8" +# define VERSION "1.1.9" #endif // important strings