From aa539a5e9e4da87f99d444a710592bf8f3417108 Mon Sep 17 00:00:00 2001 From: Karl Blomster <kalle.blomster@gmail.com> Date: Sun, 28 Sep 2008 13:04:57 +0000 Subject: [PATCH] add --enable-old-ffmpeg switch to configure; using it changes the includes to use ffmpeg headers from the old locations (ffmpeg/libav*.h). Originally committed to SVN as r2399. --- configure.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.in b/configure.in index 2f5d0a7e2..cf27a2bfb 100644 --- a/configure.in +++ b/configure.in @@ -121,6 +121,11 @@ if test "$enable_build_dist" = "yes"; then VERSION="${VERSION}-r$SVN_VERSION" fi +AC_ARG_ENABLE(old-ffmpeg, [ --enable-old-ffmpeg use ancient ffmpeg header locations (default=no)]) +if test "$enable_ancient_ffmpeg" = "yes"; then + AC_DEFINE([WITH_ANCIENT_FFMPEG], [], [buttes]) +fi + ################################################### # Check for pthreads and setup variables / compiler -- GitLab