aboutsummaryrefslogtreecommitdiff
path: root/libgomp/acinclude.m4
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2006-04-25 13:58:25 -0700
committerRichard Henderson <rth@gcc.gnu.org>2006-04-25 13:58:25 -0700
commit60e1758f60c2be0682dcbac7ea270b90e78ec526 (patch)
tree1c60995ec3ab114dfb5e5c1677f11326d343c170 /libgomp/acinclude.m4
parentd61772b25d07c437eca62171fb0ee55642abfe22 (diff)
downloadgcc-60e1758f60c2be0682dcbac7ea270b90e78ec526.zip
gcc-60e1758f60c2be0682dcbac7ea270b90e78ec526.tar.gz
gcc-60e1758f60c2be0682dcbac7ea270b90e78ec526.tar.bz2
re PR libgomp/25865 (libgomp incorrectly detects support for TLS)
PR libgomp/25865 * configure.ac: Use GCC_CHECK_TLS. * acinclude.m4 (LIBGOMP_CHECK_TLS): Remove. * Makefile.in, aclocal.m4, configure: Regenerate. From-SVN: r113256
Diffstat (limited to 'libgomp/acinclude.m4')
-rw-r--r--libgomp/acinclude.m412
1 files changed, 0 insertions, 12 deletions
diff --git a/libgomp/acinclude.m4 b/libgomp/acinclude.m4
index b66cc9f..b7428cf 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.