diff -r 265cdb1c59e3 -r 3194c4c16467 gst-plugins-mythtv/configure.ac --- a/gst-plugins-mythtv/configure.ac Thu Sep 21 00:05:27 2006 +0100 +++ b/gst-plugins-mythtv/configure.ac Thu Sep 21 15:58:58 2006 +0100 @@ -130,9 +130,25 @@ AC_SUBST(GMYTH_CFLAGS) AC_SUBST(GMYTH_LIBS) -# check for gstreamer development files +# GStreamer version required GST_REQUIRED=0.10 GST_MAJORMINOR=0.10 + +GST_PLUGINS_DIR=`$PKG_CONFIG gstreamer-plugins-base-$GST_MAJORMINOR --variable pluginsdir` +AC_SUBST(GST_PLUGINS_DIR) +AC_MSG_NOTICE(Using GStreamer Base Plugins in $GST_PLUGINS_DIR) + +dnl LDFLAGS really should only contain flags, not libs - they get added before +dnl whatevertarget_LIBS and -L flags here affect the rest of the linking +GST_ALL_LDFLAGS="-no-undefined" +AC_SUBST(GST_ALL_LDFLAGS) + +dnl this really should only contain flags, not libs - they get added before +dnl whatevertarget_LIBS and -L flags here affect the rest of the linking +GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex $GST_ALL_LDFLAGS $GST_PLUGINS_DIR" +AC_SUBST(GST_PLUGIN_LDFLAGS) + +# check for gstreamer development files PKG_CHECK_MODULES(GST, \ gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED, HAVE_GST=yes, HAVE_GST=no)