chiark / gitweb /
build-sys: add verbosity to python-lxml detection in ./configure
authorFilipe Brandenburger <filbranden@google.com>
Tue, 17 Jun 2014 03:54:50 +0000 (20:54 -0700)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 20 Jun 2014 22:44:40 +0000 (18:44 -0400)
commitbe8737ae386166d2f279767ac87b226204c0de7e
tree054472d47c1ff586bd6a95a79dcbe1b2dafd1c59
parent49100d2abd1fc7ff36287de8c2645d37068784c2
build-sys: add verbosity to python-lxml detection in ./configure

Be verbose when checking if Python module lxml is available.  Also warn that
Python support will be disabled when the lxml module is not present.

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=80005
Tested:
- Without python-lxml package installed:
  $ ./configure
  checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages
  checking for python lxml module... no
  configure: WARNING: *** python support requires python-xml module installed

- With python-lxml package installed:
  $ ./configure
  checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages
  checking for python lxml module... yes
  checking for PYTHON_DEVEL... yes
  ...
          Python:                  yes
          Python Headers:          yes
configure.ac