diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-09-06 14:21:03 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-09-06 14:21:03 -0300 |
commit | 669f6306be9489dfff6973cbab868362c4892e77 (patch) | |
tree | 95eb321acac26649f21c8d00bd2c49a258d20917 /luaconf.h | |
parent | 2bcbd3c72539ef121cbde5ccbe355171a0722381 (diff) | |
download | lua-669f6306be9489dfff6973cbab868362c4892e77.tar.gz lua-669f6306be9489dfff6973cbab868362c4892e77.tar.bz2 lua-669f6306be9489dfff6973cbab868362c4892e77.zip |
small corrections
Diffstat (limited to '')
-rw-r--r-- | luaconf.h | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: luaconf.h,v 1.62 2005/08/25 15:38:53 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.63 2005/09/02 19:53:25 roberto Exp roberto $ |
3 | ** Configuration file for Lua | 3 | ** Configuration file for Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -45,23 +45,23 @@ | |||
45 | ** In Windows, any exclamation mark ('!') in the path is replaced by the | 45 | ** In Windows, any exclamation mark ('!') in the path is replaced by the |
46 | ** path of the directory of the executable file of the current process. | 46 | ** path of the directory of the executable file of the current process. |
47 | */ | 47 | */ |
48 | #define LUA_LDIR "!\\lua" | 48 | #define LUA_LDIR "!\\lua\\" |
49 | #define LUA_CDIR "!\\dll" | 49 | #define LUA_CDIR "!\\" |
50 | #define LUA_PATH_DEFAULT \ | 50 | #define LUA_PATH_DEFAULT \ |
51 | "?.lua;" LUA_LDIR"\\?.lua;" LUA_LDIR"\\?\\init.lua;" \ | 51 | ".\\?.lua;" LUA_LDIR"?.lua;" LUA_LDIR"?\\init.lua;" \ |
52 | LUA_CDIR"\\?.lua;" LUA_CDIR"\\?\\init.lua" | 52 | LUA_CDIR"?.lua;" LUA_CDIR"?\\init.lua" |
53 | #define LUA_CPATH_DEFAULT \ | 53 | #define LUA_CPATH_DEFAULT \ |
54 | "?.dll;" LUA_CDIR"\\?.dll;" LUA_CDIR"\\loadall.dll" | 54 | ".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll" |
55 | 55 | ||
56 | #else | 56 | #else |
57 | #define LUA_ROOT "/usr/local" | 57 | #define LUA_ROOT "/usr/local/" |
58 | #define LUA_LDIR LUA_ROOT "/share/lua/5.1" | 58 | #define LUA_LDIR LUA_ROOT "share/lua/5.1/" |
59 | #define LUA_CDIR LUA_ROOT "/lib/lua/5.1" | 59 | #define LUA_CDIR LUA_ROOT "lib/lua/5.1/" |
60 | #define LUA_PATH_DEFAULT \ | 60 | #define LUA_PATH_DEFAULT \ |
61 | "./?.lua;" LUA_LDIR"/?.lua;" LUA_LDIR"/?/init.lua;" \ | 61 | "./?.lua;" LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \ |
62 | LUA_CDIR"/?.lua;" LUA_CDIR"/?/init.lua" | 62 | LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua" |
63 | #define LUA_CPATH_DEFAULT \ | 63 | #define LUA_CPATH_DEFAULT \ |
64 | "./?.so;" LUA_CDIR"/?.so;" LUA_CDIR"/loadall.so" | 64 | "./?.so;" LUA_CDIR"?.so;" LUA_CDIR"loadall.so" |
65 | #endif | 65 | #endif |
66 | 66 | ||
67 | 67 | ||