Commit 6998827f authored by Marcin Kolny's avatar Marcin Kolny

configure: disable plugins-bad module by default

parent c44fc456
......@@ -30,14 +30,14 @@ AC_DEFUN([FIND_GST_MODULE],
[gstmm_enable_$3=yes], [gstmm_enable_$3=no])
AC_ARG_ENABLE($2,
AS_HELP_STRING([--disable-$2], [Disable gstreamer-$2 library]))
AS_HELP_STRING([--enable-$2], [Enable gstreamer-$2 library]))
tst=x$4
if test $tst = "x"; then :
tst=xyes
fi
gstmm_$3_version=$(pkg-config --modversion gstreamer-[$2]-1.0)
AS_IF([test "x$enable_$3" = "xno" || test "$tst" != xyes], [gstmm_enable_$3=no])
AS_IF([test "x$enable_$3" != "xyes" || test "$tst" != xyes], [gstmm_enable_$3=no])
AM_CONDITIONAL([ENABLE_$1], [test "x$gstmm_enable_$3" = xyes])
AS_IF([test "x$gstmm_enable_$3" = xyes], [AC_DEFINE(ENABLE_$1, [], [Enable gstreamer-$2 module])])
])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment