Re: [PATCH v2] configure: use cffi.FFI().verify() to test buildability of CFFI bindings

2020-06-10 Thread David Bremner
Tomi Ollila writes: > Checking existence of pyconfig.h to determine whether CFFI-based > notmuch bindings are buildable is not enough; for example Fedora 32 > ships pyconfig.h in python3-libs package, but python3-devel is required > to be installed for the bindings to build. > > Executing

[PATCH v2] configure: use cffi.FFI().verify() to test buildability of CFFI bindings

2020-06-09 Thread Tomi Ollila
Checking existence of pyconfig.h to determine whether CFFI-based notmuch bindings are buildable is not enough; for example Fedora 32 ships pyconfig.h in python3-libs package, but python3-devel is required to be installed for the bindings to build. Executing cffi.FFI().verify() is pretty close to