GNOME Bugzilla – Bug 781043
gl: gstglconfig.h differs in meson and autotools builds
Last modified: 2017-04-09 08:21:44 UTC
Created attachment 349503 [details] [review] [PATCH] meson: gl: set default value of 0 for glconf vars The autotools generated gstglconfig.h has all macros defined as either 0 or 1. In the meson build the macros are either defined as 1 or omitted and left undef by default.
commit fc0c7d664d546a3b545e7c5b7bed392ea07babbf Author: Scott D Phillips <scott.d.phillips@intel.com> Date: Fri Apr 7 12:19:27 2017 -0700 meson: gl: set default value of 0 for glconf vars meson's configure_file emits only a comment like /* #undef ... */ for values which are unset in the configuration_data. For gstglconfig.h, this differs from the autotools build where the preprocessor definitions are always either 0 or 1. So loop over a list of variables to set to zero as default. Also sync up the gstglconfig.h.meson file with the additional macros defined by the autotools build. https://bugzilla.gnome.org/show_bug.cgi?id=781043