From 192d1854920a568abf951d18ebb8f8c057a45caf Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 8 Mar 2005 10:27:36 -0300 Subject: C module names may have an optional `l' prefix --- luaconf.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'luaconf.h') diff --git a/luaconf.h b/luaconf.h index 14e0ebfb..48c0d60a 100644 --- a/luaconf.h +++ b/luaconf.h @@ -1,5 +1,5 @@ /* -** $Id: luaconf.h,v 1.29 2005/02/23 17:30:22 roberto Exp roberto $ +** $Id: luaconf.h,v 1.30 2005/02/28 15:59:11 roberto Exp roberto $ ** Configuration file for Lua ** See Copyright Notice in lua.h */ @@ -36,16 +36,18 @@ #define LUA_LDIR LUA_ROOT "\\lua" #define LUA_CDIR LUA_ROOT "\\dll" #define LUA_PATH_DEFAULT \ - "?.lua;" LUA_LDIR "\\?.lua;" LUA_LDIR "\\?\\init.lua" -#define LUA_CPATH_DEFAULT "?.dll;" LUA_CDIR "\\?.dll" + "?.lua;" LUA_LDIR"\\?.lua;" LUA_LDIR"\\?\\init.lua" +#define LUA_CPATH_DEFAULT \ + "?.dll;" "l?.dll;" LUA_CDIR"\\?.dll;" LUA_CDIR"\\l?.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_PATH_DEFAULT \ - "./?.lua;" LUA_LDIR "/?.lua;" LUA_LDIR "/?/init.lua" -#define LUA_CPATH_DEFAULT "./?.so;" LUA_CDIR "/?.so" + "./?.lua;" LUA_LDIR"/?.lua;" LUA_LDIR"/?/init.lua" +#define LUA_CPATH_DEFAULT \ + "./?.so;" "./l?.so;" LUA_CDIR"/?.so;" LUA_CDIR"/l?.so" #endif -- cgit v1.2.3-55-g6feb