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

Rémi Denis-Courmont remi at remlab.net
Wed Sep 2 18:52:06 CEST 2009


Le mardi 1 septembre 2009 13:16:33 Dominique Martinet, vous avez écrit :
> Rémi Denis-Courmont wrote on Sat, Aug 29, 2009 :
> > Le vendredi 28 août 2009 23:56:39 Dominique Martinet, vous avez écrit :
> > > 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)
> >
> > Do we really need to check for -lm with ALL possible library names? As
> > far as I can tell, it's only needed for static linking, in which case we
> > should have the official name "lua".
>
> Indeed, I have just tried on debian (with lua installed as 'lua5.1'),
> and it does not require -lm.
>
> -lm seems to only be needed for the official name
> (the stripping of two occurences of -lm should be trivial enough for
> me not to repost a similar patch ;p)

Right... Merged, thanks.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list