bpo-34602: Fix unportable test(1) operator in configure script (GH-30490) (GH-30491)

(cherry picked from commit 3d11c1b8b49800c5c4c295953cc3abf577f6065a)

Co-authored-by: Thomas Klausner <tk@giga.or.at>
2 files changed