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.
This commit is contained in:
crs 2004-09-27 20:53:54 +00:00
parent 65ee423274
commit 06987c2070
2 changed files with 5 additions and 5 deletions

View File

@ -16,10 +16,10 @@ dnl initialize
AC_INIT(lib/common/common.h) AC_INIT(lib/common/common.h)
AC_CONFIG_AUX_DIR(config) AC_CONFIG_AUX_DIR(config)
dnl current version dnl current version, extracted from $srcdir/lib/common/Version.h
MAJOR_VERSION=1 MAJOR_VERSION=`grep '#.*define VERSION "' $srcdir/lib/common/Version.h | sed -e 's/.*"\([0-9]*\)\.[0-9]*\.[0-9]*".*/\1/'`
MINOR_VERSION=1 MINOR_VERSION=`grep '#.*define VERSION "' $srcdir/lib/common/Version.h | sed -e 's/.*"[0-9]*\.\([0-9]*\)\.[0-9]*".*/\1/'`
RELEASE_VERSION=8 RELEASE_VERSION=`grep '#.*define VERSION "' $srcdir/lib/common/Version.h | sed -e 's/.*"[0-9]*\.[0-9]*\.\([0-9]*\)".*/\1/'`
dnl initialize automake dnl initialize automake
AM_INIT_AUTOMAKE(synergy, $MAJOR_VERSION.$MINOR_VERSION.$RELEASE_VERSION) AM_INIT_AUTOMAKE(synergy, $MAJOR_VERSION.$MINOR_VERSION.$RELEASE_VERSION)

View File

@ -19,7 +19,7 @@
// set version macro if not set yet // set version macro if not set yet
#if !defined(VERSION) #if !defined(VERSION)
# define VERSION "1.1.8" # define VERSION "1.1.9"
#endif #endif
// important strings // important strings