mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
b0d89da6b6
Remove GST_MAJORMINOR and replace it by GST_API_VERSION Also set GST_VERSION_{MAJOR,MINOR,MICRO,NANO} explicitely now. All versions are at 1.0.0 now for the release soon but API/ABI can still change until the 1.0.0 release. Next release versions until 1.0.0 will be 0.10.9X and these will be release candidates. GST_VERSION_* will nonetheless stay at 1.0.0.0.
23 lines
667 B
Text
23 lines
667 B
Text
dnl Perform a check for a GStreamer element using gst-inspect
|
|
dnl Thomas Vander Stichele <thomas at apestaart dot org>
|
|
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],
|
|
[
|
|
if test "x$GST_INSPECT" = "x"; then
|
|
AC_CHECK_PROG(GST_INSPECT, gst-inspect-@GST_API_VERSION@, gst-inspect-@GST_API_VERSION@, [])
|
|
fi
|
|
|
|
if test "x$GST_INSPECT" != "x"; then
|
|
AC_MSG_CHECKING(GStreamer @GST_API_VERSION@ element $1)
|
|
if [ $GST_INSPECT $1 > /dev/null 2> /dev/null ]; then
|
|
AC_MSG_RESULT(found.)
|
|
$2
|
|
else
|
|
AC_MSG_RESULT(not found.)
|
|
$3
|
|
fi
|
|
fi
|
|
])
|