mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
gst-element-check.m4: fix action-if-found and not-found invocation
Arguments got shifted back by one.
This commit is contained in:
parent
9439e73eec
commit
fe3efe2b75
1 changed files with 2 additions and 2 deletions
|
@ -20,14 +20,14 @@ AC_DEFUN([GST_ELEMENT_CHECK],
|
||||||
AC_MSG_CHECKING(GStreamer $gstapiversion element $1 >= $2)
|
AC_MSG_CHECKING(GStreamer $gstapiversion element $1 >= $2)
|
||||||
if [ $gstinspect --exists --atleast-version=$2 $1 ]; then
|
if [ $gstinspect --exists --atleast-version=$2 $1 ]; then
|
||||||
AC_MSG_RESULT([found])
|
AC_MSG_RESULT([found])
|
||||||
$2
|
$3
|
||||||
else
|
else
|
||||||
if [ $gstinspect --exists $1 ]; then
|
if [ $gstinspect --exists $1 ]; then
|
||||||
AC_MSG_RESULT([found, but too old])
|
AC_MSG_RESULT([found, but too old])
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT([not found])
|
AC_MSG_RESULT([not found])
|
||||||
fi
|
fi
|
||||||
$3
|
$4
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in a new issue