configure.ac: Use pkg-config to locate check.

Original commit message from CVS:
* configure.ac:
Use pkg-config to locate check.
This commit is contained in:
Stefan Kost 2007-07-12 11:21:01 +00:00
parent d27f7270b3
commit 220631ad81
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2007-07-12 Stefan Kost <ensonic@users.sf.net>
* configure.ac:
Use pkg-config to locate check.
2007-07-11 Tim-Philipp Müller <tim at centricular dot net> 2007-07-11 Tim-Philipp Müller <tim at centricular dot net>
* ext/cairo/gsttimeoverlay.c: (gst_cairo_time_overlay_transform): * ext/cairo/gsttimeoverlay.c: (gst_cairo_time_overlay_transform):

View file

@ -278,9 +278,10 @@ AC_MSG_NOTICE(Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR)
dnl FIXME: get rid of this by making sure gstreamer-check brings it in dnl FIXME: get rid of this by making sure gstreamer-check brings it in
dnl check for "check", unit testing library/header dnl check for "check", unit testing library/header
AM_PATH_CHECK(0.9.2, HAVE_CHECK=yes, HAVE_CHECK=no) PKG_CHECK_MODULES(CHECK, check >= 0.9.2,
AM_CONDITIONAL(HAVE_CHECK, test "x$HAVE_CHECK" = "xyes") AM_CONDITIONAL(HAVE_CHECK, true),
AM_CONDITIONAL(HAVE_CHECK, false)
)
dnl Check for documentation xrefs dnl Check for documentation xrefs
GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`" GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_MAJORMINOR`" GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_MAJORMINOR`"