Copied test for tm.tm_gmtim from libisofs configure.ac

This commit is contained in:
Thomas Schmitt 2008-01-22 11:45:09 +00:00
parent 5f53116d37
commit 168561993b

View File

@ -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 <time.h>])
THREAD_LIBS=-lpthread
AC_SUBST(THREAD_LIBS)