The AX_COMPARE_VERSION function it fine, what's wrong is the python version it is fed: 3.1
That comes from "import sys; sys.stdout.write(sys.version[:3])" which doesn't work for minor versions with more than one digit...
The AX_COMPARE_VERSION function it fine, what's wrong is the python version it is fed: 3.1
That comes from "import sys; sys.stdout. write(sys. version[ :3])" which doesn't work for minor versions with more than one digit...