summaryrefslogtreecommitdiff
path: root/dnscrypt/dnscrypt_config.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'dnscrypt/dnscrypt_config.h.in')
-rw-r--r--dnscrypt/dnscrypt_config.h.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/dnscrypt/dnscrypt_config.h.in b/dnscrypt/dnscrypt_config.h.in
new file mode 100644
index 000000000000..d9f38a88e510
--- /dev/null
+++ b/dnscrypt/dnscrypt_config.h.in
@@ -0,0 +1,17 @@
+#ifndef UNBOUND_DNSCRYPT_CONFIG_H
+#define UNBOUND_DNSCRYPT_CONFIG_H
+
+/*
+ * Process this file (dnscrypt_config.h.in) with AC_CONFIG_FILES to generate
+ * dnscrypt_config.h.
+ *
+ * This file exists so that USE_DNSCRYPT can be used without including config.h.
+ */
+
+#if @ENABLE_DNSCRYPT@ /* ENABLE_DNSCRYPT */
+# ifndef USE_DNSCRYPT
+# define USE_DNSCRYPT 1
+# endif
+#endif
+
+#endif /* UNBOUND_DNSCRYPT_CONFIG_H */