equal
deleted
inserted
replaced
20 #define LLM_CONFIG_H |
20 #define LLM_CONFIG_H |
21 |
21 |
22 // define this to enable debugging output |
22 // define this to enable debugging output |
23 #cmakedefine DEBUG |
23 #cmakedefine DEBUG |
24 |
24 |
25 // define this, if you are building with liblua 5.2 |
|
26 #cmakedefine HAVE_LUA52 |
|
27 |
|
28 // define this, if your loudmouth uses SHA256 fingerprints |
25 // define this, if your loudmouth uses SHA256 fingerprints |
29 #cmakedefine HAVE_LM_SHA256_FINGERPRINTS |
26 #cmakedefine HAVE_LM_SHA256_FINGERPRINTS |
30 |
27 |
31 // define this, if your loudmouth have lm_connection_get_keep_alive_rate () |
28 // define this, if your loudmouth have lm_connection_get_keep_alive_rate () |
32 #cmakedefine HAVE_LM_CONNECTION_GET_KEEP_ALIVE_RATE |
29 #cmakedefine HAVE_LM_CONNECTION_GET_KEEP_ALIVE_RATE |
38 #cmakedefine HAVE_LM_SSL_SET_CA |
35 #cmakedefine HAVE_LM_SSL_SET_CA |
39 |
36 |
40 // define this, if your loudmouth have lm_ssl_set_cipher_list () |
37 // define this, if your loudmouth have lm_ssl_set_cipher_list () |
41 #cmakedefine HAVE_LM_SSL_SET_CIPHER_LIST |
38 #cmakedefine HAVE_LM_SSL_SET_CIPHER_LIST |
42 |
39 |
43 #ifndef HAVE_LUA52 |
40 // building against lua 5.1 |
|
41 #cmakedefine LUA51_COMPATIBILITY |
|
42 |
|
43 #ifdef LUA51_COMPATIBILITY |
44 # define lua_rawlen lua_objlen |
44 # define lua_rawlen lua_objlen |
45 # define luaL_setfuncs(STATE, REGTABLE, IGZERO) luaL_register ( STATE, NULL, REGTABLE ) |
45 # define luaL_setfuncs(STATE, REGTABLE, IGZERO) luaL_register ( STATE, NULL, REGTABLE ) |
46 #endif |
46 #endif |
47 |
47 |
48 #ifdef DEBUG |
48 #ifdef DEBUG |