build: Fix build on systems where /usr/bin/python isn't python 2.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 21 Jan 2013 18:42:50 +0000 (10:42 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 22 Jan 2013 17:05:32 +0000 (09:05 -0800)
commit121d19de920212225586c9269f2d34ab7e6e1aec
treeb1031446490c576d00515b018dbb0f2cc1f58cc3
parent148fc6d53716f39971a453792570c2b8c207efb6
build: Fix build on systems where /usr/bin/python isn't python 2.

configure.ac sets up a PYTHON2 variable, which is what we want
AX_PYTHON_MODULE to use (since we only use Python 2 for now).

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: Andreas Boll <andreas.boll.dev@gmail.com>
m4/ax_python_module.m4