gst-plugins-mythtv/configure.ac
branchtrunk
changeset 8 3194c4c16467
parent 3 265cdb1c59e3
child 9 e9c12410bfaa
     1.1 --- a/gst-plugins-mythtv/configure.ac	Thu Sep 21 00:05:27 2006 +0100
     1.2 +++ b/gst-plugins-mythtv/configure.ac	Thu Sep 21 15:58:58 2006 +0100
     1.3 @@ -130,9 +130,25 @@
     1.4  AC_SUBST(GMYTH_CFLAGS)
     1.5  AC_SUBST(GMYTH_LIBS)
     1.6  
     1.7 -# check for gstreamer development files
     1.8 +# GStreamer version required
     1.9  GST_REQUIRED=0.10
    1.10  GST_MAJORMINOR=0.10
    1.11 +
    1.12 +GST_PLUGINS_DIR=`$PKG_CONFIG gstreamer-plugins-base-$GST_MAJORMINOR --variable pluginsdir`
    1.13 +AC_SUBST(GST_PLUGINS_DIR)
    1.14 +AC_MSG_NOTICE(Using GStreamer Base Plugins in $GST_PLUGINS_DIR)
    1.15 +
    1.16 +dnl LDFLAGS really should only contain flags, not libs - they get added before
    1.17 +dnl whatevertarget_LIBS and -L flags here affect the rest of the linking
    1.18 +GST_ALL_LDFLAGS="-no-undefined"
    1.19 +AC_SUBST(GST_ALL_LDFLAGS)
    1.20 +
    1.21 +dnl this really should only contain flags, not libs - they get added before
    1.22 +dnl whatevertarget_LIBS and -L flags here affect the rest of the linking
    1.23 +GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex $GST_ALL_LDFLAGS $GST_PLUGINS_DIR"
    1.24 +AC_SUBST(GST_PLUGIN_LDFLAGS)
    1.25 +
    1.26 +# check for gstreamer development files
    1.27  PKG_CHECK_MODULES(GST, \
    1.28    gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED,
    1.29    HAVE_GST=yes, HAVE_GST=no)