GNOME Bugzilla – Bug 758604
Make gudev support not automagic
Last modified: 2015-11-24 17:34:29 UTC
Created attachment 316181 [details] [review] Make libgudev support switchable by configure switch Hello, current support of gudev in clutter-gst is automagic, meaning it can be either on or off depending on system it is being built on and not according to user wishes. See also https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Automagic_dependencies Here is a patch that will add support for properly being able to switch it on or off while keeping the default automatic support as most upstreams wish.
Review of attachment 316181 [details] [review]: Looks good.
The usual pattern for feature flags is to use AC_ARG_ENABLE, not AC_ARG_WITH. The --with-foo switch is to enable specific values of 'foo' like --with-foo=/path/to/foo.
Pushed a slightly different version based on Emmanuele's comment. Thanks!
Thanks guys.
Looks like this occurrence was missed though: https://github.com/GNOME/clutter-gst/blob/clutter-gst-3.0/configure.ac#L228
Done, thanks.