From 360d4522c42206d15ea09f4254e4894ff3b628c2 Mon Sep 17 00:00:00 2001
From: "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu>
Date: Mon, 30 Nov 2009 06:12:16 +0000
Subject: [PATCH] configure.ac: Update minimum MPC version to 0.8.

	* configure.ac: Update minimum MPC version to 0.8.
	* configure: Regenerate.

gcc:
	* doc/install.texi: Update minimum MPC version to 0.8.

From-SVN: r154750
---
 ChangeLog            | 5 +++++
 configure            | 3 ++-
 configure.ac         | 3 ++-
 gcc/ChangeLog        | 4 ++++
 gcc/doc/install.texi | 2 +-
 5 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a9d99bbd2962..1a4989f6b883 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+	* configure.ac: Update minimum MPC version to 0.8.
+	* configure: Regenerate.
+
 2009-11-21  Sebastian Pop  <sebpop@gmail.com>
 
 	* configure.ac: Check for version 0.15.5 or later revision of CLooG.
diff --git a/configure b/configure
index d65bbe22dcbf..d7d7e124e865 100755
--- a/configure
+++ b/configure
@@ -5530,7 +5530,7 @@ int
 main ()
 {
 
-    #if MPC_VERSION < MPC_VERSION_NUM (0,7,0)
+    #if MPC_VERSION < MPC_VERSION_NUM (0,8,0)
     choke me
     #endif
 
@@ -5615,6 +5615,7 @@ main ()
     mpc_neg (n, n, MPC_RNDNN);
     mpc_sqr (n, n, MPC_RNDNN);
     mpc_pow (n, n, n, MPC_RNDNN);
+    mpc_acosh (n, n, MPC_RNDNN);
     mpc_clear (n);
 
   ;
diff --git a/configure.ac b/configure.ac
index 2915932534e9..c9c5f0ab93fc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1367,7 +1367,7 @@ if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then
     CFLAGS="$CFLAGS $mpcinc"
     AC_MSG_CHECKING([for the correct version of mpc.h])
     AC_TRY_COMPILE([#include <mpc.h>],[
-    #if MPC_VERSION < MPC_VERSION_NUM (0,7,0)
+    #if MPC_VERSION < MPC_VERSION_NUM (0,8,0)
     choke me
     #endif
     ], [AC_MSG_RESULT([yes]); have_mpc=maybe],
@@ -1414,6 +1414,7 @@ if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then
     mpc_neg (n, n, MPC_RNDNN);
     mpc_sqr (n, n, MPC_RNDNN);
     mpc_pow (n, n, n, MPC_RNDNN);
+    mpc_acosh (n, n, MPC_RNDNN);
     mpc_clear (n);
     ], [AC_MSG_RESULT([yes]); have_mpc=yes],
        [AC_MSG_RESULT([no]); have_mpc=no; mpclibs= ; mpcinc= ])
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 63a1924c9b63..351ddd6f1f3f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2009-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+	* doc/install.texi: Update minimum MPC version to 0.8.
+
 2009-09-09  Segher Boessenkool  <segher@kernel.crashing.org>
 
 	* config/rs6000/rs6000.md (fnmaddsf4_powerpc_1): Remove
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index be7e69f50181..a98c45fd39e4 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -344,7 +344,7 @@ not installed in your default library search path.
 
 Necessary to build libgcj, the GCJ runtime.
 
-@item MPC Library version 0.7.0 (or later)
+@item MPC Library version 0.8.0 (or later)
 
 Optional when building GCC@.  Having this library will enable
 additional optimizations on complex numbers.  It can be downloaded
-- 
GitLab