[vlc-devel] [RFC PATCH 4/6] android: fix nanf detection

Rémi Denis-Courmont remi at remlab.net
Wed Oct 8 19:01:14 CEST 2014


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?

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




More information about the vlc-devel mailing list