]>
git.ipfire.org Git - thirdparty/snort3.git/blob - config.cmake.h.in
5 /*****************************************************************************/
7 /** If you want to change any of these options, go to your build directory, **/
8 /** and type `ccmake ${PATH_TO_SOURCE}`". Change your options in the GUI. **/
9 /** Make sure to compile and regenerate the Makefiles when you are done by **/
10 /** either exiting the GUI by typing `c` following by `g`, or by typing **/
11 /** `cmake ${PATH_TO_SOURCE}` from your build directory. **/
13 /*****************************************************************************/
15 /* General Snort++ Information */
18 #define PACKAGE @PROJECT_NAME@
20 /* Version number of package */
21 #define VERSION "@VERSION@"
23 /* Build number for this build */
24 #cmakedefine BUILD "@BUILD@"
26 /* see configure.ac for the purpose of API_OPTIONS */
27 /* there is no cmake magic yet to configure this */
28 /* but luckily it is not yet needed */
29 #define API_OPTIONS ""
32 /* User-configured options */
34 /* enable debug messages */
35 #cmakedefine DEBUG_MSGS 1
37 /* enable profiling */
38 #cmakedefine PROFILE 1
40 /* do not generate a core file on segfault etc */
41 #cmakedefine NOCOREFILE 1
43 /* enable command shell */
46 /* include internal decoders in binary */
47 #cmakedefine STATIC_CODECS 1
49 /* include internal inspectors in binary */
50 #cmakedefine STATIC_INSPECTORS 1
52 /* include internal ips actions in binary */
53 #cmakedefine STATIC_IPS_ACTIONS 1
55 /* include internal ips options in binary */
56 #cmakedefine STATIC_IPS_OPTIONS 1
58 /* include internal loggers in binary */
59 #cmakedefine STATIC_LOGGERS 1
61 /* include internal inspectors in binary */
62 #cmakedefine STATIC_SEARCH_ENGINES 1
64 /* enable unit tests */
65 #cmakedefine UNIT_TEST 1
68 #cmakedefine USE_STDLOG 1
70 /* enable tsc clock */
71 #cmakedefine USE_TSC_CLOCK 1
73 /* disable snort profiler */
74 #cmakedefine NO_PROFILER 1
76 /* enable memory profiler */
77 #cmakedefine ENABLE_MEMORY_PROFILER 1
79 /* enable rule profiler */
80 #cmakedefine ENABLE_RULE_PROFILER 1
82 /* enable deep profiling */
83 #cmakedefine DEEP_PROFILING 1
85 /* enable new and delete overloads for profiling */
86 #cmakedefine ENABLE_MEMORY_OVERLOADS 1
88 /* signal to dump stats */
89 #cmakedefine SIGNAL_SNORT_DUMP_STATS @SIGNAL_SNORT_DUMP_STATS@
91 /* signal to reload attribute table */
92 #cmakedefine SIGNAL_SNORT_READ_ATTR_TBL @SIGNAL_SNORT_READ_ATTR_TBL@
94 /* signal to reload configuration */
95 #cmakedefine SIGNAL_SNORT_RELOAD @SIGNAL_SNORT_RELOAD@
97 /* signal to reload stats */
98 #cmakedefine SIGNAL_SNORT_ROTATE_STATS @SIGNAL_SNORT_ROTATE_STATS@
100 /* large pcap options */
101 #cmakedefine _LARGEFILE_SOURCE 1
102 #cmakedefine _FILE_OFFSET_BITS @_FILE_OFFSET_BITS@
105 /* System types and their sizes */
107 /* The size of `long int', as computed by sizeof. */
108 #cmakedefine SIZEOF_LONG_INT @SIZEOF_LONG_INT@
110 /* The size of `unsigned long int', as computed by sizeof. */
111 #cmakedefine SIZEOF_UNSIGNED_LONG_INT @SIZEOF_UNSIGNED_LONG_INT@
113 /* Define if words are big endian */
114 #cmakedefine WORDS_BIGENDIAN 1
117 /* Header file definitions */
119 /* Define to 1 if you have the <dumbnet.h> header file. */
120 #cmakedefine HAVE_DUMBNET_H 1
123 /* Available libraries */
125 /* hyperscan available */
126 #cmakedefine HAVE_HYPERSCAN 1
127 #cmakedefine HAVE_HS_COMPILE_LIT 1
129 /* iconv available */
130 #cmakedefine HAVE_ICONV 1
132 /* libunwind available */
133 #cmakedefine HAVE_LIBUNWIND 1
136 #cmakedefine HAVE_LZMA 1
138 /* safec available */
139 #cmakedefine HAVE_SAFEC 1
141 /* jemalloc available */
142 #cmakedefine HAVE_JEMALLOC 1
145 #cmakedefine HAVE_UUID 1
147 /* tirpc should be used for RPC database lookups */
148 #cmakedefine USE_TIRPC 1
151 #cmakedefine HAVE_NUMA 1
153 /* libml available */
154 #cmakedefine HAVE_LIBML 1
156 /* Availability of specific library functions */
158 /* Define to 1 if you have the `malloc_trim' function. */
159 #cmakedefine HAVE_MALLOC_TRIM 1
161 /* Define to 1 if you have the `memrchr' function. */
162 #cmakedefine HAVE_MEMRCHR 1
164 /* Define to 1 if you have the `sigaction' function. */
165 #cmakedefine HAVE_SIGACTION 1
167 /* Define to 1 if you have the GNU form of the `strerror_r' function. */
168 #cmakedefine HAVE_GNU_STRERROR_R 1
170 /* Define 1 if you have basename_r function for freebsd < 12.0.0 */
171 #cmakedefine HAVE_BASENAME_R 1
173 /* Available compiler options */
175 /* Define if the compiler supports visibility declarations. */
176 #cmakedefine HAVE_VISIBILITY 1
178 /* Define if `thread_local` keyword should be used */
179 #cmakedefine USE_THREAD_LOCAL 1