[systemd-devel] [PATCH 7/9] build-sys: configure --with-python when running distcheck
Filipe Brandenburger
filbranden at google.com
Mon Jun 16 20:54:52 PDT 2014
Python support is pretty much essential to create man pages, so we should make
sure that distcheck will request it during configure.
Tested: Successfully ran "make distcheck" and confirmed --with-python was
present in the ./configure run inside the unpacked distribution directory.
---
Makefile.am | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Makefile.am b/Makefile.am
index a8a18c15fbf6..8a6efdf36d42 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5290,6 +5290,11 @@ DISTCHECK_CONFIGURE_FLAGS += \
--with-sysvrcnd-path=
endif
+if HAVE_PYTHON
+DISTCHECK_CONFIGURE_FLAGS += \
+ --with-python
+endif
+
if ENABLE_GTK_DOC
DISTCHECK_CONFIGURE_FLAGS += \
--enable-gtk-doc
--
1.9.3
More information about the systemd-devel
mailing list