Index: mesa-18.1.2/m4/ax_check_python_mako_module.m4 =================================================================== --- mesa-18.1.2.orig/m4/ax_check_python_mako_module.m4 +++ mesa-18.1.2/m4/ax_check_python_mako_module.m4 @@ -48,8 +48,8 @@ try: except ImportError as err: sys.exit(err) else: - ver_req = map(int, '$1'.split('.')) - ver_act = map(int, mako.__version__.split('.')) + ver_req = list(map(int, '$1'.split('.'))) + ver_act = list(map(int, mako.__version__.split('.'))) sys.exit(int(ver_req > ver_act)) " | $PYTHON2 -