summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeeshan Ali <zeenix@gmail.com>2004-09-02 22:18:47 +0000
committerZeeshan Ali <zeenix@gmail.com>2004-09-02 22:18:47 +0000
commite258b347aa811ca7aa49e102ca3d576a91e4fb62 (patch)
tree225fe78971b51484217d375c9006d01bbd084b56
parent14f44a56213628dcfdf8ca77159ba0f9622f6102 (diff)
downloadgstreamer-common-e258b347aa811ca7aa49e102ca3d576a91e4fb62.tar.gz
Trying to correct the GST_CHECK_CONFIGPROG macro
Original commit message from CVS: Trying to correct the GST_CHECK_CONFIGPROG macro
-rw-r--r--m4/gst-feature.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/m4/gst-feature.m4 b/m4/gst-feature.m4
index 4ec0417..2dac893 100644
--- a/m4/gst-feature.m4
+++ b/m4/gst-feature.m4
@@ -133,8 +133,9 @@ AC_DEFUN([GST_CHECK_CONFIGPROG],
[$1]_CFLAGS=
HAVE_[$1]=no
else
- [$1]_LIBS=`[$2] --plugin-libs [$3] 2> /dev/null`
- if test "x$[$1]_LIBS" = x; then
+ if [$2] --plugin-libs [$3] &> /dev/null; then
+ [$1]_LIBS=`[$2] --plugin-libs [$3]`
+ else
[$1]_LIBS=`[$2] --libs [$3]`
fi
[$1]_CFLAGS=`[$2] --cflags [$3]`