aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure.ac
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2009-05-30 00:43:36 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2009-05-30 00:43:36 +0000
commitacd262252cd2121bd1bb48ed8b28cf1ac6bc7aaf (patch)
treeecd86f53c551d325407d620bb9cc5ab47503c0ec /gcc/configure.ac
parentcd9c1ca866b6aa5041a352e0ed07ae5f91e235e5 (diff)
downloadgcc-acd262252cd2121bd1bb48ed8b28cf1ac6bc7aaf.zip
gcc-acd262252cd2121bd1bb48ed8b28cf1ac6bc7aaf.tar.gz
gcc-acd262252cd2121bd1bb48ed8b28cf1ac6bc7aaf.tar.bz2
Makefile.def: Add MPC support and dependencies.
* Makefile.def: Add MPC support and dependencies. * configure.ac: Likewise. Reorganize GMP/MPFR checks. * Makefile.in, configure: Regenerate. gcc: * configure.ac: Add MPC support. * config.in, configure: Regenerate. From-SVN: r147996
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r--gcc/configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac
index b5a1f7e..0b9851d 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -4040,6 +4040,10 @@ 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])