cmake HAVE_C_TLS examples

monkey/monkey CMakeLists.txt :194

check_c_source_compiles("
     __thread int a;
     int main() {
         __tls_get_addr(0);
         return 0;
     }" HAVE_C_TLS)

fluent/fluent-bit lib/monkey/CMakeLists.txt :194

check_c_source_compiles("
     __thread int a;
     int main() {
         __tls_get_addr(0);
         return 0;
     }" HAVE_C_TLS)