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
commit753e81d21f15bb9cba0bb41493b5bda4b4f625f8 (patch)
treefbded1bde2bb242da035b822313eb22eabd7bd59 /vapi
parent1cf35cb26b6cc04f8b2c51c3cde4bc08ef311062 (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 e154554893..4913d1a580 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