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
This commit is contained in:
Kaveh R. Ghazi 2006-11-11 17:02:04 +00:00 committed by Kaveh Ghazi
parent 9871e7a0c5
commit dffb147de1
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2006-11-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* configure.in (have_gmp): Only error if the gcc directory exists.
* configure: Regenerate.
2006-11-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* configure.in: Robustify error message for missing GMP/MPFR.

2
configure vendored
View File

@ -2353,7 +2353,7 @@ rm -f conftest*
fi
CFLAGS="$saved_CFLAGS"
if test x$have_gmp != xyes; then
if test -d ${srcdir}/gcc && test x$have_gmp != xyes; then
{ echo "configure: 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

View File

@ -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