aboutsummaryrefslogtreecommitdiff
path: root/mesalib/m4/ax_python_module.m4
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/m4/ax_python_module.m4')
-rw-r--r--mesalib/m4/ax_python_module.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/mesalib/m4/ax_python_module.m4 b/mesalib/m4/ax_python_module.m4
index 3afc40420..2e6670a0f 100644
--- a/mesalib/m4/ax_python_module.m4
+++ b/mesalib/m4/ax_python_module.m4
@@ -25,13 +25,13 @@
AU_ALIAS([AC_PYTHON_MODULE], [AX_PYTHON_MODULE])
AC_DEFUN([AX_PYTHON_MODULE],[
- if test -z $PYTHON;
+ if test -z $PYTHON2;
then
- PYTHON="python"
+ PYTHON2="python"
fi
- PYTHON_NAME=`basename $PYTHON`
+ PYTHON_NAME=`basename $PYTHON2`
AC_MSG_CHECKING($PYTHON_NAME module: $1)
- $PYTHON -c "import $1" 2>/dev/null
+ $PYTHON2 -c "import $1" 2>/dev/null
if test $? -eq 0;
then
AC_MSG_RESULT(yes)