aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2006-11-11 17:02:04 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2006-11-11 17:02:04 +0000
commitdffb147de1b3455980972a076d18fa3cd515dc41 (patch)
tree75a0d17cc9c87d8cdfd07e9e001dc1eac7387ff2 /configure.in
parent9871e7a0c5d5a26d76d9c919c9ea242fd1878a51 (diff)
downloadgcc-dffb147de1b3455980972a076d18fa3cd515dc41.zip
gcc-dffb147de1b3455980972a076d18fa3cd515dc41.tar.gz
gcc-dffb147de1b3455980972a076d18fa3cd515dc41.tar.bz2
configure.in (have_gmp): Only error if the gcc directory exists.
* configure.in (have_gmp): Only error if the gcc directory exists. * configure: Regenerate. From-SVN: r118699
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 2a8c4c2..ac5512f 100644
--- a/configure.in
+++ b/configure.in
@@ -1117,7 +1117,7 @@ if test x"$have_gmp" = xyes; then
fi
CFLAGS="$saved_CFLAGS"
-if test x$have_gmp != xyes; then
+if test -d ${srcdir}/gcc && test x$have_gmp != xyes; then
AC_MSG_ERROR([Building GCC requires GMP 4.1+ and MPFR 2.2+.
Try the --with-gmp and/or --with-mpfr options to specify their locations.
Copies of these libraries' source code can be found at their respective