Fix -rpath arguments for nobase_*_LTLIBRARIES. * automake.in (handle_ltlibraries): New hash %instsubdirs to track the dirname of nobase ltlibraries, and tack it onto the end of the -rpath argument. Also, fix the warning about ltlibs installed in multiple locations to fit a bit better. * tests/pr300-ltlib.test: Expose this bug here. * tests/ltinstloc.test: New test. * tests/Makefile.am: Update. * NEWS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>