summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorNicolas Trangez <ikke@nicolast.be>2022-09-21 13:49:58 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-10-21 02:58:39 -0400
commita2af7c4c59ef24a71cc6cab7bd6b07d12f02aad1 (patch)
tree08e881fc1d61ca41c5f9297cbcb0b2bbb545c181 /m4
parent8cd6f435e60f9dd14ad55a0002ff833536e9ccb2 (diff)
downloadhaskell-a2af7c4c59ef24a71cc6cab7bd6b07d12f02aad1.tar.gz
build: get rid of `HAVE_TIME_H`
As advertized by `autoreconf`: > All current systems provide time.h; it need not be checked for. Hence, remove the check for it in `configure.ac` and remove conditional inclusion of the header in `HAVE_TIME_H` blocks where applicable. The `time.h` header was being included in various source files without a `HAVE_TIME_H` guard already anyway.
Diffstat (limited to 'm4')
-rw-r--r--m4/fp_check_timer_create.m42
1 files changed, 0 insertions, 2 deletions
diff --git a/m4/fp_check_timer_create.m4 b/m4/fp_check_timer_create.m4
index e698885065..957772ba45 100644
--- a/m4/fp_check_timer_create.m4
+++ b/m4/fp_check_timer_create.m4
@@ -20,9 +20,7 @@ then
#if defined(HAVE_STDLIB_H)
#include <stdlib.h>
#endif
-#if defined(HAVE_TIME_H)
#include <time.h>
-#endif
#if defined(HAVE_SIGNAL_H)
#include <signal.h>
#endif