Skip to content
Snippets Groups Projects
Commit cd58ec7c authored by Kipp Cannon's avatar Kipp Cannon
Browse files

gstlal-ugly: GstBaseParse now guaranteed to be available

- because we require a 1.x version of gstreamer
parent 83ff3090
No related branches found
No related tags found
No related merge requests found
......@@ -228,18 +228,6 @@ AC_MSG_NOTICE([If you have chosen to install the software in a location not incl
to your GST_PLUGIN_PATH environment variable.])
AC_SUBST([GSTLAL_PLUGIN_LDFLAGS], ["-module -avoid-version -export-symbols-regex [_]*\(gst_\|Gst\|GST_\|gstlal_\|GstLAL_\|GSTLAL_\).*"])
# Check for availability of GstBaseParse class (starting in 0.10.33)
CFLAGS_saved="$CFLAGS"
CFLAGS="$gstreamer_CFLAGS"
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([#include <gst/base/gstbaseparse.h>])],
[HAVE_GSTBASEPARSE=yes
AC_DEFINE([HAVE_GST_BASEPARSE], [1], [Define if GstBaseParse class is available.])],
[HAVE_GSTBASEPARSE=no]
)
CFLAGS="$CFLAGS_saved"
AM_CONDITIONAL([COND_GSTBASEPARSE], [test "x${HAVE_GSTBASEPARSE}" == "xyes"])
#
# Check for GStreamer Video Library
......
......@@ -10,10 +10,8 @@ libframecpp_plugin_la_SOURCES = \
muxcollectpads.c muxcollectpads.h \
framecpp_channelmux.cc framecpp_channelmux.h \
framecpp_channeldemux.cc framecpp_channeldemux.h \
framecpp_filesink.c framecpp_filesink.h
if COND_GSTBASEPARSE
libframecpp_plugin_la_SOURCES += framecpp_igwdparse.cc framecpp_igwdparse.h
endif
framecpp_filesink.c framecpp_filesink.h \
framecpp_igwdparse.cc framecpp_igwdparse.h
libframecpp_plugin_la_CFLAGS = $(AM_CFLAGS) $(GSTLAL_CFLAGS) $(gstreamer_CFLAGS) $(gstreamer_audio_CFLAGS) $(framecpp_CFLAGS)
libframecpp_plugin_la_CXXFLAGS = $(AM_CFLAGS) $(GSTLAL_CFLAGS) $(gstreamer_CFLAGS) $(gstreamer_audio_CFLAGS) $(framecpp_CXXFLAGS)
libframecpp_plugin_la_LDFLAGS = $(AM_LDFLAGS) $(GSTLAL_LIBS) $(gstreamer_LIBS) $(gstreamer_audio_LIBS) $(framecpp_LIBS) $(GSTLAL_PLUGIN_LDFLAGS)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment