configure: check and use -Wempty-body
[ffmpeg.git] / configure
index 46452ee..28b7246 100755 (executable)
--- a/configure
+++ b/configure
@@ -4776,6 +4776,7 @@ check_cflags -Wundef
 check_cflags -Wmissing-prototypes
 check_cflags -Wno-pointer-to-int-cast
 check_cflags -Wstrict-prototypes
+check_cflags -Wempty-body
 enabled extra_warnings && check_cflags -Winline
 
 check_disable_warning(){