[vlc-devel] [PATCH] configure.ac - lua checks

Dominique Martinet asmadeus at via.ecp.fr
Fri Aug 28 22:56:39 CEST 2009


Rémi Denis-Courmont wrote on Fri, Aug 28, 2009 :
> Le vendredi 28 août 2009 14:18:07 Dominique Martinet, vous avez écrit :
> > makes the configure throw an error when lua is not found and
> > --enable-lua has been specified.
> > also checks for liblua with libmath, so it actually works when there
> > is no pkgconfig file.
> 
> I have seen this problem when lua is linked statically.
> 
> But does luaL_newstate actually depend on libm?
> 

On my system, the check failed without libm and worked with it, so I
guess it's useful :)

I don't pretend it's useful on all systems, but I compiled lua with
default options, so i suspect it affects most systems; besides, libm
is probably used everywhere already so I don't think it matters (and
what would you want to do, check once without libm and if it fails,
once again with ? I think three checks is already bad enough)

-- 
Asmadeus | Dominique Martinet



More information about the vlc-devel mailing list