Daniel Westermann <daniel(dot)westermann(at)dbi-services(dot)com> writes:
> is this something the configure script needs to take care of?
No. If your python is not named "python", you need to do something
like
configure --with-python PYTHON=python3.6
regards, tom lane