]> git.sesse.net Git - ffmpeg/blobdiff - configure
avfilter/xbr: simplify width overread checks
[ffmpeg] / configure
index 314e7fff036ae9b4aa4e9cf53f76a05a49b70843..883c0438f62a44c80de0d664f2e6db611f5439ed 100755 (executable)
--- a/configure
+++ b/configure
@@ -1678,7 +1678,6 @@ MATH_FUNCS="
     exp2
     exp2f
     expf
-    fminf
     isinf
     isnan
     ldexpf
@@ -3950,6 +3949,9 @@ case "$arch" in
     ;;
     x86)
         check_64bit x86_32 x86_64 'sizeof(void *) > 4'
+        # Treat x32 as x64 for now. Note it also needs spic=$shared
+        test "$subarch" = "x86_32" && check_cpp_condition stddef.h 'defined(__x86_64__)' &&
+            subarch=x86_64
         if test "$subarch" = "x86_64"; then
             spic=$shared
         fi
@@ -4813,7 +4815,6 @@ disabled crystalhd || check_lib libcrystalhd/libcrystalhd_if.h DtsCrystalHDVersi
 atan2f_args=2
 ldexpf_args=2
 powf_args=2
-fminf_args=2
 
 for func in $MATH_FUNCS; do
     eval check_mathfunc $func \${${func}_args:-1}