This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH]: MPC cleanup to stop defining HAVE_mpc
- From: "Kaveh R. GHAZI" <ghazi at caip dot rutgers dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 15 Nov 2009 11:55:30 -0500 (EST)
- Subject: [PATCH]: MPC cleanup to stop defining HAVE_mpc
This patch removes the AC_DEFINE(HAVE_mpc) from configure.ac. It was
necessary only while MPC was optional. This patch depends on these
two patches to stop using the macro:
http://gcc.gnu.org/ml/gcc-patches/2009-11/msg00740.html
http://gcc.gnu.org/ml/gcc-patches/2009-11/msg00742.html
Tested on x86_64-unknown-linux-gnu, no regressions.
I'll install it as obvious once the above two patches are installed.
Regards,
--Kaveh
2009-11-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* configure.ac (HAVE_mpc): Don't define.
* config.in, configure: Regenerate.
diff -rup orig/egcc-SVN20091114/gcc/configure.ac egcc-SVN20091114/gcc/configure.ac
--- orig/egcc-SVN20091114/gcc/configure.ac 2009-11-09 02:01:04.000000000 +0100
+++ egcc-SVN20091114/gcc/configure.ac 2009-11-15 08:02:05.000000000 +0100
@@ -4240,10 +4240,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])