[commit: ghc] ghc-7.8: Fix __thread detection (#8722) (744493d)
git at git.haskell.org
git at git.haskell.org
Mon Feb 17 09:14:47 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-7.8
Link : http://ghc.haskell.org/trac/ghc/changeset/744493db1399e9db02b151fc79066f005f5a7e46/ghc
>---------------------------------------------------------------
commit 744493db1399e9db02b151fc79066f005f5a7e46
Author: Peter Trommler <ptrommler at acm.org>
Date: Thu Feb 6 22:57:34 2014 -0600
Fix __thread detection (#8722)
Signed-off-by: Austin Seipp <austin at well-typed.com>
(cherry picked from commit 298a25bdfd02bb591fde2dd0590bd7af81a91b94)
>---------------------------------------------------------------
744493db1399e9db02b151fc79066f005f5a7e46
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 70749b1..1c58da0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -867,11 +867,11 @@ AC_COMPILE_IFELSE(
[ AC_LANG_SOURCE([[__thread int tester = 0;]]) ],
[
AC_MSG_RESULT(yes)
- AC_DEFINE([CC_SUPPORTS_TLS],[0],[Define to 1 if __thread is supported])
+ AC_DEFINE([CC_SUPPORTS_TLS],[1],[Define to 1 if __thread is supported])
],
[
AC_MSG_RESULT(no)
- AC_DEFINE([CC_SUPPORTS_TLS],[1],[Define to 1 if __thread is supported])
+ AC_DEFINE([CC_SUPPORTS_TLS],[0],[Define to 1 if __thread is supported])
])
More information about the ghc-commits
mailing list