aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2009-09-26 20:22:43 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2009-09-26 20:22:43 +0000
commit3e661154be1d40dff663c59ec56d0bca36c1dbbb (patch)
tree1a21bb407a74a2526e83595ae34452b611828eda
parentaefb83247b145011985a2600656af2a33e22803f (diff)
downloadgcc-3e661154be1d40dff663c59ec56d0bca36c1dbbb.zip
gcc-3e661154be1d40dff663c59ec56d0bca36c1dbbb.tar.gz
gcc-3e661154be1d40dff663c59ec56d0bca36c1dbbb.tar.bz2
configure.ac: Update minimum MPC version to 0.7.
* configure.ac: Update minimum MPC version to 0.7. * configure: Regenerate. gcc: * doc/install.texi: Update minimum MPC version to 0.7. From-SVN: r152207
-rw-r--r--ChangeLog5
-rwxr-xr-xconfigure3
-rw-r--r--configure.ac3
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/doc/install.texi2
5 files changed, 14 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 4757329..25ddde9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-09-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * configure.ac: Update minimum MPC version to 0.7.
+ * configure: Regenerate.
+
2009-09-25 Nick Clifton <nickc@redhat.com>
* configure.ac: Pass any --cache-file=/dev/null option on to
diff --git a/configure b/configure
index 9cce38a..263b934 100755
--- a/configure
+++ b/configure
@@ -5270,7 +5270,7 @@ int
main ()
{
- #if MPC_VERSION < MPC_VERSION_NUM (0,6,0)
+ #if MPC_VERSION < MPC_VERSION_NUM (0,7,0)
choke me
#endif
@@ -5354,6 +5354,7 @@ main ()
mpc_proj (n, n, MPC_RNDNN);
mpc_neg (n, n, MPC_RNDNN);
mpc_sqr (n, n, MPC_RNDNN);
+ mpc_pow (n, n, n, MPC_RNDNN);
mpc_clear (n);
;
diff --git a/configure.ac b/configure.ac
index 91b2bca..0e68f43 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1358,7 +1358,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,6,0)
+ #if MPC_VERSION < MPC_VERSION_NUM (0,7,0)
choke me
#endif
], [AC_MSG_RESULT([yes]); have_mpc=maybe],
@@ -1404,6 +1404,7 @@ if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then
mpc_proj (n, n, MPC_RNDNN);
mpc_neg (n, n, MPC_RNDNN);
mpc_sqr (n, n, MPC_RNDNN);
+ mpc_pow (n, 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 1fc1e4e..0bbadeb 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2009-09-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * doc/install.texi: Update minimum MPC version to 0.7.
+
2009-09-26 Gerald Pfeifer <gerald@pfeifer.com>
* doc/install.texi (Binaries): Remove reference to the binary
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 2880e67..5c74ebb 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.6.0 (or later)
+@item MPC Library version 0.7.0 (or later)
Optional when building GCC@. Having this library will enable
additional optimizations on complex numbers. It can be downloaded