summaryrefslogtreecommitdiffstats
path: root/contrib/unbound/dnstap/dnstap_config.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/unbound/dnstap/dnstap_config.h.in')
-rw-r--r--contrib/unbound/dnstap/dnstap_config.h.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/contrib/unbound/dnstap/dnstap_config.h.in b/contrib/unbound/dnstap/dnstap_config.h.in
new file mode 100644
index 0000000..c9f7489
--- /dev/null
+++ b/contrib/unbound/dnstap/dnstap_config.h.in
@@ -0,0 +1,17 @@
+#ifndef UNBOUND_DNSTAP_CONFIG_H
+#define UNBOUND_DNSTAP_CONFIG_H
+
+/*
+ * Process this file (dnstap_config.h.in) with AC_CONFIG_FILES to generate
+ * dnstap_config.h.
+ *
+ * This file exists so that USE_DNSTAP can be used without including config.h.
+ */
+
+#if @ENABLE_DNSTAP@ /* ENABLE_DNSTAP */
+# ifndef USE_DNSTAP
+# define USE_DNSTAP 1
+# endif
+#endif
+
+#endif /* UNBOUND_DNSTAP_CONFIG_H */
OpenPOWER on IntegriCloud