[gstreamermm] configure: disable plugins-bad module by default



commit 6998827fc20babea11b340a5da3b43e354b37e7d
Author: Marcin Kolny <marcin kolny gmail com>
Date:   Fri Dec 2 23:40:38 2016 +0100

    configure: disable plugins-bad module by default

 build/gstreamermm.m4 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/build/gstreamermm.m4 b/build/gstreamermm.m4
index 9a28084..64502f3 100644
--- a/build/gstreamermm.m4
+++ b/build/gstreamermm.m4
@@ -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])])
 ])


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]