summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2011-08-30 16:28:14 +0000
committerenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2011-08-30 16:28:14 +0000
commit13d109ebc995c1c881d637c5915ef93fa6dfc486 (patch)
treedfa3fc5bc8d126625d7c61597ea0e58302d17c16
parent7a8d0ffe89fc117c8603086f372ac7739f42f7a3 (diff)
downloadmpc-13d109ebc995c1c881d637c5915ef93fa6dfc486.tar.gz
configure.ac: add svn version to autoconf version
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1045 211d60ee-9f03-0410-a15a-8952a2c7a4e4
-rw-r--r--README.dev2
-rw-r--r--configure.ac3
-rw-r--r--doc/version.texi6
3 files changed, 7 insertions, 4 deletions
diff --git a/README.dev b/README.dev
index 66db2a1..ee192fe 100644
--- a/README.dev
+++ b/README.dev
@@ -19,6 +19,8 @@ Creating a new release
2) Check the version number in configure.ac ("AC_INIT (mpc, _version_...)"),
INSTALL, src/get_version.c, src/mpc.h (remove suffix "-dev" in
MPC_VERSION_STRING) and Makefile.vc.
+ In particular, comment definition of svnversion in configure.ac
+ to avoid that it is run by the user.
3) Verify that the API version in src/Makefile.am is correct.
4) Check that NEWS, BUGS and TODO are up to date, and that the minimal
version numbers of gmp and mpfr in configure.ac, INSTALL and
diff --git a/configure.ac b/configure.ac
index 4eb8ae7..41b3974 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,7 +22,8 @@ along with this program. If not, see http://www.gnu.org/licenses/ .
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.61)
-AC_INIT(mpc, 1.0.0-dev, mpc-discuss@lists.gforge.inria.fr)
+define([svnversion], esyscmd([svnversion -n]))
+AC_INIT(mpc, 1.0.0-dev-svnversion, mpc-discuss@lists.gforge.inria.fr)
AC_CONFIG_SRCDIR([src/mpc-impl.h])
AC_CONFIG_HEADER([config.h])
diff --git a/doc/version.texi b/doc/version.texi
index a5269f4..fe83c29 100644
--- a/doc/version.texi
+++ b/doc/version.texi
@@ -1,4 +1,4 @@
-@set UPDATED 29 August 2011
+@set UPDATED 30 August 2011
@set UPDATED-MONTH August 2011
-@set EDITION 1.0.0-dev
-@set VERSION 1.0.0-dev
+@set EDITION 1.0.0-dev-1044M
+@set VERSION 1.0.0-dev-1044M