[svn r286] added gstreamer-base linking in the Makefile.am trunk
authorleo_sobral
Fri Jan 19 22:03:01 2007 +0000 (2007-01-19)
branchtrunk
changeset 2850923cd303a9a
parent 284 9f0e61bf49ff
child 286 8aa82fdb715e
[svn r286] added gstreamer-base linking in the Makefile.am
gst-plugins-mythtv/configure.ac
gst-plugins-mythtv/src/Makefile.am
     1.1 --- a/gst-plugins-mythtv/configure.ac	Fri Jan 19 19:02:02 2007 +0000
     1.2 +++ b/gst-plugins-mythtv/configure.ac	Fri Jan 19 22:03:01 2007 +0000
     1.3 @@ -158,20 +158,20 @@
     1.4  AC_SUBST(GST_LIBS)
     1.5  
     1.6  # check for gstreamer-base plugins (xoverlay interface)
     1.7 -GSTBASE_REQUIRED=0.10
     1.8 -GSTBASE_MAJORMINOR=0.10
     1.9 -PKG_CHECK_MODULES(GSTBASE, \
    1.10 -  gstreamer-base-$GSTBASE_MAJORMINOR >= $GSTBASE_REQUIRED,
    1.11 -  HAVE_GSTBASE=yes, HAVE_GSTBASE=no)
    1.12 +GST_BASE_REQUIRED=0.10
    1.13 +GST_BASE_MAJORMINOR=0.10
    1.14 +PKG_CHECK_MODULES(GST_BASE, \
    1.15 +  gstreamer-base-$GST_BASE_MAJORMINOR >= $GST_BASE_REQUIRED,
    1.16 +  HAVE_GST_BASE=yes, HAVE_GST_BASE=no)
    1.17  
    1.18  # Give error and exit if we don't have gstreamer base libraries
    1.19 -if test "x$HAVE_GSTBASE" = "xno"; then
    1.20 +if test "x$HAVE_GST_BASE" = "xno"; then
    1.21    AC_MSG_ERROR(you need gstreamer base development packages installed !)
    1.22  fi
    1.23  
    1.24 -# make GSTBASE_CFLAGS and GSTBASE_LIBS available
    1.25 -AC_SUBST(GSTBASE_CFLAGS)
    1.26 -AC_SUBST(GSTBASE_LIBS)
    1.27 +# make GST_BASE_CFLAGS and GST_BASE_LIBS available
    1.28 +AC_SUBST(GST_BASE_CFLAGS)
    1.29 +AC_SUBST(GST_BASE_LIBS)
    1.30  
    1.31  # make GST_MAJORMINOR available in Makefile.am
    1.32  AC_SUBST(GST_MAJORMINOR)
     2.1 --- a/gst-plugins-mythtv/src/Makefile.am	Fri Jan 19 19:02:02 2007 +0000
     2.2 +++ b/gst-plugins-mythtv/src/Makefile.am	Fri Jan 19 22:03:01 2007 +0000
     2.3 @@ -3,16 +3,18 @@
     2.4  plugin_LTLIBRARIES =	libgstmythtvsrc.la
     2.5  
     2.6  libgstmythtvsrc_la_SOURCES =	\
     2.7 -		gstmythtvsrc.c
     2.8 +	gstmythtvsrc.c
     2.9  
    2.10  libgstmythtvsrc_la_CFLAGS = \
    2.11  	$(GST_CFLAGS) \
    2.12 +	$(GST_BASE_CFLAGS) \
    2.13  	$(GMYTH_CFLAGS)
    2.14  
    2.15  libgstmythtvsrc_la_LDFLAGS = \
    2.16  	$(GST_PLUGIN_LDFLAGS)
    2.17  
    2.18  libgstmythtvsrc_la_LIBADD = \
    2.19 +	$(GST_LIBS) \
    2.20  	$(GST_BASE_LIBS) \
    2.21  	$(GMYTH_LIBS)
    2.22