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"
+
# these are off by default, so fail if requested and not available
enabled avisynth && require2 vfw32 "windows.h vfw.h" AVIFileInit -lavifil32
enabled frei0r && { check_header frei0r.h || die "ERROR: frei0r.h header
not found"; }
--
1.7.9.4
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel