diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-08-19 00:09:50 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-08-19 00:09:50 +0100 |
commit | cade3789f8ad13db583a975f69f955928cce029f (patch) | |
tree | 2e87bfc4c2df3ed07a721aece13b8a0553300edc /config.h.in | |
parent | 797ed49118014e8ad121a04b585526734ad6b335 (diff) | |
download | rspamd-cade3789f8ad13db583a975f69f955928cce029f.tar.gz rspamd-cade3789f8ad13db583a975f69f955928cce029f.zip |
Add detecting of libfetch/libcurl for rcl.
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 9 |
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 |