aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-09-10 15:34:51 +0300
committerMartin Storsjö <martin@martin.st>2012-09-10 17:23:32 +0300
commit88a3569917c817ecaa9982cea1f022b34d986390 (patch)
tree45c6158707fc735960fd33fb9a1fbd8f6ee89c6c /configure
parenta84edbacaf5adbe6e3672851aa8b3034b95787e2 (diff)
downloadffmpeg-88a3569917c817ecaa9982cea1f022b34d986390.tar.gz
configure: Don't try to enable the log2 function on msvcrt
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. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index ae8e76590a..d5809aa0ca 100755
--- a/configure
+++ b/configure
@@ -1381,6 +1381,8 @@ need_memalign="altivec neon sse"
symver_if_any="symver_asm_label symver_gnu_asm"
+log2_deps="!msvcrt"
+
# subsystems
dct_select="rdft"
mdct_select="fft"