returned by python-config if Python was built with --enable-shared because that prevented the shared library from being used. (backport from rev. 54634)
Also don't install "python-config" when doing altinstall, but always install "python-config2.x" and make a link to it like with the main executable.