[elinks-users] Re: ELinks-0.10.5

Alexey Tourbin at at altlinux.ru
Tue May 3 16:01:10 PDT 2005


On Tue, May 03, 2005 at 11:41:26PM +0200, Jonas Fonseca wrote:
> Tue May  3 21:14:48 2005  Jonas Fonseca <fonseca at diku.dk>:
> 	* configure.in (REL_0_10):
> 	Fix configuration of 'LUA 5 or better'.  

Nope, I can't see any changes in configure.in and configure.

Anyway, Lua-5.0 defines LUA_TBOOLEAN, while Lua-4.0 does not:

$ grep BOOL lua-4.0.1/include/*.h
$ grep BOOL lua-5.0.2/include/*.h
lua-5.0.2/include/lua.h:#define LUA_TBOOLEAN    1
lua-5.0.2/include/lua.h:#define lua_isboolean(L,n)      (lua_type(L,n) == LUA_TBOOLEAN)
$

I think you can take advantage of this without altering configure.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/elinks-users/attachments/20050504/d84355e6/attachment.sig>


More information about the elinks-users mailing list