]> ruderich.org/simon Gitweb - coloredstderr/coloredstderr.git/blobdiff - configure.ac
configure.ac: warn if TLS is not available
[coloredstderr/coloredstderr.git] / configure.ac
index 6ef50f4c04c4f9bed0be53bf99bba3d779482176..469df07ca67e1c18bbd40a0f84e5d8e035ecc60d 100644 (file)
@@ -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