Fix ax_python_devel serial 32 fails with current python3 The faulty code was introduce in commit df89f6cdaade38f3c1c9987be0c5a57c96fc1730 https://github.com/autoconf-archive/autoconf-archive/commit/df89f6cdaade38f3c1c9987be0c5a57c96fc1730
The current code tuple(sys.version_info) gives the 5-tuple (3, 10, 7, 'final', 0) while the former code sys.version.split()[0] would give the 3-tuple (3, 10, 7). So, at first glance, the current code tuple(sys.version_info) should be replaced by tuple(sys.version_info)[:3].
A patch that applied to the current ax_python_devel serial 32 is attached.