summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-09-26 10:41:59 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-09-26 10:47:45 +0200
commitf8d05d4e211f7472cfd994db13ae4ec26a93f3fd (patch)
treeecbae93c653d2d66605d2fda13c0072837877792
parentd6d1e2fb706c73be240e26a1d634f9139d090f3f (diff)
Explicitely link on GStreamer
We are using GStreamer API.
-rw-r--r--configure.ac7
-rw-r--r--src/Makefile.am6
2 files changed, 11 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 42fa619..2f11b85 100644
--- a/configure.ac
+++ b/configure.ac
@@ -62,6 +62,13 @@ PKG_CHECK_MODULES(FARSTREAM, [farstream-0.1])
AC_SUBST(FARSTREAM_CFLAGS)
AC_SUBST(FARSTREAM_LIBS)
+dnl Check for GStreamer
+PKG_CHECK_MODULES(GST, [gstreamer-0.10])
+
+AC_SUBST(GST_CFLAGS)
+AC_SUBST(GST_LIBS)
+
+
dnl Always required to generate extensions
AM_PATH_PYTHON([2.5])
diff --git a/src/Makefile.am b/src/Makefile.am
index a20eb97..6bbc9c3 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -21,9 +21,11 @@ phoenix_authenticator_LDFLAGS = @GLIB_LIBS@ @TP_GLIB_LIBS@
phoenix_echo_call_SOURCES = echo-call.c \
echo-call-info-dbus.c echo-call-info-dbus.h
phoenix_echo_call_CFLAGS = @GLIB_CFLAGS@ @TP_GLIB_CFLAGS@ \
- @TP_FARSTREAM_CFLAGS@ @FARSTREAM_CFLAGS@
+ @TP_FARSTREAM_CFLAGS@ @FARSTREAM_CFLAGS@ \
+ @GST_CFLAGS@
phoenix_echo_call_LDFLAGS = @GLIB_LIBS@ @TP_GLIB_LIBS@ \
- @TP_FARSTREAM_LIBS@ @FARSTREAM_LIBS@
+ @TP_FARSTREAM_LIBS@ @FARSTREAM_LIBS@ \
+ @GST_LIBS@
phoenix: phoenix.in
sed -e "s,[@]DATADIR[@],$(pkgdatadir)/data," \