summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2008-09-26 08:45:40 +0000
committerthevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2008-09-26 08:45:40 +0000
commit005c83cddfdf543d1d8554a262be32d475b2ce51 (patch)
tree898e64da9a86f15391ffdff0036376a53a2e8bc7
parentac5cc0bbc325dc44f245e1a65efb0379ce225dc7 (diff)
downloadmpc-005c83cddfdf543d1d8554a262be32d475b2ce51.tar.gz
src/mpc.h: add macros for mpc version number.
README.dev: update new release instructions. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@208 211d60ee-9f03-0410-a15a-8952a2c7a4e4
-rw-r--r--README.dev5
-rw-r--r--src/mpc.h6
2 files changed, 9 insertions, 2 deletions
diff --git a/README.dev b/README.dev
index a040a32..3554c8e 100644
--- a/README.dev
+++ b/README.dev
@@ -10,8 +10,9 @@ $ autoreconf -i
Creating a new release
----------------------
-1) Check the version number in configure.ac ("AC_INIT (mpc, _version_...)")
- and in INSTALL, and disactivate the -Werror option in configure.ac.
+1) Check the version number in configure.ac ("AC_INIT (mpc, _version_...)"),
+ in INSTALL, and in mpc.h (remove suffix in MPC_VERSION STRING"), and
+ disactivate the -Werror option in configure.ac.
2) Check that NEWS, BUGS and TODO are up to date, and that the minimal
version numbers of gmp and mpfr in INSTALL and doc/mpc.texi are
correct.
diff --git a/src/mpc.h b/src/mpc.h
index 9fb988d..ca9bb66 100644
--- a/src/mpc.h
+++ b/src/mpc.h
@@ -25,6 +25,12 @@ MA 02111-1307, USA. */
#include "gmp.h"
#include "mpfr.h"
+/* Define MPC version number */
+#define MPC_VERSION_MAJOR 0
+#define MPC_VERSION_MINOR 6
+#define MPC_VERSION_PATCHLEVEL 0
+#define MPC_VERSION_STRING "0.6.0-dev"
+
/* Check if stdio.h is included */
#if defined (_GMP_H_HAVE_FILE)
# define _MPC_H_HAVE_FILE 1