configure: remove AG_GST_PARSE_SUBSYSTEM_DISABLES
authorTim-Philipp Müller <tim@centricular.com>
Sat, 4 Jun 2016 18:31:45 +0000 (19:31 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 4 Jun 2016 18:34:50 +0000 (19:34 +0100)
This would check which subsystems are disabled in core by grepping
gstconfig.h. Only problem is: gstconfig.h has moved into libdir now
so we've been checking a non-existent file for a while now. The
macro would just sets GST_DISABLE_* for use in configure.ac and
Makefile.am, but we don't use that anywhere so just get rid of it
(the one place where we use GST_DISABLE_GST_DEBUG is in a .c file
which gets the define from the gstconfig.h include).

https://bugzilla.gnome.org/show_bug.cgi?id=750056

configure.ac

index 277f233..4a3c5db 100644 (file)
@@ -312,12 +312,6 @@ dnl *** plug-ins to include ***
 dnl these are all the gst plug-ins, compilable without additional libs
 AG_GST_CHECK_PLUGIN(omx)
 
-dnl check for gstreamer core features (subsystems)
-dnl FIXME: this assumes srcdir == builddir for uninstalled setups
-GST_CONFIGPATH=`$PKG_CONFIG --variable=includedir gstreamer-$GST_API_VERSION`"/gst/gstconfig.h"
-AG_GST_PARSE_SUBSYSTEM_DISABLES($GST_CONFIGPATH)
-dnl AM_CONDITIONAL(USE_FOO, test $GST_DISABLE_FOO != "1")
-
 dnl *** finalize CFLAGS, LDFLAGS, LIBS
 
 dnl Overview: