From 669f6306be9489dfff6973cbab868362c4892e77 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 6 Sep 2005 14:21:03 -0300 Subject: [PATCH] small corrections --- luaconf.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/luaconf.h b/luaconf.h index 344d628d..f6721b11 100644 --- a/luaconf.h +++ b/luaconf.h @@ -1,5 +1,5 @@ /* -** $Id: luaconf.h,v 1.62 2005/08/25 15:38:53 roberto Exp roberto $ +** $Id: luaconf.h,v 1.63 2005/09/02 19:53:25 roberto Exp roberto $ ** Configuration file for Lua ** See Copyright Notice in lua.h */ @@ -45,23 +45,23 @@ ** In Windows, any exclamation mark ('!') in the path is replaced by the ** path of the directory of the executable file of the current process. */ -#define LUA_LDIR "!\\lua" -#define LUA_CDIR "!\\dll" +#define LUA_LDIR "!\\lua\\" +#define LUA_CDIR "!\\" #define LUA_PATH_DEFAULT \ - "?.lua;" LUA_LDIR"\\?.lua;" LUA_LDIR"\\?\\init.lua;" \ - LUA_CDIR"\\?.lua;" LUA_CDIR"\\?\\init.lua" + ".\\?.lua;" LUA_LDIR"?.lua;" LUA_LDIR"?\\init.lua;" \ + LUA_CDIR"?.lua;" LUA_CDIR"?\\init.lua" #define LUA_CPATH_DEFAULT \ - "?.dll;" LUA_CDIR"\\?.dll;" LUA_CDIR"\\loadall.dll" + ".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll" #else -#define LUA_ROOT "/usr/local" -#define LUA_LDIR LUA_ROOT "/share/lua/5.1" -#define LUA_CDIR LUA_ROOT "/lib/lua/5.1" +#define LUA_ROOT "/usr/local/" +#define LUA_LDIR LUA_ROOT "share/lua/5.1/" +#define LUA_CDIR LUA_ROOT "lib/lua/5.1/" #define LUA_PATH_DEFAULT \ - "./?.lua;" LUA_LDIR"/?.lua;" LUA_LDIR"/?/init.lua;" \ - LUA_CDIR"/?.lua;" LUA_CDIR"/?/init.lua" + "./?.lua;" LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \ + LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua" #define LUA_CPATH_DEFAULT \ - "./?.so;" LUA_CDIR"/?.so;" LUA_CDIR"/loadall.so" + "./?.so;" LUA_CDIR"?.so;" LUA_CDIR"loadall.so" #endif