chiark / gitweb /
build-sys: configure --with-python when running distcheck
authorFilipe Brandenburger <filbranden@google.com>
Tue, 17 Jun 2014 03:54:52 +0000 (20:54 -0700)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 20 Jun 2014 22:44:40 +0000 (18:44 -0400)
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

index 58702d06a4306036c38aecb08391bb4beec0342a..28acc64685fda0dceb3a98900d4a28f9388b7ff1 100644 (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