Commit d2d7b377 d2d7b377ff301524724ef3f4bef9f38a1cb341c1 by Sergey Poznyakoff

Removed tm_ files.

1 parent afb8d660
...@@ -4,7 +4,4 @@ EXTRA_DIST = \ ...@@ -4,7 +4,4 @@ EXTRA_DIST = \
4 malloc.m4 \ 4 malloc.m4 \
5 realloc.m4 \ 5 realloc.m4 \
6 regex.m4 \ 6 regex.m4 \
7 tm_gmtoff.m4 \
8 tm_isdst.m4 \
9 tm_zone.m4 \
10 utmp.m4 7 utmp.m4
......
1 AC_DEFUN(sr_STRUCT_TM_GMTOFF,
2 [AC_REQUIRE([AC_STRUCT_TM])dnl
3 AC_CACHE_CHECK([for tm_gmtoff in struct tm], ac_cv_struct_tm_gmtoff,
4 [AC_TRY_COMPILE([#include <sys/types.h>
5 #include <$ac_cv_struct_tm>], [struct tm tm; tm.tm_gmtoff;],
6 ac_cv_struct_tm_gmtoff=yes, ac_cv_struct_tm_gmtoff=no)])
7 if test "$ac_cv_struct_tm_gmtoff" = yes; then
8 AC_DEFINE(HAVE_TM_GMTOFF)
9 fi
10 ])
11
1 AC_DEFUN(sr_STRUCT_TM_ISDST,
2 [AC_REQUIRE([AC_STRUCT_TM])dnl
3 AC_CACHE_CHECK([for tm_isdst in struct tm], ac_cv_struct_tm_isdst,
4 [AC_TRY_COMPILE([#include <sys/types.h>
5 #include <$ac_cv_struct_tm>], [struct tm tm; tm.tm_isdst;],
6 ac_cv_struct_tm_isdst=yes, ac_cv_struct_tm_isdst=no)])
7 if test "$ac_cv_struct_tm_isdst" = yes; then
8 AC_DEFINE(HAVE_TM_ISDST)
9 fi
10 ])
11
1 AC_DEFUN(sr_STRUCT_TM_ZONE,
2 [AC_REQUIRE([AC_STRUCT_TM])dnl
3 AC_CACHE_CHECK([for tm_zone in struct tm], ac_cv_struct_tm_zone,
4 [AC_TRY_COMPILE([#include <sys/types.h>
5 #include <$ac_cv_struct_tm>], [struct tm tm; tm.tm_zone;],
6 ac_cv_struct_tm_zone=yes, ac_cv_struct_tm_zone=no)])
7 if test "$ac_cv_struct_tm_zone" = yes; then
8 AC_DEFINE(HAVE_TM_ZONE)
9 fi
10 ])
11