]> source.dussan.org Git - rspamd.git/commitdiff
Check for SOCK_SEQPACKET definition.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 8 Oct 2015 15:56:50 +0000 (16:56 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 8 Oct 2015 15:56:50 +0000 (16:56 +0100)
CMakeLists.txt
config.h.in

index 72b3e05deded96978ba3e1648aea62f75e4ba7c0..cfaa632da7fe13f662acbdf4574dad637bf138f5 100644 (file)
@@ -818,6 +818,7 @@ CHECK_SYMBOL_EXISTS(getaddrinfo "sys/types.h;sys/socket.h;netdb.h" HAVE_GETADDRI
 CHECK_SYMBOL_EXISTS(sched_yield "sched.h" HAVE_SCHED_YIELD)
 CHECK_SYMBOL_EXISTS(__get_cpuid "cpuid.h" HAVE_GET_CPUID)
 CHECK_SYMBOL_EXISTS(PCRE_CONFIG_JIT "pcre.h" HAVE_PCRE_JIT)
+CHECK_SYMBOL_EXISTS(SOCK_SEQPACKET "sys/types.h;sys/socket.h" HAVE_SOCK_SEQPACKET)
 
 # Some PCRE implementations are lacking of pcre_jit_exec fast path
 SET(_PCRE_FAST_TEST "
index 693a9380ebeae0e030fbeab94d89cbe273e1a036..472c6bced57ae0a1ace05456b473fe4326bfaebc 100644 (file)
 #cmakedefine HAVE_GET_CPUID      1
 #cmakedefine HAVE_CPUID_H        1
 #cmakedefine HAVE_DIRENT_H       1
+#cmakedefine HAVE_SOCK_SEQPACKET 1
 
 /* Configure allocator */
 #define uthash_malloc(sz) g_slice_alloc(sz)