chiark / gitweb /
build-sys: configure --with-python when running distcheck
[elogind.git] / Makefile.am
index 58702d0..28acc64 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