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