diff --git a/configure b/configure
index 3aac719b2b3038f0f6855b9ff2a8675d3b1b2f56..d5ab7cb0a9ee20a51253b6ed31984d981b8f1d73 100755
--- a/configure
+++ b/configure
@@ -912,8 +912,8 @@ echo "#define restrict $_restrict" >> $TMPH
 # build tree in object directory if source path is different from current one
 if test "$source_path_used" = "yes" ; then
     DIRS="libavformat libavcodec libavcodec/alpha libavcodec/armv4l libavcodec/i386 \
-          libavcodec/ppc libavcodec/liba52 libavcodec/mlib tests vhook"
-    FILES="Makefile libavformat/Makefile libavcodec/Makefile tests/Makefile vhook/Makefile"
+          libavcodec/ppc libavcodec/liba52 libavcodec/mlib libavcodec/libpostproc tests vhook"
+    FILES="Makefile libavformat/Makefile libavcodec/Makefile libavcodec/libpostproc/Makefile tests/Makefile vhook/Makefile"
     for dir in $DIRS ; do
             mkdir -p $dir
     done