OSDN Git Service

PR java/29805
[pf3gnuchains/gcc-fork.git] / configure.in
index 999495b..ac5512f 100644 (file)
@@ -1117,8 +1117,12 @@ if test x"$have_gmp" = xyes; then
 fi
 CFLAGS="$saved_CFLAGS"
 
-if 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.])
+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
+hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
+See also http://gcc.gnu.org/install/prerequisites.html for additional info.])
 fi
 
 # Flags needed for both GMP and/or MPFR