--- configure.orig	Sun Jul 23 21:25:31 2006
+++ configure	Sun Jul 23 21:25:31 2006
@@ -28905,7 +28905,7 @@
                  "ac_cv_lib_avcodec_pp_get_context" \
                  "ac_cv_lib_postproc_pp_get_context" \
                  "ac_cv_lib_avcodec_register_avcodec"; do
-          $as_unset $i || test "${$i+set}" != set || { $i=; export $i; }
+          $as_unset $i
         done
 
                 if test "${ac_cv_header_avcodec_h+set}" = set; then
@@ -38707,6 +38707,8 @@
 
        CFLAGS="$ac_save_CFLAGS"
        LIBS="$ac_save_LIBS"
+else
+no_theora=yes
   fi
 
   if test "x$no_ogg" = x ; then
