aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorDavid Ayers <d.ayers@inode.at>2006-06-20 08:45:35 +0000
committerDavid Ayers <d.ayers@inode.at>2006-06-20 08:45:35 +0000
commitd42c4017ba4db98cfc668c170ebd1dce45a4a232 (patch)
treef7ce1255521b7879aa82d5df26865868507b5781 /configure.in
parent8ded5a0fc3e3c191ff427e0b3c8d2b89f28be9af (diff)
downloadgdb-d42c4017ba4db98cfc668c170ebd1dce45a4a232.zip
gdb-d42c4017ba4db98cfc668c170ebd1dce45a4a232.tar.gz
gdb-d42c4017ba4db98cfc668c170ebd1dce45a4a232.tar.bz2
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.
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 2ff8aa5..9749d9f 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