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>
Sat, 19 Jan 2013 22:50:39 +0000 (23:50 +0100)
commit410b58c7bfcebbc866d2dc4ab32c6f23b55d383b
tree347106a99e8ba930b2ac4a50616e969e98eac9d1
parentf9f5c92f734c517c1bd486f5a3b1931ea6f871a5
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>
configure.ac
m4/ax_python_module.m4 [new file with mode: 0644]