This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[toplevel][committed] PR 28072: Build failure due to unwarranted building of target-boehm-gc
- From: David Ayers <d dot ayers at inode dot at>
- To: binutils at sourceware dot org, gcc-patches at gcc dot gnu dot org, gdb-patches at sourceware dot org
- Date: Tue, 20 Jun 2006 10:51:16 +0200
- Subject: [toplevel][committed] PR 28072: Build failure due to unwarranted building of target-boehm-gc
- References: <44908F14.6070701@st.com> <44910719.7030300@inode.at> <44914E9A.3040706@inode.at> <17553.20470.433066.298075@dell.pink> <44915D5F.1070708@inode.at> <449437E0.1050107@inode.at> <200606192048.k5JKm7RU026581@greed.delorie.com>
DJ Delorie schrieb:
>>2006-06-17 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.
>
>
> This is OK with me.
>
Committed to 'gcc' and 'src'.
Cheers,
David
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.
Index: configure.in
===================================================================
--- configure.in (revision 114673)
+++ configure.in (working copy)
@@ -1324,20 +1324,15 @@
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