build: make libnm-util/libnm-glib optional

Add --without-libnm-glib, for people who don't want to build the
legacy client libraries. When building with this option, dbus-glib and
libdbus are not required.
This commit is contained in:
Dan Winship
2015-07-29 15:37:43 -04:00
parent 1cf35cb26b
commit 753e81d21f
4 changed files with 29 additions and 10 deletions

View File

@@ -4,7 +4,9 @@ EXTRA_DIST = \
libnm-util.deps \
libnm-glib.deps
if WITH_LEGACY_LIBRARIES
VAPIGEN_VAPIS = libnm-util.vapi libnm-glib.vapi
endif
if ENABLE_VAPIGEN
include Makefile.vapigen