Remove bogus check for libcheck, since we check for gstreamer-check and it pulls...
authorJan Schmidt <thaytan@mad.scientist.com>
Fri, 13 Jul 2007 16:02:23 +0000 (16:02 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Fri, 13 Jul 2007 16:02:23 +0000 (16:02 +0000)
Original commit message from CVS:
* Makefile.am:
* configure.ac:
* tests/Makefile.am:
Remove bogus check for libcheck, since we check for
gstreamer-check and it pulls in the required info from there, and we
weren't actually _using_ the information for libcheck ourselves
anyway.

ChangeLog
Makefile.am
configure.ac
tests/Makefile.am

index 5663b4a..edf1f47 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
 
+       * Makefile.am:
+       * configure.ac:
+       * tests/Makefile.am:
+       Remove bogus check for libcheck, since we check for
+       gstreamer-check and it pulls in the required info from there, and we
+       weren't actually _using_ the information for libcheck ourselves
+       anyway.
+
+2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
+
        * gst/ffmpegcolorspace/gstffmpegcodecmap.c:
        (gst_ffmpeg_caps_to_pixfmt):
        Fix the r_mask test for RGBA32 on little-endian.
index 67105a6..8d08884 100644 (file)
@@ -45,7 +45,7 @@ include $(top_srcdir)/common/po.mak
 check-valgrind:
        cd tests/check && make check-valgrind
 
-if HAVE_CHECK
+if HAVE_GST_CHECK
 check-torture:
        cd tests/check && make torture
 else
index 1546302..3bf6d85 100644 (file)
@@ -260,13 +260,7 @@ AG_GST_CHECK_GST_BASE($GST_MAJORMINOR, [$GST_REQ])
 AG_GST_CHECK_GST_GDP($GST_MAJORMINOR, [$GST_REQ])
 AG_GST_CHECK_GST_CONTROLLER($GST_MAJORMINOR, [$GST_REQ])
 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
-PKG_CHECK_MODULES(CHECK, check >= 0.9.2,
-  AM_CONDITIONAL(HAVE_CHECK, true),
-  AM_CONDITIONAL(HAVE_CHECK, false)
-)
+AM_CONDITIONAL(HAVE_GST_CHECK, test "x$HAVE_GST_CHECK" = "xyes")
 
 dnl Check for documentation xrefs
 GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
index 8155e1a..b5c677c 100644 (file)
@@ -4,7 +4,7 @@ else
 SUBDIRS_EXAMPLES =
 endif
 
-if HAVE_CHECK
+if HAVE_GST_CHECK
 SUBDIRS_CHECK = check
 else
 SUBDIRS_CHECK =