summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 977d640f..c863e8d4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -33,11 +33,15 @@ DISTCHECK_CONFIGURE_FLAGS = \
--enable-gtk-doc \
--enable-introspection \
--enable-more-warnings=error \
- --with-libnm-gtk \
--with-wwan \
--with-team \
--with-gcr
+
+if WITH_LIBNM_GTK
+DISTCHECK_CONFIGURE_FLAGS += --with-libnm-gtk
+endif
+
man_MANS =
pkgconfig_DATA =