diff --git a/test/configure_ac.txt b/test/configure_ac.txt index 3bfa0fd9..20f8afa6 100644 --- a/test/configure_ac.txt +++ b/test/configure_ac.txt @@ -42,6 +42,12 @@ AC_PROG_INSTALL AC_CHECK_HEADERS() +AC_CHECK_MEMBER([struct tm.tm_gmtoff], + [AC_DEFINE(HAVE_TM_GMTOFF, 1, + [Define this if tm structure includes a tm_gmtoff entry.])], + , + [#include ]) + THREAD_LIBS=-lpthread AC_SUBST(THREAD_LIBS)