gst-element-check-0.10.m4   gst-element-check-0.10.m4 
dnl Perform a check for a GStreamer element using gst-inspect dnl Perform a check for a GStreamer element using gst-inspect
dnl Thomas Vander Stichele <thomas at apestaart dot org> dnl Thomas Vander Stichele <thomas at apestaart dot org>
dnl Last modification: 25/01/2005 dnl Last modification: 25/01/2005
dnl AM_GST_ELEMENT_CHECK(ELEMENT-NAME, ACTION-IF-FOUND, ACTION-IF-NOT-FOUND ) dnl AM_GST_ELEMENT_CHECK(ELEMENT-NAME, ACTION-IF-FOUND, ACTION-IF-NOT-FOUND )
AC_DEFUN([AM_GST_ELEMENT_CHECK], AC_DEFUN([AM_GST_ELEMENT_CHECK],
[ [
if test "x$GST_INSPECT" == "x"; then if test "x$GST_INSPECT" = "x"; then
AC_CHECK_PROG(GST_INSPECT, gst-inspect-0.10, gst-inspect-0.10, []) AC_CHECK_PROG(GST_INSPECT, gst-inspect-0.10, gst-inspect-0.10, [])
fi fi
if test "x$GST_INSPECT" != "x"; then if test "x$GST_INSPECT" != "x"; then
AC_MSG_CHECKING(GStreamer 0.10 element $1) AC_MSG_CHECKING(GStreamer 0.10 element $1)
if [ $GST_INSPECT $1 > /dev/null 2> /dev/null ]; then if [ $GST_INSPECT $1 > /dev/null 2> /dev/null ]; then
AC_MSG_RESULT(found.) AC_MSG_RESULT(found.)
$2 $2
else else
AC_MSG_RESULT(not found.) AC_MSG_RESULT(not found.)
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/