GNOME Bugzilla – Bug 677618
Detect glib utils
Last modified: 2012-08-05 16:01:32 UTC
Created attachment 215841 [details] [review] Patch v1 The attached patch will detect path of glib-mkenums/genmarshall and allow the variable to be specified at configure time. This ease cross compilation. Depends on : https://bugzilla.gnome.org/show_bug.cgi?id=677617
You could just have added that to the other bug (and it's more like the other bug depends on this one...) :) I think this kind of thing should go into AG_GST_GLIB_CHECK , though I think I'd prefer it if we just added GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0` GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0` GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0` GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0` AC_SUBST(GLIB_GENMARSHAL) AC_SUBST(GOBJECT_QUERY) AC_SUBST(GLIB_MKENUMS) AC_SUBST(GLIB_COMPILE_RESOURCES) there directly.
> You could just have added that to the other bug (and it's more like the other > bug depends on this one...) :) Never mind that comment, I misread the patches.
Comment on attachment 215841 [details] [review] Patch v1 We're doing this ourselves now, with our own GLib check: commit fa9ffbec8e2c0017b19bd8a153a24f1f84eaba82 Author: Tim-Philipp Müller <tim.muller@collabora.co.uk> Date: Sat Jun 16 20:01:49 2012 +0100 gst-glib.m4: check for glib-mkenums and glib-genmarshal and allow them to be overridden Makes cross-compiling easier. https://bugzilla.gnome.org/show_bug.cgi?id=677620