configure.ac: Add check and AC_SUBST for libgstbase.
authorAndy Wingo <wingo@pobox.com>
Wed, 6 Apr 2005 11:17:14 +0000 (11:17 +0000)
committerAndy Wingo <wingo@pobox.com>
Wed, 6 Apr 2005 11:17:14 +0000 (11:17 +0000)
Original commit message from CVS:
2005-04-06  Andy Wingo  <wingo@pobox.com>

* configure.ac: Add check and AC_SUBST for libgstbase.

ChangeLog
configure.ac

index 7969c1d0eab7d6c3d72d7c97a2453f85dc548f0b..8f7f398ab04825fa0e08cd4030aa01b3565489bb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-04-06  Andy Wingo  <wingo@pobox.com>
+
+       * configure.ac: Add check and AC_SUBST for libgstbase.
+
 2005-03-31  Wim Taymans  <wim@fluendo.com>
 
        * examples/seeking/Makefile.am:
index a45fc07f3cc75b61354c1193df6b8ed0bde3ddef..48d2ff2b47470bc205f8583b2313e334f58111f5 100644 (file)
@@ -213,7 +213,7 @@ GST_CHECK_FEATURE(GCONF, [GConf libraries], , [
 
 dnl check for gstreamer
 dnl uninstalled is selected preferentially -- see pkg-config(1)
-GST_REQ=0.8.90.1
+GST_REQ=0.9.0
 PKG_CHECK_MODULES(GST, gstreamer-$GST_MAJORMINOR >= $GST_REQ,
   HAVE_GST="yes", HAVE_GST="no")
 
@@ -237,6 +237,15 @@ fi
 
 AC_SUBST(GST_CONTROL_LIBS)
 
+PKG_CHECK_MODULES(GST_BASE, gstreamer-base-$GST_MAJORMINOR >= $GST_REQ,
+  HAVE_GST_BASE="yes", HAVE_GST_BASE="no")
+
+if test "x$HAVE_GST_BASE" = "xno"; then
+  AC_MSG_ERROR(no libgstbase found)
+fi
+
+AC_SUBST(GST_BASE_LIBS)
+
 dnl Determine endianness
 AC_C_BIGENDIAN