- Timestamp:
- 08/21/15 11:22:30 (6 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
- Children:
- eea427f
- Parents:
- 76291d1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
m4/attributes.m4
r9b42f3e r4007dbb 154 154 ]) 155 155 156 AC_DEFUN([gcc_TLS], 157 [ 158 HAVE_TLS=0 159 if test -n "$CC"; then 160 AC_CACHE_CHECK([if compiler supports TLS __thread], 161 [lt_cv_attribute_tls], 162 [ 163 AC_COMPILE_IFELSE([AC_LANG_SOURCE( 164 [static __thread int apples;])], 165 [lt_cv_attribute_tls=yes], 166 [lt_cv_attribute_tls=no] 167 ) 168 ]) 169 if test x$lt_cv_attribute_tls = xyes; then 170 HAVE_TLS=1 171 fi 172 fi 173 AC_SUBST([HAVE_TLS]) 174 AC_DEFINE_UNQUOTED([HAVE_TLS], [$HAVE_TLS], 175 [Define to 1 or 0, depending on whether the compiler supports tls via __thread.]) 176 ]) 156 177
Note: See TracChangeset
for help on using the changeset viewer.