mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-06-09 01:29:28 +00:00
Move gst-element-check.m4 to core (#104282)
Original commit message from CVS: Move gst-element-check.m4 to core (#104282)
This commit is contained in:
parent
856802d832
commit
9f9202b2eb
|
@ -19,13 +19,19 @@ else
|
||||||
SUBDIRS_EXAMPLES =
|
SUBDIRS_EXAMPLES =
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
gst-element-check-@GST_MAJORMINOR@.m4: gst-element-check.m4
|
||||||
|
cp $(srcdir)/gst-element-check.m4 gst-element-check-@GST_MAJORMINOR@.m4
|
||||||
|
|
||||||
|
aclocaldir = $(datadir)/aclocal
|
||||||
|
aclocal_DATA = gst-element-check-@GST_MAJORMINOR@.m4
|
||||||
|
|
||||||
SUBDIRS = include gst libs tools \
|
SUBDIRS = include gst libs tools \
|
||||||
$(SUBDIRS_TESTS) $(SUBDIRS_EXAMPLES) $(SUBDIRS_DOCS) pkgconfig
|
$(SUBDIRS_TESTS) $(SUBDIRS_EXAMPLES) $(SUBDIRS_DOCS) pkgconfig
|
||||||
|
|
||||||
# These are all the possible subdirs
|
# These are all the possible subdirs
|
||||||
DIST_SUBDIRS = include libs gst tools tests testsuite examples docs pkgconfig
|
DIST_SUBDIRS = include libs gst tools tests testsuite examples docs pkgconfig
|
||||||
|
|
||||||
EXTRA_DIST = gstreamer.spec.in \
|
EXTRA_DIST = gstreamer.spec.in gst-element-check.m4 \
|
||||||
configure.ac autogen.sh depcomp \
|
configure.ac autogen.sh depcomp \
|
||||||
REQUIREMENTS ABOUT-NLS RELEASE DOCBUILDING DEVEL \
|
REQUIREMENTS ABOUT-NLS RELEASE DOCBUILDING DEVEL \
|
||||||
idiottest.mak common
|
idiottest.mak common
|
||||||
|
|
1
debian/libgstreamer-dev.files
vendored
1
debian/libgstreamer-dev.files
vendored
|
@ -1,3 +1,4 @@
|
||||||
usr/include/gstreamer-*/gst/*.h
|
usr/include/gstreamer-*/gst/*.h
|
||||||
|
usr/share/aclocal/*.m4
|
||||||
usr/lib/pkgconfig
|
usr/lib/pkgconfig
|
||||||
usr/lib/libgstreamer.{a,la,so}
|
usr/lib/libgstreamer.{a,la,so}
|
||||||
|
|
20
gst-element-check.m4
Normal file
20
gst-element-check.m4
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
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 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_MSG_CHECKING(GStreamer 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
|
||||||
|
])
|
20
gst-element-check.m4.in
Normal file
20
gst-element-check.m4.in
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
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 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_MSG_CHECKING(GStreamer 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
|
||||||
|
])
|
|
@ -201,6 +201,7 @@ ln -sf %{_datadir}/gtk-doc/html/gstreamer-libs %{_datadir}/devhelp/books
|
||||||
# %{_libdir}/libgstreamer.a
|
# %{_libdir}/libgstreamer.a
|
||||||
%{_libdir}/libgstreamer-%{majorminor}.so
|
%{_libdir}/libgstreamer-%{majorminor}.so
|
||||||
%{_libdir}/libgstcontrol-%{majorminor}.so
|
%{_libdir}/libgstcontrol-%{majorminor}.so
|
||||||
|
%{_datadir}/aclocal/gst-element-check-%{majorminor}.m4
|
||||||
%{_libdir}/pkgconfig/gstreamer-%{majorminor}.pc
|
%{_libdir}/pkgconfig/gstreamer-%{majorminor}.pc
|
||||||
%{_libdir}/pkgconfig/gstreamer-control-%{majorminor}.pc
|
%{_libdir}/pkgconfig/gstreamer-control-%{majorminor}.pc
|
||||||
## we specify the API docs as regular files since %docs doesn't fail when
|
## we specify the API docs as regular files since %docs doesn't fail when
|
||||||
|
|
Loading…
Reference in a new issue