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:13:32 +00:00
parent 79b4be47a8
commit b5c2a72a4a
2 changed files with 9 additions and 2 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-12 Tim-Philipp Müller <tim at centricular dot net>
* configure.ac:

View file

@ -263,8 +263,10 @@ AG_GST_CHECK_GST_CHECK($GST_MAJORMINOR, [$GST_REQ], no)
dnl FIXME: get rid of this by making sure gstreamer-check brings it in
dnl check for "check", unit testing library/header
AM_PATH_CHECK(0.9.2, HAVE_CHECK=yes, HAVE_CHECK=no)
AM_CONDITIONAL(HAVE_CHECK, test "x$HAVE_CHECK" = "xyes")
PKG_CHECK_MODULES(CHECK, check >= 0.9.2,
AM_CONDITIONAL(HAVE_CHECK, true),
AM_CONDITIONAL(HAVE_CHECK, false)
)
dnl Check for documentation xrefs
GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"