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> 2005-06-04 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
* configure.in: Fix typo in handling of --with-mpfr-dir. * configure.in: Fix typo in handling of --with-mpfr-dir.
......
...@@ -257,6 +257,10 @@ case "${host}" in ...@@ -257,6 +257,10 @@ case "${host}" in
configdirs="$configdirs libtermcap" ;; configdirs="$configdirs libtermcap" ;;
esac 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 # Remove more programs from consideration, based on the host or
# target this usually means that a port of the program doesn't # target this usually means that a port of the program doesn't
# exist yet. # exist yet.
...@@ -481,15 +485,18 @@ case "${target}" in ...@@ -481,15 +485,18 @@ case "${target}" in
noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib" noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
;; ;;
cris-*-* | crisv32-*-*) cris-*-* | crisv32-*-*)
libgcj_ex_libffi=`echo ${libgcj} | sed -e 's/target-libffi//'` unsupported_languages="$unsupported_languages java"
case "${target}" in case "${target}" in
*-*-aout) *-*-aout)
noconfigdirs="$noconfigdirs ${libgcj}";; unsupported_languages="$unsupported_languages f95"
noconfigdirs="$noconfigdirs target-libffi target-boehm-gc";;
*-*-elf) *-*-elf)
noconfigdirs="$noconfigdirs ${libgcj_ex_libffi}";; unsupported_languages="$unsupported_languages f95"
noconfigdirs="$noconfigdirs target-libffi target-boehm-gc";;
*-*-linux*) *-*-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";; noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
esac esac
;; ;;
...@@ -639,7 +646,8 @@ case "${target}" in ...@@ -639,7 +646,8 @@ case "${target}" in
noconfigdirs="$noconfigdirs target-libstdc++-v3" noconfigdirs="$noconfigdirs target-libstdc++-v3"
;; ;;
mmix-*-*) mmix-*-*)
noconfigdirs="$noconfigdirs ${libgcj} gdb libgloss target-libgfortran" noconfigdirs="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
unsupported_languages="$unsupported_languages f95 java"
;; ;;
mn10200-*-*) mn10200-*-*)
noconfigdirs="$noconfigdirs ${libgcj}" noconfigdirs="$noconfigdirs ${libgcj}"
...@@ -1210,7 +1218,14 @@ if test -d ${srcdir}/gcc; then ...@@ -1210,7 +1218,14 @@ if test -d ${srcdir}/gcc; then
add_this_lang=no add_this_lang=no
;; ;;
esac 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 case $add_this_lang in
no) no)
# Remove language-dependent dirs. # 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