summaryrefslogtreecommitdiffstats
path: root/usr.sbin/nsd/acx_nlnetlabs.m4
diff options
context:
space:
mode:
authorsthen <sthen@openbsd.org>2015-07-17 17:36:01 +0000
committersthen <sthen@openbsd.org>2015-07-17 17:36:01 +0000
commitc939baa47e74c1c9d041cfa3af1d0d0e62c34641 (patch)
treea7cdf9265f94dba688493776204cc821f6255344 /usr.sbin/nsd/acx_nlnetlabs.m4
parentadd exdisplay to chromebook_devs (diff)
downloadwireguard-openbsd-c939baa47e74c1c9d041cfa3af1d0d0e62c34641.tar.xz
wireguard-openbsd-c939baa47e74c1c9d041cfa3af1d0d0e62c34641.zip
update to NSD 4.1.3, ok florian@, also tested by brad
Diffstat (limited to 'usr.sbin/nsd/acx_nlnetlabs.m4')
-rw-r--r--usr.sbin/nsd/acx_nlnetlabs.m413
1 files changed, 12 insertions, 1 deletions
diff --git a/usr.sbin/nsd/acx_nlnetlabs.m4 b/usr.sbin/nsd/acx_nlnetlabs.m4
index e1cf83a70bd..decf0f58600 100644
--- a/usr.sbin/nsd/acx_nlnetlabs.m4
+++ b/usr.sbin/nsd/acx_nlnetlabs.m4
@@ -2,7 +2,8 @@
# Copyright 2009, Wouter Wijngaards, NLnet Labs.
# BSD licensed.
#
-# Version 26
+# Version 27
+# 2015-03-17 AHX_CONFIG_REALLOCARRAY added
# 2013-09-19 FLTO help text improved.
# 2013-07-18 Enable ACX_CHECK_COMPILER_FLAG to test for -Wstrict-prototypes
# 2013-06-25 FLTO has --disable-flto option.
@@ -1213,6 +1214,16 @@ struct tm *gmtime_r(const time_t *timep, struct tm *result);
#endif
])
+dnl provide reallocarray compat prototype.
+dnl $1: unique name for compat code
+AC_DEFUN([AHX_CONFIG_REALLOCARRAY],
+[
+#ifndef HAVE_REALLOCARRAY
+#define reallocarray reallocarray$1
+void* reallocarray(void *ptr, size_t nmemb, size_t size);
+#endif
+])
+
dnl provide w32 compat definition for sleep
AC_DEFUN([AHX_CONFIG_W32_SLEEP],
[