This patch provides a couple of tests for staged installations.
These usage cases (where all needed libraries are contained within
the package being compiled) are pretty much what Libtool currently
supports on several systems: GNU/Linux, AIX, HP-UX/IA, Solaris, and
probably more I haven't tested yet.
It fails currently on OpenBSD (patch to follow), HP-UX/PA (not
analyzed yet).
The usage of objdump for checking run paths is to be replaced by a
more portable method eventually (but that is not so urgent: the test
is pretty strong without it).
OK to install? There will be more tests to this end, these should
be the least problematic.