config.cmake.h.in 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. #ifndef __CONFIG_H__
  2. #define __CONFIG_H__
  3. /*****************************************************************************/
  4. /** **/
  5. /** If you want to change any of these options, go to your build directory, **/
  6. /** and type `ccmake ${PATH_TO_SOURCE}`". Change your options in the GUI. **/
  7. /** Make sure to compile and regenerate the Makefiles when you are done by **/
  8. /** either exiting the GUI by typing `c` following by `g`, or by typing **/
  9. /** `cmake ${PATH_TO_SOURCE}` from your build directory. **/
  10. /** **/
  11. /*****************************************************************************/
  12. /* General Snort++ Information */
  13. /* Name of package */
  14. #define PACKAGE @PROJECT_NAME@
  15. /* Version number of package */
  16. #define VERSION "@VERSION@"
  17. /* Build number for this build */
  18. #cmakedefine BUILD "@BUILD@"
  19. /* see configure.ac for the purpose of API_OPTIONS */
  20. /* there is no cmake magic yet to configure this */
  21. /* but luckily it is not yet needed */
  22. #define API_OPTIONS ""
  23. /* User-configured options */
  24. /* enable debug messages */
  25. #cmakedefine DEBUG_MSGS 1
  26. /* enable profiling */
  27. #cmakedefine PROFILE 1
  28. /* do not generate a core file on segfault etc */
  29. #cmakedefine NOCOREFILE 1
  30. /* enable command shell */
  31. #cmakedefine SHELL 1
  32. /* include internal decoders in binary */
  33. #cmakedefine STATIC_CODECS 1
  34. /* include internal inspectors in binary */
  35. #cmakedefine STATIC_INSPECTORS 1
  36. /* include internal ips actions in binary */
  37. #cmakedefine STATIC_IPS_ACTIONS 1
  38. /* include internal ips options in binary */
  39. #cmakedefine STATIC_IPS_OPTIONS 1
  40. /* include internal loggers in binary */
  41. #cmakedefine STATIC_LOGGERS 1
  42. /* include internal inspectors in binary */
  43. #cmakedefine STATIC_SEARCH_ENGINES 1
  44. /* enable unit tests */
  45. #cmakedefine UNIT_TEST 1
  46. /* enable stdlog */
  47. #cmakedefine USE_STDLOG 1
  48. /* enable tsc clock */
  49. #cmakedefine USE_TSC_CLOCK 1
  50. /* disable snort profiler */
  51. #cmakedefine NO_PROFILER 1
  52. /* enable memory profiler */
  53. #cmakedefine ENABLE_MEMORY_PROFILER 1
  54. /* disable tenant_id */
  55. #cmakedefine DISABLE_TENANT_ID 1
  56. /* enable rule profiler */
  57. #cmakedefine ENABLE_RULE_PROFILER 1
  58. /* enable deep profiling */
  59. #cmakedefine DEEP_PROFILING 1
  60. /* enable new and delete overloads for profiling */
  61. #cmakedefine ENABLE_MEMORY_OVERLOADS 1
  62. /* signal to dump stats */
  63. #cmakedefine SIGNAL_SNORT_DUMP_STATS @SIGNAL_SNORT_DUMP_STATS@
  64. /* signal to reload attribute table */
  65. #cmakedefine SIGNAL_SNORT_READ_ATTR_TBL @SIGNAL_SNORT_READ_ATTR_TBL@
  66. /* signal to reload configuration */
  67. #cmakedefine SIGNAL_SNORT_RELOAD @SIGNAL_SNORT_RELOAD@
  68. /* signal to reload stats */
  69. #cmakedefine SIGNAL_SNORT_ROTATE_STATS @SIGNAL_SNORT_ROTATE_STATS@
  70. /* large pcap options */
  71. #cmakedefine _LARGEFILE_SOURCE 1
  72. #cmakedefine _FILE_OFFSET_BITS @_FILE_OFFSET_BITS@
  73. /* System types and their sizes */
  74. /* The size of `long int', as computed by sizeof. */
  75. #cmakedefine SIZEOF_LONG_INT @SIZEOF_LONG_INT@
  76. /* The size of `unsigned long int', as computed by sizeof. */
  77. #cmakedefine SIZEOF_UNSIGNED_LONG_INT @SIZEOF_UNSIGNED_LONG_INT@
  78. /* Define if words are big endian */
  79. #cmakedefine WORDS_BIGENDIAN 1
  80. /* Header file definitions */
  81. /* Define to 1 if you have the <dumbnet.h> header file. */
  82. #cmakedefine HAVE_DUMBNET_H 1
  83. /* Available libraries */
  84. /* hyperscan available */
  85. #cmakedefine HAVE_HYPERSCAN 1
  86. #cmakedefine HAVE_HS_COMPILE_LIT 1
  87. /* iconv available */
  88. #cmakedefine HAVE_ICONV 1
  89. /* libunwind available */
  90. #cmakedefine HAVE_LIBUNWIND 1
  91. /* lzma available */
  92. #cmakedefine HAVE_LZMA 1
  93. /* safec available */
  94. #cmakedefine HAVE_SAFEC 1
  95. /* jemalloc available */
  96. #cmakedefine HAVE_JEMALLOC 1
  97. /* uuid available */
  98. #cmakedefine HAVE_UUID 1
  99. /* tirpc should be used for RPC database lookups */
  100. #cmakedefine USE_TIRPC 1
  101. /* numa available */
  102. #cmakedefine HAVE_NUMA 1
  103. /* libml available */
  104. #cmakedefine HAVE_LIBML 1
  105. /* Availability of specific library functions */
  106. /* Define to 1 if you have the `malloc_trim' function. */
  107. #cmakedefine HAVE_MALLOC_TRIM 1
  108. /* Define to 1 if you have the `memrchr' function. */
  109. #cmakedefine HAVE_MEMRCHR 1
  110. /* Define to 1 if you have the `sigaction' function. */
  111. #cmakedefine HAVE_SIGACTION 1
  112. /* Define to 1 if you have the GNU form of the `strerror_r' function. */
  113. #cmakedefine HAVE_GNU_STRERROR_R 1
  114. /* Define 1 if you have basename_r function for freebsd < 12.0.0 */
  115. #cmakedefine HAVE_BASENAME_R 1
  116. /* Available compiler options */
  117. /* Define if the compiler supports visibility declarations. */
  118. #cmakedefine HAVE_VISIBILITY 1
  119. /* Define if `thread_local` keyword should be used */
  120. #cmakedefine USE_THREAD_LOCAL 1
  121. #endif