]> sigrok.org Git - libsigrok.git/commitdiff
build: Also look for python-2.7 pkg-config module
authorDaniel Elstner <redacted>
Sat, 31 Oct 2015 15:02:30 +0000 (16:02 +0100)
committerDaniel Elstner <redacted>
Sat, 31 Oct 2015 15:02:30 +0000 (16:02 +0100)
Apparently Gentoo names the module python-2.7 instead of python27.

configure.ac

index 2f9b06f097c006a10891b62450f9a2b1eb7817cc..91516fdb2d6cb4f0763161b5ffcb2a9ae9b9543f 100644 (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])])