Daniel Westermann <daniel.westermann@dbi-services.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