From: Vsevolod Stakhov Date: Thu, 8 Oct 2015 15:56:50 +0000 (+0100) Subject: Check for SOCK_SEQPACKET definition. X-Git-Tag: 1.0.5~53 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=694ef3873dece023fe1550d34e36a10b3167415c;p=rspamd.git Check for SOCK_SEQPACKET definition. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 72b3e05de..cfaa632da 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 " diff --git a/config.h.in b/config.h.in index 693a9380e..472c6bced 100644 --- a/config.h.in +++ b/config.h.in @@ -231,6 +231,7 @@ #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)