gst-element-check.m4: fix action-if-found and not-found invocation
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 5 Sep 2012 18:55:10 +0000 (19:55 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 5 Sep 2012 18:57:02 +0000 (19:57 +0100)
Arguments got shifted back by one.

gst-element-check.m4

index 49ddc61..9ad421f 100644 (file)
@@ -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
 ])