• Lubomir Rintel's avatar
    build: check whether g-ir-scanner actually works · 99b92fd9
    Lubomir Rintel authored
    g-ir-scanner uses distutils that have an unfortunate misfeature of
    inheriting the compiler flags it itself was built with.
    This includes the hardening flags that don't work with without
    redhat-rpm-build and break with clang every full moon.
    A configure check makes it clear about what went wrong in case
    introspection is desired, otherwise turns it off.
    (Taken from network-manager commit 678890ed0347849990787e8893122a39f95cb708)
introspection.m4 3.51 KB