]> git.cworth.org Git - notmuch/commit
configure: check explicitely for python dev (include) files
authorDavid Bremner <david@tethera.net>
Thu, 7 Oct 2021 11:59:06 +0000 (08:59 -0300)
committerDavid Bremner <david@tethera.net>
Sat, 9 Oct 2021 19:39:06 +0000 (16:39 -0300)
commit6e050de4c01107ad0d914170aacf261701d2b71c
treee76a82d9e37e220abeafd663367d443384f31b86
parent3e2e724d53a1dce3ba00a20c71b2e6f735678136
configure: check explicitely for python dev (include) files

As discussed at [1] we have received reports that the implicit check
using cffi.FFI().verify() is not reliable in all environments. Since
we already use pkg-config, and the python dev package should include a
.pc file [2], add an extra check using pkg-config.  On at least
Debian, we have to know which version of python dev files with are
looking for, so calculate that first.

[1]: id:87im1g35ey.fsf@tethera.netid:87im1g35ey.fsf@tethera.net,
[2]: checked on Debian and Fedora
configure