diff options
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. |