summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2004-03-03 12:10:51 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2004-03-03 12:10:51 +0000
commitf89bcad18958d8350af66d87b5fba207dc315c12 (patch)
tree4a9cde470bb038e591ff35e74c1236c9ab72a2f9
parent3d4ad813b48860319c3ca93f4c9d3a69fb9c2002 (diff)
downloadgstreamer-plugins-bad-f89bcad18958d8350af66d87b5fba207dc315c12.tar.gz
fix --with-plugins
Original commit message from CVS: fix --with-plugins
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 1281839c7..3e9ed79d0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -263,7 +263,8 @@ GST_PLUGINS_SELECTED=""
AC_ARG_WITH(plugins,
AC_HELP_STRING([--with-plugins],[comma-separated list of plug-ins to compile]),
[for i in `echo $withval | tr , ' '`; do
- if test -n `echo $i | grep $GST_PLUGINS_ALL`; then
+ if echo $GST_PLUGINS_ALL | grep $i > /dev/null
+ then
GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED $i"
else
echo "plug-in $i not recognized, ignoring..."