summaryrefslogtreecommitdiffstats
path: root/config.h.in
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-08-19 00:09:50 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-08-19 00:09:50 +0100
commitcade3789f8ad13db583a975f69f955928cce029f (patch)
tree2e87bfc4c2df3ed07a721aece13b8a0553300edc /config.h.in
parent797ed49118014e8ad121a04b585526734ad6b335 (diff)
downloadrspamd-cade3789f8ad13db583a975f69f955928cce029f.tar.gz
rspamd-cade3789f8ad13db583a975f69f955928cce029f.zip
Add detecting of libfetch/libcurl for rcl.
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index b3b1b0f2e..31a0dd2d6 100644
--- a/config.h.in
+++ b/config.h.in
@@ -200,6 +200,9 @@
#cmakedefine GLIB_HASH_COMPAT 1
#cmakedefine PARAM_H_HAS_BITSET 1
+#cmakedefine HAVE_FETCH_H 1
+#cmakedefine CURL_FOUND 1
+
#if (defined(__i386__) || defined(__x86_64__) || defined(_M_IX86))
/* Use murmur hash for UTHash for these platforms */
#define HASH_FUNCTION HASH_MUR
@@ -422,6 +425,12 @@
#include <google/profiler.h>
#endif
+#ifdef HAVE_FETCH_H
+#include <fetch.h>
+#elif defined(CURL_FOUND)
+#include <curl/curl.h>
+#endif
+
#include <errno.h>
#include <signal.h>
#ifdef HAVE_SIGINFO_H