If --with-python is specified, look for the Python interpreter not just in * configure.in (PYTHON_SITE_PACKAGES): If --with-python is specified, look for the Python interpreter not just in the specified root but also in the specified location. Fixes #98825 Daniel