James William Pye <lists(at)jwp(dot)name> writes:
> I think it kept favoring python2 when I wanted python3 as both were in $PATH.
AFAICS, it'll pick whichever version is executed when you say "python".
Doesn't seem like an unreasonable behavior to me.
You may well need to adjust $PATH before running configure. I wouldn't
recommend hacking --with-includes or --with-libraries at all, though;
we find out what directories to use by asking "python".
regards, tom lane