build: require python module libxml2
authorAndreas Boll <andreas.boll.dev@gmail.com>
Fri, 18 Jan 2013 14:31:57 +0000 (15:31 +0100)
committerAndreas Boll <andreas.boll.dev@gmail.com>
Wed, 13 Feb 2013 17:46:39 +0000 (18:46 +0100)
commitffaa1c92e9029efdc3ab5ff459cc34f9364444a9
tree069daf452692de0973281c9dbce0c9e7fb36f389
parent765221c0d5fdb0357bf6fae3220c7d57d93f938d
build: require python module libxml2

configure should warn if libxml2 is not found.
libxml2 is needed by glapi/gen.

Fixes error during build in src/mapi/glapi/gen:
ImportError: No module named libxml2

NOTE: This is a candidate for the 9.0 branch.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=31598
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
(cherry picked from commit 410b58c7bfcebbc866d2dc4ab32c6f23b55d383b)
configure.ac
m4/ax_python_module.m4 [new file with mode: 0644]