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:10:22 +00:00
parent 54529a756e
commit 0e4bd38e13
2 changed files with 10 additions and 9 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-10 Stefan Kost <ensonic@users.sf.net>
* gst/gsttaglist.c:
@ -115,7 +120,7 @@
* docs/gst/Makefile.am:
* docs/libs/Makefile.am:
* docs/plugins/Makefile.am:
Simplity --extra-dir as gtkdoc scans recursively.
Simplify --extra-dir as gtkdoc scans recursively.
2007-07-03 Wim Taymans <wim.taymans@gmail.com>

View file

@ -417,14 +417,10 @@ fi
AC_SUBST(GST_DISABLE_XML_DEFINE)
dnl check for "check", unit testing library/header
AM_PATH_CHECK(0.9.2,
[
HAVE_CHECK=yes
AC_MSG_NOTICE(CHECK_CFLAGS: $CHECK_CFLAGS)
AC_MSG_NOTICE(CHECK_LIBS: $CHECK_LIBS)
],
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 *** set variables based on configure arguments