Martin Storsjö <[email protected]> writes:

> Some msvcrt versions (the static 64 bit libc in MSVC 10) have
> a log2 function, but there is no declaration for it in the headers.
> Therefore, the normal configure check might find it, but it can fail
> during build or at runtime, depending on whether implicit function
> declarations are an error or not.
>
> Therefore simply ignore this function on this platform.
> ---
>  configure |    2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/configure b/configure
> index ae8e765..dfc868f 100755
> --- a/configure
> +++ b/configure
> @@ -3245,6 +3245,8 @@ check_mathfunc roundf
>  check_mathfunc trunc
>  check_mathfunc truncf
>  
> +log2_deps="!msvcrt"

That's a weird place for that line.  I'd prefer it alongside the other
deps or with other msvcrt stuff.

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to