Teach get-py-info.py where the Python libraries can be found.  This resolves the linking problems with the Swig Python bindings that Justin has seen.
Teach get-py-info.py where the Python libraries can be found.  This resolves
the linking problems with the Swig Python bindings that Justin has seen.

Tested on Solaris, Ubuntu Linux, and Mac OS X.

(Ubuntu comes with a shared Python library.)

* build/get-py-info.py
  (ldshared_process): Import in LIBDIR, LDLIBRARY, PYTHONFRAMEWORK,
  PYTHONFRAMEWORKDIR from sysconfig; use the Python framework if available
  (only Mac OS X); try to see if a shared Python library exists in libdir
  and try to use that (Ubuntu does this); if all else fails, hope there is
  a libpython<version>.a sitting in the config directory (which is what we
  used to do for cygwin; but is also typical of most self-compiles too).

Submitted by: David James
Tweaked by: Justin Erenkrantz

jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion