Permalink
Browse files

Add in our dependencies

  • Loading branch information...
1 parent 5094aeb commit 76cbe2a891e7b2dc36f075ab7f167cb6ccab5b83 @paulcbetts paulcbetts committed Sep 10, 2012
Showing with 19 additions and 6 deletions.
  1. +1 −0 .gitignore
  2. 0 ChangeLog
  3. +8 −2 configure.in
  4. +10 −0 src/Makefile.am
  5. +0 −4 src/gst_playd.c
View
@@ -45,3 +45,4 @@ _stdint.h
*.gir
*.typelib
*.o
+src/gst_playd
View
No changes.
View
@@ -19,13 +19,19 @@ AC_PROG_INSTALL
AC_PROG_CC
dnl Checks for libraries.
+PKG_CHECK_MODULES(GLIB, glib-2.0)
+AC_SUBST(GLIB)
+
+PKG_CHECK_MODULES(LIBZMQ, libzmq)
+AC_SUBST(LIBZMQ)
+
+PKG_CHECK_MODULES(GST, gstreamer-0.10)
+AC_SUBST(GST)
dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(unistd.h sys/param.h sys/time.h time.h sys/mkdev.h sys/sysmacros.h string.h memory.h fcntl.h dirent.h sys/ndir.h ndir.h alloca.h locale.h )
-
-jm_CHECK_TYPE_STRUCT_UTIMBUF
AC_HEADER_MAJOR
AC_FUNC_ALLOCA
AC_STRUCT_TM
View
@@ -7,5 +7,15 @@ gst_playd_SOURCES= \
# uncomment the following if gst_playd requires the math library
#gst_playd_LDADD=-lm
+gst_playd_CFLAGS = \
+ $(GLIB_CFLAGS) \
+ $(LIBZMQ_CFLAGS) \
+ $(GST_CFLAGS)
+
+gst_playd_LDFLAGS = \
+ $(GLIB_LDFLAGS) \
+ $(LIBZMQ_LDFLAGS) \
+ $(GST_LDFLAGS)
+
# install the man pages
man_MANS=gst_playd.1
View
@@ -16,10 +16,6 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
-#include <termios.h>
-#include <grp.h>
-#include <pwd.h>
*/
#include <stdio.h>

0 comments on commit 76cbe2a

Please sign in to comment.