[vlc-devel] [RFC PATCH 4/6] android: fix nanf detection
Rémi Denis-Courmont
remi at remlab.net
Thu Oct 9 18:58:31 CEST 2014
Le jeudi 9 octobre 2014, 11:21:44 Thomas Guillem a écrit :
> Is something like that better ?
>
> AC_CHECK_FUNC(nanf, , [
> AC_CHECK_LIB(m, nanf, [
> AC_DEFINE(HAVE_NANF, 1, [Define to 1 if you have the NANF function])
> VLC_ADD_LIBS([libvlccore],[-lm])
Hell no.
> ])
> ])
>
> On Wed, Oct 8, 2014, at 21:25, Rémi Denis-Courmont wrote:
> > Le mercredi 8 octobre 2014, 21:23:37 Thomas Guillem a écrit :
> > > Ahhh, I didn't know that nanf() could be in -lc.
> > > Should I add nanf in AC_CHECK_FUNCS too or there is something cleaner ?
> >
> > I don't know. The relevant question is whether some platforms do not have
> > libm
> > at all. Otherwise the gratuitious -lm is a non-issue.
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list