aboutsummaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2014-05-14 18:44:22 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2014-05-14 18:44:22 +0000
commit79dd93c19fd35899133800562b0db20f1a4c0f56 (patch)
tree86c1332d2843f4c80ae64365c16ba04306b6f542 /config.h.in
parentf61d78fb42d2662643e7f0dbdcb97adbc2589dbc (diff)
downloadsrc-79dd93c19fd35899133800562b0db20f1a4c0f56.tar.gz
src-79dd93c19fd35899133800562b0db20f1a4c0f56.zip
Notes
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in46
1 files changed, 37 insertions, 9 deletions
diff --git a/config.h.in b/config.h.in
index 46f38edf35d4..ffab98c1d64a 100644
--- a/config.h.in
+++ b/config.h.in
@@ -70,6 +70,12 @@
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
+/* Define to 1 if you have the `endprotoent' function. */
+#undef HAVE_ENDPROTOENT
+
+/* Define to 1 if you have the `endservent' function. */
+#undef HAVE_ENDSERVENT
+
/* Define to 1 if you have the `event_base_free' function. */
#undef HAVE_EVENT_BASE_FREE
@@ -166,15 +172,6 @@
/* Define to 1 if you have the `kill' function. */
#undef HAVE_KILL
-/* Define to 1 if you have the `ldns_key_EVP_unload_gost' function. */
-#undef HAVE_LDNS_KEY_EVP_UNLOAD_GOST
-
-/* Define to 1 if you have the <ldns/ldns.h> header file. */
-#undef HAVE_LDNS_LDNS_H
-
-/* Define to 1 if you have the `ldns' library (-lldns). */
-#undef HAVE_LIBLDNS
-
/* Define to 1 if you have the `localtime_r' function. */
#undef HAVE_LOCALTIME_R
@@ -310,6 +307,9 @@
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
+/* Define to 1 if you have the `strlcat' function. */
+#undef HAVE_STRLCAT
+
/* Define to 1 if you have the `strlcpy' function. */
#undef HAVE_STRLCPY
@@ -475,6 +475,9 @@
/* Shared data */
#undef SHARE_DIR
+/* The size of `time_t', as computed by sizeof. */
+#undef SIZEOF_TIME_T
+
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
@@ -569,6 +572,9 @@
/* Define to 1 if on MINIX. */
#undef _MINIX
+/* Enable for compile on Minix */
+#undef _NETBSD_SOURCE
+
/* Define to 2 if the system does not provide POSIX.1 features except with
this defined. */
#undef _POSIX_1_SOURCE
@@ -687,6 +693,12 @@
# define NDEBUG
#endif
+/** Use small-ldns codebase */
+#define USE_SLDNS 1
+#ifdef HAVE_SSL
+# define LDNS_BUILD_CONFIG_HAVE_SSL 1
+#endif
+
#include <stdio.h>
#include <string.h>
#include <unistd.h>
@@ -697,6 +709,10 @@
#include <stddef.h>
#endif
+#ifdef HAVE_STDARG_H
+#include <stdarg.h>
+#endif
+
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
@@ -731,6 +747,12 @@
#include <ws2tcpip.h>
#endif
+#ifndef USE_WINSOCK
+#define ARG_LL "%ll"
+#else
+#define ARG_LL "%I64"
+#endif
+
#ifdef HAVE_ATTR_FORMAT
@@ -796,6 +818,12 @@ void *memmove(void *dest, const void *src, size_t n);
#endif
+#ifndef HAVE_STRLCAT
+#define strlcat strlcat_unbound
+size_t strlcat(char *dst, const char *src, size_t siz);
+#endif
+
+
#ifndef HAVE_STRLCPY
#define strlcpy strlcpy_unbound
size_t strlcpy(char *dst, const char *src, size_t siz);