configure: add --enable-builtin-codecparsers [default="yes"] option.

Add flag to have all codecparsers built-in, thus ensuring that the
resulting binaries have all the necessary bug fixes and this is what
the QA has been testing anyway.

Of course, for a completely up-to-date Linux distribution, you could
also opt for --disable-builtin-codecparsers and use the system ones.
Though, some core fixes could be missing, and those cannot be tested
for with API checks.
This commit is contained in:
Gwenole Beauchesne 2013-06-14 11:32:36 +02:00
parent d6cff6e148
commit bcabfcc08b

View file

@ -89,6 +89,11 @@ dnl Initialize libtool
LT_PREREQ([2.2])
LT_INIT
AC_ARG_ENABLE(builtin_codecparsers,
AS_HELP_STRING([--enable-builtin-codecparsers],
[enable built-in codecparsers @<:@default=yes@:>@]),
[], [enable_builtin_codecparsers="yes"])
AC_ARG_ENABLE(drm,
AS_HELP_STRING([--enable-drm],
[enable DRM backend @<:@default=yes@:>@]),
@ -288,6 +293,11 @@ PKG_CHECK_MODULES([GST_BASEVIDEO],
[gstreamer-basevideo-$GST_API_VERSION >= $GST_PLUGINS_BAD_VERSION_REQUIRED])
dnl ... bitstream parsers
if test "$enable_builtin_codecparsers" = "yes"; then
ac_cv_have_gst_mpeg2_parser="no"
ac_cv_have_gst_h264_parser="no"
ac_cv_have_gst_jpeg_parser="no"
fi
PKG_CHECK_MODULES([GST_CODEC_PARSERS],
[gstreamer-codecparsers-$GST_API_VERSION >= $GST_PLUGINS_BAD_VERSION_REQUIRED])