]> git.saurik.com Git - wxWidgets.git/blame - build/aclocal/gst-element-check.m4
Remove pointless case insensitivity
[wxWidgets.git] / build / aclocal / gst-element-check.m4
CommitLineData
948b08e2
VZ
1dnl Perform a check for a GStreamer element using gst-inspect
2dnl Thomas Vander Stichele <thomas at apestaart dot org>
3dnl Last modification: 25/01/2005
4
5dnl AM_GST_ELEMENT_CHECK(ELEMENT-NAME, ACTION-IF-FOUND, ACTION-IF-NOT-FOUND)
6
7AC_DEFUN([AM_GST_ELEMENT_CHECK],
8[
9 if test "x$GST_INSPECT" == "x"; then
10 AC_CHECK_PROG(GST_INSPECT, gst-inspect, gst-inspect, [])
11 fi
12
13 if test "x$GST_INSPECT" != "x"; then
14 AC_MSG_CHECKING(GStreamer element $1)
15 if [ $GST_INSPECT $1 > /dev/null 2> /dev/null ]; then
16 AC_MSG_RESULT(found.)
17 $2
18 else
19 AC_MSG_RESULT(not found.)
20 $3
21 fi
22 fi
23])