git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15328
== 217236
347389 unhandled syscall: 373 (Linux ARM syncfs)
347978 Remove bash dependencies where not needed
+347982 Fix undefined symbols for architecture x86_64: "_global", referenced from:
+ _test_so_global in tls_so-tls_so.o
348102 Patch updating v4l2 API support
348247 jno jumps wrongly when overflow is not set
348565 Fix detection of command line option availability for clang
[vg_cv_tls=no],
[vg_cv_tls=$vg_cv_linktime_tls])])])
-if test "$vg_cv_tls" = yes; then
+if test "$vg_cv_tls" = yes -a $is_clang != applellvm; then
AC_DEFINE([HAVE_TLS], 1, [can use __thread to define thread-local variables])
fi