1 dnl Perform a check for a GStreamer element using gst-inspect
2 dnl Thomas Vander Stichele <thomas at apestaart dot org>
3 dnl Last modification: 23/10/2002
5 dnl AM_GST_ELEMENT_CHECK(ELEMENT-NAME, ACTION-IF-FOUND, ACTION-IF-NOT-FOUND)
7 AC_DEFUN([AM_GST_ELEMENT_CHECK],
9 AC_CHECK_PROG(GST_INSPECT, gst-inspect, gst-inspect, [])
10 if test "x$GST_INSPECT" != "x"; then
11 AC_MSG_CHECKING(GStreamer element $1)
12 if [ $GST_INSPECT $1 > /dev/null 2> /dev/null ]; then
16 AC_MSG_RESULT(not found.)