From: Filipe Brandenburger Date: Tue, 17 Jun 2014 03:54:52 +0000 (-0700) Subject: build-sys: configure --with-python when running distcheck X-Git-Tag: v215~244 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=b9d5b4c30d8f301451c6abe111d636a9b9522527;hp=be8737ae386166d2f279767ac87b226204c0de7e 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. --- 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