diff options
author | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2008-11-18 12:33:54 +0000 |
---|---|---|
committer | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2008-11-18 12:33:54 +0000 |
commit | 2bcf386906c68ba04b5da2da7989ec06861ebc2b (patch) | |
tree | 5571774c99df09c367f3039e0c756c2653d2fc17 | |
parent | 82af84f03230fbcfe6eec506114831307cd3f2e8 (diff) | |
download | mpc-2bcf386906c68ba04b5da2da7989ec06861ebc2b.tar.gz |
consistently require gmp >= 4.2.2
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@334 211d60ee-9f03-0410-a15a-8952a2c7a4e4
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | README.dev | 8 | ||||
-rw-r--r-- | configure.ac | 6 |
3 files changed, 8 insertions, 8 deletions
@@ -8,7 +8,7 @@ Changes in version 0.5.1: MPC_VERSION_PATCHLEVEL, MPC_VERSION_STRING - references to number parts: mpc_realref and mpc_imagref - Test framework rewritten - - Configure checks for recent gmp (>= 4.2) and mpfr (>= 2.3.1) + - Configure checks for recent gmp (>= 4.2.2) and mpfr (>= 2.3.1) libraries - New configure options: --with-gmp-lib, --with-gmp-include, --with-mpfr-lib, and --with-mpfr-include @@ -11,12 +11,12 @@ Creating a new release ---------------------- 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 + in INSTALL, and in src/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. -3) Execute "autoreconf; touch doc/mpc.texi; make dist". + version numbers of gmp and mpfr in configure.ac, INSTALL and + doc/mpc.texi are correct. +3) Execute "autoreconf; touch doc/mpc.texi; make distcheck". This updates the date and version number in doc/version.texi and creates the tarball for distribution. 4) Create an svn tag from inside the svn root: diff --git a/configure.ac b/configure.ac index 776fb26..650da39 100644 --- a/configure.ac +++ b/configure.ac @@ -97,15 +97,15 @@ AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[ #include "gmp.h" -#if (__GNU_MP_VERSION*100 + __GNU_MP_VERSION_MINOR*10 < 420) -# error "min GMP version is 4.2" +#if (__GNU_MP_VERSION*100 + __GNU_MP_VERSION_MINOR*10 < 422) +# error "min GMP version is 4.2.2" error #endif ]])], [AC_MSG_RESULT(yes)], [ AC_MSG_RESULT(no) - AC_MSG_ERROR([GMP version >= 4.2 required]) + AC_MSG_ERROR([GMP version >= 4.2.2 required]) ]) # Check for a recent MPFR |