AC_SUBST(ENCHANT_LIBS)
fi
+# farstream-0.1 depends on gstreamer 0.10 currently. Disable
+# media_stream if gstreamer 0.11 build support is enabled.
+if test "$GST_API_VERSION" = "1.0"; then
+ enable_media_stream=false
+fi
+if test "$enable_media_stream" = "yes"; then
+ PKG_CHECK_MODULES([FARSTREAM], [farstream-0.1],
+ [have_farstream=yes], [enable_media_stream=false])
+ AC_SUBST([FARSTREAM_CFLAGS])
+ AC_SUBST([FARSTREAM_LIBS])
+fi
+
PKG_CHECK_MODULES(GAIL, $GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION)
AC_SUBST(GAIL_CFLAGS)
AC_SUBST(GAIL_LIBS)