From b9d5b4c30d8f301451c6abe111d636a9b9522527 Mon Sep 17 00:00:00 2001 From: Filipe Brandenburger Date: Mon, 16 Jun 2014 20:54:52 -0700 Subject: [PATCH 1/1] 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. --- Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile.am b/Makefile.am index 58702d06a..28acc6468 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 -- 2.30.2