$OpenBSD: patch-configure,v 1.4 2010/10/12 09:38:16 dcoppa Exp $
--- configure.orig	Sat Aug 21 13:30:15 2010
+++ configure	Sun Oct 10 14:48:18 2010
@@ -21058,70 +21058,6 @@ $as_echo "$as_me: ffmpeg top lib dir is $top_lib_dir" 
 
               if test x"${ac_cv_path_ffmpeg_lib}" != x; then
 
-                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libdts library" >&5
-$as_echo_n "checking for libdts library... " >&6; }
-    if test x"$PKG_CONFIG" != x -a x${cross_compiling} = xno; then
-      $PKG_CONFIG --exists libdts && libdts=`$PKG_CONFIG --libs-only-l libdts`
-    else
-      libdts=""
-    fi
-    if test x"${libdts}" = x; then
-      if test -f ${top_lib_dir}/libdts.a -o -f ${top_lib_dir}/libdts.${shlibext}; then
-        ac_cv_path_ffmpeg_lib="${ac_cv_path_ffmpeg_lib} -ldts"
-        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${top_lib_dir}/libdts" >&5
-$as_echo "${top_lib_dir}/libdts" >&6; }
-      else
-        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-        if test x${cross_compiling} = xno; then
-          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dts_init in -ldts" >&5
-$as_echo_n "checking for dts_init in -ldts... " >&6; }
-if test "${ac_cv_lib_dts_dts_init+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-ldts  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char dts_init ();
-int
-main ()
-{
-return dts_init ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_dts_dts_init=yes
-else
-  ac_cv_lib_dts_dts_init=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dts_dts_init" >&5
-$as_echo "$ac_cv_lib_dts_dts_init" >&6; }
-if test "x$ac_cv_lib_dts_dts_init" = x""yes; then :
-  ac_cv_path_ffmpeg_lib="${ac_cv_path_ffmpeg_lib} -ldts"
-fi
-
-        fi
-      fi
-    else
-      { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${libdts}" >&5
-$as_echo "${libdts}" >&6; }
-      ac_cv_path_ffmpeg_lib="${ac_cv_path_ffmpeg_lib} ${libdts}"
-    fi
-
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvorbisenc library" >&5
 $as_echo_n "checking for libvorbisenc library... " >&6; }
     if test x"$PKG_CONFIG" != x -a x${cross_compiling} = xno; then
@@ -32317,51 +32253,6 @@ _ACEOF
 fi
 
 done
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_free in -llber" >&5
-$as_echo_n "checking for ber_free in -llber... " >&6; }
-if test "${ac_cv_lib_lber_ber_free+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-llber  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char ber_free ();
-int
-main ()
-{
-return ber_free ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_lber_ber_free=yes
-else
-  ac_cv_lib_lber_ber_free=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_free" >&5
-$as_echo "$ac_cv_lib_lber_ber_free" >&6; }
-if test "x$ac_cv_lib_lber_ber_free" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBLBER 1
-_ACEOF
-
-  LIBS="-llber $LIBS"
-
-fi
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzopen in -lbz2" >&5
 $as_echo_n "checking for BZ2_bzopen in -lbz2... " >&6; }
