diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2006-07-03 11:58:12 +0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2006-07-03 11:58:12 +0400 |
commit | f90716dddfb0efdcf8b525b653e2b3dcdfdf59c5 (patch) | |
tree | 38afc6704277e9c7216905914766054b3b81a2d2 /configure.in | |
parent | d42e28b57a344b5cf22a48a12906f26e6bc87eee (diff) |
2006-07-03 Paolo Bonzini <bonzini@gnu.org>
Sync from gcc:
2007-07-03 Paolo Bonzini <bonzini@gnu.org>
PR other/27063
* configure.in: Test subdir_requires and give an appropriate
error message.
* configure: Regenerate.
2006-06-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
PR target/27540
* configure.in: Only enable libgomp on IRIX 6.
* configure: Regenerate.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 9749d9f27..b47248411 100644 --- a/configure.in +++ b/configure.in @@ -353,7 +353,7 @@ if test x$enable_libgomp = x ; then ;; *-*-netbsd* | *-*-freebsd* | *-*-openbsd*) ;; - *-*-solaris2* | *-*-sysv4* | *-*-irix* | *-*-osf* | *-*-hpux11*) + *-*-solaris2* | *-*-sysv4* | *-*-irix6* | *-*-osf* | *-*-hpux11*) ;; *-*-darwin* | *-*-aix*) ;; @@ -1219,6 +1219,7 @@ if test -d ${srcdir}/gcc; then language= target_libs= lang_dirs= + subdir_requires= boot_language= build_by_default= need_gmp= @@ -1252,6 +1253,21 @@ if test -d ${srcdir}/gcc; then ;; esac + # Disable languages that need other directories if these aren't available. + for i in $subdir_requires .; do + test -d gcc/$i && continue + case ,${enable_languages}, in + *,${language},*) + # Specifically requested language; tell them. + AC_MSG_ERROR([The gcc/$i directory contains parts of $language but is missing]) + ;; + *) + # Silently disable. + add_this_lang=no + ;; + esac + done + # Disable languages that need GMP if it isn't available. case ,${enable_languages},:${have_gmp}:${need_gmp} in *,${language},*:no:yes) |