[introspection.m3] Macro to check for .gir/.typelib
Submitted by Frederic Peters
Link to original bug (#593010)
Description
At the moment modules are using GOBJECT_INTROSPECTION_CHECK to enable introspection support, but then they call g-ir-scanner with some include flags, without any guarantee corresponding gir files exist.
It would be nice if gobject-introspection had a macro (new, or a new parameter to GOBJECT_INTROSPECTION_CHECK) modules could use to check for the presence of .gir files at ./configure time, instead of failing at build time.