aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2009-04-08 20:25:10 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2009-04-08 20:25:10 +0000
commita3337ea2647c69d66e86feedc2ab7ceb427df3da (patch)
treeaabc8c66041fca7d345eecf15cd5f914860d7ce1 /configure.ac
parent4f0ae266e0a4b49ee029b37934fa952e0bd66b6d (diff)
downloadgcc-a3337ea2647c69d66e86feedc2ab7ceb427df3da.zip
gcc-a3337ea2647c69d66e86feedc2ab7ceb427df3da.tar.gz
gcc-a3337ea2647c69d66e86feedc2ab7ceb427df3da.tar.bz2
configure.ac: Bump minimum GMP/MPFR versions to 4.2 and 2.3.1.
* configure.ac: Bump minimum GMP/MPFR versions to 4.2 and 2.3.1. * configure: Regenerate. gcc: * doc/install.texi: Update minimum GMP version. Remove obsolete text in MPFR section. From-SVN: r145774
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index a34cbe1..2a8c746 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1264,7 +1264,7 @@ if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then
# Check GMP actually works
AC_MSG_CHECKING([for correct version of gmp.h])
AC_TRY_COMPILE([#include "gmp.h"],[
- #if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR < 1)
+ #if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR < 2)
choke me
#endif
], [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no]); have_gmp=no])
@@ -1272,11 +1272,11 @@ if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then
if test x"$have_gmp" = xyes; then
saved_LIBS="$LIBS"
LIBS="$LIBS $gmplibs"
- dnl MPFR 2.3.0 is acceptable, but MPFR 2.3.2 is better.
+ dnl MPFR 2.3.1 is acceptable, but MPFR 2.3.2 is better.
AC_MSG_CHECKING([for correct version of mpfr.h])
AC_TRY_LINK([#include <gmp.h>
#include <mpfr.h>],[
- #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,0)
+ #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
choke me
#endif
mpfr_t n;
@@ -1300,7 +1300,7 @@ if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then
CFLAGS="$saved_CFLAGS"
if test x$have_gmp != xyes; then
- AC_MSG_ERROR([Building GCC requires GMP 4.1+ and MPFR 2.3.2+.
+ AC_MSG_ERROR([Building GCC requires GMP 4.2+ and MPFR 2.3.2+.
Try the --with-gmp and/or --with-mpfr options to specify their locations.
Copies of these libraries' source code can be found at their respective
hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.