--- aegisub-2.1.8-vanilla/configure.in	2010-01-28 06:47:46.000000000 +0900
+++ aegisub-2.1.8/configure.in	2010-04-01 02:11:23.472877290 +0900
@@ -718,7 +718,7 @@
 if test "$agi_cv_with_ffmpeg" = "yes" && test "$with_provider_ffmpegsource" = "yes"; then
   PKG_CHECK_MODULES(LIBPOSTPROC,  libpostproc >= libpostproc_required_version, [], [with_libpostproc="no"])
 
-  AC_AGI_COMPILE([postproc], [postproc], [$LIBPOSTPROC_CFLAGS], [$LIBPOSTPROC_LIBS],[
+  AC_AGI_COMPILE([postproc], [postproc], [$LIBPOSTPROC_CFLAGS], [$LIBPOSTPROC_LIBS $LIBAVUTIL_LIBS],[
 extern "C" {
 #include <libpostproc/postprocess.h>
 }

