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 ecefdb4764
commit d29f6913c2

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)