summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipe Brandenburger <filbranden@google.com>2014-06-16 20:54:52 -0700
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-06-20 18:44:40 -0400
commitb9d5b4c30d8f301451c6abe111d636a9b9522527 (patch)
treeb8b95ea3a3980971540994bf843d848159b39456
parentbe8737ae386166d2f279767ac87b226204c0de7e (diff)
build-sys: configure --with-python when running distcheck
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.
-rw-r--r--Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 58702d06a4..28acc64685 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5359,6 +5359,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