[vlc-devel] [RFC PATCH 4/6] android: fix nanf detection
Thomas Guillem
tom at gllm.fr
Wed Oct 8 21:23:37 CEST 2014
On Wed, Oct 8, 2014, at 19:01, Rémi Denis-Courmont wrote:
> Le mercredi 8 octobre 2014, 18:26:07 Thomas Guillem a écrit :
> > ---
> > configure.ac | 3 +++
> > include/vlc_fixups.h | 2 +-
> > 2 files changed, 4 insertions(+), 1 deletion(-)
> >
> > diff --git a/configure.ac b/configure.ac
> > index 2b13d5b..616ba32 100644
> > --- a/configure.ac
> > +++ b/configure.ac
> > @@ -696,6 +696,9 @@ AC_CHECK_LIB(m,lrintf, [
> > AC_DEFINE(HAVE_LRINTF, 1, [Define to 1 if you have the lrintf function])
> > VLC_ADD_LIBS([skins2],[-lm])
> > ])
> > +AC_CHECK_LIB(m,nanf,
> > + AC_DEFINE(HAVE_NANF, 1, [Define to 1 if you have the NANF function])
> > +)
>
> I don't really mind, but won't this break if nanf() is in -lc rather than
> -lm?
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 ?
>
> --
> Rémi Denis-Courmont
> http://www.remlab.net/
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list