Commit fe3efe2b authored by Tim-Philipp Müller's avatar Tim-Philipp Müller

gst-element-check.m4: fix action-if-found and not-found invocation

Arguments got shifted back by one.
parent 9439e73e
......@@ -20,14 +20,14 @@ AC_DEFUN([GST_ELEMENT_CHECK],
AC_MSG_CHECKING(GStreamer $gstapiversion element $1 >= $2)
if [ $gstinspect --exists --atleast-version=$2 $1 ]; then
AC_MSG_RESULT([found])
$2
$3
else
if [ $gstinspect --exists $1 ]; then
AC_MSG_RESULT([found, but too old])
else
AC_MSG_RESULT([not found])
fi
$3
$4
fi
fi
])
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