diff --git a/ChangeLog b/ChangeLog index 4c1881d0a5..097b0d668a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-07-12 Stefan Kost + + * configure.ac: + Use pkg-config to locate check. + 2007-07-12 Tim-Philipp Müller * configure.ac: diff --git a/configure.ac b/configure.ac index 338e2b3242..1546302d2e 100644 --- a/configure.ac +++ b/configure.ac @@ -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`"