(v9_12) Add python3.6 and python3.7 to the search list of python versions

Merged Ondřej Surý requested to merge ondrej-add-python-3.6-and-3.7-to-configure.ac-v9_12 into v9_12

Merge request reports