mirror of
https://github.com/FAUSheppy/colorredstderr-mirror
synced 2025-12-06 07:01:38 +01:00
configure.ac: warn if TLS is not available
This commit is contained in:
@@ -92,3 +92,8 @@ AM_CONDITIONAL([HAVE_VFORK],[test "x$ac_cv_func_vfork_works" = xyes])
|
||||
|
||||
AC_CONFIG_FILES([Makefile src/Makefile tests/Makefile])
|
||||
AC_OUTPUT
|
||||
|
||||
if test x"$ac_cv_tls" != x"none"; then
|
||||
AC_MSG_WARN([thread-local storage not supported by compiler, \
|
||||
possible race condition in threaded programs])
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user