me.h 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388
  1. /*
  2. me.h -- MakeMe Configure Header for linux-x86-default
  3. This header is created by Me during configuration. To change settings, re-run
  4. configure or define variables in your Makefile to override these default values.
  5. */
  6. /* Settings */
  7. #ifndef ME_AUTHOR
  8. #define ME_AUTHOR "Embedthis Software"
  9. #endif
  10. #ifndef ME_CERTS_BITS
  11. #define ME_CERTS_BITS 2048
  12. #endif
  13. #ifndef ME_CERTS_DAYS
  14. #define ME_CERTS_DAYS 3650
  15. #endif
  16. #ifndef ME_CERTS_GENDH
  17. #define ME_CERTS_GENDH 1
  18. #endif
  19. #ifndef ME_COMPANY
  20. #define ME_COMPANY "embedthis"
  21. #endif
  22. #ifndef ME_COMPAT
  23. #define ME_COMPAT 1
  24. #endif
  25. #ifndef ME_COMPATIBLE
  26. #define ME_COMPATIBLE "8.3"
  27. #endif
  28. #ifndef ME_COMPILER_FORTIFY
  29. #define ME_COMPILER_FORTIFY 1
  30. #endif
  31. #ifndef ME_COMPILER_HAS_ATOMIC
  32. #define ME_COMPILER_HAS_ATOMIC 0
  33. #endif
  34. #ifndef ME_COMPILER_HAS_ATOMIC64
  35. #define ME_COMPILER_HAS_ATOMIC64 0
  36. #endif
  37. #ifndef ME_COMPILER_HAS_DOUBLE_BRACES
  38. #define ME_COMPILER_HAS_DOUBLE_BRACES 0
  39. #endif
  40. #ifndef ME_COMPILER_HAS_DYN_LOAD
  41. #define ME_COMPILER_HAS_DYN_LOAD 1
  42. #endif
  43. #ifndef ME_COMPILER_HAS_LIB_EDIT
  44. #define ME_COMPILER_HAS_LIB_EDIT 0
  45. #endif
  46. #ifndef ME_COMPILER_HAS_LIB_RT
  47. #define ME_COMPILER_HAS_LIB_RT 1
  48. #endif
  49. #ifndef ME_COMPILER_HAS_MMU
  50. #define ME_COMPILER_HAS_MMU 1
  51. #endif
  52. #ifndef ME_COMPILER_HAS_MTUNE
  53. #define ME_COMPILER_HAS_MTUNE 1
  54. #endif
  55. #ifndef ME_COMPILER_HAS_PAM
  56. #define ME_COMPILER_HAS_PAM 0
  57. #endif
  58. #ifndef ME_COMPILER_HAS_STACK_PROTECTOR
  59. #define ME_COMPILER_HAS_STACK_PROTECTOR 1
  60. #endif
  61. #ifndef ME_COMPILER_HAS_SYNC
  62. #define ME_COMPILER_HAS_SYNC 1
  63. #endif
  64. #ifndef ME_COMPILER_HAS_SYNC64
  65. #define ME_COMPILER_HAS_SYNC64 1
  66. #endif
  67. #ifndef ME_COMPILER_HAS_SYNC_CAS
  68. #define ME_COMPILER_HAS_SYNC_CAS 0
  69. #endif
  70. #ifndef ME_COMPILER_HAS_UNNAMED_UNIONS
  71. #define ME_COMPILER_HAS_UNNAMED_UNIONS 1
  72. #endif
  73. #ifndef ME_COMPILER_WARN64TO32
  74. #define ME_COMPILER_WARN64TO32 0
  75. #endif
  76. #ifndef ME_COMPILER_WARN_UNUSED
  77. #define ME_COMPILER_WARN_UNUSED 1
  78. #endif
  79. #ifndef ME_CONFIG_FILE
  80. #define ME_CONFIG_FILE "appweb.conf"
  81. #endif
  82. #ifndef ME_DEBUG
  83. #define ME_DEBUG 1
  84. #endif
  85. #ifndef ME_DEPRECATED_WARNINGS
  86. #define ME_DEPRECATED_WARNINGS 0
  87. #endif
  88. #ifndef ME_DEPTH
  89. #define ME_DEPTH 1
  90. #endif
  91. #ifndef ME_DESCRIPTION
  92. #define ME_DESCRIPTION "Embedthis Appweb"
  93. #endif
  94. #ifndef ME_ESP_CMD
  95. #define ME_ESP_CMD 1
  96. #endif
  97. #ifndef ME_ESP_LEGACY
  98. #define ME_ESP_LEGACY 0
  99. #endif
  100. #ifndef ME_ESP_MODULE
  101. #define ME_ESP_MODULE 0
  102. #endif
  103. #ifndef ME_ESP_NAME
  104. #define ME_ESP_NAME "appweb-esp"
  105. #endif
  106. #ifndef ME_HTTP_BASIC
  107. #define ME_HTTP_BASIC 1
  108. #endif
  109. #ifndef ME_HTTP_CACHE
  110. #define ME_HTTP_CACHE 1
  111. #endif
  112. #ifndef ME_HTTP_CMD
  113. #define ME_HTTP_CMD 1
  114. #endif
  115. #ifndef ME_HTTP_DEFENSE
  116. #define ME_HTTP_DEFENSE 1
  117. #endif
  118. #ifndef ME_HTTP_DIGEST
  119. #define ME_HTTP_DIGEST 1
  120. #endif
  121. #ifndef ME_HTTP_DIR
  122. #define ME_HTTP_DIR 1
  123. #endif
  124. #ifndef ME_HTTP_HTTP2
  125. #define ME_HTTP_HTTP2 1
  126. #endif
  127. #ifndef ME_HTTP_PAM
  128. #define ME_HTTP_PAM 1
  129. #endif
  130. #ifndef ME_HTTP_SENDFILE
  131. #define ME_HTTP_SENDFILE 1
  132. #endif
  133. #ifndef ME_HTTP_UPLOAD
  134. #define ME_HTTP_UPLOAD 1
  135. #endif
  136. #ifndef ME_HTTP_WEB_SOCKETS
  137. #define ME_HTTP_WEB_SOCKETS 1
  138. #endif
  139. #ifndef ME_INTEGRATE
  140. #define ME_INTEGRATE 1
  141. #endif
  142. #ifndef ME_MANIFEST
  143. #define ME_MANIFEST "installs/manifest.me"
  144. #endif
  145. #ifndef ME_MBEDTLS_COMPACT
  146. #define ME_MBEDTLS_COMPACT 1
  147. #endif
  148. #ifndef ME_MPR_LOGGING
  149. #define ME_MPR_LOGGING 1
  150. #endif
  151. #ifndef ME_MPR_OSLOG
  152. #define ME_MPR_OSLOG 0
  153. #endif
  154. #ifndef ME_MPR_ROM_MOUNT
  155. #define ME_MPR_ROM_MOUNT "/rom"
  156. #endif
  157. #ifndef ME_MPR_SSL_CACHE
  158. #define ME_MPR_SSL_CACHE 512
  159. #endif
  160. #ifndef ME_MPR_SSL_HANDSHAKES
  161. #define ME_MPR_SSL_HANDSHAKES 3
  162. #endif
  163. #ifndef ME_MPR_SSL_LOG_LEVEL
  164. #define ME_MPR_SSL_LOG_LEVEL 6
  165. #endif
  166. #ifndef ME_MPR_SSL_TICKET
  167. #define ME_MPR_SSL_TICKET 1
  168. #endif
  169. #ifndef ME_MPR_SSL_TIMEOUT
  170. #define ME_MPR_SSL_TIMEOUT 86400
  171. #endif
  172. #ifndef ME_MPR_THREAD_LIMIT_BY_CORES
  173. #define ME_MPR_THREAD_LIMIT_BY_CORES 1
  174. #endif
  175. #ifndef ME_MPR_THREAD_STACK
  176. #define ME_MPR_THREAD_STACK 0
  177. #endif
  178. #ifndef ME_NAME
  179. #define ME_NAME "appweb"
  180. #endif
  181. #ifndef ME_OPENSSL_VERSION
  182. #define ME_OPENSSL_VERSION "1.0"
  183. #endif
  184. #ifndef ME_PARTS
  185. #define ME_PARTS "undefined"
  186. #endif
  187. #ifndef ME_PLATFORMS
  188. #define ME_PLATFORMS "local"
  189. #endif
  190. #ifndef ME_PREFIXES
  191. #define ME_PREFIXES "install-prefixes"
  192. #endif
  193. #ifndef ME_PROFILE
  194. #define ME_PROFILE "undefined"
  195. #endif
  196. #ifndef ME_ROM
  197. #define ME_ROM 0
  198. #endif
  199. #ifndef ME_SERVER_ROOT
  200. #define ME_SERVER_ROOT "."
  201. #endif
  202. #ifndef ME_TITLE
  203. #define ME_TITLE "Embedthis Appweb"
  204. #endif
  205. #ifndef ME_TUNE
  206. #define ME_TUNE "size"
  207. #endif
  208. #ifndef ME_VERSION
  209. #define ME_VERSION "8.3.0"
  210. #endif
  211. #ifndef ME_WATCHDOG_NAME
  212. #define ME_WATCHDOG_NAME "appman"
  213. #endif
  214. #ifndef ME_WEB_GROUP
  215. #define ME_WEB_GROUP "nogroup"
  216. #endif
  217. #ifndef ME_WEB_USER
  218. #define ME_WEB_USER "nobody"
  219. #endif
  220. /* Prefixes */
  221. #ifndef ME_ROOT_PREFIX
  222. #define ME_ROOT_PREFIX "/"
  223. #endif
  224. #ifndef ME_BASE_PREFIX
  225. #define ME_BASE_PREFIX "/usr/local"
  226. #endif
  227. #ifndef ME_DATA_PREFIX
  228. #define ME_DATA_PREFIX "/"
  229. #endif
  230. #ifndef ME_STATE_PREFIX
  231. #define ME_STATE_PREFIX "/var"
  232. #endif
  233. #ifndef ME_APP_PREFIX
  234. #define ME_APP_PREFIX "/usr/local/lib/appweb"
  235. #endif
  236. #ifndef ME_VAPP_PREFIX
  237. #define ME_VAPP_PREFIX "/usr/local/lib/appweb/8.3.0"
  238. #endif
  239. #ifndef ME_BIN_PREFIX
  240. #define ME_BIN_PREFIX "/usr/local/bin"
  241. #endif
  242. #ifndef ME_INC_PREFIX
  243. #define ME_INC_PREFIX "/usr/local/include"
  244. #endif
  245. #ifndef ME_LIB_PREFIX
  246. #define ME_LIB_PREFIX "/usr/local/lib"
  247. #endif
  248. #ifndef ME_MAN_PREFIX
  249. #define ME_MAN_PREFIX "/usr/local/share/man"
  250. #endif
  251. #ifndef ME_SBIN_PREFIX
  252. #define ME_SBIN_PREFIX "/usr/local/sbin"
  253. #endif
  254. #ifndef ME_ETC_PREFIX
  255. #define ME_ETC_PREFIX "/etc/appweb"
  256. #endif
  257. #ifndef ME_WEB_PREFIX
  258. #define ME_WEB_PREFIX "/var/www/appweb"
  259. #endif
  260. #ifndef ME_LOG_PREFIX
  261. #define ME_LOG_PREFIX "/var/log/appweb"
  262. #endif
  263. #ifndef ME_SPOOL_PREFIX
  264. #define ME_SPOOL_PREFIX "/var/spool/appweb"
  265. #endif
  266. #ifndef ME_CACHE_PREFIX
  267. #define ME_CACHE_PREFIX "/var/spool/appweb/cache"
  268. #endif
  269. #ifndef ME_SRC_PREFIX
  270. #define ME_SRC_PREFIX "appweb-8.3.0"
  271. #endif
  272. /* Suffixes */
  273. #ifndef ME_EXE
  274. #define ME_EXE ""
  275. #endif
  276. #ifndef ME_SHLIB
  277. #define ME_SHLIB ".so"
  278. #endif
  279. #ifndef ME_SHOBJ
  280. #define ME_SHOBJ ".so"
  281. #endif
  282. #ifndef ME_LIB
  283. #define ME_LIB ".a"
  284. #endif
  285. #ifndef ME_OBJ
  286. #define ME_OBJ ".o"
  287. #endif
  288. /* Profile */
  289. #ifndef ME_CONFIG_CMD
  290. #define ME_CONFIG_CMD "me -d -q -platform linux-x86-default -configure . --with esp --with fast -with proxy -gen make"
  291. #endif
  292. #ifndef ME_APPWEB_PRODUCT
  293. #define ME_APPWEB_PRODUCT 1
  294. #endif
  295. #ifndef ME_PROFILE
  296. #define ME_PROFILE "default"
  297. #endif
  298. #ifndef ME_TUNE_SIZE
  299. #define ME_TUNE_SIZE 1
  300. #endif
  301. /* Miscellaneous */
  302. #ifndef ME_MAJOR_VERSION
  303. #define ME_MAJOR_VERSION 8
  304. #endif
  305. #ifndef ME_MINOR_VERSION
  306. #define ME_MINOR_VERSION 3
  307. #endif
  308. #ifndef ME_PATCH_VERSION
  309. #define ME_PATCH_VERSION 0
  310. #endif
  311. #ifndef ME_VNUM
  312. #define ME_VNUM 800030000
  313. #endif
  314. /* Components */
  315. #ifndef ME_COM_CGI
  316. #define ME_COM_CGI 0
  317. #endif
  318. #ifndef ME_COM_CC
  319. #define ME_COM_CC 1
  320. #endif
  321. #ifndef ME_COM_DIR
  322. #define ME_COM_DIR 0
  323. #endif
  324. #ifndef ME_COM_EJS
  325. #define ME_COM_EJS 0
  326. #endif
  327. #ifndef ME_COM_ESP
  328. #define ME_COM_ESP 1
  329. #endif
  330. #ifndef ME_COM_FAST
  331. #define ME_COM_FAST 1
  332. #endif
  333. #ifndef ME_COM_HTTP
  334. #define ME_COM_HTTP 1
  335. #endif
  336. #ifndef ME_COM_LIB
  337. #define ME_COM_LIB 1
  338. #endif
  339. #ifndef ME_COM_MATRIXSSL
  340. #define ME_COM_MATRIXSSL 0
  341. #endif
  342. #ifndef ME_COM_MBEDTLS
  343. #define ME_COM_MBEDTLS 1
  344. #endif
  345. #ifndef ME_COM_MDB
  346. #define ME_COM_MDB 1
  347. #endif
  348. #ifndef ME_COM_MPR
  349. #define ME_COM_MPR 1
  350. #endif
  351. #ifndef ME_COM_NANOSSL
  352. #define ME_COM_NANOSSL 0
  353. #endif
  354. #ifndef ME_COM_OPENSSL
  355. #define ME_COM_OPENSSL 0
  356. #endif
  357. #ifndef ME_COM_OSDEP
  358. #define ME_COM_OSDEP 1
  359. #endif
  360. #ifndef ME_COM_PCRE
  361. #define ME_COM_PCRE 1
  362. #endif
  363. #ifndef ME_COM_PHP
  364. #define ME_COM_PHP 0
  365. #endif
  366. #ifndef ME_COM_PROXY
  367. #define ME_COM_PROXY 1
  368. #endif
  369. #ifndef ME_COM_SQLITE
  370. #define ME_COM_SQLITE 0
  371. #endif
  372. #ifndef ME_COM_SSL
  373. #define ME_COM_SSL 1
  374. #endif
  375. #ifndef ME_COM_VXWORKS
  376. #define ME_COM_VXWORKS 0
  377. #endif
  378. #ifndef ME_COM_WATCHDOG
  379. #define ME_COM_WATCHDOG 1
  380. #endif