configure: check for python2.7 for PYTHON2
authorJonathan Gray <jsg@jsg.id.au>
Sun, 6 Dec 2015 05:11:05 +0000 (16:11 +1100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 17 Dec 2015 09:37:24 +0000 (09:37 +0000)
Check for a 'python2.7' binary, 'python' and 'python2' are not
provided by the OpenBSD python 2.7.x packages.

Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
Cc: "11.0 11.1" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
configure.ac

index 7a3c7cd..adc582b 100644 (file)
@@ -98,7 +98,7 @@ AC_PROG_CXX
 AM_PROG_CC_C_O
 AM_PROG_AS
 AX_CHECK_GNU_MAKE
-AC_CHECK_PROGS([PYTHON2], [python2 python])
+AC_CHECK_PROGS([PYTHON2], [python2.7 python2 python])
 AC_PROG_SED
 AC_PROG_MKDIR_P