Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2001-04-26 01:41:21 +0400
committerAlexandre Oliva <aoliva@redhat.com>2001-04-26 01:41:21 +0400
commit71bb5ea46b89786179ff890ccfa59c311dc9a0d8 (patch)
tree0d26eb1a1f44a700a75f70dab376005c36431b39
parent968d91b2e6156e84c9fa5a6534364861446549f8 (diff)
* configure.in (libgcj_saved): Copy from $libgcj.
(libgcj): Zero out if --enable-libgcj; add to noconfigdirs is --disable-libgcj.
-rw-r--r--ChangeLog6
-rw-r--r--configure.in16
2 files changed, 22 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d67505415..4f9a01820 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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-20 Alexandre Oliva <aoliva@redhat.com>
* ltconfig, ltmain.sh, ltcf-cxx.sh: Upgraded to libtool 1.4a
diff --git a/configure.in b/configure.in
index cc8f34f87..d5db06585 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"