summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8f9fca9)
raw | patch | inline | side by side (parent: 8f9fca9)
author | Tim-Philipp Müller <tim@centricular.net> | |
Tue, 25 Jan 2005 14:03:12 +0000 (14:03 +0000) | ||
committer | Tim-Philipp Müller <tim@centricular.net> | |
Tue, 25 Jan 2005 14:03:12 +0000 (14:03 +0000) |
Original commit message from CVS:
Only check for gst-inspect if we haven't already found it in previous element check runs
Only check for gst-inspect if we haven't already found it in previous element check runs
ChangeLog | patch | blob | history | |
gst-element-check.m4 | patch | blob | history | |
gst-element-check.m4.in | patch | blob | history |
diff --git a/ChangeLog b/ChangeLog
index 235b24f590ba04f04cc3fb04051518c2dd72c34f..734de3dfea2df4c6c4fc9e65f617d6d2573850d0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+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>
* docs/gst/Makefile.am:
diff --git a/gst-element-check.m4 b/gst-element-check.m4
index 005d584978f83b3d8ed5f88c3fd573b2fd29bb71..e608f195d09dd5c6f5920834f856d7bdfe2240c9 100644 (file)
--- a/gst-element-check.m4
+++ b/gst-element-check.m4
dnl Perform a check for a GStreamer element using gst-inspect
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)
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
AC_MSG_CHECKING(GStreamer element $1)
if [ $GST_INSPECT $1 > /dev/null 2> /dev/null ]; then
index 005d584978f83b3d8ed5f88c3fd573b2fd29bb71..e608f195d09dd5c6f5920834f856d7bdfe2240c9 100644 (file)
--- a/gst-element-check.m4.in
+++ b/gst-element-check.m4.in
dnl Perform a check for a GStreamer element using gst-inspect
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)
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
AC_MSG_CHECKING(GStreamer element $1)
if [ $GST_INSPECT $1 > /dev/null 2> /dev/null ]; then