This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: FYI: GC import
- To: Jeff Sturm <jsturm at one-point dot com>
- Subject: Re: Patch: FYI: GC import
- From: Tom Tromey <tromey at redhat dot com>
- Date: 20 Aug 2001 11:13:20 -0600
- Cc: Java Patch List <java-patches at gcc dot gnu dot org>, Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- References: <Pine.LNX.4.10.10108180010210.17344-100000@mars.deadcafe.org>
- Reply-To: tromey at redhat dot com
>>>>> "Jeff" == Jeff Sturm <jsturm@one-point.com> writes:
>> I'm checking in a new version (6.0) of the Boehm GC on the trunk. I'm
>> not including the patch here. This update required a small change to
>> libjava/boehm.cc, which I'm appending.
Jeff> This fails to configure with just --enable-threads:
Thanks. I'm checking in the appended patch, which just reverts a
particular change in configure.in. In our case simply asking gcc
about the threads package is always correct.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* configure: Rebuilt.
* configure.in: Always ask gcc for threads package.
Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/boehm-gc/configure.in,v
retrieving revision 1.30
diff -u -r1.30 configure.in
--- configure.in 2001/08/18 01:04:42 1.30
+++ configure.in 2001/08/20 16:38:54
@@ -41,15 +41,12 @@
AC_EXEEXT
fi
-AC_MSG_CHECKING([for threads package to use])
-AC_ARG_ENABLE(threads, [ --enable-threads=TYPE choose threading package],
- THREADS=$enableval,
- [ AC_MSG_CHECKING([for thread model used by GCC])
- THREADS=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
- if test -z "$THREADS"; then
- THREADS=no
- fi
- AC_MSG_RESULT([$THREADS])])
+AC_MSG_CHECKING([for thread model used by GCC])
+THREADS=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
+if test -z "$THREADS"; then
+ THREADS=no
+fi
+AC_MSG_RESULT([$THREADS])
AC_ARG_ENABLE(parallel-mark,
[ --enable-parallel-mark parallelize marking and free list construction],