Commit 8343765d by Alexandre Oliva Committed by Alexandre Oliva

configure.in (libgcj_saved): Copy from $libgcj.

* configure.in (libgcj_saved): Copy from $libgcj.
(libgcj): Zero out if --enable-libgcj; add to noconfigdirs is
--disable-libgcj.

From-SVN: r41551
parent b5cd6849
2001-04-25 Alexandre Oliva <aoliva@redhat.com>
* configure.in (libgcj_saved): Copy from $libgcj.
(libgcj): Zero out if --enable-libgcj; add to noconfigdirs is
--disable-libgcj.
2001-04-25 Gavin Romig-Koch <gavin@redhat.com> 2001-04-25 Gavin Romig-Koch <gavin@redhat.com>
* MAINTAINERS: Remove self as MIPS maintainer and * MAINTAINERS: Remove self as MIPS maintainer and
......
...@@ -585,6 +585,22 @@ case "${host}" in ...@@ -585,6 +585,22 @@ case "${host}" in
;; ;;
esac esac
# Save it here so that, even in case of --enable-libgcj, if the Java
# front-end isn't enabled, we still get libgcj disabled.
libgcj_saved=$libgcj
case $enable_libgcj in
yes)
# If we reset it here, it won't get added to noconfigdirs in the
# target-specific build rules, so it will be forcibly enabled
# (unless the Java language itself isn't enabled).
libgcj=
;;
no)
# Make sure we get it printed in the list of not supported target libs.
noconfigdirs="$noconfigdirs ${libgcj}"
;;
esac
case "${target}" in case "${target}" in
*-*-chorusos) *-*-chorusos)
noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}" noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
......
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