X-Git-Url: https://ruderich.org/simon/gitweb/?p=coloredstderr%2Fcoloredstderr.git;a=blobdiff_plain;f=configure.ac;fp=configure.ac;h=469df07ca67e1c18bbd40a0f84e5d8e035ecc60d;hp=6ef50f4c04c4f9bed0be53bf99bba3d779482176;hb=24ead2ee7fc7509afe4bfcc15b1c1b06177cf1f3;hpb=b6d1dc09b620742b1877935f9f21a90a13ca5ee1 diff --git a/configure.ac b/configure.ac index 6ef50f4..469df07 100644 --- a/configure.ac +++ b/configure.ac @@ -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