diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-04-25 20:58:25 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-04-25 20:58:25 +0000 |
commit | 4d006f8aedf1fe49c0a0652bca263fe789db5d69 (patch) | |
tree | 1c60995ec3ab114dfb5e5c1677f11326d343c170 /libgomp/acinclude.m4 | |
parent | 083659692e38253d70e2c465e2c896460df2b43e (diff) | |
download | gcc-4d006f8aedf1fe49c0a0652bca263fe789db5d69.tar.gz |
PR libgomp/25865
* configure.ac: Use GCC_CHECK_TLS.
* acinclude.m4 (LIBGOMP_CHECK_TLS): Remove.
* Makefile.in, aclocal.m4, configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113256 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/acinclude.m4')
-rw-r--r-- | libgomp/acinclude.m4 | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/libgomp/acinclude.m4 b/libgomp/acinclude.m4 index b66cc9fcce2..b7428cfe35d 100644 --- a/libgomp/acinclude.m4 +++ b/libgomp/acinclude.m4 @@ -1,15 +1,3 @@ -dnl Check whether the target supports TLS. -AC_DEFUN([LIBGOMP_CHECK_TLS], [ - LIBGOMP_ENABLE(tls, yes, [Use thread-local storage]) - AC_CACHE_CHECK([whether the target supports thread-local storage], - have_tls, [ - AC_TRY_COMPILE([__thread int foo;], - [], have_tls=$enable_tls, have_tls=no)]) - if test $have_tls = yes; then - AC_DEFINE(HAVE_TLS, 1, - [Define to 1 if the target supports thread-local storage.]) - fi]) - dnl ---------------------------------------------------------------------- dnl This whole bit snagged from libgfortran. |