aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-03-08 10:27:36 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-03-08 10:27:36 -0300
commit192d1854920a568abf951d18ebb8f8c057a45caf (patch)
tree753bf58fbbb94a88b8fa7db638c706193f53e390
parente010ef8948b46b19395a938ebc2a1612de420dd5 (diff)
downloadlua-192d1854920a568abf951d18ebb8f8c057a45caf.tar.gz
lua-192d1854920a568abf951d18ebb8f8c057a45caf.tar.bz2
lua-192d1854920a568abf951d18ebb8f8c057a45caf.zip
C module names may have an optional `l' prefix
-rw-r--r--luaconf.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/luaconf.h b/luaconf.h
index 14e0ebfb..48c0d60a 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luaconf.h,v 1.29 2005/02/23 17:30:22 roberto Exp roberto $ 2** $Id: luaconf.h,v 1.30 2005/02/28 15:59:11 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*/
@@ -36,16 +36,18 @@
36#define LUA_LDIR LUA_ROOT "\\lua" 36#define LUA_LDIR LUA_ROOT "\\lua"
37#define LUA_CDIR LUA_ROOT "\\dll" 37#define LUA_CDIR LUA_ROOT "\\dll"
38#define LUA_PATH_DEFAULT \ 38#define LUA_PATH_DEFAULT \
39 "?.lua;" LUA_LDIR "\\?.lua;" LUA_LDIR "\\?\\init.lua" 39 "?.lua;" LUA_LDIR"\\?.lua;" LUA_LDIR"\\?\\init.lua"
40#define LUA_CPATH_DEFAULT "?.dll;" LUA_CDIR "\\?.dll" 40#define LUA_CPATH_DEFAULT \
41 "?.dll;" "l?.dll;" LUA_CDIR"\\?.dll;" LUA_CDIR"\\l?.dll"
41 42
42#else 43#else
43#define LUA_ROOT "/usr/local" 44#define LUA_ROOT "/usr/local"
44#define LUA_LDIR LUA_ROOT "/share/lua/5.1" 45#define LUA_LDIR LUA_ROOT "/share/lua/5.1"
45#define LUA_CDIR LUA_ROOT "/lib/lua/5.1" 46#define LUA_CDIR LUA_ROOT "/lib/lua/5.1"
46#define LUA_PATH_DEFAULT \ 47#define LUA_PATH_DEFAULT \
47 "./?.lua;" LUA_LDIR "/?.lua;" LUA_LDIR "/?/init.lua" 48 "./?.lua;" LUA_LDIR"/?.lua;" LUA_LDIR"/?/init.lua"
48#define LUA_CPATH_DEFAULT "./?.so;" LUA_CDIR "/?.so" 49#define LUA_CPATH_DEFAULT \
50 "./?.so;" "./l?.so;" LUA_CDIR"/?.so;" LUA_CDIR"/l?.so"
49#endif 51#endif
50 52
51 53