NetworkManager/examples
Colin Walters 1977fb6c49 build: clean up GLib-related pkg-config usage (bgo #687218)
We had separate checks for glib-2.0, gobject-2.0, gmodule-2.0, and
gio-unix-2.0.  It doesn't make sense to link a binary against all 4
because gio-unix-2.0 depends on glib-2.0 and gobject-2.0.  Doing this
actually breaks things in unusual circumstances.

Generally, few bits of NM actually just use glib, and not gio.  We
might as well coalesce those requirements together, even if it means
in some cases we "overlink".  Additionally, I chose for now to fold
gmodule-2.0 in as well, even though many fewer programs need it.  The
cost of overlinking is quite small.

The benefit of this is less repeated junk in Makefile.am, as well as
more centralized control over GLib.  A followup patch will allow us to
set -DGLIB_VERSION_MIN_REQUIRED in just one place, rather than having
to replicate it 4 times.

The NM configure is still suboptimal - for example, libpolkit-1
depends on gio-2.0, so really we should determine the compiler flags
all in one pass.  But it doesn't matter too much for now.
2012-10-31 21:08:18 +01:00
..
C build: clean up GLib-related pkg-config usage (bgo #687218) 2012-10-31 21:08:18 +01:00
dispatcher examples: add dispatcher example for exclusive wired/wifi 2012-09-20 10:19:11 -05:00
python examples: fix python example file names in EXTRA_DIST 2012-09-24 13:22:24 +02:00
ruby examples: update examples for new device types 2012-08-24 09:48:19 +02:00
shell examples: add a shell example listing active Wi-Fi networks on Wi-Fi devices 2012-09-03 11:57:49 +02:00
Makefile.am examples: add dispatcher example for exclusive wired/wifi 2012-09-20 10:19:11 -05:00