GNOME Bugzilla – Bug 755389
build-sys: Cannot build without GObject introspection
Last modified: 2016-03-23 16:40:40 UTC
While building libsoup without GObject introspection, it complains about a missing Automake conditional, "ENABLE_VAPIGEN". Said conditional is hidden in the "if test x$found_introspection = xyes" while VAPIGEN_CHECK is already doing such a check. There is no point in doing this check, as it is doing the exact opposite of what it is trying to achieve.
Created attachment 311830 [details] [review] Patch to fix non-introspection build
thanks
The behavior now is a bit weird. If we only pass "--disable-introspection" we will get an error of the form: " ... checking for gobject-introspection... no (disabled, use --enable-introspection to enable) checking for valac... /home/tanty/no-backup/personal/webkit/epiphany/install/bin/valac configure: error: Vala bindings require GObject Introspection " So, in addition, we would have to pass "--disable-vala". I think it would be better to already set "--disable-vala" if "--disable-introspection" is also set. Not sure this is not a bug in vala's "vapigen.m4", though. Opinions?
Reported in bug 764090