From: Alejandro Colomar Date: Thu, 30 Dec 2021 15:12:15 +0000 (+0100) Subject: Remove AC_HEADER_TIME and TIME_WITH_SYS_TIME checks X-Git-Tag: 4.12~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b96f6a9b3bcfed802105a3976519d14a3e19180;p=thirdparty%2Fshadow.git Remove AC_HEADER_TIME and TIME_WITH_SYS_TIME checks Systems on which conflicted with are obsolete. This macro has been marked as obsolete by autoconf documentation. Signed-off-by: Alejandro Colomar --- diff --git a/configure.ac b/configure.ac index e97940107..50ce7d85e 100644 --- a/configure.ac +++ b/configure.ac @@ -60,7 +60,6 @@ AC_CHECK_MEMBERS([struct stat.st_atim]) AC_CHECK_MEMBERS([struct stat.st_atimensec]) AC_CHECK_MEMBERS([struct stat.st_mtim]) AC_CHECK_MEMBERS([struct stat.st_mtimensec]) -AC_HEADER_TIME AC_STRUCT_TM AC_CHECK_MEMBERS([struct utmp.ut_type, diff --git a/lib/defines.h b/lib/defines.h index 16642e7ac..55b42bee5 100644 --- a/lib/defines.h +++ b/lib/defines.h @@ -82,16 +82,8 @@ extern char * textdomain (const char * domainname); # include #endif -#if TIME_WITH_SYS_TIME -# include -# include -#else /* not TIME_WITH_SYS_TIME */ -# if HAVE_SYS_TIME_H -# include -# else -# include -# endif -#endif /* not TIME_WITH_SYS_TIME */ +#include +#include #ifdef HAVE_MEMSET_S # define memzero(ptr, size) memset_s((ptr), 0, (size))