Check for lua 5.1
This commit is contained in:
parent
6ee57989bb
commit
82fad5f92a
1 changed files with 8 additions and 0 deletions
|
@ -100,8 +100,12 @@ def CheckLuaLib(env, conf):
|
|||
found = 1
|
||||
if not found and conf.CheckLibWithHeader('lua50', 'lua.h', 'c'):
|
||||
found =1
|
||||
if not found and conf.CheckLibWithHeader('lua51', 'lua.h', 'c'):
|
||||
found =1
|
||||
if not found and conf.CheckLibWithHeader('lua5.0', 'lua.h', 'c'):
|
||||
found =1
|
||||
if not found and conf.CheckLibWithHeader('lua5.1', 'lua.h', 'c'):
|
||||
found =1
|
||||
if not found:
|
||||
return 0
|
||||
|
||||
|
@ -111,6 +115,10 @@ def CheckLuaLib(env, conf):
|
|||
return 1
|
||||
if conf.CheckLibWithHeader('lualib5.0', 'lualib.h', 'c'):
|
||||
return 1
|
||||
if conf.CheckLibWithHeader('lualib51', 'lualib.h', 'c'):
|
||||
return 1
|
||||
if conf.CheckLibWithHeader('lualib5.1', 'lualib.h', 'c'):
|
||||
return 1
|
||||
return 0
|
||||
|
||||
def AutoConfigure(env):
|
||||
|
|
Loading…
Add table
Reference in a new issue