summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2018-10-31 09:44:31 +0000
committerIain Buclaw <ibuclaw@gcc.gnu.org>2018-10-31 09:44:31 +0000
commit260eedb901c1b3df69598a724e23e33674ab654b (patch)
tree10a9f6234a9102bf5882d279f041372de9c32588 /configure.ac
parentaarch64: Improve cas generation (diff)
downloadgcc-260eedb901c1b3df69598a724e23e33674ab654b.tar.gz
gcc-260eedb901c1b3df69598a724e23e33674ab654b.tar.bz2
gcc-260eedb901c1b3df69598a724e23e33674ab654b.tar.xz
re PR d/87788 (Support D on x86_64-apple-darwin*)
ChangeLog: 2018-10-31 Iain Buclaw <ibuclaw@gdcproject.org> PR bootstrap/87788 PR d/87799 * configure: Rebuild. * configure.ac: Disable D on systems where it is known not to work. libphobos/ChangeLog: 2018-10-31 Iain Buclaw <ibuclaw@gdcproject.org> PR bootstrap/87789 PR d/87818 PR d/87819 * configure.tgt: New file. From-SVN: r265658
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac31
1 files changed, 31 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1e5979dc043..b10212b3be5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -674,6 +674,37 @@ if test "${ENABLE_LIBSTDCXX}" = "default" ; then
674 esac 674 esac
675fi 675fi
676 676
677# Disable D on systems where it is known to not work.
678# For testing, you can override this with --enable-languages=d.
679case ,${enable_languages}, in
680 *,d,*)
681 ;;
682 *)
683 case "${target}" in
684 *-*-darwin* | *-*-cygwin* | *-*-mingw*)
685 unsupported_languages="$unsupported_languages d"
686 ;;
687 esac
688 ;;
689esac
690
691# Disable libphobos on unsupported systems.
692# For testing, you can override this with --enable-libphobos.
693if test -d ${srcdir}/libphobos; then
694 if test x$enable_libphobos = x; then
695 AC_MSG_CHECKING([for libphobos support])
696 if (srcdir=${srcdir}/libphobos; \
697 . ${srcdir}/configure.tgt; \
698 test -n "$UNSUPPORTED")
699 then
700 AC_MSG_RESULT([no])
701 noconfigdirs="$noconfigdirs target-libphobos"
702 else
703 AC_MSG_RESULT([yes])
704 fi
705 fi
706fi
707
677# Disable Fortran for some systems. 708# Disable Fortran for some systems.
678case "${target}" in 709case "${target}" in
679 mmix-*-*) 710 mmix-*-*)