This is more robust and does not interfere with host libc separation.
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 129b340..58a7e45 100755
--- a/configure
+++ b/configure
@@ -3386,7 +3386,7 @@ elif check_cpp_condition features.h "defined __GLIBC__";
then
elif check_cpp_condition newlib.h "defined _NEWLIB_VERSION"; then
libc_type=newlib
add_cppflags -U__STRICT_ANSI__
-elif check_header _mingw.h; then
+elif check_cpp_condition _mingw.h "defined __MINGW32_VERSION"; then
libc_type=mingw
check_cpp_condition _mingw.h \
"defined (__MINGW64_VERSION_MAJOR) || (__MINGW32_MAJOR_VERSION > 3) ||
\
--
1.8.3.2
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel