diff options
author | Kaveh Ghazi <ghazi@caip.rutgers.edu> | 2006-11-11 17:02:04 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@caip.rutgers.edu> | 2006-11-11 17:02:04 +0000 |
commit | e129e60de7a753383cc6bb9ab77dc17e753913e8 (patch) | |
tree | 75a0d17cc9c87d8cdfd07e9e001dc1eac7387ff2 | |
parent | b08f39e8dc65ec97a78ff168b895ca17dfa10b5b (diff) |
* configure.in (have_gmp): Only error if the gcc directory exists.
* configure: Regenerate.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@118699 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | ChangeLog | 6 | ||||
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.in | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index f300ad32b23..56d989f5b0c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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. diff --git a/configure b/configure index 612aeae1a09..ea29f213ddd 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.in b/configure.in index 2a8c4c2212d..ac5512f6601 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 |