`configure` should support --with-system-expat option (similarly to -- internal copy of expat. It will be useful for some distributions (e.g. Gentoo), which prefer to use system libraries instead internal copies.
Some fragment of my initial comment disappeared :( . This option will be similar to '--with-system-ffi' option. It will cause using system expat instead of internal copy of expat.
2009/12/31 Georg Brandl <report@bugs.python.org>: > > Georg Brandl <georg@python.org> added the comment: > > The comment "Usage of a system shared libexpat.so/expat.dll is not > advised." just above the change should probably be revised. Good point. Done in r77186.