Commit 4fab7234 by Hans-Peter Nilsson Committed by Hans-Peter Nilsson

configure.in (unsupported_languages): New macro.

	* configure.in (unsupported_languages): New macro.
	<mmix-knuth-mmixware>: Set unsupported_languages.  Name explicit
	non-ported target libraries in noconfigdirs.
	<cris-*, crisv32-*> Ditto, except for non-aout, non-elf,
	non-linux-gnu.  Remove libgcj_ex_libffi.
 	<lang_frag loop>: Set add_this_lang=no if the language is in
	unsupported_languages.
	* configure: Regenerate.

From-SVN: r100680
parent 7973fd2a
2005-06-07 Hans-Peter Nilsson <hp@axis.com>
* configure.in (unsupported_languages): New macro.
<mmix-knuth-mmixware>: Set unsupported_languages. Name explicit
non-ported target libraries in noconfigdirs.
<cris-*, crisv32-*> Ditto, except for non-aout, non-elf,
non-linux-gnu. Remove libgcj_ex_libffi.
<lang_frag loop>: Set add_this_lang=no if the language is in
unsupported_languages.
* configure: Regenerate.
2005-06-04 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
* configure.in: Fix typo in handling of --with-mpfr-dir.
......
......@@ -257,6 +257,10 @@ case "${host}" in
configdirs="$configdirs libtermcap" ;;
esac
# A target can indicate whether a language isn't supported for some reason.
# Only spaces may be used in this macro; not newlines or tabs.
unsupported_languages=
# Remove more programs from consideration, based on the host or
# target this usually means that a port of the program doesn't
# exist yet.
......@@ -481,15 +485,18 @@ case "${target}" in
noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
;;
cris-*-* | crisv32-*-*)
libgcj_ex_libffi=`echo ${libgcj} | sed -e 's/target-libffi//'`
unsupported_languages="$unsupported_languages java"
case "${target}" in
*-*-aout)
noconfigdirs="$noconfigdirs ${libgcj}";;
unsupported_languages="$unsupported_languages f95"
noconfigdirs="$noconfigdirs target-libffi target-boehm-gc";;
*-*-elf)
noconfigdirs="$noconfigdirs ${libgcj_ex_libffi}";;
unsupported_languages="$unsupported_languages f95"
noconfigdirs="$noconfigdirs target-libffi target-boehm-gc";;
*-*-linux*)
noconfigdirs="$noconfigdirs ${libgcj_ex_libffi} target-newlib target-libgloss";;
noconfigdirs="$noconfigdirs target-libffi target-newlib target-libgloss";;
*)
unsupported_languages="$unsupported_languages f95"
noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
esac
;;
......@@ -639,7 +646,8 @@ case "${target}" in
noconfigdirs="$noconfigdirs target-libstdc++-v3"
;;
mmix-*-*)
noconfigdirs="$noconfigdirs ${libgcj} gdb libgloss target-libgfortran"
noconfigdirs="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
unsupported_languages="$unsupported_languages f95 java"
;;
mn10200-*-*)
noconfigdirs="$noconfigdirs ${libgcj}"
......@@ -1210,7 +1218,14 @@ if test -d ${srcdir}/gcc; then
add_this_lang=no
;;
esac
# Disable a language that is unsupported by the target.
case " $unsupported_languages " in
*" $language "*)
add_this_lang=no
;;
esac
case $add_this_lang in
no)
# Remove language-dependent dirs.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment