dtcm: change to detect TZ offset way with configure

This commit is contained in:
OBATA Akio
2021-10-23 14:24:40 +09:00
parent 87bdee3d19
commit e0508b3130
4 changed files with 20 additions and 6 deletions

View File

@@ -403,6 +403,9 @@ AC_CHECK_SIZEOF([long])
AC_CHECK_SIZEOF([long long])
AC_CHECK_SIZEOF([time_t])
AC_CHECK_DECLS([timezone])
AC_CHECK_MEMBERS([struct tm.tm_gmtoff])
dnl jpeg
AC_CHECK_LIB(jpeg, jpeg_read_header, [JPEGLIB="-ljpeg"],
[AC_MSG_ERROR([libjpeg not found, please install it])],