summaryrefslogtreecommitdiffstats
path: root/libjava/configure.ac
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2005-09-27 20:03:09 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2005-09-27 20:03:09 +0000
commite7e0af0e596269221f9717a3658cffbeee7a5c2a (patch)
tree18763461cdb28ee640435eb7d63f5a857583660c /libjava/configure.ac
parentb2382601bb72b7c9f8e1e1c461498f6e03c8217e (diff)
downloadppe42-gcc-e7e0af0e596269221f9717a3658cffbeee7a5c2a.tar.gz
ppe42-gcc-e7e0af0e596269221f9717a3658cffbeee7a5c2a.zip
PR libgcj/23367:
* include/jvm.h (_Jv_FreeMethodCache): Declare. * java/lang/natClass.cc (MCACHE_SIZE): Conditional on HAVE_TLS. (struct _Jv_mcache): Likewise. (method_cache): Likewise. (_Jv_FindMethodInCache): Do nothing unless TLS is available. (_Jv_AddMethodToCache): Likewise. (_Jv_FreeMethodCache): New function. * java/lang/natThread.cc (finish_): Call _Jv_FreeMethodCache. * aclocal.m4, configure, include/config.h.in: Rebuilt. * configure.ac: Invoke GCC_CHECK_TLS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104707 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/configure.ac')
-rw-r--r--libjava/configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/libjava/configure.ac b/libjava/configure.ac
index 2517ac84a82..fbd2a3d15e7 100644
--- a/libjava/configure.ac
+++ b/libjava/configure.ac
@@ -1439,6 +1439,8 @@ else
multilib_arg=
fi
+# See if we support thread-local storage.
+GCC_CHECK_TLS
here=`${PWDCMD-pwd}`
OpenPOWER on IntegriCloud