summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index f2ca16e17..bcab9f2fd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -133,6 +133,9 @@ AC_C_INLINE
AC_CHECK_TOOL([STRINGS], [strings], [false])
+dnl We need to check this beforehand or autoconf bails out as we have it conditional.
+CC_CHECK_WERROR
+
dnl ---------------------------------------------
dnl Check for assembler (ffmpeg need it), don't call this before LIBTOOL
dnl ---------------------------------------------