build: Also look for python-2.7 pkg-config module

Apparently Gentoo names the module python-2.7 instead of python27.
This commit is contained in:
Daniel Elstner 2015-10-31 16:02:30 +01:00
parent 58cc125b0f
commit b04a532fa3
1 changed files with 1 additions and 1 deletions

View File

@ -337,7 +337,7 @@ AS_IF([test "x$BINDINGS_CXX" = xyes],
# The Python bindings need Python development files.
SR_PKG_CHECK([python_dev], [SR_PKGLIBS_PYTHON],
[python >= 2.7], [python2 >= 2.7], [python27 >= 2.7])
[python >= 2.7], [python2 >= 2.7], [python27 >= 2.7], [python-2.7 >= 2.7])
AS_IF([test "x$sr_have_python_dev" != xyes],
[SR_APPEND([sr_python_missing], [', '], [Headers])])