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.
This commit is contained in:
Filipe Brandenburger 2014-06-16 20:54:52 -07:00 committed by Zbigniew Jędrzejewski-Szmek
parent be8737ae38
commit b9d5b4c30d

View file

@ -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