diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2009-05-30 00:43:36 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2009-05-30 00:43:36 +0000 |
commit | acd262252cd2121bd1bb48ed8b28cf1ac6bc7aaf (patch) | |
tree | ecd86f53c551d325407d620bb9cc5ab47503c0ec /gcc | |
parent | cd9c1ca866b6aa5041a352e0ed07ae5f91e235e5 (diff) | |
download | gcc-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')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config.in | 6 | ||||
-rwxr-xr-x | gcc/configure | 8 | ||||
-rw-r--r-- | gcc/configure.ac | 4 |
4 files changed, 24 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index db9a447..17c0715 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2009-05-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * configure.ac: Add MPC support. + + * config.in, configure: Regenerate. + 2009-05-29 Richard Henderson <rth@redhat.com> * cfgcleanup.c (try_crossjump_to_edge): Only skip past diff --git a/gcc/config.in b/gcc/config.in index 9f53173..f3c16fe 100644 --- a/gcc/config.in +++ b/gcc/config.in @@ -1374,6 +1374,12 @@ #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 8a4f2c9..fe13a1f 100755 --- a/gcc/configure +++ b/gcc/configure @@ -24840,6 +24840,14 @@ fi +case "${GMPLIBS}" in + *-lmpc*) +cat >>confdefs.h <<\_ACEOF +#define HAVE_mpc 1 +_ACEOF + ;; +esac + 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]) |