]> git.ipfire.org Git - thirdparty/snort3.git/blob - config.cmake.h.in
Pull request #4195: stream_tcp: add alerts for exceeding thresholds for max queued...
[thirdparty/snort3.git] / config.cmake.h.in
1 #ifndef __CONFIG_H__
2 #define __CONFIG_H__
3
4
5 /*****************************************************************************/
6 /** **/
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. **/
12 /** **/
13 /*****************************************************************************/
14
15 /* General Snort++ Information */
16
17 /* Name of package */
18 #define PACKAGE @PROJECT_NAME@
19
20 /* Version number of package */
21 #define VERSION "@VERSION@"
22
23 /* Build number for this build */
24 #cmakedefine BUILD "@BUILD@"
25
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 ""
30
31
32 /* User-configured options */
33
34 /* enable debug messages */
35 #cmakedefine DEBUG_MSGS 1
36
37 /* enable profiling */
38 #cmakedefine PROFILE 1
39
40 /* do not generate a core file on segfault etc */
41 #cmakedefine NOCOREFILE 1
42
43 /* enable command shell */
44 #cmakedefine SHELL 1
45
46 /* include internal decoders in binary */
47 #cmakedefine STATIC_CODECS 1
48
49 /* include internal inspectors in binary */
50 #cmakedefine STATIC_INSPECTORS 1
51
52 /* include internal ips actions in binary */
53 #cmakedefine STATIC_IPS_ACTIONS 1
54
55 /* include internal ips options in binary */
56 #cmakedefine STATIC_IPS_OPTIONS 1
57
58 /* include internal loggers in binary */
59 #cmakedefine STATIC_LOGGERS 1
60
61 /* include internal inspectors in binary */
62 #cmakedefine STATIC_SEARCH_ENGINES 1
63
64 /* enable unit tests */
65 #cmakedefine UNIT_TEST 1
66
67 /* enable stdlog */
68 #cmakedefine USE_STDLOG 1
69
70 /* enable tsc clock */
71 #cmakedefine USE_TSC_CLOCK 1
72
73 /* disable snort profiler */
74 #cmakedefine NO_PROFILER 1
75
76 /* enable memory profiler */
77 #cmakedefine ENABLE_MEMORY_PROFILER 1
78
79 /* enable rule profiler */
80 #cmakedefine ENABLE_RULE_PROFILER 1
81
82 /* enable deep profiling */
83 #cmakedefine DEEP_PROFILING 1
84
85 /* enable new and delete overloads for profiling */
86 #cmakedefine ENABLE_MEMORY_OVERLOADS 1
87
88 /* signal to dump stats */
89 #cmakedefine SIGNAL_SNORT_DUMP_STATS @SIGNAL_SNORT_DUMP_STATS@
90
91 /* signal to reload attribute table */
92 #cmakedefine SIGNAL_SNORT_READ_ATTR_TBL @SIGNAL_SNORT_READ_ATTR_TBL@
93
94 /* signal to reload configuration */
95 #cmakedefine SIGNAL_SNORT_RELOAD @SIGNAL_SNORT_RELOAD@
96
97 /* signal to reload stats */
98 #cmakedefine SIGNAL_SNORT_ROTATE_STATS @SIGNAL_SNORT_ROTATE_STATS@
99
100 /* large pcap options */
101 #cmakedefine _LARGEFILE_SOURCE 1
102 #cmakedefine _FILE_OFFSET_BITS @_FILE_OFFSET_BITS@
103
104
105 /* System types and their sizes */
106
107 /* The size of `long int', as computed by sizeof. */
108 #cmakedefine SIZEOF_LONG_INT @SIZEOF_LONG_INT@
109
110 /* The size of `unsigned long int', as computed by sizeof. */
111 #cmakedefine SIZEOF_UNSIGNED_LONG_INT @SIZEOF_UNSIGNED_LONG_INT@
112
113 /* Define if words are big endian */
114 #cmakedefine WORDS_BIGENDIAN 1
115
116
117 /* Header file definitions */
118
119 /* Define to 1 if you have the <dumbnet.h> header file. */
120 #cmakedefine HAVE_DUMBNET_H 1
121
122
123 /* Available libraries */
124
125 /* hyperscan available */
126 #cmakedefine HAVE_HYPERSCAN 1
127 #cmakedefine HAVE_HS_COMPILE_LIT 1
128
129 /* iconv available */
130 #cmakedefine HAVE_ICONV 1
131
132 /* libunwind available */
133 #cmakedefine HAVE_LIBUNWIND 1
134
135 /* lzma available */
136 #cmakedefine HAVE_LZMA 1
137
138 /* safec available */
139 #cmakedefine HAVE_SAFEC 1
140
141 /* jemalloc available */
142 #cmakedefine HAVE_JEMALLOC 1
143
144 /* uuid available */
145 #cmakedefine HAVE_UUID 1
146
147 /* tirpc should be used for RPC database lookups */
148 #cmakedefine USE_TIRPC 1
149
150 /* numa available */
151 #cmakedefine HAVE_NUMA 1
152
153 /* libml available */
154 #cmakedefine HAVE_LIBML 1
155
156 /* Availability of specific library functions */
157
158 /* Define to 1 if you have the `malloc_trim' function. */
159 #cmakedefine HAVE_MALLOC_TRIM 1
160
161 /* Define to 1 if you have the `memrchr' function. */
162 #cmakedefine HAVE_MEMRCHR 1
163
164 /* Define to 1 if you have the `sigaction' function. */
165 #cmakedefine HAVE_SIGACTION 1
166
167 /* Define to 1 if you have the GNU form of the `strerror_r' function. */
168 #cmakedefine HAVE_GNU_STRERROR_R 1
169
170 /* Define 1 if you have basename_r function for freebsd < 12.0.0 */
171 #cmakedefine HAVE_BASENAME_R 1
172
173 /* Available compiler options */
174
175 /* Define if the compiler supports visibility declarations. */
176 #cmakedefine HAVE_VISIBILITY 1
177
178 /* Define if `thread_local` keyword should be used */
179 #cmakedefine USE_THREAD_LOCAL 1
180
181 #endif
182