From 8d73b0521d40089f476da4aa7fe192be79a96447 Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Fri, 9 Feb 2024 02:39:11 +0100 Subject: [PATCH] Remove unused TIME_WITH_SYS_TIME macro definition The TIME_WITH_SYS_TIME C preprocessor macro is not found anywhere in the source tree, so we do not need to define it after all and can get rid of the obsoletion warning. --- src/configure.ac | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/configure.ac b/src/configure.ac index 57b853d6..dfbb185a 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -282,19 +282,6 @@ AC_CHECK_HEADERS([ddk/hidsdi.h],,,[#include # Checks for typedefs, structures, and compiler characteristics. AC_C_CONST -m4_warn([obsolete], -[Update your code to rely only on HAVE_SYS_TIME_H, -then remove this warning and the obsolete code below it. -All current systems provide time.h; it need not be checked for. -Not all systems provide sys/time.h, but those that do, all allow -you to include it and time.h simultaneously.])dnl -AC_CHECK_HEADERS_ONCE([sys/time.h]) -# Obsolete code to be removed. -if test "x$ac_cv_header_sys_time_h" = xyes; then - AC_DEFINE([TIME_WITH_SYS_TIME],[1],[Define to 1 if you can safely include both - and . This macro is obsolete.]) -fi -# End of obsolete code. AC_CHECK_HEADERS([netinet/in.h])