aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2009-09-29 21:31:07 +0000
committerPaolo Bonzini <bonzini@gnu.org>2009-09-29 21:31:07 +0000
commitc8cb1b3e6f5a74fa2b83c3ecf8bfba9b1be7b0ba (patch)
treee4108ecb4bc02da0d60f9c33b0b977b295122ae5
parent8172766a9309627ee68f193fc5443af78f1d8f85 (diff)
downloadgdb-c8cb1b3e6f5a74fa2b83c3ecf8bfba9b1be7b0ba.zip
gdb-c8cb1b3e6f5a74fa2b83c3ecf8bfba9b1be7b0ba.tar.gz
gdb-c8cb1b3e6f5a74fa2b83c3ecf8bfba9b1be7b0ba.tar.bz2
2009-09-29 Paolo Bonzini <bonzini@gnu.org>
Sync from gcc: 2009-09-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> * configure.ac: Update minimum MPC version to 0.7. * configure: Regenerate.
-rw-r--r--ChangeLog8
-rwxr-xr-xconfigure3
-rw-r--r--configure.ac3
3 files changed, 12 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index f470dab..9fdf831 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-09-29 Paolo Bonzini <bonzini@gnu.org>
+
+ Sync from gcc:
+ 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= ])