Florian Weimer : configure: Use AC_CHECK_FUNCS to define HAVE_GETTID.