AC_PREREQ([2.69])
-AC_INIT([coloredstderr],[0.1],[simon@ruderich.org])
+AC_INIT([coloredstderr],[0.2],[simon@ruderich.org])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])
AC_C_INLINE
AX_C___ATTRIBUTE__
+AX_TLS
AC_CHECK_MEMBER([struct _IO_FILE._fileno],
[AC_DEFINE([HAVE_STRUCT__IO_FILE__FILENO], 1,
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