[PATCH]: Require MPFR 2.2.1
Kaveh R. GHAZI
ghazi@caip.rutgers.edu
Sun Dec 3 13:57:00 GMT 2006
This patch updates configure to require MPFR 2.2.1 as promised here:
http://gcc.gnu.org/ml/gcc/2006-12/msg00054.html
Tested on sparc-sun-solaris2.10 using mpfr-2.2.1, mpfr-2.2.0 and an older
mpfr included with gmp-4.1.4. Only 2.2.1 passed (as expected).
I'd like to give everyone enough time to update their personal
installations and regression testers before installing this. Does one
week sound okay? If there are no objections, that's what I'd like to do.
Okay for mainline?
Thanks,
--Kaveh
2006-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* configure.in: Require MPFR 2.2.1.
* configure: Regenerate.
diff -rup orig/egcc-SVN20061201/configure.in egcc-SVN20061201/configure.in
--- orig/egcc-SVN20061201/configure.in 2006-12-02 11:42:39.788055391 -0500
+++ egcc-SVN20061201/configure.in 2006-12-02 11:46:42.687015448 -0500
@@ -1120,7 +1120,7 @@ if test x"$have_gmp" = xyes; then
AC_MSG_CHECKING([for correct version of mpfr.h])
AC_TRY_LINK([#include <gmp.h>
#include <mpfr.h>],[
-#if MPFR_VERSION_MAJOR < 2 || (MPFR_VERSION_MAJOR == 2 && MPFR_VERSION_MINOR < 2)
+#if MPFR_VERSION < MPFR_VERSION_NUM(2,2,1)
choke me
#endif
mpfr_t n; mpfr_init(n);
More information about the Gcc-patches
mailing list