From 4fc2f55f761d71aae1f145d5aa94ba929cc39676 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 11:34:30 +0200 Subject: Adding upstream version 1.7.3. Signed-off-by: Daniel Baumann --- m4/pdns_check_time_t.m4 | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 m4/pdns_check_time_t.m4 (limited to 'm4/pdns_check_time_t.m4') diff --git a/m4/pdns_check_time_t.m4 b/m4/pdns_check_time_t.m4 new file mode 100644 index 0000000..c3d274b --- /dev/null +++ b/m4/pdns_check_time_t.m4 @@ -0,0 +1,7 @@ +AC_DEFUN([PDNS_CHECK_TIME_T], [ +AX_COMPILE_CHECK_SIZEOF(time_t) +AS_IF([test $ac_size -lt 8], [AC_MSG_ERROR([size of time_t is $ac_size, which is not large enough to fix the y2k38 bug])]) +AX_CHECK_SIGN([time_t], [:], [AC_MSG_ERROR([time_t is unsigned, PowerDNS code relies on it being signed])], [ + #include +]) +]) -- cgit v1.2.3