diff options
author | Colin Guthrie <colin@mageia.org> | 2011-06-22 14:07:15 +0100 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2011-06-22 14:07:15 +0100 |
commit | a1f80d4274e72494d9f67b01e7d63f08c3e6a16e (patch) | |
tree | 0977a4d9ded6d67db9b2c39679158e46c1bae81e /m4/tls.m4 | |
parent | 42bcb418aed1ab94c56c09a6b31bac05c08ac04a (diff) | |
parent | f36ac546e6a70cc1bb4736f0b104d0dd13b12500 (diff) |
Merge remote-tracking branch 'mkbosmans/merge/build-sys'
Diffstat (limited to 'm4/tls.m4')
-rw-r--r-- | m4/tls.m4 | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/m4/tls.m4 b/m4/tls.m4 deleted file mode 100644 index 3808f06e..00000000 --- a/m4/tls.m4 +++ /dev/null @@ -1,17 +0,0 @@ -AC_DEFUN([CC_CHECK_TLS], [ - AC_CACHE_CHECK([whether $CC knows __thread for Thread-Local Storage], - cc_cv_tls___thread, - [AC_COMPILE_IFELSE( - AC_LANG_PROGRAM( - [[static __thread int a = 6;]], - [[a = 5;]]), - [cc_cv_tls___thread=yes], - [cc_cv_tls___thread=no]) - ]) - - AS_IF([test "x$cc_cv_tls___thread" = "xyes"], - [AC_DEFINE([SUPPORT_TLS___THREAD], 1, - [Define this if the compiler supports __thread for Thread-Local Storage]) - $1], - [$2]) -]) |