summaryrefslogtreecommitdiff
path: root/vapi
diff options
context:
space:
mode:
authorDan Winship <danw@redhat.com>2015-07-29 15:37:43 -0400
committerDan Winship <danw@redhat.com>2015-08-10 09:41:26 -0400
commit4912b5983bd19e14fb908c90ed75142e697ca331 (patch)
treefbded1bde2bb242da035b822313eb22eabd7bd59 /vapi
parentb476eb591481e0834ae34589558b42c74afc8178 (diff)
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.
Diffstat (limited to 'vapi')
-rw-r--r--vapi/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/vapi/Makefile.am b/vapi/Makefile.am
index e15455489..4913d1a58 100644
--- a/vapi/Makefile.am
+++ b/vapi/Makefile.am
@@ -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