diff --git a/configure b/configure
index 5c0aa47527b3f20961f8c4a8dcc0e4af43916873..bca93619eee145bea87bea424ea170af81061e36 100755
--- a/configure
+++ b/configure
@@ -2137,6 +2137,8 @@ msvc_flags(){
             -fno-common)          ;;
             -fno-signed-zeros)    ;;
             -lz)                  echo zlib.lib ;;
+            -lavifil32)           echo vfw32.lib ;;
+            -lavicap32)           echo vfw32.lib user32.lib ;;
             -l*)                  echo ${flag#-l}.lib ;;
             *)                    echo $flag ;;
         esac