summaryrefslogtreecommitdiffstats
path: root/config.h.in
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-07 14:29:25 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-07 14:29:25 +0000
commitbe2034ea2469d327451803a5d35804e96f1076be (patch)
treeeca5b1239d2d64f94847fb7cc2667eafbaa1a54d /config.h.in
parentee98688103cf7bb7e14a4356adf055c77201b9f2 (diff)
downloadrspamd-be2034ea2469d327451803a5d35804e96f1076be.tar.gz
rspamd-be2034ea2469d327451803a5d35804e96f1076be.zip
Start hyperscan support
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in302
1 files changed, 114 insertions, 188 deletions
diff --git a/config.h.in b/config.h.in
index 001506a6a..0f9e063dc 100644
--- a/config.h.in
+++ b/config.h.in
@@ -1,69 +1,131 @@
#ifndef RSPAMD_CONFIG_H_IN
#define RSPAMD_CONFIG_H_IN
-#cmakedefine HAVE_SYS_TYPES_H 1
-
-#cmakedefine HAVE_SYS_TIME_H 1
-
-#cmakedefine HAVE_SYS_UIO_H 1
-
+#cmakedefine BUILD_STATIC 1
+#cmakedefine CURL_FOUND 1
+#cmakedefine DEBUG_MODE 1
+#cmakedefine GLIB_COMPAT 1
+#cmakedefine GLIB_HASH_COMPAT 1
+#cmakedefine GLIB_RE_COMPAT 1
+#cmakedefine GLIB_UNISCRIPT_COMPAT 1
+#cmakedefine GMIME24 1
+#cmakedefine HAVE_AIO_H 1
+#cmakedefine HAVE_ARPA_INET_H 1
+#cmakedefine HAVE_ASM_PAUSE 1
+#cmakedefine HAVE_ATOMIC_BUILTINS 1
+#cmakedefine HAVE_CLOCK_GETTIME 1
+#cmakedefine HAVE_CLOCK_PROCESS_CPUTIME_ID 1
+#cmakedefine HAVE_CLOCK_VIRTUAL 1
+#cmakedefine HAVE_COMPATIBLE_QUEUE_H 1
+#cmakedefine HAVE_CPUID_H 1
+#cmakedefine HAVE_CTYPE_H 1
+#cmakedefine HAVE_DIRENT_H 1
+#cmakedefine HAVE_ENDIAN_H 1
+#cmakedefine HAVE_EXP2L 1
+#cmakedefine HAVE_EXPL 1
+#cmakedefine HAVE_EXPLICIT_BZERO 1
+#cmakedefine HAVE_FADVISE 1
+#cmakedefine HAVE_FALLOCATE 1
#cmakedefine HAVE_FCNTL_H 1
-
+#cmakedefine HAVE_FDATASYNC 1
+#cmakedefine HAVE_FETCH_H 1
+#cmakedefine HAVE_FLOCK 1
+#cmakedefine HAVE_GETPAGESIZE 1
+#cmakedefine HAVE_GET_CPUID 1
+#cmakedefine HAVE_GLOB_H 1
+#cmakedefine HAVE_GRP_H 1
+#cmakedefine HAVE_INET_PTON 1
+#cmakedefine HAVE_INTTYPES_H 1
+#cmakedefine HAVE_IPV6_V6ONLY 1
+#cmakedefine HAVE_LIBAIO_H 1
+#cmakedefine HAVE_LIBGEN_H 1
+#cmakedefine HAVE_LIBUTIL_H 1
+#cmakedefine HAVE_LOCALE_H 1
+#cmakedefine HAVE_MACHINE_ENDIAN_H 1
#cmakedefine HAVE_MATH_H 1
-
+#cmakedefine HAVE_MAXPATHLEN 1
+#cmakedefine HAVE_MEMSET_S 1
+#cmakedefine HAVE_MKSTEMP 1
+#cmakedefine HAVE_MMAP_ANON 1
+#cmakedefine HAVE_MMAP_NOCORE 1
+#cmakedefine HAVE_MMAP_SHARED 1
+#cmakedefine HAVE_NANOSLEEP 1
+#cmakedefine HAVE_NETDB_H 1
+#cmakedefine HAVE_NETINET_IN_H 1
+#cmakedefine HAVE_OASYNC 1
+#cmakedefine HAVE_OPENSSL 1
+#cmakedefine HAVE_O_DIRECT 1
+#cmakedefine HAVE_PATH_MAX 1
+#cmakedefine HAVE_PCRE_JIT 1
+#cmakedefine HAVE_PCRE_JIT_FAST 1
+#cmakedefine HAVE_PIDFILE 1
+#cmakedefine HAVE_PIDFILE_FILENO 1
+#cmakedefine HAVE_POLL_H 1
+#cmakedefine HAVE_POSIX_FALLOCATE 1
+#cmakedefine HAVE_PTHREAD_PROCESS_SHARED 1
+#cmakedefine HAVE_PWD_H 1
+#cmakedefine HAVE_READPASSPHRASE_H 1
+#cmakedefine HAVE_SA_SIGINFO 1
+#cmakedefine HAVE_SCHED_YEILD 1
+#cmakedefine HAVE_SC_NPROCESSORS_ONLN 1
+#cmakedefine HAVE_SEARCH_H 1
+#cmakedefine HAVE_SENDFILE 1
+#cmakedefine HAVE_SETITIMER 1
+#cmakedefine HAVE_SETPROCTITLE 1
+#cmakedefine HAVE_SETSIG 1
+#cmakedefine HAVE_SIGINFO_H 1
+#cmakedefine HAVE_SOCK_SEQPACKET 1
+#cmakedefine HAVE_STDBOOL_H 1
+#cmakedefine HAVE_STDINT_H 1
#cmakedefine HAVE_STDIO_H 1
-
#cmakedefine HAVE_STDLIB_H 1
-
-#cmakedefine HAVE_STRING_H 1
-
#cmakedefine HAVE_STRINGS_H 1
-
-#cmakedefine HAVE_TIME_H 1
-
-#cmakedefine HAVE_UNISTD_H 1
-
+#cmakedefine HAVE_STRING_H 1
+#cmakedefine HAVE_STROPS_H 1
#cmakedefine HAVE_SYSEXITS_H 1
-
-#cmakedefine HAVE_STDINT_H 1
-
-#cmakedefine HAVE_INTTYPES_H 1
-
-#cmakedefine HAVE_STDBOOL_H 1
-
-#cmakedefine HAVE_ARPA_INET_H 1
-#cmakedefine HAVE_NETINET_IN_H 1
-
-#cmakedefine HAVE_NETDB_H 1
-
-#cmakedefine HAVE_POLL_H 1
-
#cmakedefine HAVE_SYSLOG_H 1
-
-#cmakedefine HAVE_SIGINFO_H 1
-
-#cmakedefine HAVE_LIBUTIL_H 1
-
-#cmakedefine HAVE_LIBGEN_H 1
-
-#cmakedefine HAVE_SEARCH_H 1
-
-#cmakedefine HAVE_LOCALE_H 1
-
-#cmakedefine HAVE_GRP_H 1
-#cmakedefine HAVE_PWD_H 1
-
-#cmakedefine HAVE_GLOB_H 1
-
-#cmakedefine HAVE_ENDIAN_H 1
-#cmakedefine HAVE_SYS_ENDIAN_H 1
-#cmakedefine HAVE_MACHINE_ENDIAN_H 1
#cmakedefine HAVE_SYS_CDEFS_H 1
-
+#cmakedefine HAVE_SYS_ENDIAN_H 1
+#cmakedefine HAVE_SYS_EVENTFD_H 1
+#cmakedefine HAVE_SYS_FILE_H 1
+#cmakedefine HAVE_SYS_IOCTL_H 1
+#cmakedefine HAVE_SYS_MMAN_H 1
+#cmakedefine HAVE_SYS_PARAM_H 1
+#cmakedefine HAVE_SYS_QUEUE_H 1
+#cmakedefine HAVE_SYS_RESOURCE_H 1
+#cmakedefine HAVE_SYS_SENDFILE_H 1
+#cmakedefine HAVE_SYS_SOCKET_H 1
+#cmakedefine HAVE_SYS_STAT_H 1
+#cmakedefine HAVE_SYS_TIMEB_H 1
+#cmakedefine HAVE_SYS_TIME_H 1
+#cmakedefine HAVE_SYS_TYPES_H 1
+#cmakedefine HAVE_SYS_UIO_H 1
+#cmakedefine HAVE_SYS_UN_H 1
+#cmakedefine HAVE_SYS_UTSNAME_H 1
+#cmakedefine HAVE_SYS_WAIT_H 1
+#cmakedefine HAVE_TANH 1
+#cmakedefine HAVE_TANHL 1
+#cmakedefine HAVE_TERMIOS_H 1
+#cmakedefine HAVE_TIME_H 1
+#cmakedefine HAVE_UNISTD_H 1
+#cmakedefine HAVE_VFORK 1
+#cmakedefine HAVE_WAIT4 1
+#cmakedefine HAVE_WAITPID 1
+#cmakedefine HAVE_WEAK_SYMBOLS 1
#cmakedefine LIBEVENT_EVHTTP 1
-
+#cmakedefine PARAM_H_HAS_BITSET 1
+#cmakedefine WITH_DB 1
+#cmakedefine WITH_GPERF_TOOLS 1
#cmakedefine WITH_HIREDIS 1
+#cmakedefine WITH_HYPERSCAN 1
+#cmakedefine WITH_JUDY 1
+#cmakedefine WITH_LUA 1
+#cmakedefine WITH_PROFILER 1
+#cmakedefine WITH_SNOWBALL 1
+#cmakedefine WITH_SQLITE 1
+#cmakedefine WITH_SYSTEM_HIREDIS 1
+/* Detect endiannes */
#ifdef HAVE_ENDIAN_H
#include <endian.h>
#else
@@ -91,142 +153,6 @@
#if !defined(BYTE_ORDER)
# error "Undefined or unknown BYTE_ORDER"
#endif
-#cmakedefine HAVE_SYS_QUEUE_H 1
-#cmakedefine HAVE_SYS_MMAN_H 1
-#cmakedefine HAVE_SYS_SOCKET_H 1
-#cmakedefine HAVE_SYS_UN_H 1
-#cmakedefine HAVE_SYS_STAT_H 1
-#cmakedefine HAVE_SYS_WAIT_H 1
-#cmakedefine HAVE_SYS_PARAM_H 1
-#cmakedefine HAVE_SYS_FILE_H 1
-#cmakedefine HAVE_SYS_RESOURCE_H 1
-#cmakedefine HAVE_SYS_TIMEB_H 1
-#cmakedefine HAVE_SYS_UTSNAME_H 1
-
-#cmakedefine HAVE_PIDFILE 1
-
-#cmakedefine HAVE_PIDFILE_FILENO 1
-
-#cmakedefine HAVE_SETPROCTITLE 1
-
-#cmakedefine HAVE_GETPAGESIZE 1
-
-#cmakedefine HAVE_NANOSLEEP 1
-
-#cmakedefine HAVE_PATH_MAX 1
-
-#cmakedefine HAVE_MAXPATHLEN 1
-
-#cmakedefine HAVE_MMAP_SHARED 1
-
-#cmakedefine HAVE_MMAP_ANON 1
-
-#cmakedefine HAVE_MMAP_NOCORE 1
-
-#cmakedefine HAVE_O_DIRECT 1
-
-#cmakedefine HAVE_FADVISE 1
-
-#cmakedefine HAVE_FALLOCATE 1
-#cmakedefine HAVE_POSIX_FALLOCATE 1
-
-#cmakedefine HAVE_FDATASYNC 1
-#cmakedefine HAVE_COMPATIBLE_QUEUE_H 1
-
-#cmakedefine HAVE_SC_NPROCESSORS_ONLN 1
-
-#cmakedefine HAVE_VFORK 1
-
-#cmakedefine HAVE_WAIT4 1
-
-#cmakedefine HAVE_WAITPID 1
-
-#cmakedefine HAVE_FLOCK 1
-
-#cmakedefine HAVE_TANHL 1
-#cmakedefine HAVE_TANH 1
-
-#cmakedefine HAVE_EXPL 1
-#cmakedefine HAVE_EXP2L 1
-
-#cmakedefine HAVE_SA_SIGINFO 1
-
-#cmakedefine DEBUG_MODE 1
-
-#cmakedefine GMIME24 1
-
-#cmakedefine HAVE_CLOCK_VIRTUAL 1
-#cmakedefine HAVE_CLOCK_PROCESS_CPUTIME_ID 1
-
-#cmakedefine HAVE_SETITIMER 1
-
-#cmakedefine HAVE_INET_PTON 1
-
-#define WITHOUT_PERL 1
-
-#cmakedefine WITH_LUA 1
-
-#cmakedefine WITH_PROFILER 1
-
-#cmakedefine WITH_JUDY 1
-
-#cmakedefine WITH_DB 1
-
-#cmakedefine WITH_SQLITE 1
-
-#cmakedefine WITH_GPERF_TOOLS 1
-
-#cmakedefine WITH_SYSTEM_HIREDIS 1
-
-#cmakedefine HAVE_ASM_PAUSE 1
-
-#cmakedefine BUILD_STATIC 1
-
-#cmakedefine HAVE_SENDFILE 1
-#cmakedefine HAVE_SYS_SENDFILE_H 1
-#cmakedefine HAVE_SYS_EVENTFD_H 1
-#cmakedefine HAVE_AIO_H 1
-#cmakedefine HAVE_LIBAIO_H 1
-
-#cmakedefine HAVE_MKSTEMP 1
-
-#cmakedefine HAVE_CLOCK_GETTIME 1
-
-#cmakedefine HAVE_OPENSSL 1
-
-#cmakedefine GLIB_COMPAT 1
-#cmakedefine GLIB_RE_COMPAT 1
-#cmakedefine GLIB_UNISCRIPT_COMPAT 1
-#cmakedefine GLIB_HASH_COMPAT 1
-#cmakedefine PARAM_H_HAS_BITSET 1
-
-#cmakedefine HAVE_FETCH_H 1
-#cmakedefine CURL_FOUND 1
-
-#cmakedefine HAVE_READPASSPHRASE_H 1
-#cmakedefine HAVE_TERMIOS_H 1
-
-#cmakedefine HAVE_IPV6_V6ONLY 1
-
-#cmakedefine HAVE_CTYPE_H 1
-#cmakedefine HAVE_SCHED_YEILD 1
-#cmakedefine HAVE_PTHREAD_PROCESS_SHARED 1
-
-#cmakedefine HAVE_MEMSET_S 1
-#cmakedefine HAVE_EXPLICIT_BZERO 1
-#cmakedefine HAVE_WEAK_SYMBOLS 1
-#cmakedefine HAVE_PCRE_JIT 1
-#cmakedefine HAVE_PCRE_JIT_FAST 1
-#cmakedefine HAVE_GET_CPUID 1
-#cmakedefine HAVE_CPUID_H 1
-#cmakedefine HAVE_DIRENT_H 1
-#cmakedefine HAVE_SOCK_SEQPACKET 1
-#cmakedefine HAVE_SYS_IOCTL_H 1
-#cmakedefine HAVE_STROPS_H 1
-#cmakedefine HAVE_SETSIG 1
-#cmakedefine HAVE_OASYNC 1
-#cmakedefine WITH_SNOWBALL 1
-#cmakedefine HAVE_ATOMIC_BUILTINS 1
/* Configure allocator */
#define uthash_malloc(sz) g_slice_alloc(sz)