aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2001-04-25 21:41:21 +0000
committerAlexandre Oliva <aoliva@redhat.com>2001-04-25 21:41:21 +0000
commit96111c1068c39c7f7b560d4964a572d188f1c336 (patch)
treea7fab3ffa4e7d9eb3f32c9987b61718881137271 /configure.in
parent2836ee25d9cc885bdb89c7b4c9e5d8c88113edee (diff)
downloadgdb-96111c1068c39c7f7b560d4964a572d188f1c336.zip
gdb-96111c1068c39c7f7b560d4964a572d188f1c336.tar.gz
gdb-96111c1068c39c7f7b560d4964a572d188f1c336.tar.bz2
* configure.in (libgcj_saved): Copy from $libgcj.
(libgcj): Zero out if --enable-libgcj; add to noconfigdirs is --disable-libgcj.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index cc8f34f..d5db065 100644
--- a/configure.in
+++ b/configure.in
@@ -572,6 +572,22 @@ case "${host}" in
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
*-*-netware)
noconfigdirs="$noconfigdirs ${libstdcxx_version} target-newlib target-libiberty target-libgloss target-libffi"