diff options
author | Mike Pall <mike> | 2009-12-08 19:49:20 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2009-12-08 19:49:20 +0100 |
commit | 1d1fed48a002dfc0919135911057ebc255a53e0a (patch) | |
tree | c5c6643908374bb8f02f4c7691332d32f6645986 /src/luaconf.h | |
parent | 55b16959717084884fd4a0cbae6d19e3786c20c7 (diff) | |
download | luajit-1d1fed48a002dfc0919135911057ebc255a53e0a.tar.gz luajit-1d1fed48a002dfc0919135911057ebc255a53e0a.tar.bz2 luajit-1d1fed48a002dfc0919135911057ebc255a53e0a.zip |
RELEASE LuaJIT-2.0.0-beta2v2.0.0-beta2
Diffstat (limited to 'src/luaconf.h')
-rw-r--r-- | src/luaconf.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/luaconf.h b/src/luaconf.h index 4d4f1099..dfa0f1d5 100644 --- a/src/luaconf.h +++ b/src/luaconf.h | |||
@@ -34,13 +34,22 @@ | |||
34 | ".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll" | 34 | ".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll" |
35 | #else | 35 | #else |
36 | #define LUA_ROOT "/usr/local/" | 36 | #define LUA_ROOT "/usr/local/" |
37 | #define LUA_JDIR LUA_ROOT "share/luajit-2.0.0-beta1/" | ||
38 | #define LUA_LDIR LUA_ROOT "share/lua/5.1/" | 37 | #define LUA_LDIR LUA_ROOT "share/lua/5.1/" |
39 | #define LUA_CDIR LUA_ROOT "lib/lua/5.1/" | 38 | #define LUA_CDIR LUA_ROOT "lib/lua/5.1/" |
39 | #ifdef LUA_XROOT | ||
40 | #define LUA_JDIR LUA_XROOT "share/luajit-2.0.0-beta2/" | ||
41 | #define LUA_XPATH \ | ||
42 | ";" LUA_XROOT "share/lua/5.1/?.lua;" LUA_XROOT "share/lua/5.1/?/init.lua" | ||
43 | #define LUA_XCPATH LUA_XROOT "lib/lua/5.1/?.lua;" | ||
44 | #else | ||
45 | #define LUA_JDIR LUA_ROOT "share/luajit-2.0.0-beta2/" | ||
46 | #define LUA_XPATH | ||
47 | #define LUA_XCPATH | ||
48 | #endif | ||
40 | #define LUA_PATH_DEFAULT \ | 49 | #define LUA_PATH_DEFAULT \ |
41 | "./?.lua;" LUA_JDIR"?.lua;" LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" | 50 | "./?.lua;" LUA_JDIR"?.lua;" LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua" LUA_XPATH |
42 | #define LUA_CPATH_DEFAULT \ | 51 | #define LUA_CPATH_DEFAULT \ |
43 | "./?.so;" LUA_CDIR"?.so;" LUA_CDIR"loadall.so" | 52 | "./?.so;" LUA_CDIR"?.so;" LUA_XCPATH LUA_CDIR"loadall.so" |
44 | #endif | 53 | #endif |
45 | 54 | ||
46 | /* Environment variable names for path overrides and initialization code. */ | 55 | /* Environment variable names for path overrides and initialization code. */ |