diff options
author | Lluis Sanchez <lluis@xamarin.com> | 2014-01-08 22:00:12 +0400 |
---|---|---|
committer | Lluis Sanchez <lluis@xamarin.com> | 2014-01-08 22:00:12 +0400 |
commit | 9b9fd8aaa1336ab71ff63b9cfcbbcca920c74071 (patch) | |
tree | 7c8b3b7cc67a8e54388f6c137190170d25717a51 /main/configure.in | |
parent | 946b8089eed63b4285253758b4323cb4780cc13c (diff) |
Read the configuration version from a file
Diffstat (limited to 'main/configure.in')
-rw-r--r-- | main/configure.in | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/main/configure.in b/main/configure.in index 8179d4a454..7ca916394c 100644 --- a/main/configure.in +++ b/main/configure.in @@ -1,4 +1,4 @@ -AC_INIT([monodevelop], 4.2.3, [monodevelop-list@lists.ximian.com]) +AC_INIT([monodevelop], m4_esyscmd_s([grep ^Version version.txt|cut -d '=' -f 2|tr -d '\n']), [monodevelop-list@lists.ximian.com]) AC_PREREQ(2.53) AM_INIT_AUTOMAKE([1.10 tar-ustar]) AM_MAINTAINER_MODE @@ -12,9 +12,9 @@ ASSEMBLY_VERSION=4.0.0.0 # the C# side of things. It should be one of the following two formats: # 1) "VERSION_NUMBER" "2.0" # 2) "VERSION_NUMBER BUILD_TYPE BUILD_NUMBER" "2.0 Alpha 1" -PACKAGE_VERSION_LABEL="4.2.3" +PACKAGE_VERSION_LABEL="m4_esyscmd_s([grep ^Label version.txt|cut -d "=" -f 2|tr -d '\n'])" -COMPAT_ADDIN_VERSION=4.0 +COMPAT_ADDIN_VERSION=m4_esyscmd_s([grep ^CompatVersion version.txt|cut -d "=" -f 2|tr -d '\n']) AC_PATH_PROG(MONO, mono) AC_PATH_PROG(MCS, gmcs) @@ -356,6 +356,9 @@ echo "" echo "Configuration summary" echo "" echo " * Installation prefix = $prefix" +echo " * Version = $VERSION" +echo " * Version Label = $PACKAGE_VERSION_LABEL" +echo " * Compat Version = $COMPAT_ADDIN_VERSION" echo " * C# compiler = $CSC" echo " * Mono class library development extensions: $enable_monoextensions" echo " * Version control providers:" |