GNOME Bugzilla – Bug 596660
configure script contains an automagic support
Last modified: 2012-03-05 16:45:36 UTC
Created attachment 144195 [details] [review] patch which solves the problem Hey, due to the following code : AC_ARG_ENABLE(python, [AC_HELP_STRING([--enable-python], [Build libgweather python bindings])], [enable_python=yes], [enable_python=no]) That's impossible to disable python support if --disable-support is given on the command line. We use a function called "use_enable" in ebuilds (on gentoo), which returns "--enable-foo" if "foo" support is activated (in USE-flags) or "--disable-foo" if "foo" is disabled. The user is finally able to set/uset an optionnal supports dynamically. This problem is a bit annoying, because when python support is disabled in USE-flags, python dependencies aren't pulled in the graph dep, so the compilation fails. Now have a look at http://www.gentoo.org/proj/en/qa/automagic.xml to understand in more details why automagic is so bad. You will find in attachment a patch to fix this issue. This upstream refers to downstream bug https://bugs.gentoo.org/285595. Romain.
This bug is not valid anymore, we use GObject introspection bindings now