From: Erwin Janssen <erwinjanssen@outlook.com>
Date: Wed, 8 Feb 2017 17:14:10 +0000 (+0100)
Subject: Remove `AC_HEADER_TIME` from configure.ac
X-Git-Tag: 2.42.0~199^2~4
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3e0dec7705784cd454d9a558d2685386b82d16f4;p=graphviz

Remove `AC_HEADER_TIME` from configure.ac

This check is deprecated according to the official autoconf documentation,
it can safely be removed.
---

diff --git a/configure.ac b/configure.ac
index 31f3f1930..4856562db 100644
--- a/configure.ac
+++ b/configure.ac
@@ -423,7 +423,6 @@ AC_CHECK_HEADERS(malloc.h \
 	sys/time.h sys/types.h sys/select.h \
 	sys/stat.h sys/mman.h sys/vfork.h \
 	sys/ioctl.h sys/inotify.h crt_externs.h)
-AC_HEADER_TIME
 AC_HEADER_DIRENT
 
 # Internationalization macros
diff --git a/windows/include/config.h b/windows/include/config.h
index c9fd60cf5..c023c8d28 100644
--- a/windows/include/config.h
+++ b/windows/include/config.h
@@ -339,9 +339,6 @@
 /* Define to 1 if you have the ANSI C header files. */
 #define STDC_HEADERS 1
 
-/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
-#define TIME_WITH_SYS_TIME 1
-
 /* Define if you want CGRAPH */
 #define WITH_CGRAPH 1