Dave Korn wrote: > Well, I did really want to make it a test of nothing other than the -bindir > functionality, in fact it's more or less just a test of the corner cases for > func_relative_path! Using -rpath seems to work as far as supplying an input > value for $install_libdir and that's all I really want to achieve here: set > $install_libdir and $bindir and make sure that chunk of code DTRT. I think > it'll be OK, won't it, even if it is a bit unusual?
After looking at the code flow in libtool more closely, it appears that you are correct. All you really care about here is that install_libdir is set to something "odd" compared to -bindir's argument, and -rpath does that. And your way, the tests are MUCH faster. -- Chuck