[gst-devel] Re: [gst-cvs] thomasvs gst-plugins: gst-plugins/ gst-plugins/m4/
David I. Lehn
dlehn at vt.edu
Wed Mar 10 15:12:05 CET 2004
* Thomas Vander Stichele <thomasvs at pdx.freedesktop.org> [2004-03-10T16:21:05-0500]:
> Log message:
> use pkg-config checks for some, falling back to the old one.
> fixes #131270
...
> GST_CHECK_FEATURE(ALSA, [alsa plug-ins], gstalsa, [
> - AM_PATH_ALSA(0.9.1, HAVE_ALSA=yes, HAVE_ALSA=no)
> + PKG_CHECK_MODULES(ALSA, alsa >= 0.9.1, [
> + HAVE_ALSA="yes"
> + AC_SUBST(ALSA_CFLAGS)
> + AC_SUBST(ALSA_LIBS)
> + ], [
> + AM_PATH_ALSA(0.9.1, HAVE_ALSA="yes", HAVE_ALSA="no")
> + ])
> ])
PKG_CHECK_MODULES() from pkg.m4 already has the AC_SUBST() calls for
_CFLAGS and _LIBS. I don't think they are needed in code that uses that
macro.
-dave
More information about the gstreamer-devel
mailing list