aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorDavid Ayers <d.ayers@inode.at>2006-06-20 10:45:08 +0200
committerDavid Ayers <ayers@gcc.gnu.org>2006-06-20 08:45:08 +0000
commit2a79fd67a509a9f020ed7492436c63eff7979802 (patch)
tree2d95ca66ddf6c4f6d25ea3b3771adebe0f1b2ac0 /configure.in
parent663230c4c2edd5ddf06c261cc8db9be549fc6b3e (diff)
downloadgcc-2a79fd67a509a9f020ed7492436c63eff7979802.zip
gcc-2a79fd67a509a9f020ed7492436c63eff7979802.tar.gz
gcc-2a79fd67a509a9f020ed7492436c63eff7979802.tar.bz2
re PR bootstrap/28072 (target-boehm-gc is being build for targets that do not support it)
2006-06-20 David Ayers <d.ayers@inode.at> PR bootstrap/28072 * configure.in: Add target-boehm-gc to noconfigdirs depending on whether target-libjava is being configured instead of whether the java front end is enabled. * configure: Regenerate. From-SVN: r114808
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in17
1 files changed, 6 insertions, 11 deletions
diff --git a/configure.in b/configure.in
index 6775f3c..21a464d 100644
--- a/configure.in
+++ b/configure.in
@@ -1324,20 +1324,15 @@ AC_ARG_ENABLE(objc-gc,
esac])
# Make sure we only build Boehm's garbage collector if required.
-case ,${enable_languages},:${enable_libgcj}:${enable_objc_gc} in
- *,objc,*:*:yes)
+case ,${enable_languages},:${enable_objc_gc} in
+ *,objc,*:yes)
# Keep target-boehm-gc if requested for Objective-C.
;;
- *,java,*:no:*)
- # Remove target-boehm-gc if libgcj has been disabled explicitly.
- noconfigdirs="$noconfigdirs target-boehm-gc"
- ;;
- *,java,*:*:*)
- # Keep target-boehm-gc by default for Java.
- ;;
*)
- # Otherwise remove target-boehm-gc.
- noconfigdirs="$noconfigdirs target-boehm-gc"
+ # Otherwise remove target-boehm-gc depending on target-libjava.
+ if echo " ${noconfigdirs} " | grep "target-libjava" >/dev/null 2>&1; then
+ noconfigdirs="$noconfigdirs target-boehm-gc"
+ fi
;;
esac