Fix detection of Python 3.10+
Begin arcbot message
This merge request is automatically copied from !1376 (merged) orginally made by @arcbot
End arcbot message
Begin arcbot message
This merge request is automatically copied from GitHub master pull request https://github.com/nordugrid/arc/pull/16 orginally made by @chrisburr
End arcbot message
The use of sys.version[3]
in configure.ac
assumes that there won't be a two digit minor version of Python.
Using ".".join(sys.version.split(".")[:2]))
should be more robust.