mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 14:08:56 +00:00
Only check for gst-inspect if we haven't already found it in previous element check runs
Original commit message from CVS: Only check for gst-inspect if we haven't already found it in previous element check runs
This commit is contained in:
parent
8f9fca9ea9
commit
b67a06b61b
3 changed files with 16 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2005-01-25 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* gst-element-check.m4:
|
||||||
|
Only check for gst-inspect if we haven't already
|
||||||
|
found it in previous element check runs
|
||||||
|
|
||||||
2005-01-25 Stefan Kost <ensonic@users.sf.net>
|
2005-01-25 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
* docs/gst/Makefile.am:
|
* docs/gst/Makefile.am:
|
||||||
|
|
|
@ -1,12 +1,15 @@
|
||||||
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: 23/10/2002
|
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],
|
||||||
[
|
[
|
||||||
AC_CHECK_PROG(GST_INSPECT, gst-inspect, gst-inspect, [])
|
if test "x$GST_INSPECT" == "x"; then
|
||||||
|
AC_CHECK_PROG(GST_INSPECT, gst-inspect, gst-inspect, [])
|
||||||
|
fi
|
||||||
|
|
||||||
if test "x$GST_INSPECT" != "x"; then
|
if test "x$GST_INSPECT" != "x"; then
|
||||||
AC_MSG_CHECKING(GStreamer element $1)
|
AC_MSG_CHECKING(GStreamer element $1)
|
||||||
if [ $GST_INSPECT $1 > /dev/null 2> /dev/null ]; then
|
if [ $GST_INSPECT $1 > /dev/null 2> /dev/null ]; then
|
||||||
|
|
|
@ -1,12 +1,15 @@
|
||||||
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: 23/10/2002
|
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],
|
||||||
[
|
[
|
||||||
AC_CHECK_PROG(GST_INSPECT, gst-inspect, gst-inspect, [])
|
if test "x$GST_INSPECT" == "x"; then
|
||||||
|
AC_CHECK_PROG(GST_INSPECT, gst-inspect, gst-inspect, [])
|
||||||
|
fi
|
||||||
|
|
||||||
if test "x$GST_INSPECT" != "x"; then
|
if test "x$GST_INSPECT" != "x"; then
|
||||||
AC_MSG_CHECKING(GStreamer element $1)
|
AC_MSG_CHECKING(GStreamer element $1)
|
||||||
if [ $GST_INSPECT $1 > /dev/null 2> /dev/null ]; then
|
if [ $GST_INSPECT $1 > /dev/null 2> /dev/null ]; then
|
||||||
|
|
Loading…
Reference in a new issue