[python3] Improve configure probe portability
commitc8aa76fef022fcf11973f30f8557c65ae0bf48d0
authorOlly Betts <olly@survex.com>
Sun, 26 Jun 2022 23:14:33 +0000 (27 11:14 +1200)
committerOlly Betts <olly@survex.com>
Mon, 27 Jun 2022 00:20:05 +0000 (27 12:20 +1200)
tree428b761f21990080ce5702fa64a5edc791637fb5
parent502922f6bce018255b16e0c8953e3deb73aa3e84
[python3] Improve configure probe portability

The distutils and imp modules have both been deprecated and are
slated for removal in 3.12.

(cherry picked from commit 842d4971b3de5231903e780f40477768eb7427fc)
xapian-bindings/configure.ac
xapian-bindings/python3/Makefile.am