Bump minimum required MPFR version to 2.4.0.

2012-05-07  Janne Blomqvist  <jb@gcc.gnu.org>

	* configure.ac: Bump minimum MPFR version to 2.4.0.
	* configure: Regenerated.

From-SVN: r187253
This commit is contained in:
Janne Blomqvist 2012-05-07 18:30:42 +03:00
parent 5be1632b7d
commit f7d6bc0160
3 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2012-05-07 Janne Blomqvist <jb@gcc.gnu.org>
* configure.ac: Bump minimum MPFR version to 2.4.0.
* configure: Regenerated.
2012-05-03 Olivier Hainque <hainque@adacore.com> 2012-05-03 Olivier Hainque <hainque@adacore.com>
* config/mh-ppc-aix (LDFLAGS): Quote $(CC). * config/mh-ppc-aix (LDFLAGS): Quote $(CC).

4
configure vendored
View File

@ -5335,7 +5335,7 @@ int
main () main ()
{ {
#if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1) #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
choke me choke me
#endif #endif
@ -5478,7 +5478,7 @@ rm -f core conftest.err conftest.$ac_objext \
# The library versions listed in the error message below should match # The library versions listed in the error message below should match
# the HARD-minimums enforced above. # the HARD-minimums enforced above.
if test x$have_gmp != xyes; then if test x$have_gmp != xyes; then
as_fn_error "Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+. as_fn_error "Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
their locations. Source code for these libraries can be found at their locations. Source code for these libraries can be found at
their respective hosting sites as well as at their respective hosting sites as well as at

View File

@ -1367,7 +1367,7 @@ if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then
AC_MSG_CHECKING([for the correct version of mpfr.h]) AC_MSG_CHECKING([for the correct version of mpfr.h])
AC_TRY_COMPILE([#include <gmp.h> AC_TRY_COMPILE([#include <gmp.h>
#include <mpfr.h>],[ #include <mpfr.h>],[
#if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1) #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
choke me choke me
#endif #endif
], [AC_TRY_COMPILE([#include <gmp.h> ], [AC_TRY_COMPILE([#include <gmp.h>
@ -1427,7 +1427,7 @@ if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then
# The library versions listed in the error message below should match # The library versions listed in the error message below should match
# the HARD-minimums enforced above. # the HARD-minimums enforced above.
if test x$have_gmp != xyes; then if test x$have_gmp != xyes; then
AC_MSG_ERROR([Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+. AC_MSG_ERROR([Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
their locations. Source code for these libraries can be found at their locations. Source code for these libraries can be found at
their respective hosting sites as well as at their respective hosting sites as well as at