merijn/snet-rts — pull request #2 by knz (2012-07-30 11:37:40+00:00)
Title: Test for TLS support in compiler.

This patch adds a check for support for thread local storage in C
variable declarations. It detects either __thread, declspec(thread) or
C11's _Thread_local, and sets the configuration-time CPP macros:

- "HAVE__THREAD" if any of the constructs is supported;

- "TLS" to the specific keyword supported.