From b3a00b5034c404458ba4a32c337bdc2c94f916ed Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Mon, 7 Dec 2009 15:45:01 +0000 Subject: [PATCH] re PR other/40302 (GCC must hard-require MPC before release) PR other/40302 * configure.ac (HAVE_mpc): Don't define. * config.in, configure: Regenerate. From-SVN: r155047 --- gcc/ChangeLog | 4 ++++ gcc/config.in | 6 ------ gcc/configure | 6 ------ gcc/configure.ac | 4 ---- 4 files changed, 4 insertions(+), 16 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 785a3780ce3d..b322034480ab 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2009-12-07 Kaveh R. Ghazi + PR other/40302 + * configure.ac (HAVE_mpc): Don't define. + * config.in, configure: Regenerate. + PR other/40302 * builtins.c: Remove HAVE_mpc* checks throughout. * fold-const.c: Likewise. diff --git a/gcc/config.in b/gcc/config.in index 681e4f8bd483..1686be9d0ea7 100644 --- a/gcc/config.in +++ b/gcc/config.in @@ -1477,12 +1477,6 @@ #endif -/* Define if mpc is in use. */ -#ifndef USED_FOR_TARGET -#undef HAVE_mpc -#endif - - /* Define as const if the declaration of iconv() needs const. */ #ifndef USED_FOR_TARGET #undef ICONV_CONST diff --git a/gcc/configure b/gcc/configure index e93e8051a21d..c8372031f110 100755 --- a/gcc/configure +++ b/gcc/configure @@ -24951,12 +24951,6 @@ fi -case "${GMPLIBS}" in - *-lmpc*) -$as_echo "#define HAVE_mpc 1" >>confdefs.h - ;; -esac - diff --git a/gcc/configure.ac b/gcc/configure.ac index f357e1ee5a83..665863f0f1cd 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -4259,10 +4259,6 @@ fi AC_ARG_VAR(GMPLIBS,[How to link GMP]) AC_ARG_VAR(GMPINC,[How to find GMP include files]) -case "${GMPLIBS}" in - *-lmpc*) AC_DEFINE(HAVE_mpc, 1, [Define if mpc is in use.]) ;; -esac - AC_ARG_VAR(PPLLIBS,[How to link PPL]) AC_ARG_VAR(PPLINC,[How to find PPL include files])