X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=configure.in;h=b472484116ea724ef614566302e6231626ac9290;hb=64ce424cecd7d56e9a579147e6ac552266f32e47;hp=9749d9f27da144aa56075d74c0581c9d949afa40;hpb=32096242153a9e7f308b6ca357a17e680467e7f5;p=deliverable%2Fbinutils-gdb.git diff --git a/configure.in b/configure.in index 9749d9f27d..b472484116 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)