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.
This commit is contained in:
Karl Blomster 2008-09-28 13:04:57 +00:00
parent 00265d6ec4
commit aa539a5e9e

View file

@ -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