diff options
Diffstat (limited to '')
-rw-r--r-- | src/luaconf.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/luaconf.h b/src/luaconf.h index f47f0680..1cf3a03c 100644 --- a/src/luaconf.h +++ b/src/luaconf.h | |||
@@ -37,7 +37,6 @@ | |||
37 | #endif | 37 | #endif |
38 | #define LUA_LROOT "/usr/local" | 38 | #define LUA_LROOT "/usr/local" |
39 | #define LUA_LUADIR "/lua/5.1/" | 39 | #define LUA_LUADIR "/lua/5.1/" |
40 | #define LUA_LJDIR "/luajit-2.1/" | ||
41 | 40 | ||
42 | #ifdef LUA_ROOT | 41 | #ifdef LUA_ROOT |
43 | #define LUA_JROOT LUA_ROOT | 42 | #define LUA_JROOT LUA_ROOT |
@@ -51,7 +50,11 @@ | |||
51 | #define LUA_RCPATH | 50 | #define LUA_RCPATH |
52 | #endif | 51 | #endif |
53 | 52 | ||
54 | #define LUA_JPATH ";" LUA_JROOT "/share" LUA_LJDIR "?.lua" | 53 | #ifndef LUA_LJDIR |
54 | #define LUA_LJDIR LUA_JROOT "/share/luajit-2.1" | ||
55 | #endif | ||
56 | |||
57 | #define LUA_JPATH ";" LUA_LJDIR "/?.lua" | ||
55 | #define LUA_LLDIR LUA_LROOT "/share" LUA_LUADIR | 58 | #define LUA_LLDIR LUA_LROOT "/share" LUA_LUADIR |
56 | #define LUA_LCDIR LUA_LROOT "/" LUA_LMULTILIB LUA_LUADIR | 59 | #define LUA_LCDIR LUA_LROOT "/" LUA_LMULTILIB LUA_LUADIR |
57 | #define LUA_LLPATH ";" LUA_LLDIR "?.lua;" LUA_LLDIR "?/init.lua" | 60 | #define LUA_LLPATH ";" LUA_LLDIR "?.lua;" LUA_LLDIR "?/init.lua" |